@alicloud/dms20250414 4.5.1 → 4.6.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 +68 -8
- package/dist/client.js +204 -8
- package/dist/client.js.map +1 -1
- package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +88 -0
- package/dist/models/BatchCreateDataLakePartitionsRequest.js +76 -0
- package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +1 -0
- package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +19 -0
- package/dist/models/BatchCreateDataLakePartitionsResponse.js +69 -0
- package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +1 -0
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +54 -0
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +70 -0
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +1 -0
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +87 -0
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js +72 -0
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +1 -0
- package/dist/models/DmsGatewayOrder.d.ts +1 -0
- package/dist/models/DmsGatewayOrder.js +2 -0
- package/dist/models/DmsGatewayOrder.js.map +1 -1
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
- package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
- package/dist/models/SendChatMessageRequest.d.ts +68 -74
- package/dist/models/SendChatMessageRequest.js.map +1 -1
- package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
- package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
- package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
- package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +16 -0
- package/dist/models/model.js +45 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +228 -8
- package/src/models/BatchCreateDataLakePartitionsRequest.ts +118 -0
- package/src/models/BatchCreateDataLakePartitionsResponse.ts +40 -0
- package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +78 -0
- package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +114 -0
- package/src/models/DmsGatewayOrder.ts +3 -0
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
- package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
- package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
- package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
- package/src/models/SendChatMessageRequest.ts +68 -74
- package/src/models/SendChatMessageShrinkRequest.ts +18 -21
- package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
- package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
- package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
- package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
- package/src/models/model.ts +16 -0
package/dist/client.d.ts
CHANGED
|
@@ -59,6 +59,21 @@ export default class Client extends OpenApi {
|
|
|
59
59
|
* @returns AddUserToDataAgentWorkspaceResponse
|
|
60
60
|
*/
|
|
61
61
|
addUserToDataAgentWorkspace(request: $_model.AddUserToDataAgentWorkspaceRequest): Promise<$_model.AddUserToDataAgentWorkspaceResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates multiple partitions for a data lakehouse table.
|
|
64
|
+
*
|
|
65
|
+
* @param tmpReq - BatchCreateDataLakePartitionsRequest
|
|
66
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
67
|
+
* @returns BatchCreateDataLakePartitionsResponse
|
|
68
|
+
*/
|
|
69
|
+
batchCreateDataLakePartitionsWithOptions(tmpReq: $_model.BatchCreateDataLakePartitionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCreateDataLakePartitionsResponse>;
|
|
70
|
+
/**
|
|
71
|
+
* Creates multiple partitions for a data lakehouse table.
|
|
72
|
+
*
|
|
73
|
+
* @param request - BatchCreateDataLakePartitionsRequest
|
|
74
|
+
* @returns BatchCreateDataLakePartitionsResponse
|
|
75
|
+
*/
|
|
76
|
+
batchCreateDataLakePartitions(request: $_model.BatchCreateDataLakePartitionsRequest): Promise<$_model.BatchCreateDataLakePartitionsResponse>;
|
|
62
77
|
/**
|
|
63
78
|
* CheckDataAgentMemoryConfig - Queries the memory generation and usage configuration of a DataAgent.
|
|
64
79
|
*
|
|
@@ -1056,6 +1071,21 @@ export default class Client extends OpenApi {
|
|
|
1056
1071
|
* @returns GetListMcpServerToolsResultResponse
|
|
1057
1072
|
*/
|
|
1058
1073
|
getListMcpServerToolsResult(request: $_model.GetListMcpServerToolsResultRequest): Promise<$_model.GetListMcpServerToolsResultResponse>;
|
|
1074
|
+
/**
|
|
1075
|
+
* Retrieves the OAuth authorization URL required for the current user to bind a Lark account. After the user completes the authorization, the system automatically binds their Lark account.
|
|
1076
|
+
*
|
|
1077
|
+
* @param request - GetMyAgenticNotificationChannelAuthorizeUrlRequest
|
|
1078
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1079
|
+
* @returns GetMyAgenticNotificationChannelAuthorizeUrlResponse
|
|
1080
|
+
*/
|
|
1081
|
+
getMyAgenticNotificationChannelAuthorizeUrlWithOptions(request: $_model.GetMyAgenticNotificationChannelAuthorizeUrlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMyAgenticNotificationChannelAuthorizeUrlResponse>;
|
|
1082
|
+
/**
|
|
1083
|
+
* Retrieves the OAuth authorization URL required for the current user to bind a Lark account. After the user completes the authorization, the system automatically binds their Lark account.
|
|
1084
|
+
*
|
|
1085
|
+
* @param request - GetMyAgenticNotificationChannelAuthorizeUrlRequest
|
|
1086
|
+
* @returns GetMyAgenticNotificationChannelAuthorizeUrlResponse
|
|
1087
|
+
*/
|
|
1088
|
+
getMyAgenticNotificationChannelAuthorizeUrl(request: $_model.GetMyAgenticNotificationChannelAuthorizeUrlRequest): Promise<$_model.GetMyAgenticNotificationChannelAuthorizeUrlResponse>;
|
|
1059
1089
|
/**
|
|
1060
1090
|
* Submits a task to schedule and run a Notebook file.
|
|
1061
1091
|
*
|
|
@@ -1685,6 +1715,21 @@ export default class Client extends OpenApi {
|
|
|
1685
1715
|
* @returns ListKnowledgeBasesResponse
|
|
1686
1716
|
*/
|
|
1687
1717
|
listKnowledgeBases(request: $_model.ListKnowledgeBasesRequest): Promise<$_model.ListKnowledgeBasesResponse>;
|
|
1718
|
+
/**
|
|
1719
|
+
* Queries the personal notification channel configurations of the current user in the current tenant, including channel status and bound identity information.
|
|
1720
|
+
*
|
|
1721
|
+
* @param request - ListMyAgenticNotificationChannelConfigsRequest
|
|
1722
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1723
|
+
* @returns ListMyAgenticNotificationChannelConfigsResponse
|
|
1724
|
+
*/
|
|
1725
|
+
listMyAgenticNotificationChannelConfigsWithOptions(request: $_model.ListMyAgenticNotificationChannelConfigsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMyAgenticNotificationChannelConfigsResponse>;
|
|
1726
|
+
/**
|
|
1727
|
+
* Queries the personal notification channel configurations of the current user in the current tenant, including channel status and bound identity information.
|
|
1728
|
+
*
|
|
1729
|
+
* @param request - ListMyAgenticNotificationChannelConfigsRequest
|
|
1730
|
+
* @returns ListMyAgenticNotificationChannelConfigsResponse
|
|
1731
|
+
*/
|
|
1732
|
+
listMyAgenticNotificationChannelConfigs(request: $_model.ListMyAgenticNotificationChannelConfigsRequest): Promise<$_model.ListMyAgenticNotificationChannelConfigsResponse>;
|
|
1688
1733
|
/**
|
|
1689
1734
|
* Retrieves a list of OSSIE models.
|
|
1690
1735
|
*
|
|
@@ -1924,10 +1969,10 @@ export default class Client extends OpenApi {
|
|
|
1924
1969
|
*
|
|
1925
1970
|
* @remarks
|
|
1926
1971
|
* ## Request description
|
|
1927
|
-
* - The default value of
|
|
1928
|
-
* - The
|
|
1929
|
-
* - The
|
|
1930
|
-
* - You can use
|
|
1972
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
1973
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
1974
|
+
* - The question field is required when message_type is set to additional.
|
|
1975
|
+
* - You can use quoted_message to quote previous messages from the user.
|
|
1931
1976
|
*
|
|
1932
1977
|
* @param tmpReq - SendChatMessageRequest
|
|
1933
1978
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1939,10 +1984,10 @@ export default class Client extends OpenApi {
|
|
|
1939
1984
|
*
|
|
1940
1985
|
* @remarks
|
|
1941
1986
|
* ## Request description
|
|
1942
|
-
* - The default value of
|
|
1943
|
-
* - The
|
|
1944
|
-
* - The
|
|
1945
|
-
* - You can use
|
|
1987
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
1988
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
1989
|
+
* - The question field is required when message_type is set to additional.
|
|
1990
|
+
* - You can use quoted_message to quote previous messages from the user.
|
|
1946
1991
|
*
|
|
1947
1992
|
* @param request - SendChatMessageRequest
|
|
1948
1993
|
* @returns SendChatMessageResponse
|
|
@@ -2206,6 +2251,21 @@ export default class Client extends OpenApi {
|
|
|
2206
2251
|
* @returns UpdateKnowledgeBaseResponse
|
|
2207
2252
|
*/
|
|
2208
2253
|
updateKnowledgeBase(request: $_model.UpdateKnowledgeBaseRequest): Promise<$_model.UpdateKnowledgeBaseResponse>;
|
|
2254
|
+
/**
|
|
2255
|
+
* Updates the notification channel switch or Lark account binding information for the current user.
|
|
2256
|
+
*
|
|
2257
|
+
* @param request - UpdateMyAgenticNotificationChannelConfigRequest
|
|
2258
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2259
|
+
* @returns UpdateMyAgenticNotificationChannelConfigResponse
|
|
2260
|
+
*/
|
|
2261
|
+
updateMyAgenticNotificationChannelConfigWithOptions(request: $_model.UpdateMyAgenticNotificationChannelConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMyAgenticNotificationChannelConfigResponse>;
|
|
2262
|
+
/**
|
|
2263
|
+
* Updates the notification channel switch or Lark account binding information for the current user.
|
|
2264
|
+
*
|
|
2265
|
+
* @param request - UpdateMyAgenticNotificationChannelConfigRequest
|
|
2266
|
+
* @returns UpdateMyAgenticNotificationChannelConfigResponse
|
|
2267
|
+
*/
|
|
2268
|
+
updateMyAgenticNotificationChannelConfig(request: $_model.UpdateMyAgenticNotificationChannelConfigRequest): Promise<$_model.UpdateMyAgenticNotificationChannelConfigResponse>;
|
|
2209
2269
|
/**
|
|
2210
2270
|
* Updates an SQL template.
|
|
2211
2271
|
*
|
package/dist/client.js
CHANGED
|
@@ -301,6 +301,73 @@ class Client extends openapi_core_1.default {
|
|
|
301
301
|
let runtime = new $dara.RuntimeOptions({});
|
|
302
302
|
return await this.addUserToDataAgentWorkspaceWithOptions(request, runtime);
|
|
303
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Creates multiple partitions for a data lakehouse table.
|
|
306
|
+
*
|
|
307
|
+
* @param tmpReq - BatchCreateDataLakePartitionsRequest
|
|
308
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
309
|
+
* @returns BatchCreateDataLakePartitionsResponse
|
|
310
|
+
*/
|
|
311
|
+
async batchCreateDataLakePartitionsWithOptions(tmpReq, runtime) {
|
|
312
|
+
tmpReq.validate();
|
|
313
|
+
let request = new $_model.BatchCreateDataLakePartitionsShrinkRequest({});
|
|
314
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
315
|
+
if (!$dara.isNull(tmpReq.partitionInputs)) {
|
|
316
|
+
request.partitionInputsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.partitionInputs, "PartitionInputs", "json");
|
|
317
|
+
}
|
|
318
|
+
let query = {};
|
|
319
|
+
if (!$dara.isNull(request.catalogName)) {
|
|
320
|
+
query["CatalogName"] = request.catalogName;
|
|
321
|
+
}
|
|
322
|
+
if (!$dara.isNull(request.dbName)) {
|
|
323
|
+
query["DbName"] = request.dbName;
|
|
324
|
+
}
|
|
325
|
+
if (!$dara.isNull(request.ifNotExists)) {
|
|
326
|
+
query["IfNotExists"] = request.ifNotExists;
|
|
327
|
+
}
|
|
328
|
+
if (!$dara.isNull(request.needResult)) {
|
|
329
|
+
query["NeedResult"] = request.needResult;
|
|
330
|
+
}
|
|
331
|
+
if (!$dara.isNull(request.tableName)) {
|
|
332
|
+
query["TableName"] = request.tableName;
|
|
333
|
+
}
|
|
334
|
+
if (!$dara.isNull(request.tid)) {
|
|
335
|
+
query["Tid"] = request.tid;
|
|
336
|
+
}
|
|
337
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
338
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
339
|
+
}
|
|
340
|
+
let body = {};
|
|
341
|
+
if (!$dara.isNull(request.partitionInputsShrink)) {
|
|
342
|
+
body["PartitionInputs"] = request.partitionInputsShrink;
|
|
343
|
+
}
|
|
344
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
345
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
346
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
347
|
+
});
|
|
348
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
349
|
+
action: "BatchCreateDataLakePartitions",
|
|
350
|
+
version: "2025-04-14",
|
|
351
|
+
protocol: "HTTPS",
|
|
352
|
+
pathname: "/",
|
|
353
|
+
method: "POST",
|
|
354
|
+
authType: "AK",
|
|
355
|
+
style: "RPC",
|
|
356
|
+
reqBodyType: "formData",
|
|
357
|
+
bodyType: "json",
|
|
358
|
+
});
|
|
359
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchCreateDataLakePartitionsResponse({}));
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* Creates multiple partitions for a data lakehouse table.
|
|
363
|
+
*
|
|
364
|
+
* @param request - BatchCreateDataLakePartitionsRequest
|
|
365
|
+
* @returns BatchCreateDataLakePartitionsResponse
|
|
366
|
+
*/
|
|
367
|
+
async batchCreateDataLakePartitions(request) {
|
|
368
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
369
|
+
return await this.batchCreateDataLakePartitionsWithOptions(request, runtime);
|
|
370
|
+
}
|
|
304
371
|
/**
|
|
305
372
|
* CheckDataAgentMemoryConfig - Queries the memory generation and usage configuration of a DataAgent.
|
|
306
373
|
*
|
|
@@ -3330,6 +3397,45 @@ class Client extends openapi_core_1.default {
|
|
|
3330
3397
|
let runtime = new $dara.RuntimeOptions({});
|
|
3331
3398
|
return await this.getListMcpServerToolsResultWithOptions(request, runtime);
|
|
3332
3399
|
}
|
|
3400
|
+
/**
|
|
3401
|
+
* Retrieves the OAuth authorization URL required for the current user to bind a Lark account. After the user completes the authorization, the system automatically binds their Lark account.
|
|
3402
|
+
*
|
|
3403
|
+
* @param request - GetMyAgenticNotificationChannelAuthorizeUrlRequest
|
|
3404
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3405
|
+
* @returns GetMyAgenticNotificationChannelAuthorizeUrlResponse
|
|
3406
|
+
*/
|
|
3407
|
+
async getMyAgenticNotificationChannelAuthorizeUrlWithOptions(request, runtime) {
|
|
3408
|
+
request.validate();
|
|
3409
|
+
let query = {};
|
|
3410
|
+
if (!$dara.isNull(request.channel)) {
|
|
3411
|
+
query["Channel"] = request.channel;
|
|
3412
|
+
}
|
|
3413
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3414
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3415
|
+
});
|
|
3416
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3417
|
+
action: "GetMyAgenticNotificationChannelAuthorizeUrl",
|
|
3418
|
+
version: "2025-04-14",
|
|
3419
|
+
protocol: "HTTPS",
|
|
3420
|
+
pathname: "/",
|
|
3421
|
+
method: "POST",
|
|
3422
|
+
authType: "AK",
|
|
3423
|
+
style: "RPC",
|
|
3424
|
+
reqBodyType: "formData",
|
|
3425
|
+
bodyType: "json",
|
|
3426
|
+
});
|
|
3427
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMyAgenticNotificationChannelAuthorizeUrlResponse({}));
|
|
3428
|
+
}
|
|
3429
|
+
/**
|
|
3430
|
+
* Retrieves the OAuth authorization URL required for the current user to bind a Lark account. After the user completes the authorization, the system automatically binds their Lark account.
|
|
3431
|
+
*
|
|
3432
|
+
* @param request - GetMyAgenticNotificationChannelAuthorizeUrlRequest
|
|
3433
|
+
* @returns GetMyAgenticNotificationChannelAuthorizeUrlResponse
|
|
3434
|
+
*/
|
|
3435
|
+
async getMyAgenticNotificationChannelAuthorizeUrl(request) {
|
|
3436
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3437
|
+
return await this.getMyAgenticNotificationChannelAuthorizeUrlWithOptions(request, runtime);
|
|
3438
|
+
}
|
|
3333
3439
|
/**
|
|
3334
3440
|
* Submits a task to schedule and run a Notebook file.
|
|
3335
3441
|
*
|
|
@@ -5485,6 +5591,51 @@ class Client extends openapi_core_1.default {
|
|
|
5485
5591
|
let runtime = new $dara.RuntimeOptions({});
|
|
5486
5592
|
return await this.listKnowledgeBasesWithOptions(request, runtime);
|
|
5487
5593
|
}
|
|
5594
|
+
/**
|
|
5595
|
+
* Queries the personal notification channel configurations of the current user in the current tenant, including channel status and bound identity information.
|
|
5596
|
+
*
|
|
5597
|
+
* @param request - ListMyAgenticNotificationChannelConfigsRequest
|
|
5598
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5599
|
+
* @returns ListMyAgenticNotificationChannelConfigsResponse
|
|
5600
|
+
*/
|
|
5601
|
+
async listMyAgenticNotificationChannelConfigsWithOptions(request, runtime) {
|
|
5602
|
+
request.validate();
|
|
5603
|
+
let query = {};
|
|
5604
|
+
if (!$dara.isNull(request.channel)) {
|
|
5605
|
+
query["Channel"] = request.channel;
|
|
5606
|
+
}
|
|
5607
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5608
|
+
query["MaxResults"] = request.maxResults;
|
|
5609
|
+
}
|
|
5610
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5611
|
+
query["NextToken"] = request.nextToken;
|
|
5612
|
+
}
|
|
5613
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5614
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5615
|
+
});
|
|
5616
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5617
|
+
action: "ListMyAgenticNotificationChannelConfigs",
|
|
5618
|
+
version: "2025-04-14",
|
|
5619
|
+
protocol: "HTTPS",
|
|
5620
|
+
pathname: "/",
|
|
5621
|
+
method: "POST",
|
|
5622
|
+
authType: "AK",
|
|
5623
|
+
style: "RPC",
|
|
5624
|
+
reqBodyType: "formData",
|
|
5625
|
+
bodyType: "json",
|
|
5626
|
+
});
|
|
5627
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMyAgenticNotificationChannelConfigsResponse({}));
|
|
5628
|
+
}
|
|
5629
|
+
/**
|
|
5630
|
+
* Queries the personal notification channel configurations of the current user in the current tenant, including channel status and bound identity information.
|
|
5631
|
+
*
|
|
5632
|
+
* @param request - ListMyAgenticNotificationChannelConfigsRequest
|
|
5633
|
+
* @returns ListMyAgenticNotificationChannelConfigsResponse
|
|
5634
|
+
*/
|
|
5635
|
+
async listMyAgenticNotificationChannelConfigs(request) {
|
|
5636
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5637
|
+
return await this.listMyAgenticNotificationChannelConfigsWithOptions(request, runtime);
|
|
5638
|
+
}
|
|
5488
5639
|
/**
|
|
5489
5640
|
* Retrieves a list of OSSIE models.
|
|
5490
5641
|
*
|
|
@@ -6313,10 +6464,10 @@ class Client extends openapi_core_1.default {
|
|
|
6313
6464
|
*
|
|
6314
6465
|
* @remarks
|
|
6315
6466
|
* ## Request description
|
|
6316
|
-
* - The default value of
|
|
6317
|
-
* - The
|
|
6318
|
-
* - The
|
|
6319
|
-
* - You can use
|
|
6467
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
6468
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
6469
|
+
* - The question field is required when message_type is set to additional.
|
|
6470
|
+
* - You can use quoted_message to quote previous messages from the user.
|
|
6320
6471
|
*
|
|
6321
6472
|
* @param tmpReq - SendChatMessageRequest
|
|
6322
6473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6405,10 +6556,10 @@ class Client extends openapi_core_1.default {
|
|
|
6405
6556
|
*
|
|
6406
6557
|
* @remarks
|
|
6407
6558
|
* ## Request description
|
|
6408
|
-
* - The default value of
|
|
6409
|
-
* - The
|
|
6410
|
-
* - The
|
|
6411
|
-
* - You can use
|
|
6559
|
+
* - The default value of message_type is primary. Set this parameter to additional or cancel when you need to append information or cancel the session.
|
|
6560
|
+
* - The reply_to field specifies the agent message to which this message responds. The default value is 0.
|
|
6561
|
+
* - The question field is required when message_type is set to additional.
|
|
6562
|
+
* - You can use quoted_message to quote previous messages from the user.
|
|
6412
6563
|
*
|
|
6413
6564
|
* @param request - SendChatMessageRequest
|
|
6414
6565
|
* @returns SendChatMessageResponse
|
|
@@ -7318,6 +7469,51 @@ class Client extends openapi_core_1.default {
|
|
|
7318
7469
|
let runtime = new $dara.RuntimeOptions({});
|
|
7319
7470
|
return await this.updateKnowledgeBaseWithOptions(request, runtime);
|
|
7320
7471
|
}
|
|
7472
|
+
/**
|
|
7473
|
+
* Updates the notification channel switch or Lark account binding information for the current user.
|
|
7474
|
+
*
|
|
7475
|
+
* @param request - UpdateMyAgenticNotificationChannelConfigRequest
|
|
7476
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7477
|
+
* @returns UpdateMyAgenticNotificationChannelConfigResponse
|
|
7478
|
+
*/
|
|
7479
|
+
async updateMyAgenticNotificationChannelConfigWithOptions(request, runtime) {
|
|
7480
|
+
request.validate();
|
|
7481
|
+
let body = {};
|
|
7482
|
+
if (!$dara.isNull(request.channel)) {
|
|
7483
|
+
body["Channel"] = request.channel;
|
|
7484
|
+
}
|
|
7485
|
+
if (!$dara.isNull(request.config)) {
|
|
7486
|
+
body["Config"] = request.config;
|
|
7487
|
+
}
|
|
7488
|
+
if (!$dara.isNull(request.enabled)) {
|
|
7489
|
+
body["Enabled"] = request.enabled;
|
|
7490
|
+
}
|
|
7491
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7492
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7493
|
+
});
|
|
7494
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7495
|
+
action: "UpdateMyAgenticNotificationChannelConfig",
|
|
7496
|
+
version: "2025-04-14",
|
|
7497
|
+
protocol: "HTTPS",
|
|
7498
|
+
pathname: "/",
|
|
7499
|
+
method: "POST",
|
|
7500
|
+
authType: "AK",
|
|
7501
|
+
style: "RPC",
|
|
7502
|
+
reqBodyType: "formData",
|
|
7503
|
+
bodyType: "json",
|
|
7504
|
+
});
|
|
7505
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMyAgenticNotificationChannelConfigResponse({}));
|
|
7506
|
+
}
|
|
7507
|
+
/**
|
|
7508
|
+
* Updates the notification channel switch or Lark account binding information for the current user.
|
|
7509
|
+
*
|
|
7510
|
+
* @param request - UpdateMyAgenticNotificationChannelConfigRequest
|
|
7511
|
+
* @returns UpdateMyAgenticNotificationChannelConfigResponse
|
|
7512
|
+
*/
|
|
7513
|
+
async updateMyAgenticNotificationChannelConfig(request) {
|
|
7514
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7515
|
+
return await this.updateMyAgenticNotificationChannelConfigWithOptions(request, runtime);
|
|
7516
|
+
}
|
|
7321
7517
|
/**
|
|
7322
7518
|
* Updates an SQL template.
|
|
7323
7519
|
*
|