@alicloud/dms20250414 1.14.2 → 1.15.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 (81) hide show
  1. package/dist/client.d.ts +51 -36
  2. package/dist/client.js +119 -37
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +3 -3
  5. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +6 -9
  6. package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
  7. package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
  8. package/dist/models/DataAgentBillingInstance.d.ts +28 -0
  9. package/dist/models/DataAgentBillingInstance.js +89 -0
  10. package/dist/models/DataAgentBillingInstance.js.map +1 -0
  11. package/dist/models/DescribeDataAgentSessionRequest.d.ts +3 -3
  12. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +231 -40
  13. package/dist/models/DescribeDataAgentSessionResponseBody.js +93 -1
  14. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  15. package/dist/models/DmsGatewayOrder.d.ts +23 -0
  16. package/dist/models/DmsGatewayOrder.js +76 -0
  17. package/dist/models/DmsGatewayOrder.js.map +1 -0
  18. package/dist/models/GetChatContentRequest.d.ts +2 -2
  19. package/dist/models/GetChatContentResponseBody.d.ts +11 -4
  20. package/dist/models/GetChatContentResponseBody.js.map +1 -1
  21. package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +2 -2
  22. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +9 -12
  23. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
  24. package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
  25. package/dist/models/GetSqlConsoleOperationLogRequest.d.ts +85 -0
  26. package/dist/models/GetSqlConsoleOperationLogRequest.js +72 -0
  27. package/dist/models/GetSqlConsoleOperationLogRequest.js.map +1 -0
  28. package/dist/models/GetSqlConsoleOperationLogResponse.d.ts +19 -0
  29. package/dist/models/GetSqlConsoleOperationLogResponse.js +69 -0
  30. package/dist/models/GetSqlConsoleOperationLogResponse.js.map +1 -0
  31. package/dist/models/GetSqlConsoleOperationLogResponseBody.d.ts +150 -0
  32. package/dist/models/GetSqlConsoleOperationLogResponseBody.js +108 -0
  33. package/dist/models/GetSqlConsoleOperationLogResponseBody.js.map +1 -0
  34. package/dist/models/ListDataAgentSessionRequest.d.ts +11 -10
  35. package/dist/models/ListDataAgentSessionRequest.js +2 -0
  36. package/dist/models/ListDataAgentSessionRequest.js.map +1 -1
  37. package/dist/models/ListDataAgentSessionResponseBody.d.ts +36 -44
  38. package/dist/models/ListDataAgentSessionResponseBody.js.map +1 -1
  39. package/dist/models/ListDataAgentWorkspaceRequest.d.ts +6 -6
  40. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +13 -12
  41. package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
  42. package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
  43. package/dist/models/MdbAgentInstanceVo.d.ts +28 -0
  44. package/dist/models/MdbAgentInstanceVo.js +86 -0
  45. package/dist/models/MdbAgentInstanceVo.js.map +1 -0
  46. package/dist/models/SendChatMessageRequest.d.ts +141 -25
  47. package/dist/models/SendChatMessageRequest.js +61 -1
  48. package/dist/models/SendChatMessageRequest.js.map +1 -1
  49. package/dist/models/SendChatMessageResponseBody.d.ts +11 -3
  50. package/dist/models/SendChatMessageResponseBody.js +2 -0
  51. package/dist/models/SendChatMessageResponseBody.js.map +1 -1
  52. package/dist/models/SendChatMessageShrinkRequest.d.ts +32 -11
  53. package/dist/models/SendChatMessageShrinkRequest.js +4 -0
  54. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  55. package/dist/models/model.d.ts +12 -0
  56. package/dist/models/model.js +40 -16
  57. package/dist/models/model.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/client.ts +133 -37
  60. package/src/models/CreateDataAgentWorkspaceRequest.ts +3 -3
  61. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +8 -9
  62. package/src/models/DataAgentBillingInstance.ts +72 -0
  63. package/src/models/DescribeDataAgentSessionRequest.ts +3 -3
  64. package/src/models/DescribeDataAgentSessionResponseBody.ts +296 -40
  65. package/src/models/DmsGatewayOrder.ts +54 -0
  66. package/src/models/GetChatContentRequest.ts +2 -2
  67. package/src/models/GetChatContentResponseBody.ts +11 -4
  68. package/src/models/GetDataAgentWorkspaceInfoRequest.ts +2 -2
  69. package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +11 -12
  70. package/src/models/GetSqlConsoleOperationLogRequest.ts +112 -0
  71. package/src/models/GetSqlConsoleOperationLogResponse.ts +40 -0
  72. package/src/models/GetSqlConsoleOperationLogResponseBody.ts +204 -0
  73. package/src/models/ListDataAgentSessionRequest.ts +13 -10
  74. package/src/models/ListDataAgentSessionResponseBody.ts +36 -44
  75. package/src/models/ListDataAgentWorkspaceRequest.ts +6 -6
  76. package/src/models/ListDataAgentWorkspaceResponseBody.ts +15 -12
  77. package/src/models/MdbAgentInstanceVo.ts +69 -0
  78. package/src/models/SendChatMessageRequest.ts +183 -25
  79. package/src/models/SendChatMessageResponseBody.ts +13 -3
  80. package/src/models/SendChatMessageShrinkRequest.ts +36 -11
  81. package/src/models/model.ts +12 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SendChatMessageRequestDataSource extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * This parameter is deprecated. Do not use it.
5
+ * Deprecated. You do not need to specify this parameter.
6
6
  *
7
7
  * @example
8
8
  * 123
@@ -10,7 +10,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
10
10
  dataSourceId?: string;
11
11
  /**
12
12
  * @remarks
13
- * The data source type. Valid values are `remote_data_center` for file analysis and `database` for database analysis.
13
+ * The data source type. Valid values: `[remote_data_center, database]`, which indicate whether the current analysis is for a file or a database respectively.
14
14
  *
15
15
  * @example
16
16
  * remote_data_center
@@ -18,7 +18,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
18
18
  dataSourceType?: string;
19
19
  /**
20
20
  * @remarks
21
- * This parameter is deprecated. Do not use it.
21
+ * Deprecated. You do not need to specify this parameter.
22
22
  *
23
23
  * @example
24
24
  * test_db
@@ -66,7 +66,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
66
66
  fileId?: string;
67
67
  /**
68
68
  * @remarks
69
- * This parameter is deprecated. Do not use it.
69
+ * Deprecated. You do not need to specify this parameter.
70
70
  *
71
71
  * @example
72
72
  * localhost
@@ -82,7 +82,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
82
82
  regionId?: string;
83
83
  /**
84
84
  * @remarks
85
- * A list of table names to analyze.
85
+ * The list of table names to analyze.
86
86
  */
87
87
  tables?: string[];
88
88
  static names(): {
@@ -99,7 +99,7 @@ export declare class SendChatMessageRequestDataSource extends $dara.Model {
99
99
  export declare class SendChatMessageRequestDataSources extends $dara.Model {
100
100
  /**
101
101
  * @remarks
102
- * This parameter is deprecated. Do not use it.
102
+ * Deprecated. You do not need to specify this parameter.
103
103
  *
104
104
  * @example
105
105
  * 123
@@ -107,7 +107,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
107
107
  dataSourceId?: string;
108
108
  /**
109
109
  * @remarks
110
- * The data source type. Valid values are `remote_data_center` for file analysis and `database` for database analysis.
110
+ * The data source type. Valid values: [remote_data_center, database], which indicate whether the current analysis is for a file or a database respectively.
111
111
  *
112
112
  * @example
113
113
  * remote_data_center
@@ -115,7 +115,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
115
115
  dataSourceType?: string;
116
116
  /**
117
117
  * @remarks
118
- * This parameter is deprecated. Do not use it.
118
+ * Deprecated. You do not need to specify this parameter.
119
119
  *
120
120
  * @example
121
121
  * test_db
@@ -163,7 +163,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
163
163
  fileId?: string;
164
164
  /**
165
165
  * @remarks
166
- * This parameter is deprecated. Do not use it.
166
+ * Deprecated. You do not need to specify this parameter.
167
167
  *
168
168
  * @example
169
169
  * localhost
@@ -179,7 +179,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
179
179
  regionId?: string;
180
180
  /**
181
181
  * @remarks
182
- * A list of table names to analyze.
182
+ * The list of table names to analyze.
183
183
  */
184
184
  tables?: string[];
185
185
  static names(): {
@@ -196,7 +196,7 @@ export declare class SendChatMessageRequestDataSources extends $dara.Model {
196
196
  export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
197
197
  /**
198
198
  * @remarks
199
- * This parameter is deprecated. Use the `CustomAgentId` request parameter from the `CreateAgentSession` operation instead.
199
+ * Deprecated. The value specified in CreateAgentSession takes precedence.
200
200
  *
201
201
  * @example
202
202
  * null
@@ -204,7 +204,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
204
204
  customAgentId?: string;
205
205
  /**
206
206
  * @remarks
207
- * This parameter is deprecated. Use the `CustomAgentStage` request parameter from the `CreateAgentSession` operation instead.
207
+ * Deprecated. The value specified in CreateAgentSession takes precedence.
208
208
  *
209
209
  * @example
210
210
  * null
@@ -212,21 +212,116 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
212
212
  customAgentStage?: string;
213
213
  /**
214
214
  * @remarks
215
- * The language of the session. Only Chinese and English are supported. The default value is Chinese. The value must be in uppercase.
215
+ * Currently only Chinese and English are supported. The default is Chinese. Only uppercase values are supported.
216
216
  *
217
217
  * @example
218
218
  * ENGLISH
219
219
  */
220
220
  language?: string;
221
+ /**
222
+ * @remarks
223
+ * The mode:
224
+ * - **ASK_DATA**: Ask Data mode
225
+ * - **ANALYSIS**: Analysis mode
226
+ * - **INSIGHT**: Insight mode
227
+ *
228
+ * @example
229
+ * ANALYSIS
230
+ */
221
231
  mode?: string;
222
232
  /**
223
233
  * @remarks
224
- * A text watermark of up to 64 characters that will be added to generated PDF reports.
234
+ * You can enter text of up to 64 characters, which will be used as a watermark in the generated PDF report.
225
235
  *
226
236
  * @example
227
237
  * 示例水印
228
238
  */
229
239
  reportWaterMark?: string;
240
+ /**
241
+ * @remarks
242
+ * Specifies whether to disable user inquiries during the process.
243
+ *
244
+ * @example
245
+ * True
246
+ */
247
+ skipAskHuman?: boolean;
248
+ /**
249
+ * @remarks
250
+ * Specifies whether to skip the plan confirmation step.
251
+ *
252
+ * @example
253
+ * True
254
+ */
255
+ skipPlan?: boolean;
256
+ /**
257
+ * @remarks
258
+ * Specifies whether to skip all SQL confirmations.
259
+ *
260
+ * @example
261
+ * False
262
+ */
263
+ skipSqlConfirm?: boolean;
264
+ /**
265
+ * @remarks
266
+ * Specifies whether to skip the web report generation confirmation.
267
+ *
268
+ * @example
269
+ * True
270
+ */
271
+ skipWebReportConfirm?: boolean;
272
+ static names(): {
273
+ [key: string]: string;
274
+ };
275
+ static types(): {
276
+ [key: string]: any;
277
+ };
278
+ validate(): void;
279
+ constructor(map?: {
280
+ [key: string]: any;
281
+ });
282
+ }
283
+ export declare class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
284
+ /**
285
+ * @remarks
286
+ * The prompt that this report should follow.
287
+ *
288
+ * @example
289
+ * generate a report
290
+ */
291
+ reportPrompt?: string;
292
+ /**
293
+ * @remarks
294
+ * The report theme. Currently supported values: [default, journal, legacy, neobrutalism].
295
+ *
296
+ * @example
297
+ * default
298
+ */
299
+ reportTheme?: string;
300
+ /**
301
+ * @remarks
302
+ * The service type. Valid values: TextReport and WebReport, which indicate whether this task generates a text report or a web report. Currently, only the WebReport type is supported.
303
+ *
304
+ * @example
305
+ * WebReport
306
+ */
307
+ reportType?: string;
308
+ static names(): {
309
+ [key: string]: string;
310
+ };
311
+ static types(): {
312
+ [key: string]: any;
313
+ };
314
+ validate(): void;
315
+ constructor(map?: {
316
+ [key: string]: any;
317
+ });
318
+ }
319
+ export declare class SendChatMessageRequestTaskConfig extends $dara.Model {
320
+ /**
321
+ * @remarks
322
+ * The report rule configuration. Only when MessageType is REPORT, a report task will be executed based on this configuration.
323
+ */
324
+ reportConfig?: SendChatMessageRequestTaskConfigReportConfig;
230
325
  static names(): {
231
326
  [key: string]: string;
232
327
  };
@@ -241,7 +336,7 @@ export declare class SendChatMessageRequestSessionConfig extends $dara.Model {
241
336
  export declare class SendChatMessageRequest extends $dara.Model {
242
337
  /**
243
338
  * @remarks
244
- * The agent ID. This parameter is required. You can obtain this ID from the response of the `CreateAgentSession` operation. An agent has a lifecycle, so its ID may change with each request.
339
+ * The agent ID. This is a required field. You can obtain the current AgentId from the return value of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to pass in each request may change.
245
340
  *
246
341
  * This parameter is required.
247
342
  *
@@ -251,7 +346,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
251
346
  agentId?: string;
252
347
  /**
253
348
  * @remarks
254
- * The DMS unit where your DMS instance is located. This information is used to connect to your DMS instance for database analysis. You can find this value in the DMS console. For users on the Alibaba Cloud China site, you can enter `cn-hangzhou`.
349
+ * The DMS unit you are currently in. If you choose to analyze a database, this information will be used to correctly connect to your DMS instance through DMS. You can go to the DMS console to check your current DMS unit. If you are a China site user of Alibaba Cloud, you can directly enter cn-hangzhou.
255
350
  *
256
351
  * @example
257
352
  * cn-hangzhou
@@ -259,17 +354,20 @@ export declare class SendChatMessageRequest extends $dara.Model {
259
354
  DMSUnit?: string;
260
355
  /**
261
356
  * @remarks
262
- * The data source information. Optional.
357
+ * The data source information. This parameter can be left empty. Only one data source can be passed in through this parameter. We recommend that you use the DataSources parameter instead.
358
+ *
359
+ * @example
360
+ * null
263
361
  */
264
362
  dataSource?: SendChatMessageRequestDataSource;
265
363
  /**
266
364
  * @remarks
267
- * A list of data sources. Optional.
365
+ * The detailed data source information. This parameter can be left empty.
268
366
  */
269
367
  dataSources?: SendChatMessageRequestDataSources[];
270
368
  /**
271
369
  * @remarks
272
- * The content of the message to send to the agent.
370
+ * The content of the message to be sent to the Agent.
273
371
  *
274
372
  * This parameter is required.
275
373
  *
@@ -279,7 +377,15 @@ export declare class SendChatMessageRequest extends $dara.Model {
279
377
  message?: string;
280
378
  /**
281
379
  * @remarks
282
- * The message type. The default value is `primary`. Set this parameter to `additional` when responding to a human-in-the-loop question from the agent. Set it to `cancel` to cancel the current session.
380
+ * The message type. Default value: `[primary]`.
381
+ *
382
+ * - In normal cases, when interacting with the Agent, the message type is `[primary]`.
383
+ *
384
+ * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
385
+ *
386
+ * - When the message is intended to trigger a report generation, the type should be `[report]`.
387
+ *
388
+ * - When the message is intended to cancel the current session, the type should be `[cancel]`.
283
389
  *
284
390
  * @example
285
391
  * primary
@@ -295,7 +401,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
295
401
  parentSessionId?: string;
296
402
  /**
297
403
  * @remarks
298
- * This parameter is required if the `MessageType` is `additional`. It contains the specific question asked by the agent during the human-in-the-loop process.
404
+ * This field is required when the message type is `additional`. Pass in the specific question that the Agent asked the user through Human-in-Loop.
299
405
  *
300
406
  * @example
301
407
  * 请提供计算GMV的口径。
@@ -303,7 +409,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
303
409
  question?: string;
304
410
  /**
305
411
  * @remarks
306
- * The quoted content. This parameter is typically used when interacting with the agent.
412
+ * Pass in the current quoted content, typically used when interacting with the Agent.
307
413
  *
308
414
  * @example
309
415
  * {"version":"v0"}
@@ -311,7 +417,11 @@ export declare class SendChatMessageRequest extends $dara.Model {
311
417
  quotedMessage?: string;
312
418
  /**
313
419
  * @remarks
314
- * This parameter specifies the agent message to which this message is a response, enabling message deduplication. Set this to the highest checkpoint sequence number you have received. For the first message, use 0.
420
+ * **Important**
421
+ *
422
+ * When this message is a reply to an Agent message (for example, when the Agent asks for clarification through ASK_HUMAN), reply_to must be set to the exact Checkpoint number carried in that Agent message. If this message is not a specific reply, such as requesting the Agent for further in-depth analysis after analysis is completed, reply_to can be left empty or set to "0".
423
+ *
424
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may lead to analysis results that do not meet expectations.
315
425
  *
316
426
  * @example
317
427
  * 0
@@ -319,7 +429,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
319
429
  replyTo?: string;
320
430
  /**
321
431
  * @remarks
322
- * Session-specific configurations. These apply only if provided in the first `SendMessage` request of the session.
432
+ * The special configuration for this session. For the same session, only the configuration passed in the first SendMessage call takes effect.
323
433
  *
324
434
  * **if can be null:**
325
435
  * true
@@ -327,7 +437,7 @@ export declare class SendChatMessageRequest extends $dara.Model {
327
437
  sessionConfig?: SendChatMessageRequestSessionConfig;
328
438
  /**
329
439
  * @remarks
330
- * The session ID. This parameter is required. You can obtain the session ID by calling the `CreateAgentSession` operation.
440
+ * The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
331
441
  *
332
442
  * This parameter is required.
333
443
  *
@@ -335,6 +445,12 @@ export declare class SendChatMessageRequest extends $dara.Model {
335
445
  * sess_***
336
446
  */
337
447
  sessionId?: string;
448
+ /**
449
+ * @remarks
450
+ * The configuration items that only affect the current task.
451
+ */
452
+ taskConfig?: SendChatMessageRequestTaskConfig;
453
+ workspaceId?: string;
338
454
  static names(): {
339
455
  [key: string]: string;
340
456
  };
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.SendChatMessageRequest = exports.SendChatMessageRequestSessionConfig = exports.SendChatMessageRequestDataSources = exports.SendChatMessageRequestDataSource = void 0;
36
+ exports.SendChatMessageRequest = exports.SendChatMessageRequestTaskConfig = exports.SendChatMessageRequestTaskConfigReportConfig = exports.SendChatMessageRequestSessionConfig = exports.SendChatMessageRequestDataSources = exports.SendChatMessageRequestDataSource = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class SendChatMessageRequestDataSource extends $dara.Model {
@@ -128,6 +128,10 @@ class SendChatMessageRequestSessionConfig extends $dara.Model {
128
128
  language: 'Language',
129
129
  mode: 'Mode',
130
130
  reportWaterMark: 'ReportWaterMark',
131
+ skipAskHuman: 'SkipAskHuman',
132
+ skipPlan: 'SkipPlan',
133
+ skipSqlConfirm: 'SkipSqlConfirm',
134
+ skipWebReportConfirm: 'SkipWebReportConfirm',
131
135
  };
132
136
  }
133
137
  static types() {
@@ -137,6 +141,10 @@ class SendChatMessageRequestSessionConfig extends $dara.Model {
137
141
  language: 'string',
138
142
  mode: 'string',
139
143
  reportWaterMark: 'string',
144
+ skipAskHuman: 'boolean',
145
+ skipPlan: 'boolean',
146
+ skipSqlConfirm: 'boolean',
147
+ skipWebReportConfirm: 'boolean',
140
148
  };
141
149
  }
142
150
  validate() {
@@ -147,6 +155,51 @@ class SendChatMessageRequestSessionConfig extends $dara.Model {
147
155
  }
148
156
  }
149
157
  exports.SendChatMessageRequestSessionConfig = SendChatMessageRequestSessionConfig;
158
+ class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
159
+ static names() {
160
+ return {
161
+ reportPrompt: 'ReportPrompt',
162
+ reportTheme: 'ReportTheme',
163
+ reportType: 'ReportType',
164
+ };
165
+ }
166
+ static types() {
167
+ return {
168
+ reportPrompt: 'string',
169
+ reportTheme: 'string',
170
+ reportType: 'string',
171
+ };
172
+ }
173
+ validate() {
174
+ super.validate();
175
+ }
176
+ constructor(map) {
177
+ super(map);
178
+ }
179
+ }
180
+ exports.SendChatMessageRequestTaskConfigReportConfig = SendChatMessageRequestTaskConfigReportConfig;
181
+ class SendChatMessageRequestTaskConfig extends $dara.Model {
182
+ static names() {
183
+ return {
184
+ reportConfig: 'ReportConfig',
185
+ };
186
+ }
187
+ static types() {
188
+ return {
189
+ reportConfig: SendChatMessageRequestTaskConfigReportConfig,
190
+ };
191
+ }
192
+ validate() {
193
+ if (this.reportConfig && typeof this.reportConfig.validate === 'function') {
194
+ this.reportConfig.validate();
195
+ }
196
+ super.validate();
197
+ }
198
+ constructor(map) {
199
+ super(map);
200
+ }
201
+ }
202
+ exports.SendChatMessageRequestTaskConfig = SendChatMessageRequestTaskConfig;
150
203
  class SendChatMessageRequest extends $dara.Model {
151
204
  static names() {
152
205
  return {
@@ -162,6 +215,8 @@ class SendChatMessageRequest extends $dara.Model {
162
215
  replyTo: 'ReplyTo',
163
216
  sessionConfig: 'SessionConfig',
164
217
  sessionId: 'SessionId',
218
+ taskConfig: 'TaskConfig',
219
+ workspaceId: 'WorkspaceId',
165
220
  };
166
221
  }
167
222
  static types() {
@@ -178,6 +233,8 @@ class SendChatMessageRequest extends $dara.Model {
178
233
  replyTo: 'string',
179
234
  sessionConfig: SendChatMessageRequestSessionConfig,
180
235
  sessionId: 'string',
236
+ taskConfig: SendChatMessageRequestTaskConfig,
237
+ workspaceId: 'string',
181
238
  };
182
239
  }
183
240
  validate() {
@@ -190,6 +247,9 @@ class SendChatMessageRequest extends $dara.Model {
190
247
  if (this.sessionConfig && typeof this.sessionConfig.validate === 'function') {
191
248
  this.sessionConfig.validate();
192
249
  }
250
+ if (this.taskConfig && typeof this.taskConfig.validate === 'function') {
251
+ this.taskConfig.validate();
252
+ }
193
253
  super.validate();
194
254
  }
195
255
  constructor(map) {
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatMessageRequest.js","sourceRoot":"","sources":["../../src/models/SendChatMessageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAsF/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,aAAa,EAAE,eAAe;YAC9B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EA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ClB,aAAa,EAAE,QAAQ;YACvB,OAAO,EAAE,QAAQ;YACjB,aAAa,EAAE,mCAAmC;YAClD,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,gCAAgC;YAC5C,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/KD,wDA+KC"}
@@ -10,12 +10,20 @@ export declare class SendChatMessageResponseBodyData extends $dara.Model {
10
10
  agentId?: string;
11
11
  /**
12
12
  * @remarks
13
- * Describes the result of the request.
13
+ * The message.
14
14
  *
15
15
  * @example
16
16
  * success
17
17
  */
18
18
  message?: string;
19
+ /**
20
+ * @remarks
21
+ * The message ID.
22
+ *
23
+ * @example
24
+ * 922d7fd2-77fb-4549-9091-d51da225d47f
25
+ */
26
+ messageId?: string;
19
27
  /**
20
28
  * @remarks
21
29
  * The session ID.
@@ -43,7 +51,7 @@ export declare class SendChatMessageResponseBody extends $dara.Model {
43
51
  data?: SendChatMessageResponseBodyData;
44
52
  /**
45
53
  * @remarks
46
- * The error code. A value of `Success` indicates that the request was successful.
54
+ * The error code.
47
55
  *
48
56
  * @example
49
57
  * Success
@@ -51,7 +59,7 @@ export declare class SendChatMessageResponseBody extends $dara.Model {
51
59
  errorCode?: string;
52
60
  /**
53
61
  * @remarks
54
- * The error message. This field is empty if the request is successful.
62
+ * The error message.
55
63
  *
56
64
  * @example
57
65
  * ""
@@ -41,6 +41,7 @@ class SendChatMessageResponseBodyData extends $dara.Model {
41
41
  return {
42
42
  agentId: 'AgentId',
43
43
  message: 'Message',
44
+ messageId: 'MessageId',
44
45
  sessionId: 'SessionId',
45
46
  };
46
47
  }
@@ -48,6 +49,7 @@ class SendChatMessageResponseBodyData extends $dara.Model {
48
49
  return {
49
50
  agentId: 'string',
50
51
  message: 'string',
52
+ messageId: 'string',
51
53
  sessionId: 'string',
52
54
  };
53
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SendChatMessageResponseBody.js","sourceRoot":"","sources":["../../src/models/SendChatMessageResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAyB9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,0EAgDC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,kEAoEC"}
1
+ {"version":3,"file":"SendChatMessageResponseBody.js","sourceRoot":"","sources":["../../src/models/SendChatMessageResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAiC9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,SAAS;YAClB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,0EA0DC;AAED,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAsC1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,+BAA+B;YACrC,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,kEAoEC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SendChatMessageShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The agent ID. This parameter is required. You can obtain this ID from the response of the `CreateAgentSession` operation. An agent has a lifecycle, so its ID may change with each request.
5
+ * The agent ID. This is a required field. You can obtain the current AgentId from the return value of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to pass in each request may change.
6
6
  *
7
7
  * This parameter is required.
8
8
  *
@@ -12,7 +12,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
12
12
  agentId?: string;
13
13
  /**
14
14
  * @remarks
15
- * The DMS unit where your DMS instance is located. This information is used to connect to your DMS instance for database analysis. You can find this value in the DMS console. For users on the Alibaba Cloud China site, you can enter `cn-hangzhou`.
15
+ * The DMS unit you are currently in. If you choose to analyze a database, this information will be used to correctly connect to your DMS instance through DMS. You can go to the DMS console to check your current DMS unit. If you are a China site user of Alibaba Cloud, you can directly enter cn-hangzhou.
16
16
  *
17
17
  * @example
18
18
  * cn-hangzhou
@@ -20,17 +20,20 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
20
20
  DMSUnit?: string;
21
21
  /**
22
22
  * @remarks
23
- * The data source information. Optional.
23
+ * The data source information. This parameter can be left empty. Only one data source can be passed in through this parameter. We recommend that you use the DataSources parameter instead.
24
+ *
25
+ * @example
26
+ * null
24
27
  */
25
28
  dataSourceShrink?: string;
26
29
  /**
27
30
  * @remarks
28
- * A list of data sources. Optional.
31
+ * The detailed data source information. This parameter can be left empty.
29
32
  */
30
33
  dataSourcesShrink?: string;
31
34
  /**
32
35
  * @remarks
33
- * The content of the message to send to the agent.
36
+ * The content of the message to be sent to the Agent.
34
37
  *
35
38
  * This parameter is required.
36
39
  *
@@ -40,7 +43,15 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
40
43
  message?: string;
41
44
  /**
42
45
  * @remarks
43
- * The message type. The default value is `primary`. Set this parameter to `additional` when responding to a human-in-the-loop question from the agent. Set it to `cancel` to cancel the current session.
46
+ * The message type. Default value: `[primary]`.
47
+ *
48
+ * - In normal cases, when interacting with the Agent, the message type is `[primary]`.
49
+ *
50
+ * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
51
+ *
52
+ * - When the message is intended to trigger a report generation, the type should be `[report]`.
53
+ *
54
+ * - When the message is intended to cancel the current session, the type should be `[cancel]`.
44
55
  *
45
56
  * @example
46
57
  * primary
@@ -56,7 +67,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
56
67
  parentSessionId?: string;
57
68
  /**
58
69
  * @remarks
59
- * This parameter is required if the `MessageType` is `additional`. It contains the specific question asked by the agent during the human-in-the-loop process.
70
+ * This field is required when the message type is `additional`. Pass in the specific question that the Agent asked the user through Human-in-Loop.
60
71
  *
61
72
  * @example
62
73
  * 请提供计算GMV的口径。
@@ -64,7 +75,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
64
75
  question?: string;
65
76
  /**
66
77
  * @remarks
67
- * The quoted content. This parameter is typically used when interacting with the agent.
78
+ * Pass in the current quoted content, typically used when interacting with the Agent.
68
79
  *
69
80
  * @example
70
81
  * {"version":"v0"}
@@ -72,7 +83,11 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
72
83
  quotedMessage?: string;
73
84
  /**
74
85
  * @remarks
75
- * This parameter specifies the agent message to which this message is a response, enabling message deduplication. Set this to the highest checkpoint sequence number you have received. For the first message, use 0.
86
+ * **Important**
87
+ *
88
+ * When this message is a reply to an Agent message (for example, when the Agent asks for clarification through ASK_HUMAN), reply_to must be set to the exact Checkpoint number carried in that Agent message. If this message is not a specific reply, such as requesting the Agent for further in-depth analysis after analysis is completed, reply_to can be left empty or set to "0".
89
+ *
90
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may lead to analysis results that do not meet expectations.
76
91
  *
77
92
  * @example
78
93
  * 0
@@ -80,7 +95,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
80
95
  replyTo?: string;
81
96
  /**
82
97
  * @remarks
83
- * Session-specific configurations. These apply only if provided in the first `SendMessage` request of the session.
98
+ * The special configuration for this session. For the same session, only the configuration passed in the first SendMessage call takes effect.
84
99
  *
85
100
  * **if can be null:**
86
101
  * true
@@ -88,7 +103,7 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
88
103
  sessionConfigShrink?: string;
89
104
  /**
90
105
  * @remarks
91
- * The session ID. This parameter is required. You can obtain the session ID by calling the `CreateAgentSession` operation.
106
+ * The session ID. This is a required field. You can obtain the SessionId by calling CreateAgentSession.
92
107
  *
93
108
  * This parameter is required.
94
109
  *
@@ -96,6 +111,12 @@ export declare class SendChatMessageShrinkRequest extends $dara.Model {
96
111
  * sess_***
97
112
  */
98
113
  sessionId?: string;
114
+ /**
115
+ * @remarks
116
+ * The configuration items that only affect the current task.
117
+ */
118
+ taskConfigShrink?: string;
119
+ workspaceId?: string;
99
120
  static names(): {
100
121
  [key: string]: string;
101
122
  };