kb-cloud-client-typescript 2.3.0-alpha.207 → 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
@@ -162,49 +162,6 @@ const AccountApiAxiosParamCreator = function (configuration) {
162
162
  options: localVarRequestOptions,
163
163
  };
164
164
  },
165
- /**
166
- * Create a Milvus account.
167
- * @summary Create Milvus account
168
- * @param {string} orgName name of the Org
169
- * @param {string} clusterName name of the Cluster
170
- * @param {MilvusAccount} body
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- createMilvusAccount: async (orgName, clusterName, body, options = {}) => {
175
- // verify required parameter 'orgName' is not null or undefined
176
- (0, common_1.assertParamExists)('createMilvusAccount', 'orgName', orgName);
177
- // verify required parameter 'clusterName' is not null or undefined
178
- (0, common_1.assertParamExists)('createMilvusAccount', 'clusterName', clusterName);
179
- // verify required parameter 'body' is not null or undefined
180
- (0, common_1.assertParamExists)('createMilvusAccount', 'body', body);
181
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
182
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
183
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
184
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
185
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
186
- let baseOptions;
187
- if (configuration) {
188
- baseOptions = configuration.baseOptions;
189
- }
190
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
191
- const localVarHeaderParameter = {};
192
- const localVarQueryParameter = {};
193
- // authentication BearerToken required
194
- // http bearer authentication required
195
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
196
- // authentication DigestAuth required
197
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
198
- localVarHeaderParameter['Content-Type'] = 'application/json';
199
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
200
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
202
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
203
- return {
204
- url: (0, common_1.toPathString)(localVarUrlObj),
205
- options: localVarRequestOptions,
206
- };
207
- },
208
165
  /**
209
166
  * create an account in mongodb
210
167
  * @summary Create mongodb account
@@ -468,48 +425,6 @@ const AccountApiAxiosParamCreator = function (configuration) {
468
425
  options: localVarRequestOptions,
469
426
  };
470
427
  },
471
- /**
472
- * Delete a Milvus account.
473
- * @summary Delete Milvus account
474
- * @param {string} orgName name of the Org
475
- * @param {string} clusterName name of the Cluster
476
- * @param {string} accountName name of the Account
477
- * @param {*} [options] Override http request option.
478
- * @throws {RequiredError}
479
- */
480
- deleteMilvusAccount: async (orgName, clusterName, accountName, options = {}) => {
481
- // verify required parameter 'orgName' is not null or undefined
482
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'orgName', orgName);
483
- // verify required parameter 'clusterName' is not null or undefined
484
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'clusterName', clusterName);
485
- // verify required parameter 'accountName' is not null or undefined
486
- (0, common_1.assertParamExists)('deleteMilvusAccount', 'accountName', accountName);
487
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
488
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
489
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
490
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
491
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
492
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
493
- let baseOptions;
494
- if (configuration) {
495
- baseOptions = configuration.baseOptions;
496
- }
497
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
498
- const localVarHeaderParameter = {};
499
- const localVarQueryParameter = {};
500
- // authentication BearerToken required
501
- // http bearer authentication required
502
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
503
- // authentication DigestAuth required
504
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
505
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
506
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
507
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
508
- return {
509
- url: (0, common_1.toPathString)(localVarUrlObj),
510
- options: localVarRequestOptions,
511
- };
512
- },
513
428
  /**
514
429
  * delete an account in mongodb
515
430
  * @summary Delete mongodb account
@@ -900,44 +815,6 @@ const AccountApiAxiosParamCreator = function (configuration) {
900
815
  options: localVarRequestOptions,
901
816
  };
902
817
  },
903
- /**
904
- * List Milvus accounts.
905
- * @summary List Milvus accounts
906
- * @param {string} orgName name of the Org
907
- * @param {string} clusterName name of the Cluster
908
- * @param {*} [options] Override http request option.
909
- * @throws {RequiredError}
910
- */
911
- listMilvusAccounts: async (orgName, clusterName, options = {}) => {
912
- // verify required parameter 'orgName' is not null or undefined
913
- (0, common_1.assertParamExists)('listMilvusAccounts', 'orgName', orgName);
914
- // verify required parameter 'clusterName' is not null or undefined
915
- (0, common_1.assertParamExists)('listMilvusAccounts', 'clusterName', clusterName);
916
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
917
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
918
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
919
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
920
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
921
- let baseOptions;
922
- if (configuration) {
923
- baseOptions = configuration.baseOptions;
924
- }
925
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
926
- const localVarHeaderParameter = {};
927
- const localVarQueryParameter = {};
928
- // authentication BearerToken required
929
- // http bearer authentication required
930
- await (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
931
- // authentication DigestAuth required
932
- await (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
933
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
934
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
935
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
936
- return {
937
- url: (0, common_1.toPathString)(localVarUrlObj),
938
- options: localVarRequestOptions,
939
- };
940
- },
941
818
  /**
942
819
  * list accounts in mongodb
943
820
  * @summary List mongodb accounts
@@ -1687,22 +1564,6 @@ const AccountApiFp = function (configuration) {
1687
1564
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.createKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1688
1565
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1689
1566
  },
1690
- /**
1691
- * Create a Milvus account.
1692
- * @summary Create Milvus account
1693
- * @param {string} orgName name of the Org
1694
- * @param {string} clusterName name of the Cluster
1695
- * @param {MilvusAccount} body
1696
- * @param {*} [options] Override http request option.
1697
- * @throws {RequiredError}
1698
- */
1699
- async createMilvusAccount(orgName, clusterName, body, options) {
1700
- var _a, _b, _c;
1701
- const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusAccount(orgName, clusterName, body, options);
1702
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1703
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.createMilvusAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1704
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1705
- },
1706
1567
  /**
1707
1568
  * create an account in mongodb
1708
1569
  * @summary Create mongodb account
@@ -1801,22 +1662,6 @@ const AccountApiFp = function (configuration) {
1801
1662
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteKafkaAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1802
1663
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1803
1664
  },
1804
- /**
1805
- * Delete a Milvus account.
1806
- * @summary Delete Milvus account
1807
- * @param {string} orgName name of the Org
1808
- * @param {string} clusterName name of the Cluster
1809
- * @param {string} accountName name of the Account
1810
- * @param {*} [options] Override http request option.
1811
- * @throws {RequiredError}
1812
- */
1813
- async deleteMilvusAccount(orgName, clusterName, accountName, options) {
1814
- var _a, _b, _c;
1815
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusAccount(orgName, clusterName, accountName, options);
1816
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1817
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.deleteMilvusAccount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1818
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1819
- },
1820
1665
  /**
1821
1666
  * delete an account in mongodb
1822
1667
  * @summary Delete mongodb account
@@ -1963,21 +1808,6 @@ const AccountApiFp = function (configuration) {
1963
1808
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.listKafkaAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1964
1809
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1965
1810
  },
1966
- /**
1967
- * List Milvus accounts.
1968
- * @summary List Milvus accounts
1969
- * @param {string} orgName name of the Org
1970
- * @param {string} clusterName name of the Cluster
1971
- * @param {*} [options] Override http request option.
1972
- * @throws {RequiredError}
1973
- */
1974
- async listMilvusAccounts(orgName, clusterName, options) {
1975
- var _a, _b, _c;
1976
- const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusAccounts(orgName, clusterName, options);
1977
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1978
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AccountApi.listMilvusAccounts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1979
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1980
- },
1981
1811
  /**
1982
1812
  * list accounts in mongodb
1983
1813
  * @summary List mongodb accounts
@@ -2271,16 +2101,6 @@ const AccountApiFactory = function (configuration, basePath, axios) {
2271
2101
  createKafkaAccount(requestParameters, options) {
2272
2102
  return localVarFp.createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
2273
2103
  },
2274
- /**
2275
- * Create a Milvus account.
2276
- * @summary Create Milvus account
2277
- * @param {AccountApiCreateMilvusAccountRequest} requestParameters Request parameters.
2278
- * @param {*} [options] Override http request option.
2279
- * @throws {RequiredError}
2280
- */
2281
- createMilvusAccount(requestParameters, options) {
2282
- return localVarFp.createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
2283
- },
2284
2104
  /**
2285
2105
  * create an account in mongodb
2286
2106
  * @summary Create mongodb account
@@ -2341,16 +2161,6 @@ const AccountApiFactory = function (configuration, basePath, axios) {
2341
2161
  deleteKafkaAccount(requestParameters, options) {
2342
2162
  return localVarFp.deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
2343
2163
  },
2344
- /**
2345
- * Delete a Milvus account.
2346
- * @summary Delete Milvus account
2347
- * @param {AccountApiDeleteMilvusAccountRequest} requestParameters Request parameters.
2348
- * @param {*} [options] Override http request option.
2349
- * @throws {RequiredError}
2350
- */
2351
- deleteMilvusAccount(requestParameters, options) {
2352
- return localVarFp.deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
2353
- },
2354
2164
  /**
2355
2165
  * delete an account in mongodb
2356
2166
  * @summary Delete mongodb account
@@ -2441,16 +2251,6 @@ const AccountApiFactory = function (configuration, basePath, axios) {
2441
2251
  listKafkaAccounts(requestParameters, options) {
2442
2252
  return localVarFp.listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
2443
2253
  },
2444
- /**
2445
- * List Milvus accounts.
2446
- * @summary List Milvus accounts
2447
- * @param {AccountApiListMilvusAccountsRequest} requestParameters Request parameters.
2448
- * @param {*} [options] Override http request option.
2449
- * @throws {RequiredError}
2450
- */
2451
- listMilvusAccounts(requestParameters, options) {
2452
- return localVarFp.listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
2453
- },
2454
2254
  /**
2455
2255
  * list accounts in mongodb
2456
2256
  * @summary List mongodb accounts
@@ -2644,17 +2444,6 @@ class AccountApi extends base_1.BaseAPI {
2644
2444
  createKafkaAccount(requestParameters, options) {
2645
2445
  return (0, exports.AccountApiFp)(this.configuration).createKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2646
2446
  }
2647
- /**
2648
- * Create a Milvus account.
2649
- * @summary Create Milvus account
2650
- * @param {AccountApiCreateMilvusAccountRequest} requestParameters Request parameters.
2651
- * @param {*} [options] Override http request option.
2652
- * @throws {RequiredError}
2653
- * @memberof AccountApi
2654
- */
2655
- createMilvusAccount(requestParameters, options) {
2656
- return (0, exports.AccountApiFp)(this.configuration).createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
2657
- }
2658
2447
  /**
2659
2448
  * create an account in mongodb
2660
2449
  * @summary Create mongodb account
@@ -2721,17 +2510,6 @@ class AccountApi extends base_1.BaseAPI {
2721
2510
  deleteKafkaAccount(requestParameters, options) {
2722
2511
  return (0, exports.AccountApiFp)(this.configuration).deleteKafkaAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
2723
2512
  }
2724
- /**
2725
- * Delete a Milvus account.
2726
- * @summary Delete Milvus account
2727
- * @param {AccountApiDeleteMilvusAccountRequest} requestParameters Request parameters.
2728
- * @param {*} [options] Override http request option.
2729
- * @throws {RequiredError}
2730
- * @memberof AccountApi
2731
- */
2732
- deleteMilvusAccount(requestParameters, options) {
2733
- return (0, exports.AccountApiFp)(this.configuration).deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
2734
- }
2735
2513
  /**
2736
2514
  * delete an account in mongodb
2737
2515
  * @summary Delete mongodb account
@@ -2831,17 +2609,6 @@ class AccountApi extends base_1.BaseAPI {
2831
2609
  listKafkaAccounts(requestParameters, options) {
2832
2610
  return (0, exports.AccountApiFp)(this.configuration).listKafkaAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
2833
2611
  }
2834
- /**
2835
- * List Milvus accounts.
2836
- * @summary List Milvus accounts
2837
- * @param {AccountApiListMilvusAccountsRequest} requestParameters Request parameters.
2838
- * @param {*} [options] Override http request option.
2839
- * @throws {RequiredError}
2840
- * @memberof AccountApi
2841
- */
2842
- listMilvusAccounts(requestParameters, options) {
2843
- return (0, exports.AccountApiFp)(this.configuration).listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
2844
- }
2845
2612
  /**
2846
2613
  * list accounts in mongodb
2847
2614
  * @summary List mongodb accounts