kb-cloud-client-typescript 2.4.0-alpha.102 → 2.4.0-alpha.105
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.
- package/dist/adminapi/api.d.ts +1 -0
- package/dist/adminapi/api.d.ts.map +1 -1
- package/dist/adminapi/api.js +1 -0
- package/dist/adminapi/api.js.map +1 -1
- package/dist/adminapi/apis/aiagent-api.d.ts +6 -6
- package/dist/adminapi/apis/aiagent-api.js +4 -4
- package/dist/adminapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/adminapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/adminapi/apis/alert-rule-api.js +241 -0
- package/dist/adminapi/apis/alert-rule-api.js.map +1 -1
- package/dist/adminapi/apis/node-alert-api.d.ts +247 -0
- package/dist/adminapi/apis/node-alert-api.d.ts.map +1 -0
- package/dist/adminapi/apis/node-alert-api.js +292 -0
- package/dist/adminapi/apis/node-alert-api.js.map +1 -0
- package/dist/adminapi/apis/opsrequest-api.d.ts +5 -5
- package/dist/adminapi/apis/opsrequest-api.js +4 -4
- package/dist/adminapi/apis/organization-api.d.ts +211 -2
- package/dist/adminapi/apis/organization-api.d.ts.map +1 -1
- package/dist/adminapi/apis/organization-api.js +245 -5
- package/dist/adminapi/apis/organization-api.js.map +1 -1
- package/dist/adminapi/apis/shared-api.d.ts +438 -7
- package/dist/adminapi/apis/shared-api.d.ts.map +1 -1
- package/dist/adminapi/apis/shared-api.js +490 -9
- package/dist/adminapi/apis/shared-api.js.map +1 -1
- package/dist/adminapi/apis/task-api.d.ts +55 -0
- package/dist/adminapi/apis/task-api.d.ts.map +1 -1
- package/dist/adminapi/apis/task-api.js +69 -0
- package/dist/adminapi/apis/task-api.js.map +1 -1
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/adminapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/adminapi/models/alert-cluster-silence.d.ts +1 -1
- package/dist/adminapi/models/alert-cluster.d.ts +3 -3
- package/dist/adminapi/models/alert-resource-type.d.ts +22 -0
- package/dist/adminapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/adminapi/models/alert-resource-type.js +26 -0
- package/dist/adminapi/models/alert-resource-type.js.map +1 -0
- package/dist/adminapi/models/component-item-create.d.ts +8 -0
- package/dist/adminapi/models/component-item-create.d.ts.map +1 -1
- package/dist/adminapi/models/component-item.d.ts +8 -0
- package/dist/adminapi/models/component-item.d.ts.map +1 -1
- package/dist/adminapi/models/component-option.d.ts +6 -0
- package/dist/adminapi/models/component-option.d.ts.map +1 -1
- package/dist/adminapi/models/engine-option-license.d.ts +13 -0
- package/dist/adminapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +10 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +10 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +2 -2
- package/dist/adminapi/models/ops-expose-type.d.ts +2 -1
- package/dist/adminapi/models/ops-expose-type.d.ts.map +1 -1
- package/dist/adminapi/models/ops-expose-type.js +3 -2
- package/dist/adminapi/models/ops-expose-type.js.map +1 -1
- package/dist/adminapi/models/ops-expose.d.ts +1 -1
- package/dist/adminapi/models/org-configuration-item.d.ts +31 -0
- package/dist/adminapi/models/org-configuration-item.d.ts.map +1 -0
- package/dist/adminapi/models/org-configuration-item.js +16 -0
- package/dist/adminapi/models/org-configuration-item.js.map +1 -0
- package/dist/adminapi/models/org-configuration-summary.d.ts +56 -0
- package/dist/adminapi/models/org-configuration-summary.d.ts.map +1 -0
- package/dist/adminapi/models/org-configuration-summary.js +16 -0
- package/dist/adminapi/models/org-configuration-summary.js.map +1 -0
- package/dist/adminapi/models/org-deletion-action.d.ts +22 -0
- package/dist/adminapi/models/org-deletion-action.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-action.js +26 -0
- package/dist/adminapi/models/org-deletion-action.js.map +1 -0
- package/dist/adminapi/models/org-deletion-blocker.d.ts +37 -0
- package/dist/adminapi/models/org-deletion-blocker.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-blocker.js +16 -0
- package/dist/adminapi/models/org-deletion-blocker.js.map +1 -0
- package/dist/adminapi/models/org-deletion-preview.d.ts +82 -0
- package/dist/adminapi/models/org-deletion-preview.d.ts.map +1 -0
- package/dist/adminapi/models/org-deletion-preview.js +16 -0
- package/dist/adminapi/models/org-deletion-preview.js.map +1 -0
- package/dist/adminapi/models/org-lifecycle-request.d.ts +31 -0
- package/dist/adminapi/models/org-lifecycle-request.d.ts.map +1 -0
- package/dist/adminapi/models/org-lifecycle-request.js +16 -0
- package/dist/adminapi/models/org-lifecycle-request.js.map +1 -0
- package/dist/adminapi/models/org-purge-result.d.ts +37 -0
- package/dist/adminapi/models/org-purge-result.d.ts.map +1 -0
- package/dist/adminapi/models/org-purge-result.js +16 -0
- package/dist/adminapi/models/org-purge-result.js.map +1 -0
- package/dist/adminapi/models/org-retained-resource.d.ts +37 -0
- package/dist/adminapi/models/org-retained-resource.d.ts.map +1 -0
- package/dist/adminapi/models/org-retained-resource.js +16 -0
- package/dist/adminapi/models/org-retained-resource.js.map +1 -0
- package/dist/adminapi/models/org-status.d.ts +25 -0
- package/dist/adminapi/models/org-status.d.ts.map +1 -0
- package/dist/adminapi/models/org-status.js +29 -0
- package/dist/adminapi/models/org-status.js.map +1 -0
- package/dist/adminapi/models/org.d.ts +25 -0
- package/dist/adminapi/models/org.d.ts.map +1 -1
- package/dist/adminapi/models/organization-item.d.ts +31 -0
- package/dist/adminapi/models/organization-item.d.ts.map +1 -1
- package/dist/adminapi/models/restore-create.d.ts +1 -1
- package/dist/adminapi/models/task-status.d.ts +1 -0
- package/dist/adminapi/models/task-status.d.ts.map +1 -1
- package/dist/adminapi/models/task-status.js +2 -1
- package/dist/adminapi/models/task-status.js.map +1 -1
- package/dist/internalapi/apis/environment-api.d.ts +63 -0
- package/dist/internalapi/apis/environment-api.d.ts.map +1 -1
- package/dist/internalapi/apis/environment-api.js +72 -0
- package/dist/internalapi/apis/environment-api.js.map +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts +15 -7
- package/dist/internalapi/apis/recycle-bin-cluster-api.d.ts.map +1 -1
- package/dist/internalapi/apis/recycle-bin-cluster-api.js +18 -11
- package/dist/internalapi/apis/recycle-bin-cluster-api.js.map +1 -1
- package/dist/internalapi/models/component-item.d.ts +8 -0
- package/dist/internalapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/apis/aiagent-api.d.ts +6 -6
- package/dist/openapi/apis/aiagent-api.js +4 -4
- package/dist/openapi/apis/alert-rule-api.d.ts +223 -0
- package/dist/openapi/apis/alert-rule-api.d.ts.map +1 -1
- package/dist/openapi/apis/alert-rule-api.js +241 -0
- package/dist/openapi/apis/alert-rule-api.js.map +1 -1
- package/dist/openapi/apis/opsrequest-api.d.ts +5 -5
- package/dist/openapi/apis/opsrequest-api.js +4 -4
- package/dist/openapi/apis/organization-api.d.ts +211 -2
- package/dist/openapi/apis/organization-api.d.ts.map +1 -1
- package/dist/openapi/apis/organization-api.js +245 -5
- package/dist/openapi/apis/organization-api.js.map +1 -1
- package/dist/openapi/apis/shared-api.d.ts +438 -7
- package/dist/openapi/apis/shared-api.d.ts.map +1 -1
- package/dist/openapi/apis/shared-api.js +490 -9
- package/dist/openapi/apis/shared-api.js.map +1 -1
- package/dist/openapi/apis/task-api.d.ts +63 -0
- package/dist/openapi/apis/task-api.d.ts.map +1 -1
- package/dist/openapi/apis/task-api.js +74 -0
- package/dist/openapi/apis/task-api.js.map +1 -1
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts +12 -0
- package/dist/openapi/models/ai-agent-turn-action-list.d.ts.map +1 -1
- package/dist/openapi/models/alert-cluster-silence.d.ts +1 -1
- package/dist/openapi/models/alert-cluster.d.ts +3 -3
- package/dist/openapi/models/alert-resource-type.d.ts +22 -0
- package/dist/openapi/models/alert-resource-type.d.ts.map +1 -0
- package/dist/openapi/models/alert-resource-type.js +26 -0
- package/dist/openapi/models/alert-resource-type.js.map +1 -0
- package/dist/openapi/models/component-item-create.d.ts +8 -0
- package/dist/openapi/models/component-item-create.d.ts.map +1 -1
- package/dist/openapi/models/component-item.d.ts +8 -0
- package/dist/openapi/models/component-item.d.ts.map +1 -1
- package/dist/openapi/models/component-option.d.ts +6 -0
- package/dist/openapi/models/component-option.d.ts.map +1 -1
- package/dist/openapi/models/engine-option-license.d.ts +13 -0
- package/dist/openapi/models/engine-option-license.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +10 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +10 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +2 -2
- package/dist/openapi/models/ops-expose-type.d.ts +2 -1
- package/dist/openapi/models/ops-expose-type.d.ts.map +1 -1
- package/dist/openapi/models/ops-expose-type.js +3 -2
- package/dist/openapi/models/ops-expose-type.js.map +1 -1
- package/dist/openapi/models/ops-expose.d.ts +1 -1
- package/dist/openapi/models/org-configuration-item.d.ts +31 -0
- package/dist/openapi/models/org-configuration-item.d.ts.map +1 -0
- package/dist/openapi/models/org-configuration-item.js +16 -0
- package/dist/openapi/models/org-configuration-item.js.map +1 -0
- package/dist/openapi/models/org-configuration-summary.d.ts +56 -0
- package/dist/openapi/models/org-configuration-summary.d.ts.map +1 -0
- package/dist/openapi/models/org-configuration-summary.js +16 -0
- package/dist/openapi/models/org-configuration-summary.js.map +1 -0
- package/dist/openapi/models/org-deletion-action.d.ts +22 -0
- package/dist/openapi/models/org-deletion-action.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-action.js +26 -0
- package/dist/openapi/models/org-deletion-action.js.map +1 -0
- package/dist/openapi/models/org-deletion-blocker.d.ts +37 -0
- package/dist/openapi/models/org-deletion-blocker.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-blocker.js +16 -0
- package/dist/openapi/models/org-deletion-blocker.js.map +1 -0
- package/dist/openapi/models/org-deletion-preview.d.ts +82 -0
- package/dist/openapi/models/org-deletion-preview.d.ts.map +1 -0
- package/dist/openapi/models/org-deletion-preview.js +16 -0
- package/dist/openapi/models/org-deletion-preview.js.map +1 -0
- package/dist/openapi/models/org-lifecycle-request.d.ts +31 -0
- package/dist/openapi/models/org-lifecycle-request.d.ts.map +1 -0
- package/dist/openapi/models/org-lifecycle-request.js +16 -0
- package/dist/openapi/models/org-lifecycle-request.js.map +1 -0
- package/dist/openapi/models/org-purge-result.d.ts +37 -0
- package/dist/openapi/models/org-purge-result.d.ts.map +1 -0
- package/dist/openapi/models/org-purge-result.js +16 -0
- package/dist/openapi/models/org-purge-result.js.map +1 -0
- package/dist/openapi/models/org-retained-resource.d.ts +37 -0
- package/dist/openapi/models/org-retained-resource.d.ts.map +1 -0
- package/dist/openapi/models/org-retained-resource.js +16 -0
- package/dist/openapi/models/org-retained-resource.js.map +1 -0
- package/dist/openapi/models/org-status.d.ts +25 -0
- package/dist/openapi/models/org-status.d.ts.map +1 -0
- package/dist/openapi/models/org-status.js +29 -0
- package/dist/openapi/models/org-status.js.map +1 -0
- package/dist/openapi/models/org.d.ts +25 -0
- package/dist/openapi/models/org.d.ts.map +1 -1
- package/dist/openapi/models/restore-create.d.ts +1 -1
- package/dist/openapi/models/task-status.d.ts +1 -0
- package/dist/openapi/models/task-status.d.ts.map +1 -1
- package/dist/openapi/models/task-status.js +2 -1
- package/dist/openapi/models/task-status.js.map +1 -1
- package/dist/openapi/models/user-org.d.ts +25 -0
- package/dist/openapi/models/user-org.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +11 -0
- package/src/adminapi/api.ts +1 -0
- package/src/adminapi/apis/aiagent-api.ts +6 -6
- package/src/adminapi/apis/alert-rule-api.ts +388 -0
- package/src/adminapi/apis/node-alert-api.ts +424 -0
- package/src/adminapi/apis/opsrequest-api.ts +5 -5
- package/src/adminapi/apis/organization-api.ts +386 -5
- package/src/adminapi/apis/shared-api.ts +908 -141
- package/src/adminapi/apis/task-api.ts +100 -0
- package/src/adminapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/adminapi/models/alert-cluster-silence.ts +1 -1
- package/src/adminapi/models/alert-cluster.ts +3 -3
- package/src/adminapi/models/alert-resource-type.ts +31 -0
- package/src/adminapi/models/component-item-create.ts +6 -0
- package/src/adminapi/models/component-item.ts +6 -0
- package/src/adminapi/models/component-option.ts +6 -0
- package/src/adminapi/models/engine-option-license.ts +15 -0
- package/src/adminapi/models/index.ts +10 -0
- package/src/adminapi/models/inspection-task.ts +2 -2
- package/src/adminapi/models/ops-expose-type.ts +3 -2
- package/src/adminapi/models/ops-expose.ts +1 -1
- package/src/adminapi/models/org-configuration-item.ts +36 -0
- package/src/adminapi/models/org-configuration-summary.ts +63 -0
- package/src/adminapi/models/org-deletion-action.ts +31 -0
- package/src/adminapi/models/org-deletion-blocker.ts +42 -0
- package/src/adminapi/models/org-deletion-preview.ts +93 -0
- package/src/adminapi/models/org-lifecycle-request.ts +36 -0
- package/src/adminapi/models/org-purge-result.ts +42 -0
- package/src/adminapi/models/org-retained-resource.ts +42 -0
- package/src/adminapi/models/org-status.ts +34 -0
- package/src/adminapi/models/org.ts +29 -0
- package/src/adminapi/models/organization-item.ts +35 -0
- package/src/adminapi/models/restore-create.ts +1 -1
- package/src/adminapi/models/task-status.ts +2 -1
- package/src/adminapi.yaml +732 -139
- package/src/internalapi/apis/environment-api.ts +110 -0
- package/src/internalapi/apis/recycle-bin-cluster-api.ts +29 -14
- package/src/internalapi/models/component-item.ts +6 -0
- package/src/internalapi.yaml +38 -3
- package/src/openapi/.openapi-generator/FILES +10 -0
- package/src/openapi/apis/aiagent-api.ts +6 -6
- package/src/openapi/apis/alert-rule-api.ts +388 -0
- package/src/openapi/apis/opsrequest-api.ts +5 -5
- package/src/openapi/apis/organization-api.ts +386 -5
- package/src/openapi/apis/shared-api.ts +908 -141
- package/src/openapi/apis/task-api.ts +112 -0
- package/src/openapi/models/ai-agent-turn-action-list.ts +12 -0
- package/src/openapi/models/alert-cluster-silence.ts +1 -1
- package/src/openapi/models/alert-cluster.ts +3 -3
- package/src/openapi/models/alert-resource-type.ts +31 -0
- package/src/openapi/models/component-item-create.ts +6 -0
- package/src/openapi/models/component-item.ts +6 -0
- package/src/openapi/models/component-option.ts +6 -0
- package/src/openapi/models/engine-option-license.ts +15 -0
- package/src/openapi/models/index.ts +10 -0
- package/src/openapi/models/inspection-task.ts +2 -2
- package/src/openapi/models/ops-expose-type.ts +3 -2
- package/src/openapi/models/ops-expose.ts +1 -1
- package/src/openapi/models/org-configuration-item.ts +36 -0
- package/src/openapi/models/org-configuration-summary.ts +63 -0
- package/src/openapi/models/org-deletion-action.ts +31 -0
- package/src/openapi/models/org-deletion-blocker.ts +42 -0
- package/src/openapi/models/org-deletion-preview.ts +93 -0
- package/src/openapi/models/org-lifecycle-request.ts +36 -0
- package/src/openapi/models/org-purge-result.ts +42 -0
- package/src/openapi/models/org-retained-resource.ts +42 -0
- package/src/openapi/models/org-status.ts +34 -0
- package/src/openapi/models/org.ts +29 -0
- package/src/openapi/models/restore-create.ts +1 -1
- package/src/openapi/models/task-status.ts +2 -1
- package/src/openapi/models/user-org.ts +29 -0
- package/src/openapi.yaml +503 -9
|
@@ -39,6 +39,47 @@ import type { TaskTypeList } from '../models';
|
|
|
39
39
|
*/
|
|
40
40
|
export const TaskApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
41
41
|
return {
|
|
42
|
+
/**
|
|
43
|
+
* Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
|
|
44
|
+
* @summary Force abort a task
|
|
45
|
+
* @param {string} taskId ID of the task
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
abortTask: async (taskId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
+
// verify required parameter 'taskId' is not null or undefined
|
|
51
|
+
assertParamExists('abortTask', 'taskId', taskId)
|
|
52
|
+
const localVarPath = `/admin/v1/tasks/{taskId}/abort`
|
|
53
|
+
.replace(`{${"taskId"}}`, encodeURIComponent(String(taskId)));
|
|
54
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
+
let baseOptions;
|
|
57
|
+
if (configuration) {
|
|
58
|
+
baseOptions = configuration.baseOptions;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
62
|
+
const localVarHeaderParameter = {} as any;
|
|
63
|
+
const localVarQueryParameter = {} as any;
|
|
64
|
+
|
|
65
|
+
// authentication BearerToken required
|
|
66
|
+
// http bearer authentication required
|
|
67
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
68
|
+
|
|
69
|
+
// authentication DigestAuth required
|
|
70
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
75
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
76
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
url: toPathString(localVarUrlObj),
|
|
80
|
+
options: localVarRequestOptions,
|
|
81
|
+
};
|
|
82
|
+
},
|
|
42
83
|
/**
|
|
43
84
|
* Cancel a task by taskID.
|
|
44
85
|
* @summary Cancel a task
|
|
@@ -473,6 +514,19 @@ export const TaskApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
473
514
|
export const TaskApiFp = function(configuration?: Configuration) {
|
|
474
515
|
const localVarAxiosParamCreator = TaskApiAxiosParamCreator(configuration)
|
|
475
516
|
return {
|
|
517
|
+
/**
|
|
518
|
+
* Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
|
|
519
|
+
* @summary Force abort a task
|
|
520
|
+
* @param {string} taskId ID of the task
|
|
521
|
+
* @param {*} [options] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
*/
|
|
524
|
+
async abortTask(taskId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
525
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.abortTask(taskId, options);
|
|
526
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
527
|
+
const localVarOperationServerBasePath = operationServerMap['TaskApi.abortTask']?.[localVarOperationServerIndex]?.url;
|
|
528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
529
|
+
},
|
|
476
530
|
/**
|
|
477
531
|
* Cancel a task by taskID.
|
|
478
532
|
* @summary Cancel a task
|
|
@@ -610,6 +664,16 @@ export const TaskApiFp = function(configuration?: Configuration) {
|
|
|
610
664
|
export const TaskApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
611
665
|
const localVarFp = TaskApiFp(configuration)
|
|
612
666
|
return {
|
|
667
|
+
/**
|
|
668
|
+
* Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
|
|
669
|
+
* @summary Force abort a task
|
|
670
|
+
* @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
|
|
671
|
+
* @param {*} [options] Override http request option.
|
|
672
|
+
* @throws {RequiredError}
|
|
673
|
+
*/
|
|
674
|
+
abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
675
|
+
return localVarFp.abortTask(requestParameters.taskId, options).then((request) => request(axios, basePath));
|
|
676
|
+
},
|
|
613
677
|
/**
|
|
614
678
|
* Cancel a task by taskID.
|
|
615
679
|
* @summary Cancel a task
|
|
@@ -708,6 +772,16 @@ export const TaskApiFactory = function (configuration?: Configuration, basePath?
|
|
|
708
772
|
* @interface TaskApi
|
|
709
773
|
*/
|
|
710
774
|
export interface TaskApiInterface {
|
|
775
|
+
/**
|
|
776
|
+
* Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
|
|
777
|
+
* @summary Force abort a task
|
|
778
|
+
* @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
|
|
779
|
+
* @param {*} [options] Override http request option.
|
|
780
|
+
* @throws {RequiredError}
|
|
781
|
+
* @memberof TaskApiInterface
|
|
782
|
+
*/
|
|
783
|
+
abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
784
|
+
|
|
711
785
|
/**
|
|
712
786
|
* Cancel a task by taskID.
|
|
713
787
|
* @summary Cancel a task
|
|
@@ -799,6 +873,20 @@ export interface TaskApiInterface {
|
|
|
799
873
|
|
|
800
874
|
}
|
|
801
875
|
|
|
876
|
+
/**
|
|
877
|
+
* Request parameters for abortTask operation in TaskApi.
|
|
878
|
+
* @export
|
|
879
|
+
* @interface TaskApiAbortTaskRequest
|
|
880
|
+
*/
|
|
881
|
+
export interface TaskApiAbortTaskRequest {
|
|
882
|
+
/**
|
|
883
|
+
* ID of the task
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof TaskApiAbortTask
|
|
886
|
+
*/
|
|
887
|
+
readonly taskId: string
|
|
888
|
+
}
|
|
889
|
+
|
|
802
890
|
/**
|
|
803
891
|
* Request parameters for cancelTask operation in TaskApi.
|
|
804
892
|
* @export
|
|
@@ -995,6 +1083,18 @@ export interface TaskApiStopTaskRequest {
|
|
|
995
1083
|
* @extends {BaseAPI}
|
|
996
1084
|
*/
|
|
997
1085
|
export class TaskApi extends BaseAPI implements TaskApiInterface {
|
|
1086
|
+
/**
|
|
1087
|
+
* Forcefully abort a running task. Pending steps or OpsRequests are cancelled, running ones are aborted.
|
|
1088
|
+
* @summary Force abort a task
|
|
1089
|
+
* @param {TaskApiAbortTaskRequest} requestParameters Request parameters.
|
|
1090
|
+
* @param {*} [options] Override http request option.
|
|
1091
|
+
* @throws {RequiredError}
|
|
1092
|
+
* @memberof TaskApi
|
|
1093
|
+
*/
|
|
1094
|
+
public abortTask(requestParameters: TaskApiAbortTaskRequest, options?: RawAxiosRequestConfig) {
|
|
1095
|
+
return TaskApiFp(this.configuration).abortTask(requestParameters.taskId, options).then((request) => request(this.axios, this.basePath));
|
|
1096
|
+
}
|
|
1097
|
+
|
|
998
1098
|
/**
|
|
999
1099
|
* Cancel a task by taskID.
|
|
1000
1100
|
* @summary Cancel a task
|
|
@@ -29,5 +29,17 @@ export interface AiAgentTurnActionList {
|
|
|
29
29
|
* @memberof AiAgentTurnActionList
|
|
30
30
|
*/
|
|
31
31
|
'items': Array<AiAgentTurnAction>;
|
|
32
|
+
/**
|
|
33
|
+
* Raw action cursor for the next page; independent of coalesced item IDs and timestamps.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AiAgentTurnActionList
|
|
36
|
+
*/
|
|
37
|
+
'nextCursor'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Whether more actions are available. Pages finish the last turn before coalescing, so item counts must not be used to detect the final page.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof AiAgentTurnActionList
|
|
42
|
+
*/
|
|
43
|
+
'hasMore'?: boolean;
|
|
32
44
|
}
|
|
33
45
|
|
|
@@ -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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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 AlertResourceType = {
|
|
24
|
+
cluster: 'cluster',
|
|
25
|
+
channel: 'channel'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type AlertResourceType = typeof AlertResourceType[keyof typeof AlertResourceType];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
@@ -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>}
|
|
@@ -64,6 +64,7 @@ export * from './alert-receiver';
|
|
|
64
64
|
export * from './alert-receiver-category';
|
|
65
65
|
export * from './alert-receiver-list';
|
|
66
66
|
export * from './alert-receiver-user-group';
|
|
67
|
+
export * from './alert-resource-type';
|
|
67
68
|
export * from './alert-rule';
|
|
68
69
|
export * from './alert-rule-group';
|
|
69
70
|
export * from './alert-rule-list';
|
|
@@ -814,15 +815,24 @@ export * from './oracle-tablespace-expand-action';
|
|
|
814
815
|
export * from './oracle-tablespace-file';
|
|
815
816
|
export * from './oracle-tablespace-file-spec';
|
|
816
817
|
export * from './org';
|
|
818
|
+
export * from './org-configuration-item';
|
|
819
|
+
export * from './org-configuration-summary';
|
|
817
820
|
export * from './org-create';
|
|
821
|
+
export * from './org-deletion-action';
|
|
822
|
+
export * from './org-deletion-blocker';
|
|
823
|
+
export * from './org-deletion-preview';
|
|
824
|
+
export * from './org-lifecycle-request';
|
|
818
825
|
export * from './org-member';
|
|
819
826
|
export * from './org-member-add';
|
|
820
827
|
export * from './org-member-list';
|
|
821
828
|
export * from './org-member-update';
|
|
822
829
|
export * from './org-parameter';
|
|
823
830
|
export * from './org-parameter-constraints';
|
|
831
|
+
export * from './org-purge-result';
|
|
824
832
|
export * from './org-resource-quota';
|
|
825
833
|
export * from './org-resource-quota-and-usage';
|
|
834
|
+
export * from './org-retained-resource';
|
|
835
|
+
export * from './org-status';
|
|
826
836
|
export * from './org-tags-list';
|
|
827
837
|
export * from './org-update';
|
|
828
838
|
export * from './organization-item';
|
|
@@ -102,13 +102,13 @@ export interface InspectionTask {
|
|
|
102
102
|
*/
|
|
103
103
|
'expiredAt'?: string;
|
|
104
104
|
/**
|
|
105
|
-
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable
|
|
105
|
+
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown results and items with info importance are excluded from both the numerator and denominator. The field is omitted when no item is evaluable. Doris and SelectDB also omit it when risk-check evidence is unavailable, and score correlated findings once per failure family. A present value of 0 is a valid evaluated score.
|
|
106
106
|
* @type {number}
|
|
107
107
|
* @memberof InspectionTask
|
|
108
108
|
*/
|
|
109
109
|
'score'?: number | null;
|
|
110
110
|
/**
|
|
111
|
-
* Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable
|
|
111
|
+
* Task health conclusion derived from evaluable item states and criticality-aware score caps. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable, or a Doris/SelectDB inspection has unavailable risk-check evidence without an observed red or yellow finding. Unavailable evidence never hides an observed red or yellow finding.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof InspectionTask
|
|
114
114
|
*/
|
|
@@ -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];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
* Admin API
|
|
5
|
+
* The Admin API is used to manage the ApeCloud platform.
|
|
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
|
+
|