@alicloud/dms20250414 1.8.0 → 1.9.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 +90 -0
- package/dist/client.js +382 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +0 -2
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.js +0 -2
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +128 -0
- package/dist/models/CreateCustomAgentRequest.js +190 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +239 -0
- package/dist/models/CreateCustomAgentResponseBody.js +250 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +34 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +82 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentRequest.d.ts +26 -0
- package/dist/models/DeleteCustomAgentRequest.js +60 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +64 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +92 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +18 -0
- package/dist/models/DescribeCustomAgentResponseBody.js +33 -1
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +18 -0
- package/dist/models/ListCustomAgentResponseBody.js +33 -1
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListDataCenterDatabaseRequest.d.ts +30 -0
- package/dist/models/ListDataCenterDatabaseRequest.js +66 -0
- package/dist/models/ListDataCenterDatabaseRequest.js.map +1 -0
- package/dist/models/ListDataCenterDatabaseResponse.d.ts +19 -0
- package/dist/models/ListDataCenterDatabaseResponse.js +69 -0
- package/dist/models/ListDataCenterDatabaseResponse.js.map +1 -0
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +105 -0
- package/dist/models/ListDataCenterDatabaseResponseBody.js +110 -0
- package/dist/models/ListDataCenterDatabaseResponseBody.js.map +1 -0
- package/dist/models/ListDataCenterTableRequest.d.ts +54 -0
- package/dist/models/ListDataCenterTableRequest.js +74 -0
- package/dist/models/ListDataCenterTableRequest.js.map +1 -0
- package/dist/models/ListDataCenterTableResponse.d.ts +19 -0
- package/dist/models/ListDataCenterTableResponse.js +69 -0
- package/dist/models/ListDataCenterTableResponse.js.map +1 -0
- package/dist/models/ListDataCenterTableResponseBody.d.ts +128 -0
- package/dist/models/ListDataCenterTableResponseBody.js +136 -0
- package/dist/models/ListDataCenterTableResponseBody.js.map +1 -0
- package/dist/models/ModifyCustomAgentRequest.d.ts +136 -0
- package/dist/models/ModifyCustomAgentRequest.js +192 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -0
- package/dist/models/ModifyCustomAgentResponse.d.ts +19 -0
- package/dist/models/ModifyCustomAgentResponse.js +69 -0
- package/dist/models/ModifyCustomAgentResponse.js.map +1 -0
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +239 -0
- package/dist/models/ModifyCustomAgentResponseBody.js +250 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +42 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js +84 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/OpenClawInstanceVo.d.ts +53 -0
- package/dist/models/OpenClawInstanceVo.js +130 -0
- package/dist/models/OpenClawInstanceVo.js.map +1 -0
- package/dist/models/OperateCustomAgentRequest.d.ts +34 -0
- package/dist/models/OperateCustomAgentRequest.js +62 -0
- package/dist/models/OperateCustomAgentRequest.js.map +1 -0
- package/dist/models/OperateCustomAgentResponse.d.ts +19 -0
- package/dist/models/OperateCustomAgentResponse.js +69 -0
- package/dist/models/OperateCustomAgentResponse.js.map +1 -0
- package/dist/models/OperateCustomAgentResponseBody.d.ts +64 -0
- package/dist/models/OperateCustomAgentResponseBody.js +92 -0
- package/dist/models/OperateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +47 -0
- package/dist/models/model.js +114 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +448 -0
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +0 -2
- package/src/models/CreateCustomAgentRequest.ts +237 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +399 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +71 -0
- package/src/models/DeleteCustomAgentRequest.ts +41 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +102 -0
- package/src/models/DescribeCustomAgentResponseBody.ts +41 -0
- package/src/models/ListCustomAgentResponseBody.ts +41 -0
- package/src/models/ListDataCenterDatabaseRequest.ts +51 -0
- package/src/models/ListDataCenterDatabaseResponse.ts +40 -0
- package/src/models/ListDataCenterDatabaseResponseBody.ts +161 -0
- package/src/models/ListDataCenterTableRequest.ts +83 -0
- package/src/models/ListDataCenterTableResponse.ts +40 -0
- package/src/models/ListDataCenterTableResponseBody.ts +201 -0
- package/src/models/ModifyCustomAgentRequest.ts +247 -0
- package/src/models/ModifyCustomAgentResponse.ts +40 -0
- package/src/models/ModifyCustomAgentResponseBody.ts +399 -0
- package/src/models/ModifyCustomAgentShrinkRequest.ts +81 -0
- package/src/models/OpenClawInstanceVo.ts +127 -0
- package/src/models/OperateCustomAgentRequest.ts +51 -0
- package/src/models/OperateCustomAgentResponse.ts +40 -0
- package/src/models/OperateCustomAgentResponseBody.ts +102 -0
- package/src/models/model.ts +47 -0
package/dist/client.d.ts
CHANGED
|
@@ -98,6 +98,21 @@ export default class Client extends OpenApi {
|
|
|
98
98
|
* @returns CreateAirflowLoginTokenResponse
|
|
99
99
|
*/
|
|
100
100
|
createAirflowLoginToken(request: $_model.CreateAirflowLoginTokenRequest): Promise<$_model.CreateAirflowLoginTokenResponse>;
|
|
101
|
+
/**
|
|
102
|
+
* CreateCustomAgent
|
|
103
|
+
*
|
|
104
|
+
* @param tmpReq - CreateCustomAgentRequest
|
|
105
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
106
|
+
* @returns CreateCustomAgentResponse
|
|
107
|
+
*/
|
|
108
|
+
createCustomAgentWithOptions(tmpReq: $_model.CreateCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateCustomAgentResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* CreateCustomAgent
|
|
111
|
+
*
|
|
112
|
+
* @param request - CreateCustomAgentRequest
|
|
113
|
+
* @returns CreateCustomAgentResponse
|
|
114
|
+
*/
|
|
115
|
+
createCustomAgent(request: $_model.CreateCustomAgentRequest): Promise<$_model.CreateCustomAgentResponse>;
|
|
101
116
|
/**
|
|
102
117
|
* CreateDataAgentSession
|
|
103
118
|
*
|
|
@@ -203,6 +218,21 @@ export default class Client extends OpenApi {
|
|
|
203
218
|
* @returns DeleteAirflowResponse
|
|
204
219
|
*/
|
|
205
220
|
deleteAirflow(request: $_model.DeleteAirflowRequest): Promise<$_model.DeleteAirflowResponse>;
|
|
221
|
+
/**
|
|
222
|
+
* DeleteCustomAgent
|
|
223
|
+
*
|
|
224
|
+
* @param request - DeleteCustomAgentRequest
|
|
225
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
226
|
+
* @returns DeleteCustomAgentResponse
|
|
227
|
+
*/
|
|
228
|
+
deleteCustomAgentWithOptions(request: $_model.DeleteCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteCustomAgentResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* DeleteCustomAgent
|
|
231
|
+
*
|
|
232
|
+
* @param request - DeleteCustomAgentRequest
|
|
233
|
+
* @returns DeleteCustomAgentResponse
|
|
234
|
+
*/
|
|
235
|
+
deleteCustomAgent(request: $_model.DeleteCustomAgentRequest): Promise<$_model.DeleteCustomAgentResponse>;
|
|
206
236
|
/**
|
|
207
237
|
* 删除DataAgent工作空间
|
|
208
238
|
*
|
|
@@ -601,6 +631,36 @@ export default class Client extends OpenApi {
|
|
|
601
631
|
* @returns ListDataAgentWorkspaceMemberResponse
|
|
602
632
|
*/
|
|
603
633
|
listDataAgentWorkspaceMember(request: $_model.ListDataAgentWorkspaceMemberRequest): Promise<$_model.ListDataAgentWorkspaceMemberResponse>;
|
|
634
|
+
/**
|
|
635
|
+
* ListDataCenterDatabase
|
|
636
|
+
*
|
|
637
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
638
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
639
|
+
* @returns ListDataCenterDatabaseResponse
|
|
640
|
+
*/
|
|
641
|
+
listDataCenterDatabaseWithOptions(request: $_model.ListDataCenterDatabaseRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDataCenterDatabaseResponse>;
|
|
642
|
+
/**
|
|
643
|
+
* ListDataCenterDatabase
|
|
644
|
+
*
|
|
645
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
646
|
+
* @returns ListDataCenterDatabaseResponse
|
|
647
|
+
*/
|
|
648
|
+
listDataCenterDatabase(request: $_model.ListDataCenterDatabaseRequest): Promise<$_model.ListDataCenterDatabaseResponse>;
|
|
649
|
+
/**
|
|
650
|
+
* ListDataCenterTable
|
|
651
|
+
*
|
|
652
|
+
* @param request - ListDataCenterTableRequest
|
|
653
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
654
|
+
* @returns ListDataCenterTableResponse
|
|
655
|
+
*/
|
|
656
|
+
listDataCenterTableWithOptions(request: $_model.ListDataCenterTableRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDataCenterTableResponse>;
|
|
657
|
+
/**
|
|
658
|
+
* ListDataCenterTable
|
|
659
|
+
*
|
|
660
|
+
* @param request - ListDataCenterTableRequest
|
|
661
|
+
* @returns ListDataCenterTableResponse
|
|
662
|
+
*/
|
|
663
|
+
listDataCenterTable(request: $_model.ListDataCenterTableRequest): Promise<$_model.ListDataCenterTableResponse>;
|
|
604
664
|
/**
|
|
605
665
|
* 获取uc的数据库目录列表
|
|
606
666
|
*
|
|
@@ -766,6 +826,36 @@ export default class Client extends OpenApi {
|
|
|
766
826
|
* @returns ListFileUploadResponse
|
|
767
827
|
*/
|
|
768
828
|
listFileUpload(request: $_model.ListFileUploadRequest): Promise<$_model.ListFileUploadResponse>;
|
|
829
|
+
/**
|
|
830
|
+
* ModifyCustomAgent
|
|
831
|
+
*
|
|
832
|
+
* @param tmpReq - ModifyCustomAgentRequest
|
|
833
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
834
|
+
* @returns ModifyCustomAgentResponse
|
|
835
|
+
*/
|
|
836
|
+
modifyCustomAgentWithOptions(tmpReq: $_model.ModifyCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyCustomAgentResponse>;
|
|
837
|
+
/**
|
|
838
|
+
* ModifyCustomAgent
|
|
839
|
+
*
|
|
840
|
+
* @param request - ModifyCustomAgentRequest
|
|
841
|
+
* @returns ModifyCustomAgentResponse
|
|
842
|
+
*/
|
|
843
|
+
modifyCustomAgent(request: $_model.ModifyCustomAgentRequest): Promise<$_model.ModifyCustomAgentResponse>;
|
|
844
|
+
/**
|
|
845
|
+
* OperateCustomAgent
|
|
846
|
+
*
|
|
847
|
+
* @param request - OperateCustomAgentRequest
|
|
848
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
849
|
+
* @returns OperateCustomAgentResponse
|
|
850
|
+
*/
|
|
851
|
+
operateCustomAgentWithOptions(request: $_model.OperateCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.OperateCustomAgentResponse>;
|
|
852
|
+
/**
|
|
853
|
+
* OperateCustomAgent
|
|
854
|
+
*
|
|
855
|
+
* @param request - OperateCustomAgentRequest
|
|
856
|
+
* @returns OperateCustomAgentResponse
|
|
857
|
+
*/
|
|
858
|
+
operateCustomAgent(request: $_model.OperateCustomAgentRequest): Promise<$_model.OperateCustomAgentResponse>;
|
|
769
859
|
/**
|
|
770
860
|
* 从空间中移除用户
|
|
771
861
|
*
|
package/dist/client.js
CHANGED
|
@@ -437,6 +437,95 @@ class Client extends openapi_core_1.default {
|
|
|
437
437
|
let runtime = new $dara.RuntimeOptions({});
|
|
438
438
|
return await this.createAirflowLoginTokenWithOptions(request, runtime);
|
|
439
439
|
}
|
|
440
|
+
/**
|
|
441
|
+
* CreateCustomAgent
|
|
442
|
+
*
|
|
443
|
+
* @param tmpReq - CreateCustomAgentRequest
|
|
444
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
445
|
+
* @returns CreateCustomAgentResponse
|
|
446
|
+
*/
|
|
447
|
+
async createCustomAgentWithOptions(tmpReq, runtime) {
|
|
448
|
+
tmpReq.validate();
|
|
449
|
+
let request = new $_model.CreateCustomAgentShrinkRequest({});
|
|
450
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
451
|
+
if (!$dara.isNull(tmpReq.callbackConfig)) {
|
|
452
|
+
request.callbackConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.callbackConfig, "CallbackConfig", "json");
|
|
453
|
+
}
|
|
454
|
+
if (!$dara.isNull(tmpReq.executionConfig)) {
|
|
455
|
+
request.executionConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executionConfig, "ExecutionConfig", "json");
|
|
456
|
+
}
|
|
457
|
+
if (!$dara.isNull(tmpReq.knowledgeConfigList)) {
|
|
458
|
+
request.knowledgeConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeConfigList, "KnowledgeConfigList", "json");
|
|
459
|
+
}
|
|
460
|
+
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
461
|
+
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
462
|
+
}
|
|
463
|
+
let query = {};
|
|
464
|
+
if (!$dara.isNull(request.callbackConfigShrink)) {
|
|
465
|
+
query["CallbackConfig"] = request.callbackConfigShrink;
|
|
466
|
+
}
|
|
467
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
468
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
469
|
+
}
|
|
470
|
+
if (!$dara.isNull(request.dataJson)) {
|
|
471
|
+
query["DataJson"] = request.dataJson;
|
|
472
|
+
}
|
|
473
|
+
if (!$dara.isNull(request.description)) {
|
|
474
|
+
query["Description"] = request.description;
|
|
475
|
+
}
|
|
476
|
+
if (!$dara.isNull(request.executionConfigShrink)) {
|
|
477
|
+
query["ExecutionConfig"] = request.executionConfigShrink;
|
|
478
|
+
}
|
|
479
|
+
if (!$dara.isNull(request.instruction)) {
|
|
480
|
+
query["Instruction"] = request.instruction;
|
|
481
|
+
}
|
|
482
|
+
if (!$dara.isNull(request.knowledge)) {
|
|
483
|
+
query["Knowledge"] = request.knowledge;
|
|
484
|
+
}
|
|
485
|
+
if (!$dara.isNull(request.knowledgeConfigListShrink)) {
|
|
486
|
+
query["KnowledgeConfigList"] = request.knowledgeConfigListShrink;
|
|
487
|
+
}
|
|
488
|
+
if (!$dara.isNull(request.name)) {
|
|
489
|
+
query["Name"] = request.name;
|
|
490
|
+
}
|
|
491
|
+
if (!$dara.isNull(request.scheduleTaskConfigShrink)) {
|
|
492
|
+
query["ScheduleTaskConfig"] = request.scheduleTaskConfigShrink;
|
|
493
|
+
}
|
|
494
|
+
if (!$dara.isNull(request.textReportConfig)) {
|
|
495
|
+
query["TextReportConfig"] = request.textReportConfig;
|
|
496
|
+
}
|
|
497
|
+
if (!$dara.isNull(request.webReportConfig)) {
|
|
498
|
+
query["WebReportConfig"] = request.webReportConfig;
|
|
499
|
+
}
|
|
500
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
501
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
502
|
+
}
|
|
503
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
504
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
505
|
+
});
|
|
506
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
507
|
+
action: "CreateCustomAgent",
|
|
508
|
+
version: "2025-04-14",
|
|
509
|
+
protocol: "HTTPS",
|
|
510
|
+
pathname: "/",
|
|
511
|
+
method: "POST",
|
|
512
|
+
authType: "AK",
|
|
513
|
+
style: "RPC",
|
|
514
|
+
reqBodyType: "formData",
|
|
515
|
+
bodyType: "json",
|
|
516
|
+
});
|
|
517
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAgentResponse({}));
|
|
518
|
+
}
|
|
519
|
+
/**
|
|
520
|
+
* CreateCustomAgent
|
|
521
|
+
*
|
|
522
|
+
* @param request - CreateCustomAgentRequest
|
|
523
|
+
* @returns CreateCustomAgentResponse
|
|
524
|
+
*/
|
|
525
|
+
async createCustomAgent(request) {
|
|
526
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
527
|
+
return await this.createCustomAgentWithOptions(request, runtime);
|
|
528
|
+
}
|
|
440
529
|
/**
|
|
441
530
|
* CreateDataAgentSession
|
|
442
531
|
*
|
|
@@ -828,6 +917,48 @@ class Client extends openapi_core_1.default {
|
|
|
828
917
|
let runtime = new $dara.RuntimeOptions({});
|
|
829
918
|
return await this.deleteAirflowWithOptions(request, runtime);
|
|
830
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* DeleteCustomAgent
|
|
922
|
+
*
|
|
923
|
+
* @param request - DeleteCustomAgentRequest
|
|
924
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
925
|
+
* @returns DeleteCustomAgentResponse
|
|
926
|
+
*/
|
|
927
|
+
async deleteCustomAgentWithOptions(request, runtime) {
|
|
928
|
+
request.validate();
|
|
929
|
+
let query = {};
|
|
930
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
931
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
932
|
+
}
|
|
933
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
934
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
935
|
+
}
|
|
936
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
937
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
938
|
+
});
|
|
939
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
940
|
+
action: "DeleteCustomAgent",
|
|
941
|
+
version: "2025-04-14",
|
|
942
|
+
protocol: "HTTPS",
|
|
943
|
+
pathname: "/",
|
|
944
|
+
method: "POST",
|
|
945
|
+
authType: "AK",
|
|
946
|
+
style: "RPC",
|
|
947
|
+
reqBodyType: "formData",
|
|
948
|
+
bodyType: "json",
|
|
949
|
+
});
|
|
950
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomAgentResponse({}));
|
|
951
|
+
}
|
|
952
|
+
/**
|
|
953
|
+
* DeleteCustomAgent
|
|
954
|
+
*
|
|
955
|
+
* @param request - DeleteCustomAgentRequest
|
|
956
|
+
* @returns DeleteCustomAgentResponse
|
|
957
|
+
*/
|
|
958
|
+
async deleteCustomAgent(request) {
|
|
959
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
960
|
+
return await this.deleteCustomAgentWithOptions(request, runtime);
|
|
961
|
+
}
|
|
831
962
|
/**
|
|
832
963
|
* 删除DataAgent工作空间
|
|
833
964
|
*
|
|
@@ -2198,6 +2329,120 @@ class Client extends openapi_core_1.default {
|
|
|
2198
2329
|
let runtime = new $dara.RuntimeOptions({});
|
|
2199
2330
|
return await this.listDataAgentWorkspaceMemberWithOptions(request, runtime);
|
|
2200
2331
|
}
|
|
2332
|
+
/**
|
|
2333
|
+
* ListDataCenterDatabase
|
|
2334
|
+
*
|
|
2335
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
2336
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2337
|
+
* @returns ListDataCenterDatabaseResponse
|
|
2338
|
+
*/
|
|
2339
|
+
async listDataCenterDatabaseWithOptions(request, runtime) {
|
|
2340
|
+
request.validate();
|
|
2341
|
+
let query = {};
|
|
2342
|
+
if (!$dara.isNull(request.callFrom)) {
|
|
2343
|
+
query["CallFrom"] = request.callFrom;
|
|
2344
|
+
}
|
|
2345
|
+
if (!$dara.isNull(request.dmsUnit)) {
|
|
2346
|
+
query["DmsUnit"] = request.dmsUnit;
|
|
2347
|
+
}
|
|
2348
|
+
if (!$dara.isNull(request.importType)) {
|
|
2349
|
+
query["ImportType"] = request.importType;
|
|
2350
|
+
}
|
|
2351
|
+
if (!$dara.isNull(request.language)) {
|
|
2352
|
+
query["Language"] = request.language;
|
|
2353
|
+
}
|
|
2354
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
2355
|
+
query["SearchKey"] = request.searchKey;
|
|
2356
|
+
}
|
|
2357
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2358
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2359
|
+
});
|
|
2360
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2361
|
+
action: "ListDataCenterDatabase",
|
|
2362
|
+
version: "2025-04-14",
|
|
2363
|
+
protocol: "HTTPS",
|
|
2364
|
+
pathname: "/",
|
|
2365
|
+
method: "POST",
|
|
2366
|
+
authType: "AK",
|
|
2367
|
+
style: "RPC",
|
|
2368
|
+
reqBodyType: "formData",
|
|
2369
|
+
bodyType: "json",
|
|
2370
|
+
});
|
|
2371
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataCenterDatabaseResponse({}));
|
|
2372
|
+
}
|
|
2373
|
+
/**
|
|
2374
|
+
* ListDataCenterDatabase
|
|
2375
|
+
*
|
|
2376
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
2377
|
+
* @returns ListDataCenterDatabaseResponse
|
|
2378
|
+
*/
|
|
2379
|
+
async listDataCenterDatabase(request) {
|
|
2380
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2381
|
+
return await this.listDataCenterDatabaseWithOptions(request, runtime);
|
|
2382
|
+
}
|
|
2383
|
+
/**
|
|
2384
|
+
* ListDataCenterTable
|
|
2385
|
+
*
|
|
2386
|
+
* @param request - ListDataCenterTableRequest
|
|
2387
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2388
|
+
* @returns ListDataCenterTableResponse
|
|
2389
|
+
*/
|
|
2390
|
+
async listDataCenterTableWithOptions(request, runtime) {
|
|
2391
|
+
request.validate();
|
|
2392
|
+
let query = {};
|
|
2393
|
+
if (!$dara.isNull(request.callFrom)) {
|
|
2394
|
+
query["CallFrom"] = request.callFrom;
|
|
2395
|
+
}
|
|
2396
|
+
if (!$dara.isNull(request.databaseName)) {
|
|
2397
|
+
query["DatabaseName"] = request.databaseName;
|
|
2398
|
+
}
|
|
2399
|
+
if (!$dara.isNull(request.dmsUnit)) {
|
|
2400
|
+
query["DmsUnit"] = request.dmsUnit;
|
|
2401
|
+
}
|
|
2402
|
+
if (!$dara.isNull(request.importType)) {
|
|
2403
|
+
query["ImportType"] = request.importType;
|
|
2404
|
+
}
|
|
2405
|
+
if (!$dara.isNull(request.instanceName)) {
|
|
2406
|
+
query["InstanceName"] = request.instanceName;
|
|
2407
|
+
}
|
|
2408
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2409
|
+
query["PageNumber"] = request.pageNumber;
|
|
2410
|
+
}
|
|
2411
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2412
|
+
query["PageSize"] = request.pageSize;
|
|
2413
|
+
}
|
|
2414
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
2415
|
+
query["SearchKey"] = request.searchKey;
|
|
2416
|
+
}
|
|
2417
|
+
if (!$dara.isNull(request.tableName)) {
|
|
2418
|
+
query["TableName"] = request.tableName;
|
|
2419
|
+
}
|
|
2420
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2421
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2422
|
+
});
|
|
2423
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2424
|
+
action: "ListDataCenterTable",
|
|
2425
|
+
version: "2025-04-14",
|
|
2426
|
+
protocol: "HTTPS",
|
|
2427
|
+
pathname: "/",
|
|
2428
|
+
method: "POST",
|
|
2429
|
+
authType: "AK",
|
|
2430
|
+
style: "RPC",
|
|
2431
|
+
reqBodyType: "formData",
|
|
2432
|
+
bodyType: "json",
|
|
2433
|
+
});
|
|
2434
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataCenterTableResponse({}));
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* ListDataCenterTable
|
|
2438
|
+
*
|
|
2439
|
+
* @param request - ListDataCenterTableRequest
|
|
2440
|
+
* @returns ListDataCenterTableResponse
|
|
2441
|
+
*/
|
|
2442
|
+
async listDataCenterTable(request) {
|
|
2443
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2444
|
+
return await this.listDataCenterTableWithOptions(request, runtime);
|
|
2445
|
+
}
|
|
2201
2446
|
/**
|
|
2202
2447
|
* 获取uc的数据库目录列表
|
|
2203
2448
|
*
|
|
@@ -2834,6 +3079,143 @@ class Client extends openapi_core_1.default {
|
|
|
2834
3079
|
let runtime = new $dara.RuntimeOptions({});
|
|
2835
3080
|
return await this.listFileUploadWithOptions(request, runtime);
|
|
2836
3081
|
}
|
|
3082
|
+
/**
|
|
3083
|
+
* ModifyCustomAgent
|
|
3084
|
+
*
|
|
3085
|
+
* @param tmpReq - ModifyCustomAgentRequest
|
|
3086
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3087
|
+
* @returns ModifyCustomAgentResponse
|
|
3088
|
+
*/
|
|
3089
|
+
async modifyCustomAgentWithOptions(tmpReq, runtime) {
|
|
3090
|
+
tmpReq.validate();
|
|
3091
|
+
let request = new $_model.ModifyCustomAgentShrinkRequest({});
|
|
3092
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3093
|
+
if (!$dara.isNull(tmpReq.callbackConfig)) {
|
|
3094
|
+
request.callbackConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.callbackConfig, "CallbackConfig", "json");
|
|
3095
|
+
}
|
|
3096
|
+
if (!$dara.isNull(tmpReq.executionConfig)) {
|
|
3097
|
+
request.executionConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executionConfig, "ExecutionConfig", "json");
|
|
3098
|
+
}
|
|
3099
|
+
if (!$dara.isNull(tmpReq.knowledgeConfigList)) {
|
|
3100
|
+
request.knowledgeConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeConfigList, "KnowledgeConfigList", "json");
|
|
3101
|
+
}
|
|
3102
|
+
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
3103
|
+
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
3104
|
+
}
|
|
3105
|
+
let query = {};
|
|
3106
|
+
if (!$dara.isNull(request.callbackConfigShrink)) {
|
|
3107
|
+
query["CallbackConfig"] = request.callbackConfigShrink;
|
|
3108
|
+
}
|
|
3109
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
3110
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
3111
|
+
}
|
|
3112
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
3113
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
3114
|
+
}
|
|
3115
|
+
if (!$dara.isNull(request.dataJson)) {
|
|
3116
|
+
query["DataJson"] = request.dataJson;
|
|
3117
|
+
}
|
|
3118
|
+
if (!$dara.isNull(request.description)) {
|
|
3119
|
+
query["Description"] = request.description;
|
|
3120
|
+
}
|
|
3121
|
+
if (!$dara.isNull(request.executionConfigShrink)) {
|
|
3122
|
+
query["ExecutionConfig"] = request.executionConfigShrink;
|
|
3123
|
+
}
|
|
3124
|
+
if (!$dara.isNull(request.instruction)) {
|
|
3125
|
+
query["Instruction"] = request.instruction;
|
|
3126
|
+
}
|
|
3127
|
+
if (!$dara.isNull(request.knowledge)) {
|
|
3128
|
+
query["Knowledge"] = request.knowledge;
|
|
3129
|
+
}
|
|
3130
|
+
if (!$dara.isNull(request.knowledgeConfigListShrink)) {
|
|
3131
|
+
query["KnowledgeConfigList"] = request.knowledgeConfigListShrink;
|
|
3132
|
+
}
|
|
3133
|
+
if (!$dara.isNull(request.name)) {
|
|
3134
|
+
query["Name"] = request.name;
|
|
3135
|
+
}
|
|
3136
|
+
if (!$dara.isNull(request.scheduleTaskConfigShrink)) {
|
|
3137
|
+
query["ScheduleTaskConfig"] = request.scheduleTaskConfigShrink;
|
|
3138
|
+
}
|
|
3139
|
+
if (!$dara.isNull(request.textReportConfig)) {
|
|
3140
|
+
query["TextReportConfig"] = request.textReportConfig;
|
|
3141
|
+
}
|
|
3142
|
+
if (!$dara.isNull(request.webReportConfig)) {
|
|
3143
|
+
query["WebReportConfig"] = request.webReportConfig;
|
|
3144
|
+
}
|
|
3145
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3146
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3147
|
+
}
|
|
3148
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3149
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3150
|
+
});
|
|
3151
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3152
|
+
action: "ModifyCustomAgent",
|
|
3153
|
+
version: "2025-04-14",
|
|
3154
|
+
protocol: "HTTPS",
|
|
3155
|
+
pathname: "/",
|
|
3156
|
+
method: "POST",
|
|
3157
|
+
authType: "AK",
|
|
3158
|
+
style: "RPC",
|
|
3159
|
+
reqBodyType: "formData",
|
|
3160
|
+
bodyType: "json",
|
|
3161
|
+
});
|
|
3162
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCustomAgentResponse({}));
|
|
3163
|
+
}
|
|
3164
|
+
/**
|
|
3165
|
+
* ModifyCustomAgent
|
|
3166
|
+
*
|
|
3167
|
+
* @param request - ModifyCustomAgentRequest
|
|
3168
|
+
* @returns ModifyCustomAgentResponse
|
|
3169
|
+
*/
|
|
3170
|
+
async modifyCustomAgent(request) {
|
|
3171
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3172
|
+
return await this.modifyCustomAgentWithOptions(request, runtime);
|
|
3173
|
+
}
|
|
3174
|
+
/**
|
|
3175
|
+
* OperateCustomAgent
|
|
3176
|
+
*
|
|
3177
|
+
* @param request - OperateCustomAgentRequest
|
|
3178
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3179
|
+
* @returns OperateCustomAgentResponse
|
|
3180
|
+
*/
|
|
3181
|
+
async operateCustomAgentWithOptions(request, runtime) {
|
|
3182
|
+
request.validate();
|
|
3183
|
+
let query = {};
|
|
3184
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
3185
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
3186
|
+
}
|
|
3187
|
+
if (!$dara.isNull(request.operateType)) {
|
|
3188
|
+
query["OperateType"] = request.operateType;
|
|
3189
|
+
}
|
|
3190
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3191
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3192
|
+
}
|
|
3193
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3194
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3195
|
+
});
|
|
3196
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3197
|
+
action: "OperateCustomAgent",
|
|
3198
|
+
version: "2025-04-14",
|
|
3199
|
+
protocol: "HTTPS",
|
|
3200
|
+
pathname: "/",
|
|
3201
|
+
method: "POST",
|
|
3202
|
+
authType: "AK",
|
|
3203
|
+
style: "RPC",
|
|
3204
|
+
reqBodyType: "formData",
|
|
3205
|
+
bodyType: "json",
|
|
3206
|
+
});
|
|
3207
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OperateCustomAgentResponse({}));
|
|
3208
|
+
}
|
|
3209
|
+
/**
|
|
3210
|
+
* OperateCustomAgent
|
|
3211
|
+
*
|
|
3212
|
+
* @param request - OperateCustomAgentRequest
|
|
3213
|
+
* @returns OperateCustomAgentResponse
|
|
3214
|
+
*/
|
|
3215
|
+
async operateCustomAgent(request) {
|
|
3216
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3217
|
+
return await this.operateCustomAgentWithOptions(request, runtime);
|
|
3218
|
+
}
|
|
2837
3219
|
/**
|
|
2838
3220
|
* 从空间中移除用户
|
|
2839
3221
|
*
|