@alicloud/agentloop20260520 2.8.0 → 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 +62 -18
- package/dist/client.js +62 -18
- package/dist/client.js.map +1 -1
- 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/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/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/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 +1 -0
- package/dist/models/model.js +8 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +62 -18
- package/src/models/CreatePipelineRequest.ts +46 -32
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetPipelineResponseBody.ts +56 -42
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- 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/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 +1 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
import { PipelineOssSource } from "./PipelineOssSource";
|
|
2
3
|
export declare class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
3
4
|
/**
|
|
4
5
|
* @remarks
|
|
@@ -10,7 +11,7 @@ export declare class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
10
11
|
id?: string;
|
|
11
12
|
/**
|
|
12
13
|
* @remarks
|
|
13
|
-
* The parameters of the node.
|
|
14
|
+
* The parameters of the node. This is a key-value structure and varies based on the node type.
|
|
14
15
|
*
|
|
15
16
|
* @example
|
|
16
17
|
* {"ID":"ID"}
|
|
@@ -40,7 +41,7 @@ export declare class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
40
41
|
export declare class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
|
-
* The list of nodes.
|
|
44
|
+
* The list of nodes. For non-OSS sources, a non-empty array must be passed. For LeRobot sources, an empty array can be passed for direct preview. For MCAP sources, an empty array must be passed.
|
|
44
45
|
*
|
|
45
46
|
* @example
|
|
46
47
|
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
@@ -68,7 +69,7 @@ export declare class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
68
69
|
dataset?: string;
|
|
69
70
|
/**
|
|
70
71
|
* @remarks
|
|
71
|
-
* The data
|
|
72
|
+
* The data filtering conditions for the dataset.
|
|
72
73
|
*
|
|
73
74
|
* @example
|
|
74
75
|
* status = \"pending\"
|
|
@@ -96,7 +97,7 @@ export declare class PreviewPipelineRequestSourceInputFields extends $dara.Model
|
|
|
96
97
|
name?: string;
|
|
97
98
|
/**
|
|
98
99
|
* @remarks
|
|
99
|
-
* The
|
|
100
|
+
* The type of the field. Valid values: text, long, double, and json.
|
|
100
101
|
*
|
|
101
102
|
* @example
|
|
102
103
|
* text
|
|
@@ -132,7 +133,7 @@ export declare class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
132
133
|
project?: string;
|
|
133
134
|
/**
|
|
134
135
|
* @remarks
|
|
135
|
-
* The filtered query statement
|
|
136
|
+
* The filtered query statement, which uses the SLS query and analysis syntax.
|
|
136
137
|
*
|
|
137
138
|
* @example
|
|
138
139
|
* * | SELECT *
|
|
@@ -152,7 +153,7 @@ export declare class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
152
153
|
export declare class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
153
154
|
/**
|
|
154
155
|
* @remarks
|
|
155
|
-
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs
|
|
156
|
+
* The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed single column agent_trajectory, and this parameter no longer affects the output.
|
|
156
157
|
*
|
|
157
158
|
* @example
|
|
158
159
|
* ["input","output","session_id"]
|
|
@@ -180,7 +181,7 @@ export declare class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.
|
|
|
180
181
|
export declare class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
181
182
|
/**
|
|
182
183
|
* @remarks
|
|
183
|
-
*
|
|
184
|
+
* Trajectory enrichment: mounts trajectory data into the cleaning result by trace_id. When writing to a dataset, the data is carried in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
184
185
|
*
|
|
185
186
|
* @example
|
|
186
187
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -200,7 +201,7 @@ export declare class PreviewPipelineRequestSourceTrajectory extends $dara.Model
|
|
|
200
201
|
export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
201
202
|
/**
|
|
202
203
|
* @remarks
|
|
203
|
-
* The
|
|
204
|
+
* The datasource config for the dataset in the current AgentSpace.
|
|
204
205
|
*
|
|
205
206
|
* @example
|
|
206
207
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -208,7 +209,7 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
208
209
|
dataset?: PreviewPipelineRequestSourceDataset;
|
|
209
210
|
/**
|
|
210
211
|
* @remarks
|
|
211
|
-
* The input fields and
|
|
212
|
+
* The input fields and field types. For OSS sources, the server derives input fields from metadata. Omit source.inputFields.
|
|
212
213
|
*
|
|
213
214
|
* @example
|
|
214
215
|
* [{"name":"question","type":"text"}]
|
|
@@ -216,7 +217,7 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
216
217
|
inputFields?: PreviewPipelineRequestSourceInputFields[];
|
|
217
218
|
/**
|
|
218
219
|
* @remarks
|
|
219
|
-
* The Simple Log Service (SLS) Logstore
|
|
220
|
+
* The datasource config for Simple Log Service (SLS) Logstore.
|
|
220
221
|
*
|
|
221
222
|
* @example
|
|
222
223
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -224,7 +225,15 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
224
225
|
logstore?: PreviewPipelineRequestSourceLogstore;
|
|
225
226
|
/**
|
|
226
227
|
* @remarks
|
|
227
|
-
*
|
|
228
|
+
* When source.type is oss, format, region, roleArn, and uri 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.
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
232
|
+
*/
|
|
233
|
+
oss?: PipelineOssSource;
|
|
234
|
+
/**
|
|
235
|
+
* @remarks
|
|
236
|
+
* The trajectory data configuration. This parameter is optional and takes effect only when type is trace. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends it by feature.
|
|
228
237
|
*
|
|
229
238
|
* @example
|
|
230
239
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -232,10 +241,10 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
232
241
|
trajectory?: PreviewPipelineRequestSourceTrajectory;
|
|
233
242
|
/**
|
|
234
243
|
* @remarks
|
|
235
|
-
* The type of the data source.
|
|
244
|
+
* The type of the data source. Valid values: logstore, dataset, trace, and oss. trace indicates the trajectory signal-driven processing mode. If oss is selected, specify source.oss.
|
|
236
245
|
*
|
|
237
246
|
* @example
|
|
238
|
-
*
|
|
247
|
+
* oss
|
|
239
248
|
*/
|
|
240
249
|
type?: string;
|
|
241
250
|
static names(): {
|
|
@@ -252,7 +261,7 @@ export declare class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
252
261
|
export declare class PreviewPipelineRequest extends $dara.Model {
|
|
253
262
|
/**
|
|
254
263
|
* @remarks
|
|
255
|
-
* The start time of the preview data window
|
|
264
|
+
* The start time of the preview data window, in UNIX seconds.
|
|
256
265
|
*
|
|
257
266
|
* @example
|
|
258
267
|
* 1735660800
|
|
@@ -276,7 +285,7 @@ export declare class PreviewPipelineRequest extends $dara.Model {
|
|
|
276
285
|
source?: PreviewPipelineRequestSource;
|
|
277
286
|
/**
|
|
278
287
|
* @remarks
|
|
279
|
-
* The end time of the preview data window
|
|
288
|
+
* The end time of the preview data window, in UNIX seconds.
|
|
280
289
|
*
|
|
281
290
|
* @example
|
|
282
291
|
* 1735747200
|
|
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.PreviewPipelineRequest = exports.PreviewPipelineRequestSource = exports.PreviewPipelineRequestSourceTrajectory = exports.PreviewPipelineRequestSourceTrajectoryEnrich = exports.PreviewPipelineRequestSourceLogstore = exports.PreviewPipelineRequestSourceInputFields = exports.PreviewPipelineRequestSourceDataset = exports.PreviewPipelineRequestPipeline = exports.PreviewPipelineRequestPipelineNodes = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
const PipelineOssSource_1 = require("./PipelineOssSource");
|
|
39
40
|
class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
40
41
|
static names() {
|
|
41
42
|
return {
|
|
@@ -201,6 +202,7 @@ class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
201
202
|
dataset: 'dataset',
|
|
202
203
|
inputFields: 'inputFields',
|
|
203
204
|
logstore: 'logstore',
|
|
205
|
+
oss: 'oss',
|
|
204
206
|
trajectory: 'trajectory',
|
|
205
207
|
type: 'type',
|
|
206
208
|
};
|
|
@@ -210,6 +212,7 @@ class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
210
212
|
dataset: PreviewPipelineRequestSourceDataset,
|
|
211
213
|
inputFields: { 'type': 'array', 'itemType': PreviewPipelineRequestSourceInputFields },
|
|
212
214
|
logstore: PreviewPipelineRequestSourceLogstore,
|
|
215
|
+
oss: PipelineOssSource_1.PipelineOssSource,
|
|
213
216
|
trajectory: PreviewPipelineRequestSourceTrajectory,
|
|
214
217
|
type: 'string',
|
|
215
218
|
};
|
|
@@ -224,6 +227,9 @@ class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
224
227
|
if (this.logstore && typeof this.logstore.validate === 'function') {
|
|
225
228
|
this.logstore.validate();
|
|
226
229
|
}
|
|
230
|
+
if (this.oss && typeof this.oss.validate === 'function') {
|
|
231
|
+
this.oss.validate();
|
|
232
|
+
}
|
|
227
233
|
if (this.trajectory && typeof this.trajectory.validate === 'function') {
|
|
228
234
|
this.trajectory.validate();
|
|
229
235
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewPipelineRequest.js","sourceRoot":"","sources":["../../src/models/PreviewPipelineRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;
|
|
1
|
+
{"version":3,"file":"PreviewPipelineRequest.js","sourceRoot":"","sources":["../../src/models/PreviewPipelineRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2DAAwD;AAGxD,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAyBlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,IAAI;YACR,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,EAAE,EAAE,QAAQ;YACZ,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE;YACtE,IAAI,EAAE,QAAQ;SACf,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,UAAU,EAAE,CAAC;YACnB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC3C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CA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OAAQ,IAAI,CAAC,QAAgB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzE,IAAI,CAAC,QAAgB,CAAC,QAAQ,EAAE,CAAC;QACpC,CAAC;QACD,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhED,wDAgEC"}
|
|
@@ -3,7 +3,7 @@ import { MetaSchemaValue } from "./MetaSchemaValue";
|
|
|
3
3
|
export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
4
4
|
/**
|
|
5
5
|
* @remarks
|
|
6
|
-
* The SPL statement for aggregation analysis.
|
|
6
|
+
* The Search Processing Language (SPL) statement for aggregation analysis.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* * | SELECT status, count(*) AS cnt GROUP BY status
|
|
@@ -11,7 +11,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
11
11
|
aggQuery?: string;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* meta.columnTypes provides a mapping from column names to data types, such as string, long, double, and json.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ["long","string"]
|
|
@@ -51,7 +51,15 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
51
51
|
elapsedMillisecond?: number;
|
|
52
52
|
/**
|
|
53
53
|
* @remarks
|
|
54
|
-
*
|
|
54
|
+
* 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.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* 1
|
|
58
|
+
*/
|
|
59
|
+
failedRows?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* Specifies whether an SQL query is used.
|
|
55
63
|
*
|
|
56
64
|
* @example
|
|
57
65
|
* true
|
|
@@ -59,7 +67,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
59
67
|
hasSQL?: boolean;
|
|
60
68
|
/**
|
|
61
69
|
* @remarks
|
|
62
|
-
*
|
|
70
|
+
* Specifies whether nanosecond-level ordering is enabled.
|
|
63
71
|
*
|
|
64
72
|
* @example
|
|
65
73
|
* true
|
|
@@ -75,7 +83,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
75
83
|
keys?: string[];
|
|
76
84
|
/**
|
|
77
85
|
* @remarks
|
|
78
|
-
* The maximum number of returned rows.
|
|
86
|
+
* The maximum number of returned result rows.
|
|
79
87
|
*
|
|
80
88
|
* @example
|
|
81
89
|
* 5
|
|
@@ -91,7 +99,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
91
99
|
mode?: number;
|
|
92
100
|
/**
|
|
93
101
|
* @remarks
|
|
94
|
-
* The number of processed data
|
|
102
|
+
* The number of bytes of processed data.
|
|
95
103
|
*
|
|
96
104
|
* @example
|
|
97
105
|
* 524288
|
|
@@ -107,7 +115,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
107
115
|
processedRows?: number;
|
|
108
116
|
/**
|
|
109
117
|
* @remarks
|
|
110
|
-
* The
|
|
118
|
+
* The SLS query progress. A value of Complete indicates that the query is completed.
|
|
111
119
|
*
|
|
112
120
|
* @example
|
|
113
121
|
* Complete
|
|
@@ -115,7 +123,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
115
123
|
progress?: string;
|
|
116
124
|
/**
|
|
117
125
|
* @remarks
|
|
118
|
-
* The number of scanned raw data
|
|
126
|
+
* The number of bytes of scanned raw data.
|
|
119
127
|
*
|
|
120
128
|
* @example
|
|
121
129
|
* 1048576
|
|
@@ -123,7 +131,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
123
131
|
scanBytes?: number;
|
|
124
132
|
/**
|
|
125
133
|
* @remarks
|
|
126
|
-
* The dataset schema
|
|
134
|
+
* 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.
|
|
127
135
|
*
|
|
128
136
|
* @example
|
|
129
137
|
* {"status":{"type":"long"}}
|
|
@@ -131,6 +139,14 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
131
139
|
schema?: {
|
|
132
140
|
[key: string]: MetaSchemaValue;
|
|
133
141
|
};
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* 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.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* 2
|
|
148
|
+
*/
|
|
149
|
+
skippedRows?: number;
|
|
134
150
|
/**
|
|
135
151
|
* @remarks
|
|
136
152
|
* The column types and aggregation information.
|
|
@@ -143,7 +159,7 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
143
159
|
}[];
|
|
144
160
|
/**
|
|
145
161
|
* @remarks
|
|
146
|
-
* The SPL statement for
|
|
162
|
+
* The SPL statement for filter conditions.
|
|
147
163
|
*
|
|
148
164
|
* @example
|
|
149
165
|
* status: 200
|
|
@@ -163,10 +179,10 @@ export declare class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
163
179
|
export declare class PreviewPipelineResponseBody extends $dara.Model {
|
|
164
180
|
/**
|
|
165
181
|
* @remarks
|
|
166
|
-
*
|
|
182
|
+
* 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.
|
|
167
183
|
*
|
|
168
184
|
* @example
|
|
169
|
-
* [{
|
|
185
|
+
* [{"status":"200","method":"POST"}]
|
|
170
186
|
*/
|
|
171
187
|
data?: {
|
|
172
188
|
[key: string]: string;
|
|
@@ -46,6 +46,7 @@ class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
46
46
|
cpuCores: 'cpuCores',
|
|
47
47
|
cpuSec: 'cpuSec',
|
|
48
48
|
elapsedMillisecond: 'elapsedMillisecond',
|
|
49
|
+
failedRows: 'failedRows',
|
|
49
50
|
hasSQL: 'hasSQL',
|
|
50
51
|
isAccurate: 'isAccurate',
|
|
51
52
|
keys: 'keys',
|
|
@@ -56,6 +57,7 @@ class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
56
57
|
progress: 'progress',
|
|
57
58
|
scanBytes: 'scanBytes',
|
|
58
59
|
schema: 'schema',
|
|
60
|
+
skippedRows: 'skippedRows',
|
|
59
61
|
terms: 'terms',
|
|
60
62
|
whereQuery: 'whereQuery',
|
|
61
63
|
};
|
|
@@ -68,6 +70,7 @@ class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
68
70
|
cpuCores: 'number',
|
|
69
71
|
cpuSec: 'number',
|
|
70
72
|
elapsedMillisecond: 'number',
|
|
73
|
+
failedRows: 'number',
|
|
71
74
|
hasSQL: 'boolean',
|
|
72
75
|
isAccurate: 'boolean',
|
|
73
76
|
keys: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -78,6 +81,7 @@ class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
78
81
|
progress: 'string',
|
|
79
82
|
scanBytes: 'number',
|
|
80
83
|
schema: { 'type': 'map', 'keyType': 'string', 'valueType': MetaSchemaValue_1.MetaSchemaValue },
|
|
84
|
+
skippedRows: 'number',
|
|
81
85
|
terms: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
|
|
82
86
|
whereQuery: 'string',
|
|
83
87
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreviewPipelineResponseBody.js","sourceRoot":"","sources":["../../src/models/PreviewPipelineResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AAGpD,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"PreviewPipelineResponseBody.js","sourceRoot":"","sources":["../../src/models/PreviewPipelineResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uDAAoD;AAGpD,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiK9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,oBAAoB;YACxC,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,cAAc,EAAE,gBAAgB;YAChC,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACtD,KAAK,EAAE,QAAQ;YACf,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,kBAAkB,EAAE,QAAQ;YAC5B,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,SAAS;Y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,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtOD,0EAsOC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsB1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,EAAE;YACpG,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnDD,kEAmDC"}
|
|
@@ -30,7 +30,7 @@ export declare class RunPipelineRequestOutput extends $dara.Model {
|
|
|
30
30
|
export declare class RunPipelineRequest extends $dara.Model {
|
|
31
31
|
/**
|
|
32
32
|
* @remarks
|
|
33
|
-
* 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.
|
|
33
|
+
* 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.
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* 1735660800
|
|
@@ -38,12 +38,12 @@ export declare class RunPipelineRequest extends $dara.Model {
|
|
|
38
38
|
fromTime?: number;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The output control settings. SQL pipelines support overriding these settings. WorkItem pipelines use the saved sink
|
|
41
|
+
* The output control settings. SQL pipelines support overriding these settings. WorkItem pipelines use the saved sink configuration and must retain the default values.
|
|
42
42
|
*/
|
|
43
43
|
output?: RunPipelineRequestOutput;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The end time of the data processing window in UNIX seconds.
|
|
46
|
+
* 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.
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* 1735747200
|