@alicloud/dms20250414 1.7.6 → 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 +105 -0
- package/dist/client.js +436 -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/ListDataAgentSessionRequest.d.ts +59 -0
- package/dist/models/ListDataAgentSessionRequest.js +76 -0
- package/dist/models/ListDataAgentSessionRequest.js.map +1 -0
- package/dist/models/ListDataAgentSessionResponse.d.ts +19 -0
- package/dist/models/ListDataAgentSessionResponse.js +69 -0
- package/dist/models/ListDataAgentSessionResponse.js.map +1 -0
- package/dist/models/ListDataAgentSessionResponseBody.d.ts +158 -0
- package/dist/models/ListDataAgentSessionResponseBody.js +148 -0
- package/dist/models/ListDataAgentSessionResponseBody.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 +44 -0
- package/dist/models/model.js +94 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +510 -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/ListDataAgentSessionRequest.ts +90 -0
- package/src/models/ListDataAgentSessionResponse.ts +40 -0
- package/src/models/ListDataAgentSessionResponseBody.ts +243 -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 +44 -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
|
*
|
|
@@ -556,6 +586,21 @@ export default class Client extends OpenApi {
|
|
|
556
586
|
* @returns ListCustomAgentResponse
|
|
557
587
|
*/
|
|
558
588
|
listCustomAgent(request: $_model.ListCustomAgentRequest): Promise<$_model.ListCustomAgentResponse>;
|
|
589
|
+
/**
|
|
590
|
+
* ListDataAgentSession
|
|
591
|
+
*
|
|
592
|
+
* @param request - ListDataAgentSessionRequest
|
|
593
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
594
|
+
* @returns ListDataAgentSessionResponse
|
|
595
|
+
*/
|
|
596
|
+
listDataAgentSessionWithOptions(request: $_model.ListDataAgentSessionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListDataAgentSessionResponse>;
|
|
597
|
+
/**
|
|
598
|
+
* ListDataAgentSession
|
|
599
|
+
*
|
|
600
|
+
* @param request - ListDataAgentSessionRequest
|
|
601
|
+
* @returns ListDataAgentSessionResponse
|
|
602
|
+
*/
|
|
603
|
+
listDataAgentSession(request: $_model.ListDataAgentSessionRequest): Promise<$_model.ListDataAgentSessionResponse>;
|
|
559
604
|
/**
|
|
560
605
|
* 获取主账号下的空间(分页)
|
|
561
606
|
*
|
|
@@ -586,6 +631,36 @@ export default class Client extends OpenApi {
|
|
|
586
631
|
* @returns ListDataAgentWorkspaceMemberResponse
|
|
587
632
|
*/
|
|
588
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>;
|
|
589
664
|
/**
|
|
590
665
|
* 获取uc的数据库目录列表
|
|
591
666
|
*
|
|
@@ -751,6 +826,36 @@ export default class Client extends OpenApi {
|
|
|
751
826
|
* @returns ListFileUploadResponse
|
|
752
827
|
*/
|
|
753
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>;
|
|
754
859
|
/**
|
|
755
860
|
* 从空间中移除用户
|
|
756
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
|
*
|
|
@@ -2003,6 +2128,72 @@ class Client extends openapi_core_1.default {
|
|
|
2003
2128
|
let runtime = new $dara.RuntimeOptions({});
|
|
2004
2129
|
return await this.listCustomAgentWithOptions(request, runtime);
|
|
2005
2130
|
}
|
|
2131
|
+
/**
|
|
2132
|
+
* ListDataAgentSession
|
|
2133
|
+
*
|
|
2134
|
+
* @param request - ListDataAgentSessionRequest
|
|
2135
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2136
|
+
* @returns ListDataAgentSessionResponse
|
|
2137
|
+
*/
|
|
2138
|
+
async listDataAgentSessionWithOptions(request, runtime) {
|
|
2139
|
+
request.validate();
|
|
2140
|
+
let query = {};
|
|
2141
|
+
if (!$dara.isNull(request.createEndTime)) {
|
|
2142
|
+
query["CreateEndTime"] = request.createEndTime;
|
|
2143
|
+
}
|
|
2144
|
+
if (!$dara.isNull(request.createStartTime)) {
|
|
2145
|
+
query["CreateStartTime"] = request.createStartTime;
|
|
2146
|
+
}
|
|
2147
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
2148
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
2149
|
+
}
|
|
2150
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
2151
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
2152
|
+
}
|
|
2153
|
+
if (!$dara.isNull(request.isSaved)) {
|
|
2154
|
+
query["IsSaved"] = request.isSaved;
|
|
2155
|
+
}
|
|
2156
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
2157
|
+
query["PageNumber"] = request.pageNumber;
|
|
2158
|
+
}
|
|
2159
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
2160
|
+
query["PageSize"] = request.pageSize;
|
|
2161
|
+
}
|
|
2162
|
+
if (!$dara.isNull(request.queryType)) {
|
|
2163
|
+
query["QueryType"] = request.queryType;
|
|
2164
|
+
}
|
|
2165
|
+
if (!$dara.isNull(request.title)) {
|
|
2166
|
+
query["Title"] = request.title;
|
|
2167
|
+
}
|
|
2168
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2169
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2170
|
+
}
|
|
2171
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2172
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2173
|
+
});
|
|
2174
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2175
|
+
action: "ListDataAgentSession",
|
|
2176
|
+
version: "2025-04-14",
|
|
2177
|
+
protocol: "HTTPS",
|
|
2178
|
+
pathname: "/",
|
|
2179
|
+
method: "POST",
|
|
2180
|
+
authType: "AK",
|
|
2181
|
+
style: "RPC",
|
|
2182
|
+
reqBodyType: "formData",
|
|
2183
|
+
bodyType: "json",
|
|
2184
|
+
});
|
|
2185
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentSessionResponse({}));
|
|
2186
|
+
}
|
|
2187
|
+
/**
|
|
2188
|
+
* ListDataAgentSession
|
|
2189
|
+
*
|
|
2190
|
+
* @param request - ListDataAgentSessionRequest
|
|
2191
|
+
* @returns ListDataAgentSessionResponse
|
|
2192
|
+
*/
|
|
2193
|
+
async listDataAgentSession(request) {
|
|
2194
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2195
|
+
return await this.listDataAgentSessionWithOptions(request, runtime);
|
|
2196
|
+
}
|
|
2006
2197
|
/**
|
|
2007
2198
|
* 获取主账号下的空间(分页)
|
|
2008
2199
|
*
|
|
@@ -2132,6 +2323,120 @@ class Client extends openapi_core_1.default {
|
|
|
2132
2323
|
let runtime = new $dara.RuntimeOptions({});
|
|
2133
2324
|
return await this.listDataAgentWorkspaceMemberWithOptions(request, runtime);
|
|
2134
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
|
+
}
|
|
2135
2440
|
/**
|
|
2136
2441
|
* 获取uc的数据库目录列表
|
|
2137
2442
|
*
|
|
@@ -2768,6 +3073,137 @@ class Client extends openapi_core_1.default {
|
|
|
2768
3073
|
let runtime = new $dara.RuntimeOptions({});
|
|
2769
3074
|
return await this.listFileUploadWithOptions(request, runtime);
|
|
2770
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
|
+
}
|
|
2771
3207
|
/**
|
|
2772
3208
|
* 从空间中移除用户
|
|
2773
3209
|
*
|