kb-cloud-client-typescript 2.3.0-alpha.205 → 2.3.0-alpha.207

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 (85) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/account-api.d.ts +366 -0
  6. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/account-api.js +403 -0
  8. package/dist/adminapi/apis/account-api.js.map +1 -1
  9. package/dist/adminapi/apis/milvus-api.d.ts +415 -0
  10. package/dist/adminapi/apis/milvus-api.d.ts.map +1 -0
  11. package/dist/adminapi/apis/milvus-api.js +467 -0
  12. package/dist/adminapi/apis/milvus-api.js.map +1 -0
  13. package/dist/adminapi/apis/shared-api.d.ts +366 -0
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +403 -0
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/index.d.ts +3 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +3 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/milvus-account-password.d.ts +31 -0
  22. package/dist/adminapi/models/milvus-account-password.d.ts.map +1 -0
  23. package/dist/adminapi/models/milvus-account-password.js +16 -0
  24. package/dist/adminapi/models/milvus-account-password.js.map +1 -0
  25. package/dist/adminapi/models/milvus-account-roles.d.ts +31 -0
  26. package/dist/adminapi/models/milvus-account-roles.d.ts.map +1 -0
  27. package/dist/adminapi/models/milvus-account-roles.js +16 -0
  28. package/dist/adminapi/models/milvus-account-roles.js.map +1 -0
  29. package/dist/adminapi/models/milvus-account.d.ts +49 -0
  30. package/dist/adminapi/models/milvus-account.d.ts.map +1 -0
  31. package/dist/adminapi/models/milvus-account.js +16 -0
  32. package/dist/adminapi/models/milvus-account.js.map +1 -0
  33. package/dist/openapi/api.d.ts +1 -0
  34. package/dist/openapi/api.d.ts.map +1 -1
  35. package/dist/openapi/api.js +1 -0
  36. package/dist/openapi/api.js.map +1 -1
  37. package/dist/openapi/apis/account-api.d.ts +366 -0
  38. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  39. package/dist/openapi/apis/account-api.js +403 -0
  40. package/dist/openapi/apis/account-api.js.map +1 -1
  41. package/dist/openapi/apis/milvus-api.d.ts +415 -0
  42. package/dist/openapi/apis/milvus-api.d.ts.map +1 -0
  43. package/dist/openapi/apis/milvus-api.js +467 -0
  44. package/dist/openapi/apis/milvus-api.js.map +1 -0
  45. package/dist/openapi/apis/shared-api.d.ts +366 -0
  46. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  47. package/dist/openapi/apis/shared-api.js +403 -0
  48. package/dist/openapi/apis/shared-api.js.map +1 -1
  49. package/dist/openapi/models/index.d.ts +3 -0
  50. package/dist/openapi/models/index.d.ts.map +1 -1
  51. package/dist/openapi/models/index.js +3 -0
  52. package/dist/openapi/models/index.js.map +1 -1
  53. package/dist/openapi/models/milvus-account-password.d.ts +31 -0
  54. package/dist/openapi/models/milvus-account-password.d.ts.map +1 -0
  55. package/dist/openapi/models/milvus-account-password.js +16 -0
  56. package/dist/openapi/models/milvus-account-password.js.map +1 -0
  57. package/dist/openapi/models/milvus-account-roles.d.ts +31 -0
  58. package/dist/openapi/models/milvus-account-roles.d.ts.map +1 -0
  59. package/dist/openapi/models/milvus-account-roles.js +16 -0
  60. package/dist/openapi/models/milvus-account-roles.js.map +1 -0
  61. package/dist/openapi/models/milvus-account.d.ts +49 -0
  62. package/dist/openapi/models/milvus-account.d.ts.map +1 -0
  63. package/dist/openapi/models/milvus-account.js +16 -0
  64. package/dist/openapi/models/milvus-account.js.map +1 -0
  65. package/package.json +1 -1
  66. package/src/adminapi/.openapi-generator/FILES +4 -0
  67. package/src/adminapi/api.ts +1 -0
  68. package/src/adminapi/apis/account-api.ts +644 -0
  69. package/src/adminapi/apis/milvus-api.ts +716 -0
  70. package/src/adminapi/apis/shared-api.ts +644 -0
  71. package/src/adminapi/models/index.ts +3 -0
  72. package/src/adminapi/models/milvus-account-password.ts +36 -0
  73. package/src/adminapi/models/milvus-account-roles.ts +36 -0
  74. package/src/adminapi/models/milvus-account.ts +54 -0
  75. package/src/adminapi.yaml +275 -0
  76. package/src/openapi/.openapi-generator/FILES +4 -0
  77. package/src/openapi/api.ts +1 -0
  78. package/src/openapi/apis/account-api.ts +644 -0
  79. package/src/openapi/apis/milvus-api.ts +716 -0
  80. package/src/openapi/apis/shared-api.ts +644 -0
  81. package/src/openapi/models/index.ts +3 -0
  82. package/src/openapi/models/milvus-account-password.ts +36 -0
  83. package/src/openapi/models/milvus-account-roles.ts +36 -0
  84. package/src/openapi/models/milvus-account.ts +54 -0
  85. package/src/openapi.yaml +275 -0
@@ -528,6 +528,9 @@ 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
+ export * from './milvus-account-password';
533
+ export * from './milvus-account-roles';
531
534
  export * from './mode-compatible-kubeblocks-version';
532
535
  export * from './mode-component';
533
536
  export * from './mode-object-storage';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Milvus account password update request.
19
+ * @export
20
+ * @interface MilvusAccountPassword
21
+ */
22
+ export interface MilvusAccountPassword {
23
+ /**
24
+ * Current account password. Required by Milvus.
25
+ * @type {string}
26
+ * @memberof MilvusAccountPassword
27
+ */
28
+ 'oldPassword': string;
29
+ /**
30
+ * New account password.
31
+ * @type {string}
32
+ * @memberof MilvusAccountPassword
33
+ */
34
+ 'password': string;
35
+ }
36
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Milvus account role update request.
19
+ * @export
20
+ * @interface MilvusAccountRoles
21
+ */
22
+ export interface MilvusAccountRoles {
23
+ /**
24
+ * Generic account role. SUPERUSER maps to the Milvus admin role.
25
+ * @type {string}
26
+ * @memberof MilvusAccountRoles
27
+ */
28
+ 'role'?: string;
29
+ /**
30
+ * Milvus role names to assign to the user. Existing roles are replaced.
31
+ * @type {Array<string>}
32
+ * @memberof MilvusAccountRoles
33
+ */
34
+ 'roles'?: Array<string>;
35
+ }
36
+
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Admin API
5
+ * The Admin API is used to manage the ApeCloud platform.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Milvus account creation request.
19
+ * @export
20
+ * @interface MilvusAccount
21
+ */
22
+ export interface MilvusAccount {
23
+ /**
24
+ * Account name. Kept for compatibility with the generic account model.
25
+ * @type {string}
26
+ * @memberof MilvusAccount
27
+ */
28
+ 'name'?: string;
29
+ /**
30
+ * Milvus username. When omitted, name is used.
31
+ * @type {string}
32
+ * @memberof MilvusAccount
33
+ */
34
+ 'username'?: string;
35
+ /**
36
+ * Account password.
37
+ * @type {string}
38
+ * @memberof MilvusAccount
39
+ */
40
+ 'password': string;
41
+ /**
42
+ * Generic account role. SUPERUSER maps to the Milvus admin role.
43
+ * @type {string}
44
+ * @memberof MilvusAccount
45
+ */
46
+ 'role'?: string;
47
+ /**
48
+ * Milvus role names to assign to the user.
49
+ * @type {Array<string>}
50
+ * @memberof MilvusAccount
51
+ */
52
+ 'roles'?: Array<string>;
53
+ }
54
+
package/src/adminapi.yaml CHANGED
@@ -21836,6 +21836,233 @@ 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
+ /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
+ patch:
21968
+ summary: Update Milvus account password
21969
+ description: Update a Milvus account password.
21970
+ operationId: updateMilvusAccountPassword
21971
+ parameters:
21972
+ - description: name of the Org
21973
+ in: path
21974
+ name: orgName
21975
+ required: true
21976
+ schema:
21977
+ type: string
21978
+ - description: name of the Cluster
21979
+ in: path
21980
+ name: clusterName
21981
+ required: true
21982
+ schema:
21983
+ type: string
21984
+ - description: name of the Account
21985
+ in: path
21986
+ name: accountName
21987
+ required: true
21988
+ schema:
21989
+ type: string
21990
+ tags:
21991
+ - account
21992
+ - milvus
21993
+ - shared
21994
+ requestBody:
21995
+ required: true
21996
+ content:
21997
+ application/json:
21998
+ schema:
21999
+ $ref: '#/components/schemas/MilvusAccountPassword'
22000
+ responses:
22001
+ '204':
22002
+ description: A successful response.
22003
+ content: {}
22004
+ '400':
22005
+ $ref: '#/components/responses/400'
22006
+ '401':
22007
+ $ref: '#/components/responses/401'
22008
+ '403':
22009
+ $ref: '#/components/responses/403'
22010
+ '404':
22011
+ $ref: '#/components/responses/404'
22012
+ '500':
22013
+ $ref: '#/components/responses/500'
22014
+ x-codegen-request-body-name: body
22015
+ /admin/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles:
22016
+ put:
22017
+ summary: Update Milvus account roles
22018
+ description: Replace a Milvus account's role assignments.
22019
+ operationId: updateMilvusAccountRoles
22020
+ parameters:
22021
+ - description: name of the Org
22022
+ in: path
22023
+ name: orgName
22024
+ required: true
22025
+ schema:
22026
+ type: string
22027
+ - description: name of the Cluster
22028
+ in: path
22029
+ name: clusterName
22030
+ required: true
22031
+ schema:
22032
+ type: string
22033
+ - description: name of the Account
22034
+ in: path
22035
+ name: accountName
22036
+ required: true
22037
+ schema:
22038
+ type: string
22039
+ tags:
22040
+ - account
22041
+ - milvus
22042
+ - shared
22043
+ requestBody:
22044
+ required: true
22045
+ content:
22046
+ application/json:
22047
+ schema:
22048
+ $ref: '#/components/schemas/MilvusAccountRoles'
22049
+ responses:
22050
+ '204':
22051
+ description: A successful response.
22052
+ content: {}
22053
+ '400':
22054
+ $ref: '#/components/responses/400'
22055
+ '401':
22056
+ $ref: '#/components/responses/401'
22057
+ '403':
22058
+ $ref: '#/components/responses/403'
22059
+ '404':
22060
+ $ref: '#/components/responses/404'
22061
+ '409':
22062
+ $ref: '#/components/responses/409'
22063
+ '500':
22064
+ $ref: '#/components/responses/500'
22065
+ x-codegen-request-body-name: body
21839
22066
  /admin/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts:
21840
22067
  delete:
21841
22068
  operationId: deleteMssqlAccount
@@ -41287,6 +41514,54 @@ components:
41287
41514
  autoCommit:
41288
41515
  type: string
41289
41516
  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
+ MilvusAccountPassword:
41541
+ type: object
41542
+ description: Milvus account password update request.
41543
+ required:
41544
+ - oldPassword
41545
+ - password
41546
+ properties:
41547
+ oldPassword:
41548
+ type: string
41549
+ description: Current account password. Required by Milvus.
41550
+ password:
41551
+ type: string
41552
+ description: New account password.
41553
+ MilvusAccountRoles:
41554
+ type: object
41555
+ description: Milvus account role update request.
41556
+ properties:
41557
+ role:
41558
+ type: string
41559
+ description: Generic account role. SUPERUSER maps to the Milvus admin role.
41560
+ roles:
41561
+ type: array
41562
+ description: Milvus role names to assign to the user. Existing roles are replaced.
41563
+ items:
41564
+ type: string
41290
41565
  dbTDERequest:
41291
41566
  type: object
41292
41567
  properties:
@@ -50,6 +50,7 @@ apis/load-balancer-api.ts
50
50
  apis/mark-cluster-api.ts
51
51
  apis/member-api.ts
52
52
  apis/metering-api.ts
53
+ apis/milvus-api.ts
53
54
  apis/mongodb-api.ts
54
55
  apis/mssql-api.ts
55
56
  apis/oceanbase-api.ts
@@ -574,6 +575,9 @@ models/metering-track.ts
574
575
  models/metrics-option-query.ts
575
576
  models/metrics-option.ts
576
577
  models/metrics-query-type.ts
578
+ models/milvus-account-password.ts
579
+ models/milvus-account-roles.ts
580
+ models/milvus-account.ts
577
581
  models/mode-compatible-kubeblocks-version.ts
578
582
  models/mode-component.ts
579
583
  models/mode-object-storage-additional-helm-value-path.ts
@@ -62,6 +62,7 @@ export * from './apis/load-balancer-api';
62
62
  export * from './apis/mark-cluster-api';
63
63
  export * from './apis/member-api';
64
64
  export * from './apis/metering-api';
65
+ export * from './apis/milvus-api';
65
66
  export * from './apis/mongodb-api';
66
67
  export * from './apis/mssql-api';
67
68
  export * from './apis/oceanbase-api';