@alicloud/agentloop20260520 2.7.1 → 2.8.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 +172 -20
- package/dist/client.js +229 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/CreatePipelineRequest.d.ts +41 -32
- package/dist/models/CreatePipelineRequest.js +6 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/GetPipelineResponseBody.d.ts +51 -42
- package/dist/models/GetPipelineResponseBody.js +6 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
- package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +5 -17
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
- package/dist/models/ListPipelinesResponseBody.js +6 -0
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/PipelineOssSource.d.ts +69 -0
- package/dist/models/PipelineOssSource.js +69 -0
- package/dist/models/PipelineOssSource.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +24 -15
- package/dist/models/PreviewPipelineRequest.js +6 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
- package/dist/models/PreviewPipelineResponseBody.js +4 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/RunPipelineRequest.d.ts +3 -3
- package/dist/models/RunPipelineResponseBody.d.ts +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +44 -36
- package/dist/models/UpdatePipelineRequest.js +6 -0
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +22 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +235 -20
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/CreatePipelineRequest.ts +46 -32
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/GetPipelineResponseBody.ts +56 -42
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/ListPipelineRunsRequest.ts +1 -1
- package/src/models/ListPipelineRunsResponseBody.ts +8 -6
- package/src/models/ListPipelinesRequest.ts +5 -17
- package/src/models/ListPipelinesResponseBody.ts +50 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +29 -15
- package/src/models/PreviewPipelineResponseBody.ts +32 -12
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +49 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +8 -0
|
@@ -6,7 +6,7 @@ import { MetaSchemaValue } from "./MetaSchemaValue";
|
|
|
6
6
|
export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The SPL statement for aggregation analysis.
|
|
9
|
+
* The Search Processing Language (SPL) statement for aggregation analysis.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* * | SELECT status, count(*) AS cnt GROUP BY status
|
|
@@ -14,7 +14,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
14
14
|
aggQuery?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
*
|
|
17
|
+
* meta.columnTypes provides a mapping from column names to data types, such as string, long, double, and json.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* ["long","string"]
|
|
@@ -54,7 +54,15 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
54
54
|
elapsedMillisecond?: number;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
*
|
|
57
|
+
* The number of rows that failed to be processed in the preview sample. This field is omitted if it is not counted or the count is 0.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* 1
|
|
61
|
+
*/
|
|
62
|
+
failedRows?: number;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* Specifies whether an SQL query is used.
|
|
58
66
|
*
|
|
59
67
|
* @example
|
|
60
68
|
* true
|
|
@@ -62,7 +70,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
62
70
|
hasSQL?: boolean;
|
|
63
71
|
/**
|
|
64
72
|
* @remarks
|
|
65
|
-
*
|
|
73
|
+
* Specifies whether nanosecond-level ordering is enabled.
|
|
66
74
|
*
|
|
67
75
|
* @example
|
|
68
76
|
* true
|
|
@@ -78,7 +86,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
78
86
|
keys?: string[];
|
|
79
87
|
/**
|
|
80
88
|
* @remarks
|
|
81
|
-
* The maximum number of returned rows.
|
|
89
|
+
* The maximum number of returned result rows.
|
|
82
90
|
*
|
|
83
91
|
* @example
|
|
84
92
|
* 5
|
|
@@ -94,7 +102,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
94
102
|
mode?: number;
|
|
95
103
|
/**
|
|
96
104
|
* @remarks
|
|
97
|
-
* The number of processed data
|
|
105
|
+
* The number of bytes of processed data.
|
|
98
106
|
*
|
|
99
107
|
* @example
|
|
100
108
|
* 524288
|
|
@@ -110,7 +118,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
110
118
|
processedRows?: number;
|
|
111
119
|
/**
|
|
112
120
|
* @remarks
|
|
113
|
-
* The
|
|
121
|
+
* The SLS query progress. A value of Complete indicates that the query is completed.
|
|
114
122
|
*
|
|
115
123
|
* @example
|
|
116
124
|
* Complete
|
|
@@ -118,7 +126,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
118
126
|
progress?: string;
|
|
119
127
|
/**
|
|
120
128
|
* @remarks
|
|
121
|
-
* The number of scanned raw data
|
|
129
|
+
* The number of bytes of scanned raw data.
|
|
122
130
|
*
|
|
123
131
|
* @example
|
|
124
132
|
* 1048576
|
|
@@ -126,12 +134,20 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
126
134
|
scanBytes?: number;
|
|
127
135
|
/**
|
|
128
136
|
* @remarks
|
|
129
|
-
* The dataset schema
|
|
137
|
+
* The dataset schema of the final pipeline output. The key is the field name, and the type in the value supports text, long, double, and json. The field order is determined by keys.
|
|
130
138
|
*
|
|
131
139
|
* @example
|
|
132
140
|
* {"status":{"type":"long"}}
|
|
133
141
|
*/
|
|
134
142
|
schema?: { [key: string]: MetaSchemaValue };
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The number of rows skipped in the preview sample, such as rows filtered by the processing chain. This field is omitted if it is not counted or the count is 0.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* 2
|
|
149
|
+
*/
|
|
150
|
+
skippedRows?: number;
|
|
135
151
|
/**
|
|
136
152
|
* @remarks
|
|
137
153
|
* The column types and aggregation information.
|
|
@@ -142,7 +158,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
142
158
|
terms?: { [key: string]: any }[];
|
|
143
159
|
/**
|
|
144
160
|
* @remarks
|
|
145
|
-
* The SPL statement for
|
|
161
|
+
* The SPL statement for filter conditions.
|
|
146
162
|
*
|
|
147
163
|
* @example
|
|
148
164
|
* status: 200
|
|
@@ -156,6 +172,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
156
172
|
cpuCores: 'cpuCores',
|
|
157
173
|
cpuSec: 'cpuSec',
|
|
158
174
|
elapsedMillisecond: 'elapsedMillisecond',
|
|
175
|
+
failedRows: 'failedRows',
|
|
159
176
|
hasSQL: 'hasSQL',
|
|
160
177
|
isAccurate: 'isAccurate',
|
|
161
178
|
keys: 'keys',
|
|
@@ -166,6 +183,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
166
183
|
progress: 'progress',
|
|
167
184
|
scanBytes: 'scanBytes',
|
|
168
185
|
schema: 'schema',
|
|
186
|
+
skippedRows: 'skippedRows',
|
|
169
187
|
terms: 'terms',
|
|
170
188
|
whereQuery: 'whereQuery',
|
|
171
189
|
};
|
|
@@ -179,6 +197,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
179
197
|
cpuCores: 'number',
|
|
180
198
|
cpuSec: 'number',
|
|
181
199
|
elapsedMillisecond: 'number',
|
|
200
|
+
failedRows: 'number',
|
|
182
201
|
hasSQL: 'boolean',
|
|
183
202
|
isAccurate: 'boolean',
|
|
184
203
|
keys: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -189,6 +208,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
189
208
|
progress: 'string',
|
|
190
209
|
scanBytes: 'number',
|
|
191
210
|
schema: { 'type': 'map', 'keyType': 'string', 'valueType': MetaSchemaValue },
|
|
211
|
+
skippedRows: 'number',
|
|
192
212
|
terms: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
193
213
|
whereQuery: 'string',
|
|
194
214
|
};
|
|
@@ -218,10 +238,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
218
238
|
export class PreviewPipelineResponseBody extends $dara.Model {
|
|
219
239
|
/**
|
|
220
240
|
* @remarks
|
|
221
|
-
*
|
|
241
|
+
* data is a collection of sample rows (maps in an array) and contains only the first N rows (up to 5 rows by default). It does not reflect the complete write plan.
|
|
222
242
|
*
|
|
223
243
|
* @example
|
|
224
|
-
* [{
|
|
244
|
+
* [{"status":"200","method":"POST"}]
|
|
225
245
|
*/
|
|
226
246
|
data?: { [key: string]: string }[];
|
|
227
247
|
/**
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RemoveAuditConversionSourceRequest extends $dara.Model {
|
|
6
|
+
static names(): { [key: string]: string } {
|
|
7
|
+
return {
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
static types(): { [key: string]: any } {
|
|
12
|
+
return {
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
validate() {
|
|
17
|
+
super.validate();
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
constructor(map?: { [key: string]: any }) {
|
|
21
|
+
super(map);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RemoveAuditConversionSourceResponse extends $dara.Model {
|
|
6
|
+
headers?: { [key: string]: string };
|
|
7
|
+
statusCode?: number;
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
headers: 'headers',
|
|
11
|
+
statusCode: 'statusCode',
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
static types(): { [key: string]: any } {
|
|
16
|
+
return {
|
|
17
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
18
|
+
statusCode: 'number',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
validate() {
|
|
23
|
+
if(this.headers) {
|
|
24
|
+
$dara.Model.validateMap(this.headers);
|
|
25
|
+
}
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -45,7 +45,7 @@ export class RunPipelineRequestOutput extends $dara.Model {
|
|
|
45
45
|
export class RunPipelineRequest extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The start time of the data processing window in UNIX seconds. This parameter is required for SQL pipelines and time window-based WorkItem sources. It can be omitted for checkpoint-based WorkItem sources such as Dataset and Logstore Pull.
|
|
48
|
+
* The start time of the data processing window, in UNIX seconds. This parameter is required for SQL pipelines and time window-based WorkItem sources. It can be omitted for checkpoint-based WorkItem sources such as Dataset and Logstore Pull.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1735660800
|
|
@@ -53,12 +53,12 @@ export class RunPipelineRequest extends $dara.Model {
|
|
|
53
53
|
fromTime?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The output control settings. SQL pipelines support overriding these settings. WorkItem pipelines use the saved sink
|
|
56
|
+
* The output control settings. SQL pipelines support overriding these settings. WorkItem pipelines use the saved sink configuration and must retain the default values.
|
|
57
57
|
*/
|
|
58
58
|
output?: RunPipelineRequestOutput;
|
|
59
59
|
/**
|
|
60
60
|
* @remarks
|
|
61
|
-
* The end time of the data processing window in UNIX seconds.
|
|
61
|
+
* The end time of the data processing window, in UNIX seconds. When a time window is applicable, this parameter must be provided together with fromTime and must be greater than fromTime. It can be omitted for checkpoint-based WorkItem sources.
|
|
62
62
|
*
|
|
63
63
|
* @example
|
|
64
64
|
* 1735747200
|
|
@@ -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 { PipelineOssSource } from "./PipelineOssSource";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class UpdatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The bootstrap start time
|
|
9
|
+
* The bootstrap start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* 1735660800
|
|
@@ -35,18 +36,18 @@ export class UpdatePipelineRequestExecutePolicyContinuous extends $dara.Model {
|
|
|
35
36
|
export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
36
37
|
/**
|
|
37
38
|
* @remarks
|
|
38
|
-
* The start time of
|
|
39
|
+
* The start time of data processing. The value is a UNIX timestamp in milliseconds.
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
41
|
-
*
|
|
42
|
+
* 1735660800000
|
|
42
43
|
*/
|
|
43
44
|
fromTime?: number;
|
|
44
45
|
/**
|
|
45
46
|
* @remarks
|
|
46
|
-
* The end time of
|
|
47
|
+
* The end time of data processing. The value is a UNIX timestamp in milliseconds.
|
|
47
48
|
*
|
|
48
49
|
* @example
|
|
49
|
-
*
|
|
50
|
+
* 1735747200000
|
|
50
51
|
*/
|
|
51
52
|
toTime?: number;
|
|
52
53
|
static names(): { [key: string]: string } {
|
|
@@ -75,15 +76,15 @@ export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
|
|
|
75
76
|
export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
76
77
|
/**
|
|
77
78
|
* @remarks
|
|
78
|
-
* The
|
|
79
|
+
* The start time of scheduling. The value is a UNIX timestamp in milliseconds.
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
*
|
|
82
|
+
* 1735660800000
|
|
82
83
|
*/
|
|
83
84
|
fromTime?: number;
|
|
84
85
|
/**
|
|
85
86
|
* @remarks
|
|
86
|
-
* The scheduling interval
|
|
87
|
+
* The scheduling interval, such as 1h.
|
|
87
88
|
*
|
|
88
89
|
* @example
|
|
89
90
|
* 1h
|
|
@@ -115,7 +116,7 @@ export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
|
|
|
115
116
|
export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
116
117
|
/**
|
|
117
118
|
* @remarks
|
|
118
|
-
* The continuous execution configuration. This parameter is used when
|
|
119
|
+
* The continuous execution configuration. This parameter is used when type is set to trace. The processing frequency is a fixed value managed by the server.
|
|
119
120
|
*
|
|
120
121
|
* @example
|
|
121
122
|
* {"fromTime":1735660800}
|
|
@@ -123,7 +124,9 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
123
124
|
continuous?: UpdatePipelineRequestExecutePolicyContinuous;
|
|
124
125
|
/**
|
|
125
126
|
* @remarks
|
|
126
|
-
* The scheduling mode
|
|
127
|
+
* The scheduling mode is determined by the configuration during creation. Update requests must omit executePolicy.mode. Even if the passed value is the same as the original configuration, a 400 InvalidParameter error is returned.
|
|
128
|
+
*
|
|
129
|
+
* The Scheduled example illustrates the scheduling modes that can be set during creation. You must omit mode when calling UpdatePipeline.
|
|
127
130
|
*
|
|
128
131
|
* @example
|
|
129
132
|
* Scheduled
|
|
@@ -131,7 +134,7 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
131
134
|
mode?: string;
|
|
132
135
|
/**
|
|
133
136
|
* @remarks
|
|
134
|
-
* The
|
|
137
|
+
* The configuration for one-time execution.
|
|
135
138
|
*
|
|
136
139
|
* @example
|
|
137
140
|
* {"fromTime":1735660800,"toTime":1735664400}
|
|
@@ -139,7 +142,7 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
|
|
|
139
142
|
runOnce?: UpdatePipelineRequestExecutePolicyRunOnce;
|
|
140
143
|
/**
|
|
141
144
|
* @remarks
|
|
142
|
-
* The
|
|
145
|
+
* The timed scheduling configuration.
|
|
143
146
|
*
|
|
144
147
|
* @example
|
|
145
148
|
* {"interval":"1h","fromTime":1735660800}
|
|
@@ -192,7 +195,7 @@ export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
|
|
|
192
195
|
id?: string;
|
|
193
196
|
/**
|
|
194
197
|
* @remarks
|
|
195
|
-
* The parameters of the node.
|
|
198
|
+
* The parameters of the node. This is a key-value structure that varies based on the node type.
|
|
196
199
|
*/
|
|
197
200
|
parameters?: { [key: string]: any };
|
|
198
201
|
/**
|
|
@@ -387,7 +390,7 @@ export class UpdatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
|
|
|
387
390
|
export class UpdatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
|
|
388
391
|
/**
|
|
389
392
|
* @remarks
|
|
390
|
-
* The destination dataset
|
|
393
|
+
* The route destination dataset.
|
|
391
394
|
*/
|
|
392
395
|
dataset?: UpdatePipelineRequestSinkConditionRoutesSinkDataset;
|
|
393
396
|
/**
|
|
@@ -443,7 +446,7 @@ export class UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
443
446
|
id?: string;
|
|
444
447
|
/**
|
|
445
448
|
* @remarks
|
|
446
|
-
* The
|
|
449
|
+
* The write destination of the route.
|
|
447
450
|
*/
|
|
448
451
|
sink?: UpdatePipelineRequestSinkConditionRoutesSink;
|
|
449
452
|
static names(): { [key: string]: string } {
|
|
@@ -477,7 +480,7 @@ export class UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
|
|
|
477
480
|
export class UpdatePipelineRequestSinkCondition extends $dara.Model {
|
|
478
481
|
/**
|
|
479
482
|
* @remarks
|
|
480
|
-
* The default
|
|
483
|
+
* The default write destination used when no conditional route is matched.
|
|
481
484
|
*/
|
|
482
485
|
defaultSink?: UpdatePipelineRequestSinkConditionDefaultSink;
|
|
483
486
|
/**
|
|
@@ -572,15 +575,15 @@ export class UpdatePipelineRequestSink extends $dara.Model {
|
|
|
572
575
|
condition?: UpdatePipelineRequestSinkCondition;
|
|
573
576
|
/**
|
|
574
577
|
* @remarks
|
|
575
|
-
* The destination dataset configuration
|
|
578
|
+
* The destination dataset configuration.
|
|
576
579
|
*/
|
|
577
580
|
dataset?: UpdatePipelineRequestSinkDataset;
|
|
578
581
|
/**
|
|
579
582
|
* @remarks
|
|
580
|
-
* The destination type
|
|
583
|
+
* The destination type, such as Dataset.
|
|
581
584
|
*
|
|
582
585
|
* @example
|
|
583
|
-
*
|
|
586
|
+
* Dataset
|
|
584
587
|
*/
|
|
585
588
|
type?: string;
|
|
586
589
|
static names(): { [key: string]: string } {
|
|
@@ -625,7 +628,7 @@ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
|
|
|
625
628
|
dataset?: string;
|
|
626
629
|
/**
|
|
627
630
|
* @remarks
|
|
628
|
-
* The data
|
|
631
|
+
* The data filtering conditions for the dataset.
|
|
629
632
|
*
|
|
630
633
|
* @example
|
|
631
634
|
* status = \"pending\"
|
|
@@ -713,7 +716,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
713
716
|
project?: string;
|
|
714
717
|
/**
|
|
715
718
|
* @remarks
|
|
716
|
-
* The filtered query statement
|
|
719
|
+
* The filtered query statement (SLS query and analysis syntax).
|
|
717
720
|
*
|
|
718
721
|
* @example
|
|
719
722
|
* * | SELECT *
|
|
@@ -747,7 +750,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
|
|
|
747
750
|
export class UpdatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
748
751
|
/**
|
|
749
752
|
* @remarks
|
|
750
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single
|
|
753
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed single column named agent_trajectory, and this parameter no longer affects the output.
|
|
751
754
|
*
|
|
752
755
|
* @example
|
|
753
756
|
* ["input","output","session_id"]
|
|
@@ -790,7 +793,7 @@ export class UpdatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
790
793
|
export class UpdatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
791
794
|
/**
|
|
792
795
|
* @remarks
|
|
793
|
-
* The trajectory enrichment. It mounts trajectory data into the
|
|
796
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleaning results by trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
794
797
|
*
|
|
795
798
|
* @example
|
|
796
799
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -823,7 +826,7 @@ export class UpdatePipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
823
826
|
export class UpdatePipelineRequestSource extends $dara.Model {
|
|
824
827
|
/**
|
|
825
828
|
* @remarks
|
|
826
|
-
* The
|
|
829
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
827
830
|
*
|
|
828
831
|
* @example
|
|
829
832
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -831,7 +834,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
831
834
|
dataset?: UpdatePipelineRequestSourceDataset;
|
|
832
835
|
/**
|
|
833
836
|
* @remarks
|
|
834
|
-
* The input fields and their types.
|
|
837
|
+
* The input fields and their types. For OSS sources, fields are inferred from the file structure. Omit this field for OSS sources.
|
|
835
838
|
*
|
|
836
839
|
* @example
|
|
837
840
|
* [{"name":"question","type":"text"}]
|
|
@@ -839,7 +842,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
839
842
|
inputFields?: UpdatePipelineRequestSourceInputFields[];
|
|
840
843
|
/**
|
|
841
844
|
* @remarks
|
|
842
|
-
* The
|
|
845
|
+
* The SLS Logstore datasource config.
|
|
843
846
|
*
|
|
844
847
|
* @example
|
|
845
848
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -847,7 +850,15 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
847
850
|
logstore?: UpdatePipelineRequestSourceLogstore;
|
|
848
851
|
/**
|
|
849
852
|
* @remarks
|
|
850
|
-
* The
|
|
853
|
+
* The OSS data source configuration. This can be omitted when updating an OSS pipeline. If provided, it must match the saved source configuration. When `source.type` is `oss`, the `format`, `region`, `roleArn`, and `uri` fields in `source.oss` are required. `formatOptions` can be omitted or passed as an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error.
|
|
854
|
+
*
|
|
855
|
+
* @example
|
|
856
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
857
|
+
*/
|
|
858
|
+
oss?: PipelineOssSource;
|
|
859
|
+
/**
|
|
860
|
+
* @remarks
|
|
861
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when the type is trace. It retrieves ATIF standard trajectory data from the trajectory cleaning service and extends it by feature.
|
|
851
862
|
*
|
|
852
863
|
* @example
|
|
853
864
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -855,10 +866,10 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
855
866
|
trajectory?: UpdatePipelineRequestSourceTrajectory;
|
|
856
867
|
/**
|
|
857
868
|
* @remarks
|
|
858
|
-
* The data source type. Valid values: logstore, dataset, and
|
|
869
|
+
* The data source type. Valid values: logstore, dataset, trace, and oss. The trace value indicates a trace signal-driven processing mode. The server validates the enum values.
|
|
859
870
|
*
|
|
860
871
|
* @example
|
|
861
|
-
*
|
|
872
|
+
* logstore
|
|
862
873
|
*/
|
|
863
874
|
type?: string;
|
|
864
875
|
static names(): { [key: string]: string } {
|
|
@@ -866,6 +877,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
866
877
|
dataset: 'dataset',
|
|
867
878
|
inputFields: 'inputFields',
|
|
868
879
|
logstore: 'logstore',
|
|
880
|
+
oss: 'oss',
|
|
869
881
|
trajectory: 'trajectory',
|
|
870
882
|
type: 'type',
|
|
871
883
|
};
|
|
@@ -876,6 +888,7 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
876
888
|
dataset: UpdatePipelineRequestSourceDataset,
|
|
877
889
|
inputFields: { 'type': 'array', 'itemType': UpdatePipelineRequestSourceInputFields },
|
|
878
890
|
logstore: UpdatePipelineRequestSourceLogstore,
|
|
891
|
+
oss: PipelineOssSource,
|
|
879
892
|
trajectory: UpdatePipelineRequestSourceTrajectory,
|
|
880
893
|
type: 'string',
|
|
881
894
|
};
|
|
@@ -891,6 +904,9 @@ export class UpdatePipelineRequestSource extends $dara.Model {
|
|
|
891
904
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
892
905
|
(this.logstore as any).validate();
|
|
893
906
|
}
|
|
907
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
908
|
+
(this.oss as any).validate();
|
|
909
|
+
}
|
|
894
910
|
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
895
911
|
(this.trajectory as any).validate();
|
|
896
912
|
}
|
|
@@ -913,25 +929,22 @@ export class UpdatePipelineRequest extends $dara.Model {
|
|
|
913
929
|
description?: string;
|
|
914
930
|
/**
|
|
915
931
|
* @remarks
|
|
916
|
-
* The scheduling
|
|
917
|
-
*
|
|
918
|
-
* @example
|
|
919
|
-
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
932
|
+
* The scheduling configuration is merged based on the saved scheduling method. The scheduling mode is determined by the configuration during creation. Update requests must omit executePolicy.mode. Even if the passed value is the same as the original configuration, a 400 InvalidParameter error is returned. For OSS pipelines, the entire executePolicy can be omitted.
|
|
920
933
|
*/
|
|
921
934
|
executePolicy?: UpdatePipelineRequestExecutePolicy;
|
|
922
935
|
/**
|
|
923
936
|
* @remarks
|
|
924
|
-
* The pipeline configuration
|
|
937
|
+
* The pipeline configuration for node orchestration. If provided, it overwrites the entire existing configuration.
|
|
925
938
|
*/
|
|
926
939
|
pipeline?: UpdatePipelineRequestPipeline;
|
|
927
940
|
/**
|
|
928
941
|
* @remarks
|
|
929
|
-
* The pipeline
|
|
942
|
+
* The pipeline destination (data write destination). If specified, the entire destination configuration is overwritten.
|
|
930
943
|
*/
|
|
931
944
|
sink?: UpdatePipelineRequestSink;
|
|
932
945
|
/**
|
|
933
946
|
* @remarks
|
|
934
|
-
* The pipeline
|
|
947
|
+
* The data source of the pipeline. The OSS source is fixed after creation and can be omitted when updating an OSS pipeline. If provided, it must match the saved source. To change the source or processing chain, create a new OSS import.
|
|
935
948
|
*
|
|
936
949
|
* @example
|
|
937
950
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdatePipelineResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The request ID, used to locate the request
|
|
8
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
package/src/models/model.ts
CHANGED
|
@@ -213,11 +213,14 @@ export { IndexJsonKey } from './IndexJsonKey';
|
|
|
213
213
|
export { IndexKey } from './IndexKey';
|
|
214
214
|
export { ModelParameters } from './ModelParameters';
|
|
215
215
|
export { OfflineExperimentConfig } from './OfflineExperimentConfig';
|
|
216
|
+
export { PipelineOssSource } from './PipelineOssSource';
|
|
216
217
|
export { PromptTemplateItem } from './PromptTemplateItem';
|
|
217
218
|
export { RunStrategies } from './RunStrategies';
|
|
218
219
|
export { SelectedDataStrategy } from './SelectedDataStrategy';
|
|
219
220
|
export { EvaluatorVariableExtractorMappingValue } from './EvaluatorVariableExtractorMappingValue';
|
|
220
221
|
export { MetaSchemaValue } from './MetaSchemaValue';
|
|
222
|
+
export { AddAuditConversionSourceRequest } from './AddAuditConversionSourceRequest';
|
|
223
|
+
export { AddAuditConversionSourceResponse } from './AddAuditConversionSourceResponse';
|
|
221
224
|
export { AddDatasetDataRequest } from './AddDatasetDataRequest';
|
|
222
225
|
export { AddDatasetDataResponseBody } from './AddDatasetDataResponseBody';
|
|
223
226
|
export { AddDatasetDataResponse } from './AddDatasetDataResponse';
|
|
@@ -314,6 +317,9 @@ export { ExecuteQueryResponse } from './ExecuteQueryResponse';
|
|
|
314
317
|
export { GetAgentSpaceRequest } from './GetAgentSpaceRequest';
|
|
315
318
|
export { GetAgentSpaceResponseBody } from './GetAgentSpaceResponseBody';
|
|
316
319
|
export { GetAgentSpaceResponse } from './GetAgentSpaceResponse';
|
|
320
|
+
export { GetAuditConversionSourceRequest } from './GetAuditConversionSourceRequest';
|
|
321
|
+
export { GetAuditConversionSourceResponseBody } from './GetAuditConversionSourceResponseBody';
|
|
322
|
+
export { GetAuditConversionSourceResponse } from './GetAuditConversionSourceResponse';
|
|
317
323
|
export { GetContextStoreRequest } from './GetContextStoreRequest';
|
|
318
324
|
export { GetContextStoreResponseBody } from './GetContextStoreResponseBody';
|
|
319
325
|
export { GetContextStoreResponse } from './GetContextStoreResponse';
|
|
@@ -413,6 +419,8 @@ export { PausePipelineResponse } from './PausePipelineResponse';
|
|
|
413
419
|
export { PreviewPipelineRequest } from './PreviewPipelineRequest';
|
|
414
420
|
export { PreviewPipelineResponseBody } from './PreviewPipelineResponseBody';
|
|
415
421
|
export { PreviewPipelineResponse } from './PreviewPipelineResponse';
|
|
422
|
+
export { RemoveAuditConversionSourceRequest } from './RemoveAuditConversionSourceRequest';
|
|
423
|
+
export { RemoveAuditConversionSourceResponse } from './RemoveAuditConversionSourceResponse';
|
|
416
424
|
export { ResumePipelineRequest } from './ResumePipelineRequest';
|
|
417
425
|
export { ResumePipelineResponseBody } from './ResumePipelineResponseBody';
|
|
418
426
|
export { ResumePipelineResponse } from './ResumePipelineResponse';
|