@alicloud/agentloop20260520 2.8.0 → 2.8.2
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 +110 -54
- package/dist/client.js +110 -54
- package/dist/client.js.map +1 -1
- package/dist/models/AnalysisTask.d.ts +16 -8
- package/dist/models/AnalysisTask.js.map +1 -1
- package/dist/models/AuditTaskState.d.ts +17 -7
- package/dist/models/AuditTaskState.js.map +1 -1
- package/dist/models/CancelPipelineRunResponseBody.d.ts +2 -2
- package/dist/models/ConnectorProperties.d.ts +21 -12
- package/dist/models/ConnectorProperties.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +44 -44
- package/dist/models/CreateContextStoreResponseBody.d.ts +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +47 -30
- package/dist/models/CreatePipelineRequest.js +8 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +3 -3
- package/dist/models/GetDatasetRequest.d.ts +1 -1
- package/dist/models/GetDatasetResponseBody.d.ts +26 -3
- package/dist/models/GetDatasetResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +55 -38
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
- package/dist/models/ListDatasetsRequest.d.ts +8 -3
- package/dist/models/ListDatasetsRequest.js.map +1 -1
- package/dist/models/ListDatasetsResponseBody.d.ts +12 -7
- package/dist/models/ListDatasetsResponseBody.js.map +1 -1
- package/dist/models/ListDatasetsShrinkRequest.d.ts +8 -3
- package/dist/models/ListDatasetsShrinkRequest.js.map +1 -1
- 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 +50 -33
- package/dist/models/ListPipelinesResponseBody.js +8 -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 +37 -20
- package/dist/models/PreviewPipelineRequest.js +8 -0
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +30 -14
- 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 +50 -36
- package/dist/models/UpdatePipelineRequest.js +8 -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 +2 -2
- package/src/client.ts +110 -54
- package/src/models/AnalysisTask.ts +16 -8
- package/src/models/AuditTaskState.ts +17 -7
- package/src/models/CancelPipelineRunResponseBody.ts +2 -2
- package/src/models/ConnectorProperties.ts +21 -12
- package/src/models/CreateContextStoreRequest.ts +44 -44
- package/src/models/CreateContextStoreResponseBody.ts +1 -1
- package/src/models/CreatePipelineRequest.ts +54 -30
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/GetAuditConversionSourceResponseBody.ts +3 -3
- package/src/models/GetDatasetRequest.ts +1 -1
- package/src/models/GetDatasetResponseBody.ts +26 -3
- package/src/models/GetPipelineResponseBody.ts +62 -38
- package/src/models/GetPipelineRunResponseBody.ts +7 -7
- package/src/models/ListDatasetsRequest.ts +8 -3
- package/src/models/ListDatasetsResponseBody.ts +12 -7
- package/src/models/ListDatasetsShrinkRequest.ts +8 -3
- 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 +57 -33
- package/src/models/PipelineOssSource.ts +91 -0
- package/src/models/PreviewPipelineRequest.ts +44 -20
- package/src/models/PreviewPipelineResponseBody.ts +34 -14
- package/src/models/RunPipelineRequest.ts +3 -3
- package/src/models/RunPipelineResponseBody.ts +1 -1
- package/src/models/UpdatePipelineRequest.ts +57 -36
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +1 -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 { PipelineOssSource } from "./PipelineOssSource";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
|
-
* The ID
|
|
9
|
+
* The node ID.
|
|
9
10
|
*
|
|
10
11
|
* @example
|
|
11
12
|
* node-1
|
|
@@ -13,7 +14,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
13
14
|
id?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
|
-
* The parameters
|
|
17
|
+
* The node parameters. This is a key-value structure that varies depending on the node type.
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {"ID":"ID"}
|
|
@@ -21,7 +22,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
21
22
|
parameters?: { [key: string]: any };
|
|
22
23
|
/**
|
|
23
24
|
* @remarks
|
|
24
|
-
* The type
|
|
25
|
+
* The node type.
|
|
25
26
|
*
|
|
26
27
|
* @example
|
|
27
28
|
* transform
|
|
@@ -58,7 +59,7 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
|
|
|
58
59
|
export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
59
60
|
/**
|
|
60
61
|
* @remarks
|
|
61
|
-
* The list
|
|
62
|
+
* The node list. For non-OSS sources, you must pass a non-empty array. For LeRobot sources, you can pass an empty array to preview directly. For MCAP sources, you must pass an empty array.
|
|
62
63
|
*
|
|
63
64
|
* @example
|
|
64
65
|
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
@@ -91,7 +92,7 @@ export class PreviewPipelineRequestPipeline extends $dara.Model {
|
|
|
91
92
|
export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
92
93
|
/**
|
|
93
94
|
* @remarks
|
|
94
|
-
* The name of the source
|
|
95
|
+
* The name of the source Dataset.
|
|
95
96
|
*
|
|
96
97
|
* @example
|
|
97
98
|
* my-dataset
|
|
@@ -99,16 +100,25 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
99
100
|
dataset?: string;
|
|
100
101
|
/**
|
|
101
102
|
* @remarks
|
|
102
|
-
* The data filter condition for the
|
|
103
|
+
* The data filter condition for the Dataset.
|
|
103
104
|
*
|
|
104
105
|
* @example
|
|
105
106
|
* status = \"pending\"
|
|
106
107
|
*/
|
|
107
108
|
filter?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The version of the source Dataset.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* v1
|
|
115
|
+
*/
|
|
116
|
+
version?: string;
|
|
108
117
|
static names(): { [key: string]: string } {
|
|
109
118
|
return {
|
|
110
119
|
dataset: 'dataset',
|
|
111
120
|
filter: 'filter',
|
|
121
|
+
version: 'version',
|
|
112
122
|
};
|
|
113
123
|
}
|
|
114
124
|
|
|
@@ -116,6 +126,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
116
126
|
return {
|
|
117
127
|
dataset: 'string',
|
|
118
128
|
filter: 'string',
|
|
129
|
+
version: 'string',
|
|
119
130
|
};
|
|
120
131
|
}
|
|
121
132
|
|
|
@@ -131,7 +142,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
|
|
|
131
142
|
export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
|
|
132
143
|
/**
|
|
133
144
|
* @remarks
|
|
134
|
-
* The name
|
|
145
|
+
* The field name.
|
|
135
146
|
*
|
|
136
147
|
* @example
|
|
137
148
|
* question
|
|
@@ -139,7 +150,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
|
|
|
139
150
|
name?: string;
|
|
140
151
|
/**
|
|
141
152
|
* @remarks
|
|
142
|
-
* The
|
|
153
|
+
* The field type. Valid values: text, long, double, and json.
|
|
143
154
|
*
|
|
144
155
|
* @example
|
|
145
156
|
* text
|
|
@@ -221,7 +232,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
|
|
|
221
232
|
export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
222
233
|
/**
|
|
223
234
|
* @remarks
|
|
224
|
-
* The
|
|
235
|
+
* The enrichment column list. This parameter is retained for compatibility. The current implementation outputs a fixed single column `agent_trajectory`, and this parameter no longer affects the output.
|
|
225
236
|
*
|
|
226
237
|
* @example
|
|
227
238
|
* ["input","output","session_id"]
|
|
@@ -264,7 +275,7 @@ export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
|
|
|
264
275
|
export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
265
276
|
/**
|
|
266
277
|
* @remarks
|
|
267
|
-
* The trajectory enrichment configuration.
|
|
278
|
+
* The trajectory enrichment configuration. It mounts trajectory data into the cleaning result by `trace_id`. When writing to a dataset, it uses the fixed column `agent_trajectory` to carry the data, where the column value is the trajectory JSON content.
|
|
268
279
|
*
|
|
269
280
|
* @example
|
|
270
281
|
* {"enabled":true,"columns":["input","output"]}
|
|
@@ -297,7 +308,7 @@ export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
|
|
|
297
308
|
export class PreviewPipelineRequestSource extends $dara.Model {
|
|
298
309
|
/**
|
|
299
310
|
* @remarks
|
|
300
|
-
* The
|
|
311
|
+
* The Dataset datasource config under the current AgentSpace.
|
|
301
312
|
*
|
|
302
313
|
* @example
|
|
303
314
|
* {"dataset":"my-dataset","filter":"status = \"pending\""}
|
|
@@ -305,7 +316,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
305
316
|
dataset?: PreviewPipelineRequestSourceDataset;
|
|
306
317
|
/**
|
|
307
318
|
* @remarks
|
|
308
|
-
* The input fields and
|
|
319
|
+
* The input fields and field types. For OSS sources, the server derives input fields from metadata. Omit `source.inputFields`.
|
|
309
320
|
*
|
|
310
321
|
* @example
|
|
311
322
|
* [{"name":"question","type":"text"}]
|
|
@@ -313,7 +324,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
313
324
|
inputFields?: PreviewPipelineRequestSourceInputFields[];
|
|
314
325
|
/**
|
|
315
326
|
* @remarks
|
|
316
|
-
* The
|
|
327
|
+
* The SLS Logstore datasource config.
|
|
317
328
|
*
|
|
318
329
|
* @example
|
|
319
330
|
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
@@ -321,7 +332,15 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
321
332
|
logstore?: PreviewPipelineRequestSourceLogstore;
|
|
322
333
|
/**
|
|
323
334
|
* @remarks
|
|
324
|
-
* The
|
|
335
|
+
* The OSS data source configuration. 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.
|
|
336
|
+
*
|
|
337
|
+
* @example
|
|
338
|
+
* {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
|
|
339
|
+
*/
|
|
340
|
+
oss?: PipelineOssSource;
|
|
341
|
+
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* The trajectory data configuration. This parameter is optional and takes effect when `type` is `trace`. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends it by feature.
|
|
325
344
|
*
|
|
326
345
|
* @example
|
|
327
346
|
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
@@ -329,10 +348,10 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
329
348
|
trajectory?: PreviewPipelineRequestSourceTrajectory;
|
|
330
349
|
/**
|
|
331
350
|
* @remarks
|
|
332
|
-
* The type
|
|
351
|
+
* The data source type. Valid values: `logstore`, `dataset`, `trace`, and `oss`. `trace` indicates the trajectory signal-driven processing mode. If `oss` is selected, specify `source.oss`.
|
|
333
352
|
*
|
|
334
353
|
* @example
|
|
335
|
-
*
|
|
354
|
+
* oss
|
|
336
355
|
*/
|
|
337
356
|
type?: string;
|
|
338
357
|
static names(): { [key: string]: string } {
|
|
@@ -340,6 +359,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
340
359
|
dataset: 'dataset',
|
|
341
360
|
inputFields: 'inputFields',
|
|
342
361
|
logstore: 'logstore',
|
|
362
|
+
oss: 'oss',
|
|
343
363
|
trajectory: 'trajectory',
|
|
344
364
|
type: 'type',
|
|
345
365
|
};
|
|
@@ -350,6 +370,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
350
370
|
dataset: PreviewPipelineRequestSourceDataset,
|
|
351
371
|
inputFields: { 'type': 'array', 'itemType': PreviewPipelineRequestSourceInputFields },
|
|
352
372
|
logstore: PreviewPipelineRequestSourceLogstore,
|
|
373
|
+
oss: PipelineOssSource,
|
|
353
374
|
trajectory: PreviewPipelineRequestSourceTrajectory,
|
|
354
375
|
type: 'string',
|
|
355
376
|
};
|
|
@@ -365,6 +386,9 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
365
386
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
366
387
|
(this.logstore as any).validate();
|
|
367
388
|
}
|
|
389
|
+
if(this.oss && typeof (this.oss as any).validate === 'function') {
|
|
390
|
+
(this.oss as any).validate();
|
|
391
|
+
}
|
|
368
392
|
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
369
393
|
(this.trajectory as any).validate();
|
|
370
394
|
}
|
|
@@ -379,7 +403,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
|
|
|
379
403
|
export class PreviewPipelineRequest extends $dara.Model {
|
|
380
404
|
/**
|
|
381
405
|
* @remarks
|
|
382
|
-
* The start time of the preview data window.
|
|
406
|
+
* The start time of the preview data window, in Unix seconds. For OSS sources, the preview is based on objects or episodes, and the time window is ignored.
|
|
383
407
|
*
|
|
384
408
|
* @example
|
|
385
409
|
* 1735660800
|
|
@@ -387,7 +411,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
387
411
|
fromTime?: number;
|
|
388
412
|
/**
|
|
389
413
|
* @remarks
|
|
390
|
-
* The pipeline configuration,
|
|
414
|
+
* The pipeline configuration, which defines the node orchestration.
|
|
391
415
|
*
|
|
392
416
|
* @example
|
|
393
417
|
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
@@ -395,7 +419,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
395
419
|
pipeline?: PreviewPipelineRequestPipeline;
|
|
396
420
|
/**
|
|
397
421
|
* @remarks
|
|
398
|
-
* The data source
|
|
422
|
+
* The pipeline data source.
|
|
399
423
|
*
|
|
400
424
|
* @example
|
|
401
425
|
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
@@ -403,7 +427,7 @@ export class PreviewPipelineRequest extends $dara.Model {
|
|
|
403
427
|
source?: PreviewPipelineRequestSource;
|
|
404
428
|
/**
|
|
405
429
|
* @remarks
|
|
406
|
-
* The end time of the preview data window.
|
|
430
|
+
* The end time of the preview data window, in Unix seconds. For OSS sources, the preview is based on objects or episodes, and the time window is ignored.
|
|
407
431
|
*
|
|
408
432
|
* @example
|
|
409
433
|
* 1735747200
|
|
@@ -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"]
|
|
@@ -22,7 +22,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
|
|
|
22
22
|
columnTypes?: string[];
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The number of matched log entries.
|
|
25
|
+
* The number of matched log entries. For Object Storage Service (OSS) sources, the actual number of sample rows is returned.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* 100
|
|
@@ -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 Simple Log Service (SLS) query progress. A value of Complete indicates that the query is
|
|
121
|
+
* The Simple Log Service (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 subject to 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
|
/**
|
|
@@ -231,7 +251,7 @@ export class PreviewPipelineResponseBody extends $dara.Model {
|
|
|
231
251
|
meta?: PreviewPipelineResponseBodyMeta;
|
|
232
252
|
/**
|
|
233
253
|
* @remarks
|
|
234
|
-
* The request ID used to locate the request during troubleshooting.
|
|
254
|
+
* The request ID, which is used to locate the request during troubleshooting.
|
|
235
255
|
*
|
|
236
256
|
* @example
|
|
237
257
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -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
|