kb-cloud-client-typescript 2.2.40 → 2.2.41
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/billing-api.d.ts +18 -18
- package/dist/adminapi/apis/billing-api.d.ts.map +1 -1
- package/dist/adminapi/apis/billing-api.js +13 -9
- package/dist/adminapi/apis/billing-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/billing-api.d.ts +18 -18
- package/dist/openapi/apis/billing-api.d.ts.map +1 -1
- package/dist/openapi/apis/billing-api.js +13 -9
- package/dist/openapi/apis/billing-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/billing-api.ts +27 -23
- package/src/adminapi/apis/shared-api.ts +18 -5
- package/src/adminapi/models/backup-method-option.ts +6 -0
- package/src/adminapi.yaml +12 -0
- package/src/openapi/apis/backup-method-api.ts +18 -5
- package/src/openapi/apis/billing-api.ts +27 -23
- package/src/openapi/apis/shared-api.ts +18 -5
- package/src/openapi/models/backup-method-option.ts +6 -0
- package/src/openapi.yaml +12 -0
|
@@ -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/adminapi/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/adminapi/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"}
|
|
@@ -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/openapi/apis/backup-method-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,aAAa,EAA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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/openapi/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/openapi/apis/backup-method-api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAKH,kDA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AiB,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,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC/W,CAAC;KACJ,CAAC;AACN,CAAC,CAAC;AAdW,QAAA,sBAAsB,0BAcjC;AA0FF;;;;;GAKG;AACH,MAAa,eAAgB,SAAQ,cAAO;IACxC;;;;;;;OAOG;IACI,eAAe,CAAC,iBAAwD,EAAE,OAA+B;QAC5G,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,iBAAiB,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"}
|
|
@@ -24,17 +24,17 @@ export declare const BillingApiAxiosParamCreator: (configuration?: Configuration
|
|
|
24
24
|
*
|
|
25
25
|
* @summary List bills in the organization
|
|
26
26
|
* @param {string} orgName name of the organization
|
|
27
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
28
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
27
29
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
28
30
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
29
31
|
* @param {string} [billID] The ID of the bill
|
|
30
32
|
* @param {string} [clusterID] The ID of the cluster
|
|
31
33
|
* @param {string} [projectName] name of the project
|
|
32
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
33
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
listOrgBills: (orgName: string, start: number, end: number, billID?: string, clusterID?: string, projectName?: string,
|
|
37
|
+
listOrgBills: (orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* BillingApi - functional programming interface
|
|
@@ -45,17 +45,17 @@ export declare const BillingApiFp: (configuration?: Configuration) => {
|
|
|
45
45
|
*
|
|
46
46
|
* @summary List bills in the organization
|
|
47
47
|
* @param {string} orgName name of the organization
|
|
48
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
49
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
48
50
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
49
51
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
50
52
|
* @param {string} [billID] The ID of the bill
|
|
51
53
|
* @param {string} [clusterID] The ID of the cluster
|
|
52
54
|
* @param {string} [projectName] name of the project
|
|
53
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
54
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
|
-
listOrgBills(orgName: string, start: number, end: number, billID?: string, clusterID?: string, projectName?: string,
|
|
58
|
+
listOrgBills(orgName: string, aggregationTime: AggregationTimeType, aggregationGroup: OrgAggregationGroupType, start: number, end: number, billID?: string, clusterID?: string, projectName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BillList>>;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* BillingApi - factory interface
|
|
@@ -99,6 +99,18 @@ export interface BillingApiListOrgBillsRequest {
|
|
|
99
99
|
* @memberof BillingApiListOrgBills
|
|
100
100
|
*/
|
|
101
101
|
readonly orgName: string;
|
|
102
|
+
/**
|
|
103
|
+
* The type of aggregation time
|
|
104
|
+
* @type {AggregationTimeType}
|
|
105
|
+
* @memberof BillingApiListOrgBills
|
|
106
|
+
*/
|
|
107
|
+
readonly aggregationTime: AggregationTimeType;
|
|
108
|
+
/**
|
|
109
|
+
* The type of aggregation group
|
|
110
|
+
* @type {OrgAggregationGroupType}
|
|
111
|
+
* @memberof BillingApiListOrgBills
|
|
112
|
+
*/
|
|
113
|
+
readonly aggregationGroup: OrgAggregationGroupType;
|
|
102
114
|
/**
|
|
103
115
|
* The start of the time range for the query, unit is seconds.
|
|
104
116
|
* @type {number}
|
|
@@ -129,18 +141,6 @@ export interface BillingApiListOrgBillsRequest {
|
|
|
129
141
|
* @memberof BillingApiListOrgBills
|
|
130
142
|
*/
|
|
131
143
|
readonly projectName?: string;
|
|
132
|
-
/**
|
|
133
|
-
* The type of aggregation time
|
|
134
|
-
* @type {AggregationTimeType}
|
|
135
|
-
* @memberof BillingApiListOrgBills
|
|
136
|
-
*/
|
|
137
|
-
readonly aggregationTime?: AggregationTimeType;
|
|
138
|
-
/**
|
|
139
|
-
* The type of aggregation group
|
|
140
|
-
* @type {OrgAggregationGroupType}
|
|
141
|
-
* @memberof BillingApiListOrgBills
|
|
142
|
-
*/
|
|
143
|
-
readonly aggregationGroup?: OrgAggregationGroupType;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* BillingApi - object-oriented interface
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/billing-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;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AACzD;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAa,gBAAgB,aAAa;IAE1E;;;;;;;;;;;;;OAaG;4BAC2B,MAAM,SAAS,MAAM,OAAO,MAAM,WAAW,MAAM,cAAc,MAAM,gBAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"billing-api.d.ts","sourceRoot":"","sources":["../../../src/openapi/apis/billing-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;AAErD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;A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AE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;IAExB;;;;OAIG;IACH,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,UAAW,SAAQ,OAAQ,YAAW,mBAAmB;IAClE;;;;;;;OAOG;IACI,YAAY,CAAC,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,CAAC,EAAE,qBAAqB;CAGxG"}
|
|
@@ -33,19 +33,23 @@ const BillingApiAxiosParamCreator = function (configuration) {
|
|
|
33
33
|
*
|
|
34
34
|
* @summary List bills in the organization
|
|
35
35
|
* @param {string} orgName name of the organization
|
|
36
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
37
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
36
38
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
37
39
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
38
40
|
* @param {string} [billID] The ID of the bill
|
|
39
41
|
* @param {string} [clusterID] The ID of the cluster
|
|
40
42
|
* @param {string} [projectName] name of the project
|
|
41
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
42
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
listOrgBills: async (orgName, start, end, billID, clusterID, projectName,
|
|
46
|
+
listOrgBills: async (orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options = {}) => {
|
|
47
47
|
// verify required parameter 'orgName' is not null or undefined
|
|
48
48
|
(0, common_1.assertParamExists)('listOrgBills', 'orgName', orgName);
|
|
49
|
+
// verify required parameter 'aggregationTime' is not null or undefined
|
|
50
|
+
(0, common_1.assertParamExists)('listOrgBills', 'aggregationTime', aggregationTime);
|
|
51
|
+
// verify required parameter 'aggregationGroup' is not null or undefined
|
|
52
|
+
(0, common_1.assertParamExists)('listOrgBills', 'aggregationGroup', aggregationGroup);
|
|
49
53
|
// verify required parameter 'start' is not null or undefined
|
|
50
54
|
(0, common_1.assertParamExists)('listOrgBills', 'start', start);
|
|
51
55
|
// verify required parameter 'end' is not null or undefined
|
|
@@ -109,19 +113,19 @@ const BillingApiFp = function (configuration) {
|
|
|
109
113
|
*
|
|
110
114
|
* @summary List bills in the organization
|
|
111
115
|
* @param {string} orgName name of the organization
|
|
116
|
+
* @param {AggregationTimeType} aggregationTime The type of aggregation time
|
|
117
|
+
* @param {OrgAggregationGroupType} aggregationGroup The type of aggregation group
|
|
112
118
|
* @param {number} start The start of the time range for the query, unit is seconds.
|
|
113
119
|
* @param {number} end The end of the time range for the query, unit is seconds.
|
|
114
120
|
* @param {string} [billID] The ID of the bill
|
|
115
121
|
* @param {string} [clusterID] The ID of the cluster
|
|
116
122
|
* @param {string} [projectName] name of the project
|
|
117
|
-
* @param {AggregationTimeType} [aggregationTime] The type of aggregation time
|
|
118
|
-
* @param {OrgAggregationGroupType} [aggregationGroup] The type of aggregation group
|
|
119
123
|
* @param {*} [options] Override http request option.
|
|
120
124
|
* @throws {RequiredError}
|
|
121
125
|
*/
|
|
122
|
-
async listOrgBills(orgName, start, end, billID, clusterID, projectName,
|
|
126
|
+
async listOrgBills(orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options) {
|
|
123
127
|
var _a, _b, _c;
|
|
124
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgBills(orgName, start, end, billID, clusterID, projectName,
|
|
128
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrgBills(orgName, aggregationTime, aggregationGroup, start, end, billID, clusterID, projectName, options);
|
|
125
129
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
126
130
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['BillingApi.listOrgBills']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
127
131
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -144,7 +148,7 @@ const BillingApiFactory = function (configuration, basePath, axios) {
|
|
|
144
148
|
* @throws {RequiredError}
|
|
145
149
|
*/
|
|
146
150
|
listOrgBills(requestParameters, options) {
|
|
147
|
-
return localVarFp.listOrgBills(requestParameters.orgName, requestParameters.
|
|
151
|
+
return localVarFp.listOrgBills(requestParameters.orgName, requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.projectName, options).then((request) => request(axios, basePath));
|
|
148
152
|
},
|
|
149
153
|
};
|
|
150
154
|
};
|
|
@@ -165,7 +169,7 @@ class BillingApi extends base_1.BaseAPI {
|
|
|
165
169
|
* @memberof BillingApi
|
|
166
170
|
*/
|
|
167
171
|
listOrgBills(requestParameters, options) {
|
|
168
|
-
return (0, exports.BillingApiFp)(this.configuration).listOrgBills(requestParameters.orgName, requestParameters.
|
|
172
|
+
return (0, exports.BillingApiFp)(this.configuration).listOrgBills(requestParameters.orgName, requestParameters.aggregationTime, requestParameters.aggregationGroup, requestParameters.start, requestParameters.end, requestParameters.billID, requestParameters.clusterID, requestParameters.projectName, options).then((request) => request(this.axios, this.basePath));
|
|
169
173
|
}
|
|
170
174
|
}
|
|
171
175
|
exports.BillingApi = BillingApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"billing-api.js","sourceRoot":"","sources":["../../../src/openapi/apis/billing-api.ts"],"names":[],"mappings":";AAAA,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AiB,CAAC,MAAM,EAAE,iBAAiB,CAAC,SAAS,EAAE,iBAAiB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAChW,CAAC;CACJ;AAZD,gCAYC"}
|
|
@@ -981,10 +981,11 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
981
981
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
982
982
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
983
983
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
984
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
984
985
|
* @param {*} [options] Override http request option.
|
|
985
986
|
* @throws {RequiredError}
|
|
986
987
|
*/
|
|
987
|
-
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
988
|
+
getBackupMethod: (orgName: string, engineName: string, clusterID?: string, enablePITR?: boolean, withRebuildInstance?: boolean, withRestoreCluster?: boolean, withHScale?: boolean, component?: string, mode?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
988
989
|
/**
|
|
989
990
|
*
|
|
990
991
|
* @summary Get cluster details
|
|
@@ -3436,10 +3437,11 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
|
|
|
3436
3437
|
* @param {boolean} [withRestoreCluster] defined whether to search for restoring cluster.
|
|
3437
3438
|
* @param {boolean} [withHScale] defined whether to search for rebuilding instance.
|
|
3438
3439
|
* @param {string} [component] The component type is required when withRebuildInstance/withHScale is true.
|
|
3440
|
+
* @param {string} [mode] The cluster mode, used to filter out unsupported backup methods.
|
|
3439
3441
|
* @param {*} [options] Override http request option.
|
|
3440
3442
|
* @throws {RequiredError}
|
|
3441
3443
|
*/
|
|
3442
|
-
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>>;
|
|
3444
|
+
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>>;
|
|
3443
3445
|
/**
|
|
3444
3446
|
*
|
|
3445
3447
|
* @summary Get cluster details
|
|
@@ -11192,6 +11194,12 @@ export interface SharedApiGetBackupMethodRequest {
|
|
|
11192
11194
|
* @memberof SharedApiGetBackupMethod
|
|
11193
11195
|
*/
|
|
11194
11196
|
readonly component?: string;
|
|
11197
|
+
/**
|
|
11198
|
+
* The cluster mode, used to filter out unsupported backup methods.
|
|
11199
|
+
* @type {string}
|
|
11200
|
+
* @memberof SharedApiGetBackupMethod
|
|
11201
|
+
*/
|
|
11202
|
+
readonly mode?: string;
|
|
11195
11203
|
}
|
|
11196
11204
|
/**
|
|
11197
11205
|
* Request parameters for getCluster operation in SharedApi.
|