kb-cloud-client-typescript 2.2.97 → 2.2.99

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 (43) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +406 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +427 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +406 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +427 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +406 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +427 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/dms-service-account-create-request.d.ts +55 -0
  14. package/dist/adminapi/models/dms-service-account-create-request.d.ts.map +1 -0
  15. package/dist/adminapi/models/dms-service-account-create-request.js +16 -0
  16. package/dist/adminapi/models/dms-service-account-create-request.js.map +1 -0
  17. package/dist/adminapi/models/dms-service-account-status.d.ts +22 -0
  18. package/dist/adminapi/models/dms-service-account-status.d.ts.map +1 -0
  19. package/dist/adminapi/models/dms-service-account-status.js +26 -0
  20. package/dist/adminapi/models/dms-service-account-status.js.map +1 -0
  21. package/dist/adminapi/models/dms-service-account-update-request.d.ts +32 -0
  22. package/dist/adminapi/models/dms-service-account-update-request.d.ts.map +1 -0
  23. package/dist/adminapi/models/dms-service-account-update-request.js +16 -0
  24. package/dist/adminapi/models/dms-service-account-update-request.js.map +1 -0
  25. package/dist/adminapi/models/dms-service-account.d.ts +73 -0
  26. package/dist/adminapi/models/dms-service-account.d.ts.map +1 -0
  27. package/dist/adminapi/models/dms-service-account.js +16 -0
  28. package/dist/adminapi/models/dms-service-account.js.map +1 -0
  29. package/dist/adminapi/models/index.d.ts +4 -0
  30. package/dist/adminapi/models/index.d.ts.map +1 -1
  31. package/dist/adminapi/models/index.js +4 -0
  32. package/dist/adminapi/models/index.js.map +1 -1
  33. package/package.json +1 -1
  34. package/src/adminapi/.openapi-generator/FILES +4 -0
  35. package/src/adminapi/apis/account-api.ts +703 -0
  36. package/src/adminapi/apis/rdbms-api.ts +703 -0
  37. package/src/adminapi/apis/shared-api.ts +703 -0
  38. package/src/adminapi/models/dms-service-account-create-request.ts +60 -0
  39. package/src/adminapi/models/dms-service-account-status.ts +31 -0
  40. package/src/adminapi/models/dms-service-account-update-request.ts +41 -0
  41. package/src/adminapi/models/dms-service-account.ts +78 -0
  42. package/src/adminapi/models/index.ts +4 -0
  43. package/src/adminapi.yaml +330 -0
@@ -0,0 +1,60 @@
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
+ * MinIO service account access-key create request
19
+ * @export
20
+ * @interface DmsServiceAccountCreateRequest
21
+ */
22
+ export interface DmsServiceAccountCreateRequest {
23
+ /**
24
+ * MinIO user that owns the service account.
25
+ * @type {string}
26
+ * @memberof DmsServiceAccountCreateRequest
27
+ */
28
+ 'userName': string;
29
+ /**
30
+ * Optional fixed access key. If omitted, MinIO generates it.
31
+ * @type {string}
32
+ * @memberof DmsServiceAccountCreateRequest
33
+ */
34
+ 'accessKey'?: string;
35
+ /**
36
+ * Optional fixed secret key. If omitted, MinIO generates it.
37
+ * @type {string}
38
+ * @memberof DmsServiceAccountCreateRequest
39
+ */
40
+ 'secretKey'?: string;
41
+ /**
42
+ * Display name of the service account.
43
+ * @type {string}
44
+ * @memberof DmsServiceAccountCreateRequest
45
+ */
46
+ 'name'?: string;
47
+ /**
48
+ * Description of the service account.
49
+ * @type {string}
50
+ * @memberof DmsServiceAccountCreateRequest
51
+ */
52
+ 'description'?: string;
53
+ /**
54
+ * Optional service account expiration time.
55
+ * @type {string}
56
+ * @memberof DmsServiceAccountCreateRequest
57
+ */
58
+ 'expiration'?: string;
59
+ }
60
+
@@ -0,0 +1,31 @@
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
+ * MinIO service account status.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const DmsServiceAccountStatus = {
24
+ enabled: 'enabled',
25
+ disabled: 'disabled'
26
+ } as const;
27
+
28
+ export type DmsServiceAccountStatus = typeof DmsServiceAccountStatus[keyof typeof DmsServiceAccountStatus];
29
+
30
+
31
+
@@ -0,0 +1,41 @@
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
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { DmsServiceAccountStatus } from './dms-service-account-status';
19
+
20
+ /**
21
+ * MinIO service account access-key update request
22
+ * @export
23
+ * @interface DmsServiceAccountUpdateRequest
24
+ */
25
+ export interface DmsServiceAccountUpdateRequest {
26
+ /**
27
+ *
28
+ * @type {DmsServiceAccountStatus}
29
+ * @memberof DmsServiceAccountUpdateRequest
30
+ */
31
+ 'status'?: DmsServiceAccountStatus;
32
+ /**
33
+ * Optional service account expiration time. Use the Unix epoch to clear expiration.
34
+ * @type {string}
35
+ * @memberof DmsServiceAccountUpdateRequest
36
+ */
37
+ 'expiration'?: string;
38
+ }
39
+
40
+
41
+
@@ -0,0 +1,78 @@
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
+ * MinIO service account access-key
19
+ * @export
20
+ * @interface DmsServiceAccount
21
+ */
22
+ export interface DmsServiceAccount {
23
+ /**
24
+ * MinIO user that owns the service account.
25
+ * @type {string}
26
+ * @memberof DmsServiceAccount
27
+ */
28
+ 'userName'?: string;
29
+ /**
30
+ * Service account access key.
31
+ * @type {string}
32
+ * @memberof DmsServiceAccount
33
+ */
34
+ 'accessKey'?: string;
35
+ /**
36
+ * Secret key returned only by create.
37
+ * @type {string}
38
+ * @memberof DmsServiceAccount
39
+ */
40
+ 'secretKey'?: string;
41
+ /**
42
+ * Service account status.
43
+ * @type {string}
44
+ * @memberof DmsServiceAccount
45
+ */
46
+ 'status'?: string;
47
+ /**
48
+ * Display name of the service account.
49
+ * @type {string}
50
+ * @memberof DmsServiceAccount
51
+ */
52
+ 'name'?: string;
53
+ /**
54
+ * Description of the service account.
55
+ * @type {string}
56
+ * @memberof DmsServiceAccount
57
+ */
58
+ 'description'?: string;
59
+ /**
60
+ * Service account expiration time.
61
+ * @type {string}
62
+ * @memberof DmsServiceAccount
63
+ */
64
+ 'expiration'?: string;
65
+ /**
66
+ * Service account policy text.
67
+ * @type {string}
68
+ * @memberof DmsServiceAccount
69
+ */
70
+ 'policy'?: string;
71
+ /**
72
+ * Whether the policy is implied from the parent user.
73
+ * @type {boolean}
74
+ * @memberof DmsServiceAccount
75
+ */
76
+ 'impliedPolicy'?: boolean;
77
+ }
78
+
@@ -264,6 +264,10 @@ export * from './dms-query-request';
264
264
  export * from './dms-query-response';
265
265
  export * from './dms-result';
266
266
  export * from './dms-result-stats';
267
+ export * from './dms-service-account';
268
+ export * from './dms-service-account-create-request';
269
+ export * from './dms-service-account-status';
270
+ export * from './dms-service-account-update-request';
267
271
  export * from './dms-session';
268
272
  export * from './dms-table-column';
269
273
  export * from './dms-table-column-generated';
package/src/adminapi.yaml CHANGED
@@ -17066,6 +17066,257 @@ paths:
17066
17066
  - rdbms
17067
17067
  - shared
17068
17068
  x-codegen-request-body-name: body
17069
+ /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys:
17070
+ get:
17071
+ description: list MinIO service account access keys
17072
+ summary: List MinIO access keys
17073
+ operationId: listServiceAccounts
17074
+ parameters:
17075
+ - description: name of the engine
17076
+ in: path
17077
+ name: engineName
17078
+ required: true
17079
+ schema:
17080
+ type: string
17081
+ - description: name of the organization
17082
+ in: path
17083
+ name: orgName
17084
+ required: true
17085
+ schema:
17086
+ type: string
17087
+ - description: name of the cluster
17088
+ in: path
17089
+ name: clusterName
17090
+ required: true
17091
+ schema:
17092
+ type: string
17093
+ - description: MinIO user that owns the service accounts
17094
+ in: query
17095
+ name: userName
17096
+ required: false
17097
+ schema:
17098
+ type: string
17099
+ responses:
17100
+ '200':
17101
+ description: list MinIO access keys success
17102
+ content:
17103
+ application/json:
17104
+ schema:
17105
+ $ref: '#/components/schemas/DmsServiceAccountList'
17106
+ '401':
17107
+ $ref: '#/components/responses/401'
17108
+ '403':
17109
+ $ref: '#/components/responses/403'
17110
+ '404':
17111
+ $ref: '#/components/responses/404'
17112
+ '500':
17113
+ $ref: '#/components/responses/500'
17114
+ tags:
17115
+ - account
17116
+ - rdbms
17117
+ - shared
17118
+ post:
17119
+ description: create a MinIO service account access key
17120
+ summary: Create MinIO access key
17121
+ operationId: createServiceAccount
17122
+ parameters:
17123
+ - description: name of the engine
17124
+ in: path
17125
+ name: engineName
17126
+ required: true
17127
+ schema:
17128
+ type: string
17129
+ - description: name of the organization
17130
+ in: path
17131
+ name: orgName
17132
+ required: true
17133
+ schema:
17134
+ type: string
17135
+ - description: name of the cluster
17136
+ in: path
17137
+ name: clusterName
17138
+ required: true
17139
+ schema:
17140
+ type: string
17141
+ requestBody:
17142
+ content:
17143
+ application/json:
17144
+ schema:
17145
+ $ref: '#/components/schemas/DmsServiceAccountCreateRequest'
17146
+ required: true
17147
+ responses:
17148
+ '201':
17149
+ description: create MinIO access key success
17150
+ content:
17151
+ application/json:
17152
+ schema:
17153
+ $ref: '#/components/schemas/DmsServiceAccount'
17154
+ '400':
17155
+ $ref: '#/components/responses/400'
17156
+ '401':
17157
+ $ref: '#/components/responses/401'
17158
+ '403':
17159
+ $ref: '#/components/responses/403'
17160
+ '404':
17161
+ $ref: '#/components/responses/404'
17162
+ '500':
17163
+ $ref: '#/components/responses/500'
17164
+ tags:
17165
+ - account
17166
+ - rdbms
17167
+ - shared
17168
+ x-codegen-request-body-name: body
17169
+ /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/access-keys/{accessKey}:
17170
+ get:
17171
+ description: get a MinIO service account access key
17172
+ summary: Get MinIO access key
17173
+ operationId: getServiceAccount
17174
+ parameters:
17175
+ - description: name of the engine
17176
+ in: path
17177
+ name: engineName
17178
+ required: true
17179
+ schema:
17180
+ type: string
17181
+ - description: name of the organization
17182
+ in: path
17183
+ name: orgName
17184
+ required: true
17185
+ schema:
17186
+ type: string
17187
+ - description: name of the cluster
17188
+ in: path
17189
+ name: clusterName
17190
+ required: true
17191
+ schema:
17192
+ type: string
17193
+ - description: MinIO access key
17194
+ in: path
17195
+ name: accessKey
17196
+ required: true
17197
+ schema:
17198
+ type: string
17199
+ responses:
17200
+ '200':
17201
+ description: get MinIO access key success
17202
+ content:
17203
+ application/json:
17204
+ schema:
17205
+ $ref: '#/components/schemas/DmsServiceAccount'
17206
+ '401':
17207
+ $ref: '#/components/responses/401'
17208
+ '403':
17209
+ $ref: '#/components/responses/403'
17210
+ '404':
17211
+ $ref: '#/components/responses/404'
17212
+ '500':
17213
+ $ref: '#/components/responses/500'
17214
+ tags:
17215
+ - account
17216
+ - rdbms
17217
+ - shared
17218
+ patch:
17219
+ description: update a MinIO service account access key
17220
+ summary: Update MinIO access key
17221
+ operationId: updateServiceAccount
17222
+ parameters:
17223
+ - description: name of the engine
17224
+ in: path
17225
+ name: engineName
17226
+ required: true
17227
+ schema:
17228
+ type: string
17229
+ - description: name of the organization
17230
+ in: path
17231
+ name: orgName
17232
+ required: true
17233
+ schema:
17234
+ type: string
17235
+ - description: name of the cluster
17236
+ in: path
17237
+ name: clusterName
17238
+ required: true
17239
+ schema:
17240
+ type: string
17241
+ - description: MinIO access key
17242
+ in: path
17243
+ name: accessKey
17244
+ required: true
17245
+ schema:
17246
+ type: string
17247
+ requestBody:
17248
+ content:
17249
+ application/json:
17250
+ schema:
17251
+ $ref: '#/components/schemas/DmsServiceAccountUpdateRequest'
17252
+ required: true
17253
+ responses:
17254
+ '200':
17255
+ description: update MinIO access key success
17256
+ content:
17257
+ application/json:
17258
+ schema:
17259
+ $ref: '#/components/schemas/DmsServiceAccount'
17260
+ '400':
17261
+ $ref: '#/components/responses/400'
17262
+ '401':
17263
+ $ref: '#/components/responses/401'
17264
+ '403':
17265
+ $ref: '#/components/responses/403'
17266
+ '404':
17267
+ $ref: '#/components/responses/404'
17268
+ '500':
17269
+ $ref: '#/components/responses/500'
17270
+ tags:
17271
+ - account
17272
+ - rdbms
17273
+ - shared
17274
+ x-codegen-request-body-name: body
17275
+ delete:
17276
+ description: delete a MinIO service account access key
17277
+ summary: Delete MinIO access key
17278
+ operationId: deleteServiceAccount
17279
+ parameters:
17280
+ - description: name of the engine
17281
+ in: path
17282
+ name: engineName
17283
+ required: true
17284
+ schema:
17285
+ type: string
17286
+ - description: name of the organization
17287
+ in: path
17288
+ name: orgName
17289
+ required: true
17290
+ schema:
17291
+ type: string
17292
+ - description: name of the cluster
17293
+ in: path
17294
+ name: clusterName
17295
+ required: true
17296
+ schema:
17297
+ type: string
17298
+ - description: MinIO access key
17299
+ in: path
17300
+ name: accessKey
17301
+ required: true
17302
+ schema:
17303
+ type: string
17304
+ responses:
17305
+ '204':
17306
+ content: {}
17307
+ description: Returned when access key is deleted successfully.
17308
+ '401':
17309
+ $ref: '#/components/responses/401'
17310
+ '403':
17311
+ $ref: '#/components/responses/403'
17312
+ '404':
17313
+ $ref: '#/components/responses/404'
17314
+ '500':
17315
+ $ref: '#/components/responses/500'
17316
+ tags:
17317
+ - account
17318
+ - rdbms
17319
+ - shared
17069
17320
  /admin/v1/data/{engineName}/organizations/{orgName}/clusters/{clusterName}/root-password:
17070
17321
  get:
17071
17322
  description: get root account password
@@ -33132,6 +33383,85 @@ components:
33132
33383
  - name
33133
33384
  - role
33134
33385
  type: object
33386
+ DmsServiceAccount:
33387
+ description: MinIO service account access-key
33388
+ type: object
33389
+ properties:
33390
+ userName:
33391
+ type: string
33392
+ description: MinIO user that owns the service account.
33393
+ accessKey:
33394
+ type: string
33395
+ description: Service account access key.
33396
+ secretKey:
33397
+ type: string
33398
+ description: Secret key returned only by create.
33399
+ status:
33400
+ type: string
33401
+ description: Service account status.
33402
+ name:
33403
+ type: string
33404
+ description: Display name of the service account.
33405
+ description:
33406
+ type: string
33407
+ description: Description of the service account.
33408
+ expiration:
33409
+ type: string
33410
+ format: date-time
33411
+ description: Service account expiration time.
33412
+ policy:
33413
+ type: string
33414
+ description: Service account policy text.
33415
+ impliedPolicy:
33416
+ type: boolean
33417
+ description: Whether the policy is implied from the parent user.
33418
+ DmsServiceAccountList:
33419
+ description: MinIO service account access-key list
33420
+ type: array
33421
+ items:
33422
+ $ref: '#/components/schemas/DmsServiceAccount'
33423
+ DmsServiceAccountCreateRequest:
33424
+ description: MinIO service account access-key create request
33425
+ type: object
33426
+ required:
33427
+ - userName
33428
+ properties:
33429
+ userName:
33430
+ type: string
33431
+ description: MinIO user that owns the service account.
33432
+ accessKey:
33433
+ type: string
33434
+ description: Optional fixed access key. If omitted, MinIO generates it.
33435
+ secretKey:
33436
+ type: string
33437
+ description: Optional fixed secret key. If omitted, MinIO generates it.
33438
+ name:
33439
+ type: string
33440
+ description: Display name of the service account.
33441
+ description:
33442
+ type: string
33443
+ description: Description of the service account.
33444
+ expiration:
33445
+ type: string
33446
+ format: date-time
33447
+ description: Optional service account expiration time.
33448
+ DmsServiceAccountStatus:
33449
+ description: MinIO service account status.
33450
+ type: string
33451
+ enum:
33452
+ - enabled
33453
+ - disabled
33454
+ DmsServiceAccountUpdateRequest:
33455
+ description: MinIO service account access-key update request
33456
+ type: object
33457
+ properties:
33458
+ status:
33459
+ $ref: '#/components/schemas/DmsServiceAccountStatus'
33460
+ description: Optional service account status.
33461
+ expiration:
33462
+ type: string
33463
+ format: date-time
33464
+ description: Optional service account expiration time. Use the Unix epoch to clear expiration.
33135
33465
  MilvusRoleGrant:
33136
33466
  type: object
33137
33467
  description: Native Milvus role privilege grant.