kb-cloud-client-typescript 2.4.0-alpha.92 → 2.4.0-alpha.94

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 (125) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +207 -0
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +198 -0
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/rdbms-api.d.ts +207 -0
  6. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/rdbms-api.js +198 -0
  8. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  9. package/dist/adminapi/apis/shared-api.d.ts +207 -0
  10. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/shared-api.js +198 -0
  12. package/dist/adminapi/apis/shared-api.js.map +1 -1
  13. package/dist/adminapi/models/component-item-create.d.ts +12 -0
  14. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  15. package/dist/adminapi/models/component-item.d.ts +19 -0
  16. package/dist/adminapi/models/component-item.d.ts.map +1 -1
  17. package/dist/adminapi/models/index.d.ts +2 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +2 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/instance-template-attribute.d.ts +0 -1
  22. package/dist/adminapi/models/instance-template-attribute.d.ts.map +1 -1
  23. package/dist/adminapi/models/instance-template-attribute.js +0 -1
  24. package/dist/adminapi/models/instance-template-attribute.js.map +1 -1
  25. package/dist/adminapi/models/instance-template-create.d.ts +9 -3
  26. package/dist/adminapi/models/instance-template-create.d.ts.map +1 -1
  27. package/dist/adminapi/models/instance.d.ts +6 -0
  28. package/dist/adminapi/models/instance.d.ts.map +1 -1
  29. package/dist/adminapi/models/mode-option.d.ts +7 -0
  30. package/dist/adminapi/models/mode-option.d.ts.map +1 -1
  31. package/dist/adminapi/models/object-privilege-reset-step.d.ts +31 -0
  32. package/dist/adminapi/models/object-privilege-reset-step.d.ts.map +1 -0
  33. package/dist/adminapi/models/object-privilege-reset-step.js +16 -0
  34. package/dist/adminapi/models/object-privilege-reset-step.js.map +1 -0
  35. package/dist/adminapi/models/placement-scope.d.ts +22 -0
  36. package/dist/adminapi/models/placement-scope.d.ts.map +1 -0
  37. package/dist/adminapi/models/placement-scope.js +26 -0
  38. package/dist/adminapi/models/placement-scope.js.map +1 -0
  39. package/dist/internalapi/models/component-item.d.ts +19 -0
  40. package/dist/internalapi/models/component-item.d.ts.map +1 -1
  41. package/dist/internalapi/models/index.d.ts +2 -0
  42. package/dist/internalapi/models/index.d.ts.map +1 -1
  43. package/dist/internalapi/models/index.js +2 -0
  44. package/dist/internalapi/models/index.js.map +1 -1
  45. package/dist/internalapi/models/instance-template-create-env-inner.d.ts +31 -0
  46. package/dist/internalapi/models/instance-template-create-env-inner.d.ts.map +1 -0
  47. package/dist/internalapi/models/instance-template-create-env-inner.js +16 -0
  48. package/dist/internalapi/models/instance-template-create-env-inner.js.map +1 -0
  49. package/dist/internalapi/models/instance-template-create.d.ts +72 -0
  50. package/dist/internalapi/models/instance-template-create.d.ts.map +1 -0
  51. package/dist/internalapi/models/instance-template-create.js +16 -0
  52. package/dist/internalapi/models/instance-template-create.js.map +1 -0
  53. package/dist/openapi/apis/account-api.d.ts +207 -0
  54. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  55. package/dist/openapi/apis/account-api.js +198 -0
  56. package/dist/openapi/apis/account-api.js.map +1 -1
  57. package/dist/openapi/apis/rdbms-api.d.ts +207 -0
  58. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  59. package/dist/openapi/apis/rdbms-api.js +198 -0
  60. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  61. package/dist/openapi/apis/shared-api.d.ts +207 -0
  62. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  63. package/dist/openapi/apis/shared-api.js +198 -0
  64. package/dist/openapi/apis/shared-api.js.map +1 -1
  65. package/dist/openapi/models/component-item-create.d.ts +12 -0
  66. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  67. package/dist/openapi/models/component-item.d.ts +19 -0
  68. package/dist/openapi/models/component-item.d.ts.map +1 -1
  69. package/dist/openapi/models/index.d.ts +2 -0
  70. package/dist/openapi/models/index.d.ts.map +1 -1
  71. package/dist/openapi/models/index.js +2 -0
  72. package/dist/openapi/models/index.js.map +1 -1
  73. package/dist/openapi/models/instance-template-attribute.d.ts +0 -1
  74. package/dist/openapi/models/instance-template-attribute.d.ts.map +1 -1
  75. package/dist/openapi/models/instance-template-attribute.js +0 -1
  76. package/dist/openapi/models/instance-template-attribute.js.map +1 -1
  77. package/dist/openapi/models/instance-template-create.d.ts +9 -3
  78. package/dist/openapi/models/instance-template-create.d.ts.map +1 -1
  79. package/dist/openapi/models/instance.d.ts +6 -0
  80. package/dist/openapi/models/instance.d.ts.map +1 -1
  81. package/dist/openapi/models/mode-option.d.ts +7 -0
  82. package/dist/openapi/models/mode-option.d.ts.map +1 -1
  83. package/dist/openapi/models/object-privilege-reset-step.d.ts +31 -0
  84. package/dist/openapi/models/object-privilege-reset-step.d.ts.map +1 -0
  85. package/dist/openapi/models/object-privilege-reset-step.js +16 -0
  86. package/dist/openapi/models/object-privilege-reset-step.js.map +1 -0
  87. package/dist/openapi/models/placement-scope.d.ts +22 -0
  88. package/dist/openapi/models/placement-scope.d.ts.map +1 -0
  89. package/dist/openapi/models/placement-scope.js +26 -0
  90. package/dist/openapi/models/placement-scope.js.map +1 -0
  91. package/package.json +1 -1
  92. package/src/adminapi/.openapi-generator/FILES +2 -0
  93. package/src/adminapi/apis/account-api.ts +352 -0
  94. package/src/adminapi/apis/rdbms-api.ts +352 -0
  95. package/src/adminapi/apis/shared-api.ts +352 -0
  96. package/src/adminapi/models/component-item-create.ts +12 -0
  97. package/src/adminapi/models/component-item.ts +21 -0
  98. package/src/adminapi/models/index.ts +2 -0
  99. package/src/adminapi/models/instance-template-attribute.ts +0 -1
  100. package/src/adminapi/models/instance-template-create.ts +9 -3
  101. package/src/adminapi/models/instance.ts +6 -0
  102. package/src/adminapi/models/mode-option.ts +9 -0
  103. package/src/adminapi/models/object-privilege-reset-step.ts +36 -0
  104. package/src/adminapi/models/placement-scope.ts +31 -0
  105. package/src/adminapi.yaml +174 -5
  106. package/src/internalapi/.openapi-generator/FILES +2 -0
  107. package/src/internalapi/models/component-item.ts +21 -0
  108. package/src/internalapi/models/index.ts +2 -0
  109. package/src/internalapi/models/instance-template-create-env-inner.ts +36 -0
  110. package/src/internalapi/models/instance-template-create.ts +75 -0
  111. package/src/internalapi.yaml +62 -0
  112. package/src/openapi/.openapi-generator/FILES +2 -0
  113. package/src/openapi/apis/account-api.ts +352 -0
  114. package/src/openapi/apis/rdbms-api.ts +352 -0
  115. package/src/openapi/apis/shared-api.ts +352 -0
  116. package/src/openapi/models/component-item-create.ts +12 -0
  117. package/src/openapi/models/component-item.ts +21 -0
  118. package/src/openapi/models/index.ts +2 -0
  119. package/src/openapi/models/instance-template-attribute.ts +0 -1
  120. package/src/openapi/models/instance-template-create.ts +9 -3
  121. package/src/openapi/models/instance.ts +6 -0
  122. package/src/openapi/models/mode-option.ts +9 -0
  123. package/src/openapi/models/object-privilege-reset-step.ts +36 -0
  124. package/src/openapi/models/placement-scope.ts +31 -0
  125. package/src/openapi.yaml +174 -5
@@ -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';
@@ -2730,6 +2731,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2730
2731
  * @throws {RequiredError}
2731
2732
  */
2732
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>;
2733
2748
  /**
2734
2749
  *
2735
2750
  * @summary Produce message to topic
@@ -3152,6 +3167,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3152
3167
  * @throws {RequiredError}
3153
3168
  */
3154
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>;
3155
3184
  /**
3156
3185
  *
3157
3186
  * @summary Reset consumer offset of topic
@@ -6249,6 +6278,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6249
6278
  * @throws {RequiredError}
6250
6279
  */
6251
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>>>;
6252
6295
  /**
6253
6296
  *
6254
6297
  * @summary Produce message to topic
@@ -6671,6 +6714,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6671
6714
  * @throws {RequiredError}
6672
6715
  */
6673
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>>;
6674
6731
  /**
6675
6732
  *
6676
6733
  * @summary Reset consumer offset of topic
@@ -9172,6 +9229,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9172
9229
  * @throws {RequiredError}
9173
9230
  */
9174
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>>;
9175
9240
  /**
9176
9241
  *
9177
9242
  * @summary Produce message to topic
@@ -9395,6 +9460,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9395
9460
  * @throws {RequiredError}
9396
9461
  */
9397
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>;
9398
9471
  /**
9399
9472
  *
9400
9473
  * @summary Reset consumer offset of topic
@@ -11986,6 +12059,15 @@ export interface SharedApiInterface {
11986
12059
  * @memberof SharedApiInterface
11987
12060
  */
11988
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>>;
11989
12071
  /**
11990
12072
  *
11991
12073
  * @summary Produce message to topic
@@ -12237,6 +12319,15 @@ export interface SharedApiInterface {
12237
12319
  * @memberof SharedApiInterface
12238
12320
  */
12239
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>;
12240
12331
  /**
12241
12332
  *
12242
12333
  * @summary Reset consumer offset of topic
@@ -19324,6 +19415,55 @@ export interface SharedApiPatchOrgParameterRequest {
19324
19415
  */
19325
19416
  readonly orgParameter: OrgParameter;
19326
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
+ }
19327
19467
  /**
19328
19468
  * Request parameters for produceKafkaTopicMessage operation in SharedApi.
19329
19469
  * @export
@@ -20859,6 +20999,55 @@ export interface SharedApiReconfigureClusterRequest {
20859
20999
  */
20860
21000
  readonly body: ReconfigureCreate;
20861
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
+ }
20862
21051
  /**
20863
21052
  * Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
20864
21053
  * @export
@@ -24610,6 +24799,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24610
24799
  * @memberof SharedApi
24611
24800
  */
24612
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, {}>>;
24613
24811
  /**
24614
24812
  *
24615
24813
  * @summary Produce message to topic
@@ -24861,6 +25059,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24861
25059
  * @memberof SharedApi
24862
25060
  */
24863
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, {}>>;
24864
25071
  /**
24865
25072
  *
24866
25073
  * @summary Reset consumer offset of topic