kb-cloud-client-typescript 2.4.0-alpha.101 → 2.4.0-alpha.104

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 (237) hide show
  1. package/dist/adminapi/api.d.ts +1 -0
  2. package/dist/adminapi/api.d.ts.map +1 -1
  3. package/dist/adminapi/api.js +1 -0
  4. package/dist/adminapi/api.js.map +1 -1
  5. package/dist/adminapi/apis/node-alert-api.d.ts +247 -0
  6. package/dist/adminapi/apis/node-alert-api.d.ts.map +1 -0
  7. package/dist/adminapi/apis/node-alert-api.js +292 -0
  8. package/dist/adminapi/apis/node-alert-api.js.map +1 -0
  9. package/dist/adminapi/apis/opsrequest-api.d.ts +5 -5
  10. package/dist/adminapi/apis/opsrequest-api.js +4 -4
  11. package/dist/adminapi/apis/organization-api.d.ts +211 -2
  12. package/dist/adminapi/apis/organization-api.d.ts.map +1 -1
  13. package/dist/adminapi/apis/organization-api.js +245 -5
  14. package/dist/adminapi/apis/organization-api.js.map +1 -1
  15. package/dist/adminapi/apis/shared-api.d.ts +216 -7
  16. package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
  17. package/dist/adminapi/apis/shared-api.js +249 -9
  18. package/dist/adminapi/apis/shared-api.js.map +1 -1
  19. package/dist/adminapi/apis/task-api.d.ts +55 -0
  20. package/dist/adminapi/apis/task-api.d.ts.map +1 -1
  21. package/dist/adminapi/apis/task-api.js +69 -0
  22. package/dist/adminapi/apis/task-api.js.map +1 -1
  23. package/dist/adminapi/models/alert-cluster-silence.d.ts +1 -1
  24. package/dist/adminapi/models/alert-cluster.d.ts +3 -3
  25. package/dist/adminapi/models/component-item-create.d.ts +8 -0
  26. package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
  27. package/dist/adminapi/models/component-item.d.ts +8 -0
  28. package/dist/adminapi/models/component-item.d.ts.map +1 -1
  29. package/dist/adminapi/models/component-option.d.ts +6 -0
  30. package/dist/adminapi/models/component-option.d.ts.map +1 -1
  31. package/dist/adminapi/models/engine-option-license.d.ts +13 -0
  32. package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
  33. package/dist/adminapi/models/index.d.ts +9 -0
  34. package/dist/adminapi/models/index.d.ts.map +1 -1
  35. package/dist/adminapi/models/index.js +9 -0
  36. package/dist/adminapi/models/index.js.map +1 -1
  37. package/dist/adminapi/models/ops-expose-type.d.ts +2 -1
  38. package/dist/adminapi/models/ops-expose-type.d.ts.map +1 -1
  39. package/dist/adminapi/models/ops-expose-type.js +3 -2
  40. package/dist/adminapi/models/ops-expose-type.js.map +1 -1
  41. package/dist/adminapi/models/ops-expose.d.ts +1 -1
  42. package/dist/adminapi/models/org-configuration-item.d.ts +31 -0
  43. package/dist/adminapi/models/org-configuration-item.d.ts.map +1 -0
  44. package/dist/adminapi/models/org-configuration-item.js +16 -0
  45. package/dist/adminapi/models/org-configuration-item.js.map +1 -0
  46. package/dist/adminapi/models/org-configuration-summary.d.ts +56 -0
  47. package/dist/adminapi/models/org-configuration-summary.d.ts.map +1 -0
  48. package/dist/adminapi/models/org-configuration-summary.js +16 -0
  49. package/dist/adminapi/models/org-configuration-summary.js.map +1 -0
  50. package/dist/adminapi/models/org-deletion-action.d.ts +22 -0
  51. package/dist/adminapi/models/org-deletion-action.d.ts.map +1 -0
  52. package/dist/adminapi/models/org-deletion-action.js +26 -0
  53. package/dist/adminapi/models/org-deletion-action.js.map +1 -0
  54. package/dist/adminapi/models/org-deletion-blocker.d.ts +37 -0
  55. package/dist/adminapi/models/org-deletion-blocker.d.ts.map +1 -0
  56. package/dist/adminapi/models/org-deletion-blocker.js +16 -0
  57. package/dist/adminapi/models/org-deletion-blocker.js.map +1 -0
  58. package/dist/adminapi/models/org-deletion-preview.d.ts +82 -0
  59. package/dist/adminapi/models/org-deletion-preview.d.ts.map +1 -0
  60. package/dist/adminapi/models/org-deletion-preview.js +16 -0
  61. package/dist/adminapi/models/org-deletion-preview.js.map +1 -0
  62. package/dist/adminapi/models/org-lifecycle-request.d.ts +31 -0
  63. package/dist/adminapi/models/org-lifecycle-request.d.ts.map +1 -0
  64. package/dist/adminapi/models/org-lifecycle-request.js +16 -0
  65. package/dist/adminapi/models/org-lifecycle-request.js.map +1 -0
  66. package/dist/adminapi/models/org-purge-result.d.ts +37 -0
  67. package/dist/adminapi/models/org-purge-result.d.ts.map +1 -0
  68. package/dist/adminapi/models/org-purge-result.js +16 -0
  69. package/dist/adminapi/models/org-purge-result.js.map +1 -0
  70. package/dist/adminapi/models/org-retained-resource.d.ts +37 -0
  71. package/dist/adminapi/models/org-retained-resource.d.ts.map +1 -0
  72. package/dist/adminapi/models/org-retained-resource.js +16 -0
  73. package/dist/adminapi/models/org-retained-resource.js.map +1 -0
  74. package/dist/adminapi/models/org-status.d.ts +25 -0
  75. package/dist/adminapi/models/org-status.d.ts.map +1 -0
  76. package/dist/adminapi/models/org-status.js +29 -0
  77. package/dist/adminapi/models/org-status.js.map +1 -0
  78. package/dist/adminapi/models/org.d.ts +25 -0
  79. package/dist/adminapi/models/org.d.ts.map +1 -1
  80. package/dist/adminapi/models/organization-item.d.ts +31 -0
  81. package/dist/adminapi/models/organization-item.d.ts.map +1 -1
  82. package/dist/adminapi/models/restore-create.d.ts +1 -1
  83. package/dist/adminapi/models/task-status.d.ts +1 -0
  84. package/dist/adminapi/models/task-status.d.ts.map +1 -1
  85. package/dist/adminapi/models/task-status.js +2 -1
  86. package/dist/adminapi/models/task-status.js.map +1 -1
  87. package/dist/internalapi/apis/environment-api.d.ts +63 -0
  88. package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
  89. package/dist/internalapi/apis/environment-api.js +72 -0
  90. package/dist/internalapi/apis/environment-api.js.map +1 -1
  91. package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts +15 -7
  92. package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts.map +1 -1
  93. package/dist/internalapi/apis/recycle-bin-cluster-api.js +18 -11
  94. package/dist/internalapi/apis/recycle-bin-cluster-api.js.map +1 -1
  95. package/dist/internalapi/models/component-item.d.ts +8 -0
  96. package/dist/internalapi/models/component-item.d.ts.map +1 -1
  97. package/dist/openapi/apis/opsrequest-api.d.ts +5 -5
  98. package/dist/openapi/apis/opsrequest-api.js +4 -4
  99. package/dist/openapi/apis/organization-api.d.ts +211 -2
  100. package/dist/openapi/apis/organization-api.d.ts.map +1 -1
  101. package/dist/openapi/apis/organization-api.js +245 -5
  102. package/dist/openapi/apis/organization-api.js.map +1 -1
  103. package/dist/openapi/apis/shared-api.d.ts +216 -7
  104. package/dist/openapi/apis/shared-api.d.ts.map +1 -1
  105. package/dist/openapi/apis/shared-api.js +249 -9
  106. package/dist/openapi/apis/shared-api.js.map +1 -1
  107. package/dist/openapi/apis/task-api.d.ts +63 -0
  108. package/dist/openapi/apis/task-api.d.ts.map +1 -1
  109. package/dist/openapi/apis/task-api.js +74 -0
  110. package/dist/openapi/apis/task-api.js.map +1 -1
  111. package/dist/openapi/models/alert-cluster-silence.d.ts +1 -1
  112. package/dist/openapi/models/alert-cluster.d.ts +3 -3
  113. package/dist/openapi/models/component-item-create.d.ts +8 -0
  114. package/dist/openapi/models/component-item-create.d.ts.map +1 -1
  115. package/dist/openapi/models/component-item.d.ts +8 -0
  116. package/dist/openapi/models/component-item.d.ts.map +1 -1
  117. package/dist/openapi/models/component-option.d.ts +6 -0
  118. package/dist/openapi/models/component-option.d.ts.map +1 -1
  119. package/dist/openapi/models/engine-option-license.d.ts +13 -0
  120. package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
  121. package/dist/openapi/models/index.d.ts +9 -0
  122. package/dist/openapi/models/index.d.ts.map +1 -1
  123. package/dist/openapi/models/index.js +9 -0
  124. package/dist/openapi/models/index.js.map +1 -1
  125. package/dist/openapi/models/ops-expose-type.d.ts +2 -1
  126. package/dist/openapi/models/ops-expose-type.d.ts.map +1 -1
  127. package/dist/openapi/models/ops-expose-type.js +3 -2
  128. package/dist/openapi/models/ops-expose-type.js.map +1 -1
  129. package/dist/openapi/models/ops-expose.d.ts +1 -1
  130. package/dist/openapi/models/org-configuration-item.d.ts +31 -0
  131. package/dist/openapi/models/org-configuration-item.d.ts.map +1 -0
  132. package/dist/openapi/models/org-configuration-item.js +16 -0
  133. package/dist/openapi/models/org-configuration-item.js.map +1 -0
  134. package/dist/openapi/models/org-configuration-summary.d.ts +56 -0
  135. package/dist/openapi/models/org-configuration-summary.d.ts.map +1 -0
  136. package/dist/openapi/models/org-configuration-summary.js +16 -0
  137. package/dist/openapi/models/org-configuration-summary.js.map +1 -0
  138. package/dist/openapi/models/org-deletion-action.d.ts +22 -0
  139. package/dist/openapi/models/org-deletion-action.d.ts.map +1 -0
  140. package/dist/openapi/models/org-deletion-action.js +26 -0
  141. package/dist/openapi/models/org-deletion-action.js.map +1 -0
  142. package/dist/openapi/models/org-deletion-blocker.d.ts +37 -0
  143. package/dist/openapi/models/org-deletion-blocker.d.ts.map +1 -0
  144. package/dist/openapi/models/org-deletion-blocker.js +16 -0
  145. package/dist/openapi/models/org-deletion-blocker.js.map +1 -0
  146. package/dist/openapi/models/org-deletion-preview.d.ts +82 -0
  147. package/dist/openapi/models/org-deletion-preview.d.ts.map +1 -0
  148. package/dist/openapi/models/org-deletion-preview.js +16 -0
  149. package/dist/openapi/models/org-deletion-preview.js.map +1 -0
  150. package/dist/openapi/models/org-lifecycle-request.d.ts +31 -0
  151. package/dist/openapi/models/org-lifecycle-request.d.ts.map +1 -0
  152. package/dist/openapi/models/org-lifecycle-request.js +16 -0
  153. package/dist/openapi/models/org-lifecycle-request.js.map +1 -0
  154. package/dist/openapi/models/org-purge-result.d.ts +37 -0
  155. package/dist/openapi/models/org-purge-result.d.ts.map +1 -0
  156. package/dist/openapi/models/org-purge-result.js +16 -0
  157. package/dist/openapi/models/org-purge-result.js.map +1 -0
  158. package/dist/openapi/models/org-retained-resource.d.ts +37 -0
  159. package/dist/openapi/models/org-retained-resource.d.ts.map +1 -0
  160. package/dist/openapi/models/org-retained-resource.js +16 -0
  161. package/dist/openapi/models/org-retained-resource.js.map +1 -0
  162. package/dist/openapi/models/org-status.d.ts +25 -0
  163. package/dist/openapi/models/org-status.d.ts.map +1 -0
  164. package/dist/openapi/models/org-status.js +29 -0
  165. package/dist/openapi/models/org-status.js.map +1 -0
  166. package/dist/openapi/models/org.d.ts +25 -0
  167. package/dist/openapi/models/org.d.ts.map +1 -1
  168. package/dist/openapi/models/restore-create.d.ts +1 -1
  169. package/dist/openapi/models/task-status.d.ts +1 -0
  170. package/dist/openapi/models/task-status.d.ts.map +1 -1
  171. package/dist/openapi/models/task-status.js +2 -1
  172. package/dist/openapi/models/task-status.js.map +1 -1
  173. package/dist/openapi/models/user-org.d.ts +25 -0
  174. package/dist/openapi/models/user-org.d.ts.map +1 -1
  175. package/package.json +1 -1
  176. package/src/adminapi/.openapi-generator/FILES +10 -0
  177. package/src/adminapi/api.ts +1 -0
  178. package/src/adminapi/apis/node-alert-api.ts +424 -0
  179. package/src/adminapi/apis/opsrequest-api.ts +5 -5
  180. package/src/adminapi/apis/organization-api.ts +386 -5
  181. package/src/adminapi/apis/shared-api.ts +391 -10
  182. package/src/adminapi/apis/task-api.ts +100 -0
  183. package/src/adminapi/models/alert-cluster-silence.ts +1 -1
  184. package/src/adminapi/models/alert-cluster.ts +3 -3
  185. package/src/adminapi/models/component-item-create.ts +6 -0
  186. package/src/adminapi/models/component-item.ts +6 -0
  187. package/src/adminapi/models/component-option.ts +6 -0
  188. package/src/adminapi/models/engine-option-license.ts +15 -0
  189. package/src/adminapi/models/index.ts +9 -0
  190. package/src/adminapi/models/ops-expose-type.ts +3 -2
  191. package/src/adminapi/models/ops-expose.ts +1 -1
  192. package/src/adminapi/models/org-configuration-item.ts +36 -0
  193. package/src/adminapi/models/org-configuration-summary.ts +63 -0
  194. package/src/adminapi/models/org-deletion-action.ts +31 -0
  195. package/src/adminapi/models/org-deletion-blocker.ts +42 -0
  196. package/src/adminapi/models/org-deletion-preview.ts +93 -0
  197. package/src/adminapi/models/org-lifecycle-request.ts +36 -0
  198. package/src/adminapi/models/org-purge-result.ts +42 -0
  199. package/src/adminapi/models/org-retained-resource.ts +42 -0
  200. package/src/adminapi/models/org-status.ts +34 -0
  201. package/src/adminapi/models/org.ts +29 -0
  202. package/src/adminapi/models/organization-item.ts +35 -0
  203. package/src/adminapi/models/restore-create.ts +1 -1
  204. package/src/adminapi/models/task-status.ts +2 -1
  205. package/src/adminapi.yaml +601 -139
  206. package/src/internalapi/apis/environment-api.ts +110 -0
  207. package/src/internalapi/apis/recycle-bin-cluster-api.ts +29 -14
  208. package/src/internalapi/models/component-item.ts +6 -0
  209. package/src/internalapi.yaml +38 -3
  210. package/src/openapi/.openapi-generator/FILES +9 -0
  211. package/src/openapi/apis/opsrequest-api.ts +5 -5
  212. package/src/openapi/apis/organization-api.ts +386 -5
  213. package/src/openapi/apis/shared-api.ts +391 -10
  214. package/src/openapi/apis/task-api.ts +112 -0
  215. package/src/openapi/models/alert-cluster-silence.ts +1 -1
  216. package/src/openapi/models/alert-cluster.ts +3 -3
  217. package/src/openapi/models/component-item-create.ts +6 -0
  218. package/src/openapi/models/component-item.ts +6 -0
  219. package/src/openapi/models/component-option.ts +6 -0
  220. package/src/openapi/models/engine-option-license.ts +15 -0
  221. package/src/openapi/models/index.ts +9 -0
  222. package/src/openapi/models/ops-expose-type.ts +3 -2
  223. package/src/openapi/models/ops-expose.ts +1 -1
  224. package/src/openapi/models/org-configuration-item.ts +36 -0
  225. package/src/openapi/models/org-configuration-summary.ts +63 -0
  226. package/src/openapi/models/org-deletion-action.ts +31 -0
  227. package/src/openapi/models/org-deletion-blocker.ts +42 -0
  228. package/src/openapi/models/org-deletion-preview.ts +93 -0
  229. package/src/openapi/models/org-lifecycle-request.ts +36 -0
  230. package/src/openapi/models/org-purge-result.ts +42 -0
  231. package/src/openapi/models/org-retained-resource.ts +42 -0
  232. package/src/openapi/models/org-status.ts +34 -0
  233. package/src/openapi/models/org.ts +29 -0
  234. package/src/openapi/models/restore-create.ts +1 -1
  235. package/src/openapi/models/task-status.ts +2 -1
  236. package/src/openapi/models/user-org.ts +29 -0
  237. package/src/openapi.yaml +370 -7
@@ -37,6 +37,51 @@ import type { TaskTypeList } from '../models';
37
37
  */
38
38
  export const TaskApiAxiosParamCreator = function (configuration?: Configuration) {
39
39
  return {
40
+ /**
41
+ * Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
42
+ * @summary Force abort a task
43
+ * @param {string} orgName name of the Org
44
+ * @param {string} taskId ID of the task
45
+ * @param {*} [options] Override http request option.
46
+ * @throws {RequiredError}
47
+ */
48
+ abortTask: async (orgName: string, taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
49
+ // verify required parameter 'orgName' is not null or undefined
50
+ assertParamExists('abortTask', 'orgName', orgName)
51
+ // verify required parameter 'taskId' is not null or undefined
52
+ assertParamExists('abortTask', 'taskId', taskId)
53
+ const localVarPath = `/api/v1/organizations/{orgName}/tasks/{taskId}/abort`
54
+ .replace(`{${"orgName"}}`, encodeURIComponent(String(orgName)))
55
+ .replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
56
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
58
+ let baseOptions;
59
+ if (configuration) {
60
+ baseOptions = configuration.baseOptions;
61
+ }
62
+
63
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
64
+ const localVarHeaderParameter = {} as any;
65
+ const localVarQueryParameter = {} as any;
66
+
67
+ // authentication BearerToken required
68
+ // http bearer authentication required
69
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
70
+
71
+ // authentication DigestAuth required
72
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
73
+
74
+
75
+
76
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
77
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
78
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
79
+
80
+ return {
81
+ url: toPathString(localVarUrlObj),
82
+ options: localVarRequestOptions,
83
+ };
84
+ },
40
85
  /**
41
86
  * Cancel a task by taskID within the organization.
42
87
  * @summary Cancel a task
@@ -304,6 +349,20 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
304
349
  export const TaskApiFp = function(configuration?: Configuration) {
305
350
  const localVarAxiosParamCreator = TaskApiAxiosParamCreator(configuration)
306
351
  return {
352
+ /**
353
+ * Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
354
+ * @summary Force abort a task
355
+ * @param {string} orgName name of the Org
356
+ * @param {string} taskId ID of the task
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ async abortTask(orgName: string, taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
361
+ const localVarAxiosArgs = await localVarAxiosParamCreator.abortTask(orgName, taskId, options);
362
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
363
+ const localVarOperationServerBasePath = operationServerMap['TaskApi.abortTask']?.[localVarOperationServerIndex]?.url;
364
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
365
+ },
307
366
  /**
308
367
  * Cancel a task by taskID within the organization.
309
368
  * @summary Cancel a task
@@ -389,6 +448,16 @@ export const TaskApiFp = function(configuration?: Configuration) {
389
448
  export const TaskApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
390
449
  const localVarFp = TaskApiFp(configuration)
391
450
  return {
451
+ /**
452
+ * Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
453
+ * @summary Force abort a task
454
+ * @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
455
+ * @param {*} [options] Override http request option.
456
+ * @throws {RequiredError}
457
+ */
458
+ abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
459
+ return localVarFp.abortTask(requestParameters.orgName, requestParameters.taskId, options).then((request) => request(axios, basePath));
460
+ },
392
461
  /**
393
462
  * Cancel a task by taskID within the organization.
394
463
  * @summary Cancel a task
@@ -447,6 +516,16 @@ export const TaskApiFactory = function (configuration?: Configuration, basePath?
447
516
  * @interface TaskApi
448
517
  */
449
518
  export interface TaskApiInterface {
519
+ /**
520
+ * Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
521
+ * @summary Force abort a task
522
+ * @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ * @memberof TaskApiInterface
526
+ */
527
+ abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
528
+
450
529
  /**
451
530
  * Cancel a task by taskID within the organization.
452
531
  * @summary Cancel a task
@@ -498,6 +577,27 @@ export interface TaskApiInterface {
498
577
 
499
578
  }
500
579
 
580
+ /**
581
+ * Request parameters for abortTask operation in TaskApi.
582
+ * @export
583
+ * @interface TaskApiAbortTaskRequest
584
+ */
585
+ export interface TaskApiAbortTaskRequest {
586
+ /**
587
+ * name of the Org
588
+ * @type {string}
589
+ * @memberof TaskApiAbortTask
590
+ */
591
+ readonly orgName: string
592
+
593
+ /**
594
+ * ID of the task
595
+ * @type {string}
596
+ * @memberof TaskApiAbortTask
597
+ */
598
+ readonly taskId: string
599
+ }
600
+
501
601
  /**
502
602
  * Request parameters for cancelTask operation in TaskApi.
503
603
  * @export
@@ -638,6 +738,18 @@ export interface TaskApiListTasksRequest {
638
738
  * @extends {BaseAPI}
639
739
  */
640
740
  export class TaskApi extends BaseAPI implements TaskApiInterface {
741
+ /**
742
+ * Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
743
+ * @summary Force abort a task
744
+ * @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ * @memberof TaskApi
748
+ */
749
+ public abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig) {
750
+ return TaskApiFp(this.configuration).abortTask(requestParameters.orgName, requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
751
+ }
752
+
641
753
  /**
642
754
  * Cancel a task by taskID within the organization.
643
755
  * @summary Cancel a task
@@ -30,7 +30,7 @@ export interface AlertClusterSilence {
30
30
  */
31
31
  'enabled': boolean;
32
32
  /**
33
- * Alert names to silence. Empty or omitted means all cluster alerts.
33
+ * Alert names to silence. Empty or omitted means all alerts for the resource.
34
34
  * @type {Array<string>}
35
35
  * @memberof AlertClusterSilence
36
36
  */
@@ -18,19 +18,19 @@
18
18
  import type { AlertClusterSilence } from './alert-cluster-silence';
19
19
 
20
20
  /**
21
- * Cluster-scoped alert settings. PATCH updates only supplied fields; settings apply to both tenant and administrator notifications.
21
+ * Resource-scoped alert settings, shared by cluster and node endpoints. PATCH updates only supplied fields. Cluster settings apply to both tenant and administrator notifications.
22
22
  * @export
23
23
  * @interface AlertCluster
24
24
  */
25
25
  export interface AlertCluster {
26
26
  /**
27
- * Disable all cluster alerts. Existing rule and silence settings are preserved.
27
+ * Disable all alerts for the resource. Existing rule and silence settings are preserved.
28
28
  * @type {boolean}
29
29
  * @memberof AlertCluster
30
30
  */
31
31
  'disabled'?: boolean | null;
32
32
  /**
33
- * Alert names disabled only for this cluster. An empty array clears all rule overrides; omission preserves them.
33
+ * Alert names disabled only for this resource. An empty array clears all rule overrides; omission preserves them.
34
34
  * @type {Array<string>}
35
35
  * @memberof AlertCluster
36
36
  */
@@ -29,6 +29,12 @@ import type { InstanceTemplateCreate } from './instance-template-create';
29
29
  * @interface ComponentItemCreate
30
30
  */
31
31
  export interface ComponentItemCreate {
32
+ /**
33
+ * User-provided component annotations, merged over chart defaults. Platform-managed keys cannot be overridden. Omitted or empty preserves defaults; empty string values are literal values, not deletions.
34
+ * @type {{ [key: string]: string; }}
35
+ * @memberof ComponentItemCreate
36
+ */
37
+ 'annotations'?: { [key: string]: string; };
32
38
  /**
33
39
  * Optional host group in this environment and the explicitly selected availabilityZone. Requires availabilityZone; no upper-level host group is inherited.
34
40
  * @type {string}
@@ -29,6 +29,12 @@ import type { InstanceTemplateCreate } from './instance-template-create';
29
29
  * @interface ComponentItem
30
30
  */
31
31
  export interface ComponentItem {
32
+ /**
33
+ * User-provided component annotations. Does not include chart defaults or system-generated values.
34
+ * @type {{ [key: string]: string; }}
35
+ * @memberof ComponentItem
36
+ */
37
+ 'annotations'?: { [key: string]: string; };
32
38
  /**
33
39
  * Optional host group in this environment. Explicit placement does not inherit an upper-level host group.
34
40
  * @type {string}
@@ -80,6 +80,12 @@ export interface ComponentOption {
80
80
  * @memberof ComponentOption
81
81
  */
82
82
  'main'?: boolean;
83
+ /**
84
+ * Whether to show the component annotations editor during cluster creation. Omitted or false hides the editor. This is a UI visibility hint and does not restrict the cluster creation API. Applies to this component in every engine mode, including sharding templates, on KubeBlocks 0.9 and 1.0.
85
+ * @type {boolean}
86
+ * @memberof ComponentOption
87
+ */
88
+ 'customAnnotations'?: boolean;
83
89
  /**
84
90
  * whether the component supports custom secret
85
91
  * @type {boolean}
@@ -19,6 +19,9 @@ import type { EngineOptionLicenseFile } from './engine-option-license-file';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import type { LicenseOption } from './license-option';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { NetworkMode } from './network-mode';
22
25
 
23
26
  /**
24
27
  *
@@ -50,6 +53,18 @@ export interface EngineOptionLicense {
50
53
  * @memberof EngineOptionLicense
51
54
  */
52
55
  'allowedTypes'?: Array<string>;
56
+ /**
57
+ * Engine versions that support license installation. Entries match an exact service version or its major version according to the main component version rule. Omit or leave empty for unrestricted versions.
58
+ * @type {Array<string>}
59
+ * @memberof EngineOptionLicense
60
+ */
61
+ 'versions'?: Array<string>;
62
+ /**
63
+ * Effective cluster network modes that support license installation. Omit or leave empty for unrestricted network modes.
64
+ * @type {Array<NetworkMode>}
65
+ * @memberof EngineOptionLicense
66
+ */
67
+ 'networkModes'?: Array<NetworkMode>;
53
68
  /**
54
69
  * Explicit license file upload slots. Each item maps one UI upload field to the file name written into the license Secret.
55
70
  * @type {Array<EngineOptionLicenseFile>}
@@ -721,15 +721,24 @@ export * from './oracle-tablespace-file';
721
721
  export * from './oracle-tablespace-file-spec';
722
722
  export * from './org';
723
723
  export * from './org-aggregation-group-type';
724
+ export * from './org-configuration-item';
725
+ export * from './org-configuration-summary';
724
726
  export * from './org-create';
727
+ export * from './org-deletion-action';
728
+ export * from './org-deletion-blocker';
729
+ export * from './org-deletion-preview';
730
+ export * from './org-lifecycle-request';
725
731
  export * from './org-member';
726
732
  export * from './org-member-add';
727
733
  export * from './org-member-list';
728
734
  export * from './org-member-update';
729
735
  export * from './org-parameter';
730
736
  export * from './org-parameter-constraints';
737
+ export * from './org-purge-result';
731
738
  export * from './org-resource-quota';
732
739
  export * from './org-resource-quota-and-usage';
740
+ export * from './org-retained-resource';
741
+ export * from './org-status';
733
742
  export * from './org-tags-list';
734
743
  export * from './org-update';
735
744
  export * from './page-result';
@@ -15,14 +15,15 @@
15
15
 
16
16
 
17
17
  /**
18
- * Specifies the type of exposure for the KubeBlocks cluster.
18
+ * Specifies the type of exposure for the KubeBlocks cluster. Internal exposure creates an internal-ro ClusterIP service and requires readonly=true; it is independent of vpc and internet exposure.
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
22
 
23
23
  export const OpsExposeType = {
24
24
  vpc: 'vpc',
25
- internet: 'internet'
25
+ internet: 'internet',
26
+ internal: 'internal'
26
27
  } as const;
27
28
 
28
29
  export type OpsExposeType = typeof OpsExposeType[keyof typeof OpsExposeType];
@@ -42,7 +42,7 @@ export interface OpsExpose {
42
42
  */
43
43
  'enable': boolean;
44
44
  /**
45
- *
45
+ * Select the configured read-only role. Must be true for internal exposure.
46
46
  * @type {boolean}
47
47
  * @memberof OpsExpose
48
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 OrgConfigurationItem
21
+ */
22
+ export interface OrgConfigurationItem {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof OrgConfigurationItem
27
+ */
28
+ 'id': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof OrgConfigurationItem
33
+ */
34
+ 'displayName': string;
35
+ }
36
+
@@ -0,0 +1,63 @@
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 { OrgConfigurationItem } from './org-configuration-item';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface OrgConfigurationSummary
24
+ */
25
+ export interface OrgConfigurationSummary {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof OrgConfigurationSummary
30
+ */
31
+ 'type': string;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof OrgConfigurationSummary
36
+ */
37
+ 'count': number;
38
+ /**
39
+ *
40
+ * @type {Array<OrgConfigurationItem>}
41
+ * @memberof OrgConfigurationSummary
42
+ */
43
+ 'items': Array<OrgConfigurationItem>;
44
+ /**
45
+ *
46
+ * @type {boolean}
47
+ * @memberof OrgConfigurationSummary
48
+ */
49
+ 'truncated': boolean;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof OrgConfigurationSummary
54
+ */
55
+ 'actionEffect': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof OrgConfigurationSummary
60
+ */
61
+ 'purgeEffect': string;
62
+ }
63
+
@@ -0,0 +1,31 @@
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
+ * @enum {string}
21
+ */
22
+
23
+ export const OrgDeletionAction = {
24
+ delete: 'delete',
25
+ purge: 'purge'
26
+ } as const;
27
+
28
+ export type OrgDeletionAction = typeof OrgDeletionAction[keyof typeof OrgDeletionAction];
29
+
30
+
31
+
@@ -0,0 +1,42 @@
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 OrgDeletionBlocker
21
+ */
22
+ export interface OrgDeletionBlocker {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof OrgDeletionBlocker
27
+ */
28
+ 'code': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof OrgDeletionBlocker
33
+ */
34
+ 'resourceType': string;
35
+ /**
36
+ *
37
+ * @type {number}
38
+ * @memberof OrgDeletionBlocker
39
+ */
40
+ 'count': number;
41
+ }
42
+
@@ -0,0 +1,93 @@
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 { OrgConfigurationSummary } from './org-configuration-summary';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { OrgDeletionBlocker } from './org-deletion-blocker';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { OrgRetainedResource } from './org-retained-resource';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface OrgDeletionPreview
30
+ */
31
+ export interface OrgDeletionPreview {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof OrgDeletionPreview
36
+ */
37
+ 'orgID': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof OrgDeletionPreview
42
+ */
43
+ 'name': string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof OrgDeletionPreview
48
+ */
49
+ 'status': string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof OrgDeletionPreview
54
+ */
55
+ 'expiredAt': string | null;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof OrgDeletionPreview
60
+ */
61
+ 'purgeError'?: string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof OrgDeletionPreview
66
+ */
67
+ 'action': string;
68
+ /**
69
+ *
70
+ * @type {boolean}
71
+ * @memberof OrgDeletionPreview
72
+ */
73
+ 'canProceed': boolean;
74
+ /**
75
+ *
76
+ * @type {Array<OrgDeletionBlocker>}
77
+ * @memberof OrgDeletionPreview
78
+ */
79
+ 'blockers': Array<OrgDeletionBlocker>;
80
+ /**
81
+ *
82
+ * @type {Array<OrgConfigurationSummary>}
83
+ * @memberof OrgDeletionPreview
84
+ */
85
+ 'configurations': Array<OrgConfigurationSummary>;
86
+ /**
87
+ *
88
+ * @type {Array<OrgRetainedResource>}
89
+ * @memberof OrgDeletionPreview
90
+ */
91
+ 'retainedResources': Array<OrgRetainedResource>;
92
+ }
93
+
@@ -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 OrgLifecycleRequest
21
+ */
22
+ export interface OrgLifecycleRequest {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof OrgLifecycleRequest
27
+ */
28
+ 'orgID': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof OrgLifecycleRequest
33
+ */
34
+ 'expectedExpiredAt': string;
35
+ }
36
+
@@ -0,0 +1,42 @@
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 OrgPurgeResult
21
+ */
22
+ export interface OrgPurgeResult {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof OrgPurgeResult
27
+ */
28
+ 'orgID'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof OrgPurgeResult
33
+ */
34
+ 'status'?: string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof OrgPurgeResult
39
+ */
40
+ 'expiredAt'?: string;
41
+ }
42
+