@alicloud/agentloop20260520 2.3.7 → 2.3.9
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 +14 -14
- package/dist/client.js +31 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +364 -2
- package/dist/models/CreateContextStoreRequest.js +365 -1
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +5 -0
- package/dist/models/CreateContextStoreResponseBody.js +2 -0
- package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +148 -39
- package/dist/models/CreatePipelineRequest.js +76 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteContextStoreRequest.d.ts +8 -0
- package/dist/models/DeleteContextStoreRequest.js +6 -2
- package/dist/models/DeleteContextStoreRequest.js.map +1 -1
- package/dist/models/DeleteContextStoreResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +489 -0
- package/dist/models/GetContextStoreResponseBody.js +486 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +157 -42
- package/dist/models/GetPipelineResponseBody.js +78 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +5 -0
- package/dist/models/ListContextStoresRequest.js +2 -0
- package/dist/models/ListContextStoresRequest.js.map +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +10 -0
- package/dist/models/ListContextStoresResponseBody.js +4 -0
- package/dist/models/ListContextStoresResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
- package/dist/models/ListPipelinesResponseBody.js +102 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +21 -0
- package/dist/models/MetaSchemaValue.js +58 -0
- package/dist/models/MetaSchemaValue.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +91 -17
- package/dist/models/PreviewPipelineRequest.js +52 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
- package/dist/models/PreviewPipelineResponseBody.js +6 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/SearchContextRequest.d.ts +38 -0
- package/dist/models/SearchContextRequest.js +33 -1
- package/dist/models/SearchContextRequest.js.map +1 -1
- package/dist/models/SearchContextResponseBody.d.ts +10 -0
- package/dist/models/SearchContextResponseBody.js +4 -0
- package/dist/models/SearchContextResponseBody.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +479 -9
- package/dist/models/UpdateContextStoreRequest.js +331 -1
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +8 -0
- package/dist/models/UpdateContextStoreResponseBody.js +2 -0
- package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +140 -32
- package/dist/models/UpdatePipelineRequest.js +76 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +56 -0
- package/dist/models/model.js +211 -98
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -14
- package/src/models/CreateContextStoreRequest.ts +620 -2
- package/src/models/CreateContextStoreResponseBody.ts +7 -0
- package/src/models/CreatePipelineRequest.ts +196 -39
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteContextStoreRequest.ts +10 -0
- package/src/models/DeleteContextStoreResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +828 -0
- package/src/models/GetPipelineResponseBody.ts +207 -42
- package/src/models/ListContextStoresRequest.ts +7 -0
- package/src/models/ListContextStoresResponseBody.ts +14 -0
- package/src/models/ListPipelinesResponseBody.ts +176 -0
- package/src/models/MetaSchemaValue.ts +34 -0
- package/src/models/PreviewPipelineRequest.ts +124 -17
- package/src/models/PreviewPipelineResponseBody.ts +48 -16
- package/src/models/SearchContextRequest.ts +61 -0
- package/src/models/SearchContextResponseBody.ts +14 -0
- package/src/models/UpdateContextStoreRequest.ts +710 -9
- package/src/models/UpdateContextStoreResponseBody.ts +10 -0
- package/src/models/UpdatePipelineRequest.ts +188 -32
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- package/src/models/model.ts +56 -0
|
@@ -2,21 +2,51 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetPipelineResponseBodyExecutePolicyContinuous extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bootstrap start time in UNIX seconds. It has the same precision as runOnce.fromTime or scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1735660800
|
|
12
|
+
*/
|
|
13
|
+
fromTime?: number;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
fromTime: 'fromTime',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
fromTime: 'number',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
5
35
|
export class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
|
|
6
36
|
/**
|
|
7
37
|
* @remarks
|
|
8
|
-
* The start time
|
|
38
|
+
* The start time of the data processing window in UNIX seconds. The value must be less than the toTime value.
|
|
9
39
|
*
|
|
10
40
|
* @example
|
|
11
|
-
*
|
|
41
|
+
* 1735660800
|
|
12
42
|
*/
|
|
13
43
|
fromTime?: number;
|
|
14
44
|
/**
|
|
15
45
|
* @remarks
|
|
16
|
-
* The end time
|
|
46
|
+
* The end time of the data processing window in UNIX seconds. The value must be greater than the fromTime value.
|
|
17
47
|
*
|
|
18
48
|
* @example
|
|
19
|
-
*
|
|
49
|
+
* 1735747200
|
|
20
50
|
*/
|
|
21
51
|
toTime?: number;
|
|
22
52
|
static names(): { [key: string]: string } {
|
|
@@ -45,15 +75,15 @@ export class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
|
|
|
45
75
|
export class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
|
|
46
76
|
/**
|
|
47
77
|
* @remarks
|
|
48
|
-
* The scheduling start time.
|
|
78
|
+
* The scheduling start time in UNIX seconds. It has the same precision as runOnce.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted.
|
|
49
79
|
*
|
|
50
80
|
* @example
|
|
51
|
-
*
|
|
81
|
+
* 1735660800
|
|
52
82
|
*/
|
|
53
83
|
fromTime?: number;
|
|
54
84
|
/**
|
|
55
85
|
* @remarks
|
|
56
|
-
* The scheduling interval.
|
|
86
|
+
* The scheduling interval. Valid values: 1h, 6h, 12h, and 1d.
|
|
57
87
|
*
|
|
58
88
|
* @example
|
|
59
89
|
* 1h
|
|
@@ -85,7 +115,15 @@ export class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
|
|
|
85
115
|
export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
86
116
|
/**
|
|
87
117
|
* @remarks
|
|
88
|
-
* The
|
|
118
|
+
* The continuous execution configuration. It is used when the type is trace, and the processing frequency is a fixed value managed by the server.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* {"fromTime":1735660800}
|
|
122
|
+
*/
|
|
123
|
+
continuous?: GetPipelineResponseBodyExecutePolicyContinuous;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The scheduling mode. Valid values: RunOnce (single execution), Scheduled (periodic execution), and Continuous (continuous execution, only for trace data sources; the processing frequency is a fixed value managed by the server, and automatic processing occurs at minute intervals after trace completion).
|
|
89
127
|
*
|
|
90
128
|
* @example
|
|
91
129
|
* scheduled
|
|
@@ -93,16 +131,23 @@ export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
|
93
131
|
mode?: string;
|
|
94
132
|
/**
|
|
95
133
|
* @remarks
|
|
96
|
-
* The configuration
|
|
134
|
+
* The single execution configuration. This parameter is required only when the mode is RunOnce.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* {"fromTime":1735660800,"toTime":1735664400}
|
|
97
138
|
*/
|
|
98
139
|
runOnce?: GetPipelineResponseBodyExecutePolicyRunOnce;
|
|
99
140
|
/**
|
|
100
141
|
* @remarks
|
|
101
|
-
* The
|
|
142
|
+
* The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* {"interval":"1h","fromTime":1735660800}
|
|
102
146
|
*/
|
|
103
147
|
scheduled?: GetPipelineResponseBodyExecutePolicyScheduled;
|
|
104
148
|
static names(): { [key: string]: string } {
|
|
105
149
|
return {
|
|
150
|
+
continuous: 'continuous',
|
|
106
151
|
mode: 'mode',
|
|
107
152
|
runOnce: 'runOnce',
|
|
108
153
|
scheduled: 'scheduled',
|
|
@@ -111,6 +156,7 @@ export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
|
111
156
|
|
|
112
157
|
static types(): { [key: string]: any } {
|
|
113
158
|
return {
|
|
159
|
+
continuous: GetPipelineResponseBodyExecutePolicyContinuous,
|
|
114
160
|
mode: 'string',
|
|
115
161
|
runOnce: GetPipelineResponseBodyExecutePolicyRunOnce,
|
|
116
162
|
scheduled: GetPipelineResponseBodyExecutePolicyScheduled,
|
|
@@ -118,6 +164,9 @@ export class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
|
|
|
118
164
|
}
|
|
119
165
|
|
|
120
166
|
validate() {
|
|
167
|
+
if(this.continuous && typeof (this.continuous as any).validate === 'function') {
|
|
168
|
+
(this.continuous as any).validate();
|
|
169
|
+
}
|
|
121
170
|
if(this.runOnce && typeof (this.runOnce as any).validate === 'function') {
|
|
122
171
|
(this.runOnce as any).validate();
|
|
123
172
|
}
|
|
@@ -143,7 +192,7 @@ export class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
|
|
|
143
192
|
id?: string;
|
|
144
193
|
/**
|
|
145
194
|
* @remarks
|
|
146
|
-
* The node parameters in key-value structure
|
|
195
|
+
* The node parameters in a key-value structure. The parameters vary based on the node type.
|
|
147
196
|
*/
|
|
148
197
|
parameters?: { [key: string]: any };
|
|
149
198
|
/**
|
|
@@ -186,6 +235,9 @@ export class GetPipelineResponseBodyPipeline extends $dara.Model {
|
|
|
186
235
|
/**
|
|
187
236
|
* @remarks
|
|
188
237
|
* The list of nodes.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* [{"id":"select-fields","type":"project","parameters":{}}]
|
|
189
241
|
*/
|
|
190
242
|
nodes?: GetPipelineResponseBodyPipelineNodes[];
|
|
191
243
|
static names(): { [key: string]: string } {
|
|
@@ -335,12 +387,12 @@ export class GetPipelineResponseBodySinkConditionRoutesSinkDataset extends $dara
|
|
|
335
387
|
export class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model {
|
|
336
388
|
/**
|
|
337
389
|
* @remarks
|
|
338
|
-
* The
|
|
390
|
+
* The routing destination dataset.
|
|
339
391
|
*/
|
|
340
392
|
dataset?: GetPipelineResponseBodySinkConditionRoutesSinkDataset;
|
|
341
393
|
/**
|
|
342
394
|
* @remarks
|
|
343
|
-
* The
|
|
395
|
+
* The routing destination type. Currently, only dataset is supported.
|
|
344
396
|
*
|
|
345
397
|
* @example
|
|
346
398
|
* dataset
|
|
@@ -375,7 +427,7 @@ export class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model
|
|
|
375
427
|
export class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
|
|
376
428
|
/**
|
|
377
429
|
* @remarks
|
|
378
|
-
* The route expression in SPL. Only where, project, and extend are supported.
|
|
430
|
+
* The route expression in Search Processing Language (SPL). Only where, project, and extend are supported.
|
|
379
431
|
*
|
|
380
432
|
* @example
|
|
381
433
|
* * | where intent = \\"refund\\"
|
|
@@ -391,7 +443,7 @@ export class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
|
|
|
391
443
|
id?: string;
|
|
392
444
|
/**
|
|
393
445
|
* @remarks
|
|
394
|
-
* The
|
|
446
|
+
* The routing write destination.
|
|
395
447
|
*/
|
|
396
448
|
sink?: GetPipelineResponseBodySinkConditionRoutesSink;
|
|
397
449
|
static names(): { [key: string]: string } {
|
|
@@ -430,7 +482,7 @@ export class GetPipelineResponseBodySinkCondition extends $dara.Model {
|
|
|
430
482
|
defaultSink?: GetPipelineResponseBodySinkConditionDefaultSink;
|
|
431
483
|
/**
|
|
432
484
|
* @remarks
|
|
433
|
-
* The route
|
|
485
|
+
* The route matching mode. Currently, only all is supported.
|
|
434
486
|
*
|
|
435
487
|
* @example
|
|
436
488
|
* all
|
|
@@ -475,7 +527,7 @@ export class GetPipelineResponseBodySinkCondition extends $dara.Model {
|
|
|
475
527
|
export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
476
528
|
/**
|
|
477
529
|
* @remarks
|
|
478
|
-
* The name of the AgentSpace to which the
|
|
530
|
+
* The name of the AgentSpace to which the destination dataset belongs.
|
|
479
531
|
*
|
|
480
532
|
* @example
|
|
481
533
|
* my-agent-space
|
|
@@ -483,7 +535,7 @@ export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
|
483
535
|
agentSpace?: string;
|
|
484
536
|
/**
|
|
485
537
|
* @remarks
|
|
486
|
-
* The
|
|
538
|
+
* The name of the destination dataset.
|
|
487
539
|
*
|
|
488
540
|
* @example
|
|
489
541
|
* my-dataset
|
|
@@ -515,17 +567,17 @@ export class GetPipelineResponseBodySinkDataset extends $dara.Model {
|
|
|
515
567
|
export class GetPipelineResponseBodySink extends $dara.Model {
|
|
516
568
|
/**
|
|
517
569
|
* @remarks
|
|
518
|
-
* The conditional routing configuration. This
|
|
570
|
+
* The conditional routing configuration. This configuration is used only when the sink.type is condition.
|
|
519
571
|
*/
|
|
520
572
|
condition?: GetPipelineResponseBodySinkCondition;
|
|
521
573
|
/**
|
|
522
574
|
* @remarks
|
|
523
|
-
* The
|
|
575
|
+
* The destination dataset configuration for the dataset sink. This is used only when sink.type is set to dataset.
|
|
524
576
|
*/
|
|
525
577
|
dataset?: GetPipelineResponseBodySinkDataset;
|
|
526
578
|
/**
|
|
527
579
|
* @remarks
|
|
528
|
-
* The
|
|
580
|
+
* The destination type. Valid values: dataset and condition.
|
|
529
581
|
*
|
|
530
582
|
* @example
|
|
531
583
|
* condition
|
|
@@ -565,7 +617,7 @@ export class GetPipelineResponseBodySink extends $dara.Model {
|
|
|
565
617
|
export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
566
618
|
/**
|
|
567
619
|
* @remarks
|
|
568
|
-
* The source dataset
|
|
620
|
+
* The name of the source dataset.
|
|
569
621
|
*
|
|
570
622
|
* @example
|
|
571
623
|
* my-dataset
|
|
@@ -573,7 +625,7 @@ export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
|
573
625
|
dataset?: string;
|
|
574
626
|
/**
|
|
575
627
|
* @remarks
|
|
576
|
-
* The
|
|
628
|
+
* The data filter condition for the dataset.
|
|
577
629
|
*
|
|
578
630
|
* @example
|
|
579
631
|
* status = \\"pending\\"
|
|
@@ -605,7 +657,7 @@ export class GetPipelineResponseBodySourceDataset extends $dara.Model {
|
|
|
605
657
|
export class GetPipelineResponseBodySourceInputFields extends $dara.Model {
|
|
606
658
|
/**
|
|
607
659
|
* @remarks
|
|
608
|
-
* The field
|
|
660
|
+
* The name of the field.
|
|
609
661
|
*
|
|
610
662
|
* @example
|
|
611
663
|
* question
|
|
@@ -645,7 +697,7 @@ export class GetPipelineResponseBodySourceInputFields extends $dara.Model {
|
|
|
645
697
|
export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
646
698
|
/**
|
|
647
699
|
* @remarks
|
|
648
|
-
* The SLS Logstore
|
|
700
|
+
* The name of the SLS Logstore.
|
|
649
701
|
*
|
|
650
702
|
* @example
|
|
651
703
|
* my-sls-logstore
|
|
@@ -653,7 +705,7 @@ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
|
653
705
|
logstore?: string;
|
|
654
706
|
/**
|
|
655
707
|
* @remarks
|
|
656
|
-
* The SLS project
|
|
708
|
+
* The name of the SLS project.
|
|
657
709
|
*
|
|
658
710
|
* @example
|
|
659
711
|
* my-sls-project
|
|
@@ -661,7 +713,7 @@ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
|
661
713
|
project?: string;
|
|
662
714
|
/**
|
|
663
715
|
* @remarks
|
|
664
|
-
* The data filtered query statement
|
|
716
|
+
* The data filtered query statement (SLS query and analysis syntax).
|
|
665
717
|
*
|
|
666
718
|
* @example
|
|
667
719
|
* * | SELECT *
|
|
@@ -692,25 +744,118 @@ export class GetPipelineResponseBodySourceLogstore extends $dara.Model {
|
|
|
692
744
|
}
|
|
693
745
|
}
|
|
694
746
|
|
|
747
|
+
export class GetPipelineResponseBodySourceTrajectoryEnrich extends $dara.Model {
|
|
748
|
+
/**
|
|
749
|
+
* @remarks
|
|
750
|
+
* The enrichment column list. This is retained for compatibility. The current implementation outputs a single fixed column agent_trajectory, and this parameter no longer affects the output.
|
|
751
|
+
*
|
|
752
|
+
* @example
|
|
753
|
+
* ["input","output","session_id"]
|
|
754
|
+
*/
|
|
755
|
+
columns?: string[];
|
|
756
|
+
/**
|
|
757
|
+
* @remarks
|
|
758
|
+
* Specifies whether trajectory enrichment is enabled.
|
|
759
|
+
*
|
|
760
|
+
* @example
|
|
761
|
+
* false
|
|
762
|
+
*/
|
|
763
|
+
enabled?: boolean;
|
|
764
|
+
static names(): { [key: string]: string } {
|
|
765
|
+
return {
|
|
766
|
+
columns: 'columns',
|
|
767
|
+
enabled: 'enabled',
|
|
768
|
+
};
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
static types(): { [key: string]: any } {
|
|
772
|
+
return {
|
|
773
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
774
|
+
enabled: 'boolean',
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
validate() {
|
|
779
|
+
if(Array.isArray(this.columns)) {
|
|
780
|
+
$dara.Model.validateArray(this.columns);
|
|
781
|
+
}
|
|
782
|
+
super.validate();
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
constructor(map?: { [key: string]: any }) {
|
|
786
|
+
super(map);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export class GetPipelineResponseBodySourceTrajectory extends $dara.Model {
|
|
791
|
+
/**
|
|
792
|
+
* @remarks
|
|
793
|
+
* The trajectory enrichment. It mounts trajectory data into the scrubbing results by trace_id. When writing to a dataset, the data is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
|
|
794
|
+
*
|
|
795
|
+
* @example
|
|
796
|
+
* {"enabled":true,"columns":["input","output"]}
|
|
797
|
+
*/
|
|
798
|
+
enrich?: GetPipelineResponseBodySourceTrajectoryEnrich;
|
|
799
|
+
static names(): { [key: string]: string } {
|
|
800
|
+
return {
|
|
801
|
+
enrich: 'enrich',
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
static types(): { [key: string]: any } {
|
|
806
|
+
return {
|
|
807
|
+
enrich: GetPipelineResponseBodySourceTrajectoryEnrich,
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
validate() {
|
|
812
|
+
if(this.enrich && typeof (this.enrich as any).validate === 'function') {
|
|
813
|
+
(this.enrich as any).validate();
|
|
814
|
+
}
|
|
815
|
+
super.validate();
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
constructor(map?: { [key: string]: any }) {
|
|
819
|
+
super(map);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
|
|
695
823
|
export class GetPipelineResponseBodySource extends $dara.Model {
|
|
696
824
|
/**
|
|
697
825
|
* @remarks
|
|
698
|
-
* The dataset datasource config
|
|
826
|
+
* The dataset datasource config in the current AgentSpace.
|
|
827
|
+
*
|
|
828
|
+
* @example
|
|
829
|
+
* {"dataset":"my-dataset","filter":"status = \\"pending\\""}
|
|
699
830
|
*/
|
|
700
831
|
dataset?: GetPipelineResponseBodySourceDataset;
|
|
701
832
|
/**
|
|
702
833
|
* @remarks
|
|
703
|
-
* The input fields and field types
|
|
834
|
+
* The input fields and field types. This applies to all data source types.
|
|
835
|
+
*
|
|
836
|
+
* @example
|
|
837
|
+
* [{"name":"question","type":"text"}]
|
|
704
838
|
*/
|
|
705
839
|
inputFields?: GetPipelineResponseBodySourceInputFields[];
|
|
706
840
|
/**
|
|
707
841
|
* @remarks
|
|
708
842
|
* The SLS Logstore datasource config.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* {"project":"my-sls-project","logstore":"agent-logs"}
|
|
709
846
|
*/
|
|
710
847
|
logstore?: GetPipelineResponseBodySourceLogstore;
|
|
711
848
|
/**
|
|
712
849
|
* @remarks
|
|
713
|
-
* The data
|
|
850
|
+
* The trajectory data configuration. This is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory scrubbing service and extends it by feature.
|
|
851
|
+
*
|
|
852
|
+
* @example
|
|
853
|
+
* {"enrich":{"enabled":true,"columns":["input","output"]}}
|
|
854
|
+
*/
|
|
855
|
+
trajectory?: GetPipelineResponseBodySourceTrajectory;
|
|
856
|
+
/**
|
|
857
|
+
* @remarks
|
|
858
|
+
* The data source type. Valid values: logstore, dataset, and trace. The trace value indicates a trajectory signal-driven processing mode. The validity of the enum is verified by the server.
|
|
714
859
|
*
|
|
715
860
|
* @example
|
|
716
861
|
* dataset
|
|
@@ -721,6 +866,7 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
721
866
|
dataset: 'dataset',
|
|
722
867
|
inputFields: 'inputFields',
|
|
723
868
|
logstore: 'logstore',
|
|
869
|
+
trajectory: 'trajectory',
|
|
724
870
|
type: 'type',
|
|
725
871
|
};
|
|
726
872
|
}
|
|
@@ -730,6 +876,7 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
730
876
|
dataset: GetPipelineResponseBodySourceDataset,
|
|
731
877
|
inputFields: { 'type': 'array', 'itemType': GetPipelineResponseBodySourceInputFields },
|
|
732
878
|
logstore: GetPipelineResponseBodySourceLogstore,
|
|
879
|
+
trajectory: GetPipelineResponseBodySourceTrajectory,
|
|
733
880
|
type: 'string',
|
|
734
881
|
};
|
|
735
882
|
}
|
|
@@ -744,6 +891,9 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
744
891
|
if(this.logstore && typeof (this.logstore as any).validate === 'function') {
|
|
745
892
|
(this.logstore as any).validate();
|
|
746
893
|
}
|
|
894
|
+
if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
|
|
895
|
+
(this.trajectory as any).validate();
|
|
896
|
+
}
|
|
747
897
|
super.validate();
|
|
748
898
|
}
|
|
749
899
|
|
|
@@ -755,7 +905,7 @@ export class GetPipelineResponseBodySource extends $dara.Model {
|
|
|
755
905
|
export class GetPipelineResponseBody extends $dara.Model {
|
|
756
906
|
/**
|
|
757
907
|
* @remarks
|
|
758
|
-
* The committed watermark
|
|
908
|
+
* The committed watermark in UNIX seconds.
|
|
759
909
|
*
|
|
760
910
|
* @example
|
|
761
911
|
* 1735660800
|
|
@@ -763,7 +913,7 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
763
913
|
committedWatermark?: number;
|
|
764
914
|
/**
|
|
765
915
|
* @remarks
|
|
766
|
-
* The
|
|
916
|
+
* The pipeline creation time in ISO 8601 UTC format.
|
|
767
917
|
*
|
|
768
918
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
769
919
|
*
|
|
@@ -781,12 +931,15 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
781
931
|
description?: string;
|
|
782
932
|
/**
|
|
783
933
|
* @remarks
|
|
784
|
-
* The
|
|
934
|
+
* The execution policy.
|
|
935
|
+
*
|
|
936
|
+
* @example
|
|
937
|
+
* {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
|
|
785
938
|
*/
|
|
786
939
|
executePolicy?: GetPipelineResponseBodyExecutePolicy;
|
|
787
940
|
/**
|
|
788
941
|
* @remarks
|
|
789
|
-
* The next scheduling trigger time
|
|
942
|
+
* The next scheduling trigger time in UNIX seconds.
|
|
790
943
|
*
|
|
791
944
|
* @example
|
|
792
945
|
* 1735661100
|
|
@@ -795,6 +948,9 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
795
948
|
/**
|
|
796
949
|
* @remarks
|
|
797
950
|
* The pipeline configuration for node orchestration.
|
|
951
|
+
*
|
|
952
|
+
* @example
|
|
953
|
+
* {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
|
|
798
954
|
*/
|
|
799
955
|
pipeline?: GetPipelineResponseBodyPipeline;
|
|
800
956
|
/**
|
|
@@ -815,7 +971,7 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
815
971
|
regionId?: string;
|
|
816
972
|
/**
|
|
817
973
|
* @remarks
|
|
818
|
-
* The request ID
|
|
974
|
+
* The request ID used to locate the request during troubleshooting.
|
|
819
975
|
*
|
|
820
976
|
* @example
|
|
821
977
|
* 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
|
|
@@ -823,11 +979,7 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
823
979
|
requestId?: string;
|
|
824
980
|
/**
|
|
825
981
|
* @remarks
|
|
826
|
-
* The scheduling status. Valid values:
|
|
827
|
-
* - None: No scheduling.
|
|
828
|
-
* - Active: Active.
|
|
829
|
-
* - Paused: Paused.
|
|
830
|
-
* - Terminated: Terminated.
|
|
982
|
+
* The scheduling status. Valid values: None (no scheduling), Active (active), Paused (paused), and Terminated (terminated).
|
|
831
983
|
*
|
|
832
984
|
* @example
|
|
833
985
|
* Active
|
|
@@ -835,17 +987,28 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
835
987
|
scheduleStatus?: string;
|
|
836
988
|
/**
|
|
837
989
|
* @remarks
|
|
838
|
-
* The
|
|
990
|
+
* The scheduling type. Valid values: RunOnce (single execution), Scheduled (periodic scheduling), and Continuous (continuous execution driven by trace source signals).
|
|
991
|
+
*
|
|
992
|
+
* @example
|
|
993
|
+
* RunOnce
|
|
994
|
+
*/
|
|
995
|
+
scheduleType?: string;
|
|
996
|
+
/**
|
|
997
|
+
* @remarks
|
|
998
|
+
* The pipeline sink, which is the destination for data writing.
|
|
839
999
|
*/
|
|
840
1000
|
sink?: GetPipelineResponseBodySink;
|
|
841
1001
|
/**
|
|
842
1002
|
* @remarks
|
|
843
1003
|
* The pipeline data source.
|
|
1004
|
+
*
|
|
1005
|
+
* @example
|
|
1006
|
+
* {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
|
|
844
1007
|
*/
|
|
845
1008
|
source?: GetPipelineResponseBodySource;
|
|
846
1009
|
/**
|
|
847
1010
|
* @remarks
|
|
848
|
-
* The time
|
|
1011
|
+
* The last update time of the pipeline, in ISO 8601 UTC format.
|
|
849
1012
|
*
|
|
850
1013
|
* Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
|
|
851
1014
|
*
|
|
@@ -873,6 +1036,7 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
873
1036
|
regionId: 'regionId',
|
|
874
1037
|
requestId: 'requestId',
|
|
875
1038
|
scheduleStatus: 'scheduleStatus',
|
|
1039
|
+
scheduleType: 'scheduleType',
|
|
876
1040
|
sink: 'sink',
|
|
877
1041
|
source: 'source',
|
|
878
1042
|
updateTime: 'updateTime',
|
|
@@ -892,6 +1056,7 @@ export class GetPipelineResponseBody extends $dara.Model {
|
|
|
892
1056
|
regionId: 'string',
|
|
893
1057
|
requestId: 'string',
|
|
894
1058
|
scheduleStatus: 'string',
|
|
1059
|
+
scheduleType: 'string',
|
|
895
1060
|
sink: GetPipelineResponseBodySink,
|
|
896
1061
|
source: GetPipelineResponseBodySource,
|
|
897
1062
|
updateTime: 'string',
|
|
@@ -35,12 +35,18 @@ export class ListContextStoresRequest extends $dara.Model {
|
|
|
35
35
|
* MTIzNDU2Nzg5MA==
|
|
36
36
|
*/
|
|
37
37
|
nextToken?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* trajectory
|
|
41
|
+
*/
|
|
42
|
+
sourceType?: string;
|
|
38
43
|
static names(): { [key: string]: string } {
|
|
39
44
|
return {
|
|
40
45
|
contextStoreName: 'contextStoreName',
|
|
41
46
|
contextType: 'contextType',
|
|
42
47
|
maxResults: 'maxResults',
|
|
43
48
|
nextToken: 'nextToken',
|
|
49
|
+
sourceType: 'sourceType',
|
|
44
50
|
};
|
|
45
51
|
}
|
|
46
52
|
|
|
@@ -50,6 +56,7 @@ export class ListContextStoresRequest extends $dara.Model {
|
|
|
50
56
|
contextType: 'string',
|
|
51
57
|
maxResults: 'number',
|
|
52
58
|
nextToken: 'string',
|
|
59
|
+
sourceType: 'string',
|
|
53
60
|
};
|
|
54
61
|
}
|
|
55
62
|
|
|
@@ -61,6 +61,11 @@ export class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
61
61
|
* ["order-service","payment-service"]
|
|
62
62
|
*/
|
|
63
63
|
serviceNames?: string[];
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* trajectory
|
|
67
|
+
*/
|
|
68
|
+
sourceType?: string;
|
|
64
69
|
/**
|
|
65
70
|
* @remarks
|
|
66
71
|
* The status of the context store. Valid values: ACTIVE, INITIALIZING, and FAILED.
|
|
@@ -69,6 +74,11 @@ export class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
69
74
|
* ACTIVE
|
|
70
75
|
*/
|
|
71
76
|
status?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* upsert
|
|
80
|
+
*/
|
|
81
|
+
storageMode?: string;
|
|
72
82
|
/**
|
|
73
83
|
* @remarks
|
|
74
84
|
* The time when the context store was last updated, in ISO 8601 UTC format.
|
|
@@ -88,7 +98,9 @@ export class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
88
98
|
description: 'description',
|
|
89
99
|
regionId: 'regionId',
|
|
90
100
|
serviceNames: 'serviceNames',
|
|
101
|
+
sourceType: 'sourceType',
|
|
91
102
|
status: 'status',
|
|
103
|
+
storageMode: 'storageMode',
|
|
92
104
|
updateTime: 'updateTime',
|
|
93
105
|
};
|
|
94
106
|
}
|
|
@@ -102,7 +114,9 @@ export class ListContextStoresResponseBodyResults extends $dara.Model {
|
|
|
102
114
|
description: 'string',
|
|
103
115
|
regionId: 'string',
|
|
104
116
|
serviceNames: { 'type': 'array', 'itemType': 'string' },
|
|
117
|
+
sourceType: 'string',
|
|
105
118
|
status: 'string',
|
|
119
|
+
storageMode: 'string',
|
|
106
120
|
updateTime: 'string',
|
|
107
121
|
};
|
|
108
122
|
}
|