@alicloud/dms20250414 3.1.0 → 4.1.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 (46) hide show
  1. package/dist/client.d.ts +8 -8
  2. package/dist/client.js +8 -8
  3. package/dist/models/CreateCustomAgentRequest.d.ts +71 -43
  4. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  5. package/dist/models/CreateCustomAgentResponseBody.d.ts +58 -29
  6. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  7. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +51 -37
  8. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  9. package/dist/models/DescribeCustomAgentResponseBody.d.ts +84 -25
  10. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  11. package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
  12. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +94 -54
  13. package/dist/models/DescribeDataAgentSessionResponseBody.js +31 -1
  14. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  15. package/dist/models/ListCustomAgentRequest.d.ts +4 -4
  16. package/dist/models/ListCustomAgentResponseBody.d.ts +138 -28
  17. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  18. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +13 -6
  19. package/dist/models/ListDataAgentWorkspaceRequest.js.map +1 -1
  20. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +28 -7
  21. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  22. package/dist/models/ModifyCustomAgentRequest.d.ts +71 -38
  23. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  24. package/dist/models/ModifyCustomAgentResponseBody.d.ts +63 -30
  25. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  26. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +51 -32
  27. package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
  28. package/dist/models/model.d.ts +1 -0
  29. package/dist/models/model.js +18 -16
  30. package/dist/models/model.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/client.ts +8 -8
  33. package/src/models/CreateCustomAgentRequest.ts +71 -43
  34. package/src/models/CreateCustomAgentResponseBody.ts +58 -29
  35. package/src/models/CreateCustomAgentShrinkRequest.ts +51 -37
  36. package/src/models/DescribeCustomAgentResponseBody.ts +84 -25
  37. package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
  38. package/src/models/DescribeDataAgentSessionResponseBody.ts +115 -54
  39. package/src/models/ListCustomAgentRequest.ts +4 -4
  40. package/src/models/ListCustomAgentResponseBody.ts +138 -28
  41. package/src/models/ListDataAgentWorkspaceRequest.ts +13 -6
  42. package/src/models/ListDataAgentWorkspaceResponseBody.ts +28 -7
  43. package/src/models/ModifyCustomAgentRequest.ts +71 -38
  44. package/src/models/ModifyCustomAgentResponseBody.ts +63 -30
  45. package/src/models/ModifyCustomAgentShrinkRequest.ts +51 -32
  46. package/src/models/model.ts +1 -0
@@ -13,7 +13,7 @@ export class ListCustomAgentRequest extends $dara.Model {
13
13
  pageNumber?: number;
14
14
  /**
15
15
  * @remarks
16
- * The number of records per page. Default value: 20.
16
+ * The number of entries per page. Default value: 20.
17
17
  *
18
18
  * @example
19
19
  * 20
@@ -21,7 +21,7 @@ export class ListCustomAgentRequest extends $dara.Model {
21
21
  pageSize?: number;
22
22
  /**
23
23
  * @remarks
24
- * Specifies whether to query all custom agents in the published state. Default value: false.
24
+ * Specifies whether to query all published custom agents. Default value: false.
25
25
  *
26
26
  * @example
27
27
  * true
@@ -29,10 +29,10 @@ export class ListCustomAgentRequest extends $dara.Model {
29
29
  queryAllReleased?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The search keyword. Supports fuzzy search by custom agent name and description.
32
+ * The search keyword. Fuzzy search is supported for custom agent names and descriptions.
33
33
  *
34
34
  * @example
35
- * TestAgent
35
+ * Test Agent
36
36
  */
37
37
  searchKey?: string;
38
38
  /**
@@ -3,10 +3,45 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListCustomAgentResponseBodyDataContentCallbackConfig extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The parameters to invoke the callback during tool calling.
9
+ *
10
+ * @example
11
+ * {"ID":"test"}
12
+ */
6
13
  callbackArgs?: string;
14
+ /**
15
+ * @remarks
16
+ * The prompt for generating parameters to invoke the callback during tool calling.
17
+ *
18
+ * @example
19
+ * Invoke the send_email tool to send the web report to 123456@163.com
20
+ */
7
21
  callbackPrompt?: string;
22
+ /**
23
+ * @remarks
24
+ * The time to invoke the callback during tool calling.
25
+ *
26
+ * @example
27
+ * End of web report generation
28
+ */
8
29
  callbackTime?: number;
30
+ /**
31
+ * @remarks
32
+ * The callback tool identifier.
33
+ *
34
+ * @example
35
+ * For example, MCP server ID (6te...g7a)
36
+ */
9
37
  toolId?: string;
38
+ /**
39
+ * @remarks
40
+ * The callback tool type.
41
+ *
42
+ * @example
43
+ * Mcp
44
+ */
10
45
  type?: string;
11
46
  static names(): { [key: string]: string } {
12
47
  return {
@@ -38,10 +73,17 @@ export class ListCustomAgentResponseBodyDataContentCallbackConfig extends $dara.
38
73
  }
39
74
 
40
75
  export class ListCustomAgentResponseBodyDataContentExecutionConfig extends $dara.Model {
76
+ /**
77
+ * @remarks
78
+ * Specifies whether to prohibit appending data sources during the session.
79
+ *
80
+ * @example
81
+ * true
82
+ */
41
83
  forbiddenAppendDataSource?: boolean;
42
84
  /**
43
85
  * @remarks
44
- * Specifies whether to disable user inquiries during the process.
86
+ * Specifies whether to prohibit user inquiries during the process.
45
87
  *
46
88
  * @example
47
89
  * false
@@ -65,7 +107,7 @@ export class ListCustomAgentResponseBodyDataContentExecutionConfig extends $dara
65
107
  skipSqlConfirm?: boolean;
66
108
  /**
67
109
  * @remarks
68
- * Specifies whether to skip the web report rendering confirmation.
110
+ * Specifies whether to skip the web report generation confirmation.
69
111
  *
70
112
  * @example
71
113
  * false
@@ -101,8 +143,31 @@ export class ListCustomAgentResponseBodyDataContentExecutionConfig extends $dara
101
143
  }
102
144
 
103
145
  export class ListCustomAgentResponseBodyDataContentKnowledgeConfigList extends $dara.Model {
146
+ /**
147
+ * @remarks
148
+ * The access type. Valid values:
149
+ * - mcp: MCP access.
150
+ * - dms_kb: DMS knowledge base access.
151
+ *
152
+ * @example
153
+ * mcp
154
+ */
104
155
  accessType?: string;
156
+ /**
157
+ * @remarks
158
+ * The knowledge base ID.
159
+ *
160
+ * @example
161
+ * kb-HZ-6anhdzx7hddf9*******obx
162
+ */
105
163
  kbUuid?: string;
164
+ /**
165
+ * @remarks
166
+ * The ID of the MCP server.
167
+ *
168
+ * @example
169
+ * nhdpt9adf6ac**********ca
170
+ */
106
171
  mcpServerId?: string;
107
172
  static names(): { [key: string]: string } {
108
173
  return {
@@ -164,7 +229,7 @@ export class ListCustomAgentResponseBodyDataContentKnowledgeSemanticConfigList e
164
229
  export class ListCustomAgentResponseBodyDataContentScheduleTaskConfig extends $dara.Model {
165
230
  /**
166
231
  * @remarks
167
- * The cron expression for the timed scheduling.
232
+ * The cron expression for time-based scheduling.
168
233
  *
169
234
  * @example
170
235
  * 0 0 0 ? * 1-7
@@ -172,7 +237,7 @@ export class ListCustomAgentResponseBodyDataContentScheduleTaskConfig extends $d
172
237
  cronExpression?: string;
173
238
  /**
174
239
  * @remarks
175
- * The query of the periodic task.
240
+ * The query for the scheduled task.
176
241
  *
177
242
  * @example
178
243
  * Analyze this data and provide a brief report
@@ -214,7 +279,7 @@ export class ListCustomAgentResponseBodyDataContentScheduleTaskConfig extends $d
214
279
  export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
215
280
  /**
216
281
  * @remarks
217
- * The Alibaba Cloud primary account ID.
282
+ * The Alibaba Cloud parent account ID.
218
283
  *
219
284
  * @example
220
285
  * 16738266********
@@ -228,6 +293,10 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
228
293
  * 20372822********
229
294
  */
230
295
  aliyunUid?: string;
296
+ /**
297
+ * @remarks
298
+ * The callback configuration.
299
+ */
231
300
  callbackConfig?: ListCustomAgentResponseBodyDataContentCallbackConfig;
232
301
  /**
233
302
  * @remarks
@@ -246,6 +315,9 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
246
315
  */
247
316
  customAgentId?: string;
248
317
  /**
318
+ * @remarks
319
+ * The current DMS unit.
320
+ *
249
321
  * @example
250
322
  * cn-hangzhou
251
323
  */
@@ -261,7 +333,7 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
261
333
  * "personal" : {
262
334
  * "DataSourceType" : "remote_data_center",
263
335
  * "FileId" : "f-5qlrwaw10********s3gpw1z",
264
- * "Database" : "TestTable******.xlsx",
336
+ * "Database" : "Test table******.xlsx",
265
337
  * "Tables" : [ "Sheet1" ],
266
338
  * "TableIds" : [ "******" ],
267
339
  * "RegionId" : "cn-hangzhou"
@@ -269,13 +341,20 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
269
341
  * }
270
342
  */
271
343
  dataJson?: string;
344
+ /**
345
+ * @remarks
346
+ * Specifies whether the agent is displayed by default.
347
+ *
348
+ * @example
349
+ * 1
350
+ */
272
351
  defaultAgent?: number;
273
352
  /**
274
353
  * @remarks
275
354
  * The description of the custom agent.
276
355
  *
277
356
  * @example
278
- * AgentTestDescription
357
+ * Sample agent description
279
358
  */
280
359
  description?: string;
281
360
  /**
@@ -309,18 +388,18 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
309
388
  gmtModified?: string;
310
389
  /**
311
390
  * @remarks
312
- * The instruction.
391
+ * The instructions.
313
392
  *
314
393
  * @example
315
394
  * Analysis framework:
316
- * 1. Monitor core metrics (GMV, order volume, UV, conversion rate) by day, week, and month dimensions, and analyze trends and year-over-year/month-over-month fluctuations.
317
- * 2. Segment by new/existing customers, channels, and regions to identify growth drivers and weaknesses.
318
- * 3. Conduct funnel analysis based on user behavior paths (browse → add to cart → payment) to identify drop-off points
395
+ * 1. Monitor core metrics (GMV, order volume, UV, conversion rate) on a daily, weekly, and monthly basis, and analyze trend changes and year-over-year/month-over-month fluctuations.
396
+ * 2. Break down data by new and returning customers, channels, and regions to identify growth sources and weaknesses.
397
+ * 3. Conduct funnel analysis based on user behavior paths (browse -> add to cart -> pay) to locate churn points
319
398
  */
320
399
  instruction?: string;
321
400
  /**
322
401
  * @remarks
323
- * Indicates whether a periodic task is configured.
402
+ * Specifies whether a scheduled task is configured.
324
403
  *
325
404
  * @example
326
405
  * true
@@ -332,12 +411,16 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
332
411
  *
333
412
  * @example
334
413
  * Core metric definitions:
335
- * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders.
336
- * 2. Order volume is the number of valid orders placed per day.
337
- * 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app.
338
- * 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
414
+ * 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
415
+ * 2. Order volume refers to the number of valid orders placed per day.
416
+ * 3. UV (Unique Visitors) refers to the number of deduplicated users visiting the website or app.
417
+ * 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
339
418
  */
340
419
  knowledge?: string;
420
+ /**
421
+ * @remarks
422
+ * The external knowledge bases.
423
+ */
341
424
  knowledgeConfigList?: ListCustomAgentResponseBodyDataContentKnowledgeConfigList[];
342
425
  knowledgeSemanticConfigList?: ListCustomAgentResponseBodyDataContentKnowledgeSemanticConfigList[];
343
426
  /**
@@ -361,12 +444,12 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
361
444
  * The name of the custom agent.
362
445
  *
363
446
  * @example
364
- * AgentTestName
447
+ * Sample agent name
365
448
  */
366
449
  name?: string;
367
450
  /**
368
451
  * @remarks
369
- * The next run time of the periodic task.
452
+ * The next run time of the scheduled task.
370
453
  *
371
454
  * @example
372
455
  * 1767715200
@@ -388,15 +471,26 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
388
471
  * cn-hangzhou
389
472
  */
390
473
  region?: string;
474
+ /**
475
+ * @remarks
476
+ * The ID of the referenced historical session.
477
+ *
478
+ * @example
479
+ * 99crainsjnve******vynid
480
+ */
391
481
  relatedSessionId?: string;
392
482
  /**
393
483
  * @remarks
394
- * The publish time.
484
+ * The release time.
395
485
  *
396
486
  * @example
397
487
  * 2025-12-11T14:04:32.000+00:00
398
488
  */
399
489
  releaseTime?: string;
490
+ /**
491
+ * @remarks
492
+ * The scheduled task configuration.
493
+ */
400
494
  scheduleTaskConfig?: ListCustomAgentResponseBodyDataContentScheduleTaskConfig;
401
495
  /**
402
496
  * @remarks
@@ -411,18 +505,34 @@ export class ListCustomAgentResponseBodyDataContent extends $dara.Model {
411
505
  * The text report format.
412
506
  *
413
507
  * @example
414
- * The text report requires all numbers to be converted from Arabic numerals to Chinese numerals
508
+ * The text report requires all numbers to be written as Chinese characters instead of Arabic numerals
415
509
  */
416
510
  textReportConfig?: string;
511
+ /**
512
+ * @remarks
513
+ * The list of user-specified skills.
514
+ */
417
515
  userSpecifiedSkillList?: string[];
418
516
  /**
419
517
  * @remarks
420
518
  * The web report format.
421
519
  *
422
520
  * @example
423
- * The web report requires all numbers to be converted from Arabic numerals to Chinese numerals
521
+ * The web report requires all numbers to be written as Chinese characters instead of Arabic numerals
424
522
  */
425
523
  webReportConfig?: string;
524
+ /**
525
+ * @remarks
526
+ * The web report theme. Valid values:
527
+ * - default: Default.
528
+ * - journal: Journal.
529
+ * - legacy: Legacy.
530
+ * - neobrutalism: Neobrutalism.
531
+ * - infographic: Infographic.
532
+ *
533
+ * @example
534
+ * default
535
+ */
426
536
  webReportTheme?: string;
427
537
  /**
428
538
  * @remarks
@@ -551,7 +661,7 @@ export class ListCustomAgentResponseBodyData extends $dara.Model {
551
661
  pageNumber?: number;
552
662
  /**
553
663
  * @remarks
554
- * The number of records per page.
664
+ * The number of entries per page.
555
665
  *
556
666
  * @example
557
667
  * 20
@@ -559,7 +669,7 @@ export class ListCustomAgentResponseBodyData extends $dara.Model {
559
669
  pageSize?: number;
560
670
  /**
561
671
  * @remarks
562
- * The total number of records.
672
+ * The total number of entries.
563
673
  *
564
674
  * @example
565
675
  * 5
@@ -608,7 +718,7 @@ export class ListCustomAgentResponseBodyData extends $dara.Model {
608
718
  export class ListCustomAgentResponseBody extends $dara.Model {
609
719
  /**
610
720
  * @remarks
611
- * The response struct.
721
+ * The returned struct.
612
722
  */
613
723
  data?: ListCustomAgentResponseBodyData;
614
724
  /**
@@ -621,7 +731,7 @@ export class ListCustomAgentResponseBody extends $dara.Model {
621
731
  errorCode?: string;
622
732
  /**
623
733
  * @remarks
624
- * The error message returned if the request failed.
734
+ * The error message returned when the call fails.
625
735
  *
626
736
  * @example
627
737
  * Specified parameter Tid is not valid.
@@ -637,10 +747,10 @@ export class ListCustomAgentResponseBody extends $dara.Model {
637
747
  requestId?: string;
638
748
  /**
639
749
  * @remarks
640
- * Indicates whether the request was successful. Valid values:
750
+ * Indicates whether the request is successful. Valid values:
641
751
  *
642
- * - **true**: The request was successful.
643
- * - **false**: The request failed.
752
+ * - **true**: The request is successful.
753
+ * - **false**: The request fails.
644
754
  *
645
755
  * @example
646
756
  * true
@@ -3,6 +3,13 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListDataAgentWorkspaceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the creator used to search for workspaces.
9
+ *
10
+ * @example
11
+ * 186xxx9947
12
+ */
6
13
  creator?: string;
7
14
  /**
8
15
  * @remarks
@@ -14,7 +21,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
14
21
  DMSUnit?: string;
15
22
  /**
16
23
  * @remarks
17
- * The maximum number of entries per page.
24
+ * The maximum number of results per page.
18
25
  *
19
26
  * @example
20
27
  * no use
@@ -22,7 +29,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
22
29
  maxResults?: number;
23
30
  /**
24
31
  * @remarks
25
- * The pagination token.
32
+ * The next token.
26
33
  *
27
34
  * @example
28
35
  * no use
@@ -38,7 +45,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
38
45
  order?: string;
39
46
  /**
40
47
  * @remarks
41
- * The name of the field by which to sort.
48
+ * The sort field name.
42
49
  *
43
50
  * @example
44
51
  * CreateTime
@@ -56,7 +63,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
56
63
  pageNumber?: string;
57
64
  /**
58
65
  * @remarks
59
- * The number of records per page.
66
+ * The number of entries per page.
60
67
  *
61
68
  * This parameter is required.
62
69
  *
@@ -66,7 +73,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
66
73
  pageSize?: string;
67
74
  /**
68
75
  * @remarks
69
- * The workspace name.
76
+ * The name of the workspace.
70
77
  *
71
78
  * @example
72
79
  * workspaceTest
@@ -74,7 +81,7 @@ export class ListDataAgentWorkspaceRequest extends $dara.Model {
74
81
  workspaceName?: string;
75
82
  /**
76
83
  * @remarks
77
- * The type of workspace to query.
84
+ * The workspace type.
78
85
  *
79
86
  * This parameter is required.
80
87
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The creation time of the workspace, in milliseconds (UNIX timestamp).
8
+ * The time when the workspace was created. The value is a timestamp in milliseconds.
9
9
  *
10
10
  * @example
11
11
  * 1765960516000
@@ -19,6 +19,13 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
19
19
  * 20282*****7591
20
20
  */
21
21
  creator?: string;
22
+ /**
23
+ * @remarks
24
+ * The name of the workspace creator.
25
+ *
26
+ * @example
27
+ * test
28
+ */
22
29
  creatorName?: string;
23
30
  /**
24
31
  * @remarks
@@ -38,7 +45,7 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
38
45
  isSessionShareEnabled?: boolean;
39
46
  /**
40
47
  * @remarks
41
- * The most recent modification time of the workspace, in milliseconds (UNIX timestamp).
48
+ * The time when the workspace was last modified. The value is a timestamp in milliseconds.
42
49
  *
43
50
  * @example
44
51
  * 1765961516000
@@ -46,21 +53,35 @@ export class ListDataAgentWorkspaceResponseBodyDataContent extends $dara.Model {
46
53
  modifyTime?: number;
47
54
  /**
48
55
  * @remarks
49
- * The role name of the user in the workspace.
56
+ * The name of the user\\"s role in the workspace.
50
57
  *
51
58
  * @example
52
59
  * admin
53
60
  */
54
61
  roleName?: string;
62
+ /**
63
+ * @remarks
64
+ * The number of running sessions in the workspace.
65
+ *
66
+ * @example
67
+ * 15
68
+ */
55
69
  runningSessionCount?: number;
56
70
  /**
57
71
  * @remarks
58
- * The number of members in the workspace.
72
+ * The total number of members in the workspace.
59
73
  *
60
74
  * @example
61
75
  * 11
62
76
  */
63
77
  totalMember?: number;
78
+ /**
79
+ * @remarks
80
+ * The total number of sessions in the workspace.
81
+ *
82
+ * @example
83
+ * 30
84
+ */
64
85
  totalSessionCount?: number;
65
86
  /**
66
87
  * @remarks
@@ -227,7 +248,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
227
248
  errorCode?: string;
228
249
  /**
229
250
  * @remarks
230
- * The error message returned if the call failed.
251
+ * The error message returned when the call fails.
231
252
  *
232
253
  * @example
233
254
  * Specified parameter is not valid.
@@ -235,7 +256,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
235
256
  errorMessage?: string;
236
257
  /**
237
258
  * @remarks
238
- * The maximum number of entries per page.
259
+ * The maximum number of results per page.
239
260
  *
240
261
  * @example
241
262
  * nu use
@@ -243,7 +264,7 @@ export class ListDataAgentWorkspaceResponseBody extends $dara.Model {
243
264
  maxResults?: number;
244
265
  /**
245
266
  * @remarks
246
- * The pagination token.
267
+ * The next token.
247
268
  *
248
269
  * @example
249
270
  * no use