kb-cloud-client-typescript 2.4.0-alpha.138 → 2.4.0-alpha.139
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/database-api.d.ts +319 -0
- package/dist/adminapi/apis/database-api.d.ts.map +1 -1
- package/dist/adminapi/apis/database-api.js +344 -0
- package/dist/adminapi/apis/database-api.js.map +1 -1
- package/dist/adminapi/apis/influxdb-api.d.ts +318 -0
- package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -1
- package/dist/adminapi/apis/influxdb-api.js +344 -0
- package/dist/adminapi/apis/influxdb-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +318 -0
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +344 -0
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/models/index.d.ts +4 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +4 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/influx-dbbucket-create.d.ts +44 -0
- package/dist/adminapi/models/influx-dbbucket-create.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-create.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-create.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-retention-rule.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-update.d.ts +38 -0
- package/dist/adminapi/models/influx-dbbucket-update.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbbucket-update.js +16 -0
- package/dist/adminapi/models/influx-dbbucket-update.js.map +1 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts +25 -0
- package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -1
- package/dist/adminapi/models/influx-dbretention-rule-type.d.ts +21 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.js +25 -0
- package/dist/adminapi/models/influx-dbretention-rule-type.js.map +1 -0
- package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
- package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
- package/dist/internalapi/apis/cluster-api.d.ts +4 -4
- package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
- package/dist/openapi/apis/database-api.d.ts +319 -0
- package/dist/openapi/apis/database-api.d.ts.map +1 -1
- package/dist/openapi/apis/database-api.js +344 -0
- package/dist/openapi/apis/database-api.js.map +1 -1
- package/dist/openapi/apis/influxdb-api.d.ts +318 -0
- package/dist/openapi/apis/influxdb-api.d.ts.map +1 -1
- package/dist/openapi/apis/influxdb-api.js +344 -0
- package/dist/openapi/apis/influxdb-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +318 -0
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +344 -0
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/models/index.d.ts +4 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +4 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/influx-dbbucket-create.d.ts +44 -0
- package/dist/openapi/models/influx-dbbucket-create.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-create.js +16 -0
- package/dist/openapi/models/influx-dbbucket-create.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.js +16 -0
- package/dist/openapi/models/influx-dbbucket-retention-rule.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket-update.d.ts +38 -0
- package/dist/openapi/models/influx-dbbucket-update.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbbucket-update.js +16 -0
- package/dist/openapi/models/influx-dbbucket-update.js.map +1 -0
- package/dist/openapi/models/influx-dbbucket.d.ts +25 -0
- package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -1
- package/dist/openapi/models/influx-dbretention-rule-type.d.ts +21 -0
- package/dist/openapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
- package/dist/openapi/models/influx-dbretention-rule-type.js +25 -0
- package/dist/openapi/models/influx-dbretention-rule-type.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +4 -0
- package/src/adminapi/apis/database-api.ts +563 -0
- package/src/adminapi/apis/influxdb-api.ts +561 -0
- package/src/adminapi/apis/shared-api.ts +561 -0
- package/src/adminapi/models/index.ts +4 -0
- package/src/adminapi/models/influx-dbbucket-create.ts +51 -0
- package/src/adminapi/models/influx-dbbucket-retention-rule.ts +47 -0
- package/src/adminapi/models/influx-dbbucket-update.ts +45 -0
- package/src/adminapi/models/influx-dbbucket.ts +27 -0
- package/src/adminapi/models/influx-dbretention-rule-type.ts +30 -0
- package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
- package/src/adminapi.yaml +257 -2
- package/src/internalapi/apis/cluster-api.ts +3 -3
- package/src/internalapi.yaml +9 -2
- package/src/openapi/.openapi-generator/FILES +4 -0
- package/src/openapi/apis/database-api.ts +563 -0
- package/src/openapi/apis/influxdb-api.ts +561 -0
- package/src/openapi/apis/shared-api.ts +561 -0
- package/src/openapi/models/index.ts +4 -0
- package/src/openapi/models/influx-dbbucket-create.ts +51 -0
- package/src/openapi/models/influx-dbbucket-retention-rule.ts +47 -0
- package/src/openapi/models/influx-dbbucket-update.ts +45 -0
- package/src/openapi/models/influx-dbbucket.ts +27 -0
- package/src/openapi/models/influx-dbretention-rule-type.ts +30 -0
- package/src/openapi.yaml +252 -0
|
@@ -7921,6 +7921,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
7921
7921
|
options: localVarRequestOptions,
|
|
7922
7922
|
};
|
|
7923
7923
|
},
|
|
7924
|
+
/**
|
|
7925
|
+
*
|
|
7926
|
+
* @summary InfluxDB CreateBucket
|
|
7927
|
+
* @param {string} orgName
|
|
7928
|
+
* @param {string} clusterName
|
|
7929
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
7930
|
+
* @param {*} [options] Override http request option.
|
|
7931
|
+
* @throws {RequiredError}
|
|
7932
|
+
*/
|
|
7933
|
+
influxDBCreateBucket: async (orgName, clusterName, influxDBBucketCreate, options = {}) => {
|
|
7934
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
7935
|
+
(0, common_1.assertParamExists)('influxDBCreateBucket', 'orgName', orgName);
|
|
7936
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
7937
|
+
(0, common_1.assertParamExists)('influxDBCreateBucket', 'clusterName', clusterName);
|
|
7938
|
+
// verify required parameter 'influxDBBucketCreate' is not null or undefined
|
|
7939
|
+
(0, common_1.assertParamExists)('influxDBCreateBucket', 'influxDBBucketCreate', influxDBBucketCreate);
|
|
7940
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
|
|
7941
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
7942
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
|
|
7943
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7944
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7945
|
+
let baseOptions;
|
|
7946
|
+
if (configuration) {
|
|
7947
|
+
baseOptions = configuration.baseOptions;
|
|
7948
|
+
}
|
|
7949
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
7950
|
+
const localVarHeaderParameter = {};
|
|
7951
|
+
const localVarQueryParameter = {};
|
|
7952
|
+
// authentication BearerToken required
|
|
7953
|
+
// http bearer authentication required
|
|
7954
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7955
|
+
// authentication DigestAuth required
|
|
7956
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7957
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7958
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7959
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7960
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7961
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBBucketCreate, localVarRequestOptions, configuration);
|
|
7962
|
+
return {
|
|
7963
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7964
|
+
options: localVarRequestOptions,
|
|
7965
|
+
};
|
|
7966
|
+
},
|
|
7924
7967
|
/**
|
|
7925
7968
|
*
|
|
7926
7969
|
* @summary InfluxDB CreateToken
|
|
@@ -8011,6 +8054,54 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8011
8054
|
options: localVarRequestOptions,
|
|
8012
8055
|
};
|
|
8013
8056
|
},
|
|
8057
|
+
/**
|
|
8058
|
+
*
|
|
8059
|
+
* @summary InfluxDB DeleteBucket
|
|
8060
|
+
* @param {string} orgName
|
|
8061
|
+
* @param {string} clusterName
|
|
8062
|
+
* @param {string} bucketID
|
|
8063
|
+
* @param {string} influxOrgID
|
|
8064
|
+
* @param {*} [options] Override http request option.
|
|
8065
|
+
* @throws {RequiredError}
|
|
8066
|
+
*/
|
|
8067
|
+
influxDBDeleteBucket: async (orgName, clusterName, bucketID, influxOrgID, options = {}) => {
|
|
8068
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8069
|
+
(0, common_1.assertParamExists)('influxDBDeleteBucket', 'orgName', orgName);
|
|
8070
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8071
|
+
(0, common_1.assertParamExists)('influxDBDeleteBucket', 'clusterName', clusterName);
|
|
8072
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
8073
|
+
(0, common_1.assertParamExists)('influxDBDeleteBucket', 'bucketID', bucketID);
|
|
8074
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
8075
|
+
(0, common_1.assertParamExists)('influxDBDeleteBucket', 'influxOrgID', influxOrgID);
|
|
8076
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
8077
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8078
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8079
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
8080
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8081
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8082
|
+
let baseOptions;
|
|
8083
|
+
if (configuration) {
|
|
8084
|
+
baseOptions = configuration.baseOptions;
|
|
8085
|
+
}
|
|
8086
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
8087
|
+
const localVarHeaderParameter = {};
|
|
8088
|
+
const localVarQueryParameter = {};
|
|
8089
|
+
// authentication BearerToken required
|
|
8090
|
+
// http bearer authentication required
|
|
8091
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8092
|
+
// authentication DigestAuth required
|
|
8093
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8094
|
+
if (influxOrgID !== undefined) {
|
|
8095
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
8096
|
+
}
|
|
8097
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8099
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8100
|
+
return {
|
|
8101
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8102
|
+
options: localVarRequestOptions,
|
|
8103
|
+
};
|
|
8104
|
+
},
|
|
8014
8105
|
/**
|
|
8015
8106
|
*
|
|
8016
8107
|
* @summary InfluxDB DeleteToken
|
|
@@ -8099,6 +8190,54 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8099
8190
|
options: localVarRequestOptions,
|
|
8100
8191
|
};
|
|
8101
8192
|
},
|
|
8193
|
+
/**
|
|
8194
|
+
*
|
|
8195
|
+
* @summary InfluxDB GetBucket
|
|
8196
|
+
* @param {string} orgName
|
|
8197
|
+
* @param {string} clusterName
|
|
8198
|
+
* @param {string} bucketID
|
|
8199
|
+
* @param {string} influxOrgID
|
|
8200
|
+
* @param {*} [options] Override http request option.
|
|
8201
|
+
* @throws {RequiredError}
|
|
8202
|
+
*/
|
|
8203
|
+
influxDBGetBucket: async (orgName, clusterName, bucketID, influxOrgID, options = {}) => {
|
|
8204
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8205
|
+
(0, common_1.assertParamExists)('influxDBGetBucket', 'orgName', orgName);
|
|
8206
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8207
|
+
(0, common_1.assertParamExists)('influxDBGetBucket', 'clusterName', clusterName);
|
|
8208
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
8209
|
+
(0, common_1.assertParamExists)('influxDBGetBucket', 'bucketID', bucketID);
|
|
8210
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
8211
|
+
(0, common_1.assertParamExists)('influxDBGetBucket', 'influxOrgID', influxOrgID);
|
|
8212
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
8213
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8214
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8215
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
8216
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8217
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8218
|
+
let baseOptions;
|
|
8219
|
+
if (configuration) {
|
|
8220
|
+
baseOptions = configuration.baseOptions;
|
|
8221
|
+
}
|
|
8222
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
8223
|
+
const localVarHeaderParameter = {};
|
|
8224
|
+
const localVarQueryParameter = {};
|
|
8225
|
+
// authentication BearerToken required
|
|
8226
|
+
// http bearer authentication required
|
|
8227
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8228
|
+
// authentication DigestAuth required
|
|
8229
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8230
|
+
if (influxOrgID !== undefined) {
|
|
8231
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
8232
|
+
}
|
|
8233
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8235
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8236
|
+
return {
|
|
8237
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8238
|
+
options: localVarRequestOptions,
|
|
8239
|
+
};
|
|
8240
|
+
},
|
|
8102
8241
|
/**
|
|
8103
8242
|
*
|
|
8104
8243
|
* @summary InfluxDB ListBuckets
|
|
@@ -8261,6 +8400,59 @@ const SharedApiAxiosParamCreator = function (configuration) {
|
|
|
8261
8400
|
options: localVarRequestOptions,
|
|
8262
8401
|
};
|
|
8263
8402
|
},
|
|
8403
|
+
/**
|
|
8404
|
+
*
|
|
8405
|
+
* @summary InfluxDB UpdateBucket
|
|
8406
|
+
* @param {string} orgName
|
|
8407
|
+
* @param {string} clusterName
|
|
8408
|
+
* @param {string} bucketID
|
|
8409
|
+
* @param {string} influxOrgID
|
|
8410
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
8411
|
+
* @param {*} [options] Override http request option.
|
|
8412
|
+
* @throws {RequiredError}
|
|
8413
|
+
*/
|
|
8414
|
+
influxDBUpdateBucket: async (orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options = {}) => {
|
|
8415
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
8416
|
+
(0, common_1.assertParamExists)('influxDBUpdateBucket', 'orgName', orgName);
|
|
8417
|
+
// verify required parameter 'clusterName' is not null or undefined
|
|
8418
|
+
(0, common_1.assertParamExists)('influxDBUpdateBucket', 'clusterName', clusterName);
|
|
8419
|
+
// verify required parameter 'bucketID' is not null or undefined
|
|
8420
|
+
(0, common_1.assertParamExists)('influxDBUpdateBucket', 'bucketID', bucketID);
|
|
8421
|
+
// verify required parameter 'influxOrgID' is not null or undefined
|
|
8422
|
+
(0, common_1.assertParamExists)('influxDBUpdateBucket', 'influxOrgID', influxOrgID);
|
|
8423
|
+
// verify required parameter 'influxDBBucketUpdate' is not null or undefined
|
|
8424
|
+
(0, common_1.assertParamExists)('influxDBUpdateBucket', 'influxDBBucketUpdate', influxDBBucketUpdate);
|
|
8425
|
+
const localVarPath = `/admin/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
|
|
8426
|
+
.replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
|
|
8427
|
+
.replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
|
|
8428
|
+
.replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
|
|
8429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8430
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
8431
|
+
let baseOptions;
|
|
8432
|
+
if (configuration) {
|
|
8433
|
+
baseOptions = configuration.baseOptions;
|
|
8434
|
+
}
|
|
8435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
8436
|
+
const localVarHeaderParameter = {};
|
|
8437
|
+
const localVarQueryParameter = {};
|
|
8438
|
+
// authentication BearerToken required
|
|
8439
|
+
// http bearer authentication required
|
|
8440
|
+
await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8441
|
+
// authentication DigestAuth required
|
|
8442
|
+
await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
8443
|
+
if (influxOrgID !== undefined) {
|
|
8444
|
+
localVarQueryParameter['influxOrgID'] = influxOrgID;
|
|
8445
|
+
}
|
|
8446
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8447
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8448
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8449
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8450
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBBucketUpdate, localVarRequestOptions, configuration);
|
|
8451
|
+
return {
|
|
8452
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8453
|
+
options: localVarRequestOptions,
|
|
8454
|
+
};
|
|
8455
|
+
},
|
|
8264
8456
|
/**
|
|
8265
8457
|
*
|
|
8266
8458
|
* @summary InfluxDB UpdateToken
|
|
@@ -20019,6 +20211,22 @@ const SharedApiFp = function (configuration) {
|
|
|
20019
20211
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBChangePassword']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20020
20212
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20021
20213
|
},
|
|
20214
|
+
/**
|
|
20215
|
+
*
|
|
20216
|
+
* @summary InfluxDB CreateBucket
|
|
20217
|
+
* @param {string} orgName
|
|
20218
|
+
* @param {string} clusterName
|
|
20219
|
+
* @param {InfluxDBBucketCreate} influxDBBucketCreate
|
|
20220
|
+
* @param {*} [options] Override http request option.
|
|
20221
|
+
* @throws {RequiredError}
|
|
20222
|
+
*/
|
|
20223
|
+
async influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options) {
|
|
20224
|
+
var _a, _b, _c;
|
|
20225
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options);
|
|
20226
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20227
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateBucket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20228
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20229
|
+
},
|
|
20022
20230
|
/**
|
|
20023
20231
|
*
|
|
20024
20232
|
* @summary InfluxDB CreateToken
|
|
@@ -20052,6 +20260,23 @@ const SharedApiFp = function (configuration) {
|
|
|
20052
20260
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBCreateUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20053
20261
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20054
20262
|
},
|
|
20263
|
+
/**
|
|
20264
|
+
*
|
|
20265
|
+
* @summary InfluxDB DeleteBucket
|
|
20266
|
+
* @param {string} orgName
|
|
20267
|
+
* @param {string} clusterName
|
|
20268
|
+
* @param {string} bucketID
|
|
20269
|
+
* @param {string} influxOrgID
|
|
20270
|
+
* @param {*} [options] Override http request option.
|
|
20271
|
+
* @throws {RequiredError}
|
|
20272
|
+
*/
|
|
20273
|
+
async influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options) {
|
|
20274
|
+
var _a, _b, _c;
|
|
20275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
20276
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20277
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteBucket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20278
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20279
|
+
},
|
|
20055
20280
|
/**
|
|
20056
20281
|
*
|
|
20057
20282
|
* @summary InfluxDB DeleteToken
|
|
@@ -20085,6 +20310,23 @@ const SharedApiFp = function (configuration) {
|
|
|
20085
20310
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBDeleteUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20086
20311
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20087
20312
|
},
|
|
20313
|
+
/**
|
|
20314
|
+
*
|
|
20315
|
+
* @summary InfluxDB GetBucket
|
|
20316
|
+
* @param {string} orgName
|
|
20317
|
+
* @param {string} clusterName
|
|
20318
|
+
* @param {string} bucketID
|
|
20319
|
+
* @param {string} influxOrgID
|
|
20320
|
+
* @param {*} [options] Override http request option.
|
|
20321
|
+
* @throws {RequiredError}
|
|
20322
|
+
*/
|
|
20323
|
+
async influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options) {
|
|
20324
|
+
var _a, _b, _c;
|
|
20325
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options);
|
|
20326
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20327
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBGetBucket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20328
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20329
|
+
},
|
|
20088
20330
|
/**
|
|
20089
20331
|
*
|
|
20090
20332
|
* @summary InfluxDB ListBuckets
|
|
@@ -20147,6 +20389,24 @@ const SharedApiFp = function (configuration) {
|
|
|
20147
20389
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBListUsers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20148
20390
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20149
20391
|
},
|
|
20392
|
+
/**
|
|
20393
|
+
*
|
|
20394
|
+
* @summary InfluxDB UpdateBucket
|
|
20395
|
+
* @param {string} orgName
|
|
20396
|
+
* @param {string} clusterName
|
|
20397
|
+
* @param {string} bucketID
|
|
20398
|
+
* @param {string} influxOrgID
|
|
20399
|
+
* @param {InfluxDBBucketUpdate} influxDBBucketUpdate
|
|
20400
|
+
* @param {*} [options] Override http request option.
|
|
20401
|
+
* @throws {RequiredError}
|
|
20402
|
+
*/
|
|
20403
|
+
async influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options) {
|
|
20404
|
+
var _a, _b, _c;
|
|
20405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options);
|
|
20406
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
20407
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.influxDBUpdateBucket']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
20408
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
20409
|
+
},
|
|
20150
20410
|
/**
|
|
20151
20411
|
*
|
|
20152
20412
|
* @summary InfluxDB UpdateToken
|
|
@@ -25091,6 +25351,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
25091
25351
|
influxDBChangePassword(requestParameters, options) {
|
|
25092
25352
|
return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
|
|
25093
25353
|
},
|
|
25354
|
+
/**
|
|
25355
|
+
*
|
|
25356
|
+
* @summary InfluxDB CreateBucket
|
|
25357
|
+
* @param {SharedApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
25358
|
+
* @param {*} [options] Override http request option.
|
|
25359
|
+
* @throws {RequiredError}
|
|
25360
|
+
*/
|
|
25361
|
+
influxDBCreateBucket(requestParameters, options) {
|
|
25362
|
+
return localVarFp.influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(axios, basePath));
|
|
25363
|
+
},
|
|
25094
25364
|
/**
|
|
25095
25365
|
*
|
|
25096
25366
|
* @summary InfluxDB CreateToken
|
|
@@ -25111,6 +25381,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
25111
25381
|
influxDBCreateUser(requestParameters, options) {
|
|
25112
25382
|
return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
|
|
25113
25383
|
},
|
|
25384
|
+
/**
|
|
25385
|
+
*
|
|
25386
|
+
* @summary InfluxDB DeleteBucket
|
|
25387
|
+
* @param {SharedApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
25388
|
+
* @param {*} [options] Override http request option.
|
|
25389
|
+
* @throws {RequiredError}
|
|
25390
|
+
*/
|
|
25391
|
+
influxDBDeleteBucket(requestParameters, options) {
|
|
25392
|
+
return localVarFp.influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
25393
|
+
},
|
|
25114
25394
|
/**
|
|
25115
25395
|
*
|
|
25116
25396
|
* @summary InfluxDB DeleteToken
|
|
@@ -25131,6 +25411,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
25131
25411
|
influxDBDeleteUser(requestParameters, options) {
|
|
25132
25412
|
return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
|
|
25133
25413
|
},
|
|
25414
|
+
/**
|
|
25415
|
+
*
|
|
25416
|
+
* @summary InfluxDB GetBucket
|
|
25417
|
+
* @param {SharedApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
25418
|
+
* @param {*} [options] Override http request option.
|
|
25419
|
+
* @throws {RequiredError}
|
|
25420
|
+
*/
|
|
25421
|
+
influxDBGetBucket(requestParameters, options) {
|
|
25422
|
+
return localVarFp.influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
|
|
25423
|
+
},
|
|
25134
25424
|
/**
|
|
25135
25425
|
*
|
|
25136
25426
|
* @summary InfluxDB ListBuckets
|
|
@@ -25171,6 +25461,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
|
|
|
25171
25461
|
influxDBListUsers(requestParameters, options) {
|
|
25172
25462
|
return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
|
|
25173
25463
|
},
|
|
25464
|
+
/**
|
|
25465
|
+
*
|
|
25466
|
+
* @summary InfluxDB UpdateBucket
|
|
25467
|
+
* @param {SharedApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
25468
|
+
* @param {*} [options] Override http request option.
|
|
25469
|
+
* @throws {RequiredError}
|
|
25470
|
+
*/
|
|
25471
|
+
influxDBUpdateBucket(requestParameters, options) {
|
|
25472
|
+
return localVarFp.influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(axios, basePath));
|
|
25473
|
+
},
|
|
25174
25474
|
/**
|
|
25175
25475
|
*
|
|
25176
25476
|
* @summary InfluxDB UpdateToken
|
|
@@ -28957,6 +29257,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
28957
29257
|
influxDBChangePassword(requestParameters, options) {
|
|
28958
29258
|
return (0, exports.SharedApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
|
|
28959
29259
|
}
|
|
29260
|
+
/**
|
|
29261
|
+
*
|
|
29262
|
+
* @summary InfluxDB CreateBucket
|
|
29263
|
+
* @param {SharedApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
|
|
29264
|
+
* @param {*} [options] Override http request option.
|
|
29265
|
+
* @throws {RequiredError}
|
|
29266
|
+
* @memberof SharedApi
|
|
29267
|
+
*/
|
|
29268
|
+
influxDBCreateBucket(requestParameters, options) {
|
|
29269
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(this.axios, this.basePath));
|
|
29270
|
+
}
|
|
28960
29271
|
/**
|
|
28961
29272
|
*
|
|
28962
29273
|
* @summary InfluxDB CreateToken
|
|
@@ -28979,6 +29290,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
28979
29290
|
influxDBCreateUser(requestParameters, options) {
|
|
28980
29291
|
return (0, exports.SharedApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
|
|
28981
29292
|
}
|
|
29293
|
+
/**
|
|
29294
|
+
*
|
|
29295
|
+
* @summary InfluxDB DeleteBucket
|
|
29296
|
+
* @param {SharedApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
|
|
29297
|
+
* @param {*} [options] Override http request option.
|
|
29298
|
+
* @throws {RequiredError}
|
|
29299
|
+
* @memberof SharedApi
|
|
29300
|
+
*/
|
|
29301
|
+
influxDBDeleteBucket(requestParameters, options) {
|
|
29302
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
29303
|
+
}
|
|
28982
29304
|
/**
|
|
28983
29305
|
*
|
|
28984
29306
|
* @summary InfluxDB DeleteToken
|
|
@@ -29001,6 +29323,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
29001
29323
|
influxDBDeleteUser(requestParameters, options) {
|
|
29002
29324
|
return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
|
|
29003
29325
|
}
|
|
29326
|
+
/**
|
|
29327
|
+
*
|
|
29328
|
+
* @summary InfluxDB GetBucket
|
|
29329
|
+
* @param {SharedApiInfluxDBGetBucketRequest} requestParameters Request parameters.
|
|
29330
|
+
* @param {*} [options] Override http request option.
|
|
29331
|
+
* @throws {RequiredError}
|
|
29332
|
+
* @memberof SharedApi
|
|
29333
|
+
*/
|
|
29334
|
+
influxDBGetBucket(requestParameters, options) {
|
|
29335
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
|
|
29336
|
+
}
|
|
29004
29337
|
/**
|
|
29005
29338
|
*
|
|
29006
29339
|
* @summary InfluxDB ListBuckets
|
|
@@ -29045,6 +29378,17 @@ class SharedApi extends base_1.BaseAPI {
|
|
|
29045
29378
|
influxDBListUsers(requestParameters, options) {
|
|
29046
29379
|
return (0, exports.SharedApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
|
|
29047
29380
|
}
|
|
29381
|
+
/**
|
|
29382
|
+
*
|
|
29383
|
+
* @summary InfluxDB UpdateBucket
|
|
29384
|
+
* @param {SharedApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
|
|
29385
|
+
* @param {*} [options] Override http request option.
|
|
29386
|
+
* @throws {RequiredError}
|
|
29387
|
+
* @memberof SharedApi
|
|
29388
|
+
*/
|
|
29389
|
+
influxDBUpdateBucket(requestParameters, options) {
|
|
29390
|
+
return (0, exports.SharedApiFp)(this.configuration).influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(this.axios, this.basePath));
|
|
29391
|
+
}
|
|
29048
29392
|
/**
|
|
29049
29393
|
*
|
|
29050
29394
|
* @summary InfluxDB UpdateToken
|