@alicloud/dms20250414 4.3.3 → 4.5.0

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 (53) hide show
  1. package/dist/client.d.ts +36 -0
  2. package/dist/client.js +103 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +53 -43
  5. package/dist/models/CreateCustomAgentRequest.js +2 -0
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
  8. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
  9. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  10. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  11. package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
  12. package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
  13. package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
  14. package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
  15. package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
  16. package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
  17. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
  18. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
  19. package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
  20. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
  21. package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
  22. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  23. package/dist/models/DescribeDataAgentSkillDownloadRequest.d.ts +29 -0
  24. package/dist/models/DescribeDataAgentSkillDownloadRequest.js +60 -0
  25. package/dist/models/DescribeDataAgentSkillDownloadRequest.js.map +1 -0
  26. package/dist/models/DescribeDataAgentSkillDownloadResponse.d.ts +19 -0
  27. package/dist/models/DescribeDataAgentSkillDownloadResponse.js +69 -0
  28. package/dist/models/DescribeDataAgentSkillDownloadResponse.js.map +1 -0
  29. package/dist/models/DescribeDataAgentSkillDownloadResponseBody.d.ts +97 -0
  30. package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js +94 -0
  31. package/dist/models/DescribeDataAgentSkillDownloadResponseBody.js.map +1 -0
  32. package/dist/models/UpdateAgenticDataSourceRequest.d.ts +52 -28
  33. package/dist/models/UpdateAgenticDataSourceRequest.js +6 -0
  34. package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
  35. package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +20 -20
  36. package/dist/models/model.d.ts +14 -0
  37. package/dist/models/model.js +46 -18
  38. package/dist/models/model.js.map +1 -1
  39. package/package.json +2 -1
  40. package/src/client.ts +114 -0
  41. package/src/models/CreateCustomAgentRequest.ts +55 -43
  42. package/src/models/CreateCustomAgentResponseBody.ts +23 -23
  43. package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
  44. package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
  45. package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
  46. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
  47. package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
  48. package/src/models/DescribeDataAgentSkillDownloadRequest.ts +44 -0
  49. package/src/models/DescribeDataAgentSkillDownloadResponse.ts +40 -0
  50. package/src/models/DescribeDataAgentSkillDownloadResponseBody.ts +137 -0
  51. package/src/models/UpdateAgenticDataSourceRequest.ts +58 -28
  52. package/src/models/UpdateAgenticDataSourceResponseBody.ts +20 -20
  53. package/src/models/model.ts +14 -0
@@ -21,7 +21,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
21
21
  finishTime?: string;
22
22
  /**
23
23
  * @remarks
24
- * The globally unique artifact ID. If the artifact is a report generated by specifying MessageType as REPORT in the SendChatMessage operation, the artifact ID is the same as the MessageId value returned by the SendChatMessage operation.
24
+ * The globally unique artifact ID. If the report is generated by calling the SendChatMessage operation with MessageType set to REPORT, the artifact ID is the same as the MessageId value returned by the SendChatMessage operation.
25
25
  *
26
26
  * @example
27
27
  * bab******33e1
@@ -110,8 +110,8 @@ export class DescribeDataAgentSessionResponseBodyDataCapabilities extends $dara.
110
110
  /**
111
111
  * @remarks
112
112
  * The ID of the mounted capability.
113
- * - If Type is set to skill, this parameter indicates the skill ID.
114
- * - If Type is set to dms_kb, this parameter indicates the knowledge base ID.
113
+ * - If Type is set to skill, the value indicates the skill ID.
114
+ * - If Type is set to dms_kb, the value indicates the knowledge base ID.
115
115
  *
116
116
  * @example
117
117
  * kb-HZ-s3df*******ld08d
@@ -119,9 +119,9 @@ export class DescribeDataAgentSessionResponseBodyDataCapabilities extends $dara.
119
119
  id?: string;
120
120
  /**
121
121
  * @remarks
122
- * The capability type. Valid values:
123
- * - skill: Skill.
124
- * - dms_kb: Knowledge base.
122
+ * The type. Valid values:
123
+ * - skill: skill
124
+ * - dms_kb: knowledge base
125
125
  *
126
126
  * @example
127
127
  * dms_kb
@@ -193,9 +193,9 @@ export class DescribeDataAgentSessionResponseBodyDataChatHistoryLocations extend
193
193
  export class DescribeDataAgentSessionResponseBodyDataDataSources extends $dara.Model {
194
194
  /**
195
195
  * @remarks
196
- * The source of the data source. Valid values:
197
- * - CHAT: The data source is specified in a conversation by calling the CreateDataAgentSession or SendChatMessage operation.
198
- * - CUSTOM_AGENT: The data source is from the preset analysis data scope in a custom agent.
196
+ * The data source category. Valid values:
197
+ * - **CHAT**: The data source is specified in a conversation by calling the CreateDataAgentSession or SendChatMessage operation.
198
+ * - **CUSTOM_AGENT**: The data source comes from the preset analysis data scope in a custom agent.
199
199
  *
200
200
  * @example
201
201
  * CHAT
@@ -235,15 +235,15 @@ export class DescribeDataAgentSessionResponseBodyDataDataSources extends $dara.M
235
235
  export class DescribeDataAgentSessionResponseBodyDataMessages extends $dara.Model {
236
236
  /**
237
237
  * @remarks
238
- * The content of the historical session message.
238
+ * The content of the historical conversation message.
239
239
  *
240
240
  * @example
241
- * Show me the sales of restaurants in the UK in 2022
241
+ * Help me check the sales of restaurants in the UK in 2022
242
242
  */
243
243
  content?: string;
244
244
  /**
245
245
  * @remarks
246
- * The unique ID of the historical session message.
246
+ * The unique ID of the historical conversation message.
247
247
  *
248
248
  * @example
249
249
  * a5bb5ff643de4124afd4317f79417a81
@@ -251,7 +251,7 @@ export class DescribeDataAgentSessionResponseBodyDataMessages extends $dara.Mode
251
251
  id?: string;
252
252
  /**
253
253
  * @remarks
254
- * The time when the historical session message was sent.
254
+ * The send time of the historical conversation message.
255
255
  *
256
256
  * @example
257
257
  * 1790650646000
@@ -259,7 +259,7 @@ export class DescribeDataAgentSessionResponseBodyDataMessages extends $dara.Mode
259
259
  sendTime?: number;
260
260
  /**
261
261
  * @remarks
262
- * The status of the historical session message.
262
+ * The status of the historical conversation message.
263
263
  *
264
264
  * @example
265
265
  * SENT
@@ -292,10 +292,723 @@ export class DescribeDataAgentSessionResponseBodyDataMessages extends $dara.Mode
292
292
  }
293
293
  }
294
294
 
295
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentCallbackConfig extends $dara.Model {
296
+ /**
297
+ * @remarks
298
+ * The callback tool invocation parameters.
299
+ *
300
+ * @example
301
+ * {
302
+ * "ID": "test"
303
+ * }
304
+ */
305
+ callbackArgs?: string;
306
+ /**
307
+ * @remarks
308
+ * The prompt used to generate callback tool invocation parameters.
309
+ *
310
+ * @example
311
+ * send web report to 123456@163.com
312
+ */
313
+ callbackPrompt?: string;
314
+ /**
315
+ * @remarks
316
+ * The timing for callback tool invocation.
317
+ *
318
+ * @example
319
+ * 0
320
+ */
321
+ callbackTime?: number;
322
+ /**
323
+ * @remarks
324
+ * The callback tool identifier.
325
+ *
326
+ * @example
327
+ * Mcp serverId (6te...g7a)
328
+ */
329
+ toolId?: string;
330
+ /**
331
+ * @remarks
332
+ * The callback tool type.
333
+ *
334
+ * @example
335
+ * Mcp
336
+ */
337
+ type?: string;
338
+ static names(): { [key: string]: string } {
339
+ return {
340
+ callbackArgs: 'CallbackArgs',
341
+ callbackPrompt: 'CallbackPrompt',
342
+ callbackTime: 'CallbackTime',
343
+ toolId: 'ToolId',
344
+ type: 'Type',
345
+ };
346
+ }
347
+
348
+ static types(): { [key: string]: any } {
349
+ return {
350
+ callbackArgs: 'string',
351
+ callbackPrompt: 'string',
352
+ callbackTime: 'number',
353
+ toolId: 'string',
354
+ type: 'string',
355
+ };
356
+ }
357
+
358
+ validate() {
359
+ super.validate();
360
+ }
361
+
362
+ constructor(map?: { [key: string]: any }) {
363
+ super(map);
364
+ }
365
+ }
366
+
367
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentExecutionConfig extends $dara.Model {
368
+ /**
369
+ * @remarks
370
+ * The tendency of the agent to ask follow-up questions to clarify requirements. **This parameter takes effect only when SkipAskHuman is set to false and SkipPlan is set to false.** Valid values: 0 to 1.
371
+ *
372
+ * The following list describes some tendency values:
373
+ * - 0.0: Do not ask questions. The agent does not ask the user any questions, skips confirmation after generating a plan, and directly executes the plan.
374
+ * - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
375
+ * - 0.4: Ask questions when the task is blocked. The agent handles the task autonomously by default and asks questions only when the task cannot proceed or be completed.
376
+ * - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there is critical ambiguity in the goals, scope, business criteria, or acceptance criteria.
377
+ * - 1.0: Fully align throughout the process. The agent proactively clarifies requirements during planning and execution, and continuously confirms when encountering important ambiguities, assumptions, or solution branches.
378
+ *
379
+ * @example
380
+ * 1.0
381
+ */
382
+ clarificationTendency?: number;
383
+ /**
384
+ * @remarks
385
+ * Indicates whether appending data sources in the session is prohibited.
386
+ *
387
+ * @example
388
+ * true
389
+ */
390
+ forbiddenAppendDataSource?: boolean;
391
+ /**
392
+ * @remarks
393
+ * Indicates whether user inquiries during the process are prohibited.
394
+ *
395
+ * @example
396
+ * true
397
+ */
398
+ skipAskHuman?: boolean;
399
+ /**
400
+ * @remarks
401
+ * Indicates whether the plan confirmation step is skipped.
402
+ *
403
+ * @example
404
+ * true
405
+ */
406
+ skipPlan?: boolean;
407
+ /**
408
+ * @remarks
409
+ * Indicates whether all SQL confirmations are skipped.
410
+ *
411
+ * @example
412
+ * true
413
+ */
414
+ skipSqlConfirm?: boolean;
415
+ /**
416
+ * @remarks
417
+ * Indicates whether the confirmation for generating a web report is skipped.
418
+ *
419
+ * @example
420
+ * true
421
+ */
422
+ skipWebReportConfirm?: boolean;
423
+ static names(): { [key: string]: string } {
424
+ return {
425
+ clarificationTendency: 'ClarificationTendency',
426
+ forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
427
+ skipAskHuman: 'SkipAskHuman',
428
+ skipPlan: 'SkipPlan',
429
+ skipSqlConfirm: 'SkipSqlConfirm',
430
+ skipWebReportConfirm: 'SkipWebReportConfirm',
431
+ };
432
+ }
433
+
434
+ static types(): { [key: string]: any } {
435
+ return {
436
+ clarificationTendency: 'number',
437
+ forbiddenAppendDataSource: 'boolean',
438
+ skipAskHuman: 'boolean',
439
+ skipPlan: 'boolean',
440
+ skipSqlConfirm: 'boolean',
441
+ skipWebReportConfirm: 'boolean',
442
+ };
443
+ }
444
+
445
+ validate() {
446
+ super.validate();
447
+ }
448
+
449
+ constructor(map?: { [key: string]: any }) {
450
+ super(map);
451
+ }
452
+ }
453
+
454
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeConfigList extends $dara.Model {
455
+ /**
456
+ * @remarks
457
+ * The access type. If this parameter is not specified, the default value is mcp. Valid values:
458
+ * - mcp: MCP access. You must specify the McpServerId parameter.
459
+ * - dms_kb: DMS knowledge base access. You must specify the KbUuid parameter.
460
+ *
461
+ * @example
462
+ * mcp
463
+ */
464
+ accessType?: string;
465
+ /**
466
+ * @remarks
467
+ * The knowledge base ID.
468
+ *
469
+ * @example
470
+ * kb-HZ-rtcdseb*****pmyt
471
+ */
472
+ kbUuid?: string;
473
+ /**
474
+ * @remarks
475
+ * The MCP server ID.
476
+ *
477
+ * @example
478
+ * 7shre9b6x*******djz3q7jya
479
+ */
480
+ mcpServerId?: string;
481
+ static names(): { [key: string]: string } {
482
+ return {
483
+ accessType: 'AccessType',
484
+ kbUuid: 'KbUuid',
485
+ mcpServerId: 'McpServerId',
486
+ };
487
+ }
488
+
489
+ static types(): { [key: string]: any } {
490
+ return {
491
+ accessType: 'string',
492
+ kbUuid: 'string',
493
+ mcpServerId: 'string',
494
+ };
495
+ }
496
+
497
+ validate() {
498
+ super.validate();
499
+ }
500
+
501
+ constructor(map?: { [key: string]: any }) {
502
+ super(map);
503
+ }
504
+ }
505
+
506
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeSemanticConfigList extends $dara.Model {
507
+ /**
508
+ * @remarks
509
+ * The DMS database ID.
510
+ *
511
+ * @example
512
+ * 69942325
513
+ */
514
+ dbId?: string;
515
+ /**
516
+ * @remarks
517
+ * The DMS instance ID.
518
+ *
519
+ * @example
520
+ * 2952387
521
+ */
522
+ instanceId?: string;
523
+ /**
524
+ * @remarks
525
+ * The knowledge UUID.
526
+ *
527
+ * @example
528
+ * 7ca8f50d7823********02e87
529
+ */
530
+ knowledgeUuid?: string;
531
+ /**
532
+ * @remarks
533
+ * The knowledge semantic type. Valid values:
534
+ * - sql_template: SQL template
535
+ * - ossie_model: Ossie semantic view
536
+ *
537
+ * @example
538
+ * sql_template
539
+ */
540
+ type?: string;
541
+ static names(): { [key: string]: string } {
542
+ return {
543
+ dbId: 'DbId',
544
+ instanceId: 'InstanceId',
545
+ knowledgeUuid: 'KnowledgeUuid',
546
+ type: 'Type',
547
+ };
548
+ }
549
+
550
+ static types(): { [key: string]: any } {
551
+ return {
552
+ dbId: 'string',
553
+ instanceId: 'string',
554
+ knowledgeUuid: 'string',
555
+ type: 'string',
556
+ };
557
+ }
558
+
559
+ validate() {
560
+ super.validate();
561
+ }
562
+
563
+ constructor(map?: { [key: string]: any }) {
564
+ super(map);
565
+ }
566
+ }
567
+
568
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentScheduleTaskConfig extends $dara.Model {
569
+ /**
570
+ * @remarks
571
+ * The cron expression for scheduled runs.
572
+ *
573
+ * @example
574
+ * 0 0 0 ? * 1-7
575
+ */
576
+ cronExpression?: string;
577
+ /**
578
+ * @remarks
579
+ * The question for scheduled runs.
580
+ *
581
+ * @example
582
+ * Analyze the data and provide the report
583
+ */
584
+ query?: string;
585
+ /**
586
+ * @remarks
587
+ * The ID of the referenced session.
588
+ *
589
+ * @example
590
+ * 4m24*****mg7j2v
591
+ */
592
+ relatedSessionId?: string;
593
+ static names(): { [key: string]: string } {
594
+ return {
595
+ cronExpression: 'CronExpression',
596
+ query: 'Query',
597
+ relatedSessionId: 'RelatedSessionId',
598
+ };
599
+ }
600
+
601
+ static types(): { [key: string]: any } {
602
+ return {
603
+ cronExpression: 'string',
604
+ query: 'string',
605
+ relatedSessionId: 'string',
606
+ };
607
+ }
608
+
609
+ validate() {
610
+ super.validate();
611
+ }
612
+
613
+ constructor(map?: { [key: string]: any }) {
614
+ super(map);
615
+ }
616
+ }
617
+
618
+ export class DescribeDataAgentSessionResponseBodyDataPreviewCustomAgent extends $dara.Model {
619
+ /**
620
+ * @remarks
621
+ * The Alibaba Cloud main account ID.
622
+ *
623
+ * @example
624
+ * 16738266********
625
+ */
626
+ aliyunParentUid?: string;
627
+ /**
628
+ * @remarks
629
+ * The Alibaba Cloud account ID.
630
+ *
631
+ * @example
632
+ * 20372822********
633
+ */
634
+ aliyunUid?: string;
635
+ /**
636
+ * @remarks
637
+ * The callback configuration.
638
+ */
639
+ callbackConfig?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentCallbackConfig;
640
+ /**
641
+ * @remarks
642
+ * The name of the creator.
643
+ *
644
+ * @example
645
+ * HaoY***
646
+ */
647
+ creatorUserName?: string;
648
+ /**
649
+ * @remarks
650
+ * The custom agent ID.
651
+ *
652
+ * @example
653
+ * ca-ozq551*******jphnqfu
654
+ */
655
+ customAgentId?: string;
656
+ /**
657
+ * @remarks
658
+ * The current DMS unit.
659
+ *
660
+ * @example
661
+ * cn-hangzhou
662
+ */
663
+ DMSUnit?: string;
664
+ /**
665
+ * @remarks
666
+ * The specified data scope in JSON string format.
667
+ *
668
+ * @example
669
+ * {
670
+ * "tableFlag": true,
671
+ * "scope": "personal",
672
+ * "personal": {
673
+ * "DataSourceType": "remote_data_center",
674
+ * "FileId": "f-5qlrwaw10********s3gpw1z",
675
+ * "Database": "test-table******.xlsx",
676
+ * "Tables": [
677
+ * "Sheet1"
678
+ * ],
679
+ * "TableIds": [
680
+ * "******"
681
+ * ],
682
+ * "RegionId": "cn-hangzhou"
683
+ * }
684
+ * }
685
+ */
686
+ dataJson?: string;
687
+ /**
688
+ * @remarks
689
+ * Indicates whether the agent is displayed by default.
690
+ *
691
+ * @example
692
+ * 0
693
+ */
694
+ defaultAgent?: number;
695
+ /**
696
+ * @remarks
697
+ * The custom agent description.
698
+ *
699
+ * @example
700
+ * Description for the test agent.
701
+ */
702
+ description?: string;
703
+ /**
704
+ * @remarks
705
+ * The current DMS unit.
706
+ *
707
+ * @example
708
+ * cn-hangzhou
709
+ */
710
+ dmsUnit?: string;
711
+ /**
712
+ * @remarks
713
+ * The execution configuration.
714
+ */
715
+ executionConfig?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentExecutionConfig;
716
+ /**
717
+ * @remarks
718
+ * The creation time.
719
+ *
720
+ * @example
721
+ * 2025-12-11T14:04:32.000+00:00
722
+ */
723
+ gmtCreated?: string;
724
+ /**
725
+ * @remarks
726
+ * The modification time.
727
+ *
728
+ * @example
729
+ * 2025-12-11T14:04:32.000+00:00
730
+ */
731
+ gmtModified?: string;
732
+ /**
733
+ * @remarks
734
+ * The instruction.
735
+ *
736
+ * @example
737
+ * Analytical framework:
738
+ *
739
+ * Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis to analyze trends and identify year-over-year and month-over-month fluctuations.
740
+ * Segment by new vs. returning customers, channels, and regions to identify growth drivers and areas of weakness.
741
+ * Conduct funnel analysis based on user behavior paths (browse → add to cart → purchase) to pinpoint stages where user drop-off occurs.
742
+ */
743
+ instruction?: string;
744
+ /**
745
+ * @remarks
746
+ * Indicates whether a periodic task is configured.
747
+ *
748
+ * @example
749
+ * true
750
+ */
751
+ isScheduleTask?: boolean;
752
+ /**
753
+ * @remarks
754
+ * The knowledge.
755
+ *
756
+ * @example
757
+ * Core metric definitions:
758
+ *
759
+ * GMV (Gross Merchandise Volume) refers to the total sum of order amounts, including both paid and unpaid orders.
760
+ * Order volume refers to the number of valid orders placed per day.
761
+ * UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
762
+ * Conversion rate = paid orders / UV, reflecting the efficiency of traffic conversion.
763
+ */
764
+ knowledge?: string;
765
+ /**
766
+ * @remarks
767
+ * The external knowledge bases.
768
+ */
769
+ knowledgeConfigList?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeConfigList[];
770
+ /**
771
+ * @remarks
772
+ * The knowledge semantic configuration struct.
773
+ */
774
+ knowledgeSemanticConfigList?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeSemanticConfigList[];
775
+ /**
776
+ * @remarks
777
+ * The modifier.
778
+ *
779
+ * @example
780
+ * 20372822********
781
+ */
782
+ modifier?: string;
783
+ /**
784
+ * @remarks
785
+ * The name of the modifier.
786
+ *
787
+ * @example
788
+ * HaoY***
789
+ */
790
+ modifierUserName?: string;
791
+ /**
792
+ * @remarks
793
+ * The name of the custom agent.
794
+ *
795
+ * @example
796
+ * Test agent name
797
+ */
798
+ name?: string;
799
+ /**
800
+ * @remarks
801
+ * The next run time of the scheduled task.
802
+ *
803
+ * @example
804
+ * 1767715200
805
+ */
806
+ nextRuntime?: number;
807
+ /**
808
+ * @remarks
809
+ * The offline time.
810
+ *
811
+ * @example
812
+ * 2025-12-11T14:04:32.000+00:00
813
+ */
814
+ offlineTime?: string;
815
+ /**
816
+ * @remarks
817
+ * The list of recommended questions.
818
+ * - Up to 10 recommended questions can be configured.
819
+ */
820
+ recommendQuestionList?: string[];
821
+ /**
822
+ * @remarks
823
+ * The region.
824
+ *
825
+ * @example
826
+ * cn-hangzhou
827
+ */
828
+ region?: string;
829
+ /**
830
+ * @remarks
831
+ * The ID of the referenced historical session.
832
+ *
833
+ * @example
834
+ * 5xyz...
835
+ */
836
+ relatedSessionId?: string;
837
+ /**
838
+ * @remarks
839
+ * The release time.
840
+ *
841
+ * @example
842
+ * 2025-12-11T14:04:32.000+00:00
843
+ */
844
+ releaseTime?: string;
845
+ /**
846
+ * @remarks
847
+ * The scheduled task configuration.
848
+ */
849
+ scheduleTaskConfig?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentScheduleTaskConfig;
850
+ /**
851
+ * @remarks
852
+ * The status of the custom agent.
853
+ *
854
+ * @example
855
+ * RELEASE
856
+ */
857
+ status?: string;
858
+ /**
859
+ * @remarks
860
+ * The text report format.
861
+ *
862
+ * @example
863
+ * The text report requires that all numbers be written in Chinese numerals rather than Arabic numerals.
864
+ */
865
+ textReportConfig?: string;
866
+ /**
867
+ * @remarks
868
+ * The list of user-specified skills.
869
+ */
870
+ userSpecifiedSkillList?: string[];
871
+ /**
872
+ * @remarks
873
+ * The web report format.
874
+ *
875
+ * @example
876
+ * The web report requires that all numbers be written in Chinese numerals rather than Arabic numerals.
877
+ */
878
+ webReportConfig?: string;
879
+ /**
880
+ * @remarks
881
+ * The web report theme. Valid values:
882
+ * - default: default
883
+ * - journal: journal
884
+ * - legacy: legacy
885
+ * - neobrutalism: stylized
886
+ * - infographic: infographic
887
+ *
888
+ * @example
889
+ * default
890
+ */
891
+ webReportTheme?: string;
892
+ /**
893
+ * @remarks
894
+ * The workspace ID.
895
+ *
896
+ * @example
897
+ * 56kv1pvl9uvt9**********bb
898
+ */
899
+ workspaceId?: string;
900
+ static names(): { [key: string]: string } {
901
+ return {
902
+ aliyunParentUid: 'AliyunParentUid',
903
+ aliyunUid: 'AliyunUid',
904
+ callbackConfig: 'CallbackConfig',
905
+ creatorUserName: 'CreatorUserName',
906
+ customAgentId: 'CustomAgentId',
907
+ DMSUnit: 'DMSUnit',
908
+ dataJson: 'DataJson',
909
+ defaultAgent: 'DefaultAgent',
910
+ description: 'Description',
911
+ dmsUnit: 'DmsUnit',
912
+ executionConfig: 'ExecutionConfig',
913
+ gmtCreated: 'GmtCreated',
914
+ gmtModified: 'GmtModified',
915
+ instruction: 'Instruction',
916
+ isScheduleTask: 'IsScheduleTask',
917
+ knowledge: 'Knowledge',
918
+ knowledgeConfigList: 'KnowledgeConfigList',
919
+ knowledgeSemanticConfigList: 'KnowledgeSemanticConfigList',
920
+ modifier: 'Modifier',
921
+ modifierUserName: 'ModifierUserName',
922
+ name: 'Name',
923
+ nextRuntime: 'NextRuntime',
924
+ offlineTime: 'OfflineTime',
925
+ recommendQuestionList: 'RecommendQuestionList',
926
+ region: 'Region',
927
+ relatedSessionId: 'RelatedSessionId',
928
+ releaseTime: 'ReleaseTime',
929
+ scheduleTaskConfig: 'ScheduleTaskConfig',
930
+ status: 'Status',
931
+ textReportConfig: 'TextReportConfig',
932
+ userSpecifiedSkillList: 'UserSpecifiedSkillList',
933
+ webReportConfig: 'WebReportConfig',
934
+ webReportTheme: 'WebReportTheme',
935
+ workspaceId: 'WorkspaceId',
936
+ };
937
+ }
938
+
939
+ static types(): { [key: string]: any } {
940
+ return {
941
+ aliyunParentUid: 'string',
942
+ aliyunUid: 'string',
943
+ callbackConfig: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentCallbackConfig,
944
+ creatorUserName: 'string',
945
+ customAgentId: 'string',
946
+ DMSUnit: 'string',
947
+ dataJson: 'string',
948
+ defaultAgent: 'number',
949
+ description: 'string',
950
+ dmsUnit: 'string',
951
+ executionConfig: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentExecutionConfig,
952
+ gmtCreated: 'string',
953
+ gmtModified: 'string',
954
+ instruction: 'string',
955
+ isScheduleTask: 'boolean',
956
+ knowledge: 'string',
957
+ knowledgeConfigList: { 'type': 'array', 'itemType': DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeConfigList },
958
+ knowledgeSemanticConfigList: { 'type': 'array', 'itemType': DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentKnowledgeSemanticConfigList },
959
+ modifier: 'string',
960
+ modifierUserName: 'string',
961
+ name: 'string',
962
+ nextRuntime: 'number',
963
+ offlineTime: 'string',
964
+ recommendQuestionList: { 'type': 'array', 'itemType': 'string' },
965
+ region: 'string',
966
+ relatedSessionId: 'string',
967
+ releaseTime: 'string',
968
+ scheduleTaskConfig: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgentScheduleTaskConfig,
969
+ status: 'string',
970
+ textReportConfig: 'string',
971
+ userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
972
+ webReportConfig: 'string',
973
+ webReportTheme: 'string',
974
+ workspaceId: 'string',
975
+ };
976
+ }
977
+
978
+ validate() {
979
+ if(this.callbackConfig && typeof (this.callbackConfig as any).validate === 'function') {
980
+ (this.callbackConfig as any).validate();
981
+ }
982
+ if(this.executionConfig && typeof (this.executionConfig as any).validate === 'function') {
983
+ (this.executionConfig as any).validate();
984
+ }
985
+ if(Array.isArray(this.knowledgeConfigList)) {
986
+ $dara.Model.validateArray(this.knowledgeConfigList);
987
+ }
988
+ if(Array.isArray(this.knowledgeSemanticConfigList)) {
989
+ $dara.Model.validateArray(this.knowledgeSemanticConfigList);
990
+ }
991
+ if(Array.isArray(this.recommendQuestionList)) {
992
+ $dara.Model.validateArray(this.recommendQuestionList);
993
+ }
994
+ if(this.scheduleTaskConfig && typeof (this.scheduleTaskConfig as any).validate === 'function') {
995
+ (this.scheduleTaskConfig as any).validate();
996
+ }
997
+ if(Array.isArray(this.userSpecifiedSkillList)) {
998
+ $dara.Model.validateArray(this.userSpecifiedSkillList);
999
+ }
1000
+ super.validate();
1001
+ }
1002
+
1003
+ constructor(map?: { [key: string]: any }) {
1004
+ super(map);
1005
+ }
1006
+ }
1007
+
295
1008
  export class DescribeDataAgentSessionResponseBodyDataRecallResults extends $dara.Model {
296
1009
  /**
297
1010
  * @remarks
298
- * The content of the recalled knowledge block.
1011
+ * The content of the recalled knowledge chunk.
299
1012
  *
300
1013
  * @example
301
1014
  * sky is blue
@@ -303,7 +1016,7 @@ export class DescribeDataAgentSessionResponseBodyDataRecallResults extends $dara
303
1016
  content?: string;
304
1017
  /**
305
1018
  * @remarks
306
- * The similarity score of this data entry. The scoring algorithm is related to the algorithm specified when the index was created, such as l2, ip, or cosine.
1019
+ * The similarity score of this data entry. The scoring algorithm is related to the algorithm specified when the index is created, such as l2, ip, or cosine.
307
1020
  *
308
1021
  * @example
309
1022
  * 0.65
@@ -345,7 +1058,7 @@ export class DescribeDataAgentSessionResponseBodyDataRecallResults extends $dara
345
1058
  export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara.Model {
346
1059
  /**
347
1060
  * @remarks
348
- * The custom agent ID.
1061
+ * The ID of the custom agent.
349
1062
  *
350
1063
  * @example
351
1064
  * ca-e*******ckd
@@ -354,8 +1067,8 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
354
1067
  /**
355
1068
  * @remarks
356
1069
  * The usage stage of the custom agent. Valid values:
357
- * - debug: Debugging stage.
358
- * - prod: Production stage.
1070
+ * - **debug**: Debug stage.
1071
+ * - **prod**: Production stage.
359
1072
  *
360
1073
  * @example
361
1074
  * debug
@@ -371,7 +1084,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
371
1084
  enableSearch?: boolean;
372
1085
  /**
373
1086
  * @remarks
374
- * The encryption key for artifacts stored in OSS, including built-in and user OSS buckets. This key is usually specified in the CreateDataAgentSession operation.
1087
+ * The encryption key for storing artifacts in OSS, including built-in and user OSS. This key is typically specified in CreateDataAgentSession.
375
1088
  *
376
1089
  * @example
377
1090
  * ay***1Te
@@ -379,7 +1092,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
379
1092
  encryptKey?: string;
380
1093
  /**
381
1094
  * @remarks
382
- * The encryption type for artifacts stored in OSS, including built-in and user OSS buckets.
1095
+ * The encryption type for storing artifacts in OSS, including built-in and user OSS.
383
1096
  *
384
1097
  * @example
385
1098
  * null
@@ -393,8 +1106,8 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
393
1106
  /**
394
1107
  * @remarks
395
1108
  * The language. Valid values:
396
- * - CHINESE: Chinese.
397
- * - ENGLISH: English.
1109
+ * - **CHINESE**: Chinese.
1110
+ * - **ENGLISH**: English.
398
1111
  *
399
1112
  * @example
400
1113
  * CHINESE
@@ -402,15 +1115,15 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
402
1115
  language?: string;
403
1116
  /**
404
1117
  * @remarks
405
- * The list of MCP server IDs in the session configurations.
1118
+ * The list of MCP server IDs in the session configuration.
406
1119
  */
407
1120
  mcpServerIds?: string[];
408
1121
  /**
409
1122
  * @remarks
410
1123
  * The mode. Valid values:
411
- * - ASK_DATA: Data query mode.
412
- * - ANALYSIS: Analysis mode.
413
- * - INSIGHT: Insight mode.
1124
+ * - **ASK_DATA**: Data query mode.
1125
+ * - **ANALYSIS**: Analysis mode.
1126
+ * - **INSIGHT**: Insight mode.
414
1127
  *
415
1128
  * @example
416
1129
  * ANALYSIS
@@ -418,7 +1131,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
418
1131
  mode?: string;
419
1132
  /**
420
1133
  * @remarks
421
- * The page width of the report.
1134
+ * The report page width.
422
1135
  *
423
1136
  * @example
424
1137
  * 300mm
@@ -426,7 +1139,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
426
1139
  reportPageWidth?: number;
427
1140
  /**
428
1141
  * @remarks
429
- * The watermark of the report.
1142
+ * The report watermark.
430
1143
  *
431
1144
  * @example
432
1145
  * ""
@@ -435,7 +1148,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
435
1148
  /**
436
1149
  * @remarks
437
1150
  * The name of the user OSS bucket.
438
- * - Files generated during the analysis process and report artifacts can be uploaded to the user-specified OSS bucket.
1151
+ * - Analysis process files and report artifacts can be uploaded to the user-specified OSS bucket.
439
1152
  *
440
1153
  * @example
441
1154
  * user-oss-bucket
@@ -524,7 +1237,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
524
1237
  chatHistoryLocations?: DescribeDataAgentSessionResponseBodyDataChatHistoryLocations[];
525
1238
  /**
526
1239
  * @remarks
527
- * The time when the session was created.
1240
+ * The session creation time.
528
1241
  *
529
1242
  * @example
530
1243
  * 1731645908000
@@ -553,9 +1266,14 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
553
1266
  file?: string;
554
1267
  /**
555
1268
  * @remarks
556
- * The list of historical session messages.
1269
+ * The list of historical conversation messages in the session.
557
1270
  */
558
1271
  messages?: DescribeDataAgentSessionResponseBodyDataMessages[];
1272
+ /**
1273
+ * @remarks
1274
+ * The custom agent for the intelligent development session preview.
1275
+ */
1276
+ previewCustomAgent?: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgent;
559
1277
  /**
560
1278
  * @remarks
561
1279
  * The recall results from the knowledge base and memory for the current session.
@@ -571,7 +1289,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
571
1289
  saved?: boolean;
572
1290
  /**
573
1291
  * @remarks
574
- * The session configurations.
1292
+ * The session configuration items.
575
1293
  */
576
1294
  sessionConfig?: DescribeDataAgentSessionResponseBodyDataSessionConfig;
577
1295
  /**
@@ -595,7 +1313,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
595
1313
  * The title.
596
1314
  *
597
1315
  * @example
598
- * Analyze this file and generate a report
1316
+ * Analyze this document and generate a report
599
1317
  */
600
1318
  title?: string;
601
1319
  /**
@@ -618,6 +1336,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
618
1336
  favoriteInWorkspace: 'FavoriteInWorkspace',
619
1337
  file: 'File',
620
1338
  messages: 'Messages',
1339
+ previewCustomAgent: 'PreviewCustomAgent',
621
1340
  recallResults: 'RecallResults',
622
1341
  saved: 'Saved',
623
1342
  sessionConfig: 'SessionConfig',
@@ -640,6 +1359,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
640
1359
  favoriteInWorkspace: 'string',
641
1360
  file: 'string',
642
1361
  messages: { 'type': 'array', 'itemType': DescribeDataAgentSessionResponseBodyDataMessages },
1362
+ previewCustomAgent: DescribeDataAgentSessionResponseBodyDataPreviewCustomAgent,
643
1363
  recallResults: { 'type': 'array', 'itemType': DescribeDataAgentSessionResponseBodyDataRecallResults },
644
1364
  saved: 'boolean',
645
1365
  sessionConfig: DescribeDataAgentSessionResponseBodyDataSessionConfig,
@@ -666,6 +1386,9 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
666
1386
  if(Array.isArray(this.messages)) {
667
1387
  $dara.Model.validateArray(this.messages);
668
1388
  }
1389
+ if(this.previewCustomAgent && typeof (this.previewCustomAgent as any).validate === 'function') {
1390
+ (this.previewCustomAgent as any).validate();
1391
+ }
669
1392
  if(Array.isArray(this.recallResults)) {
670
1393
  $dara.Model.validateArray(this.recallResults);
671
1394
  }
@@ -712,9 +1435,10 @@ export class DescribeDataAgentSessionResponseBody extends $dara.Model {
712
1435
  requestId?: string;
713
1436
  /**
714
1437
  * @remarks
715
- * The return value description. Valid values:
716
- * - true: The deletion succeeded.
717
- * - false: The deletion failed.
1438
+ * Indicates whether the request is successful. Valid values:
1439
+ *
1440
+ * - **true**: The deletion succeeded.
1441
+ * - **false**: The deletion failed.
718
1442
  *
719
1443
  * @example
720
1444
  * true