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
@@ -146,6 +146,7 @@ import type { NodeResourceStatsList } from '../models';
146
146
  import type { ObjectPrivilegeCapabilities } from '../models';
147
147
  import type { ObjectPrivilegeChange } from '../models';
148
148
  import type { ObjectPrivilegeObjectList } from '../models';
149
+ import type { ObjectPrivilegeResetStep } from '../models';
149
150
  import type { ObjectPrivilegeSnapshot } from '../models';
150
151
  import type { ObjectPrivilegeSubjectType } from '../models';
151
152
  import type { OfflineInstanceList } from '../models';
@@ -1915,6 +1916,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
1915
1916
  * @throws {RequiredError}
1916
1917
  */
1917
1918
  killSession: (engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1919
+ /**
1920
+ * 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.
1921
+ * @summary List exact column names for account object privileges
1922
+ * @param {string} engineName
1923
+ * @param {string} orgName
1924
+ * @param {string} clusterName
1925
+ * @param {string} accountName
1926
+ * @param {string} objectType Object type, either table or view
1927
+ * @param {string} databaseName
1928
+ * @param {string} objectName
1929
+ * @param {*} [options] Override http request option.
1930
+ * @throws {RequiredError}
1931
+ */
1932
+ listAccountObjectPrivilegeColumns: (engineName: string, orgName: string, clusterName: string, accountName: string, objectType: string, databaseName: string, objectName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1918
1933
  /**
1919
1934
  * 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.
1920
1935
  * @summary Discover existing native privilege objects with stable routine identities
@@ -2716,6 +2731,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2716
2731
  * @throws {RequiredError}
2717
2732
  */
2718
2733
  patchOrgParameter: (orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2734
+ /**
2735
+ * 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.
2736
+ * @summary Preview clearing all MySQL account privileges
2737
+ * @param {string} engineName
2738
+ * @param {string} orgName
2739
+ * @param {string} clusterName
2740
+ * @param {string} accountName
2741
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
2742
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
2743
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ */
2747
+ previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2719
2748
  /**
2720
2749
  *
2721
2750
  * @summary Produce message to topic
@@ -3138,6 +3167,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3138
3167
  * @throws {RequiredError}
3139
3168
  */
3140
3169
  reconfigureCluster: (orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3170
+ /**
3171
+ * 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.
3172
+ * @summary Clear all MySQL account privileges
3173
+ * @param {string} engineName
3174
+ * @param {string} orgName
3175
+ * @param {string} clusterName
3176
+ * @param {string} accountName
3177
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
3178
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3179
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
3180
+ * @param {*} [options] Override http request option.
3181
+ * @throws {RequiredError}
3182
+ */
3183
+ resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3141
3184
  /**
3142
3185
  *
3143
3186
  * @summary Reset consumer offset of topic
@@ -5414,6 +5457,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
5414
5457
  * @throws {RequiredError}
5415
5458
  */
5416
5459
  killSession(engineName: string, orgName: string, clusterName: string, session: string, keep?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5460
+ /**
5461
+ * 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.
5462
+ * @summary List exact column names for account object privileges
5463
+ * @param {string} engineName
5464
+ * @param {string} orgName
5465
+ * @param {string} clusterName
5466
+ * @param {string} accountName
5467
+ * @param {string} objectType Object type, either table or view
5468
+ * @param {string} databaseName
5469
+ * @param {string} objectName
5470
+ * @param {*} [options] Override http request option.
5471
+ * @throws {RequiredError}
5472
+ */
5473
+ 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>>>;
5417
5474
  /**
5418
5475
  * 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.
5419
5476
  * @summary Discover existing native privilege objects with stable routine identities
@@ -6221,6 +6278,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6221
6278
  * @throws {RequiredError}
6222
6279
  */
6223
6280
  patchOrgParameter(orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgParameter>>;
6281
+ /**
6282
+ * 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.
6283
+ * @summary Preview clearing all MySQL account privileges
6284
+ * @param {string} engineName
6285
+ * @param {string} orgName
6286
+ * @param {string} clusterName
6287
+ * @param {string} accountName
6288
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6289
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6290
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
6291
+ * @param {*} [options] Override http request option.
6292
+ * @throws {RequiredError}
6293
+ */
6294
+ 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>>>;
6224
6295
  /**
6225
6296
  *
6226
6297
  * @summary Produce message to topic
@@ -6643,6 +6714,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6643
6714
  * @throws {RequiredError}
6644
6715
  */
6645
6716
  reconfigureCluster(orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpsRequestName>>;
6717
+ /**
6718
+ * 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.
6719
+ * @summary Clear all MySQL account privileges
6720
+ * @param {string} engineName
6721
+ * @param {string} orgName
6722
+ * @param {string} clusterName
6723
+ * @param {string} accountName
6724
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6725
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6726
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
6727
+ * @param {*} [options] Override http request option.
6728
+ * @throws {RequiredError}
6729
+ */
6730
+ resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6646
6731
  /**
6647
6732
  *
6648
6733
  * @summary Reset consumer offset of topic
@@ -8486,6 +8571,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
8486
8571
  * @throws {RequiredError}
8487
8572
  */
8488
8573
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
8574
+ /**
8575
+ * 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.
8576
+ * @summary List exact column names for account object privileges
8577
+ * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
8578
+ * @param {*} [options] Override http request option.
8579
+ * @throws {RequiredError}
8580
+ */
8581
+ listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
8489
8582
  /**
8490
8583
  * 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.
8491
8584
  * @summary Discover existing native privilege objects with stable routine identities
@@ -9136,6 +9229,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9136
9229
  * @throws {RequiredError}
9137
9230
  */
9138
9231
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
9232
+ /**
9233
+ * 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.
9234
+ * @summary Preview clearing all MySQL account privileges
9235
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
9236
+ * @param {*} [options] Override http request option.
9237
+ * @throws {RequiredError}
9238
+ */
9239
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
9139
9240
  /**
9140
9241
  *
9141
9242
  * @summary Produce message to topic
@@ -9359,6 +9460,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9359
9460
  * @throws {RequiredError}
9360
9461
  */
9361
9462
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
9463
+ /**
9464
+ * 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.
9465
+ * @summary Clear all MySQL account privileges
9466
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
9467
+ * @param {*} [options] Override http request option.
9468
+ * @throws {RequiredError}
9469
+ */
9470
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9362
9471
  /**
9363
9472
  *
9364
9473
  * @summary Reset consumer offset of topic
@@ -11210,6 +11319,15 @@ export interface SharedApiInterface {
11210
11319
  * @memberof SharedApiInterface
11211
11320
  */
11212
11321
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
11322
+ /**
11323
+ * 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.
11324
+ * @summary List exact column names for account object privileges
11325
+ * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
11326
+ * @param {*} [options] Override http request option.
11327
+ * @throws {RequiredError}
11328
+ * @memberof SharedApiInterface
11329
+ */
11330
+ listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<string>>;
11213
11331
  /**
11214
11332
  * 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.
11215
11333
  * @summary Discover existing native privilege objects with stable routine identities
@@ -11941,6 +12059,15 @@ export interface SharedApiInterface {
11941
12059
  * @memberof SharedApiInterface
11942
12060
  */
11943
12061
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
12062
+ /**
12063
+ * 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.
12064
+ * @summary Preview clearing all MySQL account privileges
12065
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
12066
+ * @param {*} [options] Override http request option.
12067
+ * @throws {RequiredError}
12068
+ * @memberof SharedApiInterface
12069
+ */
12070
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
11944
12071
  /**
11945
12072
  *
11946
12073
  * @summary Produce message to topic
@@ -12192,6 +12319,15 @@ export interface SharedApiInterface {
12192
12319
  * @memberof SharedApiInterface
12193
12320
  */
12194
12321
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
12322
+ /**
12323
+ * 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.
12324
+ * @summary Clear all MySQL account privileges
12325
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
12326
+ * @param {*} [options] Override http request option.
12327
+ * @throws {RequiredError}
12328
+ * @memberof SharedApiInterface
12329
+ */
12330
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12195
12331
  /**
12196
12332
  *
12197
12333
  * @summary Reset consumer offset of topic
@@ -17300,6 +17436,55 @@ export interface SharedApiKillSessionRequest {
17300
17436
  */
17301
17437
  readonly keep?: boolean;
17302
17438
  }
17439
+ /**
17440
+ * Request parameters for listAccountObjectPrivilegeColumns operation in SharedApi.
17441
+ * @export
17442
+ * @interface SharedApiListAccountObjectPrivilegeColumnsRequest
17443
+ */
17444
+ export interface SharedApiListAccountObjectPrivilegeColumnsRequest {
17445
+ /**
17446
+ *
17447
+ * @type {string}
17448
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17449
+ */
17450
+ readonly engineName: string;
17451
+ /**
17452
+ *
17453
+ * @type {string}
17454
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17455
+ */
17456
+ readonly orgName: string;
17457
+ /**
17458
+ *
17459
+ * @type {string}
17460
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17461
+ */
17462
+ readonly clusterName: string;
17463
+ /**
17464
+ *
17465
+ * @type {string}
17466
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17467
+ */
17468
+ readonly accountName: string;
17469
+ /**
17470
+ * Object type, either table or view
17471
+ * @type {string}
17472
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17473
+ */
17474
+ readonly objectType: string;
17475
+ /**
17476
+ *
17477
+ * @type {string}
17478
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17479
+ */
17480
+ readonly databaseName: string;
17481
+ /**
17482
+ *
17483
+ * @type {string}
17484
+ * @memberof SharedApiListAccountObjectPrivilegeColumns
17485
+ */
17486
+ readonly objectName: string;
17487
+ }
17303
17488
  /**
17304
17489
  * Request parameters for listAccountObjectPrivilegeObjects operation in SharedApi.
17305
17490
  * @export
@@ -19230,6 +19415,55 @@ export interface SharedApiPatchOrgParameterRequest {
19230
19415
  */
19231
19416
  readonly orgParameter: OrgParameter;
19232
19417
  }
19418
+ /**
19419
+ * Request parameters for previewAccountPrivilegeReset operation in SharedApi.
19420
+ * @export
19421
+ * @interface SharedApiPreviewAccountPrivilegeResetRequest
19422
+ */
19423
+ export interface SharedApiPreviewAccountPrivilegeResetRequest {
19424
+ /**
19425
+ *
19426
+ * @type {string}
19427
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19428
+ */
19429
+ readonly engineName: string;
19430
+ /**
19431
+ *
19432
+ * @type {string}
19433
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19434
+ */
19435
+ readonly orgName: string;
19436
+ /**
19437
+ *
19438
+ * @type {string}
19439
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19440
+ */
19441
+ readonly clusterName: string;
19442
+ /**
19443
+ *
19444
+ * @type {string}
19445
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19446
+ */
19447
+ readonly accountName: string;
19448
+ /**
19449
+ * Native subject kind; path account name identifies the subject.
19450
+ * @type {ObjectPrivilegeSubjectType}
19451
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19452
+ */
19453
+ readonly subjectType?: ObjectPrivilegeSubjectType;
19454
+ /**
19455
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
19456
+ * @type {string}
19457
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19458
+ */
19459
+ readonly host?: string;
19460
+ /**
19461
+ * JSON identity qualifiers; MySQL host defaults to %.
19462
+ * @type {string}
19463
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19464
+ */
19465
+ readonly subjectQualifiers?: string;
19466
+ }
19233
19467
  /**
19234
19468
  * Request parameters for produceKafkaTopicMessage operation in SharedApi.
19235
19469
  * @export
@@ -20765,6 +20999,55 @@ export interface SharedApiReconfigureClusterRequest {
20765
20999
  */
20766
21000
  readonly body: ReconfigureCreate;
20767
21001
  }
21002
+ /**
21003
+ * Request parameters for resetAccountPrivileges operation in SharedApi.
21004
+ * @export
21005
+ * @interface SharedApiResetAccountPrivilegesRequest
21006
+ */
21007
+ export interface SharedApiResetAccountPrivilegesRequest {
21008
+ /**
21009
+ *
21010
+ * @type {string}
21011
+ * @memberof SharedApiResetAccountPrivileges
21012
+ */
21013
+ readonly engineName: string;
21014
+ /**
21015
+ *
21016
+ * @type {string}
21017
+ * @memberof SharedApiResetAccountPrivileges
21018
+ */
21019
+ readonly orgName: string;
21020
+ /**
21021
+ *
21022
+ * @type {string}
21023
+ * @memberof SharedApiResetAccountPrivileges
21024
+ */
21025
+ readonly clusterName: string;
21026
+ /**
21027
+ *
21028
+ * @type {string}
21029
+ * @memberof SharedApiResetAccountPrivileges
21030
+ */
21031
+ readonly accountName: string;
21032
+ /**
21033
+ * Native subject kind; path account name identifies the subject.
21034
+ * @type {ObjectPrivilegeSubjectType}
21035
+ * @memberof SharedApiResetAccountPrivileges
21036
+ */
21037
+ readonly subjectType?: ObjectPrivilegeSubjectType;
21038
+ /**
21039
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
21040
+ * @type {string}
21041
+ * @memberof SharedApiResetAccountPrivileges
21042
+ */
21043
+ readonly host?: string;
21044
+ /**
21045
+ * JSON identity qualifiers; MySQL host defaults to %.
21046
+ * @type {string}
21047
+ * @memberof SharedApiResetAccountPrivileges
21048
+ */
21049
+ readonly subjectQualifiers?: string;
21050
+ }
20768
21051
  /**
20769
21052
  * Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
20770
21053
  * @export
@@ -23776,6 +24059,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
23776
24059
  * @memberof SharedApi
23777
24060
  */
23778
24061
  killSession(requestParameters: SharedApiKillSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24062
+ /**
24063
+ * 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.
24064
+ * @summary List exact column names for account object privileges
24065
+ * @param {SharedApiListAccountObjectPrivilegeColumnsRequest} requestParameters Request parameters.
24066
+ * @param {*} [options] Override http request option.
24067
+ * @throws {RequiredError}
24068
+ * @memberof SharedApi
24069
+ */
24070
+ listAccountObjectPrivilegeColumns(requestParameters: SharedApiListAccountObjectPrivilegeColumnsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any, {}>>;
23779
24071
  /**
23780
24072
  * 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.
23781
24073
  * @summary Discover existing native privilege objects with stable routine identities
@@ -24507,6 +24799,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24507
24799
  * @memberof SharedApi
24508
24800
  */
24509
24801
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgParameter, any, {}>>;
24802
+ /**
24803
+ * 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.
24804
+ * @summary Preview clearing all MySQL account privileges
24805
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
24806
+ * @param {*} [options] Override http request option.
24807
+ * @throws {RequiredError}
24808
+ * @memberof SharedApi
24809
+ */
24810
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeResetStep[], any, {}>>;
24510
24811
  /**
24511
24812
  *
24512
24813
  * @summary Produce message to topic
@@ -24758,6 +25059,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24758
25059
  * @memberof SharedApi
24759
25060
  */
24760
25061
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpsRequestName, any, {}>>;
25062
+ /**
25063
+ * 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.
25064
+ * @summary Clear all MySQL account privileges
25065
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
25066
+ * @param {*} [options] Override http request option.
25067
+ * @throws {RequiredError}
25068
+ * @memberof SharedApi
25069
+ */
25070
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
24761
25071
  /**
24762
25072
  *
24763
25073
  * @summary Reset consumer offset of topic