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
@@ -246,8 +246,6 @@ import type { Llm } from '../models';
246
246
  // @ts-ignore
247
247
  import type { MetricsQueryType } from '../models';
248
248
  // @ts-ignore
249
- import type { MilvusAccount } from '../models';
250
- // @ts-ignore
251
249
  import type { MilvusAccountPassword } from '../models';
252
250
  // @ts-ignore
253
251
  import type { MilvusAccountRoles } from '../models';
@@ -1793,57 +1791,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
1793
1791
  options: localVarRequestOptions,
1794
1792
  };
1795
1793
  },
1796
- /**
1797
- * Create a Milvus account.
1798
- * @summary Create Milvus account
1799
- * @param {string} orgName name of the Org
1800
- * @param {string} clusterName name of the Cluster
1801
- * @param {MilvusAccount} body
1802
- * @param {*} [options] Override http request option.
1803
- * @throws {RequiredError}
1804
- */
1805
- createMilvusAccount: async (orgName: string, clusterName: string, body: MilvusAccount, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
1806
- // verify required parameter 'orgName' is not null or undefined
1807
- assertParamExists('createMilvusAccount', 'orgName', orgName)
1808
- // verify required parameter 'clusterName' is not null or undefined
1809
- assertParamExists('createMilvusAccount', 'clusterName', clusterName)
1810
- // verify required parameter 'body' is not null or undefined
1811
- assertParamExists('createMilvusAccount', 'body', body)
1812
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
1813
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
1814
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
1815
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1816
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1817
- let baseOptions;
1818
- if (configuration) {
1819
- baseOptions = configuration.baseOptions;
1820
- }
1821
-
1822
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
1823
- const localVarHeaderParameter = {} as any;
1824
- const localVarQueryParameter = {} as any;
1825
-
1826
- // authentication BearerToken required
1827
- // http bearer authentication required
1828
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
1829
-
1830
- // authentication DigestAuth required
1831
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
1832
-
1833
-
1834
-
1835
- localVarHeaderParameter['Content-Type'] = 'application/json';
1836
-
1837
- setSearchParams(localVarUrlObj, localVarQueryParameter);
1838
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1839
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
1840
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
1841
-
1842
- return {
1843
- url: toPathString(localVarUrlObj),
1844
- options: localVarRequestOptions,
1845
- };
1846
- },
1847
1794
  /**
1848
1795
  * create an account in mongodb
1849
1796
  * @summary Create mongodb account
@@ -3177,55 +3124,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
3177
3124
 
3178
3125
 
3179
3126
 
3180
- setSearchParams(localVarUrlObj, localVarQueryParameter);
3181
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3182
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3183
-
3184
- return {
3185
- url: toPathString(localVarUrlObj),
3186
- options: localVarRequestOptions,
3187
- };
3188
- },
3189
- /**
3190
- * Delete a Milvus account.
3191
- * @summary Delete Milvus account
3192
- * @param {string} orgName name of the Org
3193
- * @param {string} clusterName name of the Cluster
3194
- * @param {string} accountName name of the Account
3195
- * @param {*} [options] Override http request option.
3196
- * @throws {RequiredError}
3197
- */
3198
- deleteMilvusAccount: async (orgName: string, clusterName: string, accountName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3199
- // verify required parameter 'orgName' is not null or undefined
3200
- assertParamExists('deleteMilvusAccount', 'orgName', orgName)
3201
- // verify required parameter 'clusterName' is not null or undefined
3202
- assertParamExists('deleteMilvusAccount', 'clusterName', clusterName)
3203
- // verify required parameter 'accountName' is not null or undefined
3204
- assertParamExists('deleteMilvusAccount', 'accountName', accountName)
3205
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}`
3206
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
3207
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)))
3208
- .replace(`{${"accountName"}}`, encodeURIComponent(String(accountName)));
3209
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3210
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3211
- let baseOptions;
3212
- if (configuration) {
3213
- baseOptions = configuration.baseOptions;
3214
- }
3215
-
3216
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
3217
- const localVarHeaderParameter = {} as any;
3218
- const localVarQueryParameter = {} as any;
3219
-
3220
- // authentication BearerToken required
3221
- // http bearer authentication required
3222
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3223
-
3224
- // authentication DigestAuth required
3225
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
3226
-
3227
-
3228
-
3229
3127
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3230
3128
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3231
3129
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -9240,51 +9138,6 @@ export const SharedApiAxiosParamCreator = function (configuration?: Configuratio
9240
9138
 
9241
9139
 
9242
9140
 
9243
- setSearchParams(localVarUrlObj, localVarQueryParameter);
9244
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9245
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
9246
-
9247
- return {
9248
- url: toPathString(localVarUrlObj),
9249
- options: localVarRequestOptions,
9250
- };
9251
- },
9252
- /**
9253
- * List Milvus accounts.
9254
- * @summary List Milvus accounts
9255
- * @param {string} orgName name of the Org
9256
- * @param {string} clusterName name of the Cluster
9257
- * @param {*} [options] Override http request option.
9258
- * @throws {RequiredError}
9259
- */
9260
- listMilvusAccounts: async (orgName: string, clusterName: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
9261
- // verify required parameter 'orgName' is not null or undefined
9262
- assertParamExists('listMilvusAccounts', 'orgName', orgName)
9263
- // verify required parameter 'clusterName' is not null or undefined
9264
- assertParamExists('listMilvusAccounts', 'clusterName', clusterName)
9265
- const localVarPath = `/admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts`
9266
- .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
9267
- .replace(`{${"clusterName"}}`, encodeURIComponent(String(clusterName)));
9268
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9269
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
9270
- let baseOptions;
9271
- if (configuration) {
9272
- baseOptions = configuration.baseOptions;
9273
- }
9274
-
9275
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
9276
- const localVarHeaderParameter = {} as any;
9277
- const localVarQueryParameter = {} as any;
9278
-
9279
- // authentication BearerToken required
9280
- // http bearer authentication required
9281
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
9282
-
9283
- // authentication DigestAuth required
9284
- await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
9285
-
9286
-
9287
-
9288
9141
  setSearchParams(localVarUrlObj, localVarQueryParameter);
9289
9142
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9290
9143
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -15727,21 +15580,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
15727
15580
  const localVarOperationServerBasePath = operationServerMap['SharedApi.createKafkaTopic']?.[localVarOperationServerIndex]?.url;
15728
15581
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15729
15582
  },
15730
- /**
15731
- * Create a Milvus account.
15732
- * @summary Create Milvus account
15733
- * @param {string} orgName name of the Org
15734
- * @param {string} clusterName name of the Cluster
15735
- * @param {MilvusAccount} body
15736
- * @param {*} [options] Override http request option.
15737
- * @throws {RequiredError}
15738
- */
15739
- async createMilvusAccount(orgName: string, clusterName: string, body: MilvusAccount, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountListItem>> {
15740
- const localVarAxiosArgs = await localVarAxiosParamCreator.createMilvusAccount(orgName, clusterName, body, options);
15741
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
15742
- const localVarOperationServerBasePath = operationServerMap['SharedApi.createMilvusAccount']?.[localVarOperationServerIndex]?.url;
15743
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15744
- },
15745
15583
  /**
15746
15584
  * create an account in mongodb
15747
15585
  * @summary Create mongodb account
@@ -16146,21 +15984,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
16146
15984
  const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteKafkaTopic']?.[localVarOperationServerIndex]?.url;
16147
15985
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16148
15986
  },
16149
- /**
16150
- * Delete a Milvus account.
16151
- * @summary Delete Milvus account
16152
- * @param {string} orgName name of the Org
16153
- * @param {string} clusterName name of the Cluster
16154
- * @param {string} accountName name of the Account
16155
- * @param {*} [options] Override http request option.
16156
- * @throws {RequiredError}
16157
- */
16158
- async deleteMilvusAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
16159
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMilvusAccount(orgName, clusterName, accountName, options);
16160
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
16161
- const localVarOperationServerBasePath = operationServerMap['SharedApi.deleteMilvusAccount']?.[localVarOperationServerIndex]?.url;
16162
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
16163
- },
16164
15987
  /**
16165
15988
  * delete an account in mongodb
16166
15989
  * @summary Delete mongodb account
@@ -17929,20 +17752,6 @@ export const SharedApiFp = function(configuration?: Configuration) {
17929
17752
  const localVarOperationServerBasePath = operationServerMap['SharedApi.listKeys']?.[localVarOperationServerIndex]?.url;
17930
17753
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17931
17754
  },
17932
- /**
17933
- * List Milvus accounts.
17934
- * @summary List Milvus accounts
17935
- * @param {string} orgName name of the Org
17936
- * @param {string} clusterName name of the Cluster
17937
- * @param {*} [options] Override http request option.
17938
- * @throws {RequiredError}
17939
- */
17940
- async listMilvusAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>> {
17941
- const localVarAxiosArgs = await localVarAxiosParamCreator.listMilvusAccounts(orgName, clusterName, options);
17942
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17943
- const localVarOperationServerBasePath = operationServerMap['SharedApi.listMilvusAccounts']?.[localVarOperationServerIndex]?.url;
17944
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17945
- },
17946
17755
  /**
17947
17756
  * list accounts in mongodb
17948
17757
  * @summary List mongodb accounts
@@ -19930,16 +19739,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
19930
19739
  createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic> {
19931
19740
  return localVarFp.createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(axios, basePath));
19932
19741
  },
19933
- /**
19934
- * Create a Milvus account.
19935
- * @summary Create Milvus account
19936
- * @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
19937
- * @param {*} [options] Override http request option.
19938
- * @throws {RequiredError}
19939
- */
19940
- createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountListItem> {
19941
- return localVarFp.createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(axios, basePath));
19942
- },
19943
19742
  /**
19944
19743
  * create an account in mongodb
19945
19744
  * @summary Create mongodb account
@@ -20210,16 +20009,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
20210
20009
  deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20211
20010
  return localVarFp.deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(axios, basePath));
20212
20011
  },
20213
- /**
20214
- * Delete a Milvus account.
20215
- * @summary Delete Milvus account
20216
- * @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
20217
- * @param {*} [options] Override http request option.
20218
- * @throws {RequiredError}
20219
- */
20220
- deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
20221
- return localVarFp.deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(axios, basePath));
20222
- },
20223
20012
  /**
20224
20013
  * delete an account in mongodb
20225
20014
  * @summary Delete mongodb account
@@ -21357,16 +21146,6 @@ export const SharedApiFactory = function (configuration?: Configuration, basePat
21357
21146
  listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList> {
21358
21147
  return localVarFp.listKeys(options).then((request) => request(axios, basePath));
21359
21148
  },
21360
- /**
21361
- * List Milvus accounts.
21362
- * @summary List Milvus accounts
21363
- * @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
21364
- * @param {*} [options] Override http request option.
21365
- * @throws {RequiredError}
21366
- */
21367
- listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>> {
21368
- return localVarFp.listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(axios, basePath));
21369
- },
21370
21149
  /**
21371
21150
  * list accounts in mongodb
21372
21151
  * @summary List mongodb accounts
@@ -22693,16 +22472,6 @@ export interface SharedApiInterface {
22693
22472
  */
22694
22473
  createKafkaTopic(requestParameters: SharedApiCreateKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<Topic>;
22695
22474
 
22696
- /**
22697
- * Create a Milvus account.
22698
- * @summary Create Milvus account
22699
- * @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
22700
- * @param {*} [options] Override http request option.
22701
- * @throws {RequiredError}
22702
- * @memberof SharedApiInterface
22703
- */
22704
- createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<AccountListItem>;
22705
-
22706
22475
  /**
22707
22476
  * create an account in mongodb
22708
22477
  * @summary Create mongodb account
@@ -22973,16 +22742,6 @@ export interface SharedApiInterface {
22973
22742
  */
22974
22743
  deleteKafkaTopic(requestParameters: SharedApiDeleteKafkaTopicRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22975
22744
 
22976
- /**
22977
- * Delete a Milvus account.
22978
- * @summary Delete Milvus account
22979
- * @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
22980
- * @param {*} [options] Override http request option.
22981
- * @throws {RequiredError}
22982
- * @memberof SharedApiInterface
22983
- */
22984
- deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
22985
-
22986
22745
  /**
22987
22746
  * delete an account in mongodb
22988
22747
  * @summary Delete mongodb account
@@ -24120,16 +23879,6 @@ export interface SharedApiInterface {
24120
23879
  */
24121
23880
  listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList>;
24122
23881
 
24123
- /**
24124
- * List Milvus accounts.
24125
- * @summary List Milvus accounts
24126
- * @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
24127
- * @param {*} [options] Override http request option.
24128
- * @throws {RequiredError}
24129
- * @memberof SharedApiInterface
24130
- */
24131
- listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
24132
-
24133
23882
  /**
24134
23883
  * list accounts in mongodb
24135
23884
  * @summary List mongodb accounts
@@ -26025,34 +25774,6 @@ export interface SharedApiCreateKafkaTopicRequest {
26025
25774
  readonly createTopicRequest: CreateTopicRequest
26026
25775
  }
26027
25776
 
26028
- /**
26029
- * Request parameters for createMilvusAccount operation in SharedApi.
26030
- * @export
26031
- * @interface SharedApiCreateMilvusAccountRequest
26032
- */
26033
- export interface SharedApiCreateMilvusAccountRequest {
26034
- /**
26035
- * name of the Org
26036
- * @type {string}
26037
- * @memberof SharedApiCreateMilvusAccount
26038
- */
26039
- readonly orgName: string
26040
-
26041
- /**
26042
- * name of the Cluster
26043
- * @type {string}
26044
- * @memberof SharedApiCreateMilvusAccount
26045
- */
26046
- readonly clusterName: string
26047
-
26048
- /**
26049
- *
26050
- * @type {MilvusAccount}
26051
- * @memberof SharedApiCreateMilvusAccount
26052
- */
26053
- readonly body: MilvusAccount
26054
- }
26055
-
26056
25777
  /**
26057
25778
  * Request parameters for createMongoDBAccount operation in SharedApi.
26058
25779
  * @export
@@ -26802,34 +26523,6 @@ export interface SharedApiDeleteKafkaTopicRequest {
26802
26523
  readonly topic: string
26803
26524
  }
26804
26525
 
26805
- /**
26806
- * Request parameters for deleteMilvusAccount operation in SharedApi.
26807
- * @export
26808
- * @interface SharedApiDeleteMilvusAccountRequest
26809
- */
26810
- export interface SharedApiDeleteMilvusAccountRequest {
26811
- /**
26812
- * name of the Org
26813
- * @type {string}
26814
- * @memberof SharedApiDeleteMilvusAccount
26815
- */
26816
- readonly orgName: string
26817
-
26818
- /**
26819
- * name of the Cluster
26820
- * @type {string}
26821
- * @memberof SharedApiDeleteMilvusAccount
26822
- */
26823
- readonly clusterName: string
26824
-
26825
- /**
26826
- * name of the Account
26827
- * @type {string}
26828
- * @memberof SharedApiDeleteMilvusAccount
26829
- */
26830
- readonly accountName: string
26831
- }
26832
-
26833
26526
  /**
26834
26527
  * Request parameters for deleteMongoDBAccount operation in SharedApi.
26835
26528
  * @export
@@ -30407,27 +30100,6 @@ export interface SharedApiListKafkaTopicMessagesRequest {
30407
30100
  readonly valueFilter?: string
30408
30101
  }
30409
30102
 
30410
- /**
30411
- * Request parameters for listMilvusAccounts operation in SharedApi.
30412
- * @export
30413
- * @interface SharedApiListMilvusAccountsRequest
30414
- */
30415
- export interface SharedApiListMilvusAccountsRequest {
30416
- /**
30417
- * name of the Org
30418
- * @type {string}
30419
- * @memberof SharedApiListMilvusAccounts
30420
- */
30421
- readonly orgName: string
30422
-
30423
- /**
30424
- * name of the Cluster
30425
- * @type {string}
30426
- * @memberof SharedApiListMilvusAccounts
30427
- */
30428
- readonly clusterName: string
30429
- }
30430
-
30431
30103
  /**
30432
30104
  * Request parameters for listMongoDBAccounts operation in SharedApi.
30433
30105
  * @export
@@ -34564,18 +34236,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
34564
34236
  return SharedApiFp(this.configuration).createKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.createTopicRequest, options).then((request) => request(this.axios, this.basePath));
34565
34237
  }
34566
34238
 
34567
- /**
34568
- * Create a Milvus account.
34569
- * @summary Create Milvus account
34570
- * @param {SharedApiCreateMilvusAccountRequest} requestParameters Request parameters.
34571
- * @param {*} [options] Override http request option.
34572
- * @throws {RequiredError}
34573
- * @memberof SharedApi
34574
- */
34575
- public createMilvusAccount(requestParameters: SharedApiCreateMilvusAccountRequest, options?: RawAxiosRequestConfig) {
34576
- return SharedApiFp(this.configuration).createMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
34577
- }
34578
-
34579
34239
  /**
34580
34240
  * create an account in mongodb
34581
34241
  * @summary Create mongodb account
@@ -34900,18 +34560,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
34900
34560
  return SharedApiFp(this.configuration).deleteKafkaTopic(requestParameters.orgName, requestParameters.clusterName, requestParameters.topic, options).then((request) => request(this.axios, this.basePath));
34901
34561
  }
34902
34562
 
34903
- /**
34904
- * Delete a Milvus account.
34905
- * @summary Delete Milvus account
34906
- * @param {SharedApiDeleteMilvusAccountRequest} requestParameters Request parameters.
34907
- * @param {*} [options] Override http request option.
34908
- * @throws {RequiredError}
34909
- * @memberof SharedApi
34910
- */
34911
- public deleteMilvusAccount(requestParameters: SharedApiDeleteMilvusAccountRequest, options?: RawAxiosRequestConfig) {
34912
- return SharedApiFp(this.configuration).deleteMilvusAccount(requestParameters.orgName, requestParameters.clusterName, requestParameters.accountName, options).then((request) => request(this.axios, this.basePath));
34913
- }
34914
-
34915
34563
  /**
34916
34564
  * delete an account in mongodb
34917
34565
  * @summary Delete mongodb account
@@ -36277,18 +35925,6 @@ export class SharedApi extends BaseAPI implements SharedApiInterface {
36277
35925
  return SharedApiFp(this.configuration).listKeys(options).then((request) => request(this.axios, this.basePath));
36278
35926
  }
36279
35927
 
36280
- /**
36281
- * List Milvus accounts.
36282
- * @summary List Milvus accounts
36283
- * @param {SharedApiListMilvusAccountsRequest} requestParameters Request parameters.
36284
- * @param {*} [options] Override http request option.
36285
- * @throws {RequiredError}
36286
- * @memberof SharedApi
36287
- */
36288
- public listMilvusAccounts(requestParameters: SharedApiListMilvusAccountsRequest, options?: RawAxiosRequestConfig) {
36289
- return SharedApiFp(this.configuration).listMilvusAccounts(requestParameters.orgName, requestParameters.clusterName, options).then((request) => request(this.axios, this.basePath));
36290
- }
36291
-
36292
35928
  /**
36293
35929
  * list accounts in mongodb
36294
35930
  * @summary List mongodb accounts
@@ -528,7 +528,6 @@ export * from './metering-track-list';
528
528
  export * from './metrics-option';
529
529
  export * from './metrics-option-query';
530
530
  export * from './metrics-query-type';
531
- export * from './milvus-account';
532
531
  export * from './milvus-account-password';
533
532
  export * from './milvus-account-roles';
534
533
  export * from './mode-compatible-kubeblocks-version';
package/src/adminapi.yaml CHANGED
@@ -21836,134 +21836,7 @@ paths:
21836
21836
  - account
21837
21837
  - mongodb
21838
21838
  - shared
21839
- /admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts:
21840
- get:
21841
- summary: List Milvus accounts
21842
- description: List Milvus accounts.
21843
- operationId: listMilvusAccounts
21844
- parameters:
21845
- - description: name of the Org
21846
- in: path
21847
- name: orgName
21848
- required: true
21849
- schema:
21850
- type: string
21851
- - description: name of the Cluster
21852
- in: path
21853
- name: clusterName
21854
- required: true
21855
- schema:
21856
- type: string
21857
- tags:
21858
- - account
21859
- - milvus
21860
- - shared
21861
- responses:
21862
- '200':
21863
- description: A successful response.
21864
- content:
21865
- application/json:
21866
- schema:
21867
- $ref: '#/components/schemas/accountList'
21868
- '400':
21869
- $ref: '#/components/responses/400'
21870
- '401':
21871
- $ref: '#/components/responses/401'
21872
- '403':
21873
- $ref: '#/components/responses/403'
21874
- '404':
21875
- $ref: '#/components/responses/404'
21876
- '500':
21877
- $ref: '#/components/responses/500'
21878
- post:
21879
- summary: Create Milvus account
21880
- description: Create a Milvus account.
21881
- operationId: createMilvusAccount
21882
- parameters:
21883
- - description: name of the Org
21884
- in: path
21885
- name: orgName
21886
- required: true
21887
- schema:
21888
- type: string
21889
- - description: name of the Cluster
21890
- in: path
21891
- name: clusterName
21892
- required: true
21893
- schema:
21894
- type: string
21895
- tags:
21896
- - account
21897
- - milvus
21898
- - shared
21899
- requestBody:
21900
- required: true
21901
- content:
21902
- application/json:
21903
- schema:
21904
- $ref: '#/components/schemas/MilvusAccount'
21905
- responses:
21906
- '201':
21907
- description: A successful response.
21908
- content:
21909
- application/json:
21910
- schema:
21911
- $ref: '#/components/schemas/accountListItem'
21912
- '400':
21913
- $ref: '#/components/responses/400'
21914
- '401':
21915
- $ref: '#/components/responses/401'
21916
- '403':
21917
- $ref: '#/components/responses/403'
21918
- '404':
21919
- $ref: '#/components/responses/404'
21920
- '409':
21921
- $ref: '#/components/responses/409'
21922
- '500':
21923
- $ref: '#/components/responses/500'
21924
- x-codegen-request-body-name: body
21925
21839
  /admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
21926
- delete:
21927
- summary: Delete Milvus account
21928
- description: Delete a Milvus account.
21929
- operationId: deleteMilvusAccount
21930
- parameters:
21931
- - description: name of the Org
21932
- in: path
21933
- name: orgName
21934
- required: true
21935
- schema:
21936
- type: string
21937
- - description: name of the Cluster
21938
- in: path
21939
- name: clusterName
21940
- required: true
21941
- schema:
21942
- type: string
21943
- - description: name of the Account
21944
- in: path
21945
- name: accountName
21946
- required: true
21947
- schema:
21948
- type: string
21949
- tags:
21950
- - account
21951
- - milvus
21952
- - shared
21953
- responses:
21954
- '204':
21955
- description: A successful response.
21956
- content: {}
21957
- '400':
21958
- $ref: '#/components/responses/400'
21959
- '401':
21960
- $ref: '#/components/responses/401'
21961
- '403':
21962
- $ref: '#/components/responses/403'
21963
- '404':
21964
- $ref: '#/components/responses/404'
21965
- '500':
21966
- $ref: '#/components/responses/500'
21967
21840
  patch:
21968
21841
  summary: Update Milvus account password
21969
21842
  description: Update a Milvus account password.
@@ -41514,29 +41387,6 @@ components:
41514
41387
  autoCommit:
41515
41388
  type: string
41516
41389
  description: Auto-commit status.
41517
- MilvusAccount:
41518
- type: object
41519
- description: Milvus account creation request.
41520
- required:
41521
- - password
41522
- properties:
41523
- name:
41524
- type: string
41525
- description: Account name. Kept for compatibility with the generic account model.
41526
- username:
41527
- type: string
41528
- description: Milvus username. When omitted, name is used.
41529
- password:
41530
- type: string
41531
- description: Account password.
41532
- role:
41533
- type: string
41534
- description: Generic account role. SUPERUSER maps to the Milvus admin role.
41535
- roles:
41536
- type: array
41537
- description: Milvus role names to assign to the user.
41538
- items:
41539
- type: string
41540
41390
  MilvusAccountPassword:
41541
41391
  type: object
41542
41392
  description: Milvus account password update request.
@@ -577,7 +577,6 @@ models/metrics-option.ts
577
577
  models/metrics-query-type.ts
578
578
  models/milvus-account-password.ts
579
579
  models/milvus-account-roles.ts
580
- models/milvus-account.ts
581
580
  models/mode-compatible-kubeblocks-version.ts
582
581
  models/mode-component.ts
583
582
  models/mode-object-storage-additional-helm-value-path.ts