@alicloud/agentloop20260520 2.1.0 → 2.2.0
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/client.d.ts +52 -0
- package/dist/client.js +132 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +309 -0
- package/dist/models/CreatePipelineRequest.js +293 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -0
- package/dist/models/CreatePipelineResponse.d.ts +19 -0
- package/dist/models/CreatePipelineResponse.js +69 -0
- package/dist/models/CreatePipelineResponse.js.map +1 -0
- package/dist/models/CreatePipelineResponseBody.d.ts +21 -0
- package/dist/models/CreatePipelineResponseBody.js +58 -0
- package/dist/models/CreatePipelineResponseBody.js.map +1 -0
- package/dist/models/ExecuteQueryRequest.d.ts +1 -0
- package/dist/models/ExecuteQueryRequest.js +2 -0
- package/dist/models/ExecuteQueryRequest.js.map +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +152 -0
- package/dist/models/PreviewPipelineRequest.js +165 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -0
- package/dist/models/PreviewPipelineResponse.d.ts +19 -0
- package/dist/models/PreviewPipelineResponse.js +69 -0
- package/dist/models/PreviewPipelineResponse.js.map +1 -0
- package/dist/models/PreviewPipelineResponseBody.d.ts +168 -0
- package/dist/models/PreviewPipelineResponseBody.js +128 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +45 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +148 -0
- package/src/models/CreatePipelineRequest.ts +474 -0
- package/src/models/CreatePipelineResponse.ts +40 -0
- package/src/models/CreatePipelineResponseBody.ts +34 -0
- package/src/models/ExecuteQueryRequest.ts +3 -0
- package/src/models/PreviewPipelineRequest.ts +234 -0
- package/src/models/PreviewPipelineResponse.ts +40 -0
- package/src/models/PreviewPipelineResponseBody.ts +238 -0
- package/src/models/model.ts +20 -0
|
@@ -28,6 +28,7 @@ export class ExecuteQueryRequest extends $dara.Model {
|
|
|
28
28
|
* SQL
|
|
29
29
|
*/
|
|
30
30
|
type?: string;
|
|
31
|
+
version?: string;
|
|
31
32
|
static names(): { [key: string]: string } {
|
|
32
33
|
return {
|
|
33
34
|
from: 'from',
|
|
@@ -37,6 +38,7 @@ export class ExecuteQueryRequest extends $dara.Model {
|
|
|
37
38
|
query: 'query',
|
|
38
39
|
to: 'to',
|
|
39
40
|
type: 'type',
|
|
41
|
+
version: 'version',
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -49,6 +51,7 @@ export class ExecuteQueryRequest extends $dara.Model {
|
|
|
49
51
|
query: 'string',
|
|
50
52
|
to: 'number',
|
|
51
53
|
type: 'string',
|
|
54
|
+
version: 'string',
|
|
52
55
|
};
|
|
53
56
|
}
|
|
54
57
|
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The node ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* node-1
|
|
12
|
+
*/
|
|
13
|
+
id?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The node parameters in key-value structure. The parameters vary depending on the node type.
|
|
17
|
+
*/
|
|
18
|
+
parameters?: { [key: string]: any };
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The node type.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* transform
|
|
25
|
+
*/
|
|
26
|
+
type?: string;
|
|
27
|
+
static names(): { [key: string]: string } {
|
|
28
|
+
return {
|
|
29
|
+
id: 'id',
|
|
30
|
+
parameters: 'parameters',
|
|
31
|
+
type: 'type',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
id: 'string',
|
|
38
|
+
parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
39
|
+
type: 'string',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
validate() {
|
|
44
|
+
if(this.parameters) {
|
|
45
|
+
$dara.Model.validateMap(this.parameters);
|
|
46
|
+
}
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The list of nodes.
|
|
59
|
+
*/
|
|
60
|
+
nodes?: PreviewPipelineRequestPipelineNodes[];
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
nodes: 'nodes',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
nodes: { 'type': 'array', 'itemType': PreviewPipelineRequestPipelineNodes },
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
validate() {
|
|
74
|
+
if(Array.isArray(this.nodes)) {
|
|
75
|
+
$dara.Model.validateArray(this.nodes);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The name of the SLS Logstore.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* my-sls-logstore
|
|
92
|
+
*/
|
|
93
|
+
logstore?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The name of the SLS project.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* my-sls-project
|
|
100
|
+
*/
|
|
101
|
+
project?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The data filtered query statement in SLS query/analysis syntax.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* * | SELECT *
|
|
108
|
+
*/
|
|
109
|
+
query?: string;
|
|
110
|
+
static names(): { [key: string]: string } {
|
|
111
|
+
return {
|
|
112
|
+
logstore: 'logstore',
|
|
113
|
+
project: 'project',
|
|
114
|
+
query: 'query',
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
static types(): { [key: string]: any } {
|
|
119
|
+
return {
|
|
120
|
+
logstore: 'string',
|
|
121
|
+
project: 'string',
|
|
122
|
+
query: 'string',
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
validate() {
|
|
127
|
+
super.validate();
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
constructor(map?: { [key: string]: any }) {
|
|
131
|
+
super(map);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export class PreviewPipelineRequestSource extends $dara.Model {
|
|
136
|
+
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The SLS Logstore datasource config.
|
|
139
|
+
*/
|
|
140
|
+
logstore?: PreviewPipelineRequestSourceLogstore;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* The data source type. Currently, only Simple Log Service (SLS) is supported.
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* SLS
|
|
147
|
+
*/
|
|
148
|
+
type?: string;
|
|
149
|
+
static names(): { [key: string]: string } {
|
|
150
|
+
return {
|
|
151
|
+
logstore: 'logstore',
|
|
152
|
+
type: 'type',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
static types(): { [key: string]: any } {
|
|
157
|
+
return {
|
|
158
|
+
logstore: PreviewPipelineRequestSourceLogstore,
|
|
159
|
+
type: 'string',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
165
|
+
(this.logstore as any).validate();
|
|
166
|
+
}
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class PreviewPipelineRequest extends $dara.Model {
|
|
176
|
+
/**
|
|
177
|
+
* @remarks
|
|
178
|
+
* The start time of the preview data window, in UNIX seconds.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
* 1735660800
|
|
182
|
+
*/
|
|
183
|
+
fromTime?: number;
|
|
184
|
+
/**
|
|
185
|
+
* @remarks
|
|
186
|
+
* The pipeline configuration, which defines the node orchestration.
|
|
187
|
+
*/
|
|
188
|
+
pipeline?: PreviewPipelineRequestPipeline;
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The pipeline data source.
|
|
192
|
+
*/
|
|
193
|
+
source?: PreviewPipelineRequestSource;
|
|
194
|
+
/**
|
|
195
|
+
* @remarks
|
|
196
|
+
* The end time of the preview data window, in UNIX seconds.
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* 1735747200
|
|
200
|
+
*/
|
|
201
|
+
toTime?: number;
|
|
202
|
+
static names(): { [key: string]: string } {
|
|
203
|
+
return {
|
|
204
|
+
fromTime: 'fromTime',
|
|
205
|
+
pipeline: 'pipeline',
|
|
206
|
+
source: 'source',
|
|
207
|
+
toTime: 'toTime',
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
static types(): { [key: string]: any } {
|
|
212
|
+
return {
|
|
213
|
+
fromTime: 'number',
|
|
214
|
+
pipeline: PreviewPipelineRequestPipeline,
|
|
215
|
+
source: PreviewPipelineRequestSource,
|
|
216
|
+
toTime: 'number',
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
validate() {
|
|
221
|
+
if(this.pipeline && typeof (this.pipeline as any).validate === 'function') {
|
|
222
|
+
(this.pipeline as any).validate();
|
|
223
|
+
}
|
|
224
|
+
if(this.source && typeof (this.source as any).validate === 'function') {
|
|
225
|
+
(this.source as any).validate();
|
|
226
|
+
}
|
|
227
|
+
super.validate();
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
constructor(map?: { [key: string]: any }) {
|
|
231
|
+
super(map);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PreviewPipelineResponseBody } from "./PreviewPipelineResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PreviewPipelineResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PreviewPipelineResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: PreviewPipelineResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The aggregation analysis SPL statement.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* * | SELECT status, count(*) AS cnt GROUP BY status
|
|
12
|
+
*/
|
|
13
|
+
aggQuery?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The `meta.columnTypes` field provides a mapping from column names to data types (string / long / double / json).
|
|
17
|
+
*/
|
|
18
|
+
columnTypes?: string[];
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The number of matched log entries.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* 100
|
|
25
|
+
*/
|
|
26
|
+
count?: number;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The number of CPU cores consumed.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 2
|
|
33
|
+
*/
|
|
34
|
+
cpuCores?: number;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The CPU time consumed, in seconds.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* 0.5
|
|
41
|
+
*/
|
|
42
|
+
cpuSec?: number;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The query duration, in milliseconds.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* 1200
|
|
49
|
+
*/
|
|
50
|
+
elapsedMillisecond?: number;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* Indicates whether the query is an SQL query.
|
|
54
|
+
*/
|
|
55
|
+
hasSQL?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* Indicates whether nanosecond-level ordering is enabled.
|
|
59
|
+
*/
|
|
60
|
+
isAccurate?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The list of result column names.
|
|
64
|
+
*/
|
|
65
|
+
keys?: string[];
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The maximum number of result rows returned.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* 5
|
|
72
|
+
*/
|
|
73
|
+
limited?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The query mode identifier.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* 1
|
|
80
|
+
*/
|
|
81
|
+
mode?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The number of processed data bytes.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* 524288
|
|
88
|
+
*/
|
|
89
|
+
processedBytes?: number;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The number of processed log rows.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* 10000
|
|
96
|
+
*/
|
|
97
|
+
processedRows?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The SLS query progress. A value of Complete indicates that the query is complete.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* Complete
|
|
104
|
+
*/
|
|
105
|
+
progress?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The number of raw data bytes scanned.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* 1048576
|
|
112
|
+
*/
|
|
113
|
+
scanBytes?: number;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The column type and aggregation information.
|
|
117
|
+
*/
|
|
118
|
+
terms?: { [key: string]: any }[];
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The filter condition SPL statement.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* status: 200
|
|
125
|
+
*/
|
|
126
|
+
whereQuery?: string;
|
|
127
|
+
static names(): { [key: string]: string } {
|
|
128
|
+
return {
|
|
129
|
+
aggQuery: 'aggQuery',
|
|
130
|
+
columnTypes: 'columnTypes',
|
|
131
|
+
count: 'count',
|
|
132
|
+
cpuCores: 'cpuCores',
|
|
133
|
+
cpuSec: 'cpuSec',
|
|
134
|
+
elapsedMillisecond: 'elapsedMillisecond',
|
|
135
|
+
hasSQL: 'hasSQL',
|
|
136
|
+
isAccurate: 'isAccurate',
|
|
137
|
+
keys: 'keys',
|
|
138
|
+
limited: 'limited',
|
|
139
|
+
mode: 'mode',
|
|
140
|
+
processedBytes: 'processedBytes',
|
|
141
|
+
processedRows: 'processedRows',
|
|
142
|
+
progress: 'progress',
|
|
143
|
+
scanBytes: 'scanBytes',
|
|
144
|
+
terms: 'terms',
|
|
145
|
+
whereQuery: 'whereQuery',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static types(): { [key: string]: any } {
|
|
150
|
+
return {
|
|
151
|
+
aggQuery: 'string',
|
|
152
|
+
columnTypes: { 'type': 'array', 'itemType': 'string' },
|
|
153
|
+
count: 'number',
|
|
154
|
+
cpuCores: 'number',
|
|
155
|
+
cpuSec: 'number',
|
|
156
|
+
elapsedMillisecond: 'number',
|
|
157
|
+
hasSQL: 'boolean',
|
|
158
|
+
isAccurate: 'boolean',
|
|
159
|
+
keys: { 'type': 'array', 'itemType': 'string' },
|
|
160
|
+
limited: 'number',
|
|
161
|
+
mode: 'number',
|
|
162
|
+
processedBytes: 'number',
|
|
163
|
+
processedRows: 'number',
|
|
164
|
+
progress: 'string',
|
|
165
|
+
scanBytes: 'number',
|
|
166
|
+
terms: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
167
|
+
whereQuery: 'string',
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
validate() {
|
|
172
|
+
if(Array.isArray(this.columnTypes)) {
|
|
173
|
+
$dara.Model.validateArray(this.columnTypes);
|
|
174
|
+
}
|
|
175
|
+
if(Array.isArray(this.keys)) {
|
|
176
|
+
$dara.Model.validateArray(this.keys);
|
|
177
|
+
}
|
|
178
|
+
if(Array.isArray(this.terms)) {
|
|
179
|
+
$dara.Model.validateArray(this.terms);
|
|
180
|
+
}
|
|
181
|
+
super.validate();
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
constructor(map?: { [key: string]: any }) {
|
|
185
|
+
super(map);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export class PreviewPipelineResponseBody extends $dara.Model {
|
|
190
|
+
/**
|
|
191
|
+
* @remarks
|
|
192
|
+
* The `data` field is a collection of sample rows (an array of maps) that contains only the first N rows (up to 5 by default) and does not reflect the complete write plan.
|
|
193
|
+
*/
|
|
194
|
+
data?: { [key: string]: string }[];
|
|
195
|
+
/**
|
|
196
|
+
* @remarks
|
|
197
|
+
* The query metadata.
|
|
198
|
+
*/
|
|
199
|
+
meta?: PreviewPipelineResponseBodyMeta;
|
|
200
|
+
/**
|
|
201
|
+
* @remarks
|
|
202
|
+
* The request ID, which is used to locate and troubleshoot issues.
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
206
|
+
*/
|
|
207
|
+
requestId?: string;
|
|
208
|
+
static names(): { [key: string]: string } {
|
|
209
|
+
return {
|
|
210
|
+
data: 'data',
|
|
211
|
+
meta: 'meta',
|
|
212
|
+
requestId: 'requestId',
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
static types(): { [key: string]: any } {
|
|
217
|
+
return {
|
|
218
|
+
data: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
219
|
+
meta: PreviewPipelineResponseBodyMeta,
|
|
220
|
+
requestId: 'string',
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
validate() {
|
|
225
|
+
if(Array.isArray(this.data)) {
|
|
226
|
+
$dara.Model.validateArray(this.data);
|
|
227
|
+
}
|
|
228
|
+
if(this.meta && typeof (this.meta as any).validate === 'function') {
|
|
229
|
+
(this.meta as any).validate();
|
|
230
|
+
}
|
|
231
|
+
super.validate();
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
constructor(map?: { [key: string]: any }) {
|
|
235
|
+
super(map);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
export { CreateContextStoreRequestConfigSource } from './CreateContextStoreRequest';
|
|
2
2
|
export { CreateContextStoreRequestConfig } from './CreateContextStoreRequest';
|
|
3
3
|
export { CreateEvaluatorSkillRequestFiles } from './CreateEvaluatorSkillRequest';
|
|
4
|
+
export { CreatePipelineRequestExecutePolicyRunOnce } from './CreatePipelineRequest';
|
|
5
|
+
export { CreatePipelineRequestExecutePolicyScheduled } from './CreatePipelineRequest';
|
|
6
|
+
export { CreatePipelineRequestExecutePolicy } from './CreatePipelineRequest';
|
|
7
|
+
export { CreatePipelineRequestPipelineNodes } from './CreatePipelineRequest';
|
|
8
|
+
export { CreatePipelineRequestPipeline } from './CreatePipelineRequest';
|
|
9
|
+
export { CreatePipelineRequestSinkDataset } from './CreatePipelineRequest';
|
|
10
|
+
export { CreatePipelineRequestSink } from './CreatePipelineRequest';
|
|
11
|
+
export { CreatePipelineRequestSourceLogstore } from './CreatePipelineRequest';
|
|
12
|
+
export { CreatePipelineRequestSource } from './CreatePipelineRequest';
|
|
4
13
|
export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
|
|
5
14
|
export { ExecuteQueryResponseBodyMetaTruncation } from './ExecuteQueryResponseBody';
|
|
6
15
|
export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
|
|
@@ -38,6 +47,11 @@ export { ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce } from './ListPi
|
|
|
38
47
|
export { ListPipelinesResponseBodyPipelinesExecutePolicyScheduled } from './ListPipelinesResponseBody';
|
|
39
48
|
export { ListPipelinesResponseBodyPipelinesExecutePolicy } from './ListPipelinesResponseBody';
|
|
40
49
|
export { ListPipelinesResponseBodyPipelines } from './ListPipelinesResponseBody';
|
|
50
|
+
export { PreviewPipelineRequestPipelineNodes } from './PreviewPipelineRequest';
|
|
51
|
+
export { PreviewPipelineRequestPipeline } from './PreviewPipelineRequest';
|
|
52
|
+
export { PreviewPipelineRequestSourceLogstore } from './PreviewPipelineRequest';
|
|
53
|
+
export { PreviewPipelineRequestSource } from './PreviewPipelineRequest';
|
|
54
|
+
export { PreviewPipelineResponseBodyMeta } from './PreviewPipelineResponseBody';
|
|
41
55
|
export { RunPipelineRequestOutput } from './RunPipelineRequest';
|
|
42
56
|
export { UpdateContextStoreRequestConfigSource } from './UpdateContextStoreRequest';
|
|
43
57
|
export { UpdateContextStoreRequestConfig } from './UpdateContextStoreRequest';
|
|
@@ -93,6 +107,9 @@ export { CreateEvaluatorResponse } from './CreateEvaluatorResponse';
|
|
|
93
107
|
export { CreateEvaluatorSkillRequest } from './CreateEvaluatorSkillRequest';
|
|
94
108
|
export { CreateEvaluatorSkillResponseBody } from './CreateEvaluatorSkillResponseBody';
|
|
95
109
|
export { CreateEvaluatorSkillResponse } from './CreateEvaluatorSkillResponse';
|
|
110
|
+
export { CreatePipelineRequest } from './CreatePipelineRequest';
|
|
111
|
+
export { CreatePipelineResponseBody } from './CreatePipelineResponseBody';
|
|
112
|
+
export { CreatePipelineResponse } from './CreatePipelineResponse';
|
|
96
113
|
export { DeleteAgentSpaceRequest } from './DeleteAgentSpaceRequest';
|
|
97
114
|
export { DeleteAgentSpaceResponseBody } from './DeleteAgentSpaceResponseBody';
|
|
98
115
|
export { DeleteAgentSpaceResponse } from './DeleteAgentSpaceResponse';
|
|
@@ -192,6 +209,9 @@ export { ListPipelinesResponse } from './ListPipelinesResponse';
|
|
|
192
209
|
export { PausePipelineRequest } from './PausePipelineRequest';
|
|
193
210
|
export { PausePipelineResponseBody } from './PausePipelineResponseBody';
|
|
194
211
|
export { PausePipelineResponse } from './PausePipelineResponse';
|
|
212
|
+
export { PreviewPipelineRequest } from './PreviewPipelineRequest';
|
|
213
|
+
export { PreviewPipelineResponseBody } from './PreviewPipelineResponseBody';
|
|
214
|
+
export { PreviewPipelineResponse } from './PreviewPipelineResponse';
|
|
195
215
|
export { ResumePipelineRequest } from './ResumePipelineRequest';
|
|
196
216
|
export { ResumePipelineResponseBody } from './ResumePipelineResponseBody';
|
|
197
217
|
export { ResumePipelineResponse } from './ResumePipelineResponse';
|