@alicloud/dms20250414 2.0.0 → 2.1.1

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 (61) hide show
  1. package/dist/client.d.ts +25 -10
  2. package/dist/client.js +64 -10
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentRequest.d.ts +47 -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 +257 -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 +102 -21
  14. package/dist/models/CreateDataAgentSessionRequest.js +51 -1
  15. package/dist/models/CreateDataAgentSessionRequest.js.map +1 -1
  16. package/dist/models/CreateDataAgentSessionResponseBody.d.ts +51 -29
  17. package/dist/models/CreateDataAgentSessionResponseBody.js.map +1 -1
  18. package/dist/models/CreateDataAgentSessionShrinkRequest.d.ts +2 -2
  19. package/dist/models/CreateDataAgentThemeRequest.d.ts +16 -8
  20. package/dist/models/CreateDataAgentThemeRequest.js +2 -0
  21. package/dist/models/CreateDataAgentThemeRequest.js.map +1 -1
  22. package/dist/models/CreateDataAgentThemeResponseBody.d.ts +2 -2
  23. package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
  24. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +19 -20
  25. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  26. package/dist/models/DescribeDataAgentThemeResponseBody.d.ts +9 -13
  27. package/dist/models/DescribeDataAgentThemeResponseBody.js.map +1 -1
  28. package/dist/models/GetDataAgentThemeUploadSignatureRequest.d.ts +1 -1
  29. package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +5 -5
  30. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +9 -2
  31. package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
  32. package/dist/models/ListDataAgentThemeRequest.d.ts +15 -7
  33. package/dist/models/ListDataAgentThemeRequest.js +2 -0
  34. package/dist/models/ListDataAgentThemeRequest.js.map +1 -1
  35. package/dist/models/ListDataAgentThemeResponseBody.d.ts +8 -8
  36. package/dist/models/ModifyDataAgentThemeRequest.d.ts +3 -3
  37. package/dist/models/ModifyDataAgentThemeResponseBody.d.ts +2 -2
  38. package/dist/models/model.d.ts +7 -0
  39. package/dist/models/model.js +30 -16
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/client.ts +72 -10
  43. package/src/models/CreateAgentRequest.ts +66 -0
  44. package/src/models/CreateAgentResponse.ts +40 -0
  45. package/src/models/CreateAgentResponseBody.ts +348 -0
  46. package/src/models/CreateDataAgentSessionRequest.ts +134 -21
  47. package/src/models/CreateDataAgentSessionResponseBody.ts +51 -29
  48. package/src/models/CreateDataAgentSessionShrinkRequest.ts +2 -2
  49. package/src/models/CreateDataAgentThemeRequest.ts +18 -8
  50. package/src/models/CreateDataAgentThemeResponseBody.ts +2 -2
  51. package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
  52. package/src/models/DescribeDataAgentSessionResponseBody.ts +19 -20
  53. package/src/models/DescribeDataAgentThemeResponseBody.ts +9 -13
  54. package/src/models/GetDataAgentThemeUploadSignatureRequest.ts +1 -1
  55. package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +5 -5
  56. package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +9 -2
  57. package/src/models/ListDataAgentThemeRequest.ts +17 -7
  58. package/src/models/ListDataAgentThemeResponseBody.ts +8 -8
  59. package/src/models/ModifyDataAgentThemeRequest.ts +3 -3
  60. package/src/models/ModifyDataAgentThemeResponseBody.ts +2 -2
  61. package/src/models/model.ts +7 -0
@@ -14,10 +14,8 @@ export class CreateDataAgentSessionResponseBodyDataSessionConfig extends $dara.M
14
14
  /**
15
15
  * @remarks
16
16
  * The stage of the custom agent. Valid values:
17
- *
18
- * - **debug**: Debug stage
19
- *
20
- * - **prod**: Production stage
17
+ * - **debug**: the debugging stage.
18
+ * - **prod**: the production stage.
21
19
  *
22
20
  * @example
23
21
  * debug
@@ -25,22 +23,38 @@ export class CreateDataAgentSessionResponseBodyDataSessionConfig extends $dara.M
25
23
  customAgentStage?: string;
26
24
  /**
27
25
  * @remarks
28
- * Indicates whether web search is enabled.
26
+ * Specifies whether to enable web search.
29
27
  *
30
28
  * @example
31
29
  * true
32
30
  */
33
31
  enableSearch?: boolean;
32
+ /**
33
+ * @remarks
34
+ * The encryption key.
35
+ *
36
+ * @example
37
+ * null
38
+ */
34
39
  encryptKey?: string;
40
+ /**
41
+ * @remarks
42
+ * The encryption type.
43
+ *
44
+ * @example
45
+ * null
46
+ */
35
47
  encryptType?: string;
48
+ /**
49
+ * @remarks
50
+ * The list of knowledge base IDs.
51
+ */
36
52
  kbUuidList?: string[];
37
53
  /**
38
54
  * @remarks
39
55
  * The language. Valid values:
40
- *
41
- * - **CHINESE**: Chinese
42
- *
43
- * - **ENGLISH**: English
56
+ * - **CHINESE**: Chinese.
57
+ * - **ENGLISH**: English.
44
58
  *
45
59
  * @example
46
60
  * CHINESE
@@ -48,30 +62,39 @@ export class CreateDataAgentSessionResponseBodyDataSessionConfig extends $dara.M
48
62
  language?: string;
49
63
  /**
50
64
  * @remarks
51
- * A list of MCP server IDs.
65
+ * The list of MCP server IDs in the session configuration.
52
66
  */
53
67
  mcpServerIds?: string[];
54
68
  /**
55
69
  * @remarks
56
70
  * The mode. Valid values:
57
- *
58
- * - **ASK_DATA**: Quick Inquiry Mode
59
- *
60
- * - **ANALYSIS**: Analysis Mode
61
- *
62
- * - **INSIGHT**: Insight Mode
71
+ * - **ASK_DATA**: the data query mode.
72
+ * - **ANALYSIS**: the analysis mode.
73
+ * - **INSIGHT**: the insight mode.
63
74
  *
64
75
  * @example
65
76
  * ANALYSIS
66
77
  */
67
78
  mode?: string;
79
+ /**
80
+ * @remarks
81
+ * The report page width.
82
+ *
83
+ * @example
84
+ * 0
85
+ */
68
86
  reportPageWidth?: number;
69
- reportWaterMark?: string;
70
87
  /**
71
88
  * @remarks
72
- * The name of the user\\"s OSS bucket.
89
+ * The report watermark.
73
90
  *
74
- * - Analysis files and report artifacts can be uploaded to this OSS bucket.
91
+ * @example
92
+ * null
93
+ */
94
+ reportWaterMark?: string;
95
+ /**
96
+ * @remarks
97
+ * The name of the user OSS bucket. Analysis process files and report artifacts can be uploaded to the specified OSS bucket.
75
98
  *
76
99
  * @example
77
100
  * user-oss-bucket
@@ -129,7 +152,7 @@ export class CreateDataAgentSessionResponseBodyDataSessionConfig extends $dara.M
129
152
  export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
130
153
  /**
131
154
  * @remarks
132
- * The agent ID.
155
+ * Agent Id
133
156
  *
134
157
  * @example
135
158
  * cu0cs*******mf
@@ -145,7 +168,7 @@ export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
145
168
  agentStatus?: string;
146
169
  /**
147
170
  * @remarks
148
- * The time when the session was created, in Unix milliseconds.
171
+ * The creation time of the session.
149
172
  *
150
173
  * @example
151
174
  * 1765262307992
@@ -153,7 +176,7 @@ export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
153
176
  createTime?: number;
154
177
  /**
155
178
  * @remarks
156
- * The ID of the associated file.
179
+ * The basic information of the file.
157
180
  *
158
181
  * @example
159
182
  * f-8*******01m
@@ -161,7 +184,7 @@ export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
161
184
  file?: string;
162
185
  /**
163
186
  * @remarks
164
- * Indicates whether the current user has favorited the session.
187
+ * Indicates whether the session is saved to the favorites of the current user.
165
188
  *
166
189
  * @example
167
190
  * false
@@ -190,10 +213,10 @@ export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
190
213
  sessionStatus?: string;
191
214
  /**
192
215
  * @remarks
193
- * The session title.
216
+ * The title.
194
217
  *
195
218
  * @example
196
- * 帮我分析一下这份数据,给出报告。
219
+ * Help me analyze this data and generate a report
197
220
  */
198
221
  title?: string;
199
222
  static names(): { [key: string]: string } {
@@ -239,7 +262,7 @@ export class CreateDataAgentSessionResponseBodyData extends $dara.Model {
239
262
  export class CreateDataAgentSessionResponseBody extends $dara.Model {
240
263
  /**
241
264
  * @remarks
242
- * The response structure.
265
+ * The response struct.
243
266
  */
244
267
  data?: CreateDataAgentSessionResponseBodyData;
245
268
  /**
@@ -252,7 +275,7 @@ export class CreateDataAgentSessionResponseBody extends $dara.Model {
252
275
  errorCode?: string;
253
276
  /**
254
277
  * @remarks
255
- * The error message returned if the request fails.
278
+ * The error message returned if the request failed.
256
279
  *
257
280
  * @example
258
281
  * UnknownError
@@ -260,7 +283,7 @@ export class CreateDataAgentSessionResponseBody extends $dara.Model {
260
283
  errorMessage?: string;
261
284
  /**
262
285
  * @remarks
263
- * The request ID.
286
+ * Id of the request
264
287
  *
265
288
  * @example
266
289
  * 1CB***********3F1A
@@ -271,7 +294,6 @@ export class CreateDataAgentSessionResponseBody extends $dara.Model {
271
294
  * Indicates whether the request was successful. Valid values:
272
295
  *
273
296
  * - **true**: The request was successful.
274
- *
275
297
  * - **false**: The request failed.
276
298
  *
277
299
  * @example
@@ -26,10 +26,10 @@ export class CreateDataAgentSessionShrinkRequest extends $dara.Model {
26
26
  sessionConfigShrink?: string;
27
27
  /**
28
28
  * @remarks
29
- * The session title. Supports Chinese and English. Maximum length: 128 characters.
29
+ * The title. Chinese and English characters are supported. Maximum length: 128 characters.
30
30
  *
31
31
  * @example
32
- * 帮我分析一下这份数据,给出报告。
32
+ * Help me analyze this data and generate a report
33
33
  */
34
34
  title?: string;
35
35
  /**
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateDataAgentThemeRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The application scenario, which affects filtering when viewing the theme list in the console. Valid values:
8
+ * The scenario, which affects the filtering when you view the theme list in the console. Valid values:
9
9
  *
10
- * - (Recommended) custom: a user-uploaded custom theme with no preset style or information organization structure.
11
- * - report: a web report that conforms to the DataAgent information organization structure.
12
- * - (Not supported) infographic: an infographic that conforms to the DataAgent information organization structure.
10
+ * - (Recommended) custom: A user-uploaded custom theme with no preset style or information organization structure.
11
+ * - report: A web report that conforms to the DataAgent information organization structure.
12
+ * - (Not supported) infographic: An infographic that conforms to the DataAgent information organization structure.
13
13
  *
14
14
  * @example
15
15
  * custom
@@ -27,9 +27,9 @@ export class CreateDataAgentThemeRequest extends $dara.Model {
27
27
  * @remarks
28
28
  * The file source, which affects the backend logic for determining whether the theme is valid. Valid values:
29
29
  *
30
- * - upload: uploaded through OSS.
31
- * - (Not supported) public_url: provided through an OSS URL that allows public network access.
32
- * - (Not supported) user_oss: provided through a user OSS URL.
30
+ * - upload: The file is uploaded through OSS.
31
+ * - (Not supported) public_url: The file is provided through a public network access OSS URL.
32
+ * - (Not supported) user_oss: The file is provided through a user OSS URL.
33
33
  *
34
34
  * @example
35
35
  * upload
@@ -45,7 +45,7 @@ export class CreateDataAgentThemeRequest extends $dara.Model {
45
45
  themeId?: string;
46
46
  /**
47
47
  * @remarks
48
- * The display name of the theme. The value can be up to 64 characters in length. This parameter is required during creation.
48
+ * The display name of the theme. The value can be up to 64 characters in length. This parameter is required when you create a theme.
49
49
  *
50
50
  * @example
51
51
  * weekly report
@@ -62,6 +62,14 @@ export class CreateDataAgentThemeRequest extends $dara.Model {
62
62
  * template
63
63
  */
64
64
  themeType?: string;
65
+ /**
66
+ * @remarks
67
+ * The workspace to which the theme belongs. If this parameter is not specified or is set to personal, the personal workspace is used. You can also specify a collaboration workspace ID.
68
+ *
69
+ * @example
70
+ * 99fad******qg6c0l4nlacu
71
+ */
72
+ workspaceId?: string;
65
73
  static names(): { [key: string]: string } {
66
74
  return {
67
75
  category: 'Category',
@@ -70,6 +78,7 @@ export class CreateDataAgentThemeRequest extends $dara.Model {
70
78
  themeId: 'ThemeId',
71
79
  themeName: 'ThemeName',
72
80
  themeType: 'ThemeType',
81
+ workspaceId: 'WorkspaceId',
73
82
  };
74
83
  }
75
84
 
@@ -81,6 +90,7 @@ export class CreateDataAgentThemeRequest extends $dara.Model {
81
90
  themeId: 'string',
82
91
  themeName: 'string',
83
92
  themeType: 'string',
93
+ workspaceId: 'string',
84
94
  };
85
95
  }
86
96
 
@@ -47,7 +47,7 @@ export class CreateDataAgentThemeResponseBody extends $dara.Model {
47
47
  data?: CreateDataAgentThemeResponseBodyData;
48
48
  /**
49
49
  * @remarks
50
- * The error code returned when the request is abnormal.
50
+ * The error code returned when the request fails.
51
51
  *
52
52
  * @example
53
53
  * UnknownError
@@ -55,7 +55,7 @@ export class CreateDataAgentThemeResponseBody extends $dara.Model {
55
55
  errorCode?: string;
56
56
  /**
57
57
  * @remarks
58
- * The error message returned when the call fails.
58
+ * The error message returned when the request fails.
59
59
  *
60
60
  * @example
61
61
  * UnknownError
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeDataAgentSessionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The current Data Management unit.
8
+ * The current DMS unit.
9
9
  *
10
10
  * @example
11
11
  * cn-hangzhou
@@ -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 } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDataAgentThemeUploadSignatureRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The theme UUID. By default, you do not need to specify this parameter because the backend automatically generates and returns a UUID. Specify this parameter to regenerate a signature only when the previous signature has expired.
8
+ * The UUID of the theme. By default, you do not need to specify this parameter because the backend automatically generates and returns a UUID. Specify this parameter to regenerate the signature only when the previous signature has expired.
9
9
  *
10
10
  * @example
11
11
  * 0f8b2c1d-****-****-****-9a3e5f7b1c2d
@@ -13,7 +13,7 @@ export class GetDataAgentThemeUploadSignatureResponseBodyData extends $dara.Mode
13
13
  expireTime?: string;
14
14
  /**
15
15
  * @remarks
16
- * The target object key, which is exactly locked by the policy.
16
+ * The target object key that is exactly locked by the policy.
17
17
  */
18
18
  objectKey?: string;
19
19
  /**
@@ -63,7 +63,7 @@ export class GetDataAgentThemeUploadSignatureResponseBodyData extends $dara.Mode
63
63
  policy?: string;
64
64
  /**
65
65
  * @remarks
66
- * The theme business identifier generated or reused for this request. Pass this identifier to the CreateDataAgentTheme operation after the upload is complete to register the metadata.
66
+ * The theme business ID generated or reused for this request. After the upload is complete, pass this ID to the CreateDataAgentTheme operation to register the metadata.
67
67
  *
68
68
  * @example
69
69
  * 0f8b2c1d****a3e5f7b1c2d
@@ -76,7 +76,7 @@ export class GetDataAgentThemeUploadSignatureResponseBodyData extends $dara.Mode
76
76
  uploadDir?: string;
77
77
  /**
78
78
  * @remarks
79
- * The PostObject destination address over the public network.
79
+ * The PostObject target address over the public network.
80
80
  *
81
81
  * @example
82
82
  * https://**********.oss-cn-hangzhou.aliyuncs.com
@@ -131,7 +131,7 @@ export class GetDataAgentThemeUploadSignatureResponseBody extends $dara.Model {
131
131
  data?: GetDataAgentThemeUploadSignatureResponseBodyData;
132
132
  /**
133
133
  * @remarks
134
- * The error code returned when the request fails.
134
+ * The error code. This parameter is returned only if the request fails.
135
135
  *
136
136
  * @example
137
137
  * UnknownError
@@ -139,7 +139,7 @@ export class GetDataAgentThemeUploadSignatureResponseBody extends $dara.Model {
139
139
  errorCode?: string;
140
140
  /**
141
141
  * @remarks
142
- * The error message returned when the call fails.
142
+ * The error message returned if the request fails.
143
143
  *
144
144
  * @example
145
145
  * UnknownError
@@ -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