@alicloud/agentloop20260520 2.1.0 → 2.2.1
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 +135 -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/DataFilter.d.ts +1 -0
- package/dist/models/DataFilter.js +5 -0
- package/dist/models/DataFilter.js.map +1 -1
- 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/GetDatasetResponseBody.d.ts +1 -0
- package/dist/models/GetDatasetResponseBody.js +2 -0
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsRequest.d.ts +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +8 -7
- package/dist/models/ListDatasetsResponseBody.js +2 -0
- package/dist/models/ListDatasetsResponseBody.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/UpdateContextStoreRequest.d.ts +8 -3
- package/dist/models/UpdateContextStoreRequest.js +2 -0
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- 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 +2 -2
- package/src/client.ts +152 -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/DataFilter.ts +6 -0
- package/src/models/ExecuteQueryRequest.ts +3 -0
- package/src/models/GetDatasetResponseBody.ts +3 -0
- package/src/models/ListDatasetsRequest.ts +1 -1
- package/src/models/ListDatasetsResponseBody.ts +10 -7
- package/src/models/PreviewPipelineRequest.ts +234 -0
- package/src/models/PreviewPipelineResponse.ts +40 -0
- package/src/models/PreviewPipelineResponseBody.ts +238 -0
- package/src/models/UpdateContextStoreRequest.ts +10 -3
- package/src/models/model.ts +20 -0
|
@@ -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
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateContextStoreRequestConfigSource extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The AgentSpace where the trace data source resides. Cross-AgentSpace access is not supported. If specified,
|
|
8
|
+
* The AgentSpace where the trace data source resides. Cross-AgentSpace access is not supported. If specified, the value must be the same as the path AgentSpace. Otherwise, a 400 parameter error is returned. The AgentSpace cannot be changed after creation.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* my-agent-space
|
|
@@ -101,15 +101,20 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
101
101
|
contextType?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The description of the context store, which helps
|
|
104
|
+
* The description of the context store, which helps business users understand its purpose.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* 我的上下文库
|
|
108
108
|
*/
|
|
109
109
|
description?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @example
|
|
112
|
+
* Paused
|
|
113
|
+
*/
|
|
114
|
+
status?: string;
|
|
110
115
|
/**
|
|
111
116
|
* @remarks
|
|
112
|
-
* The idempotency token
|
|
117
|
+
* The idempotency token. A unique string generated by the client to ensure that the update operation is idempotent.
|
|
113
118
|
*
|
|
114
119
|
* @example
|
|
115
120
|
* a1b2c3d4-1234-5678-90ab-cdef12345678
|
|
@@ -120,6 +125,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
120
125
|
config: 'config',
|
|
121
126
|
contextType: 'contextType',
|
|
122
127
|
description: 'description',
|
|
128
|
+
status: 'status',
|
|
123
129
|
clientToken: 'clientToken',
|
|
124
130
|
};
|
|
125
131
|
}
|
|
@@ -129,6 +135,7 @@ export class UpdateContextStoreRequest extends $dara.Model {
|
|
|
129
135
|
config: UpdateContextStoreRequestConfig,
|
|
130
136
|
contextType: 'string',
|
|
131
137
|
description: 'string',
|
|
138
|
+
status: 'string',
|
|
132
139
|
clientToken: 'string',
|
|
133
140
|
};
|
|
134
141
|
}
|
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';
|