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

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 (175) hide show
  1. package/dist/adminapi/apis/account-api.d.ts +1129 -38
  2. package/dist/adminapi/apis/account-api.d.ts.map +1 -1
  3. package/dist/adminapi/apis/account-api.js +1283 -149
  4. package/dist/adminapi/apis/account-api.js.map +1 -1
  5. package/dist/adminapi/apis/mongodb-api.d.ts +943 -4
  6. package/dist/adminapi/apis/mongodb-api.d.ts.map +1 -1
  7. package/dist/adminapi/apis/mongodb-api.js +1005 -0
  8. package/dist/adminapi/apis/mongodb-api.js.map +1 -1
  9. package/dist/adminapi/apis/rdbms-api.d.ts +186 -34
  10. package/dist/adminapi/apis/rdbms-api.d.ts.map +1 -1
  11. package/dist/adminapi/apis/rdbms-api.js +166 -37
  12. package/dist/adminapi/apis/rdbms-api.js.map +1 -1
  13. package/dist/adminapi/apis/shared-api.d.ts +1196 -105
  14. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  15. package/dist/adminapi/apis/shared-api.js +1273 -139
  16. package/dist/adminapi/apis/shared-api.js.map +1 -1
  17. package/dist/adminapi/models/index.d.ts +11 -0
  18. package/dist/adminapi/models/index.d.ts.map +1 -1
  19. package/dist/adminapi/models/index.js +11 -0
  20. package/dist/adminapi/models/index.js.map +1 -1
  21. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts +32 -0
  22. package/dist/adminapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  23. package/dist/adminapi/models/mongo-rbacbinding-change.js +16 -0
  24. package/dist/adminapi/models/mongo-rbacbinding-change.js.map +1 -0
  25. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts +32 -0
  26. package/dist/adminapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  27. package/dist/adminapi/models/mongo-rbaccapabilities.js +16 -0
  28. package/dist/adminapi/models/mongo-rbaccapabilities.js.map +1 -0
  29. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts +25 -0
  30. package/dist/adminapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  31. package/dist/adminapi/models/mongo-rbacpassword-change.js +16 -0
  32. package/dist/adminapi/models/mongo-rbacpassword-change.js.map +1 -0
  33. package/dist/adminapi/models/mongo-rbacprivilege.d.ts +32 -0
  34. package/dist/adminapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  35. package/dist/adminapi/models/mongo-rbacprivilege.js +16 -0
  36. package/dist/adminapi/models/mongo-rbacprivilege.js.map +1 -0
  37. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts +31 -0
  38. package/dist/adminapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  39. package/dist/adminapi/models/mongo-rbacresource-capability.js +16 -0
  40. package/dist/adminapi/models/mongo-rbacresource-capability.js.map +1 -0
  41. package/dist/adminapi/models/mongo-rbacresource.d.ts +43 -0
  42. package/dist/adminapi/models/mongo-rbacresource.d.ts.map +1 -0
  43. package/dist/adminapi/models/mongo-rbacresource.js +16 -0
  44. package/dist/adminapi/models/mongo-rbacresource.js.map +1 -0
  45. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts +31 -0
  46. package/dist/adminapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  47. package/dist/adminapi/models/mongo-rbacrole-ref.js +16 -0
  48. package/dist/adminapi/models/mongo-rbacrole-ref.js.map +1 -0
  49. package/dist/adminapi/models/mongo-rbacrole-write.d.ts +51 -0
  50. package/dist/adminapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  51. package/dist/adminapi/models/mongo-rbacrole-write.js +16 -0
  52. package/dist/adminapi/models/mongo-rbacrole-write.js.map +1 -0
  53. package/dist/adminapi/models/mongo-rbacrole.d.ts +69 -0
  54. package/dist/adminapi/models/mongo-rbacrole.d.ts.map +1 -0
  55. package/dist/adminapi/models/mongo-rbacrole.js +16 -0
  56. package/dist/adminapi/models/mongo-rbacrole.js.map +1 -0
  57. package/dist/adminapi/models/mongo-rbacuser-create.d.ts +44 -0
  58. package/dist/adminapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  59. package/dist/adminapi/models/mongo-rbacuser-create.js +16 -0
  60. package/dist/adminapi/models/mongo-rbacuser-create.js.map +1 -0
  61. package/dist/adminapi/models/mongo-rbacuser.d.ts +57 -0
  62. package/dist/adminapi/models/mongo-rbacuser.d.ts.map +1 -0
  63. package/dist/adminapi/models/mongo-rbacuser.js +16 -0
  64. package/dist/adminapi/models/mongo-rbacuser.js.map +1 -0
  65. package/dist/adminapi/models/object-privilege-evidence.d.ts +6 -0
  66. package/dist/adminapi/models/object-privilege-evidence.d.ts.map +1 -1
  67. package/dist/adminapi/models/object-privilege-reset-step.d.ts +1 -1
  68. package/dist/openapi/apis/account-api.d.ts +1129 -38
  69. package/dist/openapi/apis/account-api.d.ts.map +1 -1
  70. package/dist/openapi/apis/account-api.js +1283 -149
  71. package/dist/openapi/apis/account-api.js.map +1 -1
  72. package/dist/openapi/apis/mongodb-api.d.ts +943 -4
  73. package/dist/openapi/apis/mongodb-api.d.ts.map +1 -1
  74. package/dist/openapi/apis/mongodb-api.js +1005 -0
  75. package/dist/openapi/apis/mongodb-api.js.map +1 -1
  76. package/dist/openapi/apis/rdbms-api.d.ts +186 -34
  77. package/dist/openapi/apis/rdbms-api.d.ts.map +1 -1
  78. package/dist/openapi/apis/rdbms-api.js +166 -37
  79. package/dist/openapi/apis/rdbms-api.js.map +1 -1
  80. package/dist/openapi/apis/shared-api.d.ts +1196 -105
  81. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  82. package/dist/openapi/apis/shared-api.js +1273 -139
  83. package/dist/openapi/apis/shared-api.js.map +1 -1
  84. package/dist/openapi/models/index.d.ts +11 -0
  85. package/dist/openapi/models/index.d.ts.map +1 -1
  86. package/dist/openapi/models/index.js +11 -0
  87. package/dist/openapi/models/index.js.map +1 -1
  88. package/dist/openapi/models/mongo-rbacbinding-change.d.ts +32 -0
  89. package/dist/openapi/models/mongo-rbacbinding-change.d.ts.map +1 -0
  90. package/dist/openapi/models/mongo-rbacbinding-change.js +16 -0
  91. package/dist/openapi/models/mongo-rbacbinding-change.js.map +1 -0
  92. package/dist/openapi/models/mongo-rbaccapabilities.d.ts +32 -0
  93. package/dist/openapi/models/mongo-rbaccapabilities.d.ts.map +1 -0
  94. package/dist/openapi/models/mongo-rbaccapabilities.js +16 -0
  95. package/dist/openapi/models/mongo-rbaccapabilities.js.map +1 -0
  96. package/dist/openapi/models/mongo-rbacpassword-change.d.ts +25 -0
  97. package/dist/openapi/models/mongo-rbacpassword-change.d.ts.map +1 -0
  98. package/dist/openapi/models/mongo-rbacpassword-change.js +16 -0
  99. package/dist/openapi/models/mongo-rbacpassword-change.js.map +1 -0
  100. package/dist/openapi/models/mongo-rbacprivilege.d.ts +32 -0
  101. package/dist/openapi/models/mongo-rbacprivilege.d.ts.map +1 -0
  102. package/dist/openapi/models/mongo-rbacprivilege.js +16 -0
  103. package/dist/openapi/models/mongo-rbacprivilege.js.map +1 -0
  104. package/dist/openapi/models/mongo-rbacresource-capability.d.ts +31 -0
  105. package/dist/openapi/models/mongo-rbacresource-capability.d.ts.map +1 -0
  106. package/dist/openapi/models/mongo-rbacresource-capability.js +16 -0
  107. package/dist/openapi/models/mongo-rbacresource-capability.js.map +1 -0
  108. package/dist/openapi/models/mongo-rbacresource.d.ts +43 -0
  109. package/dist/openapi/models/mongo-rbacresource.d.ts.map +1 -0
  110. package/dist/openapi/models/mongo-rbacresource.js +16 -0
  111. package/dist/openapi/models/mongo-rbacresource.js.map +1 -0
  112. package/dist/openapi/models/mongo-rbacrole-ref.d.ts +31 -0
  113. package/dist/openapi/models/mongo-rbacrole-ref.d.ts.map +1 -0
  114. package/dist/openapi/models/mongo-rbacrole-ref.js +16 -0
  115. package/dist/openapi/models/mongo-rbacrole-ref.js.map +1 -0
  116. package/dist/openapi/models/mongo-rbacrole-write.d.ts +51 -0
  117. package/dist/openapi/models/mongo-rbacrole-write.d.ts.map +1 -0
  118. package/dist/openapi/models/mongo-rbacrole-write.js +16 -0
  119. package/dist/openapi/models/mongo-rbacrole-write.js.map +1 -0
  120. package/dist/openapi/models/mongo-rbacrole.d.ts +69 -0
  121. package/dist/openapi/models/mongo-rbacrole.d.ts.map +1 -0
  122. package/dist/openapi/models/mongo-rbacrole.js +16 -0
  123. package/dist/openapi/models/mongo-rbacrole.js.map +1 -0
  124. package/dist/openapi/models/mongo-rbacuser-create.d.ts +44 -0
  125. package/dist/openapi/models/mongo-rbacuser-create.d.ts.map +1 -0
  126. package/dist/openapi/models/mongo-rbacuser-create.js +16 -0
  127. package/dist/openapi/models/mongo-rbacuser-create.js.map +1 -0
  128. package/dist/openapi/models/mongo-rbacuser.d.ts +57 -0
  129. package/dist/openapi/models/mongo-rbacuser.d.ts.map +1 -0
  130. package/dist/openapi/models/mongo-rbacuser.js +16 -0
  131. package/dist/openapi/models/mongo-rbacuser.js.map +1 -0
  132. package/dist/openapi/models/object-privilege-evidence.d.ts +6 -0
  133. package/dist/openapi/models/object-privilege-evidence.d.ts.map +1 -1
  134. package/dist/openapi/models/object-privilege-reset-step.d.ts +1 -1
  135. package/package.json +1 -1
  136. package/src/adminapi/.openapi-generator/FILES +11 -0
  137. package/src/adminapi/apis/account-api.ts +3961 -2069
  138. package/src/adminapi/apis/mongodb-api.ts +1757 -120
  139. package/src/adminapi/apis/rdbms-api.ts +298 -43
  140. package/src/adminapi/apis/shared-api.ts +2363 -471
  141. package/src/adminapi/models/index.ts +11 -0
  142. package/src/adminapi/models/mongo-rbacbinding-change.ts +39 -0
  143. package/src/adminapi/models/mongo-rbaccapabilities.ts +39 -0
  144. package/src/adminapi/models/mongo-rbacpassword-change.ts +30 -0
  145. package/src/adminapi/models/mongo-rbacprivilege.ts +39 -0
  146. package/src/adminapi/models/mongo-rbacresource-capability.ts +36 -0
  147. package/src/adminapi/models/mongo-rbacresource.ts +48 -0
  148. package/src/adminapi/models/mongo-rbacrole-ref.ts +36 -0
  149. package/src/adminapi/models/mongo-rbacrole-write.ts +60 -0
  150. package/src/adminapi/models/mongo-rbacrole.ts +78 -0
  151. package/src/adminapi/models/mongo-rbacuser-create.ts +51 -0
  152. package/src/adminapi/models/mongo-rbacuser.ts +66 -0
  153. package/src/adminapi/models/object-privilege-evidence.ts +6 -0
  154. package/src/adminapi/models/object-privilege-reset-step.ts +1 -1
  155. package/src/adminapi.yaml +958 -134
  156. package/src/openapi/.openapi-generator/FILES +11 -0
  157. package/src/openapi/apis/account-api.ts +3961 -2069
  158. package/src/openapi/apis/mongodb-api.ts +1757 -120
  159. package/src/openapi/apis/rdbms-api.ts +298 -43
  160. package/src/openapi/apis/shared-api.ts +2168 -276
  161. package/src/openapi/models/index.ts +11 -0
  162. package/src/openapi/models/mongo-rbacbinding-change.ts +39 -0
  163. package/src/openapi/models/mongo-rbaccapabilities.ts +39 -0
  164. package/src/openapi/models/mongo-rbacpassword-change.ts +30 -0
  165. package/src/openapi/models/mongo-rbacprivilege.ts +39 -0
  166. package/src/openapi/models/mongo-rbacresource-capability.ts +36 -0
  167. package/src/openapi/models/mongo-rbacresource.ts +48 -0
  168. package/src/openapi/models/mongo-rbacrole-ref.ts +36 -0
  169. package/src/openapi/models/mongo-rbacrole-write.ts +60 -0
  170. package/src/openapi/models/mongo-rbacrole.ts +78 -0
  171. package/src/openapi/models/mongo-rbacuser-create.ts +51 -0
  172. package/src/openapi/models/mongo-rbacuser.ts +66 -0
  173. package/src/openapi/models/object-privilege-evidence.ts +6 -0
  174. package/src/openapi/models/object-privilege-reset-step.ts +1 -1
  175. package/src/openapi.yaml +958 -134
@@ -613,6 +613,17 @@ export * from './mongo-find-response';
613
613
  export * from './mongo-index-info';
614
614
  export * from './mongo-index-options';
615
615
  export * from './mongo-insert-request';
616
+ export * from './mongo-rbacbinding-change';
617
+ export * from './mongo-rbaccapabilities';
618
+ export * from './mongo-rbacpassword-change';
619
+ export * from './mongo-rbacprivilege';
620
+ export * from './mongo-rbacresource';
621
+ export * from './mongo-rbacresource-capability';
622
+ export * from './mongo-rbacrole';
623
+ export * from './mongo-rbacrole-ref';
624
+ export * from './mongo-rbacrole-write';
625
+ export * from './mongo-rbacuser';
626
+ export * from './mongo-rbacuser-create';
616
627
  export * from './mongo-replace-request';
617
628
  export * from './mongo-schema-analysis';
618
629
  export * from './mongo-schema-field';
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACRoleRef } from './mongo-rbacrole-ref';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface MongoRBACBindingChange
24
+ */
25
+ export interface MongoRBACBindingChange {
26
+ /**
27
+ * grant or revoke. Incremental; all other native roles are retained.
28
+ * @type {string}
29
+ * @memberof MongoRBACBindingChange
30
+ */
31
+ 'action': string;
32
+ /**
33
+ *
34
+ * @type {Array<MongoRBACRoleRef>}
35
+ * @memberof MongoRBACBindingChange
36
+ */
37
+ 'roles': Array<MongoRBACRoleRef>;
38
+ }
39
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACResourceCapability } from './mongo-rbacresource-capability';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface MongoRBACCapabilities
24
+ */
25
+ export interface MongoRBACCapabilities {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof MongoRBACCapabilities
30
+ */
31
+ 'engineVersion'?: string;
32
+ /**
33
+ *
34
+ * @type {Array<MongoRBACResourceCapability>}
35
+ * @memberof MongoRBACCapabilities
36
+ */
37
+ 'resources'?: Array<MongoRBACResourceCapability>;
38
+ }
39
+
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface MongoRBACPasswordChange
21
+ */
22
+ export interface MongoRBACPasswordChange {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof MongoRBACPasswordChange
27
+ */
28
+ 'password': string;
29
+ }
30
+
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACResource } from './mongo-rbacresource';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface MongoRBACPrivilege
24
+ */
25
+ export interface MongoRBACPrivilege {
26
+ /**
27
+ *
28
+ * @type {MongoRBACResource}
29
+ * @memberof MongoRBACPrivilege
30
+ */
31
+ 'resource': MongoRBACResource;
32
+ /**
33
+ *
34
+ * @type {Array<string>}
35
+ * @memberof MongoRBACPrivilege
36
+ */
37
+ 'actions': Array<string>;
38
+ }
39
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface MongoRBACResourceCapability
21
+ */
22
+ export interface MongoRBACResourceCapability {
23
+ /**
24
+ * cluster, database, collection, allDatabases, collectionAcrossDatabases
25
+ * @type {string}
26
+ * @memberof MongoRBACResourceCapability
27
+ */
28
+ 'type': string;
29
+ /**
30
+ *
31
+ * @type {Array<string>}
32
+ * @memberof MongoRBACResourceCapability
33
+ */
34
+ 'actions': Array<string>;
35
+ }
36
+
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ * Native MongoDB resource. cluster:true is system operations, not all database data. Empty db/collection are explicit wildcard scopes; system collections need explicit resources.
19
+ * @export
20
+ * @interface MongoRBACResource
21
+ */
22
+ export interface MongoRBACResource {
23
+ /**
24
+ *
25
+ * @type {boolean}
26
+ * @memberof MongoRBACResource
27
+ */
28
+ 'cluster'?: boolean;
29
+ /**
30
+ * Preserve an explicit empty string for native wildcard scope; omit only for cluster resources.
31
+ * @type {string}
32
+ * @memberof MongoRBACResource
33
+ */
34
+ 'db'?: string | null;
35
+ /**
36
+ * Preserve an explicit empty string for native wildcard scope; omit only for cluster resources.
37
+ * @type {string}
38
+ * @memberof MongoRBACResource
39
+ */
40
+ 'collection'?: string | null;
41
+ /**
42
+ * Read-only native evidence; write requests reject this internal resource.
43
+ * @type {boolean}
44
+ * @memberof MongoRBACResource
45
+ */
46
+ 'anyResource'?: boolean;
47
+ }
48
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface MongoRBACRoleRef
21
+ */
22
+ export interface MongoRBACRoleRef {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof MongoRBACRoleRef
27
+ */
28
+ 'role': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof MongoRBACRoleRef
33
+ */
34
+ 'db': string;
35
+ }
36
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACPrivilege } from './mongo-rbacprivilege';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { MongoRBACRoleRef } from './mongo-rbacrole-ref';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface MongoRBACRoleWrite
27
+ */
28
+ export interface MongoRBACRoleWrite {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof MongoRBACRoleWrite
33
+ */
34
+ 'role': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof MongoRBACRoleWrite
39
+ */
40
+ 'db': string;
41
+ /**
42
+ *
43
+ * @type {Array<MongoRBACPrivilege>}
44
+ * @memberof MongoRBACRoleWrite
45
+ */
46
+ 'privileges': Array<MongoRBACPrivilege>;
47
+ /**
48
+ *
49
+ * @type {Array<MongoRBACRoleRef>}
50
+ * @memberof MongoRBACRoleWrite
51
+ */
52
+ 'roles': Array<MongoRBACRoleRef>;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof MongoRBACRoleWrite
57
+ */
58
+ 'expectedRevision'?: string;
59
+ }
60
+
@@ -0,0 +1,78 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACPrivilege } from './mongo-rbacprivilege';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { MongoRBACRoleRef } from './mongo-rbacrole-ref';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface MongoRBACRole
27
+ */
28
+ export interface MongoRBACRole {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof MongoRBACRole
33
+ */
34
+ 'role'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof MongoRBACRole
39
+ */
40
+ 'db'?: string;
41
+ /**
42
+ *
43
+ * @type {boolean}
44
+ * @memberof MongoRBACRole
45
+ */
46
+ 'isBuiltin'?: boolean;
47
+ /**
48
+ *
49
+ * @type {Array<MongoRBACPrivilege>}
50
+ * @memberof MongoRBACRole
51
+ */
52
+ 'privileges'?: Array<MongoRBACPrivilege>;
53
+ /**
54
+ *
55
+ * @type {Array<MongoRBACRoleRef>}
56
+ * @memberof MongoRBACRole
57
+ */
58
+ 'roles'?: Array<MongoRBACRoleRef>;
59
+ /**
60
+ *
61
+ * @type {Array<MongoRBACRoleRef>}
62
+ * @memberof MongoRBACRole
63
+ */
64
+ 'inheritedRoles'?: Array<MongoRBACRoleRef>;
65
+ /**
66
+ *
67
+ * @type {Array<MongoRBACPrivilege>}
68
+ * @memberof MongoRBACRole
69
+ */
70
+ 'inheritedPrivileges'?: Array<MongoRBACPrivilege>;
71
+ /**
72
+ * Stale-form fingerprint. updateRole has no native CAS; external concurrent writes are not transactional.
73
+ * @type {string}
74
+ * @memberof MongoRBACRole
75
+ */
76
+ 'revision'?: string;
77
+ }
78
+
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACRoleRef } from './mongo-rbacrole-ref';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface MongoRBACUserCreate
24
+ */
25
+ export interface MongoRBACUserCreate {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof MongoRBACUserCreate
30
+ */
31
+ 'user': string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof MongoRBACUserCreate
36
+ */
37
+ 'db': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof MongoRBACUserCreate
42
+ */
43
+ 'password': string;
44
+ /**
45
+ *
46
+ * @type {Array<MongoRBACRoleRef>}
47
+ * @memberof MongoRBACUserCreate
48
+ */
49
+ 'roles': Array<MongoRBACRoleRef>;
50
+ }
51
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * KubeBlocks Cloud API
5
+ * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources. The API is organized around REST. Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs. We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@apecloud.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { MongoRBACPrivilege } from './mongo-rbacprivilege';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { MongoRBACRoleRef } from './mongo-rbacrole-ref';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface MongoRBACUser
27
+ */
28
+ export interface MongoRBACUser {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof MongoRBACUser
33
+ */
34
+ 'db'?: string;
35
+ /**
36
+ *
37
+ * @type {Array<MongoRBACRoleRef>}
38
+ * @memberof MongoRBACUser
39
+ */
40
+ 'roles'?: Array<MongoRBACRoleRef>;
41
+ /**
42
+ *
43
+ * @type {Array<MongoRBACRoleRef>}
44
+ * @memberof MongoRBACUser
45
+ */
46
+ 'inheritedRoles'?: Array<MongoRBACRoleRef>;
47
+ /**
48
+ *
49
+ * @type {Array<MongoRBACPrivilege>}
50
+ * @memberof MongoRBACUser
51
+ */
52
+ 'inheritedPrivileges'?: Array<MongoRBACPrivilege>;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof MongoRBACUser
57
+ */
58
+ 'user'?: string;
59
+ /**
60
+ * Platform-protected account; mutations are rejected.
61
+ * @type {boolean}
62
+ * @memberof MongoRBACUser
63
+ */
64
+ 'readOnly'?: boolean;
65
+ }
66
+
@@ -20,6 +20,12 @@
20
20
  * @interface ObjectPrivilegeEvidence
21
21
  */
22
22
  export interface ObjectPrivilegeEvidence {
23
+ /**
24
+ * Connection database for native privilege evidence.
25
+ * @type {string}
26
+ * @memberof ObjectPrivilegeEvidence
27
+ */
28
+ 'databaseName'?: string;
23
29
  /**
24
30
  *
25
31
  * @type {string}
@@ -27,7 +27,7 @@ export interface ObjectPrivilegeResetStep {
27
27
  */
28
28
  'databaseName'?: string;
29
29
  /**
30
- * Engine-generated SQL for display. Callers cannot submit or modify these steps for execution; reset rebuilds the plan from current grants.
30
+ * Engine-generated statement for display (SQL, or a native MongoDB command encoded as JSON). Callers cannot submit or modify these steps for execution; reset rebuilds the plan from current grants.
31
31
  * @type {string}
32
32
  * @memberof ObjectPrivilegeResetStep
33
33
  */