kb-cloud-client-typescript 2.2.113 → 2.2.115
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/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/adminapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/adminapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/adminapi/models/aggregate-task-result-type.js +2 -1
- package/dist/adminapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/adminapi/models/cdc-settings.d.ts +10 -6
- package/dist/adminapi/models/cdc-settings.d.ts.map +1 -1
- package/dist/adminapi/models/engine-mapping.d.ts +14 -0
- package/dist/adminapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/adminapi/models/index.d.ts +2 -0
- package/dist/adminapi/models/index.d.ts.map +1 -1
- package/dist/adminapi/models/index.js +2 -0
- package/dist/adminapi/models/index.js.map +1 -1
- package/dist/adminapi/models/inspection-task-item.d.ts +8 -0
- package/dist/adminapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/adminapi/models/inspection-task.d.ts +3 -3
- package/dist/adminapi/models/inspection-task.d.ts.map +1 -1
- package/dist/adminapi/models/replication-check-option.d.ts +25 -0
- package/dist/adminapi/models/replication-check-option.d.ts.map +1 -0
- package/dist/adminapi/models/replication-check-option.js +16 -0
- package/dist/adminapi/models/replication-check-option.js.map +1 -0
- package/dist/adminapi/models/select-module-mode.d.ts +22 -0
- package/dist/adminapi/models/select-module-mode.d.ts.map +1 -0
- package/dist/adminapi/models/select-module-mode.js +26 -0
- package/dist/adminapi/models/select-module-mode.js.map +1 -0
- package/dist/openapi/models/aggregate-task-result-summary.d.ts +6 -0
- package/dist/openapi/models/aggregate-task-result-summary.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.d.ts +1 -0
- package/dist/openapi/models/aggregate-task-result-type.d.ts.map +1 -1
- package/dist/openapi/models/aggregate-task-result-type.js +2 -1
- package/dist/openapi/models/aggregate-task-result-type.js.map +1 -1
- package/dist/openapi/models/cdc-settings.d.ts +10 -6
- package/dist/openapi/models/cdc-settings.d.ts.map +1 -1
- package/dist/openapi/models/engine-mapping.d.ts +14 -0
- package/dist/openapi/models/engine-mapping.d.ts.map +1 -1
- package/dist/openapi/models/index.d.ts +2 -0
- package/dist/openapi/models/index.d.ts.map +1 -1
- package/dist/openapi/models/index.js +2 -0
- package/dist/openapi/models/index.js.map +1 -1
- package/dist/openapi/models/inspection-task-item.d.ts +8 -0
- package/dist/openapi/models/inspection-task-item.d.ts.map +1 -1
- package/dist/openapi/models/inspection-task.d.ts +3 -3
- package/dist/openapi/models/inspection-task.d.ts.map +1 -1
- package/dist/openapi/models/replication-check-option.d.ts +25 -0
- package/dist/openapi/models/replication-check-option.d.ts.map +1 -0
- package/dist/openapi/models/replication-check-option.js +16 -0
- package/dist/openapi/models/replication-check-option.js.map +1 -0
- package/dist/openapi/models/select-module-mode.d.ts +22 -0
- package/dist/openapi/models/select-module-mode.d.ts.map +1 -0
- package/dist/openapi/models/select-module-mode.js +26 -0
- package/dist/openapi/models/select-module-mode.js.map +1 -0
- package/package.json +1 -1
- package/src/adminapi/.openapi-generator/FILES +2 -0
- package/src/adminapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/adminapi/models/aggregate-task-result-type.ts +2 -1
- package/src/adminapi/models/cdc-settings.ts +6 -6
- package/src/adminapi/models/engine-mapping.ts +20 -0
- package/src/adminapi/models/index.ts +2 -0
- package/src/adminapi/models/inspection-task-item.ts +6 -0
- package/src/adminapi/models/inspection-task.ts +3 -3
- package/src/adminapi/models/replication-check-option.ts +30 -0
- package/src/adminapi/models/select-module-mode.ts +31 -0
- package/src/adminapi.yaml +36 -2
- package/src/openapi/.openapi-generator/FILES +2 -0
- package/src/openapi/models/aggregate-task-result-summary.ts +6 -0
- package/src/openapi/models/aggregate-task-result-type.ts +2 -1
- package/src/openapi/models/cdc-settings.ts +6 -6
- package/src/openapi/models/engine-mapping.ts +20 -0
- package/src/openapi/models/index.ts +2 -0
- package/src/openapi/models/inspection-task-item.ts +6 -0
- package/src/openapi/models/inspection-task.ts +3 -3
- package/src/openapi/models/replication-check-option.ts +30 -0
- package/src/openapi/models/select-module-mode.ts +31 -0
- package/src/openapi.yaml +36 -2
|
@@ -642,6 +642,7 @@ models/recycle-bin-cluster.ts
|
|
|
642
642
|
models/redis-privilege-type.ts
|
|
643
643
|
models/ref.ts
|
|
644
644
|
models/related-cluster-list-item.ts
|
|
645
|
+
models/replication-check-option.ts
|
|
645
646
|
models/replication-metadata-object.ts
|
|
646
647
|
models/replication-object-node.ts
|
|
647
648
|
models/replication-object-query.ts
|
|
@@ -664,6 +665,7 @@ models/role-list.ts
|
|
|
664
665
|
models/role-update.ts
|
|
665
666
|
models/role.ts
|
|
666
667
|
models/scheduling-policy-type.ts
|
|
668
|
+
models/select-module-mode.ts
|
|
667
669
|
models/selected-object-option-convert-to-parameters-inner.ts
|
|
668
670
|
models/selected-object-option-tree-level-order-inner.ts
|
|
669
671
|
models/selected-object-option-tree.ts
|
|
@@ -38,5 +38,11 @@ export interface AggregateTaskResultSummary {
|
|
|
38
38
|
* @memberof AggregateTaskResultSummary
|
|
39
39
|
*/
|
|
40
40
|
'normal'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Number of completed tasks with no evaluable inspection item.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AggregateTaskResultSummary
|
|
45
|
+
*/
|
|
46
|
+
'unknown'?: number;
|
|
41
47
|
}
|
|
42
48
|
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
export const AggregateTaskResultType = {
|
|
24
24
|
green: 'green',
|
|
25
25
|
yellow: 'yellow',
|
|
26
|
-
red: 'red'
|
|
26
|
+
red: 'red',
|
|
27
|
+
unknown: 'unknown'
|
|
27
28
|
} as const;
|
|
28
29
|
|
|
29
30
|
export type AggregateTaskResultType = typeof AggregateTaskResultType[keyof typeof AggregateTaskResultType];
|
|
@@ -39,17 +39,17 @@ export interface CdcSettings {
|
|
|
39
39
|
*/
|
|
40
40
|
'config'?: CdcClusterConfig;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {CdcClusterAccount}
|
|
42
|
+
* engine mode and account setting mappings. \'_default\' key means default mode setting
|
|
43
|
+
* @type {{ [key: string]: CdcClusterAccount; }}
|
|
44
44
|
* @memberof CdcSettings
|
|
45
45
|
*/
|
|
46
|
-
'account'?: CdcClusterAccount;
|
|
46
|
+
'account'?: { [key: string]: CdcClusterAccount; };
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {CdcClusterEndpoint}
|
|
48
|
+
* engine mode and account setting mappings. \'_default\' key means default mode setting
|
|
49
|
+
* @type {{ [key: string]: CdcClusterEndpoint; }}
|
|
50
50
|
* @memberof CdcSettings
|
|
51
51
|
*/
|
|
52
|
-
'endpoint'?: CdcClusterEndpoint;
|
|
52
|
+
'endpoint'?: { [key: string]: CdcClusterEndpoint; };
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @type {CdcLifecycle}
|
|
@@ -24,7 +24,13 @@ import type { EventObject } from './event-object';
|
|
|
24
24
|
import type { MappingDescription } from './mapping-description';
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
|
+
import type { ReplicationCheckOption } from './replication-check-option';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
27
30
|
import type { ReplicationMetadataObject } from './replication-metadata-object';
|
|
31
|
+
// May contain unused imports in some cases
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import type { SelectModuleMode } from './select-module-mode';
|
|
28
34
|
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
@@ -50,6 +56,12 @@ export interface EngineMapping {
|
|
|
50
56
|
* @memberof EngineMapping
|
|
51
57
|
*/
|
|
52
58
|
'modules'?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {SelectModuleMode}
|
|
62
|
+
* @memberof EngineMapping
|
|
63
|
+
*/
|
|
64
|
+
'moduleSelectMode'?: SelectModuleMode;
|
|
53
65
|
/**
|
|
54
66
|
*
|
|
55
67
|
* @type {Array<Array<EventObject>>}
|
|
@@ -74,6 +86,12 @@ export interface EngineMapping {
|
|
|
74
86
|
* @memberof EngineMapping
|
|
75
87
|
*/
|
|
76
88
|
'preCheckers'?: Array<string>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {ReplicationCheckOption}
|
|
92
|
+
* @memberof EngineMapping
|
|
93
|
+
*/
|
|
94
|
+
'dataCheckOption'?: ReplicationCheckOption;
|
|
77
95
|
/**
|
|
78
96
|
* module parameter template, the key is the module name, the value is the parameter template
|
|
79
97
|
* @type {{ [key: string]: Array<DataChannelParameter>; }}
|
|
@@ -82,3 +100,5 @@ export interface EngineMapping {
|
|
|
82
100
|
'parameterTemplate'?: { [key: string]: Array<DataChannelParameter>; };
|
|
83
101
|
}
|
|
84
102
|
|
|
103
|
+
|
|
104
|
+
|
|
@@ -554,6 +554,7 @@ export * from './recycle-bin-cluster-list-item';
|
|
|
554
554
|
export * from './redis-privilege-type';
|
|
555
555
|
export * from './ref';
|
|
556
556
|
export * from './related-cluster-list-item';
|
|
557
|
+
export * from './replication-check-option';
|
|
557
558
|
export * from './replication-metadata-object';
|
|
558
559
|
export * from './replication-object-node';
|
|
559
560
|
export * from './replication-object-query';
|
|
@@ -576,6 +577,7 @@ export * from './role-create';
|
|
|
576
577
|
export * from './role-list';
|
|
577
578
|
export * from './role-update';
|
|
578
579
|
export * from './scheduling-policy-type';
|
|
580
|
+
export * from './select-module-mode';
|
|
579
581
|
export * from './selected-object-option';
|
|
580
582
|
export * from './selected-object-option-convert-to-parameters-inner';
|
|
581
583
|
export * from './selected-object-option-tree';
|
|
@@ -95,6 +95,12 @@ export interface InspectionTaskItem {
|
|
|
95
95
|
* @memberof InspectionTaskItem
|
|
96
96
|
*/
|
|
97
97
|
'severity'?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Structured evidence explaining an inspection item result. Unavailable or invalid evidence is reported as unknown.
|
|
100
|
+
* @type {{ [key: string]: any; }}
|
|
101
|
+
* @memberof InspectionTaskItem
|
|
102
|
+
*/
|
|
103
|
+
'evidence'?: { [key: string]: any; };
|
|
98
104
|
/**
|
|
99
105
|
*
|
|
100
106
|
* @type {string}
|
|
@@ -93,13 +93,13 @@ export interface InspectionTask {
|
|
|
93
93
|
*/
|
|
94
94
|
'isAuto'?: boolean;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded. The field is omitted when no item is evaluable.
|
|
97
97
|
* @type {number}
|
|
98
98
|
* @memberof InspectionTask
|
|
99
99
|
*/
|
|
100
|
-
'score'?: number;
|
|
100
|
+
'score'?: number | null;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Task health conclusion. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable.
|
|
103
103
|
* @type {string}
|
|
104
104
|
* @memberof InspectionTask
|
|
105
105
|
*/
|
|
@@ -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 ReplicationCheckOption
|
|
21
|
+
*/
|
|
22
|
+
export interface ReplicationCheckOption {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ReplicationCheckOption
|
|
27
|
+
*/
|
|
28
|
+
'enabled'?: boolean;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -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 SelectModuleMode = {
|
|
24
|
+
single: 'single',
|
|
25
|
+
multiple: 'multiple'
|
|
26
|
+
} as const;
|
|
27
|
+
|
|
28
|
+
export type SelectModuleMode = typeof SelectModuleMode[keyof typeof SelectModuleMode];
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
package/src/openapi.yaml
CHANGED
|
@@ -22827,9 +22827,15 @@ components:
|
|
|
22827
22827
|
config:
|
|
22828
22828
|
$ref: '#/components/schemas/cdcClusterConfig'
|
|
22829
22829
|
account:
|
|
22830
|
-
|
|
22830
|
+
type: object
|
|
22831
|
+
description: engine mode and account setting mappings. '_default' key means default mode setting
|
|
22832
|
+
additionalProperties:
|
|
22833
|
+
$ref: '#/components/schemas/cdcClusterAccount'
|
|
22831
22834
|
endpoint:
|
|
22832
|
-
|
|
22835
|
+
type: object
|
|
22836
|
+
description: engine mode and account setting mappings. '_default' key means default mode setting
|
|
22837
|
+
additionalProperties:
|
|
22838
|
+
$ref: '#/components/schemas/cdcClusterEndpoint'
|
|
22833
22839
|
lifecycle:
|
|
22834
22840
|
$ref: '#/components/schemas/cdcLifecycle'
|
|
22835
22841
|
cdcConfigResourceType:
|
|
@@ -23039,6 +23045,11 @@ components:
|
|
|
23039
23045
|
$ref: '#/components/schemas/engineDefinitionDetail'
|
|
23040
23046
|
target:
|
|
23041
23047
|
$ref: '#/components/schemas/engineDefinitionDetail'
|
|
23048
|
+
selectModuleMode:
|
|
23049
|
+
enum:
|
|
23050
|
+
- single
|
|
23051
|
+
- multiple
|
|
23052
|
+
type: string
|
|
23042
23053
|
eventType:
|
|
23043
23054
|
enum:
|
|
23044
23055
|
- dml
|
|
@@ -23075,6 +23086,11 @@ components:
|
|
|
23075
23086
|
objectExcludeTips:
|
|
23076
23087
|
$ref: '#/components/schemas/internationalDesc'
|
|
23077
23088
|
nullable: true
|
|
23089
|
+
replicationCheckOption:
|
|
23090
|
+
type: object
|
|
23091
|
+
properties:
|
|
23092
|
+
enabled:
|
|
23093
|
+
type: boolean
|
|
23078
23094
|
parameterValueType:
|
|
23079
23095
|
enum:
|
|
23080
23096
|
- string
|
|
@@ -23113,6 +23129,9 @@ components:
|
|
|
23113
23129
|
type: array
|
|
23114
23130
|
items:
|
|
23115
23131
|
type: string
|
|
23132
|
+
moduleSelectMode:
|
|
23133
|
+
$ref: '#/components/schemas/selectModuleMode'
|
|
23134
|
+
nullable: true
|
|
23116
23135
|
events:
|
|
23117
23136
|
type: array
|
|
23118
23137
|
items:
|
|
@@ -23128,6 +23147,8 @@ components:
|
|
|
23128
23147
|
type: array
|
|
23129
23148
|
items:
|
|
23130
23149
|
type: string
|
|
23150
|
+
dataCheckOption:
|
|
23151
|
+
$ref: '#/components/schemas/replicationCheckOption'
|
|
23131
23152
|
parameterTemplate:
|
|
23132
23153
|
description: the parameter template of the engine mapping, has a higher priority than the parameterTemplate in standardDefinition
|
|
23133
23154
|
$ref: '#/components/schemas/dataChannelParameterOption'
|
|
@@ -28591,6 +28612,10 @@ components:
|
|
|
28591
28612
|
- kingbase
|
|
28592
28613
|
- postgresql
|
|
28593
28614
|
- oracle
|
|
28615
|
+
inspectionTaskItemEvidence:
|
|
28616
|
+
type: object
|
|
28617
|
+
description: Structured evidence explaining an inspection item result. Unavailable or invalid evidence is reported as unknown.
|
|
28618
|
+
additionalProperties: true
|
|
28594
28619
|
inspectionTaskItem:
|
|
28595
28620
|
properties:
|
|
28596
28621
|
id:
|
|
@@ -28617,6 +28642,8 @@ components:
|
|
|
28617
28642
|
type: string
|
|
28618
28643
|
severity:
|
|
28619
28644
|
type: string
|
|
28645
|
+
evidence:
|
|
28646
|
+
$ref: '#/components/schemas/inspectionTaskItemEvidence'
|
|
28620
28647
|
unit:
|
|
28621
28648
|
type: string
|
|
28622
28649
|
createdAt:
|
|
@@ -28652,8 +28679,11 @@ components:
|
|
|
28652
28679
|
type: boolean
|
|
28653
28680
|
score:
|
|
28654
28681
|
type: integer
|
|
28682
|
+
x-nullable: true
|
|
28683
|
+
description: Weighted health score from 0 to 100 over evaluable inspection items only. Unknown items are excluded. The field is omitted when no item is evaluable.
|
|
28655
28684
|
result:
|
|
28656
28685
|
type: string
|
|
28686
|
+
description: Task health conclusion. Valid conclusions are red, yellow, green, and unknown. Unknown means no item is evaluable.
|
|
28657
28687
|
items:
|
|
28658
28688
|
type: array
|
|
28659
28689
|
items:
|
|
@@ -28690,6 +28720,7 @@ components:
|
|
|
28690
28720
|
- green
|
|
28691
28721
|
- yellow
|
|
28692
28722
|
- red
|
|
28723
|
+
- unknown
|
|
28693
28724
|
aggregateTaskResultSummary:
|
|
28694
28725
|
type: object
|
|
28695
28726
|
properties:
|
|
@@ -28699,6 +28730,9 @@ components:
|
|
|
28699
28730
|
type: integer
|
|
28700
28731
|
normal:
|
|
28701
28732
|
type: integer
|
|
28733
|
+
unknown:
|
|
28734
|
+
type: integer
|
|
28735
|
+
description: Number of completed tasks with no evaluable inspection item.
|
|
28702
28736
|
aggregateTaskResult:
|
|
28703
28737
|
properties:
|
|
28704
28738
|
engine:
|