@alicloud/dms20250414 2.0.0 → 2.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 (52) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +60 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentRequest.d.ts +21 -0
  5. package/dist/models/CreateAgentRequest.js +64 -0
  6. package/dist/models/CreateAgentRequest.js.map +1 -0
  7. package/dist/models/CreateAgentResponse.d.ts +19 -0
  8. package/dist/models/CreateAgentResponse.js +69 -0
  9. package/dist/models/CreateAgentResponse.js.map +1 -0
  10. package/dist/models/CreateAgentResponseBody.d.ts +66 -0
  11. package/dist/models/CreateAgentResponseBody.js +154 -0
  12. package/dist/models/CreateAgentResponseBody.js.map +1 -0
  13. package/dist/models/CreateDataAgentSessionRequest.d.ts +42 -18
  14. package/dist/models/CreateDataAgentSessionRequest.js.map +1 -1
  15. package/dist/models/CreateDataAgentSessionResponseBody.d.ts +52 -29
  16. package/dist/models/CreateDataAgentSessionResponseBody.js.map +1 -1
  17. package/dist/models/CreateDataAgentSessionShrinkRequest.d.ts +2 -2
  18. package/dist/models/CreateDataAgentThemeRequest.d.ts +16 -8
  19. package/dist/models/CreateDataAgentThemeRequest.js +2 -0
  20. package/dist/models/CreateDataAgentThemeRequest.js.map +1 -1
  21. package/dist/models/CreateDataAgentThemeResponseBody.d.ts +2 -2
  22. package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
  23. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +19 -20
  24. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  25. package/dist/models/DescribeDataAgentThemeResponseBody.d.ts +9 -13
  26. package/dist/models/DescribeDataAgentThemeResponseBody.js.map +1 -1
  27. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +9 -2
  28. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
  29. package/dist/models/ListDataAgentThemeRequest.d.ts +15 -7
  30. package/dist/models/ListDataAgentThemeRequest.js +2 -0
  31. package/dist/models/ListDataAgentThemeRequest.js.map +1 -1
  32. package/dist/models/ListDataAgentThemeResponseBody.d.ts +8 -8
  33. package/dist/models/model.d.ts +5 -0
  34. package/dist/models/model.js +23 -13
  35. package/dist/models/model.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +68 -6
  38. package/src/models/CreateAgentRequest.ts +40 -0
  39. package/src/models/CreateAgentResponse.ts +40 -0
  40. package/src/models/CreateAgentResponseBody.ts +157 -0
  41. package/src/models/CreateDataAgentSessionRequest.ts +42 -18
  42. package/src/models/CreateDataAgentSessionResponseBody.ts +52 -29
  43. package/src/models/CreateDataAgentSessionShrinkRequest.ts +2 -2
  44. package/src/models/CreateDataAgentThemeRequest.ts +18 -8
  45. package/src/models/CreateDataAgentThemeResponseBody.ts +2 -2
  46. package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
  47. package/src/models/DescribeDataAgentSessionResponseBody.ts +19 -20
  48. package/src/models/DescribeDataAgentThemeResponseBody.ts +9 -13
  49. package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +9 -2
  50. package/src/models/ListDataAgentThemeRequest.ts +17 -7
  51. package/src/models/ListDataAgentThemeResponseBody.ts +8 -8
  52. package/src/models/model.ts +5 -0
@@ -13,7 +13,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
13
13
  description?: string;
14
14
  /**
15
15
  * @remarks
16
- * The time when the backend completed the artifact task. This is a UNIX timestamp accurate to the second.
16
+ * The time when the backend completed the artifact task. The value is a UNIX timestamp accurate to seconds.
17
17
  *
18
18
  * @example
19
19
  * 1778743587
@@ -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 report is produced by calling SendChatMessage with MessageType set to REPORT, the artifact ID is the same as the MessageId in the response of the SendChatMessage operation.
24
+ * The artifact ID, which is globally unique. If the report is produced by calling SendChatMessage with MessageType set to REPORT, the artifact ID is the same as the MessageId in the response of the SendChatMessage operation.
25
25
  *
26
26
  * @example
27
27
  * bab******33e1
@@ -29,7 +29,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
29
29
  id?: string;
30
30
  /**
31
31
  * @remarks
32
- * The artifact name. This is typically a string concatenated by the system and is aligned with the name field in the ListFileUpload operation. You can use this field to query the download URL of the artifact file.
32
+ * The artifact name, which is typically a string concatenated by the system. This name is aligned with the name field in the ListFileUpload operation. You can use this field to query the download URL of the artifact file.
33
33
  *
34
34
  * @example
35
35
  * report_****_2026****
@@ -37,7 +37,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
37
37
  name?: string;
38
38
  /**
39
39
  * @remarks
40
- * The time when the backend received the artifact request. This is a UNIX timestamp accurate to the second.
40
+ * The time when the backend received the artifact request. The value is a UNIX timestamp accurate to seconds.
41
41
  *
42
42
  * @example
43
43
  * 1778743587
@@ -45,7 +45,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
45
45
  receiveTime?: string;
46
46
  /**
47
47
  * @remarks
48
- * The time when the backend actually started running the artifact task. This is a UNIX timestamp accurate to the second.
48
+ * The time when the backend actually started running the artifact task. The value is a UNIX timestamp accurate to seconds.
49
49
  *
50
50
  * @example
51
51
  * 1778743587
@@ -113,7 +113,7 @@ export class DescribeDataAgentSessionResponseBodyDataArtifacts extends $dara.Mod
113
113
  export class DescribeDataAgentSessionResponseBodyDataChatHistoryLocations extends $dara.Model {
114
114
  /**
115
115
  * @remarks
116
- * The key of the chat replay history.
116
+ * The key of the chat history replay record.
117
117
  *
118
118
  * @example
119
119
  * testKey1
@@ -121,7 +121,7 @@ export class DescribeDataAgentSessionResponseBodyDataChatHistoryLocations extend
121
121
  key?: string;
122
122
  /**
123
123
  * @remarks
124
- * The OSS download URL of the chat replay history.
124
+ * The OSS download URL of the chat history replay record.
125
125
  *
126
126
  * @example
127
127
  * ****
@@ -155,9 +155,9 @@ export class DescribeDataAgentSessionResponseBodyDataDataSources extends $dara.M
155
155
  * @remarks
156
156
  * The data source category. Valid values:
157
157
  *
158
- * - **CHAT**: specified through the CreateDataAgentSession or SendChatMessage operation during a conversation.
158
+ * - **CHAT**: Specified through the CreateDataAgentSession or SendChatMessage operation during a conversation.
159
159
  *
160
- * - **CUSTOM_AGENT**: from the preset analysis data scope in a custom agent.
160
+ * - **CUSTOM_AGENT**: From the preset analysis data scope in a custom agent.
161
161
  *
162
162
  * @example
163
163
  * CHAT
@@ -207,7 +207,7 @@ export class DescribeDataAgentSessionResponseBodyDataRecallResults extends $dara
207
207
  content?: string;
208
208
  /**
209
209
  * @remarks
210
- * The similarity score of this data entry. The scoring algorithm is related to the algorithm (l2/ip/cosine) specified when the index was created.
210
+ * The similarity score of this record. The scoring algorithm is related to the algorithm (l2/ip/cosine) specified when the index was created.
211
211
  *
212
212
  * @example
213
213
  * 0.65
@@ -258,8 +258,8 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
258
258
  /**
259
259
  * @remarks
260
260
  * The stage of the custom agent. Valid values:
261
- * - **debug**: test stage.
262
- * - **prod**: production stage.
261
+ * - **debug**: The debug stage.
262
+ * - **prod**: The production stage.
263
263
  *
264
264
  * @example
265
265
  * debug
@@ -312,9 +312,9 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
312
312
  /**
313
313
  * @remarks
314
314
  * The mode. Valid values:
315
- * - **ASK_DATA**: ask data mode.
316
- * - **ANALYSIS**: analysis mode.
317
- * - **INSIGHT**: insight mode.
315
+ * - **ASK_DATA**: The ask-data mode.
316
+ * - **ANALYSIS**: The analysis mode.
317
+ * - **INSIGHT**: The insight mode.
318
318
  *
319
319
  * @example
320
320
  * ANALYSIS
@@ -338,8 +338,7 @@ export class DescribeDataAgentSessionResponseBodyDataSessionConfig extends $dara
338
338
  reportWaterMark?: string;
339
339
  /**
340
340
  * @remarks
341
- * The name of the user OSS bucket.
342
- * - Analysis process files and report artifacts can be uploaded to the user-specified OSS bucket.
341
+ * The name of the user OSS bucket. Analysis process files and report artifacts can be uploaded to the user-specified OSS bucket.
343
342
  *
344
343
  * @example
345
344
  * user-oss-bucket
@@ -418,7 +417,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
418
417
  artifacts?: DescribeDataAgentSessionResponseBodyDataArtifacts[];
419
418
  /**
420
419
  * @remarks
421
- * The chat replay history.
420
+ * The chat history replay records.
422
421
  */
423
422
  chatHistoryLocations?: DescribeDataAgentSessionResponseBodyDataChatHistoryLocations[];
424
423
  /**
@@ -489,7 +488,7 @@ export class DescribeDataAgentSessionResponseBodyData extends $dara.Model {
489
488
  * The title.
490
489
  *
491
490
  * @example
492
- * 分析一下这份文件,给出报告。
491
+ * Analyze this file and generate a report
493
492
  */
494
493
  title?: string;
495
494
  /**
@@ -598,7 +597,7 @@ export class DescribeDataAgentSessionResponseBody extends $dara.Model {
598
597
  * @remarks
599
598
  * The return value. Valid values:
600
599
  *
601
- * - **true**: Succeeded.
600
+ * - **true**: Successful.
602
601
  * - **false**: Failed.
603
602
  *
604
603
  * @example
@@ -37,7 +37,7 @@ export class DescribeDataAgentThemeResponseBodyData extends $dara.Model {
37
37
  modifiedAt?: string;
38
38
  /**
39
39
  * @remarks
40
- * The theme tracing information. This field is currently not enabled.
40
+ * The tracing information of the theme. This field is currently not enabled.
41
41
  *
42
42
  * @example
43
43
  * 6d1e3f9a-****-****-****-2b8c4e6f0a1d
@@ -45,10 +45,7 @@ export class DescribeDataAgentThemeResponseBodyData extends $dara.Model {
45
45
  referTo?: string;
46
46
  /**
47
47
  * @remarks
48
- * The source of the theme. Valid values:
49
- *
50
- * - system
51
- * - custom
48
+ * The source of the theme. Valid values: system, custom.
52
49
  *
53
50
  * @example
54
51
  * custom
@@ -72,10 +69,9 @@ export class DescribeDataAgentThemeResponseBodyData extends $dara.Model {
72
69
  themeName?: string;
73
70
  /**
74
71
  * @remarks
75
- * The theme stage. Valid values:
76
- *
77
- * - design: design.md only.
78
- * - template: complete and renderable.
72
+ * The stage of the theme. Valid values:
73
+ * - design: The theme contains only design.md.
74
+ * - template: The theme is complete and renderable.
79
75
  *
80
76
  * @example
81
77
  * template
@@ -126,7 +122,7 @@ export class DescribeDataAgentThemeResponseBody extends $dara.Model {
126
122
  data?: DescribeDataAgentThemeResponseBodyData;
127
123
  /**
128
124
  * @remarks
129
- * The error code returned when the request is abnormal.
125
+ * The error code returned when the request fails.
130
126
  *
131
127
  * @example
132
128
  * UnknownError
@@ -150,10 +146,10 @@ export class DescribeDataAgentThemeResponseBody extends $dara.Model {
150
146
  requestId?: string;
151
147
  /**
152
148
  * @remarks
153
- * Indicates whether the request was successful. Valid values:
149
+ * Indicates whether the request is successful. Valid values:
154
150
  *
155
- * - **true**: The request was successful.
156
- * - **false**: The request failed.
151
+ * - **true**: The request is successful.
152
+ * - **false**: The request fails.
157
153
  */
158
154
  success?: boolean;
159
155
  static names(): { [key: string]: string } {
@@ -27,6 +27,13 @@ export class ListDataAgentAccuracyTestInstancesResponseBodyData extends $dara.Mo
27
27
  * 20282*****7591
28
28
  */
29
29
  creator?: string;
30
+ /**
31
+ * @remarks
32
+ * The data source.
33
+ *
34
+ * @example
35
+ * null
36
+ */
30
37
  datasource?: string;
31
38
  /**
32
39
  * @remarks
@@ -81,12 +88,12 @@ export class ListDataAgentAccuracyTestInstancesResponseBodyData extends $dara.Mo
81
88
  * The custom agent name.
82
89
  *
83
90
  * @example
84
- * Agent测试名称
91
+ * AgentTestName
85
92
  */
86
93
  name?: string;
87
94
  /**
88
95
  * @remarks
89
- * Specifies whether sessions are displayed after analysis. This parameter is not supported.
96
+ * Specifies whether sessions are displayed after analysis. This feature is not supported.
90
97
  *
91
98
  * @example
92
99
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListDataAgentThemeRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The common scenarios. Valid values: report, infographic, and others.
8
+ * The common scenario of the theme. Valid values: report, infographic, and others.
9
9
  *
10
10
  * @example
11
11
  * report
@@ -13,7 +13,7 @@ export class ListDataAgentThemeRequest extends $dara.Model {
13
13
  category?: string;
14
14
  /**
15
15
  * @remarks
16
- * **[Not supported]** The page size. Maximum value: 100.
16
+ * **[Not currently supported]** The maximum number of entries per page. Maximum value: 100.
17
17
  *
18
18
  * @example
19
19
  * 20
@@ -21,10 +21,10 @@ export class ListDataAgentThemeRequest extends $dara.Model {
21
21
  maxResults?: number;
22
22
  /**
23
23
  * @remarks
24
- * **[Not supported]** The pagination token for the next query. Valid values:
24
+ * **[Not currently supported]** The pagination token for the next query. Valid values:
25
25
  *
26
26
  * - If **NextToken** is empty, no next query exists.
27
- * - If **NextToken** has a return value, the value indicates the token for the next query.
27
+ * - If **NextToken** has a return value, the value is the token for the next query.
28
28
  *
29
29
  * @example
30
30
  * f056501ada12****
@@ -40,7 +40,7 @@ export class ListDataAgentThemeRequest extends $dara.Model {
40
40
  pageNumber?: number;
41
41
  /**
42
42
  * @remarks
43
- * The current page size.
43
+ * The number of entries per page.
44
44
  *
45
45
  * @example
46
46
  * 10
@@ -62,13 +62,21 @@ export class ListDataAgentThemeRequest extends $dara.Model {
62
62
  * @remarks
63
63
  * The theme stage. Valid values:
64
64
  *
65
- * - design: contains only design.md.
66
- * - template: complete and renderable.
65
+ * - design: The theme contains only design.md.
66
+ * - template: The theme is complete and renderable.
67
67
  *
68
68
  * @example
69
69
  * template
70
70
  */
71
71
  themeType?: string;
72
+ /**
73
+ * @remarks
74
+ * The workspace context. If this parameter is left empty or set to personal, the personal workspace is used. To query themes in a collaborative workspace, specify the workspace ID.
75
+ *
76
+ * @example
77
+ * 99fad*******6c0l4nlacu
78
+ */
79
+ workspaceId?: string;
72
80
  static names(): { [key: string]: string } {
73
81
  return {
74
82
  category: 'Category',
@@ -78,6 +86,7 @@ export class ListDataAgentThemeRequest extends $dara.Model {
78
86
  pageSize: 'PageSize',
79
87
  themeFrom: 'ThemeFrom',
80
88
  themeType: 'ThemeType',
89
+ workspaceId: 'WorkspaceId',
81
90
  };
82
91
  }
83
92
 
@@ -90,6 +99,7 @@ export class ListDataAgentThemeRequest extends $dara.Model {
90
99
  pageSize: 'number',
91
100
  themeFrom: 'string',
92
101
  themeType: 'string',
102
+ workspaceId: 'string',
93
103
  };
94
104
  }
95
105
 
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListDataAgentThemeResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The common scenarios. Valid values: report, infographic, and others.
8
+ * The common scenario of the theme. Valid values: report, infographic, and others.
9
9
  *
10
10
  * @example
11
11
  * report
@@ -37,7 +37,7 @@ export class ListDataAgentThemeResponseBodyData extends $dara.Model {
37
37
  modifiedAt?: string;
38
38
  /**
39
39
  * @remarks
40
- * The tracing reference that points to the UUID of the source theme.
40
+ * The traceability reference that points to the UUID of the source theme.
41
41
  *
42
42
  * @example
43
43
  * 6d1e3f9a-****-****-****-2b8c4e6f0a1d
@@ -75,8 +75,8 @@ export class ListDataAgentThemeResponseBodyData extends $dara.Model {
75
75
  * @remarks
76
76
  * The theme stage. Valid values:
77
77
  *
78
- * - design: contains only design.md.
79
- * - template: complete and renderable.
78
+ * - design: The theme contains only design.md.
79
+ * - template: The theme is complete and renderable.
80
80
  *
81
81
  * @example
82
82
  * template
@@ -127,7 +127,7 @@ export class ListDataAgentThemeResponseBody extends $dara.Model {
127
127
  data?: ListDataAgentThemeResponseBodyData[];
128
128
  /**
129
129
  * @remarks
130
- * The error code returned when the request failed.
130
+ * The error code returned if the request failed.
131
131
  *
132
132
  * @example
133
133
  * UnknownError
@@ -135,7 +135,7 @@ export class ListDataAgentThemeResponseBody extends $dara.Model {
135
135
  errorCode?: string;
136
136
  /**
137
137
  * @remarks
138
- * The error message returned when the request failed.
138
+ * The error message returned if the request failed.
139
139
  *
140
140
  * @example
141
141
  * UnknownError
@@ -143,7 +143,7 @@ export class ListDataAgentThemeResponseBody extends $dara.Model {
143
143
  errorMessage?: string;
144
144
  /**
145
145
  * @remarks
146
- * The page size.
146
+ * The number of entries per page.
147
147
  *
148
148
  * @example
149
149
  * 20
@@ -167,7 +167,7 @@ export class ListDataAgentThemeResponseBody extends $dara.Model {
167
167
  pageNumber?: number;
168
168
  /**
169
169
  * @remarks
170
- * The current page size.
170
+ * The number of entries per page.
171
171
  *
172
172
  * @example
173
173
  * 10
@@ -5,6 +5,8 @@ export { AddUserToDataAgentWorkspaceResponseBodyData } from './AddUserToDataAgen
5
5
  export { CheckDataAgentMemoryConfigResponseBodyData } from './CheckDataAgentMemoryConfigResponseBody';
6
6
  export { ConfigAirflowResponseBodyRoot } from './ConfigAirflowResponseBody';
7
7
  export { ConfigDataAgentMemoryResponseBodyData } from './ConfigDataAgentMemoryResponseBody';
8
+ export { CreateAgentResponseBodyDataApiKey } from './CreateAgentResponseBody';
9
+ export { CreateAgentResponseBodyData } from './CreateAgentResponseBody';
8
10
  export { CreateAirflowResponseBodyRoot } from './CreateAirflowResponseBody';
9
11
  export { CreateAirflowLoginTokenResponseBodyData } from './CreateAirflowLoginTokenResponseBody';
10
12
  export { CreateCustomAgentRequestCallbackConfig } from './CreateCustomAgentRequest';
@@ -219,6 +221,9 @@ export { ConfigAirflowResponse } from './ConfigAirflowResponse';
219
221
  export { ConfigDataAgentMemoryRequest } from './ConfigDataAgentMemoryRequest';
220
222
  export { ConfigDataAgentMemoryResponseBody } from './ConfigDataAgentMemoryResponseBody';
221
223
  export { ConfigDataAgentMemoryResponse } from './ConfigDataAgentMemoryResponse';
224
+ export { CreateAgentRequest } from './CreateAgentRequest';
225
+ export { CreateAgentResponseBody } from './CreateAgentResponseBody';
226
+ export { CreateAgentResponse } from './CreateAgentResponse';
222
227
  export { CreateAirflowRequest } from './CreateAirflowRequest';
223
228
  export { CreateAirflowShrinkRequest } from './CreateAirflowShrinkRequest';
224
229
  export { CreateAirflowResponseBody } from './CreateAirflowResponseBody';