kb-cloud-client-typescript 2.4.0-alpha.91 → 2.4.0-alpha.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +310 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +303 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +310 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +303 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +310 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +303 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/index.d.ts +1 -0
  14. package/dist/adminapi/models/index.d.ts.map +1 -1
  15. package/dist/adminapi/models/index.js +1 -0
  16. package/dist/adminapi/models/index.js.map +1 -1
  17. package/dist/adminapi/models/object-privilege-reset-step.d.ts +31 -0
  18. package/dist/adminapi/models/object-privilege-reset-step.d.ts.map +1 -0
  19. package/dist/adminapi/models/object-privilege-reset-step.js +16 -0
  20. package/dist/adminapi/models/object-privilege-reset-step.js.map +1 -0
  21. package/dist/openapi/apis/account-api.d.ts +310 -0
  22. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  23. package/dist/openapi/apis/account-api.js +303 -0
  24. package/dist/openapi/apis/account-api.js.map +1 -1
  25. package/dist/openapi/apis/rdbms-api.d.ts +310 -0
  26. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  27. package/dist/openapi/apis/rdbms-api.js +303 -0
  28. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  29. package/dist/openapi/apis/shared-api.d.ts +310 -0
  30. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  31. package/dist/openapi/apis/shared-api.js +303 -0
  32. package/dist/openapi/apis/shared-api.js.map +1 -1
  33. package/dist/openapi/models/index.d.ts +1 -0
  34. package/dist/openapi/models/index.d.ts.map +1 -1
  35. package/dist/openapi/models/index.js +1 -0
  36. package/dist/openapi/models/index.js.map +1 -1
  37. package/dist/openapi/models/object-privilege-reset-step.d.ts +31 -0
  38. package/dist/openapi/models/object-privilege-reset-step.d.ts.map +1 -0
  39. package/dist/openapi/models/object-privilege-reset-step.js +16 -0
  40. package/dist/openapi/models/object-privilege-reset-step.js.map +1 -0
  41. package/package.json +1 -1
  42. package/src/adminapi/.openapi-generator/FILES +1 -0
  43. package/src/adminapi/apis/account-api.ts +533 -0
  44. package/src/adminapi/apis/rdbms-api.ts +533 -0
  45. package/src/adminapi/apis/shared-api.ts +533 -0
  46. package/src/adminapi/models/index.ts +1 -0
  47. package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
  48. package/src/adminapi.yaml +204 -0
  49. package/src/openapi/.openapi-generator/FILES +1 -0
  50. package/src/openapi/apis/account-api.ts +533 -0
  51. package/src/openapi/apis/rdbms-api.ts +533 -0
  52. package/src/openapi/apis/shared-api.ts +533 -0
  53. package/src/openapi/models/index.ts +1 -0
  54. package/src/openapi/models/object-privilege-reset-step.ts +36 -0
  55. package/src/openapi.yaml +204 -0
@@ -28,6 +28,7 @@ import type { MilvusRoleRequest } from '../models';
28
28
  import type { ObjectPrivilegeCapabilities } from '../models';
29
29
  import type { ObjectPrivilegeChange } from '../models';
30
30
  import type { ObjectPrivilegeObjectList } from '../models';
31
+ import type { ObjectPrivilegeResetStep } from '../models';
31
32
  import type { ObjectPrivilegeSnapshot } from '../models';
32
33
  import type { ObjectPrivilegeSubjectType } from '../models';
33
34
  import type { PrivilegeListItem } from '../models';
@@ -356,6 +357,20 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
356
357
  * @throws {RequiredError}
357
358
  */
358
359
  getServiceAccount: (engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
360
+ /**
361
+ * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
362
+ * @summary List exact column names for account object privileges
363
+ * @param {string} engineName
364
+ * @param {string} orgName
365
+ * @param {string} clusterName
366
+ * @param {string} accountName
367
+ * @param {string} objectType Object type, either table or view
368
+ * @param {string} databaseName
369
+ * @param {string} objectName
370
+ * @param {*} [options] Override http request option.
371
+ * @throws {RequiredError}
372
+ */
373
+ listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
359
374
  /**
360
375
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
361
376
  * @summary Discover existing native privilege objects with stable routine identities
@@ -459,6 +474,20 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
459
474
  * @throws {RequiredError}
460
475
  */
461
476
  lockAccount: (engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
477
+ /**
478
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
479
+ * @summary Preview clearing all MySQL account privileges
480
+ * @param {string} engineName
481
+ * @param {string} orgName
482
+ * @param {string} clusterName
483
+ * @param {string} accountName
484
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
485
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
486
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
487
+ * @param {*} [options] Override http request option.
488
+ * @throws {RequiredError}
489
+ */
490
+ previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
462
491
  /**
463
492
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
464
493
  * @summary putSeaweedFSPolicy
@@ -472,6 +501,20 @@ export declare const AccountApiAxiosParamCreator: (configuration?: Configuration
472
501
  putSeaweedFSPolicy: (orgName: string, clusterName: string, policyName: string, requestBody: {
473
502
  [key: string]: any;
474
503
  }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
504
+ /**
505
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
506
+ * @summary Clear all MySQL account privileges
507
+ * @param {string} engineName
508
+ * @param {string} orgName
509
+ * @param {string} clusterName
510
+ * @param {string} accountName
511
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
512
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
513
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
514
+ * @param {*} [options] Override http request option.
515
+ * @throws {RequiredError}
516
+ */
517
+ resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
475
518
  /**
476
519
  * unlock an account in cluster
477
520
  * @summary Unlock cluster account
@@ -950,6 +993,20 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
950
993
  * @throws {RequiredError}
951
994
  */
952
995
  getServiceAccount(engineName: string, orgName: string, clusterName: string, accessKey: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DmsServiceAccount>>;
996
+ /**
997
+ * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
998
+ * @summary List exact column names for account object privileges
999
+ * @param {string} engineName
1000
+ * @param {string} orgName
1001
+ * @param {string} clusterName
1002
+ * @param {string} accountName
1003
+ * @param {string} objectType Object type, either table or view
1004
+ * @param {string} databaseName
1005
+ * @param {string} objectName
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ listAccountObjectPrivilegeColumns(engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<string>>>;
953
1010
  /**
954
1011
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
955
1012
  * @summary Discover existing native privilege objects with stable routine identities
@@ -1053,6 +1110,20 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1053
1110
  * @throws {RequiredError}
1054
1111
  */
1055
1112
  lockAccount(engineName: string, orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1113
+ /**
1114
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1115
+ * @summary Preview clearing all MySQL account privileges
1116
+ * @param {string} engineName
1117
+ * @param {string} orgName
1118
+ * @param {string} clusterName
1119
+ * @param {string} accountName
1120
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1121
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1122
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
1123
+ * @param {*} [options] Override http request option.
1124
+ * @throws {RequiredError}
1125
+ */
1126
+ previewAccountPrivilegeReset(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ObjectPrivilegeResetStep>>>;
1056
1127
  /**
1057
1128
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
1058
1129
  * @summary putSeaweedFSPolicy
@@ -1066,6 +1137,20 @@ export declare const AccountApiFp: (configuration?: Configuration) => {
1066
1137
  putSeaweedFSPolicy(orgName: string, clusterName: string, policyName: string, requestBody: {
1067
1138
  [key: string]: any;
1068
1139
  }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1140
+ /**
1141
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1142
+ * @summary Clear all MySQL account privileges
1143
+ * @param {string} engineName
1144
+ * @param {string} orgName
1145
+ * @param {string} clusterName
1146
+ * @param {string} accountName
1147
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
1148
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
1149
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
1150
+ * @param {*} [options] Override http request option.
1151
+ * @throws {RequiredError}
1152
+ */
1153
+ resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1069
1154
  /**
1070
1155
  * unlock an account in cluster
1071
1156
  * @summary Unlock cluster account
@@ -1460,6 +1545,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1460
1545
  * @throws {RequiredError}
1461
1546
  */
1462
1547
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
1548
+ /**
1549
+ * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
1550
+ * @summary List exact column names for account object privileges
1551
+ * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
1552
+ * @param {*} [options] Override http request option.
1553
+ * @throws {RequiredError}
1554
+ */
1555
+ listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
1463
1556
  /**
1464
1557
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
1465
1558
  * @summary Discover existing native privilege objects with stable routine identities
@@ -1540,6 +1633,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1540
1633
  * @throws {RequiredError}
1541
1634
  */
1542
1635
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1636
+ /**
1637
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1638
+ * @summary Preview clearing all MySQL account privileges
1639
+ * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
1640
+ * @param {*} [options] Override http request option.
1641
+ * @throws {RequiredError}
1642
+ */
1643
+ previewAccountPrivilegeReset(requestParameters: AccountApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
1543
1644
  /**
1544
1645
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
1545
1646
  * @summary putSeaweedFSPolicy
@@ -1548,6 +1649,14 @@ export declare const AccountApiFactory: (configuration?: Configuration, basePath
1548
1649
  * @throws {RequiredError}
1549
1650
  */
1550
1651
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1652
+ /**
1653
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
1654
+ * @summary Clear all MySQL account privileges
1655
+ * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
1656
+ * @param {*} [options] Override http request option.
1657
+ * @throws {RequiredError}
1658
+ */
1659
+ resetAccountPrivileges(requestParameters: AccountApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1551
1660
  /**
1552
1661
  * unlock an account in cluster
1553
1662
  * @summary Unlock cluster account
@@ -1928,6 +2037,15 @@ export interface AccountApiInterface {
1928
2037
  * @memberof AccountApiInterface
1929
2038
  */
1930
2039
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<DmsServiceAccount>;
2040
+ /**
2041
+ * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
2042
+ * @summary List exact column names for account object privileges
2043
+ * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
2044
+ * @param {*} [options] Override http request option.
2045
+ * @throws {RequiredError}
2046
+ * @memberof AccountApiInterface
2047
+ */
2048
+ listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
1931
2049
  /**
1932
2050
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
1933
2051
  * @summary Discover existing native privilege objects with stable routine identities
@@ -2018,6 +2136,15 @@ export interface AccountApiInterface {
2018
2136
  * @memberof AccountApiInterface
2019
2137
  */
2020
2138
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2139
+ /**
2140
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
2141
+ * @summary Preview clearing all MySQL account privileges
2142
+ * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ * @memberof AccountApiInterface
2146
+ */
2147
+ previewAccountPrivilegeReset(requestParameters: AccountApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
2021
2148
  /**
2022
2149
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
2023
2150
  * @summary putSeaweedFSPolicy
@@ -2027,6 +2154,15 @@ export interface AccountApiInterface {
2027
2154
  * @memberof AccountApiInterface
2028
2155
  */
2029
2156
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2157
+ /**
2158
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
2159
+ * @summary Clear all MySQL account privileges
2160
+ * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
2161
+ * @param {*} [options] Override http request option.
2162
+ * @throws {RequiredError}
2163
+ * @memberof AccountApiInterface
2164
+ */
2165
+ resetAccountPrivileges(requestParameters: AccountApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
2030
2166
  /**
2031
2167
  * unlock an account in cluster
2032
2168
  * @summary Unlock cluster account
@@ -3035,6 +3171,55 @@ export interface AccountApiGetServiceAccountRequest {
3035
3171
  */
3036
3172
  readonly accessKey: string;
3037
3173
  }
3174
+ /**
3175
+ * Request parameters for listAccountObjectPrivilegeColumns operation in AccountApi.
3176
+ * @export
3177
+ * @interface AccountApiListAccountObjectPrivilegeColumnsRequest
3178
+ */
3179
+ export interface AccountApiListAccountObjectPrivilegeColumnsRequest {
3180
+ /**
3181
+ *
3182
+ * @type {string}
3183
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3184
+ */
3185
+ readonly engineName: string;
3186
+ /**
3187
+ *
3188
+ * @type {string}
3189
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3190
+ */
3191
+ readonly orgName: string;
3192
+ /**
3193
+ *
3194
+ * @type {string}
3195
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3196
+ */
3197
+ readonly clusterName: string;
3198
+ /**
3199
+ *
3200
+ * @type {string}
3201
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3202
+ */
3203
+ readonly accountName: string;
3204
+ /**
3205
+ * Object type, either table or view
3206
+ * @type {string}
3207
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3208
+ */
3209
+ readonly objectType: string;
3210
+ /**
3211
+ *
3212
+ * @type {string}
3213
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3214
+ */
3215
+ readonly databaseName: string;
3216
+ /**
3217
+ *
3218
+ * @type {string}
3219
+ * @memberof AccountApiListAccountObjectPrivilegeColumns
3220
+ */
3221
+ readonly objectName: string;
3222
+ }
3038
3223
  /**
3039
3224
  * Request parameters for listAccountObjectPrivilegeObjects operation in AccountApi.
3040
3225
  * @export
@@ -3303,6 +3488,55 @@ export interface AccountApiLockAccountRequest {
3303
3488
  */
3304
3489
  readonly accountName: string;
3305
3490
  }
3491
+ /**
3492
+ * Request parameters for previewAccountPrivilegeReset operation in AccountApi.
3493
+ * @export
3494
+ * @interface AccountApiPreviewAccountPrivilegeResetRequest
3495
+ */
3496
+ export interface AccountApiPreviewAccountPrivilegeResetRequest {
3497
+ /**
3498
+ *
3499
+ * @type {string}
3500
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3501
+ */
3502
+ readonly engineName: string;
3503
+ /**
3504
+ *
3505
+ * @type {string}
3506
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3507
+ */
3508
+ readonly orgName: string;
3509
+ /**
3510
+ *
3511
+ * @type {string}
3512
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3513
+ */
3514
+ readonly clusterName: string;
3515
+ /**
3516
+ *
3517
+ * @type {string}
3518
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3519
+ */
3520
+ readonly accountName: string;
3521
+ /**
3522
+ * Native subject kind; path account name identifies the subject.
3523
+ * @type {ObjectPrivilegeSubjectType}
3524
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3525
+ */
3526
+ readonly subjectType?: ObjectPrivilegeSubjectType;
3527
+ /**
3528
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3529
+ * @type {string}
3530
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3531
+ */
3532
+ readonly host?: string;
3533
+ /**
3534
+ * JSON identity qualifiers; MySQL host defaults to %.
3535
+ * @type {string}
3536
+ * @memberof AccountApiPreviewAccountPrivilegeReset
3537
+ */
3538
+ readonly subjectQualifiers?: string;
3539
+ }
3306
3540
  /**
3307
3541
  * Request parameters for putSeaweedFSPolicy operation in AccountApi.
3308
3542
  * @export
@@ -3336,6 +3570,55 @@ export interface AccountApiPutSeaweedFSPolicyRequest {
3336
3570
  [key: string]: any;
3337
3571
  };
3338
3572
  }
3573
+ /**
3574
+ * Request parameters for resetAccountPrivileges operation in AccountApi.
3575
+ * @export
3576
+ * @interface AccountApiResetAccountPrivilegesRequest
3577
+ */
3578
+ export interface AccountApiResetAccountPrivilegesRequest {
3579
+ /**
3580
+ *
3581
+ * @type {string}
3582
+ * @memberof AccountApiResetAccountPrivileges
3583
+ */
3584
+ readonly engineName: string;
3585
+ /**
3586
+ *
3587
+ * @type {string}
3588
+ * @memberof AccountApiResetAccountPrivileges
3589
+ */
3590
+ readonly orgName: string;
3591
+ /**
3592
+ *
3593
+ * @type {string}
3594
+ * @memberof AccountApiResetAccountPrivileges
3595
+ */
3596
+ readonly clusterName: string;
3597
+ /**
3598
+ *
3599
+ * @type {string}
3600
+ * @memberof AccountApiResetAccountPrivileges
3601
+ */
3602
+ readonly accountName: string;
3603
+ /**
3604
+ * Native subject kind; path account name identifies the subject.
3605
+ * @type {ObjectPrivilegeSubjectType}
3606
+ * @memberof AccountApiResetAccountPrivileges
3607
+ */
3608
+ readonly subjectType?: ObjectPrivilegeSubjectType;
3609
+ /**
3610
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3611
+ * @type {string}
3612
+ * @memberof AccountApiResetAccountPrivileges
3613
+ */
3614
+ readonly host?: string;
3615
+ /**
3616
+ * JSON identity qualifiers; MySQL host defaults to %.
3617
+ * @type {string}
3618
+ * @memberof AccountApiResetAccountPrivileges
3619
+ */
3620
+ readonly subjectQualifiers?: string;
3621
+ }
3339
3622
  /**
3340
3623
  * Request parameters for unlockAccount operation in AccountApi.
3341
3624
  * @export
@@ -4050,6 +4333,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4050
4333
  * @memberof AccountApi
4051
4334
  */
4052
4335
  getServiceAccount(requestParameters: AccountApiGetServiceAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DmsServiceAccount, any, {}>>;
4336
+ /**
4337
+ * Read MySQL table or view column names using the account management connection. No workbench datasource is required. Names are returned verbatim for column-level grants.
4338
+ * @summary List exact column names for account object privileges
4339
+ * @param {AccountApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
4340
+ * @param {*} [options] Override http request option.
4341
+ * @throws {RequiredError}
4342
+ * @memberof AccountApi
4343
+ */
4344
+ listAccountObjectPrivilegeColumns(requestParameters: AccountApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
4053
4345
  /**
4054
4346
  * Lists existing objects of one supported kind. Pagination is not a fixed snapshot. PostgreSQL requires a connection database; schema-contained kinds require schemaName. MySQL global/database listing omits databaseName; other kinds require it.
4055
4347
  * @summary Discover existing native privilege objects with stable routine identities
@@ -4140,6 +4432,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4140
4432
  * @memberof AccountApi
4141
4433
  */
4142
4434
  lockAccount(requestParameters: AccountApiLockAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4435
+ /**
4436
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
4437
+ * @summary Preview clearing all MySQL account privileges
4438
+ * @param {AccountApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
4439
+ * @param {*} [options] Override http request option.
4440
+ * @throws {RequiredError}
4441
+ * @memberof AccountApi
4442
+ */
4443
+ previewAccountPrivilegeReset(requestParameters: AccountApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeResetStep[], any, {}>>;
4143
4444
  /**
4144
4445
  * Creates or replaces a named AWS IAM JSON policy document. Updates affect every identity and group that uses this policy.
4145
4446
  * @summary putSeaweedFSPolicy
@@ -4149,6 +4450,15 @@ export declare class AccountApi extends BaseAPI implements AccountApiInterface {
4149
4450
  * @memberof AccountApi
4150
4451
  */
4151
4452
  putSeaweedFSPolicy(requestParameters: AccountApiPutSeaweedFSPolicyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4453
+ /**
4454
+ * MySQL only. Clears direct privileges at every scope (including columns, routines, dynamic privileges and grant options), explicit role memberships and PROXY grants for one exact user/host. Rejects protected accounts and servers with mandatory roles before writing. Preview does not mutate. Execution re-reads current grants; concurrent new grants can be included. Statements are not atomic; on failure refresh and preview before retrying. Existing sessions follow MySQL privilege-cache semantics; this does not lock the account or terminate connections.
4455
+ * @summary Clear all MySQL account privileges
4456
+ * @param {AccountApiResetAccountPrivilegesRequest} requestParameters Request parameters.
4457
+ * @param {*} [options] Override http request option.
4458
+ * @throws {RequiredError}
4459
+ * @memberof AccountApi
4460
+ */
4461
+ resetAccountPrivileges(requestParameters: AccountApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
4152
4462
  /**
4153
4463
  * unlock an account in cluster
4154
4464
  * @summary Unlock cluster account