@alicloud/dms20250414 1.25.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.
- package/dist/client.d.ts +33 -12
- package/dist/client.js +72 -22
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentRequest.d.ts +21 -0
- package/dist/models/CreateAgentRequest.js +64 -0
- package/dist/models/CreateAgentRequest.js.map +1 -0
- package/dist/models/CreateAgentResponse.d.ts +19 -0
- package/dist/models/CreateAgentResponse.js +69 -0
- package/dist/models/CreateAgentResponse.js.map +1 -0
- package/dist/models/CreateAgentResponseBody.d.ts +66 -0
- package/dist/models/CreateAgentResponseBody.js +154 -0
- package/dist/models/CreateAgentResponseBody.js.map +1 -0
- package/dist/models/CreateDataAgentFeedbackRequest.d.ts +49 -0
- package/dist/models/CreateDataAgentFeedbackRequest.js.map +1 -1
- package/dist/models/CreateDataAgentFeedbackResponseBody.d.ts +46 -0
- package/dist/models/CreateDataAgentFeedbackResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentSessionRequest.d.ts +42 -18
- package/dist/models/CreateDataAgentSessionRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSessionResponseBody.d.ts +52 -29
- package/dist/models/CreateDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/CreateDataAgentSessionShrinkRequest.d.ts +2 -2
- package/dist/models/CreateDataAgentThemeRequest.d.ts +16 -8
- package/dist/models/CreateDataAgentThemeRequest.js +2 -0
- package/dist/models/CreateDataAgentThemeRequest.js.map +1 -1
- package/dist/models/CreateDataAgentThemeResponseBody.d.ts +2 -2
- package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +19 -20
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentThemeResponseBody.d.ts +9 -13
- package/dist/models/DescribeDataAgentThemeResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +5 -5
- package/dist/models/ListCustomAgentResponseBody.d.ts +42 -50
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +9 -2
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentThemeRequest.d.ts +15 -7
- package/dist/models/ListDataAgentThemeRequest.js +2 -0
- package/dist/models/ListDataAgentThemeRequest.js.map +1 -1
- package/dist/models/ListDataAgentThemeResponseBody.d.ts +8 -8
- package/dist/models/SendChatMessageRequest.d.ts +58 -33
- package/dist/models/SendChatMessageRequest.js +9 -3
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +13 -13
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +23 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +80 -22
- package/src/models/CreateAgentRequest.ts +40 -0
- package/src/models/CreateAgentResponse.ts +40 -0
- package/src/models/CreateAgentResponseBody.ts +157 -0
- package/src/models/CreateDataAgentFeedbackRequest.ts +49 -0
- package/src/models/CreateDataAgentFeedbackResponseBody.ts +46 -0
- package/src/models/CreateDataAgentSessionRequest.ts +42 -18
- package/src/models/CreateDataAgentSessionResponseBody.ts +52 -29
- package/src/models/CreateDataAgentSessionShrinkRequest.ts +2 -2
- package/src/models/CreateDataAgentThemeRequest.ts +18 -8
- package/src/models/CreateDataAgentThemeResponseBody.ts +2 -2
- package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
- package/src/models/DescribeDataAgentSessionResponseBody.ts +19 -20
- package/src/models/DescribeDataAgentThemeResponseBody.ts +9 -13
- package/src/models/ListCustomAgentRequest.ts +5 -5
- package/src/models/ListCustomAgentResponseBody.ts +43 -51
- package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +9 -2
- package/src/models/ListDataAgentThemeRequest.ts +17 -7
- package/src/models/ListDataAgentThemeResponseBody.ts +8 -8
- package/src/models/SendChatMessageRequest.ts +67 -36
- package/src/models/SendChatMessageShrinkRequest.ts +13 -13
- package/src/models/model.ts +5 -0
package/dist/client.d.ts
CHANGED
|
@@ -134,6 +134,21 @@ export default class Client extends OpenApi {
|
|
|
134
134
|
* @returns ConfigDataAgentMemoryResponse
|
|
135
135
|
*/
|
|
136
136
|
configDataAgentMemory(request: $_model.ConfigDataAgentMemoryRequest): Promise<$_model.ConfigDataAgentMemoryResponse>;
|
|
137
|
+
/**
|
|
138
|
+
* 创建 Agent
|
|
139
|
+
*
|
|
140
|
+
* @param request - CreateAgentRequest
|
|
141
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
142
|
+
* @returns CreateAgentResponse
|
|
143
|
+
*/
|
|
144
|
+
createAgentWithOptions(request: $_model.CreateAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgentResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* 创建 Agent
|
|
147
|
+
*
|
|
148
|
+
* @param request - CreateAgentRequest
|
|
149
|
+
* @returns CreateAgentResponse
|
|
150
|
+
*/
|
|
151
|
+
createAgent(request: $_model.CreateAgentRequest): Promise<$_model.CreateAgentResponse>;
|
|
137
152
|
/**
|
|
138
153
|
* Creates an Airflow instance in a workspace.
|
|
139
154
|
*
|
|
@@ -201,7 +216,7 @@ export default class Client extends OpenApi {
|
|
|
201
216
|
*/
|
|
202
217
|
createDataAgentAccuracyTest(request: $_model.CreateDataAgentAccuracyTestRequest): Promise<$_model.CreateDataAgentAccuracyTestResponse>;
|
|
203
218
|
/**
|
|
204
|
-
*
|
|
219
|
+
* Creates feedback for a DataAgent.
|
|
205
220
|
*
|
|
206
221
|
* @param request - CreateDataAgentFeedbackRequest
|
|
207
222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -209,7 +224,7 @@ export default class Client extends OpenApi {
|
|
|
209
224
|
*/
|
|
210
225
|
createDataAgentFeedbackWithOptions(request: $_model.CreateDataAgentFeedbackRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentFeedbackResponse>;
|
|
211
226
|
/**
|
|
212
|
-
*
|
|
227
|
+
* Creates feedback for a DataAgent.
|
|
213
228
|
*
|
|
214
229
|
* @param request - CreateDataAgentFeedbackRequest
|
|
215
230
|
* @returns CreateDataAgentFeedbackResponse
|
|
@@ -231,7 +246,7 @@ export default class Client extends OpenApi {
|
|
|
231
246
|
*/
|
|
232
247
|
createDataAgentKnowledgeBase(request: $_model.CreateDataAgentKnowledgeBaseRequest): Promise<$_model.CreateDataAgentKnowledgeBaseResponse>;
|
|
233
248
|
/**
|
|
234
|
-
*
|
|
249
|
+
* Creates a DataAgent session.
|
|
235
250
|
*
|
|
236
251
|
* @param tmpReq - CreateDataAgentSessionRequest
|
|
237
252
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -239,7 +254,7 @@ export default class Client extends OpenApi {
|
|
|
239
254
|
*/
|
|
240
255
|
createDataAgentSessionWithOptions(tmpReq: $_model.CreateDataAgentSessionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentSessionResponse>;
|
|
241
256
|
/**
|
|
242
|
-
*
|
|
257
|
+
* Creates a DataAgent session.
|
|
243
258
|
*
|
|
244
259
|
* @param request - CreateDataAgentSessionRequest
|
|
245
260
|
* @returns CreateDataAgentSessionResponse
|
|
@@ -708,7 +723,7 @@ export default class Client extends OpenApi {
|
|
|
708
723
|
*/
|
|
709
724
|
describeDataAgentSession(request: $_model.DescribeDataAgentSessionRequest): Promise<$_model.DescribeDataAgentSessionResponse>;
|
|
710
725
|
/**
|
|
711
|
-
* Invokes the DescribeDataAgentTheme operation to query the details of a
|
|
726
|
+
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
712
727
|
*
|
|
713
728
|
* @param request - DescribeDataAgentThemeRequest
|
|
714
729
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -716,7 +731,7 @@ export default class Client extends OpenApi {
|
|
|
716
731
|
*/
|
|
717
732
|
describeDataAgentThemeWithOptions(request: $_model.DescribeDataAgentThemeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDataAgentThemeResponse>;
|
|
718
733
|
/**
|
|
719
|
-
* Invokes the DescribeDataAgentTheme operation to query the details of a
|
|
734
|
+
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
720
735
|
*
|
|
721
736
|
* @param request - DescribeDataAgentThemeRequest
|
|
722
737
|
* @returns DescribeDataAgentThemeResponse
|
|
@@ -1122,6 +1137,9 @@ export default class Client extends OpenApi {
|
|
|
1122
1137
|
/**
|
|
1123
1138
|
* Queries the operation logs of the SQL window.
|
|
1124
1139
|
*
|
|
1140
|
+
* @remarks
|
|
1141
|
+
* When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
|
|
1142
|
+
*
|
|
1125
1143
|
* @param request - GetSqlConsoleOperationLogRequest
|
|
1126
1144
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1127
1145
|
* @returns GetSqlConsoleOperationLogResponse
|
|
@@ -1130,6 +1148,9 @@ export default class Client extends OpenApi {
|
|
|
1130
1148
|
/**
|
|
1131
1149
|
* Queries the operation logs of the SQL window.
|
|
1132
1150
|
*
|
|
1151
|
+
* @remarks
|
|
1152
|
+
* When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
|
|
1153
|
+
*
|
|
1133
1154
|
* @param request - GetSqlConsoleOperationLogRequest
|
|
1134
1155
|
* @returns GetSqlConsoleOperationLogResponse
|
|
1135
1156
|
*/
|
|
@@ -1285,7 +1306,7 @@ export default class Client extends OpenApi {
|
|
|
1285
1306
|
*/
|
|
1286
1307
|
listAirflows(request: $_model.ListAirflowsRequest): Promise<$_model.ListAirflowsResponse>;
|
|
1287
1308
|
/**
|
|
1288
|
-
*
|
|
1309
|
+
* Lists all custom agents in a personal space or workspace.
|
|
1289
1310
|
*
|
|
1290
1311
|
* @param request - ListCustomAgentRequest
|
|
1291
1312
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1293,7 +1314,7 @@ export default class Client extends OpenApi {
|
|
|
1293
1314
|
*/
|
|
1294
1315
|
listCustomAgentWithOptions(request: $_model.ListCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomAgentResponse>;
|
|
1295
1316
|
/**
|
|
1296
|
-
*
|
|
1317
|
+
* Lists all custom agents in a personal space or workspace.
|
|
1297
1318
|
*
|
|
1298
1319
|
* @param request - ListCustomAgentRequest
|
|
1299
1320
|
* @returns ListCustomAgentResponse
|
|
@@ -1423,7 +1444,7 @@ export default class Client extends OpenApi {
|
|
|
1423
1444
|
*/
|
|
1424
1445
|
listDataAgentSkillMeta(request: $_model.ListDataAgentSkillMetaRequest): Promise<$_model.ListDataAgentSkillMetaResponse>;
|
|
1425
1446
|
/**
|
|
1426
|
-
*
|
|
1447
|
+
* Calls the ListDataAgentTheme operation to query the DataAgent theme list by paging. You can filter results by theme stage, source, and common scenario.
|
|
1427
1448
|
*
|
|
1428
1449
|
* @param request - ListDataAgentThemeRequest
|
|
1429
1450
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1431,7 +1452,7 @@ export default class Client extends OpenApi {
|
|
|
1431
1452
|
*/
|
|
1432
1453
|
listDataAgentThemeWithOptions(request: $_model.ListDataAgentThemeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDataAgentThemeResponse>;
|
|
1433
1454
|
/**
|
|
1434
|
-
*
|
|
1455
|
+
* Calls the ListDataAgentTheme operation to query the DataAgent theme list by paging. You can filter results by theme stage, source, and common scenario.
|
|
1435
1456
|
*
|
|
1436
1457
|
* @param request - ListDataAgentThemeRequest
|
|
1437
1458
|
* @returns ListDataAgentThemeResponse
|
|
@@ -1901,7 +1922,7 @@ export default class Client extends OpenApi {
|
|
|
1901
1922
|
*
|
|
1902
1923
|
* @remarks
|
|
1903
1924
|
* ## Request description
|
|
1904
|
-
* - `message_type` defaults to `primary`.
|
|
1925
|
+
* - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
|
|
1905
1926
|
* - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
|
|
1906
1927
|
* - When `message_type` is `additional`, the `question` field is required.
|
|
1907
1928
|
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
@@ -1916,7 +1937,7 @@ export default class Client extends OpenApi {
|
|
|
1916
1937
|
*
|
|
1917
1938
|
* @remarks
|
|
1918
1939
|
* ## Request description
|
|
1919
|
-
* - `message_type` defaults to `primary`.
|
|
1940
|
+
* - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
|
|
1920
1941
|
* - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
|
|
1921
1942
|
* - When `message_type` is `additional`, the `question` field is required.
|
|
1922
1943
|
* - `quoted_message` can be used to quote the content of a previous user message.
|
package/dist/client.js
CHANGED
|
@@ -69,16 +69,6 @@ class Client extends openapi_core_1.default {
|
|
|
69
69
|
constructor(config) {
|
|
70
70
|
super(config);
|
|
71
71
|
this._endpointRule = "regional";
|
|
72
|
-
this._endpointMap = {
|
|
73
|
-
'cn-shenzhen': "dms.cn-shenzhen.aliyuncs.com",
|
|
74
|
-
'cn-beijing': "dms.cn-beijing.aliyuncs.com",
|
|
75
|
-
'cn-shanghai': "dms.cn-shanghai.aliyuncs.com",
|
|
76
|
-
'cn-hongkong': "dms.cn-hongkong.aliyuncs.com",
|
|
77
|
-
'ap-southeast-1': "dms.ap-southeast-1.aliyuncs.com",
|
|
78
|
-
'cn-hangzhou': "dms.cn-hangzhou.aliyuncs.com",
|
|
79
|
-
'us-west-1': "dms.us-west-1.aliyuncs.com",
|
|
80
|
-
'us-east-1': "dms.us-east-1.aliyuncs.com",
|
|
81
|
-
};
|
|
82
72
|
this.checkConfig(config);
|
|
83
73
|
this._endpoint = this.getEndpoint("dms", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
84
74
|
}
|
|
@@ -518,6 +508,54 @@ class Client extends openapi_core_1.default {
|
|
|
518
508
|
let runtime = new $dara.RuntimeOptions({});
|
|
519
509
|
return await this.configDataAgentMemoryWithOptions(request, runtime);
|
|
520
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* 创建 Agent
|
|
513
|
+
*
|
|
514
|
+
* @param request - CreateAgentRequest
|
|
515
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
516
|
+
* @returns CreateAgentResponse
|
|
517
|
+
*/
|
|
518
|
+
async createAgentWithOptions(request, runtime) {
|
|
519
|
+
request.validate();
|
|
520
|
+
let query = {};
|
|
521
|
+
if (!$dara.isNull(request.agentName)) {
|
|
522
|
+
query["AgentName"] = request.agentName;
|
|
523
|
+
}
|
|
524
|
+
if (!$dara.isNull(request.agentType)) {
|
|
525
|
+
query["AgentType"] = request.agentType;
|
|
526
|
+
}
|
|
527
|
+
if (!$dara.isNull(request.description)) {
|
|
528
|
+
query["Description"] = request.description;
|
|
529
|
+
}
|
|
530
|
+
if (!$dara.isNull(request.expireAfterSeconds)) {
|
|
531
|
+
query["ExpireAfterSeconds"] = request.expireAfterSeconds;
|
|
532
|
+
}
|
|
533
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
534
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
535
|
+
});
|
|
536
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
537
|
+
action: "CreateAgent",
|
|
538
|
+
version: "2025-04-14",
|
|
539
|
+
protocol: "HTTPS",
|
|
540
|
+
pathname: "/",
|
|
541
|
+
method: "POST",
|
|
542
|
+
authType: "AK",
|
|
543
|
+
style: "RPC",
|
|
544
|
+
reqBodyType: "formData",
|
|
545
|
+
bodyType: "json",
|
|
546
|
+
});
|
|
547
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgentResponse({}));
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* 创建 Agent
|
|
551
|
+
*
|
|
552
|
+
* @param request - CreateAgentRequest
|
|
553
|
+
* @returns CreateAgentResponse
|
|
554
|
+
*/
|
|
555
|
+
async createAgent(request) {
|
|
556
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
557
|
+
return await this.createAgentWithOptions(request, runtime);
|
|
558
|
+
}
|
|
521
559
|
/**
|
|
522
560
|
* Creates an Airflow instance in a workspace.
|
|
523
561
|
*
|
|
@@ -850,7 +888,7 @@ class Client extends openapi_core_1.default {
|
|
|
850
888
|
return await this.createDataAgentAccuracyTestWithOptions(request, runtime);
|
|
851
889
|
}
|
|
852
890
|
/**
|
|
853
|
-
*
|
|
891
|
+
* Creates feedback for a DataAgent.
|
|
854
892
|
*
|
|
855
893
|
* @param request - CreateDataAgentFeedbackRequest
|
|
856
894
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -900,7 +938,7 @@ class Client extends openapi_core_1.default {
|
|
|
900
938
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataAgentFeedbackResponse({}));
|
|
901
939
|
}
|
|
902
940
|
/**
|
|
903
|
-
*
|
|
941
|
+
* Creates feedback for a DataAgent.
|
|
904
942
|
*
|
|
905
943
|
* @param request - CreateDataAgentFeedbackRequest
|
|
906
944
|
* @returns CreateDataAgentFeedbackResponse
|
|
@@ -961,7 +999,7 @@ class Client extends openapi_core_1.default {
|
|
|
961
999
|
return await this.createDataAgentKnowledgeBaseWithOptions(request, runtime);
|
|
962
1000
|
}
|
|
963
1001
|
/**
|
|
964
|
-
*
|
|
1002
|
+
* Creates a DataAgent session.
|
|
965
1003
|
*
|
|
966
1004
|
* @param tmpReq - CreateDataAgentSessionRequest
|
|
967
1005
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1007,7 +1045,7 @@ class Client extends openapi_core_1.default {
|
|
|
1007
1045
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataAgentSessionResponse({}));
|
|
1008
1046
|
}
|
|
1009
1047
|
/**
|
|
1010
|
-
*
|
|
1048
|
+
* Creates a DataAgent session.
|
|
1011
1049
|
*
|
|
1012
1050
|
* @param request - CreateDataAgentSessionRequest
|
|
1013
1051
|
* @returns CreateDataAgentSessionResponse
|
|
@@ -1092,6 +1130,9 @@ class Client extends openapi_core_1.default {
|
|
|
1092
1130
|
if (!$dara.isNull(request.themeType)) {
|
|
1093
1131
|
query["ThemeType"] = request.themeType;
|
|
1094
1132
|
}
|
|
1133
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
1134
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
1135
|
+
}
|
|
1095
1136
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1096
1137
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1097
1138
|
});
|
|
@@ -2486,7 +2527,7 @@ class Client extends openapi_core_1.default {
|
|
|
2486
2527
|
return await this.describeDataAgentSessionWithOptions(request, runtime);
|
|
2487
2528
|
}
|
|
2488
2529
|
/**
|
|
2489
|
-
* Invokes the DescribeDataAgentTheme operation to query the details of a
|
|
2530
|
+
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
2490
2531
|
*
|
|
2491
2532
|
* @param request - DescribeDataAgentThemeRequest
|
|
2492
2533
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2515,7 +2556,7 @@ class Client extends openapi_core_1.default {
|
|
|
2515
2556
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDataAgentThemeResponse({}));
|
|
2516
2557
|
}
|
|
2517
2558
|
/**
|
|
2518
|
-
* Invokes the DescribeDataAgentTheme operation to query the details of a
|
|
2559
|
+
* Invokes the DescribeDataAgentTheme operation to query the details of a specific DataAgent theme, including the theme name, stage, source, common scenarios, description, and creation and modification time.
|
|
2519
2560
|
*
|
|
2520
2561
|
* @param request - DescribeDataAgentThemeRequest
|
|
2521
2562
|
* @returns DescribeDataAgentThemeResponse
|
|
@@ -3733,6 +3774,9 @@ class Client extends openapi_core_1.default {
|
|
|
3733
3774
|
/**
|
|
3734
3775
|
* Queries the operation logs of the SQL window.
|
|
3735
3776
|
*
|
|
3777
|
+
* @remarks
|
|
3778
|
+
* When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
|
|
3779
|
+
*
|
|
3736
3780
|
* @param request - GetSqlConsoleOperationLogRequest
|
|
3737
3781
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3738
3782
|
* @returns GetSqlConsoleOperationLogResponse
|
|
@@ -3783,6 +3827,9 @@ class Client extends openapi_core_1.default {
|
|
|
3783
3827
|
/**
|
|
3784
3828
|
* Queries the operation logs of the SQL window.
|
|
3785
3829
|
*
|
|
3830
|
+
* @remarks
|
|
3831
|
+
* When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
|
|
3832
|
+
*
|
|
3786
3833
|
* @param request - GetSqlConsoleOperationLogRequest
|
|
3787
3834
|
* @returns GetSqlConsoleOperationLogResponse
|
|
3788
3835
|
*/
|
|
@@ -4202,7 +4249,7 @@ class Client extends openapi_core_1.default {
|
|
|
4202
4249
|
return await this.listAirflowsWithOptions(request, runtime);
|
|
4203
4250
|
}
|
|
4204
4251
|
/**
|
|
4205
|
-
*
|
|
4252
|
+
* Lists all custom agents in a personal space or workspace.
|
|
4206
4253
|
*
|
|
4207
4254
|
* @param request - ListCustomAgentRequest
|
|
4208
4255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4246,7 +4293,7 @@ class Client extends openapi_core_1.default {
|
|
|
4246
4293
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentResponse({}));
|
|
4247
4294
|
}
|
|
4248
4295
|
/**
|
|
4249
|
-
*
|
|
4296
|
+
* Lists all custom agents in a personal space or workspace.
|
|
4250
4297
|
*
|
|
4251
4298
|
* @param request - ListCustomAgentRequest
|
|
4252
4299
|
* @returns ListCustomAgentResponse
|
|
@@ -4703,7 +4750,7 @@ class Client extends openapi_core_1.default {
|
|
|
4703
4750
|
return await this.listDataAgentSkillMetaWithOptions(request, runtime);
|
|
4704
4751
|
}
|
|
4705
4752
|
/**
|
|
4706
|
-
*
|
|
4753
|
+
* Calls the ListDataAgentTheme operation to query the DataAgent theme list by paging. You can filter results by theme stage, source, and common scenario.
|
|
4707
4754
|
*
|
|
4708
4755
|
* @param request - ListDataAgentThemeRequest
|
|
4709
4756
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4733,6 +4780,9 @@ class Client extends openapi_core_1.default {
|
|
|
4733
4780
|
if (!$dara.isNull(request.themeType)) {
|
|
4734
4781
|
query["ThemeType"] = request.themeType;
|
|
4735
4782
|
}
|
|
4783
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
4784
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
4785
|
+
}
|
|
4736
4786
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4737
4787
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4738
4788
|
});
|
|
@@ -4750,7 +4800,7 @@ class Client extends openapi_core_1.default {
|
|
|
4750
4800
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentThemeResponse({}));
|
|
4751
4801
|
}
|
|
4752
4802
|
/**
|
|
4753
|
-
*
|
|
4803
|
+
* Calls the ListDataAgentTheme operation to query the DataAgent theme list by paging. You can filter results by theme stage, source, and common scenario.
|
|
4754
4804
|
*
|
|
4755
4805
|
* @param request - ListDataAgentThemeRequest
|
|
4756
4806
|
* @returns ListDataAgentThemeResponse
|
|
@@ -6490,7 +6540,7 @@ class Client extends openapi_core_1.default {
|
|
|
6490
6540
|
*
|
|
6491
6541
|
* @remarks
|
|
6492
6542
|
* ## Request description
|
|
6493
|
-
* - `message_type` defaults to `primary`.
|
|
6543
|
+
* - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
|
|
6494
6544
|
* - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
|
|
6495
6545
|
* - When `message_type` is `additional`, the `question` field is required.
|
|
6496
6546
|
* - `quoted_message` can be used to quote the content of a previous user message.
|
|
@@ -6582,7 +6632,7 @@ class Client extends openapi_core_1.default {
|
|
|
6582
6632
|
*
|
|
6583
6633
|
* @remarks
|
|
6584
6634
|
* ## Request description
|
|
6585
|
-
* - `message_type` defaults to `primary`.
|
|
6635
|
+
* - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
|
|
6586
6636
|
* - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
|
|
6587
6637
|
* - When `message_type` is `additional`, the `question` field is required.
|
|
6588
6638
|
* - `quoted_message` can be used to quote the content of a previous user message.
|