@alicloud/agentloop20260520 2.3.6 → 2.3.8
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 +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +148 -39
- package/dist/models/CreatePipelineRequest.js +76 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +157 -42
- package/dist/models/GetPipelineResponseBody.js +78 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
- package/dist/models/ListPipelinesResponseBody.js +102 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +21 -0
- package/dist/models/MetaSchemaValue.js +58 -0
- package/dist/models/MetaSchemaValue.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +91 -17
- package/dist/models/PreviewPipelineRequest.js +52 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
- package/dist/models/PreviewPipelineResponseBody.js +6 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/UpdateDatasetRequest.d.ts +33 -0
- package/dist/models/UpdateDatasetRequest.js +27 -1
- package/dist/models/UpdateDatasetRequest.js.map +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +140 -32
- package/dist/models/UpdatePipelineRequest.js +76 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +120 -86
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -12
- package/src/models/CreatePipelineRequest.ts +196 -39
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetPipelineResponseBody.ts +207 -42
- package/src/models/ListPipelinesResponseBody.ts +176 -0
- package/src/models/MetaSchemaValue.ts +34 -0
- package/src/models/PreviewPipelineRequest.ts +124 -17
- package/src/models/PreviewPipelineResponseBody.ts +48 -16
- package/src/models/UpdateDatasetRequest.ts +50 -0
- package/src/models/UpdatePipelineRequest.ts +188 -32
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +17 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { MetaSchemaValue } from "./MetaSchemaValue";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The aggregation analysis
|
|
9
|
+
* The SPL statement for aggregation analysis.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* * | SELECT status, count(*) AS cnt GROUP BY status
|
|
@@ -13,7 +14,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
13
14
|
aggQuery?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
*
|
|
17
|
+
* The list of data types for each column. This field provides a mapping from column names to data types, such as string, long, double, and json.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ["long","string"]
|
|
17
21
|
*/
|
|
18
22
|
columnTypes?: string[];
|
|
19
23
|
/**
|
|
@@ -26,7 +30,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
26
30
|
count?: number;
|
|
27
31
|
/**
|
|
28
32
|
* @remarks
|
|
29
|
-
* The number of CPU cores
|
|
33
|
+
* The number of consumed CPU cores.
|
|
30
34
|
*
|
|
31
35
|
* @example
|
|
32
36
|
* 2
|
|
@@ -34,7 +38,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
34
38
|
cpuCores?: number;
|
|
35
39
|
/**
|
|
36
40
|
* @remarks
|
|
37
|
-
* The CPU time
|
|
41
|
+
* The consumed CPU time in seconds.
|
|
38
42
|
*
|
|
39
43
|
* @example
|
|
40
44
|
* 0.5
|
|
@@ -42,7 +46,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
42
46
|
cpuSec?: number;
|
|
43
47
|
/**
|
|
44
48
|
* @remarks
|
|
45
|
-
* The query duration
|
|
49
|
+
* The query duration in milliseconds.
|
|
46
50
|
*
|
|
47
51
|
* @example
|
|
48
52
|
* 1200
|
|
@@ -50,22 +54,31 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
50
54
|
elapsedMillisecond?: number;
|
|
51
55
|
/**
|
|
52
56
|
* @remarks
|
|
53
|
-
*
|
|
57
|
+
* Specifies whether an SQL query is used.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* true
|
|
54
61
|
*/
|
|
55
62
|
hasSQL?: boolean;
|
|
56
63
|
/**
|
|
57
64
|
* @remarks
|
|
58
|
-
*
|
|
65
|
+
* Specifies whether nanosecond-level ordering is enabled.
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* true
|
|
59
69
|
*/
|
|
60
70
|
isAccurate?: boolean;
|
|
61
71
|
/**
|
|
62
72
|
* @remarks
|
|
63
73
|
* The list of result column names.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ["status","method","path"]
|
|
64
77
|
*/
|
|
65
78
|
keys?: string[];
|
|
66
79
|
/**
|
|
67
80
|
* @remarks
|
|
68
|
-
* The maximum number of rows
|
|
81
|
+
* The maximum number of rows returned in the result.
|
|
69
82
|
*
|
|
70
83
|
* @example
|
|
71
84
|
* 5
|
|
@@ -73,7 +86,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
73
86
|
limited?: number;
|
|
74
87
|
/**
|
|
75
88
|
* @remarks
|
|
76
|
-
* The query mode
|
|
89
|
+
* The identifier of the query mode.
|
|
77
90
|
*
|
|
78
91
|
* @example
|
|
79
92
|
* 1
|
|
@@ -81,7 +94,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
81
94
|
mode?: number;
|
|
82
95
|
/**
|
|
83
96
|
* @remarks
|
|
84
|
-
* The number of
|
|
97
|
+
* The number of bytes of processed data.
|
|
85
98
|
*
|
|
86
99
|
* @example
|
|
87
100
|
* 524288
|
|
@@ -97,7 +110,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
97
110
|
processedRows?: number;
|
|
98
111
|
/**
|
|
99
112
|
* @remarks
|
|
100
|
-
* The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is
|
|
113
|
+
* The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is completed.
|
|
101
114
|
*
|
|
102
115
|
* @example
|
|
103
116
|
* Complete
|
|
@@ -105,7 +118,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
105
118
|
progress?: string;
|
|
106
119
|
/**
|
|
107
120
|
* @remarks
|
|
108
|
-
* The number of raw data
|
|
121
|
+
* The number of bytes of scanned raw data.
|
|
109
122
|
*
|
|
110
123
|
* @example
|
|
111
124
|
* 1048576
|
|
@@ -113,12 +126,23 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
113
126
|
scanBytes?: number;
|
|
114
127
|
/**
|
|
115
128
|
* @remarks
|
|
116
|
-
* The type and
|
|
129
|
+
* The dataset schema of the final pipeline output. The keys are field names, and the type in the values supports text, long, double, and json. The field order is determined by the keys.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* {"status":{"type":"long"}}
|
|
133
|
+
*/
|
|
134
|
+
schema?: { [key: string]: MetaSchemaValue };
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* The column types and aggregation information.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* [{"column":"status","type":"long"}]
|
|
117
141
|
*/
|
|
118
142
|
terms?: { [key: string]: any }[];
|
|
119
143
|
/**
|
|
120
144
|
* @remarks
|
|
121
|
-
* The filter condition
|
|
145
|
+
* The SPL statement for the filter condition.
|
|
122
146
|
*
|
|
123
147
|
* @example
|
|
124
148
|
* status: 200
|
|
@@ -141,6 +165,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
141
165
|
processedRows: 'processedRows',
|
|
142
166
|
progress: 'progress',
|
|
143
167
|
scanBytes: 'scanBytes',
|
|
168
|
+
schema: 'schema',
|
|
144
169
|
terms: 'terms',
|
|
145
170
|
whereQuery: 'whereQuery',
|
|
146
171
|
};
|
|
@@ -163,6 +188,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
163
188
|
processedRows: 'number',
|
|
164
189
|
progress: 'string',
|
|
165
190
|
scanBytes: 'number',
|
|
191
|
+
schema: { 'type': 'map', 'keyType': 'string', 'valueType': MetaSchemaValue },
|
|
166
192
|
terms: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
167
193
|
whereQuery: 'string',
|
|
168
194
|
};
|
|
@@ -175,6 +201,9 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
175
201
|
if(Array.isArray(this.keys)) {
|
|
176
202
|
$dara.Model.validateArray(this.keys);
|
|
177
203
|
}
|
|
204
|
+
if(this.schema) {
|
|
205
|
+
$dara.Model.validateMap(this.schema);
|
|
206
|
+
}
|
|
178
207
|
if(Array.isArray(this.terms)) {
|
|
179
208
|
$dara.Model.validateArray(this.terms);
|
|
180
209
|
}
|
|
@@ -189,7 +218,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
189
218
|
export class PreviewPipelineResponseBody extends $dara.Model {
|
|
190
219
|
/**
|
|
191
220
|
* @remarks
|
|
192
|
-
*
|
|
221
|
+
* The collection of sample rows for the preview result. Each row is a key-value structure. The array contains only the first N rows, up to 5 rows by default, and does not reflect the complete write plan.
|
|
222
|
+
*
|
|
223
|
+
* @example
|
|
224
|
+
* [{"status":"200","method":"POST"}]
|
|
193
225
|
*/
|
|
194
226
|
data?: { [key: string]: string }[];
|
|
195
227
|
/**
|
|
@@ -199,7 +231,7 @@ export class PreviewPipelineResponseBody extends $dara.Model {
|
|
|
199
231
|
meta?: PreviewPipelineResponseBodyMeta;
|
|
200
232
|
/**
|
|
201
233
|
* @remarks
|
|
202
|
-
* The request ID
|
|
234
|
+
* The request ID. You can use this ID to locate the request when you troubleshoot issues.
|
|
203
235
|
*
|
|
204
236
|
* @example
|
|
205
237
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -3,6 +3,46 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
import { IndexKey } from "./IndexKey";
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
export class UpdateDatasetRequestRenames extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The new field name.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* t2
|
|
13
|
+
*/
|
|
14
|
+
newName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The original field name.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* t1
|
|
21
|
+
*/
|
|
22
|
+
oldName?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
newName: 'newName',
|
|
26
|
+
oldName: 'oldName',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
static types(): { [key: string]: any } {
|
|
31
|
+
return {
|
|
32
|
+
newName: 'string',
|
|
33
|
+
oldName: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
6
46
|
export class UpdateDatasetRequest extends $dara.Model {
|
|
7
47
|
/**
|
|
8
48
|
* @remarks
|
|
@@ -12,6 +52,11 @@ export class UpdateDatasetRequest extends $dara.Model {
|
|
|
12
52
|
* backend by serverless devs
|
|
13
53
|
*/
|
|
14
54
|
description?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The field renames for the dataset.
|
|
58
|
+
*/
|
|
59
|
+
renames?: UpdateDatasetRequestRenames[];
|
|
15
60
|
/**
|
|
16
61
|
* @remarks
|
|
17
62
|
* The table schema of the dataset.
|
|
@@ -28,6 +73,7 @@ export class UpdateDatasetRequest extends $dara.Model {
|
|
|
28
73
|
static names(): { [key: string]: string } {
|
|
29
74
|
return {
|
|
30
75
|
description: 'description',
|
|
76
|
+
renames: 'renames',
|
|
31
77
|
schema: 'schema',
|
|
32
78
|
clientToken: 'clientToken',
|
|
33
79
|
};
|
|
@@ -36,12 +82,16 @@ export class UpdateDatasetRequest extends $dara.Model {
|
|
|
36
82
|
static types(): { [key: string]: any } {
|
|
37
83
|
return {
|
|
38
84
|
description: 'string',
|
|
85
|
+
renames: { 'type': 'array', 'itemType': UpdateDatasetRequestRenames },
|
|
39
86
|
schema: { 'type': 'map', 'keyType': 'string', 'valueType': IndexKey },
|
|
40
87
|
clientToken: 'string',
|
|
41
88
|
};
|
|
42
89
|
}
|
|
43
90
|
|
|
44
91
|
validate() {
|
|
92
|
+
if(Array.isArray(this.renames)) {
|
|
93
|
+
$dara.Model.validateArray(this.renames);
|
|
94
|
+
}
|
|
45
95
|
if(this.schema) {
|
|
46
96
|
$dara.Model.validateMap(this.schema);
|
|
47
97
|
}
|