@alicloud/agentloop20260520 2.3.3 → 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 +10 -2
- package/dist/client.js +13 -13
- package/dist/client.js.map +1 -1
- 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/GetPipelineResponseBody.d.ts +186 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +13 -9
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -13
- package/src/models/ExecuteQueryRequest.ts +132 -0
- package/src/models/ExecuteQueryResponseBody.ts +13 -1
- package/src/models/GetPipelineResponseBody.ts +186 -1
- package/src/models/model.ts +2 -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 {
|
|
@@ -177,11 +214,17 @@ export class GetPipelineResponseBodyPipeline extends $dara.Model {
|
|
|
177
214
|
|
|
178
215
|
export class GetPipelineResponseBodySinkConditionDefaultSinkDataset extends $dara.Model {
|
|
179
216
|
/**
|
|
217
|
+
* @remarks
|
|
218
|
+
* The name of the AgentSpace to which the default destination dataset belongs.
|
|
219
|
+
*
|
|
180
220
|
* @example
|
|
181
221
|
* my-agent-space
|
|
182
222
|
*/
|
|
183
223
|
agentSpace?: string;
|
|
184
224
|
/**
|
|
225
|
+
* @remarks
|
|
226
|
+
* The name of the default destination dataset.
|
|
227
|
+
*
|
|
185
228
|
* @example
|
|
186
229
|
* other-result
|
|
187
230
|
*/
|
|
@@ -210,8 +253,15 @@ export class GetPipelineResponseBodySinkConditionDefaultSinkDataset extends $dar
|
|
|
210
253
|
}
|
|
211
254
|
|
|
212
255
|
export class GetPipelineResponseBodySinkConditionDefaultSink extends $dara.Model {
|
|
256
|
+
/**
|
|
257
|
+
* @remarks
|
|
258
|
+
* The default destination dataset.
|
|
259
|
+
*/
|
|
213
260
|
dataset?: GetPipelineResponseBodySinkConditionDefaultSinkDataset;
|
|
214
261
|
/**
|
|
262
|
+
* @remarks
|
|
263
|
+
* The default destination type. Currently, only dataset is supported.
|
|
264
|
+
*
|
|
215
265
|
* @example
|
|
216
266
|
* dataset
|
|
217
267
|
*/
|
|
@@ -244,11 +294,17 @@ export class GetPipelineResponseBodySinkConditionDefaultSink extends $dara.Model
|
|
|
244
294
|
|
|
245
295
|
export class GetPipelineResponseBodySinkConditionRoutesSinkDataset extends $dara.Model {
|
|
246
296
|
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
299
|
+
*
|
|
247
300
|
* @example
|
|
248
301
|
* my-agent-space
|
|
249
302
|
*/
|
|
250
303
|
agentSpace?: string;
|
|
251
304
|
/**
|
|
305
|
+
* @remarks
|
|
306
|
+
* The name of the destination dataset.
|
|
307
|
+
*
|
|
252
308
|
* @example
|
|
253
309
|
* refund-result
|
|
254
310
|
*/
|
|
@@ -277,8 +333,15 @@ export class GetPipelineResponseBodySinkConditionRoutesSinkDataset extends $dara
|
|
|
277
333
|
}
|
|
278
334
|
|
|
279
335
|
export class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model {
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The route destination dataset.
|
|
339
|
+
*/
|
|
280
340
|
dataset?: GetPipelineResponseBodySinkConditionRoutesSinkDataset;
|
|
281
341
|
/**
|
|
342
|
+
* @remarks
|
|
343
|
+
* The route destination type. Currently, only dataset is supported.
|
|
344
|
+
*
|
|
282
345
|
* @example
|
|
283
346
|
* dataset
|
|
284
347
|
*/
|
|
@@ -311,15 +374,25 @@ export class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model
|
|
|
311
374
|
|
|
312
375
|
export class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
|
|
313
376
|
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The route expression in SPL. Only where, project, and extend are supported.
|
|
379
|
+
*
|
|
314
380
|
* @example
|
|
315
381
|
* * | where intent = \\"refund\\"
|
|
316
382
|
*/
|
|
317
383
|
expression?: string;
|
|
318
384
|
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The route ID.
|
|
387
|
+
*
|
|
319
388
|
* @example
|
|
320
389
|
* refund
|
|
321
390
|
*/
|
|
322
391
|
id?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The route write destination.
|
|
395
|
+
*/
|
|
323
396
|
sink?: GetPipelineResponseBodySinkConditionRoutesSink;
|
|
324
397
|
static names(): { [key: string]: string } {
|
|
325
398
|
return {
|
|
@@ -350,12 +423,23 @@ export class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
|
|
|
350
423
|
}
|
|
351
424
|
|
|
352
425
|
export class GetPipelineResponseBodySinkCondition extends $dara.Model {
|
|
426
|
+
/**
|
|
427
|
+
* @remarks
|
|
428
|
+
* The default write destination used when no conditional route is matched.
|
|
429
|
+
*/
|
|
353
430
|
defaultSink?: GetPipelineResponseBodySinkConditionDefaultSink;
|
|
354
431
|
/**
|
|
432
|
+
* @remarks
|
|
433
|
+
* The route match mode. Currently, only all is supported.
|
|
434
|
+
*
|
|
355
435
|
* @example
|
|
356
436
|
* all
|
|
357
437
|
*/
|
|
358
438
|
matchMode?: string;
|
|
439
|
+
/**
|
|
440
|
+
* @remarks
|
|
441
|
+
* The list of conditional routes.
|
|
442
|
+
*/
|
|
359
443
|
routes?: GetPipelineResponseBodySinkConditionRoutes[];
|
|
360
444
|
static names(): { [key: string]: string } {
|
|
361
445
|
return {
|
|
@@ -390,11 +474,17 @@ export class GetPipelineResponseBodySinkCondition extends $dara.Model {
|
|
|
390
474
|
|
|
391
475
|
export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
392
476
|
/**
|
|
477
|
+
* @remarks
|
|
478
|
+
* The name of the AgentSpace to which the target dataset belongs.
|
|
479
|
+
*
|
|
393
480
|
* @example
|
|
394
481
|
* my-agent-space
|
|
395
482
|
*/
|
|
396
483
|
agentSpace?: string;
|
|
397
484
|
/**
|
|
485
|
+
* @remarks
|
|
486
|
+
* The target dataset name.
|
|
487
|
+
*
|
|
398
488
|
* @example
|
|
399
489
|
* my-dataset
|
|
400
490
|
*/
|
|
@@ -423,9 +513,20 @@ export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
|
423
513
|
}
|
|
424
514
|
|
|
425
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
|
+
*/
|
|
426
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
|
+
*/
|
|
427
525
|
dataset?: GetPipelineResponseBodySinkDataset;
|
|
428
526
|
/**
|
|
527
|
+
* @remarks
|
|
528
|
+
* The sink type. Valid values: dataset and condition.
|
|
529
|
+
*
|
|
429
530
|
* @example
|
|
430
531
|
* condition
|
|
431
532
|
*/
|
|
@@ -463,11 +564,17 @@ export class GetPipelineResponseBodySink extends $dara.Model {
|
|
|
463
564
|
|
|
464
565
|
export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
465
566
|
/**
|
|
567
|
+
* @remarks
|
|
568
|
+
* The source dataset name.
|
|
569
|
+
*
|
|
466
570
|
* @example
|
|
467
571
|
* my-dataset
|
|
468
572
|
*/
|
|
469
573
|
dataset?: string;
|
|
470
574
|
/**
|
|
575
|
+
* @remarks
|
|
576
|
+
* The dataset data filter condition.
|
|
577
|
+
*
|
|
471
578
|
* @example
|
|
472
579
|
* status = \\"pending\\"
|
|
473
580
|
*/
|
|
@@ -497,11 +604,17 @@ export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
|
497
604
|
|
|
498
605
|
export class GetPipelineResponseBodySourceInputFields extends $dara.Model {
|
|
499
606
|
/**
|
|
607
|
+
* @remarks
|
|
608
|
+
* The field name.
|
|
609
|
+
*
|
|
500
610
|
* @example
|
|
501
611
|
* question
|
|
502
612
|
*/
|
|
503
613
|
name?: string;
|
|
504
614
|
/**
|
|
615
|
+
* @remarks
|
|
616
|
+
* The field type. Valid values: text, long, double, and json.
|
|
617
|
+
*
|
|
505
618
|
* @example
|
|
506
619
|
* text
|
|
507
620
|
*/
|
|
@@ -531,16 +644,25 @@ export class GetPipelineResponseBodySourceInputFields extends $dara.Model {
|
|
|
531
644
|
|
|
532
645
|
export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
533
646
|
/**
|
|
647
|
+
* @remarks
|
|
648
|
+
* The SLS Logstore name.
|
|
649
|
+
*
|
|
534
650
|
* @example
|
|
535
651
|
* my-sls-logstore
|
|
536
652
|
*/
|
|
537
653
|
logstore?: string;
|
|
538
654
|
/**
|
|
655
|
+
* @remarks
|
|
656
|
+
* The SLS project name.
|
|
657
|
+
*
|
|
539
658
|
* @example
|
|
540
659
|
* my-sls-project
|
|
541
660
|
*/
|
|
542
661
|
project?: string;
|
|
543
662
|
/**
|
|
663
|
+
* @remarks
|
|
664
|
+
* The data filtered query statement in SLS query/analysis syntax.
|
|
665
|
+
*
|
|
544
666
|
* @example
|
|
545
667
|
* * | SELECT *
|
|
546
668
|
*/
|
|
@@ -571,10 +693,25 @@ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
|
571
693
|
}
|
|
572
694
|
|
|
573
695
|
export class GetPipelineResponseBodySource extends $dara.Model {
|
|
696
|
+
/**
|
|
697
|
+
* @remarks
|
|
698
|
+
* The dataset datasource config under the current AgentSpace.
|
|
699
|
+
*/
|
|
574
700
|
dataset?: GetPipelineResponseBodySourceDataset;
|
|
701
|
+
/**
|
|
702
|
+
* @remarks
|
|
703
|
+
* The input fields and field types, applicable to all data source types.
|
|
704
|
+
*/
|
|
575
705
|
inputFields?: GetPipelineResponseBodySourceInputFields[];
|
|
706
|
+
/**
|
|
707
|
+
* @remarks
|
|
708
|
+
* The SLS Logstore datasource config.
|
|
709
|
+
*/
|
|
576
710
|
logstore?: GetPipelineResponseBodySourceLogstore;
|
|
577
711
|
/**
|
|
712
|
+
* @remarks
|
|
713
|
+
* The data source type. Valid values: logstore and dataset.
|
|
714
|
+
*
|
|
578
715
|
* @example
|
|
579
716
|
* dataset
|
|
580
717
|
*/
|
|
@@ -617,12 +754,17 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
617
754
|
|
|
618
755
|
export class GetPipelineResponseBody extends $dara.Model {
|
|
619
756
|
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* The committed watermark. The value is a UNIX timestamp in seconds.
|
|
759
|
+
*
|
|
620
760
|
* @example
|
|
621
761
|
* 1735660800
|
|
622
762
|
*/
|
|
623
763
|
committedWatermark?: number;
|
|
624
764
|
/**
|
|
625
765
|
* @remarks
|
|
766
|
+
* The time when the pipeline was created, in ISO 8601 UTC format.
|
|
767
|
+
*
|
|
626
768
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
627
769
|
*
|
|
628
770
|
* @example
|
|
@@ -630,41 +772,81 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
630
772
|
*/
|
|
631
773
|
createTime?: string;
|
|
632
774
|
/**
|
|
775
|
+
* @remarks
|
|
776
|
+
* The pipeline description.
|
|
777
|
+
*
|
|
633
778
|
* @example
|
|
634
|
-
*
|
|
779
|
+
* My pipeline
|
|
635
780
|
*/
|
|
636
781
|
description?: string;
|
|
782
|
+
/**
|
|
783
|
+
* @remarks
|
|
784
|
+
* The scheduling method.
|
|
785
|
+
*/
|
|
637
786
|
executePolicy?: GetPipelineResponseBodyExecutePolicy;
|
|
638
787
|
/**
|
|
788
|
+
* @remarks
|
|
789
|
+
* The next scheduling trigger time. The value is a UNIX timestamp in seconds.
|
|
790
|
+
*
|
|
639
791
|
* @example
|
|
640
792
|
* 1735661100
|
|
641
793
|
*/
|
|
642
794
|
nextTriggerTime?: number;
|
|
795
|
+
/**
|
|
796
|
+
* @remarks
|
|
797
|
+
* The pipeline configuration for node orchestration.
|
|
798
|
+
*/
|
|
643
799
|
pipeline?: GetPipelineResponseBodyPipeline;
|
|
644
800
|
/**
|
|
801
|
+
* @remarks
|
|
802
|
+
* The pipeline name.
|
|
803
|
+
*
|
|
645
804
|
* @example
|
|
646
805
|
* my-pipeline
|
|
647
806
|
*/
|
|
648
807
|
pipelineName?: string;
|
|
649
808
|
/**
|
|
809
|
+
* @remarks
|
|
810
|
+
* The region ID.
|
|
811
|
+
*
|
|
650
812
|
* @example
|
|
651
813
|
* cn-hangzhou
|
|
652
814
|
*/
|
|
653
815
|
regionId?: string;
|
|
654
816
|
/**
|
|
817
|
+
* @remarks
|
|
818
|
+
* The request ID, which is used to locate and troubleshoot issues.
|
|
819
|
+
*
|
|
655
820
|
* @example
|
|
656
821
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
657
822
|
*/
|
|
658
823
|
requestId?: string;
|
|
659
824
|
/**
|
|
825
|
+
* @remarks
|
|
826
|
+
* The scheduling status. Valid values:
|
|
827
|
+
* - None: No scheduling.
|
|
828
|
+
* - Active: Active.
|
|
829
|
+
* - Paused: Paused.
|
|
830
|
+
* - Terminated: Terminated.
|
|
831
|
+
*
|
|
660
832
|
* @example
|
|
661
833
|
* Active
|
|
662
834
|
*/
|
|
663
835
|
scheduleStatus?: string;
|
|
836
|
+
/**
|
|
837
|
+
* @remarks
|
|
838
|
+
* The pipeline sink, which is the data write destination.
|
|
839
|
+
*/
|
|
664
840
|
sink?: GetPipelineResponseBodySink;
|
|
841
|
+
/**
|
|
842
|
+
* @remarks
|
|
843
|
+
* The pipeline data source.
|
|
844
|
+
*/
|
|
665
845
|
source?: GetPipelineResponseBodySource;
|
|
666
846
|
/**
|
|
667
847
|
* @remarks
|
|
848
|
+
* The time when the pipeline was last updated, in ISO 8601 UTC format.
|
|
849
|
+
*
|
|
668
850
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
669
851
|
*
|
|
670
852
|
* @example
|
|
@@ -672,6 +854,9 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
672
854
|
*/
|
|
673
855
|
updateTime?: string;
|
|
674
856
|
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The workspace associated with the pipeline.
|
|
859
|
+
*
|
|
675
860
|
* @example
|
|
676
861
|
* my-workspace
|
|
677
862
|
*/
|
package/src/models/model.ts
CHANGED
|
@@ -19,6 +19,8 @@ export { CreatePipelineRequestSourceInputFields } from './CreatePipelineRequest'
|
|
|
19
19
|
export { CreatePipelineRequestSourceLogstore } from './CreatePipelineRequest';
|
|
20
20
|
export { CreatePipelineRequestSource } from './CreatePipelineRequest';
|
|
21
21
|
export { DescribeRegionsResponseBodyRegions } from './DescribeRegionsResponseBody';
|
|
22
|
+
export { ExecuteQueryRequestAnnotationFilterConditions } from './ExecuteQueryRequest';
|
|
23
|
+
export { ExecuteQueryRequestAnnotationFilter } from './ExecuteQueryRequest';
|
|
22
24
|
export { ExecuteQueryResponseBodyMetaTruncation } from './ExecuteQueryResponseBody';
|
|
23
25
|
export { ExecuteQueryResponseBodyMeta } from './ExecuteQueryResponseBody';
|
|
24
26
|
export { GetAgentSpaceResponseBodyMseNamespace } from './GetAgentSpaceResponseBody';
|