@alicloud/dms20250414 1.8.0 → 1.9.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 +90 -0
- package/dist/client.js +370 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +110 -0
- package/dist/models/CreateCustomAgentRequest.js +158 -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 +221 -0
- package/dist/models/CreateCustomAgentResponseBody.js +218 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +33 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +80 -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/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 +118 -0
- package/dist/models/ModifyCustomAgentRequest.js +160 -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 +221 -0
- package/dist/models/ModifyCustomAgentResponseBody.js +218 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +41 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js +82 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.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 +39 -0
- package/dist/models/model.js +84 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +432 -0
- package/src/models/CreateCustomAgentRequest.ts +196 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +358 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +68 -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/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 +206 -0
- package/src/models/ModifyCustomAgentResponse.ts +40 -0
- package/src/models/ModifyCustomAgentResponseBody.ts +358 -0
- package/src/models/ModifyCustomAgentShrinkRequest.ts +78 -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 +39 -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,89 @@ 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.executionConfig)) {
|
|
452
|
+
request.executionConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executionConfig, "ExecutionConfig", "json");
|
|
453
|
+
}
|
|
454
|
+
if (!$dara.isNull(tmpReq.knowledgeConfigList)) {
|
|
455
|
+
request.knowledgeConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeConfigList, "KnowledgeConfigList", "json");
|
|
456
|
+
}
|
|
457
|
+
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
458
|
+
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
459
|
+
}
|
|
460
|
+
let query = {};
|
|
461
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
462
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
463
|
+
}
|
|
464
|
+
if (!$dara.isNull(request.dataJson)) {
|
|
465
|
+
query["DataJson"] = request.dataJson;
|
|
466
|
+
}
|
|
467
|
+
if (!$dara.isNull(request.description)) {
|
|
468
|
+
query["Description"] = request.description;
|
|
469
|
+
}
|
|
470
|
+
if (!$dara.isNull(request.executionConfigShrink)) {
|
|
471
|
+
query["ExecutionConfig"] = request.executionConfigShrink;
|
|
472
|
+
}
|
|
473
|
+
if (!$dara.isNull(request.instruction)) {
|
|
474
|
+
query["Instruction"] = request.instruction;
|
|
475
|
+
}
|
|
476
|
+
if (!$dara.isNull(request.knowledge)) {
|
|
477
|
+
query["Knowledge"] = request.knowledge;
|
|
478
|
+
}
|
|
479
|
+
if (!$dara.isNull(request.knowledgeConfigListShrink)) {
|
|
480
|
+
query["KnowledgeConfigList"] = request.knowledgeConfigListShrink;
|
|
481
|
+
}
|
|
482
|
+
if (!$dara.isNull(request.name)) {
|
|
483
|
+
query["Name"] = request.name;
|
|
484
|
+
}
|
|
485
|
+
if (!$dara.isNull(request.scheduleTaskConfigShrink)) {
|
|
486
|
+
query["ScheduleTaskConfig"] = request.scheduleTaskConfigShrink;
|
|
487
|
+
}
|
|
488
|
+
if (!$dara.isNull(request.textReportConfig)) {
|
|
489
|
+
query["TextReportConfig"] = request.textReportConfig;
|
|
490
|
+
}
|
|
491
|
+
if (!$dara.isNull(request.webReportConfig)) {
|
|
492
|
+
query["WebReportConfig"] = request.webReportConfig;
|
|
493
|
+
}
|
|
494
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
495
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
496
|
+
}
|
|
497
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
498
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
499
|
+
});
|
|
500
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
501
|
+
action: "CreateCustomAgent",
|
|
502
|
+
version: "2025-04-14",
|
|
503
|
+
protocol: "HTTPS",
|
|
504
|
+
pathname: "/",
|
|
505
|
+
method: "POST",
|
|
506
|
+
authType: "AK",
|
|
507
|
+
style: "RPC",
|
|
508
|
+
reqBodyType: "formData",
|
|
509
|
+
bodyType: "json",
|
|
510
|
+
});
|
|
511
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAgentResponse({}));
|
|
512
|
+
}
|
|
513
|
+
/**
|
|
514
|
+
* CreateCustomAgent
|
|
515
|
+
*
|
|
516
|
+
* @param request - CreateCustomAgentRequest
|
|
517
|
+
* @returns CreateCustomAgentResponse
|
|
518
|
+
*/
|
|
519
|
+
async createCustomAgent(request) {
|
|
520
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
521
|
+
return await this.createCustomAgentWithOptions(request, runtime);
|
|
522
|
+
}
|
|
440
523
|
/**
|
|
441
524
|
* CreateDataAgentSession
|
|
442
525
|
*
|
|
@@ -828,6 +911,48 @@ class Client extends openapi_core_1.default {
|
|
|
828
911
|
let runtime = new $dara.RuntimeOptions({});
|
|
829
912
|
return await this.deleteAirflowWithOptions(request, runtime);
|
|
830
913
|
}
|
|
914
|
+
/**
|
|
915
|
+
* DeleteCustomAgent
|
|
916
|
+
*
|
|
917
|
+
* @param request - DeleteCustomAgentRequest
|
|
918
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
919
|
+
* @returns DeleteCustomAgentResponse
|
|
920
|
+
*/
|
|
921
|
+
async deleteCustomAgentWithOptions(request, runtime) {
|
|
922
|
+
request.validate();
|
|
923
|
+
let query = {};
|
|
924
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
925
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
926
|
+
}
|
|
927
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
928
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
929
|
+
}
|
|
930
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
931
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
932
|
+
});
|
|
933
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
934
|
+
action: "DeleteCustomAgent",
|
|
935
|
+
version: "2025-04-14",
|
|
936
|
+
protocol: "HTTPS",
|
|
937
|
+
pathname: "/",
|
|
938
|
+
method: "POST",
|
|
939
|
+
authType: "AK",
|
|
940
|
+
style: "RPC",
|
|
941
|
+
reqBodyType: "formData",
|
|
942
|
+
bodyType: "json",
|
|
943
|
+
});
|
|
944
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCustomAgentResponse({}));
|
|
945
|
+
}
|
|
946
|
+
/**
|
|
947
|
+
* DeleteCustomAgent
|
|
948
|
+
*
|
|
949
|
+
* @param request - DeleteCustomAgentRequest
|
|
950
|
+
* @returns DeleteCustomAgentResponse
|
|
951
|
+
*/
|
|
952
|
+
async deleteCustomAgent(request) {
|
|
953
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
954
|
+
return await this.deleteCustomAgentWithOptions(request, runtime);
|
|
955
|
+
}
|
|
831
956
|
/**
|
|
832
957
|
* 删除DataAgent工作空间
|
|
833
958
|
*
|
|
@@ -2198,6 +2323,120 @@ class Client extends openapi_core_1.default {
|
|
|
2198
2323
|
let runtime = new $dara.RuntimeOptions({});
|
|
2199
2324
|
return await this.listDataAgentWorkspaceMemberWithOptions(request, runtime);
|
|
2200
2325
|
}
|
|
2326
|
+
/**
|
|
2327
|
+
* ListDataCenterDatabase
|
|
2328
|
+
*
|
|
2329
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
2330
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2331
|
+
* @returns ListDataCenterDatabaseResponse
|
|
2332
|
+
*/
|
|
2333
|
+
async listDataCenterDatabaseWithOptions(request, runtime) {
|
|
2334
|
+
request.validate();
|
|
2335
|
+
let query = {};
|
|
2336
|
+
if (!$dara.isNull(request.callFrom)) {
|
|
2337
|
+
query["CallFrom"] = request.callFrom;
|
|
2338
|
+
}
|
|
2339
|
+
if (!$dara.isNull(request.dmsUnit)) {
|
|
2340
|
+
query["DmsUnit"] = request.dmsUnit;
|
|
2341
|
+
}
|
|
2342
|
+
if (!$dara.isNull(request.importType)) {
|
|
2343
|
+
query["ImportType"] = request.importType;
|
|
2344
|
+
}
|
|
2345
|
+
if (!$dara.isNull(request.language)) {
|
|
2346
|
+
query["Language"] = request.language;
|
|
2347
|
+
}
|
|
2348
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
2349
|
+
query["SearchKey"] = request.searchKey;
|
|
2350
|
+
}
|
|
2351
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2352
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2353
|
+
});
|
|
2354
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2355
|
+
action: "ListDataCenterDatabase",
|
|
2356
|
+
version: "2025-04-14",
|
|
2357
|
+
protocol: "HTTPS",
|
|
2358
|
+
pathname: "/",
|
|
2359
|
+
method: "POST",
|
|
2360
|
+
authType: "AK",
|
|
2361
|
+
style: "RPC",
|
|
2362
|
+
reqBodyType: "formData",
|
|
2363
|
+
bodyType: "json",
|
|
2364
|
+
});
|
|
2365
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataCenterDatabaseResponse({}));
|
|
2366
|
+
}
|
|
2367
|
+
/**
|
|
2368
|
+
* ListDataCenterDatabase
|
|
2369
|
+
*
|
|
2370
|
+
* @param request - ListDataCenterDatabaseRequest
|
|
2371
|
+
* @returns ListDataCenterDatabaseResponse
|
|
2372
|
+
*/
|
|
2373
|
+
async listDataCenterDatabase(request) {
|
|
2374
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2375
|
+
return await this.listDataCenterDatabaseWithOptions(request, runtime);
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* ListDataCenterTable
|
|
2379
|
+
*
|
|
2380
|
+
* @param request - ListDataCenterTableRequest
|
|
2381
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2382
|
+
* @returns ListDataCenterTableResponse
|
|
2383
|
+
*/
|
|
2384
|
+
async listDataCenterTableWithOptions(request, runtime) {
|
|
2385
|
+
request.validate();
|
|
2386
|
+
let query = {};
|
|
2387
|
+
if (!$dara.isNull(request.callFrom)) {
|
|
2388
|
+
query["CallFrom"] = request.callFrom;
|
|
2389
|
+
}
|
|
2390
|
+
if (!$dara.isNull(request.databaseName)) {
|
|
2391
|
+
query["DatabaseName"] = request.databaseName;
|
|
2392
|
+
}
|
|
2393
|
+
if (!$dara.isNull(request.dmsUnit)) {
|
|
2394
|
+
query["DmsUnit"] = request.dmsUnit;
|
|
2395
|
+
}
|
|
2396
|
+
if (!$dara.isNull(request.importType)) {
|
|
2397
|
+
query["ImportType"] = request.importType;
|
|
2398
|
+
}
|
|
2399
|
+
if (!$dara.isNull(request.instanceName)) {
|
|
2400
|
+
query["InstanceName"] = request.instanceName;
|
|
2401
|
+
}
|
|
2402
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2403
|
+
query["PageNumber"] = request.pageNumber;
|
|
2404
|
+
}
|
|
2405
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2406
|
+
query["PageSize"] = request.pageSize;
|
|
2407
|
+
}
|
|
2408
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
2409
|
+
query["SearchKey"] = request.searchKey;
|
|
2410
|
+
}
|
|
2411
|
+
if (!$dara.isNull(request.tableName)) {
|
|
2412
|
+
query["TableName"] = request.tableName;
|
|
2413
|
+
}
|
|
2414
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2415
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2416
|
+
});
|
|
2417
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2418
|
+
action: "ListDataCenterTable",
|
|
2419
|
+
version: "2025-04-14",
|
|
2420
|
+
protocol: "HTTPS",
|
|
2421
|
+
pathname: "/",
|
|
2422
|
+
method: "POST",
|
|
2423
|
+
authType: "AK",
|
|
2424
|
+
style: "RPC",
|
|
2425
|
+
reqBodyType: "formData",
|
|
2426
|
+
bodyType: "json",
|
|
2427
|
+
});
|
|
2428
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataCenterTableResponse({}));
|
|
2429
|
+
}
|
|
2430
|
+
/**
|
|
2431
|
+
* ListDataCenterTable
|
|
2432
|
+
*
|
|
2433
|
+
* @param request - ListDataCenterTableRequest
|
|
2434
|
+
* @returns ListDataCenterTableResponse
|
|
2435
|
+
*/
|
|
2436
|
+
async listDataCenterTable(request) {
|
|
2437
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2438
|
+
return await this.listDataCenterTableWithOptions(request, runtime);
|
|
2439
|
+
}
|
|
2201
2440
|
/**
|
|
2202
2441
|
* 获取uc的数据库目录列表
|
|
2203
2442
|
*
|
|
@@ -2834,6 +3073,137 @@ class Client extends openapi_core_1.default {
|
|
|
2834
3073
|
let runtime = new $dara.RuntimeOptions({});
|
|
2835
3074
|
return await this.listFileUploadWithOptions(request, runtime);
|
|
2836
3075
|
}
|
|
3076
|
+
/**
|
|
3077
|
+
* ModifyCustomAgent
|
|
3078
|
+
*
|
|
3079
|
+
* @param tmpReq - ModifyCustomAgentRequest
|
|
3080
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3081
|
+
* @returns ModifyCustomAgentResponse
|
|
3082
|
+
*/
|
|
3083
|
+
async modifyCustomAgentWithOptions(tmpReq, runtime) {
|
|
3084
|
+
tmpReq.validate();
|
|
3085
|
+
let request = new $_model.ModifyCustomAgentShrinkRequest({});
|
|
3086
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3087
|
+
if (!$dara.isNull(tmpReq.executionConfig)) {
|
|
3088
|
+
request.executionConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.executionConfig, "ExecutionConfig", "json");
|
|
3089
|
+
}
|
|
3090
|
+
if (!$dara.isNull(tmpReq.knowledgeConfigList)) {
|
|
3091
|
+
request.knowledgeConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeConfigList, "KnowledgeConfigList", "json");
|
|
3092
|
+
}
|
|
3093
|
+
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
3094
|
+
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
3095
|
+
}
|
|
3096
|
+
let query = {};
|
|
3097
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
3098
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
3099
|
+
}
|
|
3100
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
3101
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
3102
|
+
}
|
|
3103
|
+
if (!$dara.isNull(request.dataJson)) {
|
|
3104
|
+
query["DataJson"] = request.dataJson;
|
|
3105
|
+
}
|
|
3106
|
+
if (!$dara.isNull(request.description)) {
|
|
3107
|
+
query["Description"] = request.description;
|
|
3108
|
+
}
|
|
3109
|
+
if (!$dara.isNull(request.executionConfigShrink)) {
|
|
3110
|
+
query["ExecutionConfig"] = request.executionConfigShrink;
|
|
3111
|
+
}
|
|
3112
|
+
if (!$dara.isNull(request.instruction)) {
|
|
3113
|
+
query["Instruction"] = request.instruction;
|
|
3114
|
+
}
|
|
3115
|
+
if (!$dara.isNull(request.knowledge)) {
|
|
3116
|
+
query["Knowledge"] = request.knowledge;
|
|
3117
|
+
}
|
|
3118
|
+
if (!$dara.isNull(request.knowledgeConfigListShrink)) {
|
|
3119
|
+
query["KnowledgeConfigList"] = request.knowledgeConfigListShrink;
|
|
3120
|
+
}
|
|
3121
|
+
if (!$dara.isNull(request.name)) {
|
|
3122
|
+
query["Name"] = request.name;
|
|
3123
|
+
}
|
|
3124
|
+
if (!$dara.isNull(request.scheduleTaskConfigShrink)) {
|
|
3125
|
+
query["ScheduleTaskConfig"] = request.scheduleTaskConfigShrink;
|
|
3126
|
+
}
|
|
3127
|
+
if (!$dara.isNull(request.textReportConfig)) {
|
|
3128
|
+
query["TextReportConfig"] = request.textReportConfig;
|
|
3129
|
+
}
|
|
3130
|
+
if (!$dara.isNull(request.webReportConfig)) {
|
|
3131
|
+
query["WebReportConfig"] = request.webReportConfig;
|
|
3132
|
+
}
|
|
3133
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3134
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3135
|
+
}
|
|
3136
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3137
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3138
|
+
});
|
|
3139
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3140
|
+
action: "ModifyCustomAgent",
|
|
3141
|
+
version: "2025-04-14",
|
|
3142
|
+
protocol: "HTTPS",
|
|
3143
|
+
pathname: "/",
|
|
3144
|
+
method: "POST",
|
|
3145
|
+
authType: "AK",
|
|
3146
|
+
style: "RPC",
|
|
3147
|
+
reqBodyType: "formData",
|
|
3148
|
+
bodyType: "json",
|
|
3149
|
+
});
|
|
3150
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCustomAgentResponse({}));
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
* ModifyCustomAgent
|
|
3154
|
+
*
|
|
3155
|
+
* @param request - ModifyCustomAgentRequest
|
|
3156
|
+
* @returns ModifyCustomAgentResponse
|
|
3157
|
+
*/
|
|
3158
|
+
async modifyCustomAgent(request) {
|
|
3159
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3160
|
+
return await this.modifyCustomAgentWithOptions(request, runtime);
|
|
3161
|
+
}
|
|
3162
|
+
/**
|
|
3163
|
+
* OperateCustomAgent
|
|
3164
|
+
*
|
|
3165
|
+
* @param request - OperateCustomAgentRequest
|
|
3166
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3167
|
+
* @returns OperateCustomAgentResponse
|
|
3168
|
+
*/
|
|
3169
|
+
async operateCustomAgentWithOptions(request, runtime) {
|
|
3170
|
+
request.validate();
|
|
3171
|
+
let query = {};
|
|
3172
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
3173
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
3174
|
+
}
|
|
3175
|
+
if (!$dara.isNull(request.operateType)) {
|
|
3176
|
+
query["OperateType"] = request.operateType;
|
|
3177
|
+
}
|
|
3178
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3179
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
3180
|
+
}
|
|
3181
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3182
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3183
|
+
});
|
|
3184
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3185
|
+
action: "OperateCustomAgent",
|
|
3186
|
+
version: "2025-04-14",
|
|
3187
|
+
protocol: "HTTPS",
|
|
3188
|
+
pathname: "/",
|
|
3189
|
+
method: "POST",
|
|
3190
|
+
authType: "AK",
|
|
3191
|
+
style: "RPC",
|
|
3192
|
+
reqBodyType: "formData",
|
|
3193
|
+
bodyType: "json",
|
|
3194
|
+
});
|
|
3195
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OperateCustomAgentResponse({}));
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* OperateCustomAgent
|
|
3199
|
+
*
|
|
3200
|
+
* @param request - OperateCustomAgentRequest
|
|
3201
|
+
* @returns OperateCustomAgentResponse
|
|
3202
|
+
*/
|
|
3203
|
+
async operateCustomAgent(request) {
|
|
3204
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3205
|
+
return await this.operateCustomAgentWithOptions(request, runtime);
|
|
3206
|
+
}
|
|
2837
3207
|
/**
|
|
2838
3208
|
* 从空间中移除用户
|
|
2839
3209
|
*
|