@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
package/dist/client.d.ts CHANGED
@@ -997,15 +997,15 @@ export default class Client extends OpenApi {
997
997
  */
998
998
  pausePipeline(agentSpace: string, pipelineName: string, request: $_model.PausePipelineRequest): Promise<$_model.PausePipelineResponse>;
999
999
  /**
1000
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
1000
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
1001
1001
  *
1002
1002
  * @remarks
1003
- * ## Operation description
1004
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
1005
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
1006
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
1003
+ * ## Request description
1004
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
1005
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1006
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1007
1007
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1008
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
1008
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1009
1009
  *
1010
1010
  * @param request - PreviewPipelineRequest
1011
1011
  * @param headers - map
@@ -1016,15 +1016,15 @@ export default class Client extends OpenApi {
1016
1016
  [key: string]: string;
1017
1017
  }, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewPipelineResponse>;
1018
1018
  /**
1019
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
1019
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
1020
1020
  *
1021
1021
  * @remarks
1022
- * ## Operation description
1023
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
1024
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
1025
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
1022
+ * ## Request description
1023
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
1024
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1025
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1026
1026
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1027
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
1027
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1028
1028
  *
1029
1029
  * @param request - PreviewPipelineRequest
1030
1030
  * @returns PreviewPipelineResponse
package/dist/client.js CHANGED
@@ -2588,15 +2588,15 @@ class Client extends openapi_core_1.default {
2588
2588
  return await this.pausePipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
2589
2589
  }
2590
2590
  /**
2591
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2591
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2592
2592
  *
2593
2593
  * @remarks
2594
- * ## Operation description
2595
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2596
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2597
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2594
+ * ## Request description
2595
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2596
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2597
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2598
2598
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2599
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2599
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2600
2600
  *
2601
2601
  * @param request - PreviewPipelineRequest
2602
2602
  * @param headers - map
@@ -2636,15 +2636,15 @@ class Client extends openapi_core_1.default {
2636
2636
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.PreviewPipelineResponse({}));
2637
2637
  }
2638
2638
  /**
2639
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2639
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2640
2640
  *
2641
2641
  * @remarks
2642
- * ## Operation description
2643
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2644
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2645
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2642
+ * ## Request description
2643
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2644
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2645
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2646
2646
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2647
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2647
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2648
2648
  *
2649
2649
  * @param request - PreviewPipelineRequest
2650
2650
  * @returns PreviewPipelineResponse
@@ -1,8 +1,28 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ export declare class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The bootstrap start time in UNIX seconds. It has the same precision as runOnce 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.
6
+ *
7
+ * @example
8
+ * 1735660800
9
+ */
10
+ fromTime?: number;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
2
22
  export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
3
23
  /**
4
24
  * @remarks
5
- * The start time of the data processing window, in UNIX seconds. The value must be less than toTime.
25
+ * The start time of the data processing window in UNIX seconds. The value must be less than the toTime value.
6
26
  *
7
27
  * @example
8
28
  * 1735660800
@@ -10,7 +30,7 @@ export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Mod
10
30
  fromTime?: number;
11
31
  /**
12
32
  * @remarks
13
- * The end time of the data processing window, in UNIX seconds. The value must be greater than fromTime.
33
+ * The end time of the data processing window in UNIX seconds. The value must be greater than the fromTime value.
14
34
  *
15
35
  * @example
16
36
  * 1735747200
@@ -30,7 +50,7 @@ export declare class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Mod
30
50
  export declare class CreatePipelineRequestExecutePolicyScheduled extends $dara.Model {
31
51
  /**
32
52
  * @remarks
33
- * The scheduling start time, in UNIX milliseconds.
53
+ * The start time of the scheduling in UNIX milliseconds.
34
54
  *
35
55
  * @example
36
56
  * 1735660800000
@@ -58,9 +78,15 @@ export declare class CreatePipelineRequestExecutePolicyScheduled extends $dara.M
58
78
  export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
59
79
  /**
60
80
  * @remarks
61
- * The scheduling mode. Valid values:
62
- * - RunOnce: one-time execution.
63
- * - Scheduled: periodic scheduling.
81
+ * The continuous execution configuration. This is used when the type is trace. The processing frequency is a fixed value managed by the server.
82
+ *
83
+ * @example
84
+ * {"fromTime":1735660800}
85
+ */
86
+ continuous?: CreatePipelineRequestExecutePolicyContinuous;
87
+ /**
88
+ * @remarks
89
+ * The scheduling mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
64
90
  *
65
91
  * @example
66
92
  * RunOnce
@@ -68,12 +94,18 @@ export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
68
94
  mode?: string;
69
95
  /**
70
96
  * @remarks
71
- * The one-time execution configuration. This parameter is required only when mode is set to RunOnce.
97
+ * The single execution configuration. This parameter is required only when the mode is RunOnce.
98
+ *
99
+ * @example
100
+ * {"fromTime":1735660800,"toTime":1735664400}
72
101
  */
73
102
  runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
74
103
  /**
75
104
  * @remarks
76
- * The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
105
+ * The periodic scheduling configuration. This parameter is required only when the mode is Scheduled.
106
+ *
107
+ * @example
108
+ * {"interval":"1h","fromTime":1735660800}
77
109
  */
78
110
  scheduled?: CreatePipelineRequestExecutePolicyScheduled;
79
111
  static names(): {
@@ -90,7 +122,7 @@ export declare class CreatePipelineRequestExecutePolicy extends $dara.Model {
90
122
  export declare class CreatePipelineRequestPipelineNodes extends $dara.Model {
91
123
  /**
92
124
  * @remarks
93
- * The node ID.
125
+ * The ID of the node.
94
126
  *
95
127
  * @example
96
128
  * node-1
@@ -98,14 +130,14 @@ export declare class CreatePipelineRequestPipelineNodes extends $dara.Model {
98
130
  id?: string;
99
131
  /**
100
132
  * @remarks
101
- * The node parameters in key-value format. The parameters vary based on the node type.
133
+ * The parameters of the node. This is a key-value structure and varies based on the node type.
102
134
  */
103
135
  parameters?: {
104
136
  [key: string]: any;
105
137
  };
106
138
  /**
107
139
  * @remarks
108
- * The node type.
140
+ * The type of the node.
109
141
  *
110
142
  * @example
111
143
  * transform
@@ -126,6 +158,9 @@ export declare class CreatePipelineRequestPipeline extends $dara.Model {
126
158
  /**
127
159
  * @remarks
128
160
  * The list of nodes.
161
+ *
162
+ * @example
163
+ * [{"id":"select-fields","type":"project","parameters":{}}]
129
164
  */
130
165
  nodes?: CreatePipelineRequestPipelineNodes[];
131
166
  static names(): {
@@ -142,7 +177,7 @@ export declare class CreatePipelineRequestPipeline extends $dara.Model {
142
177
  export declare class CreatePipelineRequestSinkConditionDefaultSinkDataset extends $dara.Model {
143
178
  /**
144
179
  * @remarks
145
- * The name of the AgentSpace to which the default destination dataset belongs.
180
+ * The name of the agent space to which the default destination dataset belongs.
146
181
  *
147
182
  * @example
148
183
  * my-agent-space
@@ -195,7 +230,7 @@ export declare class CreatePipelineRequestSinkConditionDefaultSink extends $dara
195
230
  export declare class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.Model {
196
231
  /**
197
232
  * @remarks
198
- * The name of the AgentSpace to which the destination dataset belongs.
233
+ * The name of the agent space to which the destination dataset belongs.
199
234
  *
200
235
  * @example
201
236
  * my-agent-space
@@ -223,12 +258,12 @@ export declare class CreatePipelineRequestSinkConditionRoutesSinkDataset extends
223
258
  export declare class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
224
259
  /**
225
260
  * @remarks
226
- * The route destination dataset.
261
+ * The destination dataset for the route.
227
262
  */
228
263
  dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
229
264
  /**
230
265
  * @remarks
231
- * The route destination type. Currently, only dataset is supported.
266
+ * The destination type for the route. Currently, only dataset is supported.
232
267
  *
233
268
  * @example
234
269
  * dataset
@@ -248,7 +283,7 @@ export declare class CreatePipelineRequestSinkConditionRoutesSink extends $dara.
248
283
  export declare class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
249
284
  /**
250
285
  * @remarks
251
- * The route expression in SPL. Only where, project, and extend are supported.
286
+ * The route expression in Search Processing Language (SPL). Only where, project, and extend are supported.
252
287
  *
253
288
  * @example
254
289
  * * | where intent = \\"refund\\"
@@ -264,7 +299,7 @@ export declare class CreatePipelineRequestSinkConditionRoutes extends $dara.Mode
264
299
  id?: string;
265
300
  /**
266
301
  * @remarks
267
- * The route write destination.
302
+ * The write destination for the route.
268
303
  */
269
304
  sink?: CreatePipelineRequestSinkConditionRoutesSink;
270
305
  static names(): {
@@ -311,7 +346,7 @@ export declare class CreatePipelineRequestSinkCondition extends $dara.Model {
311
346
  export declare class CreatePipelineRequestSinkDataset extends $dara.Model {
312
347
  /**
313
348
  * @remarks
314
- * The name of the AgentSpace to which the destination dataset belongs.
349
+ * The name of the agent space to which the destination dataset belongs.
315
350
  *
316
351
  * @example
317
352
  * my-agent-space
@@ -339,17 +374,17 @@ export declare class CreatePipelineRequestSinkDataset extends $dara.Model {
339
374
  export declare class CreatePipelineRequestSink extends $dara.Model {
340
375
  /**
341
376
  * @remarks
342
- * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
377
+ * The conditional routing configuration. This is used only when sink.type is set to condition.
343
378
  */
344
379
  condition?: CreatePipelineRequestSinkCondition;
345
380
  /**
346
381
  * @remarks
347
- * The destination dataset configuration.
382
+ * The destination dataset configuration for the dataset sink. This is used only when sink.type is set to dataset.
348
383
  */
349
384
  dataset?: CreatePipelineRequestSinkDataset;
350
385
  /**
351
386
  * @remarks
352
- * The sink type. Currently, only Dataset is supported.
387
+ * The destination type. Currently, dataset is supported.
353
388
  *
354
389
  * @example
355
390
  * Dataset
@@ -377,7 +412,7 @@ export declare class CreatePipelineRequestSourceDataset extends $dara.Model {
377
412
  dataset?: string;
378
413
  /**
379
414
  * @remarks
380
- * The filter condition for the dataset data.
415
+ * The data filter condition for the dataset.
381
416
  *
382
417
  * @example
383
418
  * status = \\"pending\\"
@@ -397,7 +432,7 @@ export declare class CreatePipelineRequestSourceDataset extends $dara.Model {
397
432
  export declare class CreatePipelineRequestSourceInputFields extends $dara.Model {
398
433
  /**
399
434
  * @remarks
400
- * The field name.
435
+ * The name of the field.
401
436
  *
402
437
  * @example
403
438
  * question
@@ -405,7 +440,7 @@ export declare class CreatePipelineRequestSourceInputFields extends $dara.Model
405
440
  name?: string;
406
441
  /**
407
442
  * @remarks
408
- * The field type. Valid values: text, long, double, and json.
443
+ * The data type of the field. Valid values: text, long, double, and json.
409
444
  *
410
445
  * @example
411
446
  * text
@@ -425,7 +460,7 @@ export declare class CreatePipelineRequestSourceInputFields extends $dara.Model
425
460
  export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
426
461
  /**
427
462
  * @remarks
428
- * The name of the SLS Logstore.
463
+ * The name of the Simple Log Service Logstore.
429
464
  *
430
465
  * @example
431
466
  * my-sls-logstore
@@ -433,7 +468,7 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
433
468
  logstore?: string;
434
469
  /**
435
470
  * @remarks
436
- * The name of the SLS project.
471
+ * The name of the Simple Log Service project.
437
472
  *
438
473
  * @example
439
474
  * my-sls-project
@@ -441,7 +476,7 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
441
476
  project?: string;
442
477
  /**
443
478
  * @remarks
444
- * The data filtered query statement in SLS query/analysis syntax.
479
+ * The data filtered query statement, which uses the Simple Log Service query and analysis syntax.
445
480
  *
446
481
  * @example
447
482
  * * | SELECT *
@@ -458,25 +493,90 @@ export declare class CreatePipelineRequestSourceLogstore extends $dara.Model {
458
493
  [key: string]: any;
459
494
  });
460
495
  }
496
+ export declare class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
497
+ /**
498
+ * @remarks
499
+ * The list of enrichment columns. This parameter is retained for backward compatibility. The current implementation outputs only the fixed agent_trajectory column, and this parameter no longer affects the output.
500
+ *
501
+ * @example
502
+ * ["input","output","session_id"]
503
+ */
504
+ columns?: string[];
505
+ /**
506
+ * @remarks
507
+ * Specifies whether to enable trajectory enrichment.
508
+ *
509
+ * @example
510
+ * false
511
+ */
512
+ enabled?: boolean;
513
+ static names(): {
514
+ [key: string]: string;
515
+ };
516
+ static types(): {
517
+ [key: string]: any;
518
+ };
519
+ validate(): void;
520
+ constructor(map?: {
521
+ [key: string]: any;
522
+ });
523
+ }
524
+ export declare class CreatePipelineRequestSourceTrajectory extends $dara.Model {
525
+ /**
526
+ * @remarks
527
+ * The trajectory enrichment configuration. It mounts trajectory data into the scrubbing results based on the trace_id. When writing to a dataset, the data is stored in the fixed agent_trajectory column, where the column value is the trajectory JSON content.
528
+ *
529
+ * @example
530
+ * {"enabled":true,"columns":["input","output"]}
531
+ */
532
+ enrich?: CreatePipelineRequestSourceTrajectoryEnrich;
533
+ static names(): {
534
+ [key: string]: string;
535
+ };
536
+ static types(): {
537
+ [key: string]: any;
538
+ };
539
+ validate(): void;
540
+ constructor(map?: {
541
+ [key: string]: any;
542
+ });
543
+ }
461
544
  export declare class CreatePipelineRequestSource extends $dara.Model {
462
545
  /**
463
546
  * @remarks
464
- * The dataset datasource config under the current AgentSpace.
547
+ * The dataset datasource config under the current agent space.
548
+ *
549
+ * @example
550
+ * {"dataset":"my-dataset","filter":"status = \\"pending\\""}
465
551
  */
466
552
  dataset?: CreatePipelineRequestSourceDataset;
467
553
  /**
468
554
  * @remarks
469
- * The input fields and field types. This parameter applies to all data source types.
555
+ * The input fields and their data types. This applies to all data source types.
556
+ *
557
+ * @example
558
+ * [{"name":"question","type":"text"}]
470
559
  */
471
560
  inputFields?: CreatePipelineRequestSourceInputFields[];
472
561
  /**
473
562
  * @remarks
474
- * The SLS Logstore datasource config.
563
+ * The Simple Log Service Logstore datasource config.
564
+ *
565
+ * @example
566
+ * {"project":"my-sls-project","logstore":"agent-logs"}
475
567
  */
476
568
  logstore?: CreatePipelineRequestSourceLogstore;
477
569
  /**
478
570
  * @remarks
479
- * The data source type. Currently, SLS is supported.
571
+ * 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 based on features.
572
+ *
573
+ * @example
574
+ * {"enrich":{"enabled":true,"columns":["input","output"]}}
575
+ */
576
+ trajectory?: CreatePipelineRequestSourceTrajectory;
577
+ /**
578
+ * @remarks
579
+ * The data source type. Currently, Simple Log Service is supported.
480
580
  *
481
581
  * @example
482
582
  * SLS
@@ -496,25 +596,31 @@ export declare class CreatePipelineRequestSource extends $dara.Model {
496
596
  export declare class CreatePipelineRequest extends $dara.Model {
497
597
  /**
498
598
  * @remarks
499
- * The pipeline description. The description can be up to 256 characters in length.
599
+ * The description of the pipeline. Maximum length: 256 characters.
500
600
  *
501
601
  * @example
502
- * Collect trace data from SLS, perform data cleaning, and ingest it into a dataset
602
+ * Collect trace data from SLS and perform data cleaning into a dataset
503
603
  */
504
604
  description?: string;
505
605
  /**
506
606
  * @remarks
507
- * The scheduling policy.
607
+ * The scheduling method.
608
+ *
609
+ * @example
610
+ * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
508
611
  */
509
612
  executePolicy?: CreatePipelineRequestExecutePolicy;
510
613
  /**
511
614
  * @remarks
512
- * The pipeline configuration for node orchestration.
615
+ * The pipeline configuration, including node orchestration.
616
+ *
617
+ * @example
618
+ * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
513
619
  */
514
620
  pipeline?: CreatePipelineRequestPipeline;
515
621
  /**
516
622
  * @remarks
517
- * The pipeline name. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-).
623
+ * The name of the pipeline. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens (-).
518
624
  *
519
625
  * @example
520
626
  * my-pipeline
@@ -522,17 +628,20 @@ export declare class CreatePipelineRequest extends $dara.Model {
522
628
  pipelineName?: string;
523
629
  /**
524
630
  * @remarks
525
- * The pipeline sink (data write destination).
631
+ * The pipeline sink, which is the data write destination.
526
632
  */
527
633
  sink?: CreatePipelineRequestSink;
528
634
  /**
529
635
  * @remarks
530
- * The pipeline data source.
636
+ * The data source for the pipeline.
637
+ *
638
+ * @example
639
+ * {"type":"logstore","logstore":{"project":"my-sls-project","logstore":"agent-logs"},"inputFields":[{"name":"question","type":"text"}]}
531
640
  */
532
641
  source?: CreatePipelineRequestSource;
533
642
  /**
534
643
  * @remarks
535
- * The idempotency token. A unique string generated by the client to ensure the idempotency of the create operation.
644
+ * The idempotency token. This is a unique string generated by the client to ensure the idempotency of the create operation.
536
645
  *
537
646
  * @example
538
647
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -33,9 +33,28 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.CreatePipelineRequest = exports.CreatePipelineRequestSource = exports.CreatePipelineRequestSourceLogstore = exports.CreatePipelineRequestSourceInputFields = exports.CreatePipelineRequestSourceDataset = exports.CreatePipelineRequestSink = exports.CreatePipelineRequestSinkDataset = exports.CreatePipelineRequestSinkCondition = exports.CreatePipelineRequestSinkConditionRoutes = exports.CreatePipelineRequestSinkConditionRoutesSink = exports.CreatePipelineRequestSinkConditionRoutesSinkDataset = exports.CreatePipelineRequestSinkConditionDefaultSink = exports.CreatePipelineRequestSinkConditionDefaultSinkDataset = exports.CreatePipelineRequestPipeline = exports.CreatePipelineRequestPipelineNodes = exports.CreatePipelineRequestExecutePolicy = exports.CreatePipelineRequestExecutePolicyScheduled = exports.CreatePipelineRequestExecutePolicyRunOnce = void 0;
36
+ exports.CreatePipelineRequest = exports.CreatePipelineRequestSource = exports.CreatePipelineRequestSourceTrajectory = exports.CreatePipelineRequestSourceTrajectoryEnrich = exports.CreatePipelineRequestSourceLogstore = exports.CreatePipelineRequestSourceInputFields = exports.CreatePipelineRequestSourceDataset = exports.CreatePipelineRequestSink = exports.CreatePipelineRequestSinkDataset = exports.CreatePipelineRequestSinkCondition = exports.CreatePipelineRequestSinkConditionRoutes = exports.CreatePipelineRequestSinkConditionRoutesSink = exports.CreatePipelineRequestSinkConditionRoutesSinkDataset = exports.CreatePipelineRequestSinkConditionDefaultSink = exports.CreatePipelineRequestSinkConditionDefaultSinkDataset = exports.CreatePipelineRequestPipeline = exports.CreatePipelineRequestPipelineNodes = exports.CreatePipelineRequestExecutePolicy = exports.CreatePipelineRequestExecutePolicyScheduled = exports.CreatePipelineRequestExecutePolicyRunOnce = exports.CreatePipelineRequestExecutePolicyContinuous = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ fromTime: 'fromTime',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ fromTime: 'number',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CreatePipelineRequestExecutePolicyContinuous = CreatePipelineRequestExecutePolicyContinuous;
39
58
  class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
40
59
  static names() {
41
60
  return {
@@ -81,6 +100,7 @@ exports.CreatePipelineRequestExecutePolicyScheduled = CreatePipelineRequestExecu
81
100
  class CreatePipelineRequestExecutePolicy extends $dara.Model {
82
101
  static names() {
83
102
  return {
103
+ continuous: 'continuous',
84
104
  mode: 'mode',
85
105
  runOnce: 'runOnce',
86
106
  scheduled: 'scheduled',
@@ -88,12 +108,16 @@ class CreatePipelineRequestExecutePolicy extends $dara.Model {
88
108
  }
89
109
  static types() {
90
110
  return {
111
+ continuous: CreatePipelineRequestExecutePolicyContinuous,
91
112
  mode: 'string',
92
113
  runOnce: CreatePipelineRequestExecutePolicyRunOnce,
93
114
  scheduled: CreatePipelineRequestExecutePolicyScheduled,
94
115
  };
95
116
  }
96
117
  validate() {
118
+ if (this.continuous && typeof this.continuous.validate === 'function') {
119
+ this.continuous.validate();
120
+ }
97
121
  if (this.runOnce && typeof this.runOnce.validate === 'function') {
98
122
  this.runOnce.validate();
99
123
  }
@@ -415,12 +439,59 @@ class CreatePipelineRequestSourceLogstore extends $dara.Model {
415
439
  }
416
440
  }
417
441
  exports.CreatePipelineRequestSourceLogstore = CreatePipelineRequestSourceLogstore;
442
+ class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
443
+ static names() {
444
+ return {
445
+ columns: 'columns',
446
+ enabled: 'enabled',
447
+ };
448
+ }
449
+ static types() {
450
+ return {
451
+ columns: { 'type': 'array', 'itemType': 'string' },
452
+ enabled: 'boolean',
453
+ };
454
+ }
455
+ validate() {
456
+ if (Array.isArray(this.columns)) {
457
+ $dara.Model.validateArray(this.columns);
458
+ }
459
+ super.validate();
460
+ }
461
+ constructor(map) {
462
+ super(map);
463
+ }
464
+ }
465
+ exports.CreatePipelineRequestSourceTrajectoryEnrich = CreatePipelineRequestSourceTrajectoryEnrich;
466
+ class CreatePipelineRequestSourceTrajectory extends $dara.Model {
467
+ static names() {
468
+ return {
469
+ enrich: 'enrich',
470
+ };
471
+ }
472
+ static types() {
473
+ return {
474
+ enrich: CreatePipelineRequestSourceTrajectoryEnrich,
475
+ };
476
+ }
477
+ validate() {
478
+ if (this.enrich && typeof this.enrich.validate === 'function') {
479
+ this.enrich.validate();
480
+ }
481
+ super.validate();
482
+ }
483
+ constructor(map) {
484
+ super(map);
485
+ }
486
+ }
487
+ exports.CreatePipelineRequestSourceTrajectory = CreatePipelineRequestSourceTrajectory;
418
488
  class CreatePipelineRequestSource extends $dara.Model {
419
489
  static names() {
420
490
  return {
421
491
  dataset: 'dataset',
422
492
  inputFields: 'inputFields',
423
493
  logstore: 'logstore',
494
+ trajectory: 'trajectory',
424
495
  type: 'type',
425
496
  };
426
497
  }
@@ -429,6 +500,7 @@ class CreatePipelineRequestSource extends $dara.Model {
429
500
  dataset: CreatePipelineRequestSourceDataset,
430
501
  inputFields: { 'type': 'array', 'itemType': CreatePipelineRequestSourceInputFields },
431
502
  logstore: CreatePipelineRequestSourceLogstore,
503
+ trajectory: CreatePipelineRequestSourceTrajectory,
432
504
  type: 'string',
433
505
  };
434
506
  }
@@ -442,6 +514,9 @@ class CreatePipelineRequestSource extends $dara.Model {
442
514
  if (this.logstore && typeof this.logstore.validate === 'function') {
443
515
  this.logstore.validate();
444
516
  }
517
+ if (this.trajectory && typeof this.trajectory.validate === 'function') {
518
+ this.trajectory.validate();
519
+ }
445
520
  super.validate();
446
521
  }
447
522
  constructor(map) {