kb-cloud-client-typescript 2.3.0-alpha.120 → 2.3.0-alpha.122

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 (50) hide show
  1. package/dist/adminapi/models/account-option.d.ts +6 -0
  2. package/dist/adminapi/models/account-option.d.ts.map +1 -1
  3. package/dist/openapi/apis/account-api.d.ts +406 -0
  4. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  5. package/dist/openapi/apis/account-api.js +427 -0
  6. package/dist/openapi/apis/account-api.js.map +1 -1
  7. package/dist/openapi/apis/rdbms-api.d.ts +406 -0
  8. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  9. package/dist/openapi/apis/rdbms-api.js +427 -0
  10. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  11. package/dist/openapi/apis/shared-api.d.ts +406 -0
  12. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  13. package/dist/openapi/apis/shared-api.js +427 -0
  14. package/dist/openapi/apis/shared-api.js.map +1 -1
  15. package/dist/openapi/models/account-option.d.ts +6 -0
  16. package/dist/openapi/models/account-option.d.ts.map +1 -1
  17. package/dist/openapi/models/dms-service-account-create-request.d.ts +55 -0
  18. package/dist/openapi/models/dms-service-account-create-request.d.ts.map +1 -0
  19. package/dist/openapi/models/dms-service-account-create-request.js +16 -0
  20. package/dist/openapi/models/dms-service-account-create-request.js.map +1 -0
  21. package/dist/openapi/models/dms-service-account-status.d.ts +22 -0
  22. package/dist/openapi/models/dms-service-account-status.d.ts.map +1 -0
  23. package/dist/openapi/models/dms-service-account-status.js +26 -0
  24. package/dist/openapi/models/dms-service-account-status.js.map +1 -0
  25. package/dist/openapi/models/dms-service-account-update-request.d.ts +32 -0
  26. package/dist/openapi/models/dms-service-account-update-request.d.ts.map +1 -0
  27. package/dist/openapi/models/dms-service-account-update-request.js +16 -0
  28. package/dist/openapi/models/dms-service-account-update-request.js.map +1 -0
  29. package/dist/openapi/models/dms-service-account.d.ts +73 -0
  30. package/dist/openapi/models/dms-service-account.d.ts.map +1 -0
  31. package/dist/openapi/models/dms-service-account.js +16 -0
  32. package/dist/openapi/models/dms-service-account.js.map +1 -0
  33. package/dist/openapi/models/index.d.ts +4 -0
  34. package/dist/openapi/models/index.d.ts.map +1 -1
  35. package/dist/openapi/models/index.js +4 -0
  36. package/dist/openapi/models/index.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/adminapi/models/account-option.ts +6 -0
  39. package/src/adminapi.yaml +3 -0
  40. package/src/openapi/.openapi-generator/FILES +4 -0
  41. package/src/openapi/apis/account-api.ts +703 -0
  42. package/src/openapi/apis/rdbms-api.ts +703 -0
  43. package/src/openapi/apis/shared-api.ts +703 -0
  44. package/src/openapi/models/account-option.ts +6 -0
  45. package/src/openapi/models/dms-service-account-create-request.ts +60 -0
  46. package/src/openapi/models/dms-service-account-status.ts +31 -0
  47. package/src/openapi/models/dms-service-account-update-request.ts +41 -0
  48. package/src/openapi/models/dms-service-account.ts +78 -0
  49. package/src/openapi/models/index.ts +4 -0
  50. package/src/openapi.yaml +333 -0
@@ -75,6 +75,12 @@ export interface AccountOption {
75
75
  * @memberof AccountOption
76
76
  */
77
77
  'supportLock'?: boolean;
78
+ /**
79
+ * Whether the engine supports service account access-key management.
80
+ * @type {boolean}
81
+ * @memberof AccountOption
82
+ */
83
+ 'supportServiceAccount'?: boolean;
78
84
  /**
79
85
  * Account names that are protected from update, delete, lock, and unlock actions.
80
86
  * @type {Array<string>}
@@ -1 +1 @@
1
- {"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"account-option.d.ts","sourceRoot":"","sources":["../../../src/adminapi/models/account-option.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzC"}
@@ -14,6 +14,9 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { type RequestArgs, BaseAPI } from '../base';
15
15
  import type { Account } from '../models';
16
16
  import type { AccountListItem } from '../models';
17
+ import type { DmsServiceAccount } from '../models';
18
+ import type { DmsServiceAccountCreateRequest } from '../models';
19
+ import type { DmsServiceAccountUpdateRequest } from '../models';
17
20
  import type { PrivilegeListItem } from '../models';
18
21
  import type { RbmqAccountRequest } from '../models';
19
22
  import type { RbmqAccountsList } from '../models';
@@ -75,6 +78,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
75
78
  * @throws {RequiredError}
76
79
  */
77
80
  createRabbitAccount: (orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
81
+ /**
82
+ * create a MinIO service account access key
83
+ * @summary Create MinIO access key
84
+ * @param {string} engineName name of the engine
85
+ * @param {string} orgName name of the organization
86
+ * @param {string} clusterName name of the cluster
87
+ * @param {DmsServiceAccountCreateRequest} body
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ createServiceAccount: (engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
78
92
  /**
79
93
  * delete an account in cluster
80
94
  * @summary Delete cluster account
@@ -136,6 +150,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
136
150
  * @throws {RequiredError}
137
151
  */
138
152
  deleteRabbitAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
153
+ /**
154
+ * delete a MinIO service account access key
155
+ * @summary Delete MinIO access key
156
+ * @param {string} engineName name of the engine
157
+ * @param {string} orgName name of the organization
158
+ * @param {string} clusterName name of the cluster
159
+ * @param {string} accessKey MinIO access key
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ deleteServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
139
164
  /**
140
165
  * Get Hive accounts
141
166
  * @summary Get Hive accounts
@@ -157,6 +182,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
157
182
  * @throws {RequiredError}
158
183
  */
159
184
  getRootAccountPassword: (engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
185
+ /**
186
+ * get a MinIO service account access key
187
+ * @summary Get MinIO access key
188
+ * @param {string} engineName name of the engine
189
+ * @param {string} orgName name of the organization
190
+ * @param {string} clusterName name of the cluster
191
+ * @param {string} accessKey MinIO access key
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ getServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
160
196
  /**
161
197
  * list accounts in cluster
162
198
  * @summary List cluster accounts
@@ -194,6 +230,17 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
194
230
  * @throws {RequiredError}
195
231
  */
196
232
  listRabbitAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
233
+ /**
234
+ * list MinIO service account access keys
235
+ * @summary List MinIO access keys
236
+ * @param {string} engineName name of the engine
237
+ * @param {string} orgName name of the organization
238
+ * @param {string} clusterName name of the cluster
239
+ * @param {string} [userName] MinIO user that owns the service accounts
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ */
243
+ listServiceAccounts: (engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
197
244
  /**
198
245
  * lock an account in cluster
199
246
  * @summary Lock cluster account
@@ -294,6 +341,18 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
294
341
  * @throws {RequiredError}
295
342
  */
296
343
  updateRabbitAccountPrivileges: (orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
344
+ /**
345
+ * update a MinIO service account access key
346
+ * @summary Update MinIO access key
347
+ * @param {string} engineName name of the engine
348
+ * @param {string} orgName name of the organization
349
+ * @param {string} clusterName name of the cluster
350
+ * @param {string} accessKey MinIO access key
351
+ * @param {DmsServiceAccountUpdateRequest} body
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ */
355
+ updateServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
297
356
  };
298
357
  /**
299
358
  * AccountApi - functional programming interface
@@ -351,6 +410,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
351
410
  * @throws {RequiredError}
352
411
  */
353
412
  createRabbitAccount(orgName: string, clusterName: string, rbmqAccountRequest: RbmqAccountRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
413
+ /**
414
+ * create a MinIO service account access key
415
+ * @summary Create MinIO access key
416
+ * @param {string} engineName name of the engine
417
+ * @param {string} orgName name of the organization
418
+ * @param {string} clusterName name of the cluster
419
+ * @param {DmsServiceAccountCreateRequest} body
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ createServiceAccount(engineName: string, orgName: string, clusterName: string, body: DmsServiceAccountCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
354
424
  /**
355
425
  * delete an account in cluster
356
426
  * @summary Delete cluster account
@@ -412,6 +482,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
412
482
  * @throws {RequiredError}
413
483
  */
414
484
  deleteRabbitAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
485
+ /**
486
+ * delete a MinIO service account access key
487
+ * @summary Delete MinIO access key
488
+ * @param {string} engineName name of the engine
489
+ * @param {string} orgName name of the organization
490
+ * @param {string} clusterName name of the cluster
491
+ * @param {string} accessKey MinIO access key
492
+ * @param {*} [options] Override http request option.
493
+ * @throws {RequiredError}
494
+ */
495
+ deleteServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
415
496
  /**
416
497
  * Get Hive accounts
417
498
  * @summary Get Hive accounts
@@ -433,6 +514,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
433
514
  * @throws {RequiredError}
434
515
  */
435
516
  getRootAccountPassword(engineName: string, orgName: string, clusterName: string, accountName: string, component?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
517
+ /**
518
+ * get a MinIO service account access key
519
+ * @summary Get MinIO access key
520
+ * @param {string} engineName name of the engine
521
+ * @param {string} orgName name of the organization
522
+ * @param {string} clusterName name of the cluster
523
+ * @param {string} accessKey MinIO access key
524
+ * @param {*} [options] Override http request option.
525
+ * @throws {RequiredError}
526
+ */
527
+ getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
436
528
  /**
437
529
  * list accounts in cluster
438
530
  * @summary List cluster accounts
@@ -470,6 +562,17 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
470
562
  * @throws {RequiredError}
471
563
  */
472
564
  listRabbitAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RbmqAccountsList>>;
565
+ /**
566
+ * list MinIO service account access keys
567
+ * @summary List MinIO access keys
568
+ * @param {string} engineName name of the engine
569
+ * @param {string} orgName name of the organization
570
+ * @param {string} clusterName name of the cluster
571
+ * @param {string} [userName] MinIO user that owns the service accounts
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ */
575
+ listServiceAccounts(engineName: string, orgName: string, clusterName: string, userName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<DmsServiceAccount>>>;
473
576
  /**
474
577
  * lock an account in cluster
475
578
  * @summary Lock cluster account
@@ -570,6 +673,18 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
570
673
  * @throws {RequiredError}
571
674
  */
572
675
  updateRabbitAccountPrivileges(orgName: string, clusterName: string, accountName: string, rbmqPermission: RbmqPermission, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
676
+ /**
677
+ * update a MinIO service account access key
678
+ * @summary Update MinIO access key
679
+ * @param {string} engineName name of the engine
680
+ * @param {string} orgName name of the organization
681
+ * @param {string} clusterName name of the cluster
682
+ * @param {string} accessKey MinIO access key
683
+ * @param {DmsServiceAccountUpdateRequest} body
684
+ * @param {*} [options] Override http request option.
685
+ * @throws {RequiredError}
686
+ */
687
+ updateServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, body: DmsServiceAccountUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
573
688
  };
574
689
  /**
575
690
  * AccountApi - factory interface
@@ -616,6 +731,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
616
731
  * @throws {RequiredError}
617
732
  */
618
733
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
734
+ /**
735
+ * create a MinIO service account access key
736
+ * @summary Create MinIO access key
737
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
619
742
  /**
620
743
  * delete an account in cluster
621
744
  * @summary Delete cluster account
@@ -664,6 +787,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
664
787
  * @throws {RequiredError}
665
788
  */
666
789
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
790
+ /**
791
+ * delete a MinIO service account access key
792
+ * @summary Delete MinIO access key
793
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
794
+ * @param {*} [options] Override http request option.
795
+ * @throws {RequiredError}
796
+ */
797
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
667
798
  /**
668
799
  * Get Hive accounts
669
800
  * @summary Get Hive accounts
@@ -680,6 +811,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
680
811
  * @throws {RequiredError}
681
812
  */
682
813
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
814
+ /**
815
+ * get a MinIO service account access key
816
+ * @summary Get MinIO access key
817
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ */
821
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
683
822
  /**
684
823
  * list accounts in cluster
685
824
  * @summary List cluster accounts
@@ -712,6 +851,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
712
851
  * @throws {RequiredError}
713
852
  */
714
853
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
854
+ /**
855
+ * list MinIO service account access keys
856
+ * @summary List MinIO access keys
857
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
858
+ * @param {*} [options] Override http request option.
859
+ * @throws {RequiredError}
860
+ */
861
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
715
862
  /**
716
863
  * lock an account in cluster
717
864
  * @summary Lock cluster account
@@ -784,6 +931,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
784
931
  * @throws {RequiredError}
785
932
  */
786
933
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
934
+ /**
935
+ * update a MinIO service account access key
936
+ * @summary Update MinIO access key
937
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
938
+ * @param {*} [options] Override http request option.
939
+ * @throws {RequiredError}
940
+ */
941
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
787
942
  };
788
943
  /**
789
944
  * AccountApi - interface
@@ -836,6 +991,15 @@ export interface AccountApiInterface {
836
991
  * @memberof AccountApiInterface
837
992
  */
838
993
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
994
+ /**
995
+ * create a MinIO service account access key
996
+ * @summary Create MinIO access key
997
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
998
+ * @param {*} [options] Override http request option.
999
+ * @throws {RequiredError}
1000
+ * @memberof AccountApiInterface
1001
+ */
1002
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
839
1003
  /**
840
1004
  * delete an account in cluster
841
1005
  * @summary Delete cluster account
@@ -890,6 +1054,15 @@ export interface AccountApiInterface {
890
1054
  * @memberof AccountApiInterface
891
1055
  */
892
1056
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1057
+ /**
1058
+ * delete a MinIO service account access key
1059
+ * @summary Delete MinIO access key
1060
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
1061
+ * @param {*} [options] Override http request option.
1062
+ * @throws {RequiredError}
1063
+ * @memberof AccountApiInterface
1064
+ */
1065
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
893
1066
  /**
894
1067
  * Get Hive accounts
895
1068
  * @summary Get Hive accounts
@@ -908,6 +1081,15 @@ export interface AccountApiInterface {
908
1081
  * @memberof AccountApiInterface
909
1082
  */
910
1083
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1084
+ /**
1085
+ * get a MinIO service account access key
1086
+ * @summary Get MinIO access key
1087
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
1088
+ * @param {*} [options] Override http request option.
1089
+ * @throws {RequiredError}
1090
+ * @memberof AccountApiInterface
1091
+ */
1092
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
911
1093
  /**
912
1094
  * list accounts in cluster
913
1095
  * @summary List cluster accounts
@@ -944,6 +1126,15 @@ export interface AccountApiInterface {
944
1126
  * @memberof AccountApiInterface
945
1127
  */
946
1128
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<RbmqAccountsList>;
1129
+ /**
1130
+ * list MinIO service account access keys
1131
+ * @summary List MinIO access keys
1132
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
1133
+ * @param {*} [options] Override http request option.
1134
+ * @throws {RequiredError}
1135
+ * @memberof AccountApiInterface
1136
+ */
1137
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<DmsServiceAccount>>;
947
1138
  /**
948
1139
  * lock an account in cluster
949
1140
  * @summary Lock cluster account
@@ -1025,6 +1216,15 @@ export interface AccountApiInterface {
1025
1216
  * @memberof AccountApiInterface
1026
1217
  */
1027
1218
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1219
+ /**
1220
+ * update a MinIO service account access key
1221
+ * @summary Update MinIO access key
1222
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
1223
+ * @param {*} [options] Override http request option.
1224
+ * @throws {RequiredError}
1225
+ * @memberof AccountApiInterface
1226
+ */
1227
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
1028
1228
  }
1029
1229
  /**
1030
1230
  * Request parameters for createAccount operation in AccountApi.
@@ -1157,6 +1357,37 @@ export interface AccountApiCreateRabbitAccountRequest {
1157
1357
  */
1158
1358
  readonly rbmqAccountRequest: RbmqAccountRequest;
1159
1359
  }
1360
+ /**
1361
+ * Request parameters for createServiceAccount operation in AccountApi.
1362
+ * @export
1363
+ * @interface AccountApiCreateServiceAccountRequest
1364
+ */
1365
+ export interface AccountApiCreateServiceAccountRequest {
1366
+ /**
1367
+ * name of the engine
1368
+ * @type {string}
1369
+ * @memberof AccountApiCreateServiceAccount
1370
+ */
1371
+ readonly engineName: string;
1372
+ /**
1373
+ * name of the organization
1374
+ * @type {string}
1375
+ * @memberof AccountApiCreateServiceAccount
1376
+ */
1377
+ readonly orgName: string;
1378
+ /**
1379
+ * name of the cluster
1380
+ * @type {string}
1381
+ * @memberof AccountApiCreateServiceAccount
1382
+ */
1383
+ readonly clusterName: string;
1384
+ /**
1385
+ *
1386
+ * @type {DmsServiceAccountCreateRequest}
1387
+ * @memberof AccountApiCreateServiceAccount
1388
+ */
1389
+ readonly body: DmsServiceAccountCreateRequest;
1390
+ }
1160
1391
  /**
1161
1392
  * Request parameters for deleteAccount operation in AccountApi.
1162
1393
  * @export
@@ -1313,6 +1544,37 @@ export interface AccountApiDeleteRabbitAccountRequest {
1313
1544
  */
1314
1545
  readonly accountName: string;
1315
1546
  }
1547
+ /**
1548
+ * Request parameters for deleteServiceAccount operation in AccountApi.
1549
+ * @export
1550
+ * @interface AccountApiDeleteServiceAccountRequest
1551
+ */
1552
+ export interface AccountApiDeleteServiceAccountRequest {
1553
+ /**
1554
+ * name of the engine
1555
+ * @type {string}
1556
+ * @memberof AccountApiDeleteServiceAccount
1557
+ */
1558
+ readonly engineName: string;
1559
+ /**
1560
+ * name of the organization
1561
+ * @type {string}
1562
+ * @memberof AccountApiDeleteServiceAccount
1563
+ */
1564
+ readonly orgName: string;
1565
+ /**
1566
+ * name of the cluster
1567
+ * @type {string}
1568
+ * @memberof AccountApiDeleteServiceAccount
1569
+ */
1570
+ readonly clusterName: string;
1571
+ /**
1572
+ * MinIO access key
1573
+ * @type {string}
1574
+ * @memberof AccountApiDeleteServiceAccount
1575
+ */
1576
+ readonly accessKey: string;
1577
+ }
1316
1578
  /**
1317
1579
  * Request parameters for getHiveAccounts operation in AccountApi.
1318
1580
  * @export
@@ -1369,6 +1631,37 @@ export interface AccountApiGetRootAccountPasswordRequest {
1369
1631
  */
1370
1632
  readonly component?: string;
1371
1633
  }
1634
+ /**
1635
+ * Request parameters for getServiceAccount operation in AccountApi.
1636
+ * @export
1637
+ * @interface AccountApiGetServiceAccountRequest
1638
+ */
1639
+ export interface AccountApiGetServiceAccountRequest {
1640
+ /**
1641
+ * name of the engine
1642
+ * @type {string}
1643
+ * @memberof AccountApiGetServiceAccount
1644
+ */
1645
+ readonly engineName: string;
1646
+ /**
1647
+ * name of the organization
1648
+ * @type {string}
1649
+ * @memberof AccountApiGetServiceAccount
1650
+ */
1651
+ readonly orgName: string;
1652
+ /**
1653
+ * name of the cluster
1654
+ * @type {string}
1655
+ * @memberof AccountApiGetServiceAccount
1656
+ */
1657
+ readonly clusterName: string;
1658
+ /**
1659
+ * MinIO access key
1660
+ * @type {string}
1661
+ * @memberof AccountApiGetServiceAccount
1662
+ */
1663
+ readonly accessKey: string;
1664
+ }
1372
1665
  /**
1373
1666
  * Request parameters for listAccounts operation in AccountApi.
1374
1667
  * @export
@@ -1451,6 +1744,37 @@ export interface AccountApiListRabbitAccountsRequest {
1451
1744
  */
1452
1745
  readonly clusterName: string;
1453
1746
  }
1747
+ /**
1748
+ * Request parameters for listServiceAccounts operation in AccountApi.
1749
+ * @export
1750
+ * @interface AccountApiListServiceAccountsRequest
1751
+ */
1752
+ export interface AccountApiListServiceAccountsRequest {
1753
+ /**
1754
+ * name of the engine
1755
+ * @type {string}
1756
+ * @memberof AccountApiListServiceAccounts
1757
+ */
1758
+ readonly engineName: string;
1759
+ /**
1760
+ * name of the organization
1761
+ * @type {string}
1762
+ * @memberof AccountApiListServiceAccounts
1763
+ */
1764
+ readonly orgName: string;
1765
+ /**
1766
+ * name of the cluster
1767
+ * @type {string}
1768
+ * @memberof AccountApiListServiceAccounts
1769
+ */
1770
+ readonly clusterName: string;
1771
+ /**
1772
+ * MinIO user that owns the service accounts
1773
+ * @type {string}
1774
+ * @memberof AccountApiListServiceAccounts
1775
+ */
1776
+ readonly userName?: string;
1777
+ }
1454
1778
  /**
1455
1779
  * Request parameters for lockAccount operation in AccountApi.
1456
1780
  * @export
@@ -1736,6 +2060,43 @@ export interface AccountApiUpdateRabbitAccountPrivilegesRequest {
1736
2060
  */
1737
2061
  readonly rbmqPermission: RbmqPermission;
1738
2062
  }
2063
+ /**
2064
+ * Request parameters for updateServiceAccount operation in AccountApi.
2065
+ * @export
2066
+ * @interface AccountApiUpdateServiceAccountRequest
2067
+ */
2068
+ export interface AccountApiUpdateServiceAccountRequest {
2069
+ /**
2070
+ * name of the engine
2071
+ * @type {string}
2072
+ * @memberof AccountApiUpdateServiceAccount
2073
+ */
2074
+ readonly engineName: string;
2075
+ /**
2076
+ * name of the organization
2077
+ * @type {string}
2078
+ * @memberof AccountApiUpdateServiceAccount
2079
+ */
2080
+ readonly orgName: string;
2081
+ /**
2082
+ * name of the cluster
2083
+ * @type {string}
2084
+ * @memberof AccountApiUpdateServiceAccount
2085
+ */
2086
+ readonly clusterName: string;
2087
+ /**
2088
+ * MinIO access key
2089
+ * @type {string}
2090
+ * @memberof AccountApiUpdateServiceAccount
2091
+ */
2092
+ readonly accessKey: string;
2093
+ /**
2094
+ *
2095
+ * @type {DmsServiceAccountUpdateRequest}
2096
+ * @memberof AccountApiUpdateServiceAccount
2097
+ */
2098
+ readonly body: DmsServiceAccountUpdateRequest;
2099
+ }
1739
2100
  /**
1740
2101
  * AccountApi - object-oriented interface
1741
2102
  * @export
@@ -1788,6 +2149,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1788
2149
  * @memberof AccountApi
1789
2150
  */
1790
2151
  createRabbitAccount(requestParameters: AccountApiCreateRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2152
+ /**
2153
+ * create a MinIO service account access key
2154
+ * @summary Create MinIO access key
2155
+ * @param {AccountApiCreateServiceAccountRequest} requestParameters Request parameters.
2156
+ * @param {*} [options] Override http request option.
2157
+ * @throws {RequiredError}
2158
+ * @memberof AccountApi
2159
+ */
2160
+ createServiceAccount(requestParameters: AccountApiCreateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1791
2161
  /**
1792
2162
  * delete an account in cluster
1793
2163
  * @summary Delete cluster account
@@ -1842,6 +2212,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1842
2212
  * @memberof AccountApi
1843
2213
  */
1844
2214
  deleteRabbitAccount(requestParameters: AccountApiDeleteRabbitAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2215
+ /**
2216
+ * delete a MinIO service account access key
2217
+ * @summary Delete MinIO access key
2218
+ * @param {AccountApiDeleteServiceAccountRequest} requestParameters Request parameters.
2219
+ * @param {*} [options] Override http request option.
2220
+ * @throws {RequiredError}
2221
+ * @memberof AccountApi
2222
+ */
2223
+ deleteServiceAccount(requestParameters: AccountApiDeleteServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
1845
2224
  /**
1846
2225
  * Get Hive accounts
1847
2226
  * @summary Get Hive accounts
@@ -1860,6 +2239,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1860
2239
  * @memberof AccountApi
1861
2240
  */
1862
2241
  getRootAccountPassword(requestParameters: AccountApiGetRootAccountPasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
2242
+ /**
2243
+ * get a MinIO service account access key
2244
+ * @summary Get MinIO access key
2245
+ * @param {AccountApiGetServiceAccountRequest} requestParameters Request parameters.
2246
+ * @param {*} [options] Override http request option.
2247
+ * @throws {RequiredError}
2248
+ * @memberof AccountApi
2249
+ */
2250
+ getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1863
2251
  /**
1864
2252
  * list accounts in cluster
1865
2253
  * @summary List cluster accounts
@@ -1896,6 +2284,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1896
2284
  * @memberof AccountApi
1897
2285
  */
1898
2286
  listRabbitAccounts(requestParameters: AccountApiListRabbitAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RbmqAccountsList, any, {}>>;
2287
+ /**
2288
+ * list MinIO service account access keys
2289
+ * @summary List MinIO access keys
2290
+ * @param {AccountApiListServiceAccountsRequest} requestParameters Request parameters.
2291
+ * @param {*} [options] Override http request option.
2292
+ * @throws {RequiredError}
2293
+ * @memberof AccountApi
2294
+ */
2295
+ listServiceAccounts(requestParameters: AccountApiListServiceAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount[], any, {}>>;
1899
2296
  /**
1900
2297
  * lock an account in cluster
1901
2298
  * @summary Lock cluster account
@@ -1977,5 +2374,14 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
1977
2374
  * @memberof AccountApi
1978
2375
  */
1979
2376
  updateRabbitAccountPrivileges(requestParameters: AccountApiUpdateRabbitAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
2377
+ /**
2378
+ * update a MinIO service account access key
2379
+ * @summary Update MinIO access key
2380
+ * @param {AccountApiUpdateServiceAccountRequest} requestParameters Request parameters.
2381
+ * @param {*} [options] Override http request option.
2382
+ * @throws {RequiredError}
2383
+ * @memberof AccountApi
2384
+ */
2385
+ updateServiceAccount(requestParameters: AccountApiUpdateServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
1980
2386
  }
1981
2387
  //# sourceMappingURL=account-api.d.ts.map