@alicloud/agentloop20260520 2.3.7 → 2.3.8

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.
Files changed (40) hide show
  1. package/dist/client.d.ts +12 -12
  2. package/dist/client.js +12 -12
  3. package/dist/models/CreatePipelineRequest.d.ts +148 -39
  4. package/dist/models/CreatePipelineRequest.js +76 -1
  5. package/dist/models/CreatePipelineRequest.js.map +1 -1
  6. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  7. package/dist/models/GetPipelineResponseBody.d.ts +157 -42
  8. package/dist/models/GetPipelineResponseBody.js +78 -1
  9. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  10. package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
  11. package/dist/models/ListPipelinesResponseBody.js +102 -1
  12. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  13. package/dist/models/MetaSchemaValue.d.ts +21 -0
  14. package/dist/models/MetaSchemaValue.js +58 -0
  15. package/dist/models/MetaSchemaValue.js.map +1 -0
  16. package/dist/models/PreviewPipelineRequest.d.ts +91 -17
  17. package/dist/models/PreviewPipelineRequest.js +52 -1
  18. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  19. package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
  20. package/dist/models/PreviewPipelineResponseBody.js +6 -0
  21. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  22. package/dist/models/UpdatePipelineRequest.d.ts +140 -32
  23. package/dist/models/UpdatePipelineRequest.js +76 -1
  24. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  25. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  26. package/dist/models/model.d.ts +16 -0
  27. package/dist/models/model.js +116 -84
  28. package/dist/models/model.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/client.ts +12 -12
  31. package/src/models/CreatePipelineRequest.ts +196 -39
  32. package/src/models/CreatePipelineResponseBody.ts +1 -1
  33. package/src/models/GetPipelineResponseBody.ts +207 -42
  34. package/src/models/ListPipelinesResponseBody.ts +176 -0
  35. package/src/models/MetaSchemaValue.ts +34 -0
  36. package/src/models/PreviewPipelineRequest.ts +124 -17
  37. package/src/models/PreviewPipelineResponseBody.ts +48 -16
  38. package/src/models/UpdatePipelineRequest.ts +188 -32
  39. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  40. package/src/models/model.ts +16 -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 { MetaSchemaValue } from "./MetaSchemaValue";
3
4
 
4
5
 
5
6
  export class PreviewPipelineResponseBodyMeta extends $dara.Model {
6
7
  /**
7
8
  * @remarks
8
- * The aggregation analysis SPL statement.
9
+ * The SPL statement for aggregation analysis.
9
10
  *
10
11
  * @example
11
12
  * * | SELECT status, count(*) AS cnt GROUP BY status
@@ -13,7 +14,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
13
14
  aggQuery?: string;
14
15
  /**
15
16
  * @remarks
16
- * `meta.columnTypes` provides the mapping from column names to data types (string / long / double / json).
17
+ * The list of data types for each column. This field provides a mapping from column names to data types, such as string, long, double, and json.
18
+ *
19
+ * @example
20
+ * ["long","string"]
17
21
  */
18
22
  columnTypes?: string[];
19
23
  /**
@@ -26,7 +30,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
26
30
  count?: number;
27
31
  /**
28
32
  * @remarks
29
- * The number of CPU cores consumed.
33
+ * The number of consumed CPU cores.
30
34
  *
31
35
  * @example
32
36
  * 2
@@ -34,7 +38,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
34
38
  cpuCores?: number;
35
39
  /**
36
40
  * @remarks
37
- * The CPU time consumed, in seconds.
41
+ * The consumed CPU time in seconds.
38
42
  *
39
43
  * @example
40
44
  * 0.5
@@ -42,7 +46,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
42
46
  cpuSec?: number;
43
47
  /**
44
48
  * @remarks
45
- * The query duration, in milliseconds.
49
+ * The query duration in milliseconds.
46
50
  *
47
51
  * @example
48
52
  * 1200
@@ -50,22 +54,31 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
50
54
  elapsedMillisecond?: number;
51
55
  /**
52
56
  * @remarks
53
- * Indicates whether the query is an SQL query.
57
+ * Specifies whether an SQL query is used.
58
+ *
59
+ * @example
60
+ * true
54
61
  */
55
62
  hasSQL?: boolean;
56
63
  /**
57
64
  * @remarks
58
- * Indicates whether nanosecond-level ordering is enabled.
65
+ * Specifies whether nanosecond-level ordering is enabled.
66
+ *
67
+ * @example
68
+ * true
59
69
  */
60
70
  isAccurate?: boolean;
61
71
  /**
62
72
  * @remarks
63
73
  * The list of result column names.
74
+ *
75
+ * @example
76
+ * ["status","method","path"]
64
77
  */
65
78
  keys?: string[];
66
79
  /**
67
80
  * @remarks
68
- * The maximum number of rows that can be returned.
81
+ * The maximum number of rows returned in the result.
69
82
  *
70
83
  * @example
71
84
  * 5
@@ -73,7 +86,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
73
86
  limited?: number;
74
87
  /**
75
88
  * @remarks
76
- * The query mode identifier.
89
+ * The identifier of the query mode.
77
90
  *
78
91
  * @example
79
92
  * 1
@@ -81,7 +94,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
81
94
  mode?: number;
82
95
  /**
83
96
  * @remarks
84
- * The number of data bytes processed.
97
+ * The number of bytes of processed data.
85
98
  *
86
99
  * @example
87
100
  * 524288
@@ -97,7 +110,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
97
110
  processedRows?: number;
98
111
  /**
99
112
  * @remarks
100
- * The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is complete.
113
+ * The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is completed.
101
114
  *
102
115
  * @example
103
116
  * Complete
@@ -105,7 +118,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
105
118
  progress?: string;
106
119
  /**
107
120
  * @remarks
108
- * The number of raw data bytes scanned.
121
+ * The number of bytes of scanned raw data.
109
122
  *
110
123
  * @example
111
124
  * 1048576
@@ -113,12 +126,23 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
113
126
  scanBytes?: number;
114
127
  /**
115
128
  * @remarks
116
- * The type and aggregation information of columns.
129
+ * The dataset schema of the final pipeline output. The keys are field names, and the type in the values supports text, long, double, and json. The field order is determined by the keys.
130
+ *
131
+ * @example
132
+ * {"status":{"type":"long"}}
133
+ */
134
+ schema?: { [key: string]: MetaSchemaValue };
135
+ /**
136
+ * @remarks
137
+ * The column types and aggregation information.
138
+ *
139
+ * @example
140
+ * [{"column":"status","type":"long"}]
117
141
  */
118
142
  terms?: { [key: string]: any }[];
119
143
  /**
120
144
  * @remarks
121
- * The filter condition SPL statement.
145
+ * The SPL statement for the filter condition.
122
146
  *
123
147
  * @example
124
148
  * status: 200
@@ -141,6 +165,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
141
165
  processedRows: 'processedRows',
142
166
  progress: 'progress',
143
167
  scanBytes: 'scanBytes',
168
+ schema: 'schema',
144
169
  terms: 'terms',
145
170
  whereQuery: 'whereQuery',
146
171
  };
@@ -163,6 +188,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
163
188
  processedRows: 'number',
164
189
  progress: 'string',
165
190
  scanBytes: 'number',
191
+ schema: { 'type': 'map', 'keyType': 'string', 'valueType': MetaSchemaValue },
166
192
  terms: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'any' } },
167
193
  whereQuery: 'string',
168
194
  };
@@ -175,6 +201,9 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
175
201
  if(Array.isArray(this.keys)) {
176
202
  $dara.Model.validateArray(this.keys);
177
203
  }
204
+ if(this.schema) {
205
+ $dara.Model.validateMap(this.schema);
206
+ }
178
207
  if(Array.isArray(this.terms)) {
179
208
  $dara.Model.validateArray(this.terms);
180
209
  }
@@ -189,7 +218,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
189
218
  export class PreviewPipelineResponseBody extends $dara.Model {
190
219
  /**
191
220
  * @remarks
192
- * `data` is a collection of sample rows (maps within an array) that contains only the first N rows (up to 5 by default) and does not reflect the complete write plan.
221
+ * The collection of sample rows for the preview result. Each row is a key-value structure. The array contains only the first N rows, up to 5 rows by default, and does not reflect the complete write plan.
222
+ *
223
+ * @example
224
+ * [{"status":"200","method":"POST"}]
193
225
  */
194
226
  data?: { [key: string]: string }[];
195
227
  /**
@@ -199,7 +231,7 @@ export class PreviewPipelineResponseBody extends $dara.Model {
199
231
  meta?: PreviewPipelineResponseBodyMeta;
200
232
  /**
201
233
  * @remarks
202
- * The request ID, which is used to locate and troubleshoot issues.
234
+ * The request ID. You can use this ID to locate the request when you troubleshoot issues.
203
235
  *
204
236
  * @example
205
237
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -2,21 +2,51 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdatePipelineRequestExecutePolicyContinuous extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The bootstrap start time, specified as a UNIX timestamp in seconds. The precision is the same as that of runOnce or scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted to seconds. 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, the cursor 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 UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
6
36
  /**
7
37
  * @remarks
8
- * The start time for data processing, in UNIX millisecond timestamp.
38
+ * The start time of the data processing window, specified as a UNIX timestamp in seconds. The value must be less than the value of toTime.
9
39
  *
10
40
  * @example
11
- * 1735660800000
41
+ * 1735660800
12
42
  */
13
43
  fromTime?: number;
14
44
  /**
15
45
  * @remarks
16
- * The end time for data processing, in UNIX millisecond timestamp.
46
+ * The end time of the data processing window, specified as a UNIX timestamp in seconds. The value must be greater than the value of fromTime.
17
47
  *
18
48
  * @example
19
- * 1735747200000
49
+ * 1735747200
20
50
  */
21
51
  toTime?: number;
22
52
  static names(): { [key: string]: string } {
@@ -45,15 +75,15 @@ export class UpdatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
45
75
  export class UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
46
76
  /**
47
77
  * @remarks
48
- * The scheduling start time, in UNIX millisecond timestamp.
78
+ * The scheduling start time, specified as a UNIX timestamp in seconds. The precision is the same as that of runOnce.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted to seconds.
49
79
  *
50
80
  * @example
51
- * 1735660800000
81
+ * 1735660800
52
82
  */
53
83
  fromTime?: number;
54
84
  /**
55
85
  * @remarks
56
- * The scheduling interval. For example, 1h.
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 UpdatePipelineRequestExecutePolicyScheduled extends $dara.Model {
85
115
  export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
86
116
  /**
87
117
  * @remarks
88
- * The scheduling mode. For example, Scheduled (timed scheduling) or RunOnce (one-time execution).
118
+ * The continuous execution configuration. This parameter is used when the type is trace. The processing frequency is a fixed value managed by the server.
119
+ *
120
+ * @example
121
+ * {"fromTime":1735660800}
122
+ */
123
+ continuous?: UpdatePipelineRequestExecutePolicyContinuous;
124
+ /**
125
+ * @remarks
126
+ * The scheduling mode. Valid values: RunOnce (single execution), Scheduled (periodic execution), and Continuous (continuous execution, applicable only to trace data sources). For Continuous mode, the processing frequency is a fixed value managed by the server, and data is automatically processed at minute intervals after the trace is completed.
89
127
  *
90
128
  * @example
91
129
  * Scheduled
@@ -93,16 +131,23 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
93
131
  mode?: string;
94
132
  /**
95
133
  * @remarks
96
- * The configuration for one-time execution.
134
+ * The single execution configuration. This parameter is required only when the mode is set to RunOnce.
135
+ *
136
+ * @example
137
+ * {"fromTime":1735660800,"toTime":1735664400}
97
138
  */
98
139
  runOnce?: UpdatePipelineRequestExecutePolicyRunOnce;
99
140
  /**
100
141
  * @remarks
101
- * The timed scheduling configuration.
142
+ * The periodic scheduling configuration. This parameter is required only when the mode is set to Scheduled.
143
+ *
144
+ * @example
145
+ * {"interval":"1h","fromTime":1735660800}
102
146
  */
103
147
  scheduled?: UpdatePipelineRequestExecutePolicyScheduled;
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 UpdatePipelineRequestExecutePolicy extends $dara.Model {
111
156
 
112
157
  static types(): { [key: string]: any } {
113
158
  return {
159
+ continuous: UpdatePipelineRequestExecutePolicyContinuous,
114
160
  mode: 'string',
115
161
  runOnce: UpdatePipelineRequestExecutePolicyRunOnce,
116
162
  scheduled: UpdatePipelineRequestExecutePolicyScheduled,
@@ -118,6 +164,9 @@ export class UpdatePipelineRequestExecutePolicy 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
  }
@@ -135,7 +184,7 @@ export class UpdatePipelineRequestExecutePolicy extends $dara.Model {
135
184
  export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
136
185
  /**
137
186
  * @remarks
138
- * The node ID.
187
+ * The ID of the node.
139
188
  *
140
189
  * @example
141
190
  * node-1
@@ -143,12 +192,12 @@ export class UpdatePipelineRequestPipelineNodes extends $dara.Model {
143
192
  id?: string;
144
193
  /**
145
194
  * @remarks
146
- * The node parameters in key-value format. The parameters vary depending on the node type.
195
+ * The parameters of the node. The parameters use a key-value structure and vary based on the node type.
147
196
  */
148
197
  parameters?: { [key: string]: any };
149
198
  /**
150
199
  * @remarks
151
- * The node type.
200
+ * The type of the node.
152
201
  *
153
202
  * @example
154
203
  * transform
@@ -186,6 +235,9 @@ export class UpdatePipelineRequestPipeline 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?: UpdatePipelineRequestPipelineNodes[];
191
243
  static names(): { [key: string]: string } {
@@ -375,7 +427,7 @@ export class UpdatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
375
427
  export class UpdatePipelineRequestSinkConditionRoutes 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 UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
391
443
  id?: string;
392
444
  /**
393
445
  * @remarks
394
- * The write destination for the route.
446
+ * The sink for the route.
395
447
  */
396
448
  sink?: UpdatePipelineRequestSinkConditionRoutesSink;
397
449
  static names(): { [key: string]: string } {
@@ -425,7 +477,7 @@ export class UpdatePipelineRequestSinkConditionRoutes extends $dara.Model {
425
477
  export class UpdatePipelineRequestSinkCondition extends $dara.Model {
426
478
  /**
427
479
  * @remarks
428
- * The default write destination used when no conditional route is matched.
480
+ * The default sink used when no conditional route is matched.
429
481
  */
430
482
  defaultSink?: UpdatePipelineRequestSinkConditionDefaultSink;
431
483
  /**
@@ -515,17 +567,17 @@ export class UpdatePipelineRequestSinkDataset extends $dara.Model {
515
567
  export class UpdatePipelineRequestSink extends $dara.Model {
516
568
  /**
517
569
  * @remarks
518
- * The conditional routing configuration. This parameter takes effect only when sink.type is set to condition.
570
+ * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
519
571
  */
520
572
  condition?: UpdatePipelineRequestSinkCondition;
521
573
  /**
522
574
  * @remarks
523
- * The destination dataset configuration for the dataset sink. This parameter takes effect only when sink.type is set to dataset.
575
+ * The destination dataset configuration for the dataset sink. This parameter is used only when sink.type is set to dataset.
524
576
  */
525
577
  dataset?: UpdatePipelineRequestSinkDataset;
526
578
  /**
527
579
  * @remarks
528
- * The sink type. Valid values: dataset and condition.
580
+ * The destination type. Valid values: dataset and condition.
529
581
  *
530
582
  * @example
531
583
  * condition
@@ -573,7 +625,7 @@ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
573
625
  dataset?: string;
574
626
  /**
575
627
  * @remarks
576
- * The filter condition for the dataset data.
628
+ * The data filter condition for the dataset.
577
629
  *
578
630
  * @example
579
631
  * status = \\"pending\\"
@@ -605,7 +657,7 @@ export class UpdatePipelineRequestSourceDataset extends $dara.Model {
605
657
  export class UpdatePipelineRequestSourceInputFields extends $dara.Model {
606
658
  /**
607
659
  * @remarks
608
- * The field name.
660
+ * The name of the field.
609
661
  *
610
662
  * @example
611
663
  * question
@@ -613,7 +665,7 @@ export class UpdatePipelineRequestSourceInputFields extends $dara.Model {
613
665
  name?: string;
614
666
  /**
615
667
  * @remarks
616
- * The field type. Valid values: text, long, double, and json.
668
+ * The type of the field. Valid values: text, long, double, and json.
617
669
  *
618
670
  * @example
619
671
  * text
@@ -661,7 +713,7 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
661
713
  project?: string;
662
714
  /**
663
715
  * @remarks
664
- * The data filtered query statement in SLS query/analysis syntax.
716
+ * The filtered query statement in SLS query and analysis syntax.
665
717
  *
666
718
  * @example
667
719
  * * | SELECT *
@@ -692,25 +744,118 @@ export class UpdatePipelineRequestSourceLogstore extends $dara.Model {
692
744
  }
693
745
  }
694
746
 
747
+ export class UpdatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
748
+ /**
749
+ * @remarks
750
+ * The list of enrichment columns. This parameter 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 to enable trajectory enrichment.
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 UpdatePipelineRequestSourceTrajectory extends $dara.Model {
791
+ /**
792
+ * @remarks
793
+ * The trajectory enrichment. It mounts trajectory data into the scrubbing result by trace_id. When writing to a dataset, the data is carried in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
794
+ *
795
+ * @example
796
+ * {"enabled":true,"columns":["input","output"]}
797
+ */
798
+ enrich?: UpdatePipelineRequestSourceTrajectoryEnrich;
799
+ static names(): { [key: string]: string } {
800
+ return {
801
+ enrich: 'enrich',
802
+ };
803
+ }
804
+
805
+ static types(): { [key: string]: any } {
806
+ return {
807
+ enrich: UpdatePipelineRequestSourceTrajectoryEnrich,
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 UpdatePipelineRequestSource extends $dara.Model {
696
824
  /**
697
825
  * @remarks
698
- * The dataset datasource config within the current AgentSpace.
826
+ * The dataset datasource config in the current AgentSpace.
827
+ *
828
+ * @example
829
+ * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
699
830
  */
700
831
  dataset?: UpdatePipelineRequestSourceDataset;
701
832
  /**
702
833
  * @remarks
703
834
  * The input fields and their types. This parameter applies to all data source types.
835
+ *
836
+ * @example
837
+ * [{"name":"question","type":"text"}]
704
838
  */
705
839
  inputFields?: UpdatePipelineRequestSourceInputFields[];
706
840
  /**
707
841
  * @remarks
708
- * The SLS Logstore datasource config.
842
+ * The Simple Log Service (SLS) Logstore datasource config.
843
+ *
844
+ * @example
845
+ * {"project":"my-sls-project","logstore":"agent-logs"}
709
846
  */
710
847
  logstore?: UpdatePipelineRequestSourceLogstore;
711
848
  /**
712
849
  * @remarks
713
- * The data source type. Valid values: logstore and dataset.
850
+ * The trajectory data configuration. This parameter is optional and takes effect only when type is set to trace. It obtains 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?: UpdatePipelineRequestSourceTrajectory;
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 values is verified by the server.
714
859
  *
715
860
  * @example
716
861
  * dataset
@@ -721,6 +866,7 @@ export class UpdatePipelineRequestSource 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 UpdatePipelineRequestSource extends $dara.Model {
730
876
  dataset: UpdatePipelineRequestSourceDataset,
731
877
  inputFields: { 'type': 'array', 'itemType': UpdatePipelineRequestSourceInputFields },
732
878
  logstore: UpdatePipelineRequestSourceLogstore,
879
+ trajectory: UpdatePipelineRequestSourceTrajectory,
733
880
  type: 'string',
734
881
  };
735
882
  }
@@ -744,6 +891,9 @@ export class UpdatePipelineRequestSource 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 UpdatePipelineRequestSource extends $dara.Model {
755
905
  export class UpdatePipelineRequest extends $dara.Model {
756
906
  /**
757
907
  * @remarks
758
- * The description of the pipeline, which helps users understand its purpose.
908
+ * The description of the pipeline, which helps business users understand its purpose.
759
909
  *
760
910
  * @example
761
911
  * My pipeline
@@ -763,27 +913,33 @@ export class UpdatePipelineRequest extends $dara.Model {
763
913
  description?: string;
764
914
  /**
765
915
  * @remarks
766
- * The scheduling policy. If provided, the entire scheduling policy is overwritten.
916
+ * The scheduling policy. If this parameter is specified, the existing policy is completely overwritten.
917
+ *
918
+ * @example
919
+ * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
767
920
  */
768
921
  executePolicy?: UpdatePipelineRequestExecutePolicy;
769
922
  /**
770
923
  * @remarks
771
- * The pipeline configuration (node orchestration). If specified, the existing pipeline configuration is entirely overwritten.
924
+ * The pipeline configuration, which defines node orchestration. If this parameter is specified, the existing configuration is completely overwritten.
772
925
  */
773
926
  pipeline?: UpdatePipelineRequestPipeline;
774
927
  /**
775
928
  * @remarks
776
- * The pipeline sink (data write destination). If provided, the entire sink configuration is overwritten.
929
+ * The pipeline sink (data write destination). Passing this parameter overwrites the entire configuration.
777
930
  */
778
931
  sink?: UpdatePipelineRequestSink;
779
932
  /**
780
933
  * @remarks
781
- * The pipeline data source. If specified, the existing source configuration is entirely overwritten.
934
+ * The pipeline data source. Passing this parameter overwrites the entire configuration.
935
+ *
936
+ * @example
937
+ * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
782
938
  */
783
939
  source?: UpdatePipelineRequestSource;
784
940
  /**
785
941
  * @remarks
786
- * The idempotency token. A unique string generated by the client to ensure the idempotency of the update operation.
942
+ * The idempotency token. It is a unique string generated by the client to ensure the idempotence of the update operation.
787
943
  *
788
944
  * @example
789
945
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdatePipelineResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID, which is used to locate and troubleshoot issues.
8
+ * The request ID, used to locate the request for troubleshooting.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M