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
@@ -140,6 +140,7 @@ import type { NodeResourceStatsList } from '../models';
140
140
  import type { ObjectPrivilegeCapabilities } from '../models';
141
141
  import type { ObjectPrivilegeChange } from '../models';
142
142
  import type { ObjectPrivilegeObjectList } from '../models';
143
+ import type { ObjectPrivilegeResetStep } from '../models';
143
144
  import type { ObjectPrivilegeSnapshot } from '../models';
144
145
  import type { ObjectPrivilegeSubjectType } from '../models';
145
146
  import type { OfflineInstanceList } from '../models';
@@ -2711,6 +2712,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
2711
2712
  * @throws {RequiredError}
2712
2713
  */
2713
2714
  patchOrgParameter: (orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2715
+ /**
2716
+ * 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.
2717
+ * @summary Preview clearing all MySQL account privileges
2718
+ * @param {string} engineName
2719
+ * @param {string} orgName
2720
+ * @param {string} clusterName
2721
+ * @param {string} accountName
2722
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
2723
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
2724
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
2725
+ * @param {*} [options] Override http request option.
2726
+ * @throws {RequiredError}
2727
+ */
2728
+ previewAccountPrivilegeReset: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2714
2729
  /**
2715
2730
  *
2716
2731
  * @summary Produce message to topic
@@ -3133,6 +3148,20 @@ export declare const SharedApiAxiosParamCreator: (configuration?: Configuration)
3133
3148
  * @throws {RequiredError}
3134
3149
  */
3135
3150
  reconfigureCluster: (orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3151
+ /**
3152
+ * 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.
3153
+ * @summary Clear all MySQL account privileges
3154
+ * @param {string} engineName
3155
+ * @param {string} orgName
3156
+ * @param {string} clusterName
3157
+ * @param {string} accountName
3158
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
3159
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
3160
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
3161
+ * @param {*} [options] Override http request option.
3162
+ * @throws {RequiredError}
3163
+ */
3164
+ resetAccountPrivileges: (engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3136
3165
  /**
3137
3166
  *
3138
3167
  * @summary Reset consumer offset of topic
@@ -6248,6 +6277,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6248
6277
  * @throws {RequiredError}
6249
6278
  */
6250
6279
  patchOrgParameter(orgName: string, parameterName: string, orgParameter: OrgParameter, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrgParameter>>;
6280
+ /**
6281
+ * 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.
6282
+ * @summary Preview clearing all MySQL account privileges
6283
+ * @param {string} engineName
6284
+ * @param {string} orgName
6285
+ * @param {string} clusterName
6286
+ * @param {string} accountName
6287
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6288
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6289
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
6290
+ * @param {*} [options] Override http request option.
6291
+ * @throws {RequiredError}
6292
+ */
6293
+ 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>>>;
6251
6294
  /**
6252
6295
  *
6253
6296
  * @summary Produce message to topic
@@ -6670,6 +6713,20 @@ export declare const SharedApiFp: (configuration?: Configuration) => {
6670
6713
  * @throws {RequiredError}
6671
6714
  */
6672
6715
  reconfigureCluster(orgName: string, clusterName: string, body: ReconfigureCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OpsRequestName>>;
6716
+ /**
6717
+ * 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.
6718
+ * @summary Clear all MySQL account privileges
6719
+ * @param {string} engineName
6720
+ * @param {string} orgName
6721
+ * @param {string} clusterName
6722
+ * @param {string} accountName
6723
+ * @param {ObjectPrivilegeSubjectType} [subjectType] Native subject kind; path account name identifies the subject.
6724
+ * @param {string} [host] Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
6725
+ * @param {string} [subjectQualifiers] JSON identity qualifiers; MySQL host defaults to %.
6726
+ * @param {*} [options] Override http request option.
6727
+ * @throws {RequiredError}
6728
+ */
6729
+ resetAccountPrivileges(engineName: string, orgName: string, clusterName: string, accountName: string, subjectType?: ObjectPrivilegeSubjectType, host?: string, subjectQualifiers?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
6673
6730
  /**
6674
6731
  *
6675
6732
  * @summary Reset consumer offset of topic
@@ -9162,6 +9219,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9162
9219
  * @throws {RequiredError}
9163
9220
  */
9164
9221
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
9222
+ /**
9223
+ * 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.
9224
+ * @summary Preview clearing all MySQL account privileges
9225
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
9226
+ * @param {*} [options] Override http request option.
9227
+ * @throws {RequiredError}
9228
+ */
9229
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
9165
9230
  /**
9166
9231
  *
9167
9232
  * @summary Produce message to topic
@@ -9385,6 +9450,14 @@ export declare const SharedApiFactory: (configuration?: Configuration, basePath?
9385
9450
  * @throws {RequiredError}
9386
9451
  */
9387
9452
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
9453
+ /**
9454
+ * 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.
9455
+ * @summary Clear all MySQL account privileges
9456
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
9457
+ * @param {*} [options] Override http request option.
9458
+ * @throws {RequiredError}
9459
+ */
9460
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
9388
9461
  /**
9389
9462
  *
9390
9463
  * @summary Reset consumer offset of topic
@@ -11957,6 +12030,15 @@ export interface SharedApiInterface {
11957
12030
  * @memberof SharedApiInterface
11958
12031
  */
11959
12032
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrgParameter>;
12033
+ /**
12034
+ * 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.
12035
+ * @summary Preview clearing all MySQL account privileges
12036
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
12037
+ * @param {*} [options] Override http request option.
12038
+ * @throws {RequiredError}
12039
+ * @memberof SharedApiInterface
12040
+ */
12041
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ObjectPrivilegeResetStep>>;
11960
12042
  /**
11961
12043
  *
11962
12044
  * @summary Produce message to topic
@@ -12208,6 +12290,15 @@ export interface SharedApiInterface {
12208
12290
  * @memberof SharedApiInterface
12209
12291
  */
12210
12292
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): AxiosPromise<OpsRequestName>;
12293
+ /**
12294
+ * 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.
12295
+ * @summary Clear all MySQL account privileges
12296
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
12297
+ * @param {*} [options] Override http request option.
12298
+ * @throws {RequiredError}
12299
+ * @memberof SharedApiInterface
12300
+ */
12301
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
12211
12302
  /**
12212
12303
  *
12213
12304
  * @summary Reset consumer offset of topic
@@ -19458,6 +19549,55 @@ export interface SharedApiPatchOrgParameterRequest {
19458
19549
  */
19459
19550
  readonly orgParameter: OrgParameter;
19460
19551
  }
19552
+ /**
19553
+ * Request parameters for previewAccountPrivilegeReset operation in SharedApi.
19554
+ * @export
19555
+ * @interface SharedApiPreviewAccountPrivilegeResetRequest
19556
+ */
19557
+ export interface SharedApiPreviewAccountPrivilegeResetRequest {
19558
+ /**
19559
+ *
19560
+ * @type {string}
19561
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19562
+ */
19563
+ readonly engineName: string;
19564
+ /**
19565
+ *
19566
+ * @type {string}
19567
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19568
+ */
19569
+ readonly orgName: string;
19570
+ /**
19571
+ *
19572
+ * @type {string}
19573
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19574
+ */
19575
+ readonly clusterName: string;
19576
+ /**
19577
+ *
19578
+ * @type {string}
19579
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19580
+ */
19581
+ readonly accountName: string;
19582
+ /**
19583
+ * Native subject kind; path account name identifies the subject.
19584
+ * @type {ObjectPrivilegeSubjectType}
19585
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19586
+ */
19587
+ readonly subjectType?: ObjectPrivilegeSubjectType;
19588
+ /**
19589
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
19590
+ * @type {string}
19591
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19592
+ */
19593
+ readonly host?: string;
19594
+ /**
19595
+ * JSON identity qualifiers; MySQL host defaults to %.
19596
+ * @type {string}
19597
+ * @memberof SharedApiPreviewAccountPrivilegeReset
19598
+ */
19599
+ readonly subjectQualifiers?: string;
19600
+ }
19461
19601
  /**
19462
19602
  * Request parameters for produceKafkaTopicMessage operation in SharedApi.
19463
19603
  * @export
@@ -20993,6 +21133,55 @@ export interface SharedApiReconfigureClusterRequest {
20993
21133
  */
20994
21134
  readonly body: ReconfigureCreate;
20995
21135
  }
21136
+ /**
21137
+ * Request parameters for resetAccountPrivileges operation in SharedApi.
21138
+ * @export
21139
+ * @interface SharedApiResetAccountPrivilegesRequest
21140
+ */
21141
+ export interface SharedApiResetAccountPrivilegesRequest {
21142
+ /**
21143
+ *
21144
+ * @type {string}
21145
+ * @memberof SharedApiResetAccountPrivileges
21146
+ */
21147
+ readonly engineName: string;
21148
+ /**
21149
+ *
21150
+ * @type {string}
21151
+ * @memberof SharedApiResetAccountPrivileges
21152
+ */
21153
+ readonly orgName: string;
21154
+ /**
21155
+ *
21156
+ * @type {string}
21157
+ * @memberof SharedApiResetAccountPrivileges
21158
+ */
21159
+ readonly clusterName: string;
21160
+ /**
21161
+ *
21162
+ * @type {string}
21163
+ * @memberof SharedApiResetAccountPrivileges
21164
+ */
21165
+ readonly accountName: string;
21166
+ /**
21167
+ * Native subject kind; path account name identifies the subject.
21168
+ * @type {ObjectPrivilegeSubjectType}
21169
+ * @memberof SharedApiResetAccountPrivileges
21170
+ */
21171
+ readonly subjectType?: ObjectPrivilegeSubjectType;
21172
+ /**
21173
+ * Deprecated MySQL host alias. Prefer subjectQualifiers. Do not specify host in both.
21174
+ * @type {string}
21175
+ * @memberof SharedApiResetAccountPrivileges
21176
+ */
21177
+ readonly host?: string;
21178
+ /**
21179
+ * JSON identity qualifiers; MySQL host defaults to %.
21180
+ * @type {string}
21181
+ * @memberof SharedApiResetAccountPrivileges
21182
+ */
21183
+ readonly subjectQualifiers?: string;
21184
+ }
20996
21185
  /**
20997
21186
  * Request parameters for resetKafkaTopicConsumerOffset operation in SharedApi.
20998
21187
  * @export
@@ -24770,6 +24959,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
24770
24959
  * @memberof SharedApi
24771
24960
  */
24772
24961
  patchOrgParameter(requestParameters: SharedApiPatchOrgParameterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrgParameter, any, {}>>;
24962
+ /**
24963
+ * 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.
24964
+ * @summary Preview clearing all MySQL account privileges
24965
+ * @param {SharedApiPreviewAccountPrivilegeResetRequest} requestParameters Request parameters.
24966
+ * @param {*} [options] Override http request option.
24967
+ * @throws {RequiredError}
24968
+ * @memberof SharedApi
24969
+ */
24970
+ previewAccountPrivilegeReset(requestParameters: SharedApiPreviewAccountPrivilegeResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ObjectPrivilegeResetStep[], any, {}>>;
24773
24971
  /**
24774
24972
  *
24775
24973
  * @summary Produce message to topic
@@ -25021,6 +25219,15 @@ export declare class SharedApi extends BaseAPI implements SharedApiInterface {
25021
25219
  * @memberof SharedApi
25022
25220
  */
25023
25221
  reconfigureCluster(requestParameters: SharedApiReconfigureClusterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OpsRequestName, any, {}>>;
25222
+ /**
25223
+ * 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.
25224
+ * @summary Clear all MySQL account privileges
25225
+ * @param {SharedApiResetAccountPrivilegesRequest} requestParameters Request parameters.
25226
+ * @param {*} [options] Override http request option.
25227
+ * @throws {RequiredError}
25228
+ * @memberof SharedApi
25229
+ */
25230
+ resetAccountPrivileges(requestParameters: SharedApiResetAccountPrivilegesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
25024
25231
  /**
25025
25232
  *
25026
25233
  * @summary Reset consumer offset of topic