@alicloud/dms20250414 1.17.0 → 1.17.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.
- package/dist/client.d.ts +8 -20
- package/dist/client.js +14 -20
- package/dist/client.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +1 -0
- package/dist/models/AgenticTableBaseInfo.js +2 -0
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +23 -133
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +33 -58
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +16 -124
- package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/DescribeCustomAgentRequest.d.ts +2 -2
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +44 -98
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +23 -164
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +38 -95
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +16 -131
- package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/SendChatMessageRequest.d.ts +126 -31
- package/dist/models/SendChatMessageRequest.js +107 -1
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +9 -21
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +25 -16
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -20
- package/src/models/AgenticTableBaseInfo.ts +3 -0
- package/src/models/CreateCustomAgentRequest.ts +25 -133
- package/src/models/CreateCustomAgentResponseBody.ts +35 -58
- package/src/models/CreateCustomAgentShrinkRequest.ts +18 -124
- package/src/models/DescribeCustomAgentRequest.ts +2 -2
- package/src/models/DescribeCustomAgentResponseBody.ts +47 -99
- package/src/models/ListCustomAgentResponseBody.ts +3 -0
- package/src/models/ModifyCustomAgentRequest.ts +25 -164
- package/src/models/ModifyCustomAgentResponseBody.ts +40 -95
- package/src/models/ModifyCustomAgentShrinkRequest.ts +18 -131
- package/src/models/SendChatMessageRequest.ts +197 -32
- package/src/models/SendChatMessageShrinkRequest.ts +10 -22
- package/src/models/model.ts +4 -0
package/dist/client.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ export default class Client extends OpenApi {
|
|
|
126
126
|
*/
|
|
127
127
|
createAirflowLoginToken(request: $_model.CreateAirflowLoginTokenRequest): Promise<$_model.CreateAirflowLoginTokenResponse>;
|
|
128
128
|
/**
|
|
129
|
-
*
|
|
129
|
+
* Creates a custom agent in a personal space or workspace.
|
|
130
130
|
*
|
|
131
131
|
* @param tmpReq - CreateCustomAgentRequest
|
|
132
132
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -134,7 +134,7 @@ export default class Client extends OpenApi {
|
|
|
134
134
|
*/
|
|
135
135
|
createCustomAgentWithOptions(tmpReq: $_model.CreateCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomAgentResponse>;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* Creates a custom agent in a personal space or workspace.
|
|
138
138
|
*
|
|
139
139
|
* @param request - CreateCustomAgentRequest
|
|
140
140
|
* @returns CreateCustomAgentResponse
|
|
@@ -483,7 +483,7 @@ export default class Client extends OpenApi {
|
|
|
483
483
|
*/
|
|
484
484
|
deleteWorkspaceCode(request: $_model.DeleteWorkspaceCodeRequest): Promise<$_model.DeleteWorkspaceCodeResponse>;
|
|
485
485
|
/**
|
|
486
|
-
*
|
|
486
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
487
487
|
*
|
|
488
488
|
* @param request - DescribeCustomAgentRequest
|
|
489
489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -491,7 +491,7 @@ export default class Client extends OpenApi {
|
|
|
491
491
|
*/
|
|
492
492
|
describeCustomAgentWithOptions(request: $_model.DescribeCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomAgentResponse>;
|
|
493
493
|
/**
|
|
494
|
-
*
|
|
494
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
495
495
|
*
|
|
496
496
|
* @param request - DescribeCustomAgentRequest
|
|
497
497
|
* @returns DescribeCustomAgentResponse
|
|
@@ -1304,7 +1304,7 @@ export default class Client extends OpenApi {
|
|
|
1304
1304
|
*/
|
|
1305
1305
|
listWorkspaceCode(request: $_model.ListWorkspaceCodeRequest): Promise<$_model.ListWorkspaceCodeResponse>;
|
|
1306
1306
|
/**
|
|
1307
|
-
*
|
|
1307
|
+
* Modifies a custom agent in a personal space or workspace.
|
|
1308
1308
|
*
|
|
1309
1309
|
* @param tmpReq - ModifyCustomAgentRequest
|
|
1310
1310
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1312,7 +1312,7 @@ export default class Client extends OpenApi {
|
|
|
1312
1312
|
*/
|
|
1313
1313
|
modifyCustomAgentWithOptions(tmpReq: $_model.ModifyCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCustomAgentResponse>;
|
|
1314
1314
|
/**
|
|
1315
|
-
*
|
|
1315
|
+
* Modifies a custom agent in a personal space or workspace.
|
|
1316
1316
|
*
|
|
1317
1317
|
* @param request - ModifyCustomAgentRequest
|
|
1318
1318
|
* @returns ModifyCustomAgentResponse
|
|
@@ -1409,13 +1409,7 @@ export default class Client extends OpenApi {
|
|
|
1409
1409
|
* Sends a user message to a specified session or cancels a session.
|
|
1410
1410
|
*
|
|
1411
1411
|
* @remarks
|
|
1412
|
-
* ## Request description
|
|
1413
|
-
* - `agent_id` and `session_id` are required fields.
|
|
1414
|
-
* - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
|
|
1415
|
-
* - The `reply_to` field indicates which agent message this message is responding to. The default value is `0`.
|
|
1416
|
-
* - When `message_type` is `additional`, the `question` field is required.
|
|
1417
|
-
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
1418
|
-
* - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are optional but provide more detailed context information.
|
|
1412
|
+
* ## Request description.
|
|
1419
1413
|
*
|
|
1420
1414
|
* @param tmpReq - SendChatMessageRequest
|
|
1421
1415
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1426,13 +1420,7 @@ export default class Client extends OpenApi {
|
|
|
1426
1420
|
* Sends a user message to a specified session or cancels a session.
|
|
1427
1421
|
*
|
|
1428
1422
|
* @remarks
|
|
1429
|
-
* ## Request description
|
|
1430
|
-
* - `agent_id` and `session_id` are required fields.
|
|
1431
|
-
* - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
|
|
1432
|
-
* - The `reply_to` field indicates which agent message this message is responding to. The default value is `0`.
|
|
1433
|
-
* - When `message_type` is `additional`, the `question` field is required.
|
|
1434
|
-
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
1435
|
-
* - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are optional but provide more detailed context information.
|
|
1423
|
+
* ## Request description.
|
|
1436
1424
|
*
|
|
1437
1425
|
* @param request - SendChatMessageRequest
|
|
1438
1426
|
* @returns SendChatMessageResponse
|
package/dist/client.js
CHANGED
|
@@ -527,7 +527,7 @@ class Client extends openapi_core_1.default {
|
|
|
527
527
|
return await this.createAirflowLoginTokenWithOptions(request, runtime);
|
|
528
528
|
}
|
|
529
529
|
/**
|
|
530
|
-
*
|
|
530
|
+
* Creates a custom agent in a personal space or workspace.
|
|
531
531
|
*
|
|
532
532
|
* @param tmpReq - CreateCustomAgentRequest
|
|
533
533
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -589,6 +589,9 @@ class Client extends openapi_core_1.default {
|
|
|
589
589
|
if (!$dara.isNull(request.webReportConfig)) {
|
|
590
590
|
query["WebReportConfig"] = request.webReportConfig;
|
|
591
591
|
}
|
|
592
|
+
if (!$dara.isNull(request.webReportTheme)) {
|
|
593
|
+
query["WebReportTheme"] = request.webReportTheme;
|
|
594
|
+
}
|
|
592
595
|
if (!$dara.isNull(request.workspaceId)) {
|
|
593
596
|
query["WorkspaceId"] = request.workspaceId;
|
|
594
597
|
}
|
|
@@ -609,7 +612,7 @@ class Client extends openapi_core_1.default {
|
|
|
609
612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAgentResponse({}));
|
|
610
613
|
}
|
|
611
614
|
/**
|
|
612
|
-
*
|
|
615
|
+
* Creates a custom agent in a personal space or workspace.
|
|
613
616
|
*
|
|
614
617
|
* @param request - CreateCustomAgentRequest
|
|
615
618
|
* @returns CreateCustomAgentResponse
|
|
@@ -1767,7 +1770,7 @@ class Client extends openapi_core_1.default {
|
|
|
1767
1770
|
return await this.deleteWorkspaceCodeWithOptions(request, runtime);
|
|
1768
1771
|
}
|
|
1769
1772
|
/**
|
|
1770
|
-
*
|
|
1773
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
1771
1774
|
*
|
|
1772
1775
|
* @param request - DescribeCustomAgentRequest
|
|
1773
1776
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1799,7 +1802,7 @@ class Client extends openapi_core_1.default {
|
|
|
1799
1802
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentResponse({}));
|
|
1800
1803
|
}
|
|
1801
1804
|
/**
|
|
1802
|
-
*
|
|
1805
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
1803
1806
|
*
|
|
1804
1807
|
* @param request - DescribeCustomAgentRequest
|
|
1805
1808
|
* @returns DescribeCustomAgentResponse
|
|
@@ -4488,7 +4491,7 @@ class Client extends openapi_core_1.default {
|
|
|
4488
4491
|
return await this.listWorkspaceCodeWithOptions(request, runtime);
|
|
4489
4492
|
}
|
|
4490
4493
|
/**
|
|
4491
|
-
*
|
|
4494
|
+
* Modifies a custom agent in a personal space or workspace.
|
|
4492
4495
|
*
|
|
4493
4496
|
* @param tmpReq - ModifyCustomAgentRequest
|
|
4494
4497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4553,6 +4556,9 @@ class Client extends openapi_core_1.default {
|
|
|
4553
4556
|
if (!$dara.isNull(request.webReportConfig)) {
|
|
4554
4557
|
query["WebReportConfig"] = request.webReportConfig;
|
|
4555
4558
|
}
|
|
4559
|
+
if (!$dara.isNull(request.webReportTheme)) {
|
|
4560
|
+
query["WebReportTheme"] = request.webReportTheme;
|
|
4561
|
+
}
|
|
4556
4562
|
if (!$dara.isNull(request.workspaceId)) {
|
|
4557
4563
|
query["WorkspaceId"] = request.workspaceId;
|
|
4558
4564
|
}
|
|
@@ -4573,7 +4579,7 @@ class Client extends openapi_core_1.default {
|
|
|
4573
4579
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCustomAgentResponse({}));
|
|
4574
4580
|
}
|
|
4575
4581
|
/**
|
|
4576
|
-
*
|
|
4582
|
+
* Modifies a custom agent in a personal space or workspace.
|
|
4577
4583
|
*
|
|
4578
4584
|
* @param request - ModifyCustomAgentRequest
|
|
4579
4585
|
* @returns ModifyCustomAgentResponse
|
|
@@ -4864,13 +4870,7 @@ class Client extends openapi_core_1.default {
|
|
|
4864
4870
|
* Sends a user message to a specified session or cancels a session.
|
|
4865
4871
|
*
|
|
4866
4872
|
* @remarks
|
|
4867
|
-
* ## Request description
|
|
4868
|
-
* - `agent_id` and `session_id` are required fields.
|
|
4869
|
-
* - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
|
|
4870
|
-
* - The `reply_to` field indicates which agent message this message is responding to. The default value is `0`.
|
|
4871
|
-
* - When `message_type` is `additional`, the `question` field is required.
|
|
4872
|
-
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
4873
|
-
* - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are optional but provide more detailed context information.
|
|
4873
|
+
* ## Request description.
|
|
4874
4874
|
*
|
|
4875
4875
|
* @param tmpReq - SendChatMessageRequest
|
|
4876
4876
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4958,13 +4958,7 @@ class Client extends openapi_core_1.default {
|
|
|
4958
4958
|
* Sends a user message to a specified session or cancels a session.
|
|
4959
4959
|
*
|
|
4960
4960
|
* @remarks
|
|
4961
|
-
* ## Request description
|
|
4962
|
-
* - `agent_id` and `session_id` are required fields.
|
|
4963
|
-
* - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
|
|
4964
|
-
* - The `reply_to` field indicates which agent message this message is responding to. The default value is `0`.
|
|
4965
|
-
* - When `message_type` is `additional`, the `question` field is required.
|
|
4966
|
-
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
4967
|
-
* - Fields such as `data_source`, `dms_user`, `db_metadata`, and `session_config` are optional but provide more detailed context information.
|
|
4961
|
+
* ## Request description.
|
|
4968
4962
|
*
|
|
4969
4963
|
* @param request - SendChatMessageRequest
|
|
4970
4964
|
* @returns SendChatMessageResponse
|