@alicloud/agentloop20260520 2.3.2 → 2.3.4
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 +26 -18
- package/dist/client.js +29 -29
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEvaluationTaskRequest.d.ts +11 -11
- package/dist/models/CreateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
- package/dist/models/CreateExperimentPlanResponseBody.d.ts +2 -2
- package/dist/models/CreatePipelineRequest.d.ts +251 -9
- package/dist/models/CreatePipelineRequest.js +203 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/Evaluator.d.ts +11 -3
- package/dist/models/Evaluator.js +6 -0
- package/dist/models/Evaluator.js.map +1 -1
- package/dist/models/EvaluatorVariableExtractorMappingValue.d.ts +37 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js +62 -0
- package/dist/models/EvaluatorVariableExtractorMappingValue.js.map +1 -0
- package/dist/models/ExecuteQueryRequest.d.ts +100 -0
- package/dist/models/ExecuteQueryRequest.js +51 -1
- package/dist/models/ExecuteQueryRequest.js.map +1 -1
- package/dist/models/ExecuteQueryResponseBody.d.ts +13 -1
- package/dist/models/ExecuteQueryResponseBody.js.map +1 -1
- package/dist/models/GetEvaluationTaskResponseBody.d.ts +3 -3
- package/dist/models/GetExperimentPlanResponseBody.d.ts +8 -4
- package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +358 -4
- package/dist/models/GetPipelineResponseBody.js +203 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListExperimentRunsRequest.d.ts +1 -1
- package/dist/models/PreviewPipelineRequest.d.ts +68 -2
- package/dist/models/PreviewPipelineRequest.js +53 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +6 -6
- package/dist/models/RunPipelineRequest.d.ts +16 -0
- package/dist/models/RunPipelineRequest.js.map +1 -1
- package/dist/models/RunPipelineResponseBody.d.ts +15 -0
- package/dist/models/RunPipelineResponseBody.js.map +1 -1
- package/dist/models/UpdateEvaluationTaskRequest.d.ts +5 -5
- package/dist/models/UpdateExperimentPlanRequest.d.ts +10 -6
- package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
- package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
- package/dist/models/UpdatePipelineRequest.d.ts +267 -13
- package/dist/models/UpdatePipelineRequest.js +205 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +89 -30
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +30 -29
- package/src/models/CreateEvaluationTaskRequest.ts +11 -11
- package/src/models/CreateExperimentPlanRequest.ts +10 -6
- package/src/models/CreateExperimentPlanResponseBody.ts +2 -2
- package/src/models/CreatePipelineRequest.ts +381 -9
- package/src/models/Evaluator.ts +14 -3
- package/src/models/EvaluatorVariableExtractorMappingValue.ts +54 -0
- package/src/models/ExecuteQueryRequest.ts +132 -0
- package/src/models/ExecuteQueryResponseBody.ts +13 -1
- package/src/models/GetEvaluationTaskResponseBody.ts +3 -3
- package/src/models/GetExperimentPlanResponseBody.ts +8 -4
- package/src/models/GetPipelineResponseBody.ts +488 -4
- package/src/models/ListExperimentRunsRequest.ts +1 -1
- package/src/models/PreviewPipelineRequest.ts +102 -2
- package/src/models/PreviewPipelineResponseBody.ts +6 -6
- package/src/models/RunPipelineRequest.ts +16 -0
- package/src/models/RunPipelineResponseBody.ts +15 -0
- package/src/models/UpdateEvaluationTaskRequest.ts +5 -5
- package/src/models/UpdateExperimentPlanRequest.ts +10 -6
- package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
- package/src/models/UpdatePipelineRequest.ts +399 -13
- package/src/models/model.ts +29 -0
|
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The start time for data processing. The value is a UNIX timestamp in milliseconds.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* 1735660800000
|
|
9
12
|
*/
|
|
10
13
|
fromTime?: number;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The end time for data processing. The value is a UNIX timestamp in milliseconds.
|
|
17
|
+
*
|
|
12
18
|
* @example
|
|
13
19
|
* 1735747200000
|
|
14
20
|
*/
|
|
@@ -38,11 +44,17 @@ export class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
|
|
|
38
44
|
|
|
39
45
|
export class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
|
|
40
46
|
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The scheduling start time. The value is a UNIX timestamp in milliseconds.
|
|
49
|
+
*
|
|
41
50
|
* @example
|
|
42
51
|
* 1735660800000
|
|
43
52
|
*/
|
|
44
53
|
fromTime?: number;
|
|
45
54
|
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The scheduling interval. For example, 1h.
|
|
57
|
+
*
|
|
46
58
|
* @example
|
|
47
59
|
* 1h
|
|
48
60
|
*/
|
|
@@ -72,11 +84,22 @@ export class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
|
|
|
72
84
|
|
|
73
85
|
export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
74
86
|
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The scheduling mode. For example, scheduled (timed scheduling) or runOnce (one-time execution).
|
|
89
|
+
*
|
|
75
90
|
* @example
|
|
76
|
-
*
|
|
91
|
+
* scheduled
|
|
77
92
|
*/
|
|
78
93
|
mode?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The configuration for one-time execution.
|
|
97
|
+
*/
|
|
79
98
|
runOnce?: GetPipelineResponseBodyExecutePolicyRunOnce;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The timed scheduling configuration.
|
|
102
|
+
*/
|
|
80
103
|
scheduled?: GetPipelineResponseBodyExecutePolicyScheduled;
|
|
81
104
|
static names(): { [key: string]: string } {
|
|
82
105
|
return {
|
|
@@ -111,12 +134,22 @@ export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
|
111
134
|
|
|
112
135
|
export class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
|
|
113
136
|
/**
|
|
137
|
+
* @remarks
|
|
138
|
+
* The node ID.
|
|
139
|
+
*
|
|
114
140
|
* @example
|
|
115
141
|
* node-1
|
|
116
142
|
*/
|
|
117
143
|
id?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The node parameters in key-value structure, which vary depending on the node type.
|
|
147
|
+
*/
|
|
118
148
|
parameters?: { [key: string]: any };
|
|
119
149
|
/**
|
|
150
|
+
* @remarks
|
|
151
|
+
* The node type.
|
|
152
|
+
*
|
|
120
153
|
* @example
|
|
121
154
|
* transform
|
|
122
155
|
*/
|
|
@@ -150,6 +183,10 @@ export class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
|
|
|
150
183
|
}
|
|
151
184
|
|
|
152
185
|
export class GetPipelineResponseBodyPipeline extends $dara.Model {
|
|
186
|
+
/**
|
|
187
|
+
* @remarks
|
|
188
|
+
* The list of nodes.
|
|
189
|
+
*/
|
|
153
190
|
nodes?: GetPipelineResponseBodyPipelineNodes[];
|
|
154
191
|
static names(): { [key: string]: string } {
|
|
155
192
|
return {
|
|
@@ -175,13 +212,279 @@ export class GetPipelineResponseBodyPipeline extends $dara.Model {
|
|
|
175
212
|
}
|
|
176
213
|
}
|
|
177
214
|
|
|
215
|
+
export class GetPipelineResponseBodySinkConditionDefaultSinkDataset extends $dara.Model {
|
|
216
|
+
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* my-agent-space
|
|
222
|
+
*/
|
|
223
|
+
agentSpace?: string;
|
|
224
|
+
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The name of the default destination dataset.
|
|
227
|
+
*
|
|
228
|
+
* @example
|
|
229
|
+
* other-result
|
|
230
|
+
*/
|
|
231
|
+
dataset?: string;
|
|
232
|
+
static names(): { [key: string]: string } {
|
|
233
|
+
return {
|
|
234
|
+
agentSpace: 'agentSpace',
|
|
235
|
+
dataset: 'dataset',
|
|
236
|
+
};
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
static types(): { [key: string]: any } {
|
|
240
|
+
return {
|
|
241
|
+
agentSpace: 'string',
|
|
242
|
+
dataset: 'string',
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
validate() {
|
|
247
|
+
super.validate();
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
constructor(map?: { [key: string]: any }) {
|
|
251
|
+
super(map);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export class GetPipelineResponseBodySinkConditionDefaultSink extends $dara.Model {
|
|
256
|
+
/**
|
|
257
|
+
* @remarks
|
|
258
|
+
* The default destination dataset.
|
|
259
|
+
*/
|
|
260
|
+
dataset?: GetPipelineResponseBodySinkConditionDefaultSinkDataset;
|
|
261
|
+
/**
|
|
262
|
+
* @remarks
|
|
263
|
+
* The default destination type. Currently, only dataset is supported.
|
|
264
|
+
*
|
|
265
|
+
* @example
|
|
266
|
+
* dataset
|
|
267
|
+
*/
|
|
268
|
+
type?: string;
|
|
269
|
+
static names(): { [key: string]: string } {
|
|
270
|
+
return {
|
|
271
|
+
dataset: 'dataset',
|
|
272
|
+
type: 'type',
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
static types(): { [key: string]: any } {
|
|
277
|
+
return {
|
|
278
|
+
dataset: GetPipelineResponseBodySinkConditionDefaultSinkDataset,
|
|
279
|
+
type: 'string',
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
validate() {
|
|
284
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
285
|
+
(this.dataset as any).validate();
|
|
286
|
+
}
|
|
287
|
+
super.validate();
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
constructor(map?: { [key: string]: any }) {
|
|
291
|
+
super(map);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export class GetPipelineResponseBodySinkConditionRoutesSinkDataset extends $dara.Model {
|
|
296
|
+
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
299
|
+
*
|
|
300
|
+
* @example
|
|
301
|
+
* my-agent-space
|
|
302
|
+
*/
|
|
303
|
+
agentSpace?: string;
|
|
304
|
+
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* The name of the destination dataset.
|
|
307
|
+
*
|
|
308
|
+
* @example
|
|
309
|
+
* refund-result
|
|
310
|
+
*/
|
|
311
|
+
dataset?: string;
|
|
312
|
+
static names(): { [key: string]: string } {
|
|
313
|
+
return {
|
|
314
|
+
agentSpace: 'agentSpace',
|
|
315
|
+
dataset: 'dataset',
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
static types(): { [key: string]: any } {
|
|
320
|
+
return {
|
|
321
|
+
agentSpace: 'string',
|
|
322
|
+
dataset: 'string',
|
|
323
|
+
};
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
validate() {
|
|
327
|
+
super.validate();
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
constructor(map?: { [key: string]: any }) {
|
|
331
|
+
super(map);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model {
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The route destination dataset.
|
|
339
|
+
*/
|
|
340
|
+
dataset?: GetPipelineResponseBodySinkConditionRoutesSinkDataset;
|
|
341
|
+
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* The route destination type. Currently, only dataset is supported.
|
|
344
|
+
*
|
|
345
|
+
* @example
|
|
346
|
+
* dataset
|
|
347
|
+
*/
|
|
348
|
+
type?: string;
|
|
349
|
+
static names(): { [key: string]: string } {
|
|
350
|
+
return {
|
|
351
|
+
dataset: 'dataset',
|
|
352
|
+
type: 'type',
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
static types(): { [key: string]: any } {
|
|
357
|
+
return {
|
|
358
|
+
dataset: GetPipelineResponseBodySinkConditionRoutesSinkDataset,
|
|
359
|
+
type: 'string',
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
validate() {
|
|
364
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
365
|
+
(this.dataset as any).validate();
|
|
366
|
+
}
|
|
367
|
+
super.validate();
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
constructor(map?: { [key: string]: any }) {
|
|
371
|
+
super(map);
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The route expression in SPL. Only where, project, and extend are supported.
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* * | where intent = \\"refund\\"
|
|
382
|
+
*/
|
|
383
|
+
expression?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The route ID.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* refund
|
|
390
|
+
*/
|
|
391
|
+
id?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The route write destination.
|
|
395
|
+
*/
|
|
396
|
+
sink?: GetPipelineResponseBodySinkConditionRoutesSink;
|
|
397
|
+
static names(): { [key: string]: string } {
|
|
398
|
+
return {
|
|
399
|
+
expression: 'expression',
|
|
400
|
+
id: 'id',
|
|
401
|
+
sink: 'sink',
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
static types(): { [key: string]: any } {
|
|
406
|
+
return {
|
|
407
|
+
expression: 'string',
|
|
408
|
+
id: 'string',
|
|
409
|
+
sink: GetPipelineResponseBodySinkConditionRoutesSink,
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
validate() {
|
|
414
|
+
if(this.sink && typeof (this.sink as any).validate === 'function') {
|
|
415
|
+
(this.sink as any).validate();
|
|
416
|
+
}
|
|
417
|
+
super.validate();
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
constructor(map?: { [key: string]: any }) {
|
|
421
|
+
super(map);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export class GetPipelineResponseBodySinkCondition extends $dara.Model {
|
|
426
|
+
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The default write destination used when no conditional route is matched.
|
|
429
|
+
*/
|
|
430
|
+
defaultSink?: GetPipelineResponseBodySinkConditionDefaultSink;
|
|
431
|
+
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The route match mode. Currently, only all is supported.
|
|
434
|
+
*
|
|
435
|
+
* @example
|
|
436
|
+
* all
|
|
437
|
+
*/
|
|
438
|
+
matchMode?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @remarks
|
|
441
|
+
* The list of conditional routes.
|
|
442
|
+
*/
|
|
443
|
+
routes?: GetPipelineResponseBodySinkConditionRoutes[];
|
|
444
|
+
static names(): { [key: string]: string } {
|
|
445
|
+
return {
|
|
446
|
+
defaultSink: 'defaultSink',
|
|
447
|
+
matchMode: 'matchMode',
|
|
448
|
+
routes: 'routes',
|
|
449
|
+
};
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
static types(): { [key: string]: any } {
|
|
453
|
+
return {
|
|
454
|
+
defaultSink: GetPipelineResponseBodySinkConditionDefaultSink,
|
|
455
|
+
matchMode: 'string',
|
|
456
|
+
routes: { 'type': 'array', 'itemType': GetPipelineResponseBodySinkConditionRoutes },
|
|
457
|
+
};
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
validate() {
|
|
461
|
+
if(this.defaultSink && typeof (this.defaultSink as any).validate === 'function') {
|
|
462
|
+
(this.defaultSink as any).validate();
|
|
463
|
+
}
|
|
464
|
+
if(Array.isArray(this.routes)) {
|
|
465
|
+
$dara.Model.validateArray(this.routes);
|
|
466
|
+
}
|
|
467
|
+
super.validate();
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
constructor(map?: { [key: string]: any }) {
|
|
471
|
+
super(map);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
178
475
|
export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
179
476
|
/**
|
|
477
|
+
* @remarks
|
|
478
|
+
* The name of the AgentSpace to which the target dataset belongs.
|
|
479
|
+
*
|
|
180
480
|
* @example
|
|
181
481
|
* my-agent-space
|
|
182
482
|
*/
|
|
183
483
|
agentSpace?: string;
|
|
184
484
|
/**
|
|
485
|
+
* @remarks
|
|
486
|
+
* The target dataset name.
|
|
487
|
+
*
|
|
185
488
|
* @example
|
|
186
489
|
* my-dataset
|
|
187
490
|
*/
|
|
@@ -210,14 +513,27 @@ export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
|
210
513
|
}
|
|
211
514
|
|
|
212
515
|
export class GetPipelineResponseBodySink extends $dara.Model {
|
|
516
|
+
/**
|
|
517
|
+
* @remarks
|
|
518
|
+
* The conditional routing configuration. This parameter is used only when sink.type is set to condition.
|
|
519
|
+
*/
|
|
520
|
+
condition?: GetPipelineResponseBodySinkCondition;
|
|
521
|
+
/**
|
|
522
|
+
* @remarks
|
|
523
|
+
* The target dataset configuration for the dataset sink. This parameter is used only when sink.type is set to dataset.
|
|
524
|
+
*/
|
|
213
525
|
dataset?: GetPipelineResponseBodySinkDataset;
|
|
214
526
|
/**
|
|
527
|
+
* @remarks
|
|
528
|
+
* The sink type. Valid values: dataset and condition.
|
|
529
|
+
*
|
|
215
530
|
* @example
|
|
216
|
-
*
|
|
531
|
+
* condition
|
|
217
532
|
*/
|
|
218
533
|
type?: string;
|
|
219
534
|
static names(): { [key: string]: string } {
|
|
220
535
|
return {
|
|
536
|
+
condition: 'condition',
|
|
221
537
|
dataset: 'dataset',
|
|
222
538
|
type: 'type',
|
|
223
539
|
};
|
|
@@ -225,12 +541,16 @@ export class GetPipelineResponseBodySink extends $dara.Model {
|
|
|
225
541
|
|
|
226
542
|
static types(): { [key: string]: any } {
|
|
227
543
|
return {
|
|
544
|
+
condition: GetPipelineResponseBodySinkCondition,
|
|
228
545
|
dataset: GetPipelineResponseBodySinkDataset,
|
|
229
546
|
type: 'string',
|
|
230
547
|
};
|
|
231
548
|
}
|
|
232
549
|
|
|
233
550
|
validate() {
|
|
551
|
+
if(this.condition && typeof (this.condition as any).validate === 'function') {
|
|
552
|
+
(this.condition as any).validate();
|
|
553
|
+
}
|
|
234
554
|
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
235
555
|
(this.dataset as any).validate();
|
|
236
556
|
}
|
|
@@ -242,18 +562,107 @@ export class GetPipelineResponseBodySink extends $dara.Model {
|
|
|
242
562
|
}
|
|
243
563
|
}
|
|
244
564
|
|
|
565
|
+
export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
566
|
+
/**
|
|
567
|
+
* @remarks
|
|
568
|
+
* The source dataset name.
|
|
569
|
+
*
|
|
570
|
+
* @example
|
|
571
|
+
* my-dataset
|
|
572
|
+
*/
|
|
573
|
+
dataset?: string;
|
|
574
|
+
/**
|
|
575
|
+
* @remarks
|
|
576
|
+
* The dataset data filter condition.
|
|
577
|
+
*
|
|
578
|
+
* @example
|
|
579
|
+
* status = \\"pending\\"
|
|
580
|
+
*/
|
|
581
|
+
filter?: string;
|
|
582
|
+
static names(): { [key: string]: string } {
|
|
583
|
+
return {
|
|
584
|
+
dataset: 'dataset',
|
|
585
|
+
filter: 'filter',
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
static types(): { [key: string]: any } {
|
|
590
|
+
return {
|
|
591
|
+
dataset: 'string',
|
|
592
|
+
filter: 'string',
|
|
593
|
+
};
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
validate() {
|
|
597
|
+
super.validate();
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
constructor(map?: { [key: string]: any }) {
|
|
601
|
+
super(map);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export class GetPipelineResponseBodySourceInputFields extends $dara.Model {
|
|
606
|
+
/**
|
|
607
|
+
* @remarks
|
|
608
|
+
* The field name.
|
|
609
|
+
*
|
|
610
|
+
* @example
|
|
611
|
+
* question
|
|
612
|
+
*/
|
|
613
|
+
name?: string;
|
|
614
|
+
/**
|
|
615
|
+
* @remarks
|
|
616
|
+
* The field type. Valid values: text, long, double, and json.
|
|
617
|
+
*
|
|
618
|
+
* @example
|
|
619
|
+
* text
|
|
620
|
+
*/
|
|
621
|
+
type?: string;
|
|
622
|
+
static names(): { [key: string]: string } {
|
|
623
|
+
return {
|
|
624
|
+
name: 'name',
|
|
625
|
+
type: 'type',
|
|
626
|
+
};
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
static types(): { [key: string]: any } {
|
|
630
|
+
return {
|
|
631
|
+
name: 'string',
|
|
632
|
+
type: 'string',
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
validate() {
|
|
637
|
+
super.validate();
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
constructor(map?: { [key: string]: any }) {
|
|
641
|
+
super(map);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
245
645
|
export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
246
646
|
/**
|
|
647
|
+
* @remarks
|
|
648
|
+
* The SLS Logstore name.
|
|
649
|
+
*
|
|
247
650
|
* @example
|
|
248
651
|
* my-sls-logstore
|
|
249
652
|
*/
|
|
250
653
|
logstore?: string;
|
|
251
654
|
/**
|
|
655
|
+
* @remarks
|
|
656
|
+
* The SLS project name.
|
|
657
|
+
*
|
|
252
658
|
* @example
|
|
253
659
|
* my-sls-project
|
|
254
660
|
*/
|
|
255
661
|
project?: string;
|
|
256
662
|
/**
|
|
663
|
+
* @remarks
|
|
664
|
+
* The data filtered query statement in SLS query/analysis syntax.
|
|
665
|
+
*
|
|
257
666
|
* @example
|
|
258
667
|
* * | SELECT *
|
|
259
668
|
*/
|
|
@@ -284,14 +693,33 @@ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
|
284
693
|
}
|
|
285
694
|
|
|
286
695
|
export class GetPipelineResponseBodySource extends $dara.Model {
|
|
696
|
+
/**
|
|
697
|
+
* @remarks
|
|
698
|
+
* The dataset datasource config under the current AgentSpace.
|
|
699
|
+
*/
|
|
700
|
+
dataset?: GetPipelineResponseBodySourceDataset;
|
|
701
|
+
/**
|
|
702
|
+
* @remarks
|
|
703
|
+
* The input fields and field types, applicable to all data source types.
|
|
704
|
+
*/
|
|
705
|
+
inputFields?: GetPipelineResponseBodySourceInputFields[];
|
|
706
|
+
/**
|
|
707
|
+
* @remarks
|
|
708
|
+
* The SLS Logstore datasource config.
|
|
709
|
+
*/
|
|
287
710
|
logstore?: GetPipelineResponseBodySourceLogstore;
|
|
288
711
|
/**
|
|
712
|
+
* @remarks
|
|
713
|
+
* The data source type. Valid values: logstore and dataset.
|
|
714
|
+
*
|
|
289
715
|
* @example
|
|
290
|
-
*
|
|
716
|
+
* dataset
|
|
291
717
|
*/
|
|
292
718
|
type?: string;
|
|
293
719
|
static names(): { [key: string]: string } {
|
|
294
720
|
return {
|
|
721
|
+
dataset: 'dataset',
|
|
722
|
+
inputFields: 'inputFields',
|
|
295
723
|
logstore: 'logstore',
|
|
296
724
|
type: 'type',
|
|
297
725
|
};
|
|
@@ -299,12 +727,20 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
299
727
|
|
|
300
728
|
static types(): { [key: string]: any } {
|
|
301
729
|
return {
|
|
730
|
+
dataset: GetPipelineResponseBodySourceDataset,
|
|
731
|
+
inputFields: { 'type': 'array', 'itemType': GetPipelineResponseBodySourceInputFields },
|
|
302
732
|
logstore: GetPipelineResponseBodySourceLogstore,
|
|
303
733
|
type: 'string',
|
|
304
734
|
};
|
|
305
735
|
}
|
|
306
736
|
|
|
307
737
|
validate() {
|
|
738
|
+
if(this.dataset && typeof (this.dataset as any).validate === 'function') {
|
|
739
|
+
(this.dataset as any).validate();
|
|
740
|
+
}
|
|
741
|
+
if(Array.isArray(this.inputFields)) {
|
|
742
|
+
$dara.Model.validateArray(this.inputFields);
|
|
743
|
+
}
|
|
308
744
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
309
745
|
(this.logstore as any).validate();
|
|
310
746
|
}
|
|
@@ -318,12 +754,17 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
318
754
|
|
|
319
755
|
export class GetPipelineResponseBody extends $dara.Model {
|
|
320
756
|
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* The committed watermark. The value is a UNIX timestamp in seconds.
|
|
759
|
+
*
|
|
321
760
|
* @example
|
|
322
761
|
* 1735660800
|
|
323
762
|
*/
|
|
324
763
|
committedWatermark?: number;
|
|
325
764
|
/**
|
|
326
765
|
* @remarks
|
|
766
|
+
* The time when the pipeline was created, in ISO 8601 UTC format.
|
|
767
|
+
*
|
|
327
768
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
328
769
|
*
|
|
329
770
|
* @example
|
|
@@ -331,41 +772,81 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
331
772
|
*/
|
|
332
773
|
createTime?: string;
|
|
333
774
|
/**
|
|
775
|
+
* @remarks
|
|
776
|
+
* The pipeline description.
|
|
777
|
+
*
|
|
334
778
|
* @example
|
|
335
|
-
*
|
|
779
|
+
* My pipeline
|
|
336
780
|
*/
|
|
337
781
|
description?: string;
|
|
782
|
+
/**
|
|
783
|
+
* @remarks
|
|
784
|
+
* The scheduling method.
|
|
785
|
+
*/
|
|
338
786
|
executePolicy?: GetPipelineResponseBodyExecutePolicy;
|
|
339
787
|
/**
|
|
788
|
+
* @remarks
|
|
789
|
+
* The next scheduling trigger time. The value is a UNIX timestamp in seconds.
|
|
790
|
+
*
|
|
340
791
|
* @example
|
|
341
792
|
* 1735661100
|
|
342
793
|
*/
|
|
343
794
|
nextTriggerTime?: number;
|
|
795
|
+
/**
|
|
796
|
+
* @remarks
|
|
797
|
+
* The pipeline configuration for node orchestration.
|
|
798
|
+
*/
|
|
344
799
|
pipeline?: GetPipelineResponseBodyPipeline;
|
|
345
800
|
/**
|
|
801
|
+
* @remarks
|
|
802
|
+
* The pipeline name.
|
|
803
|
+
*
|
|
346
804
|
* @example
|
|
347
805
|
* my-pipeline
|
|
348
806
|
*/
|
|
349
807
|
pipelineName?: string;
|
|
350
808
|
/**
|
|
809
|
+
* @remarks
|
|
810
|
+
* The region ID.
|
|
811
|
+
*
|
|
351
812
|
* @example
|
|
352
813
|
* cn-hangzhou
|
|
353
814
|
*/
|
|
354
815
|
regionId?: string;
|
|
355
816
|
/**
|
|
817
|
+
* @remarks
|
|
818
|
+
* The request ID, which is used to locate and troubleshoot issues.
|
|
819
|
+
*
|
|
356
820
|
* @example
|
|
357
821
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
358
822
|
*/
|
|
359
823
|
requestId?: string;
|
|
360
824
|
/**
|
|
825
|
+
* @remarks
|
|
826
|
+
* The scheduling status. Valid values:
|
|
827
|
+
* - None: No scheduling.
|
|
828
|
+
* - Active: Active.
|
|
829
|
+
* - Paused: Paused.
|
|
830
|
+
* - Terminated: Terminated.
|
|
831
|
+
*
|
|
361
832
|
* @example
|
|
362
833
|
* Active
|
|
363
834
|
*/
|
|
364
835
|
scheduleStatus?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @remarks
|
|
838
|
+
* The pipeline sink, which is the data write destination.
|
|
839
|
+
*/
|
|
365
840
|
sink?: GetPipelineResponseBodySink;
|
|
841
|
+
/**
|
|
842
|
+
* @remarks
|
|
843
|
+
* The pipeline data source.
|
|
844
|
+
*/
|
|
366
845
|
source?: GetPipelineResponseBodySource;
|
|
367
846
|
/**
|
|
368
847
|
* @remarks
|
|
848
|
+
* The time when the pipeline was last updated, in ISO 8601 UTC format.
|
|
849
|
+
*
|
|
369
850
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
370
851
|
*
|
|
371
852
|
* @example
|
|
@@ -373,6 +854,9 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
373
854
|
*/
|
|
374
855
|
updateTime?: string;
|
|
375
856
|
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The workspace associated with the pipeline.
|
|
859
|
+
*
|
|
376
860
|
* @example
|
|
377
861
|
* my-workspace
|
|
378
862
|
*/
|
|
@@ -53,7 +53,7 @@ export class ListExperimentRunsRequest extends $dara.Model {
|
|
|
53
53
|
pageSize?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* Filters results by fuzzy match on experiment plan name.
|
|
56
|
+
* Filters results by fuzzy match on the experiment plan name.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* arms_agent_experiment
|