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
@@ -486,6 +486,9 @@ export * from './metering-track-list';
486
486
  export * from './metrics-option';
487
487
  export * from './metrics-option-query';
488
488
  export * from './metrics-query-type';
489
+ export * from './milvus-account';
490
+ export * from './milvus-account-password';
491
+ export * from './milvus-account-roles';
489
492
  export * from './mode-compatible-kubeblocks-version';
490
493
  export * from './mode-component';
491
494
  export * from './mode-object-storage';
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
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
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
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
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
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/openapi.yaml CHANGED
@@ -16348,6 +16348,233 @@ paths:
16348
16348
  - account
16349
16349
  - mongodb
16350
16350
  - shared
16351
+ /api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts:
16352
+ get:
16353
+ summary: List Milvus accounts
16354
+ description: List Milvus accounts.
16355
+ operationId: listMilvusAccounts
16356
+ parameters:
16357
+ - description: name of the Org
16358
+ in: path
16359
+ name: orgName
16360
+ required: true
16361
+ schema:
16362
+ type: string
16363
+ - description: name of the Cluster
16364
+ in: path
16365
+ name: clusterName
16366
+ required: true
16367
+ schema:
16368
+ type: string
16369
+ tags:
16370
+ - account
16371
+ - milvus
16372
+ - shared
16373
+ responses:
16374
+ '200':
16375
+ description: A successful response.
16376
+ content:
16377
+ application/json:
16378
+ schema:
16379
+ $ref: '#/components/schemas/accountList'
16380
+ '400':
16381
+ $ref: '#/components/responses/400'
16382
+ '401':
16383
+ $ref: '#/components/responses/401'
16384
+ '403':
16385
+ $ref: '#/components/responses/403'
16386
+ '404':
16387
+ $ref: '#/components/responses/404'
16388
+ '500':
16389
+ $ref: '#/components/responses/500'
16390
+ post:
16391
+ summary: Create Milvus account
16392
+ description: Create a Milvus account.
16393
+ operationId: createMilvusAccount
16394
+ parameters:
16395
+ - description: name of the Org
16396
+ in: path
16397
+ name: orgName
16398
+ required: true
16399
+ schema:
16400
+ type: string
16401
+ - description: name of the Cluster
16402
+ in: path
16403
+ name: clusterName
16404
+ required: true
16405
+ schema:
16406
+ type: string
16407
+ tags:
16408
+ - account
16409
+ - milvus
16410
+ - shared
16411
+ requestBody:
16412
+ required: true
16413
+ content:
16414
+ application/json:
16415
+ schema:
16416
+ $ref: '#/components/schemas/MilvusAccount'
16417
+ responses:
16418
+ '201':
16419
+ description: A successful response.
16420
+ content:
16421
+ application/json:
16422
+ schema:
16423
+ $ref: '#/components/schemas/accountListItem'
16424
+ '400':
16425
+ $ref: '#/components/responses/400'
16426
+ '401':
16427
+ $ref: '#/components/responses/401'
16428
+ '403':
16429
+ $ref: '#/components/responses/403'
16430
+ '404':
16431
+ $ref: '#/components/responses/404'
16432
+ '409':
16433
+ $ref: '#/components/responses/409'
16434
+ '500':
16435
+ $ref: '#/components/responses/500'
16436
+ x-codegen-request-body-name: body
16437
+ /api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}:
16438
+ delete:
16439
+ summary: Delete Milvus account
16440
+ description: Delete a Milvus account.
16441
+ operationId: deleteMilvusAccount
16442
+ parameters:
16443
+ - description: name of the Org
16444
+ in: path
16445
+ name: orgName
16446
+ required: true
16447
+ schema:
16448
+ type: string
16449
+ - description: name of the Cluster
16450
+ in: path
16451
+ name: clusterName
16452
+ required: true
16453
+ schema:
16454
+ type: string
16455
+ - description: name of the Account
16456
+ in: path
16457
+ name: accountName
16458
+ required: true
16459
+ schema:
16460
+ type: string
16461
+ tags:
16462
+ - account
16463
+ - milvus
16464
+ - shared
16465
+ responses:
16466
+ '204':
16467
+ description: A successful response.
16468
+ content: {}
16469
+ '400':
16470
+ $ref: '#/components/responses/400'
16471
+ '401':
16472
+ $ref: '#/components/responses/401'
16473
+ '403':
16474
+ $ref: '#/components/responses/403'
16475
+ '404':
16476
+ $ref: '#/components/responses/404'
16477
+ '500':
16478
+ $ref: '#/components/responses/500'
16479
+ patch:
16480
+ summary: Update Milvus account password
16481
+ description: Update a Milvus account password.
16482
+ operationId: updateMilvusAccountPassword
16483
+ parameters:
16484
+ - description: name of the Org
16485
+ in: path
16486
+ name: orgName
16487
+ required: true
16488
+ schema:
16489
+ type: string
16490
+ - description: name of the Cluster
16491
+ in: path
16492
+ name: clusterName
16493
+ required: true
16494
+ schema:
16495
+ type: string
16496
+ - description: name of the Account
16497
+ in: path
16498
+ name: accountName
16499
+ required: true
16500
+ schema:
16501
+ type: string
16502
+ tags:
16503
+ - account
16504
+ - milvus
16505
+ - shared
16506
+ requestBody:
16507
+ required: true
16508
+ content:
16509
+ application/json:
16510
+ schema:
16511
+ $ref: '#/components/schemas/MilvusAccountPassword'
16512
+ responses:
16513
+ '204':
16514
+ description: A successful response.
16515
+ content: {}
16516
+ '400':
16517
+ $ref: '#/components/responses/400'
16518
+ '401':
16519
+ $ref: '#/components/responses/401'
16520
+ '403':
16521
+ $ref: '#/components/responses/403'
16522
+ '404':
16523
+ $ref: '#/components/responses/404'
16524
+ '500':
16525
+ $ref: '#/components/responses/500'
16526
+ x-codegen-request-body-name: body
16527
+ /api/v1/data/milvus/organizations/{orgName}/clusters/{clusterName}/accounts/{accountName}/roles:
16528
+ put:
16529
+ summary: Update Milvus account roles
16530
+ description: Replace a Milvus account's role assignments.
16531
+ operationId: updateMilvusAccountRoles
16532
+ parameters:
16533
+ - description: name of the Org
16534
+ in: path
16535
+ name: orgName
16536
+ required: true
16537
+ schema:
16538
+ type: string
16539
+ - description: name of the Cluster
16540
+ in: path
16541
+ name: clusterName
16542
+ required: true
16543
+ schema:
16544
+ type: string
16545
+ - description: name of the Account
16546
+ in: path
16547
+ name: accountName
16548
+ required: true
16549
+ schema:
16550
+ type: string
16551
+ tags:
16552
+ - account
16553
+ - milvus
16554
+ - shared
16555
+ requestBody:
16556
+ required: true
16557
+ content:
16558
+ application/json:
16559
+ schema:
16560
+ $ref: '#/components/schemas/MilvusAccountRoles'
16561
+ responses:
16562
+ '204':
16563
+ description: A successful response.
16564
+ content: {}
16565
+ '400':
16566
+ $ref: '#/components/responses/400'
16567
+ '401':
16568
+ $ref: '#/components/responses/401'
16569
+ '403':
16570
+ $ref: '#/components/responses/403'
16571
+ '404':
16572
+ $ref: '#/components/responses/404'
16573
+ '409':
16574
+ $ref: '#/components/responses/409'
16575
+ '500':
16576
+ $ref: '#/components/responses/500'
16577
+ x-codegen-request-body-name: body
16351
16578
  /api/v1/data/mssql/organizations/{orgName}/clusters/{clusterName}/accounts:
16352
16579
  delete:
16353
16580
  operationId: deleteMssqlAccount
@@ -33891,6 +34118,54 @@ components:
33891
34118
  type: string
33892
34119
  format: date-time
33893
34120
  description: Optional service account expiration time. Use the Unix epoch to clear expiration.
34121
+ MilvusAccount:
34122
+ type: object
34123
+ description: Milvus account creation request.
34124
+ required:
34125
+ - password
34126
+ properties:
34127
+ name:
34128
+ type: string
34129
+ description: Account name. Kept for compatibility with the generic account model.
34130
+ username:
34131
+ type: string
34132
+ description: Milvus username. When omitted, name is used.
34133
+ password:
34134
+ type: string
34135
+ description: Account password.
34136
+ role:
34137
+ type: string
34138
+ description: Generic account role. SUPERUSER maps to the Milvus admin role.
34139
+ roles:
34140
+ type: array
34141
+ description: Milvus role names to assign to the user.
34142
+ items:
34143
+ type: string
34144
+ MilvusAccountPassword:
34145
+ type: object
34146
+ description: Milvus account password update request.
34147
+ required:
34148
+ - oldPassword
34149
+ - password
34150
+ properties:
34151
+ oldPassword:
34152
+ type: string
34153
+ description: Current account password. Required by Milvus.
34154
+ password:
34155
+ type: string
34156
+ description: New account password.
34157
+ MilvusAccountRoles:
34158
+ type: object
34159
+ description: Milvus account role update request.
34160
+ properties:
34161
+ role:
34162
+ type: string
34163
+ description: Generic account role. SUPERUSER maps to the Milvus admin role.
34164
+ roles:
34165
+ type: array
34166
+ description: Milvus role names to assign to the user. Existing roles are replaced.
34167
+ items:
34168
+ type: string
33894
34169
  dbTDERequest:
33895
34170
  type: object
33896
34171
  properties: