kb-cloud-client-typescript 2.3.0-alpha.208 → 2.3.0-alpha.209

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 (55) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +0 -206
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +0 -233
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/milvus-api.d.ts +0 -207
  6. package/dist/adminapi/apis/milvus-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/milvus-api.js +0 -233
  8. package/dist/adminapi/apis/milvus-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +0 -206
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +0 -233
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +0 -1
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +0 -1
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/openapi/apis/account-api.d.ts +0 -206
  18. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  19. package/dist/openapi/apis/account-api.js +0 -233
  20. package/dist/openapi/apis/account-api.js.map +1 -1
  21. package/dist/openapi/apis/milvus-api.d.ts +0 -207
  22. package/dist/openapi/apis/milvus-api.d.ts.map +1 -1
  23. package/dist/openapi/apis/milvus-api.js +0 -233
  24. package/dist/openapi/apis/milvus-api.js.map +1 -1
  25. package/dist/openapi/apis/shared-api.d.ts +0 -206
  26. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  27. package/dist/openapi/apis/shared-api.js +0 -233
  28. package/dist/openapi/apis/shared-api.js.map +1 -1
  29. package/dist/openapi/models/index.d.ts +0 -1
  30. package/dist/openapi/models/index.d.ts.map +1 -1
  31. package/dist/openapi/models/index.js +0 -1
  32. package/dist/openapi/models/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/adminapi/.openapi-generator/FILES +0 -1
  35. package/src/adminapi/apis/account-api.ts +0 -364
  36. package/src/adminapi/apis/milvus-api.ts +0 -366
  37. package/src/adminapi/apis/shared-api.ts +0 -364
  38. package/src/adminapi/models/index.ts +0 -1
  39. package/src/adminapi.yaml +0 -150
  40. package/src/openapi/.openapi-generator/FILES +0 -1
  41. package/src/openapi/apis/account-api.ts +0 -364
  42. package/src/openapi/apis/milvus-api.ts +0 -366
  43. package/src/openapi/apis/shared-api.ts +0 -364
  44. package/src/openapi/models/index.ts +0 -1
  45. package/src/openapi.yaml +0 -150
  46. package/dist/adminapi/models/milvus-account.d.ts +0 -49
  47. package/dist/adminapi/models/milvus-account.d.ts.map +0 -1
  48. package/dist/adminapi/models/milvus-account.js +0 -16
  49. package/dist/adminapi/models/milvus-account.js.map +0 -1
  50. package/dist/openapi/models/milvus-account.d.ts +0 -49
  51. package/dist/openapi/models/milvus-account.d.ts.map +0 -1
  52. package/dist/openapi/models/milvus-account.js +0 -16
  53. package/dist/openapi/models/milvus-account.js.map +0 -1
  54. package/src/adminapi/models/milvus-account.ts +0 -54
  55. package/src/openapi/models/milvus-account.ts +0 -54
@@ -1181,49 +1181,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
1181
1181
  options: localVarRequestOptions,
1182
1182
  };
1183
1183
  },
1184
- /**
1185
- * Create a Milvus account.
1186
- * @summary Create Milvus account
1187
- * @param {string} orgName name of the Org
1188
- * @param {string} clusterName name of the Cluster
1189
- * @param {MilvusAccount} body
1190
- * @param {*} [options] Override http request option.
1191
- * @throws {RequiredError}
1192
- */
1193
- createMilvusAccount: async (orgName, clusterName, body, options = {}) => {
1194
- // verify required parameter 'orgName' is not null or undefined
1195
- (0, common_1.assertParamExists)('createMilvusAccount', 'orgName', orgName);
1196
- // verify required parameter 'clusterName' is not null or undefined
1197
- (0, common_1.assertParamExists)('createMilvusAccount', 'clusterName', clusterName);
1198
- // verify required parameter 'body' is not null or undefined
1199
- (0, common_1.assertParamExists)('createMilvusAccount', 'body', body);
1200
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
1201
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1202
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1203
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1204
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1205
- let baseOptions;
1206
- if (configuration) {
1207
- baseOptions = configuration.baseOptions;
1208
- }
1209
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1210
- const localVarHeaderParameter = {};
1211
- const localVarQueryParameter = {};
1212
- // authentication BearerToken required
1213
- // http bearer authentication required
1214
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1215
- // authentication DigestAuth required
1216
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1217
- localVarHeaderParameter['Content-Type'] = 'application/json';
1218
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1219
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1220
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1221
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
1222
- return {
1223
- url: (0, common_1.toPathString)(localVarUrlObj),
1224
- options: localVarRequestOptions,
1225
- };
1226
- },
1227
1184
  /**
1228
1185
  * create an account in mongodb
1229
1186
  * @summary Create mongodb account
@@ -2364,48 +2321,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
2364
2321
  options: localVarRequestOptions,
2365
2322
  };
2366
2323
  },
2367
- /**
2368
- * Delete a Milvus account.
2369
- * @summary Delete Milvus account
2370
- * @param {string} orgName name of the Org
2371
- * @param {string} clusterName name of the Cluster
2372
- * @param {string} accountName name of the Account
2373
- * @param {*} [options] Override http request option.
2374
- * @throws {RequiredError}
2375
- */
2376
- deleteMilvusAccount: async (orgName, clusterName, accountName, options = {}) => {
2377
- // verify required parameter 'orgName' is not null or undefined
2378
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'orgName', orgName);
2379
- // verify required parameter 'clusterName' is not null or undefined
2380
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'clusterName', clusterName);
2381
- // verify required parameter 'accountName' is not null or undefined
2382
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'accountName', accountName);
2383
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
2384
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
2385
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
2386
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
2387
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2388
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2389
- let baseOptions;
2390
- if (configuration) {
2391
- baseOptions = configuration.baseOptions;
2392
- }
2393
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
2394
- const localVarHeaderParameter = {};
2395
- const localVarQueryParameter = {};
2396
- // authentication BearerToken required
2397
- // http bearer authentication required
2398
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
2399
- // authentication DigestAuth required
2400
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
2401
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2402
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2403
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2404
- return {
2405
- url: (0, common_1.toPathString)(localVarUrlObj),
2406
- options: localVarRequestOptions,
2407
- };
2408
- },
2409
2324
  /**
2410
2325
  * delete an account in mongodb
2411
2326
  * @summary Delete mongodb account
@@ -7478,44 +7393,6 @@ const SharedApiAxiosParamCreator = function (configuration) {
7478
7393
  options: localVarRequestOptions,
7479
7394
  };
7480
7395
  },
7481
- /**
7482
- * List Milvus accounts.
7483
- * @summary List Milvus accounts
7484
- * @param {string} orgName name of the Org
7485
- * @param {string} clusterName name of the Cluster
7486
- * @param {*} [options] Override http request option.
7487
- * @throws {RequiredError}
7488
- */
7489
- listMilvusAccounts: async (orgName, clusterName, options = {}) => {
7490
- // verify required parameter 'orgName' is not null or undefined
7491
- (0, common_1.assertParamExists)('listMilvusAccounts', 'orgName', orgName);
7492
- // verify required parameter 'clusterName' is not null or undefined
7493
- (0, common_1.assertParamExists)('listMilvusAccounts', 'clusterName', clusterName);
7494
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
7495
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
7496
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
7497
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7498
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7499
- let baseOptions;
7500
- if (configuration) {
7501
- baseOptions = configuration.baseOptions;
7502
- }
7503
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
7504
- const localVarHeaderParameter = {};
7505
- const localVarQueryParameter = {};
7506
- // authentication BearerToken required
7507
- // http bearer authentication required
7508
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
7509
- // authentication DigestAuth required
7510
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
7511
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7512
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7513
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7514
- return {
7515
- url: (0, common_1.toPathString)(localVarUrlObj),
7516
- options: localVarRequestOptions,
7517
- };
7518
- },
7519
7396
  /**
7520
7397
  * list accounts in mongodb
7521
7398
  * @summary List mongodb accounts
@@ -13026,22 +12903,6 @@ const SharedApiFp = function (configuration) {
13026
12903
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13027
12904
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13028
12905
  },
13029
- /**
13030
- * Create a Milvus account.
13031
- * @summary Create Milvus account
13032
- * @param {string} orgName name of the Org
13033
- * @param {string} clusterName name of the Cluster
13034
- * @param {MilvusAccount} body
13035
- * @param {*} [options] Override http request option.
13036
- * @throws {RequiredError}
13037
- */
13038
- async createMilvusAccount(orgName, clusterName, body, options) {
13039
- var _a, _b, _c;
13040
- const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusAccount(orgName, clusterName, body, options);
13041
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13042
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.createMilvusAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13043
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13044
- },
13045
12906
  /**
13046
12907
  * create an account in mongodb
13047
12908
  * @summary Create mongodb account
@@ -13473,22 +13334,6 @@ const SharedApiFp = function (configuration) {
13473
13334
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteKafkaTopic']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13474
13335
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13475
13336
  },
13476
- /**
13477
- * Delete a Milvus account.
13478
- * @summary Delete Milvus account
13479
- * @param {string} orgName name of the Org
13480
- * @param {string} clusterName name of the Cluster
13481
- * @param {string} accountName name of the Account
13482
- * @param {*} [options] Override http request option.
13483
- * @throws {RequiredError}
13484
- */
13485
- async deleteMilvusAccount(orgName, clusterName, accountName, options) {
13486
- var _a, _b, _c;
13487
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusAccount(orgName, clusterName, accountName, options);
13488
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13489
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.deleteMilvusAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13490
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13491
- },
13492
13337
  /**
13493
13338
  * delete an account in mongodb
13494
13339
  * @summary Delete mongodb account
@@ -15371,21 +15216,6 @@ const SharedApiFp = function (configuration) {
15371
15216
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listKeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15372
15217
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15373
15218
  },
15374
- /**
15375
- * List Milvus accounts.
15376
- * @summary List Milvus accounts
15377
- * @param {string} orgName name of the Org
15378
- * @param {string} clusterName name of the Cluster
15379
- * @param {*} [options] Override http request option.
15380
- * @throws {RequiredError}
15381
- */
15382
- async listMilvusAccounts(orgName, clusterName, options) {
15383
- var _a, _b, _c;
15384
- const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusAccounts(orgName, clusterName, options);
15385
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
15386
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['SharedApi.listMilvusAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
15387
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15388
- },
15389
15219
  /**
15390
15220
  * list accounts in mongodb
15391
15221
  * @summary List mongodb accounts
@@ -17480,16 +17310,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17480
17310
  createKafkaTopic(requestParameters, options) {
17481
17311
  return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
17482
17312
  },
17483
- /**
17484
- * Create a Milvus account.
17485
- * @summary Create Milvus account
17486
- * @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
17487
- * @param {*} [options] Override http request option.
17488
- * @throws {RequiredError}
17489
- */
17490
- createMilvusAccount(requestParameters, options) {
17491
- return localVarFp.createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
17492
- },
17493
17313
  /**
17494
17314
  * create an account in mongodb
17495
17315
  * @summary Create mongodb account
@@ -17760,16 +17580,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
17760
17580
  deleteKafkaTopic(requestParameters, options) {
17761
17581
  return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
17762
17582
  },
17763
- /**
17764
- * Delete a Milvus account.
17765
- * @summary Delete Milvus account
17766
- * @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
17767
- * @param {*} [options] Override http request option.
17768
- * @throws {RequiredError}
17769
- */
17770
- deleteMilvusAccount(requestParameters, options) {
17771
- return localVarFp.deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
17772
- },
17773
17583
  /**
17774
17584
  * delete an account in mongodb
17775
17585
  * @summary Delete mongodb account
@@ -18907,16 +18717,6 @@ const SharedApiFactory = function (configuration, basePath, axios) {
18907
18717
  listKeys(options) {
18908
18718
  return localVarFp.listKeys(options).then((request) => request(axios, basePath));
18909
18719
  },
18910
- /**
18911
- * List Milvus accounts.
18912
- * @summary List Milvus accounts
18913
- * @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
18914
- * @param {*} [options] Override http request option.
18915
- * @throws {RequiredError}
18916
- */
18917
- listMilvusAccounts(requestParameters, options) {
18918
- return localVarFp.listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
18919
- },
18920
18720
  /**
18921
18721
  * list accounts in mongodb
18922
18722
  * @summary List mongodb accounts
@@ -20269,17 +20069,6 @@ class SharedApi extends base_1.BaseAPI {
20269
20069
  createKafkaTopic(requestParameters, options) {
20270
20070
  return (0, exports.SharedApiFp)(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
20271
20071
  }
20272
- /**
20273
- * Create a Milvus account.
20274
- * @summary Create Milvus account
20275
- * @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
20276
- * @param {*} [options] Override http request option.
20277
- * @throws {RequiredError}
20278
- * @memberof SharedApi
20279
- */
20280
- createMilvusAccount(requestParameters, options) {
20281
- return (0, exports.SharedApiFp)(this.configuration).createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
20282
- }
20283
20072
  /**
20284
20073
  * create an account in mongodb
20285
20074
  * @summary Create mongodb account
@@ -20577,17 +20366,6 @@ class SharedApi extends base_1.BaseAPI {
20577
20366
  deleteKafkaTopic(requestParameters, options) {
20578
20367
  return (0, exports.SharedApiFp)(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
20579
20368
  }
20580
- /**
20581
- * Delete a Milvus account.
20582
- * @summary Delete Milvus account
20583
- * @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
20584
- * @param {*} [options] Override http request option.
20585
- * @throws {RequiredError}
20586
- * @memberof SharedApi
20587
- */
20588
- deleteMilvusAccount(requestParameters, options) {
20589
- return (0, exports.SharedApiFp)(this.configuration).deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
20590
- }
20591
20369
  /**
20592
20370
  * delete an account in mongodb
20593
20371
  * @summary Delete mongodb account
@@ -21839,17 +21617,6 @@ class SharedApi extends base_1.BaseAPI {
21839
21617
  listKeys(options) {
21840
21618
  return (0, exports.SharedApiFp)(this.configuration).listKeys(options).then((request) => request(this.axios, this.basePath));
21841
21619
  }
21842
- /**
21843
- * List Milvus accounts.
21844
- * @summary List Milvus accounts
21845
- * @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
21846
- * @param {*} [options] Override http request option.
21847
- * @throws {RequiredError}
21848
- * @memberof SharedApi
21849
- */
21850
- listMilvusAccounts(requestParameters, options) {
21851
- return (0, exports.SharedApiFp)(this.configuration).listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
21852
- }
21853
21620
  /**
21854
21621
  * list accounts in mongodb
21855
21622
  * @summary List mongodb accounts