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.
Files changed (98) hide show
  1. package/dist/adminapi/apis/database-api.d.ts +319 -0
  2. package/dist/adminapi/apis/database-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/database-api.js +344 -0
  4. package/dist/adminapi/apis/database-api.js.map +1 -1
  5. package/dist/adminapi/apis/influxdb-api.d.ts +318 -0
  6. package/dist/adminapi/apis/influxdb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/influxdb-api.js +344 -0
  8. package/dist/adminapi/apis/influxdb-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +318 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +344 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +4 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +4 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/influx-dbbucket-create.d.ts +44 -0
  18. package/dist/adminapi/models/influx-dbbucket-create.d.ts.map +1 -0
  19. package/dist/adminapi/models/influx-dbbucket-create.js +16 -0
  20. package/dist/adminapi/models/influx-dbbucket-create.js.map +1 -0
  21. package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
  22. package/dist/adminapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
  23. package/dist/adminapi/models/influx-dbbucket-retention-rule.js +16 -0
  24. package/dist/adminapi/models/influx-dbbucket-retention-rule.js.map +1 -0
  25. package/dist/adminapi/models/influx-dbbucket-update.d.ts +38 -0
  26. package/dist/adminapi/models/influx-dbbucket-update.d.ts.map +1 -0
  27. package/dist/adminapi/models/influx-dbbucket-update.js +16 -0
  28. package/dist/adminapi/models/influx-dbbucket-update.js.map +1 -0
  29. package/dist/adminapi/models/influx-dbbucket.d.ts +25 -0
  30. package/dist/adminapi/models/influx-dbbucket.d.ts.map +1 -1
  31. package/dist/adminapi/models/influx-dbretention-rule-type.d.ts +21 -0
  32. package/dist/adminapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
  33. package/dist/adminapi/models/influx-dbretention-rule-type.js +25 -0
  34. package/dist/adminapi/models/influx-dbretention-rule-type.js.map +1 -0
  35. package/dist/adminapi/models/storage-provider-schema-props.d.ts +10 -3
  36. package/dist/adminapi/models/storage-provider-schema-props.d.ts.map +1 -1
  37. package/dist/internalapi/apis/cluster-api.d.ts +4 -4
  38. package/dist/internalapi/apis/cluster-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/database-api.d.ts +319 -0
  40. package/dist/openapi/apis/database-api.d.ts.map +1 -1
  41. package/dist/openapi/apis/database-api.js +344 -0
  42. package/dist/openapi/apis/database-api.js.map +1 -1
  43. package/dist/openapi/apis/influxdb-api.d.ts +318 -0
  44. package/dist/openapi/apis/influxdb-api.d.ts.map +1 -1
  45. package/dist/openapi/apis/influxdb-api.js +344 -0
  46. package/dist/openapi/apis/influxdb-api.js.map +1 -1
  47. package/dist/openapi/apis/shared-api.d.ts +318 -0
  48. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  49. package/dist/openapi/apis/shared-api.js +344 -0
  50. package/dist/openapi/apis/shared-api.js.map +1 -1
  51. package/dist/openapi/models/index.d.ts +4 -0
  52. package/dist/openapi/models/index.d.ts.map +1 -1
  53. package/dist/openapi/models/index.js +4 -0
  54. package/dist/openapi/models/index.js.map +1 -1
  55. package/dist/openapi/models/influx-dbbucket-create.d.ts +44 -0
  56. package/dist/openapi/models/influx-dbbucket-create.d.ts.map +1 -0
  57. package/dist/openapi/models/influx-dbbucket-create.js +16 -0
  58. package/dist/openapi/models/influx-dbbucket-create.js.map +1 -0
  59. package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts +38 -0
  60. package/dist/openapi/models/influx-dbbucket-retention-rule.d.ts.map +1 -0
  61. package/dist/openapi/models/influx-dbbucket-retention-rule.js +16 -0
  62. package/dist/openapi/models/influx-dbbucket-retention-rule.js.map +1 -0
  63. package/dist/openapi/models/influx-dbbucket-update.d.ts +38 -0
  64. package/dist/openapi/models/influx-dbbucket-update.d.ts.map +1 -0
  65. package/dist/openapi/models/influx-dbbucket-update.js +16 -0
  66. package/dist/openapi/models/influx-dbbucket-update.js.map +1 -0
  67. package/dist/openapi/models/influx-dbbucket.d.ts +25 -0
  68. package/dist/openapi/models/influx-dbbucket.d.ts.map +1 -1
  69. package/dist/openapi/models/influx-dbretention-rule-type.d.ts +21 -0
  70. package/dist/openapi/models/influx-dbretention-rule-type.d.ts.map +1 -0
  71. package/dist/openapi/models/influx-dbretention-rule-type.js +25 -0
  72. package/dist/openapi/models/influx-dbretention-rule-type.js.map +1 -0
  73. package/package.json +1 -1
  74. package/src/adminapi/.openapi-generator/FILES +4 -0
  75. package/src/adminapi/apis/database-api.ts +563 -0
  76. package/src/adminapi/apis/influxdb-api.ts +561 -0
  77. package/src/adminapi/apis/shared-api.ts +561 -0
  78. package/src/adminapi/models/index.ts +4 -0
  79. package/src/adminapi/models/influx-dbbucket-create.ts +51 -0
  80. package/src/adminapi/models/influx-dbbucket-retention-rule.ts +47 -0
  81. package/src/adminapi/models/influx-dbbucket-update.ts +45 -0
  82. package/src/adminapi/models/influx-dbbucket.ts +27 -0
  83. package/src/adminapi/models/influx-dbretention-rule-type.ts +30 -0
  84. package/src/adminapi/models/storage-provider-schema-props.ts +12 -3
  85. package/src/adminapi.yaml +257 -2
  86. package/src/internalapi/apis/cluster-api.ts +3 -3
  87. package/src/internalapi.yaml +9 -2
  88. package/src/openapi/.openapi-generator/FILES +4 -0
  89. package/src/openapi/apis/database-api.ts +563 -0
  90. package/src/openapi/apis/influxdb-api.ts +561 -0
  91. package/src/openapi/apis/shared-api.ts +561 -0
  92. package/src/openapi/models/index.ts +4 -0
  93. package/src/openapi/models/influx-dbbucket-create.ts +51 -0
  94. package/src/openapi/models/influx-dbbucket-retention-rule.ts +47 -0
  95. package/src/openapi/models/influx-dbbucket-update.ts +45 -0
  96. package/src/openapi/models/influx-dbbucket.ts +27 -0
  97. package/src/openapi/models/influx-dbretention-rule-type.ts +30 -0
  98. package/src/openapi.yaml +252 -0
@@ -8132,6 +8132,49 @@ const SharedApiAxiosParamCreator = function (configuration) {
8132
8132
  options: localVarRequestOptions,
8133
8133
  };
8134
8134
  },
8135
+ /**
8136
+ *
8137
+ * @summary InfluxDB CreateBucket
8138
+ * @param {string} orgName
8139
+ * @param {string} clusterName
8140
+ * @param {InfluxDBBucketCreate} influxDBBucketCreate
8141
+ * @param {*} [options] Override http request option.
8142
+ * @throws {RequiredError}
8143
+ */
8144
+ influxDBCreateBucket: async (orgName, clusterName, influxDBBucketCreate, options = {}) => {
8145
+ // verify required parameter 'orgName' is not null or undefined
8146
+ (0, common_1.assertParamExists)('influxDBCreateBucket', 'orgName', orgName);
8147
+ // verify required parameter 'clusterName' is not null or undefined
8148
+ (0, common_1.assertParamExists)('influxDBCreateBucket', 'clusterName', clusterName);
8149
+ // verify required parameter 'influxDBBucketCreate' is not null or undefined
8150
+ (0, common_1.assertParamExists)('influxDBCreateBucket', 'influxDBBucketCreate', influxDBBucketCreate);
8151
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets`
8152
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8153
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
8154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8155
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8156
+ let baseOptions;
8157
+ if (configuration) {
8158
+ baseOptions = configuration.baseOptions;
8159
+ }
8160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8161
+ const localVarHeaderParameter = {};
8162
+ const localVarQueryParameter = {};
8163
+ // authentication BearerToken required
8164
+ // http bearer authentication required
8165
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8166
+ // authentication DigestAuth required
8167
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8168
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8169
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8171
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8172
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBBucketCreate, localVarRequestOptions, configuration);
8173
+ return {
8174
+ url: (0, common_1.toPathString)(localVarUrlObj),
8175
+ options: localVarRequestOptions,
8176
+ };
8177
+ },
8135
8178
  /**
8136
8179
  *
8137
8180
  * @summary InfluxDB CreateToken
@@ -8222,6 +8265,54 @@ const SharedApiAxiosParamCreator = function (configuration) {
8222
8265
  options: localVarRequestOptions,
8223
8266
  };
8224
8267
  },
8268
+ /**
8269
+ *
8270
+ * @summary InfluxDB DeleteBucket
8271
+ * @param {string} orgName
8272
+ * @param {string} clusterName
8273
+ * @param {string} bucketID
8274
+ * @param {string} influxOrgID
8275
+ * @param {*} [options] Override http request option.
8276
+ * @throws {RequiredError}
8277
+ */
8278
+ influxDBDeleteBucket: async (orgName, clusterName, bucketID, influxOrgID, options = {}) => {
8279
+ // verify required parameter 'orgName' is not null or undefined
8280
+ (0, common_1.assertParamExists)('influxDBDeleteBucket', 'orgName', orgName);
8281
+ // verify required parameter 'clusterName' is not null or undefined
8282
+ (0, common_1.assertParamExists)('influxDBDeleteBucket', 'clusterName', clusterName);
8283
+ // verify required parameter 'bucketID' is not null or undefined
8284
+ (0, common_1.assertParamExists)('influxDBDeleteBucket', 'bucketID', bucketID);
8285
+ // verify required parameter 'influxOrgID' is not null or undefined
8286
+ (0, common_1.assertParamExists)('influxDBDeleteBucket', 'influxOrgID', influxOrgID);
8287
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
8288
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8289
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8290
+ .replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
8291
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8292
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8293
+ let baseOptions;
8294
+ if (configuration) {
8295
+ baseOptions = configuration.baseOptions;
8296
+ }
8297
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
8298
+ const localVarHeaderParameter = {};
8299
+ const localVarQueryParameter = {};
8300
+ // authentication BearerToken required
8301
+ // http bearer authentication required
8302
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8303
+ // authentication DigestAuth required
8304
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8305
+ if (influxOrgID !== undefined) {
8306
+ localVarQueryParameter['influxOrgID'] = influxOrgID;
8307
+ }
8308
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8309
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8310
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8311
+ return {
8312
+ url: (0, common_1.toPathString)(localVarUrlObj),
8313
+ options: localVarRequestOptions,
8314
+ };
8315
+ },
8225
8316
  /**
8226
8317
  *
8227
8318
  * @summary InfluxDB DeleteToken
@@ -8310,6 +8401,54 @@ const SharedApiAxiosParamCreator = function (configuration) {
8310
8401
  options: localVarRequestOptions,
8311
8402
  };
8312
8403
  },
8404
+ /**
8405
+ *
8406
+ * @summary InfluxDB GetBucket
8407
+ * @param {string} orgName
8408
+ * @param {string} clusterName
8409
+ * @param {string} bucketID
8410
+ * @param {string} influxOrgID
8411
+ * @param {*} [options] Override http request option.
8412
+ * @throws {RequiredError}
8413
+ */
8414
+ influxDBGetBucket: async (orgName, clusterName, bucketID, influxOrgID, options = {}) => {
8415
+ // verify required parameter 'orgName' is not null or undefined
8416
+ (0, common_1.assertParamExists)('influxDBGetBucket', 'orgName', orgName);
8417
+ // verify required parameter 'clusterName' is not null or undefined
8418
+ (0, common_1.assertParamExists)('influxDBGetBucket', 'clusterName', clusterName);
8419
+ // verify required parameter 'bucketID' is not null or undefined
8420
+ (0, common_1.assertParamExists)('influxDBGetBucket', 'bucketID', bucketID);
8421
+ // verify required parameter 'influxOrgID' is not null or undefined
8422
+ (0, common_1.assertParamExists)('influxDBGetBucket', 'influxOrgID', influxOrgID);
8423
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
8424
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8425
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8426
+ .replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
8427
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8428
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8429
+ let baseOptions;
8430
+ if (configuration) {
8431
+ baseOptions = configuration.baseOptions;
8432
+ }
8433
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8434
+ const localVarHeaderParameter = {};
8435
+ const localVarQueryParameter = {};
8436
+ // authentication BearerToken required
8437
+ // http bearer authentication required
8438
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8439
+ // authentication DigestAuth required
8440
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8441
+ if (influxOrgID !== undefined) {
8442
+ localVarQueryParameter['influxOrgID'] = influxOrgID;
8443
+ }
8444
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8445
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8446
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8447
+ return {
8448
+ url: (0, common_1.toPathString)(localVarUrlObj),
8449
+ options: localVarRequestOptions,
8450
+ };
8451
+ },
8313
8452
  /**
8314
8453
  *
8315
8454
  * @summary InfluxDB ListBuckets
@@ -8472,6 +8611,59 @@ const SharedApiAxiosParamCreator = function (configuration) {
8472
8611
  options: localVarRequestOptions,
8473
8612
  };
8474
8613
  },
8614
+ /**
8615
+ *
8616
+ * @summary InfluxDB UpdateBucket
8617
+ * @param {string} orgName
8618
+ * @param {string} clusterName
8619
+ * @param {string} bucketID
8620
+ * @param {string} influxOrgID
8621
+ * @param {InfluxDBBucketUpdate} influxDBBucketUpdate
8622
+ * @param {*} [options] Override http request option.
8623
+ * @throws {RequiredError}
8624
+ */
8625
+ influxDBUpdateBucket: async (orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options = {}) => {
8626
+ // verify required parameter 'orgName' is not null or undefined
8627
+ (0, common_1.assertParamExists)('influxDBUpdateBucket', 'orgName', orgName);
8628
+ // verify required parameter 'clusterName' is not null or undefined
8629
+ (0, common_1.assertParamExists)('influxDBUpdateBucket', 'clusterName', clusterName);
8630
+ // verify required parameter 'bucketID' is not null or undefined
8631
+ (0, common_1.assertParamExists)('influxDBUpdateBucket', 'bucketID', bucketID);
8632
+ // verify required parameter 'influxOrgID' is not null or undefined
8633
+ (0, common_1.assertParamExists)('influxDBUpdateBucket', 'influxOrgID', influxOrgID);
8634
+ // verify required parameter 'influxDBBucketUpdate' is not null or undefined
8635
+ (0, common_1.assertParamExists)('influxDBUpdateBucket', 'influxDBBucketUpdate', influxDBBucketUpdate);
8636
+ const localVarPath = `/api/v1/data/influxdb/organizations/{orgName}/clusters/{clusterName}/buckets/{bucketID}`
8637
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
8638
+ .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
8639
+ .replace(`{${"bucketID"}}`, encodeURIComponent(String(bucketID)));
8640
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8641
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8642
+ let baseOptions;
8643
+ if (configuration) {
8644
+ baseOptions = configuration.baseOptions;
8645
+ }
8646
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
8647
+ const localVarHeaderParameter = {};
8648
+ const localVarQueryParameter = {};
8649
+ // authentication BearerToken required
8650
+ // http bearer authentication required
8651
+ await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8652
+ // authentication DigestAuth required
8653
+ await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8654
+ if (influxOrgID !== undefined) {
8655
+ localVarQueryParameter['influxOrgID'] = influxOrgID;
8656
+ }
8657
+ localVarHeaderParameter['Content-Type'] = 'application/json';
8658
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8659
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8660
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8661
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(influxDBBucketUpdate, localVarRequestOptions, configuration);
8662
+ return {
8663
+ url: (0, common_1.toPathString)(localVarUrlObj),
8664
+ options: localVarRequestOptions,
8665
+ };
8666
+ },
8475
8667
  /**
8476
8668
  *
8477
8669
  * @summary InfluxDB UpdateToken
@@ -20158,6 +20350,22 @@ const SharedApiFp = function (configuration) {
20158
20350
  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;
20159
20351
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20160
20352
  },
20353
+ /**
20354
+ *
20355
+ * @summary InfluxDB CreateBucket
20356
+ * @param {string} orgName
20357
+ * @param {string} clusterName
20358
+ * @param {InfluxDBBucketCreate} influxDBBucketCreate
20359
+ * @param {*} [options] Override http request option.
20360
+ * @throws {RequiredError}
20361
+ */
20362
+ async influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options) {
20363
+ var _a, _b, _c;
20364
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBCreateBucket(orgName, clusterName, influxDBBucketCreate, options);
20365
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20366
+ 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;
20367
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20368
+ },
20161
20369
  /**
20162
20370
  *
20163
20371
  * @summary InfluxDB CreateToken
@@ -20191,6 +20399,23 @@ const SharedApiFp = function (configuration) {
20191
20399
  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;
20192
20400
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20193
20401
  },
20402
+ /**
20403
+ *
20404
+ * @summary InfluxDB DeleteBucket
20405
+ * @param {string} orgName
20406
+ * @param {string} clusterName
20407
+ * @param {string} bucketID
20408
+ * @param {string} influxOrgID
20409
+ * @param {*} [options] Override http request option.
20410
+ * @throws {RequiredError}
20411
+ */
20412
+ async influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options) {
20413
+ var _a, _b, _c;
20414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBDeleteBucket(orgName, clusterName, bucketID, influxOrgID, options);
20415
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20416
+ 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;
20417
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20418
+ },
20194
20419
  /**
20195
20420
  *
20196
20421
  * @summary InfluxDB DeleteToken
@@ -20224,6 +20449,23 @@ const SharedApiFp = function (configuration) {
20224
20449
  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;
20225
20450
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20226
20451
  },
20452
+ /**
20453
+ *
20454
+ * @summary InfluxDB GetBucket
20455
+ * @param {string} orgName
20456
+ * @param {string} clusterName
20457
+ * @param {string} bucketID
20458
+ * @param {string} influxOrgID
20459
+ * @param {*} [options] Override http request option.
20460
+ * @throws {RequiredError}
20461
+ */
20462
+ async influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options) {
20463
+ var _a, _b, _c;
20464
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBGetBucket(orgName, clusterName, bucketID, influxOrgID, options);
20465
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20466
+ 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;
20467
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20468
+ },
20227
20469
  /**
20228
20470
  *
20229
20471
  * @summary InfluxDB ListBuckets
@@ -20286,6 +20528,24 @@ const SharedApiFp = function (configuration) {
20286
20528
  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;
20287
20529
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20288
20530
  },
20531
+ /**
20532
+ *
20533
+ * @summary InfluxDB UpdateBucket
20534
+ * @param {string} orgName
20535
+ * @param {string} clusterName
20536
+ * @param {string} bucketID
20537
+ * @param {string} influxOrgID
20538
+ * @param {InfluxDBBucketUpdate} influxDBBucketUpdate
20539
+ * @param {*} [options] Override http request option.
20540
+ * @throws {RequiredError}
20541
+ */
20542
+ async influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options) {
20543
+ var _a, _b, _c;
20544
+ const localVarAxiosArgs = await localVarAxiosParamCreator.influxDBUpdateBucket(orgName, clusterName, bucketID, influxOrgID, influxDBBucketUpdate, options);
20545
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
20546
+ 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;
20547
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
20548
+ },
20289
20549
  /**
20290
20550
  *
20291
20551
  * @summary InfluxDB UpdateToken
@@ -25194,6 +25454,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
25194
25454
  influxDBChangePassword(requestParameters, options) {
25195
25455
  return localVarFp.influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(axios, basePath));
25196
25456
  },
25457
+ /**
25458
+ *
25459
+ * @summary InfluxDB CreateBucket
25460
+ * @param {SharedApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
25461
+ * @param {*} [options] Override http request option.
25462
+ * @throws {RequiredError}
25463
+ */
25464
+ influxDBCreateBucket(requestParameters, options) {
25465
+ return localVarFp.influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(axios, basePath));
25466
+ },
25197
25467
  /**
25198
25468
  *
25199
25469
  * @summary InfluxDB CreateToken
@@ -25214,6 +25484,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
25214
25484
  influxDBCreateUser(requestParameters, options) {
25215
25485
  return localVarFp.influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(axios, basePath));
25216
25486
  },
25487
+ /**
25488
+ *
25489
+ * @summary InfluxDB DeleteBucket
25490
+ * @param {SharedApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
25491
+ * @param {*} [options] Override http request option.
25492
+ * @throws {RequiredError}
25493
+ */
25494
+ influxDBDeleteBucket(requestParameters, options) {
25495
+ return localVarFp.influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
25496
+ },
25217
25497
  /**
25218
25498
  *
25219
25499
  * @summary InfluxDB DeleteToken
@@ -25234,6 +25514,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
25234
25514
  influxDBDeleteUser(requestParameters, options) {
25235
25515
  return localVarFp.influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(axios, basePath));
25236
25516
  },
25517
+ /**
25518
+ *
25519
+ * @summary InfluxDB GetBucket
25520
+ * @param {SharedApiInfluxDBGetBucketRequest} requestParameters Request parameters.
25521
+ * @param {*} [options] Override http request option.
25522
+ * @throws {RequiredError}
25523
+ */
25524
+ influxDBGetBucket(requestParameters, options) {
25525
+ return localVarFp.influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(axios, basePath));
25526
+ },
25237
25527
  /**
25238
25528
  *
25239
25529
  * @summary InfluxDB ListBuckets
@@ -25274,6 +25564,16 @@ const SharedApiFactory = function (configuration, basePath, axios) {
25274
25564
  influxDBListUsers(requestParameters, options) {
25275
25565
  return localVarFp.influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
25276
25566
  },
25567
+ /**
25568
+ *
25569
+ * @summary InfluxDB UpdateBucket
25570
+ * @param {SharedApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
25571
+ * @param {*} [options] Override http request option.
25572
+ * @throws {RequiredError}
25573
+ */
25574
+ influxDBUpdateBucket(requestParameters, options) {
25575
+ return localVarFp.influxDBUpdateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, requestParameters.influxDBBucketUpdate, options).then((request) => request(axios, basePath));
25576
+ },
25277
25577
  /**
25278
25578
  *
25279
25579
  * @summary InfluxDB UpdateToken
@@ -29044,6 +29344,17 @@ class SharedApi extends base_1.BaseAPI {
29044
29344
  influxDBChangePassword(requestParameters, options) {
29045
29345
  return (0, exports.SharedApiFp)(this.configuration).influxDBChangePassword(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, requestParameters.influxDBPasswordChange, options).then((request) => request(this.axios, this.basePath));
29046
29346
  }
29347
+ /**
29348
+ *
29349
+ * @summary InfluxDB CreateBucket
29350
+ * @param {SharedApiInfluxDBCreateBucketRequest} requestParameters Request parameters.
29351
+ * @param {*} [options] Override http request option.
29352
+ * @throws {RequiredError}
29353
+ * @memberof SharedApi
29354
+ */
29355
+ influxDBCreateBucket(requestParameters, options) {
29356
+ return (0, exports.SharedApiFp)(this.configuration).influxDBCreateBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBBucketCreate, options).then((request) => request(this.axios, this.basePath));
29357
+ }
29047
29358
  /**
29048
29359
  *
29049
29360
  * @summary InfluxDB CreateToken
@@ -29066,6 +29377,17 @@ class SharedApi extends base_1.BaseAPI {
29066
29377
  influxDBCreateUser(requestParameters, options) {
29067
29378
  return (0, exports.SharedApiFp)(this.configuration).influxDBCreateUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.influxDBUserCreate, options).then((request) => request(this.axios, this.basePath));
29068
29379
  }
29380
+ /**
29381
+ *
29382
+ * @summary InfluxDB DeleteBucket
29383
+ * @param {SharedApiInfluxDBDeleteBucketRequest} requestParameters Request parameters.
29384
+ * @param {*} [options] Override http request option.
29385
+ * @throws {RequiredError}
29386
+ * @memberof SharedApi
29387
+ */
29388
+ influxDBDeleteBucket(requestParameters, options) {
29389
+ return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
29390
+ }
29069
29391
  /**
29070
29392
  *
29071
29393
  * @summary InfluxDB DeleteToken
@@ -29088,6 +29410,17 @@ class SharedApi extends base_1.BaseAPI {
29088
29410
  influxDBDeleteUser(requestParameters, options) {
29089
29411
  return (0, exports.SharedApiFp)(this.configuration).influxDBDeleteUser(requestParameters.orgName, requestParameters.clusterName, requestParameters.userID, options).then((request) => request(this.axios, this.basePath));
29090
29412
  }
29413
+ /**
29414
+ *
29415
+ * @summary InfluxDB GetBucket
29416
+ * @param {SharedApiInfluxDBGetBucketRequest} requestParameters Request parameters.
29417
+ * @param {*} [options] Override http request option.
29418
+ * @throws {RequiredError}
29419
+ * @memberof SharedApi
29420
+ */
29421
+ influxDBGetBucket(requestParameters, options) {
29422
+ return (0, exports.SharedApiFp)(this.configuration).influxDBGetBucket(requestParameters.orgName, requestParameters.clusterName, requestParameters.bucketID, requestParameters.influxOrgID, options).then((request) => request(this.axios, this.basePath));
29423
+ }
29091
29424
  /**
29092
29425
  *
29093
29426
  * @summary InfluxDB ListBuckets
@@ -29132,6 +29465,17 @@ class SharedApi extends base_1.BaseAPI {
29132
29465
  influxDBListUsers(requestParameters, options) {
29133
29466
  return (0, exports.SharedApiFp)(this.configuration).influxDBListUsers(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
29134
29467
  }
29468
+ /**
29469
+ *
29470
+ * @summary InfluxDB UpdateBucket
29471
+ * @param {SharedApiInfluxDBUpdateBucketRequest} requestParameters Request parameters.
29472
+ * @param {*} [options] Override http request option.
29473
+ * @throws {RequiredError}
29474
+ * @memberof SharedApi
29475
+ */
29476
+ influxDBUpdateBucket(requestParameters, options) {
29477
+ 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));
29478
+ }
29135
29479
  /**
29136
29480
  *
29137
29481
  * @summary InfluxDB UpdateToken