@alicloud/dms20250414 4.0.0 → 4.2.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 +390 -30
- package/dist/client.js +1371 -117
- package/dist/client.js.map +1 -1
- package/dist/models/AddAgenticDataSourceRequest.d.ts +220 -0
- package/dist/models/AddAgenticDataSourceRequest.js +102 -0
- package/dist/models/AddAgenticDataSourceRequest.js.map +1 -0
- package/dist/models/AddAgenticDataSourceResponse.d.ts +19 -0
- package/dist/models/AddAgenticDataSourceResponse.js +69 -0
- package/dist/models/AddAgenticDataSourceResponse.js.map +1 -0
- package/dist/models/AddAgenticDataSourceResponseBody.d.ts +270 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js +134 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -0
- package/dist/models/AgentServiceOrderSummaryVo.d.ts +0 -24
- package/dist/models/AgentServiceOrderSummaryVo.js.map +1 -1
- package/dist/models/AgentServiceOrderVo.d.ts +0 -52
- package/dist/models/AgentServiceOrderVo.js.map +1 -1
- package/dist/models/AgenticCatalog.d.ts +87 -0
- package/dist/models/AgenticCatalog.js.map +1 -1
- package/dist/models/AgenticDatabase.d.ts +58 -11
- package/dist/models/AgenticDatabase.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +16 -4
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/AgenticDatabaseObject.d.ts +0 -24
- package/dist/models/AgenticDatabaseObject.js.map +1 -1
- package/dist/models/AgenticDmsInstanceSyncTask.d.ts +1 -0
- package/dist/models/AgenticDmsInstanceSyncTask.js +2 -0
- package/dist/models/AgenticDmsInstanceSyncTask.js.map +1 -1
- package/dist/models/AgenticResourceOwner.d.ts +58 -14
- package/dist/models/AgenticResourceOwner.js +12 -0
- package/dist/models/AgenticResourceOwner.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/AgenticTableColumn.d.ts +17 -5
- package/dist/models/AgenticTableColumn.js.map +1 -1
- package/dist/models/AgenticTableColumnEngineMeta.d.ts +40 -10
- package/dist/models/AgenticTableColumnEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableEngineMeta.d.ts +47 -11
- package/dist/models/AgenticTableEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableIndex.d.ts +28 -7
- package/dist/models/AgenticTableIndex.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialRequest.d.ts +48 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialRequest.js +64 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialRequest.js.map +1 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponse.d.ts +19 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponse.js +69 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponse.js.map +1 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +129 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.js +102 -0
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentRequest.d.ts +157 -40
- package/dist/models/CreateCustomAgentRequest.js +7 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +152 -31
- package/dist/models/CreateCustomAgentResponseBody.js +7 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +72 -34
- package/dist/models/CreateCustomAgentShrinkRequest.js +4 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/CreateDataAgentSkillMetaRequest.d.ts +4 -4
- package/dist/models/CreateDataAgentSkillMetaResponseBody.d.ts +15 -13
- package/dist/models/CreateDataAgentSkillMetaResponseBody.js.map +1 -1
- package/dist/models/DeleteAgenticDataSourceRequest.d.ts +23 -0
- package/dist/models/DeleteAgenticDataSourceRequest.js +58 -0
- package/dist/models/DeleteAgenticDataSourceRequest.js.map +1 -0
- package/dist/models/DeleteAgenticDataSourceResponse.d.ts +19 -0
- package/dist/models/DeleteAgenticDataSourceResponse.js +69 -0
- package/dist/models/DeleteAgenticDataSourceResponse.js.map +1 -0
- package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +47 -0
- package/dist/models/DeleteAgenticDataSourceResponseBody.js +66 -0
- package/dist/models/DeleteAgenticDataSourceResponseBody.js.map +1 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsRequest.d.ts +69 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js +68 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js.map +1 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponse.d.ts +19 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js +69 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js.map +1 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.d.ts +194 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js +136 -0
- package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js.map +1 -0
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +177 -30
- package/dist/models/DescribeCustomAgentResponseBody.js +7 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DescribeDataAgentSessionRequest.d.ts +1 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +94 -54
- package/dist/models/DescribeDataAgentSessionResponseBody.js +31 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/DescribeFileUploadSignatureRequest.d.ts +9 -2
- package/dist/models/DescribeFileUploadSignatureRequest.js.map +1 -1
- package/dist/models/DescribeFileUploadSignatureResponseBody.d.ts +5 -5
- package/dist/models/DmsKnowledgeSearchOrderInfoDo.d.ts +0 -28
- package/dist/models/DmsKnowledgeSearchOrderInfoDo.js.map +1 -1
- package/dist/models/FileUploadCallbackRequest.d.ts +19 -4
- package/dist/models/FileUploadCallbackRequest.js.map +1 -1
- package/dist/models/FileUploadCallbackResponseBody.d.ts +4 -4
- package/dist/models/GetAgenticAgentByInstallTokenRequest.d.ts +5 -0
- package/dist/models/GetAgenticAgentByInstallTokenRequest.js.map +1 -1
- package/dist/models/GetAgenticAgentByInstallTokenResponseBody.d.ts +89 -0
- package/dist/models/GetAgenticAgentByInstallTokenResponseBody.js.map +1 -1
- package/dist/models/GetAgenticCatalogRequest.d.ts +23 -0
- package/dist/models/GetAgenticCatalogRequest.js +58 -0
- package/dist/models/GetAgenticCatalogRequest.js.map +1 -0
- package/dist/models/GetAgenticCatalogResponse.d.ts +19 -0
- package/dist/models/GetAgenticCatalogResponse.js +69 -0
- package/dist/models/GetAgenticCatalogResponse.js.map +1 -0
- package/dist/models/GetAgenticCatalogResponseBody.d.ts +54 -0
- package/dist/models/GetAgenticCatalogResponseBody.js +70 -0
- package/dist/models/GetAgenticCatalogResponseBody.js.map +1 -0
- package/dist/models/GetAgenticDataSourceRequest.d.ts +23 -0
- package/dist/models/GetAgenticDataSourceRequest.js +58 -0
- package/dist/models/GetAgenticDataSourceRequest.js.map +1 -0
- package/dist/models/GetAgenticDataSourceResponse.d.ts +19 -0
- package/dist/models/GetAgenticDataSourceResponse.js +69 -0
- package/dist/models/GetAgenticDataSourceResponse.js.map +1 -0
- package/dist/models/GetAgenticDataSourceResponseBody.d.ts +318 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js +146 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -0
- package/dist/models/GetAgenticDatabaseRequest.d.ts +23 -0
- package/dist/models/GetAgenticDatabaseRequest.js +58 -0
- package/dist/models/GetAgenticDatabaseRequest.js.map +1 -0
- package/dist/models/GetAgenticDatabaseResponse.d.ts +19 -0
- package/dist/models/GetAgenticDatabaseResponse.js +69 -0
- package/dist/models/GetAgenticDatabaseResponse.js.map +1 -0
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +54 -0
- package/dist/models/GetAgenticDatabaseResponseBody.js +70 -0
- package/dist/models/GetAgenticDatabaseResponseBody.js.map +1 -0
- package/dist/models/GetAgenticTableColumnRequest.d.ts +33 -0
- package/dist/models/GetAgenticTableColumnRequest.js +60 -0
- package/dist/models/GetAgenticTableColumnRequest.js.map +1 -0
- package/dist/models/GetAgenticTableColumnResponse.d.ts +19 -0
- package/dist/models/GetAgenticTableColumnResponse.js +69 -0
- package/dist/models/GetAgenticTableColumnResponse.js.map +1 -0
- package/dist/models/GetAgenticTableColumnResponseBody.d.ts +54 -0
- package/dist/models/GetAgenticTableColumnResponseBody.js +70 -0
- package/dist/models/GetAgenticTableColumnResponseBody.js.map +1 -0
- package/dist/models/GetAgenticTableIndexRequest.d.ts +33 -0
- package/dist/models/GetAgenticTableIndexRequest.js +60 -0
- package/dist/models/GetAgenticTableIndexRequest.js.map +1 -0
- package/dist/models/GetAgenticTableIndexResponse.d.ts +19 -0
- package/dist/models/GetAgenticTableIndexResponse.js +69 -0
- package/dist/models/GetAgenticTableIndexResponse.js.map +1 -0
- package/dist/models/GetAgenticTableIndexResponseBody.d.ts +54 -0
- package/dist/models/GetAgenticTableIndexResponseBody.js +70 -0
- package/dist/models/GetAgenticTableIndexResponseBody.js.map +1 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +13 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +12 -9
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +13 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +14 -3
- package/dist/models/GetDataAgentTaskModelUsageRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +35 -7
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +14 -3
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.js.map +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +19 -5
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
- package/dist/models/ListAgenticCatalogRequest.d.ts +49 -0
- package/dist/models/ListAgenticCatalogRequest.js +64 -0
- package/dist/models/ListAgenticCatalogRequest.js.map +1 -0
- package/dist/models/ListAgenticCatalogResponse.d.ts +19 -0
- package/dist/models/ListAgenticCatalogResponse.js +69 -0
- package/dist/models/ListAgenticCatalogResponse.js.map +1 -0
- package/dist/models/ListAgenticCatalogResponseBody.d.ts +70 -0
- package/dist/models/ListAgenticCatalogResponseBody.js +74 -0
- package/dist/models/ListAgenticCatalogResponseBody.js.map +1 -0
- package/dist/models/ListAgenticDataSourcesRequest.d.ts +93 -0
- package/dist/models/ListAgenticDataSourcesRequest.js +74 -0
- package/dist/models/ListAgenticDataSourcesRequest.js.map +1 -0
- package/dist/models/ListAgenticDataSourcesResponse.d.ts +19 -0
- package/dist/models/ListAgenticDataSourcesResponse.js +69 -0
- package/dist/models/ListAgenticDataSourcesResponse.js.map +1 -0
- package/dist/models/ListAgenticDataSourcesResponseBody.d.ts +284 -0
- package/dist/models/ListAgenticDataSourcesResponseBody.js +138 -0
- package/dist/models/ListAgenticDataSourcesResponseBody.js.map +1 -0
- package/dist/models/ListAgenticDatabaseRequest.d.ts +73 -0
- package/dist/models/ListAgenticDatabaseRequest.js +68 -0
- package/dist/models/ListAgenticDatabaseRequest.js.map +1 -0
- package/dist/models/ListAgenticDatabaseResponse.d.ts +19 -0
- package/dist/models/ListAgenticDatabaseResponse.js +69 -0
- package/dist/models/ListAgenticDatabaseResponse.js.map +1 -0
- package/dist/models/ListAgenticDatabaseResponseBody.d.ts +70 -0
- package/dist/models/ListAgenticDatabaseResponseBody.js +74 -0
- package/dist/models/ListAgenticDatabaseResponseBody.js.map +1 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.d.ts +112 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js +80 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesRequest.js.map +1 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.d.ts +19 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.js +69 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponse.js.map +1 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.d.ts +234 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js +128 -0
- package/dist/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.js.map +1 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.d.ts +112 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js +80 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesRequest.js.map +1 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponse.d.ts +19 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponse.js +69 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponse.js.map +1 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.d.ts +234 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js +128 -0
- package/dist/models/ListAgenticSqlExecutionHistoriesResponseBody.js.map +1 -0
- package/dist/models/ListAgenticTableBaseInfoRequest.d.ts +87 -0
- package/dist/models/ListAgenticTableBaseInfoRequest.js +70 -0
- package/dist/models/ListAgenticTableBaseInfoRequest.js.map +1 -0
- package/dist/models/ListAgenticTableBaseInfoResponse.d.ts +19 -0
- package/dist/models/ListAgenticTableBaseInfoResponse.js +69 -0
- package/dist/models/ListAgenticTableBaseInfoResponse.js.map +1 -0
- package/dist/models/ListAgenticTableBaseInfoResponseBody.d.ts +70 -0
- package/dist/models/ListAgenticTableBaseInfoResponseBody.js +74 -0
- package/dist/models/ListAgenticTableBaseInfoResponseBody.js.map +1 -0
- package/dist/models/ListCustomAgentMonitorSessionsRequest.d.ts +75 -0
- package/dist/models/ListCustomAgentMonitorSessionsRequest.js +70 -0
- package/dist/models/ListCustomAgentMonitorSessionsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponse.js +69 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponseBody.d.ts +208 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js +138 -0
- package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js.map +1 -0
- package/dist/models/ListCustomAgentRequest.d.ts +15 -5
- package/dist/models/ListCustomAgentRequest.js +2 -0
- package/dist/models/ListCustomAgentRequest.js.map +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +193 -33
- package/dist/models/ListCustomAgentResponseBody.js +7 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentAccuracyTestInstancesRequest.d.ts +3 -3
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.d.ts +25 -9
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js +4 -0
- package/dist/models/ListDataAgentAccuracyTestInstancesResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentAccuracyTestResultsRequest.d.ts +5 -5
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +44 -16
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +14 -7
- package/dist/models/ListDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +38 -9
- package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/ListDataCenterDatabaseRequest.d.ts +10 -3
- package/dist/models/ListDataCenterDatabaseRequest.js.map +1 -1
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +38 -15
- package/dist/models/ListDataCenterDatabaseResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +159 -47
- package/dist/models/ModifyCustomAgentRequest.js +5 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +152 -29
- package/dist/models/ModifyCustomAgentResponseBody.js +7 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +73 -40
- package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/OneMetaDatabase.d.ts +0 -56
- package/dist/models/OneMetaDatabase.js.map +1 -1
- package/dist/models/OneMetaDatabaseEngineMeta.d.ts +0 -16
- package/dist/models/OneMetaDatabaseEngineMeta.js.map +1 -1
- package/dist/models/SearchAgenticCatalogRequest.d.ts +65 -0
- package/dist/models/SearchAgenticCatalogRequest.js +68 -0
- package/dist/models/SearchAgenticCatalogRequest.js.map +1 -0
- package/dist/models/SearchAgenticCatalogResponse.d.ts +19 -0
- package/dist/models/SearchAgenticCatalogResponse.js +69 -0
- package/dist/models/SearchAgenticCatalogResponse.js.map +1 -0
- package/dist/models/SearchAgenticCatalogResponseBody.d.ts +70 -0
- package/dist/models/SearchAgenticCatalogResponseBody.js +74 -0
- package/dist/models/SearchAgenticCatalogResponseBody.js.map +1 -0
- package/dist/models/SearchAgenticDatabaseRequest.d.ts +61 -0
- package/dist/models/SearchAgenticDatabaseRequest.js +68 -0
- package/dist/models/SearchAgenticDatabaseRequest.js.map +1 -0
- package/dist/models/SearchAgenticDatabaseResponse.d.ts +19 -0
- package/dist/models/SearchAgenticDatabaseResponse.js +69 -0
- package/dist/models/SearchAgenticDatabaseResponse.js.map +1 -0
- package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +70 -0
- package/dist/models/SearchAgenticDatabaseResponseBody.js +74 -0
- package/dist/models/SearchAgenticDatabaseResponseBody.js.map +1 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +202 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js +100 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -0
- package/dist/models/TestAgenticDataSourceConnectionResponse.d.ts +19 -0
- package/dist/models/TestAgenticDataSourceConnectionResponse.js +69 -0
- package/dist/models/TestAgenticDataSourceConnectionResponse.js.map +1 -0
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +72 -0
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.js +90 -0
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.js.map +1 -0
- package/dist/models/TrialOrderEligibilityVo.d.ts +0 -8
- package/dist/models/TrialOrderEligibilityVo.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +175 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js +96 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -0
- package/dist/models/UpdateAgenticDataSourceResponse.d.ts +19 -0
- package/dist/models/UpdateAgenticDataSourceResponse.js +69 -0
- package/dist/models/UpdateAgenticDataSourceResponse.js.map +1 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +270 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js +134 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -0
- package/dist/models/UpdateAirflowRequest.d.ts +19 -8
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +21 -22
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +19 -8
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +9 -2
- package/dist/models/UpdateDataAgentAccuracyTestRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +42 -7
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +73 -0
- package/dist/models/model.js +164 -17
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1624 -172
- package/src/models/AddAgenticDataSourceRequest.ts +277 -0
- package/src/models/AddAgenticDataSourceResponse.ts +40 -0
- package/src/models/AddAgenticDataSourceResponseBody.ts +350 -0
- package/src/models/AgentServiceOrderSummaryVo.ts +0 -24
- package/src/models/AgentServiceOrderVo.ts +0 -52
- package/src/models/AgenticCatalog.ts +87 -0
- package/src/models/AgenticDatabase.ts +58 -11
- package/src/models/AgenticDatabaseEngineMeta.ts +16 -4
- package/src/models/AgenticDatabaseObject.ts +0 -24
- package/src/models/AgenticDmsInstanceSyncTask.ts +3 -0
- package/src/models/AgenticResourceOwner.ts +70 -14
- package/src/models/AgenticTableBaseInfo.ts +60 -0
- package/src/models/AgenticTableColumn.ts +17 -5
- package/src/models/AgenticTableColumnEngineMeta.ts +40 -10
- package/src/models/AgenticTableEngineMeta.ts +47 -11
- package/src/models/AgenticTableIndex.ts +28 -7
- package/src/models/CreateAgenticSqlExecuteCredentialRequest.ts +67 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponse.ts +40 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +177 -0
- package/src/models/CreateCustomAgentRequest.ts +164 -40
- package/src/models/CreateCustomAgentResponseBody.ts +159 -31
- package/src/models/CreateCustomAgentShrinkRequest.ts +76 -34
- package/src/models/CreateDataAgentSkillMetaRequest.ts +4 -4
- package/src/models/CreateDataAgentSkillMetaResponseBody.ts +15 -13
- package/src/models/DeleteAgenticDataSourceRequest.ts +36 -0
- package/src/models/DeleteAgenticDataSourceResponse.ts +40 -0
- package/src/models/DeleteAgenticDataSourceResponseBody.ts +68 -0
- package/src/models/DescribeCustomAgentMonitorMetricsRequest.ts +92 -0
- package/src/models/DescribeCustomAgentMonitorMetricsResponse.ts +40 -0
- package/src/models/DescribeCustomAgentMonitorMetricsResponseBody.ts +267 -0
- package/src/models/DescribeCustomAgentResponseBody.ts +184 -30
- package/src/models/DescribeDataAgentSessionRequest.ts +1 -1
- package/src/models/DescribeDataAgentSessionResponseBody.ts +115 -54
- package/src/models/DescribeFileUploadSignatureRequest.ts +9 -2
- package/src/models/DescribeFileUploadSignatureResponseBody.ts +5 -5
- package/src/models/DmsKnowledgeSearchOrderInfoDo.ts +0 -28
- package/src/models/FileUploadCallbackRequest.ts +19 -4
- package/src/models/FileUploadCallbackResponseBody.ts +4 -4
- package/src/models/GetAgenticAgentByInstallTokenRequest.ts +5 -0
- package/src/models/GetAgenticAgentByInstallTokenResponseBody.ts +89 -0
- package/src/models/GetAgenticCatalogRequest.ts +36 -0
- package/src/models/GetAgenticCatalogResponse.ts +40 -0
- package/src/models/GetAgenticCatalogResponseBody.ts +78 -0
- package/src/models/GetAgenticDataSourceRequest.ts +36 -0
- package/src/models/GetAgenticDataSourceResponse.ts +40 -0
- package/src/models/GetAgenticDataSourceResponseBody.ts +410 -0
- package/src/models/GetAgenticDatabaseRequest.ts +36 -0
- package/src/models/GetAgenticDatabaseResponse.ts +40 -0
- package/src/models/GetAgenticDatabaseResponseBody.ts +78 -0
- package/src/models/GetAgenticTableColumnRequest.ts +48 -0
- package/src/models/GetAgenticTableColumnResponse.ts +40 -0
- package/src/models/GetAgenticTableColumnResponseBody.ts +78 -0
- package/src/models/GetAgenticTableIndexRequest.ts +48 -0
- package/src/models/GetAgenticTableIndexResponse.ts +40 -0
- package/src/models/GetAgenticTableIndexResponseBody.ts +78 -0
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +13 -2
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -9
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +13 -2
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +14 -3
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +35 -7
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +14 -3
- package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
- package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +19 -5
- package/src/models/ListAgenticCatalogRequest.ts +68 -0
- package/src/models/ListAgenticCatalogResponse.ts +40 -0
- package/src/models/ListAgenticCatalogResponseBody.ts +98 -0
- package/src/models/ListAgenticDataSourcesRequest.ts +122 -0
- package/src/models/ListAgenticDataSourcesResponse.ts +40 -0
- package/src/models/ListAgenticDataSourcesResponseBody.ts +368 -0
- package/src/models/ListAgenticDatabaseRequest.ts +96 -0
- package/src/models/ListAgenticDatabaseResponse.ts +40 -0
- package/src/models/ListAgenticDatabaseResponseBody.ts +98 -0
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesRequest.ts +147 -0
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponse.ts +40 -0
- package/src/models/ListAgenticGlobalSqlExecutionHistoriesResponseBody.ts +308 -0
- package/src/models/ListAgenticSqlExecutionHistoriesRequest.ts +147 -0
- package/src/models/ListAgenticSqlExecutionHistoriesResponse.ts +40 -0
- package/src/models/ListAgenticSqlExecutionHistoriesResponseBody.ts +308 -0
- package/src/models/ListAgenticTableBaseInfoRequest.ts +112 -0
- package/src/models/ListAgenticTableBaseInfoResponse.ts +40 -0
- package/src/models/ListAgenticTableBaseInfoResponseBody.ts +98 -0
- package/src/models/ListCustomAgentMonitorSessionsRequest.ts +100 -0
- package/src/models/ListCustomAgentMonitorSessionsResponse.ts +40 -0
- package/src/models/ListCustomAgentMonitorSessionsResponseBody.ts +283 -0
- package/src/models/ListCustomAgentRequest.ts +17 -5
- package/src/models/ListCustomAgentResponseBody.ts +200 -33
- package/src/models/ListDataAgentAccuracyTestInstancesRequest.ts +3 -3
- package/src/models/ListDataAgentAccuracyTestInstancesResponseBody.ts +29 -9
- package/src/models/ListDataAgentAccuracyTestResultsRequest.ts +5 -5
- package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +44 -16
- package/src/models/ListDataAgentWorkspaceRequest.ts +14 -7
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +40 -9
- package/src/models/ListDataCenterDatabaseRequest.ts +10 -3
- package/src/models/ListDataCenterDatabaseResponseBody.ts +38 -15
- package/src/models/ModifyCustomAgentRequest.ts +164 -47
- package/src/models/ModifyCustomAgentResponseBody.ts +159 -29
- package/src/models/ModifyCustomAgentShrinkRequest.ts +75 -40
- package/src/models/OneMetaDatabase.ts +0 -56
- package/src/models/OneMetaDatabaseEngineMeta.ts +0 -16
- package/src/models/SearchAgenticCatalogRequest.ts +88 -0
- package/src/models/SearchAgenticCatalogResponse.ts +40 -0
- package/src/models/SearchAgenticCatalogResponseBody.ts +98 -0
- package/src/models/SearchAgenticDatabaseRequest.ts +84 -0
- package/src/models/SearchAgenticDatabaseResponse.ts +40 -0
- package/src/models/SearchAgenticDatabaseResponseBody.ts +98 -0
- package/src/models/TestAgenticDataSourceConnectionRequest.ts +257 -0
- package/src/models/TestAgenticDataSourceConnectionResponse.ts +40 -0
- package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +108 -0
- package/src/models/TrialOrderEligibilityVo.ts +0 -8
- package/src/models/UpdateAgenticDataSourceRequest.ts +226 -0
- package/src/models/UpdateAgenticDataSourceResponse.ts +40 -0
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +350 -0
- package/src/models/UpdateAirflowRequest.ts +19 -8
- package/src/models/UpdateAirflowResponseBody.ts +21 -22
- package/src/models/UpdateAirflowShrinkRequest.ts +19 -8
- package/src/models/UpdateDataAgentAccuracyTestRequest.ts +9 -2
- package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +42 -7
- package/src/models/model.ts +73 -0
package/dist/client.js
CHANGED
|
@@ -81,6 +81,117 @@ class Client extends openapi_core_1.default {
|
|
|
81
81
|
}
|
|
82
82
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* Creates a data source accessible by the Agent data gateway.
|
|
86
|
+
*
|
|
87
|
+
* @remarks
|
|
88
|
+
* Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
|
|
89
|
+
*
|
|
90
|
+
* @param request - AddAgenticDataSourceRequest
|
|
91
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
92
|
+
* @returns AddAgenticDataSourceResponse
|
|
93
|
+
*/
|
|
94
|
+
async addAgenticDataSourceWithOptions(request, runtime) {
|
|
95
|
+
request.validate();
|
|
96
|
+
let query = {};
|
|
97
|
+
if (!$dara.isNull(request.alias)) {
|
|
98
|
+
query["Alias"] = request.alias;
|
|
99
|
+
}
|
|
100
|
+
if (!$dara.isNull(request.authAccount)) {
|
|
101
|
+
query["AuthAccount"] = request.authAccount;
|
|
102
|
+
}
|
|
103
|
+
if (!$dara.isNull(request.authPassword)) {
|
|
104
|
+
query["AuthPassword"] = request.authPassword;
|
|
105
|
+
}
|
|
106
|
+
if (!$dara.isNull(request.authType)) {
|
|
107
|
+
query["AuthType"] = request.authType;
|
|
108
|
+
}
|
|
109
|
+
if (!$dara.isNull(request.catalogName)) {
|
|
110
|
+
query["CatalogName"] = request.catalogName;
|
|
111
|
+
}
|
|
112
|
+
if (!$dara.isNull(request.createMode)) {
|
|
113
|
+
query["CreateMode"] = request.createMode;
|
|
114
|
+
}
|
|
115
|
+
if (!$dara.isNull(request.dbType)) {
|
|
116
|
+
query["DbType"] = request.dbType;
|
|
117
|
+
}
|
|
118
|
+
if (!$dara.isNull(request.envType)) {
|
|
119
|
+
query["EnvType"] = request.envType;
|
|
120
|
+
}
|
|
121
|
+
if (!$dara.isNull(request.host)) {
|
|
122
|
+
query["Host"] = request.host;
|
|
123
|
+
}
|
|
124
|
+
if (!$dara.isNull(request.instanceResourceId)) {
|
|
125
|
+
query["InstanceResourceId"] = request.instanceResourceId;
|
|
126
|
+
}
|
|
127
|
+
if (!$dara.isNull(request.instanceSource)) {
|
|
128
|
+
query["InstanceSource"] = request.instanceSource;
|
|
129
|
+
}
|
|
130
|
+
if (!$dara.isNull(request.kmsSecret)) {
|
|
131
|
+
query["KmsSecret"] = request.kmsSecret;
|
|
132
|
+
}
|
|
133
|
+
if (!$dara.isNull(request.policyId)) {
|
|
134
|
+
query["PolicyId"] = request.policyId;
|
|
135
|
+
}
|
|
136
|
+
if (!$dara.isNull(request.port)) {
|
|
137
|
+
query["Port"] = request.port;
|
|
138
|
+
}
|
|
139
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
140
|
+
query["RoleArn"] = request.roleArn;
|
|
141
|
+
}
|
|
142
|
+
if (!$dara.isNull(request.schema)) {
|
|
143
|
+
query["Schema"] = request.schema;
|
|
144
|
+
}
|
|
145
|
+
if (!$dara.isNull(request.snowflakeRole)) {
|
|
146
|
+
query["SnowflakeRole"] = request.snowflakeRole;
|
|
147
|
+
}
|
|
148
|
+
if (!$dara.isNull(request.snowflakeWarehouse)) {
|
|
149
|
+
query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
|
|
150
|
+
}
|
|
151
|
+
if (!$dara.isNull(request.syncAlias)) {
|
|
152
|
+
query["SyncAlias"] = request.syncAlias;
|
|
153
|
+
}
|
|
154
|
+
if (!$dara.isNull(request.useSsl)) {
|
|
155
|
+
query["UseSsl"] = request.useSsl;
|
|
156
|
+
}
|
|
157
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
158
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
159
|
+
}
|
|
160
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
161
|
+
query["VpcId"] = request.vpcId;
|
|
162
|
+
}
|
|
163
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
164
|
+
query["ZoneId"] = request.zoneId;
|
|
165
|
+
}
|
|
166
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
167
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
168
|
+
});
|
|
169
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
170
|
+
action: "AddAgenticDataSource",
|
|
171
|
+
version: "2025-04-14",
|
|
172
|
+
protocol: "HTTPS",
|
|
173
|
+
pathname: "/",
|
|
174
|
+
method: "POST",
|
|
175
|
+
authType: "AK",
|
|
176
|
+
style: "RPC",
|
|
177
|
+
reqBodyType: "formData",
|
|
178
|
+
bodyType: "json",
|
|
179
|
+
});
|
|
180
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAgenticDataSourceResponse({}));
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Creates a data source accessible by the Agent data gateway.
|
|
184
|
+
*
|
|
185
|
+
* @remarks
|
|
186
|
+
* Enter the connection and authentication information for the data source. The connection is automatically tested before saving. If the test succeeds, the data source is created and metadata synchronization starts.
|
|
187
|
+
*
|
|
188
|
+
* @param request - AddAgenticDataSourceRequest
|
|
189
|
+
* @returns AddAgenticDataSourceResponse
|
|
190
|
+
*/
|
|
191
|
+
async addAgenticDataSource(request) {
|
|
192
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
193
|
+
return await this.addAgenticDataSourceWithOptions(request, runtime);
|
|
194
|
+
}
|
|
84
195
|
/**
|
|
85
196
|
* Adds a memory entry to a DataAgent.
|
|
86
197
|
*
|
|
@@ -371,6 +482,66 @@ class Client extends openapi_core_1.default {
|
|
|
371
482
|
let runtime = new $dara.RuntimeOptions({});
|
|
372
483
|
return await this.createAgentWithOptions(request, runtime);
|
|
373
484
|
}
|
|
485
|
+
/**
|
|
486
|
+
* Creates a temporary credential for an agent to execute SQL statements.
|
|
487
|
+
*
|
|
488
|
+
* @remarks
|
|
489
|
+
* The credential is used to execute SQL statements through the data gateway (OneQuery) and can be restricted to the instance level or the database level.
|
|
490
|
+
* Fixed properties of the credential:
|
|
491
|
+
* - Validity period: 10 minutes after creation.
|
|
492
|
+
* - Maximum number of connections: 500.
|
|
493
|
+
*
|
|
494
|
+
* @param request - CreateAgenticSqlExecuteCredentialRequest
|
|
495
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
496
|
+
* @returns CreateAgenticSqlExecuteCredentialResponse
|
|
497
|
+
*/
|
|
498
|
+
async createAgenticSqlExecuteCredentialWithOptions(request, runtime) {
|
|
499
|
+
request.validate();
|
|
500
|
+
let query = {};
|
|
501
|
+
if (!$dara.isNull(request.catalogName)) {
|
|
502
|
+
query["CatalogName"] = request.catalogName;
|
|
503
|
+
}
|
|
504
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
505
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
506
|
+
}
|
|
507
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
508
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
509
|
+
}
|
|
510
|
+
if (!$dara.isNull(request.qualifiedName)) {
|
|
511
|
+
query["QualifiedName"] = request.qualifiedName;
|
|
512
|
+
}
|
|
513
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
514
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
515
|
+
});
|
|
516
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
517
|
+
action: "CreateAgenticSqlExecuteCredential",
|
|
518
|
+
version: "2025-04-14",
|
|
519
|
+
protocol: "HTTPS",
|
|
520
|
+
pathname: "/",
|
|
521
|
+
method: "POST",
|
|
522
|
+
authType: "AK",
|
|
523
|
+
style: "RPC",
|
|
524
|
+
reqBodyType: "formData",
|
|
525
|
+
bodyType: "json",
|
|
526
|
+
});
|
|
527
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAgenticSqlExecuteCredentialResponse({}));
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Creates a temporary credential for an agent to execute SQL statements.
|
|
531
|
+
*
|
|
532
|
+
* @remarks
|
|
533
|
+
* The credential is used to execute SQL statements through the data gateway (OneQuery) and can be restricted to the instance level or the database level.
|
|
534
|
+
* Fixed properties of the credential:
|
|
535
|
+
* - Validity period: 10 minutes after creation.
|
|
536
|
+
* - Maximum number of connections: 500.
|
|
537
|
+
*
|
|
538
|
+
* @param request - CreateAgenticSqlExecuteCredentialRequest
|
|
539
|
+
* @returns CreateAgenticSqlExecuteCredentialResponse
|
|
540
|
+
*/
|
|
541
|
+
async createAgenticSqlExecuteCredential(request) {
|
|
542
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
543
|
+
return await this.createAgenticSqlExecuteCredentialWithOptions(request, runtime);
|
|
544
|
+
}
|
|
374
545
|
/**
|
|
375
546
|
* Creates an Airflow instance in a workspace.
|
|
376
547
|
*
|
|
@@ -540,6 +711,9 @@ class Client extends openapi_core_1.default {
|
|
|
540
711
|
if (!$dara.isNull(tmpReq.knowledgeSemanticConfigList)) {
|
|
541
712
|
request.knowledgeSemanticConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeSemanticConfigList, "KnowledgeSemanticConfigList", "json");
|
|
542
713
|
}
|
|
714
|
+
if (!$dara.isNull(tmpReq.recommendQuestionList)) {
|
|
715
|
+
request.recommendQuestionListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recommendQuestionList, "RecommendQuestionList", "json");
|
|
716
|
+
}
|
|
543
717
|
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
544
718
|
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
545
719
|
}
|
|
@@ -547,6 +721,9 @@ class Client extends openapi_core_1.default {
|
|
|
547
721
|
request.userSpecifiedSkillListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userSpecifiedSkillList, "UserSpecifiedSkillList", "json");
|
|
548
722
|
}
|
|
549
723
|
let query = {};
|
|
724
|
+
if (!$dara.isNull(request.agentType)) {
|
|
725
|
+
query["AgentType"] = request.agentType;
|
|
726
|
+
}
|
|
550
727
|
if (!$dara.isNull(request.callbackConfigShrink)) {
|
|
551
728
|
query["CallbackConfig"] = request.callbackConfigShrink;
|
|
552
729
|
}
|
|
@@ -577,6 +754,9 @@ class Client extends openapi_core_1.default {
|
|
|
577
754
|
if (!$dara.isNull(request.name)) {
|
|
578
755
|
query["Name"] = request.name;
|
|
579
756
|
}
|
|
757
|
+
if (!$dara.isNull(request.recommendQuestionListShrink)) {
|
|
758
|
+
query["RecommendQuestionList"] = request.recommendQuestionListShrink;
|
|
759
|
+
}
|
|
580
760
|
if (!$dara.isNull(request.relatedSessionId)) {
|
|
581
761
|
query["RelatedSessionId"] = request.relatedSessionId;
|
|
582
762
|
}
|
|
@@ -1082,6 +1262,51 @@ class Client extends openapi_core_1.default {
|
|
|
1082
1262
|
let runtime = new $dara.RuntimeOptions({});
|
|
1083
1263
|
return await this.createOneMetaSqlTemplateWithOptions(request, runtime);
|
|
1084
1264
|
}
|
|
1265
|
+
/**
|
|
1266
|
+
* Deletes a data source and its associated metadata catalog.
|
|
1267
|
+
*
|
|
1268
|
+
* @remarks
|
|
1269
|
+
* After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
|
|
1270
|
+
*
|
|
1271
|
+
* @param request - DeleteAgenticDataSourceRequest
|
|
1272
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1273
|
+
* @returns DeleteAgenticDataSourceResponse
|
|
1274
|
+
*/
|
|
1275
|
+
async deleteAgenticDataSourceWithOptions(request, runtime) {
|
|
1276
|
+
request.validate();
|
|
1277
|
+
let query = {};
|
|
1278
|
+
if (!$dara.isNull(request.dataSourceUuid)) {
|
|
1279
|
+
query["DataSourceUuid"] = request.dataSourceUuid;
|
|
1280
|
+
}
|
|
1281
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1282
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1283
|
+
});
|
|
1284
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1285
|
+
action: "DeleteAgenticDataSource",
|
|
1286
|
+
version: "2025-04-14",
|
|
1287
|
+
protocol: "HTTPS",
|
|
1288
|
+
pathname: "/",
|
|
1289
|
+
method: "POST",
|
|
1290
|
+
authType: "AK",
|
|
1291
|
+
style: "RPC",
|
|
1292
|
+
reqBodyType: "formData",
|
|
1293
|
+
bodyType: "json",
|
|
1294
|
+
});
|
|
1295
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAgenticDataSourceResponse({}));
|
|
1296
|
+
}
|
|
1297
|
+
/**
|
|
1298
|
+
* Deletes a data source and its associated metadata catalog.
|
|
1299
|
+
*
|
|
1300
|
+
* @remarks
|
|
1301
|
+
* After deletion, the data source cannot establish connections and cannot be restored by calling the enable API operation.
|
|
1302
|
+
*
|
|
1303
|
+
* @param request - DeleteAgenticDataSourceRequest
|
|
1304
|
+
* @returns DeleteAgenticDataSourceResponse
|
|
1305
|
+
*/
|
|
1306
|
+
async deleteAgenticDataSource(request) {
|
|
1307
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1308
|
+
return await this.deleteAgenticDataSourceWithOptions(request, runtime);
|
|
1309
|
+
}
|
|
1085
1310
|
/**
|
|
1086
1311
|
* Deletes an Airflow instance.
|
|
1087
1312
|
*
|
|
@@ -1750,7 +1975,7 @@ class Client extends openapi_core_1.default {
|
|
|
1750
1975
|
return await this.deleteWorkspaceCodeWithOptions(request, runtime);
|
|
1751
1976
|
}
|
|
1752
1977
|
/**
|
|
1753
|
-
* Retrieves the
|
|
1978
|
+
* Retrieves the detailed description of a custom agent based on the custom agent ID.
|
|
1754
1979
|
*
|
|
1755
1980
|
* @param request - DescribeCustomAgentRequest
|
|
1756
1981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1782,7 +2007,7 @@ class Client extends openapi_core_1.default {
|
|
|
1782
2007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentResponse({}));
|
|
1783
2008
|
}
|
|
1784
2009
|
/**
|
|
1785
|
-
* Retrieves the
|
|
2010
|
+
* Retrieves the detailed description of a custom agent based on the custom agent ID.
|
|
1786
2011
|
*
|
|
1787
2012
|
* @param request - DescribeCustomAgentRequest
|
|
1788
2013
|
* @returns DescribeCustomAgentResponse
|
|
@@ -1791,6 +2016,60 @@ class Client extends openapi_core_1.default {
|
|
|
1791
2016
|
let runtime = new $dara.RuntimeOptions({});
|
|
1792
2017
|
return await this.describeCustomAgentWithOptions(request, runtime);
|
|
1793
2018
|
}
|
|
2019
|
+
/**
|
|
2020
|
+
* DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
|
|
2021
|
+
*
|
|
2022
|
+
* @param request - DescribeCustomAgentMonitorMetricsRequest
|
|
2023
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2024
|
+
* @returns DescribeCustomAgentMonitorMetricsResponse
|
|
2025
|
+
*/
|
|
2026
|
+
async describeCustomAgentMonitorMetricsWithOptions(request, runtime) {
|
|
2027
|
+
request.validate();
|
|
2028
|
+
let query = {};
|
|
2029
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
2030
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
2031
|
+
}
|
|
2032
|
+
if (!$dara.isNull(request.endTime)) {
|
|
2033
|
+
query["EndTime"] = request.endTime;
|
|
2034
|
+
}
|
|
2035
|
+
if (!$dara.isNull(request.granularity)) {
|
|
2036
|
+
query["Granularity"] = request.granularity;
|
|
2037
|
+
}
|
|
2038
|
+
if (!$dara.isNull(request.queryType)) {
|
|
2039
|
+
query["QueryType"] = request.queryType;
|
|
2040
|
+
}
|
|
2041
|
+
if (!$dara.isNull(request.startTime)) {
|
|
2042
|
+
query["StartTime"] = request.startTime;
|
|
2043
|
+
}
|
|
2044
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2045
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2046
|
+
}
|
|
2047
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2048
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2049
|
+
});
|
|
2050
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2051
|
+
action: "DescribeCustomAgentMonitorMetrics",
|
|
2052
|
+
version: "2025-04-14",
|
|
2053
|
+
protocol: "HTTPS",
|
|
2054
|
+
pathname: "/",
|
|
2055
|
+
method: "POST",
|
|
2056
|
+
authType: "AK",
|
|
2057
|
+
style: "RPC",
|
|
2058
|
+
reqBodyType: "formData",
|
|
2059
|
+
bodyType: "json",
|
|
2060
|
+
});
|
|
2061
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentMonitorMetricsResponse({}));
|
|
2062
|
+
}
|
|
2063
|
+
/**
|
|
2064
|
+
* DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
|
|
2065
|
+
*
|
|
2066
|
+
* @param request - DescribeCustomAgentMonitorMetricsRequest
|
|
2067
|
+
* @returns DescribeCustomAgentMonitorMetricsResponse
|
|
2068
|
+
*/
|
|
2069
|
+
async describeCustomAgentMonitorMetrics(request) {
|
|
2070
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2071
|
+
return await this.describeCustomAgentMonitorMetricsWithOptions(request, runtime);
|
|
2072
|
+
}
|
|
1794
2073
|
/**
|
|
1795
2074
|
* Queries DataAgent metrics.
|
|
1796
2075
|
*
|
|
@@ -2128,7 +2407,7 @@ class Client extends openapi_core_1.default {
|
|
|
2128
2407
|
return await this.describeSkillFileUploadSignatureWithOptions(request, runtime);
|
|
2129
2408
|
}
|
|
2130
2409
|
/**
|
|
2131
|
-
*
|
|
2410
|
+
* Processes the file upload callback.
|
|
2132
2411
|
*
|
|
2133
2412
|
* @param request - FileUploadCallbackRequest
|
|
2134
2413
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2175,7 +2454,7 @@ class Client extends openapi_core_1.default {
|
|
|
2175
2454
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FileUploadCallbackResponse({}));
|
|
2176
2455
|
}
|
|
2177
2456
|
/**
|
|
2178
|
-
*
|
|
2457
|
+
* Processes the file upload callback.
|
|
2179
2458
|
*
|
|
2180
2459
|
* @param request - FileUploadCallbackRequest
|
|
2181
2460
|
* @returns FileUploadCallbackResponse
|
|
@@ -2185,7 +2464,10 @@ class Client extends openapi_core_1.default {
|
|
|
2185
2464
|
return await this.fileUploadCallbackWithOptions(request, runtime);
|
|
2186
2465
|
}
|
|
2187
2466
|
/**
|
|
2188
|
-
* Queries agent
|
|
2467
|
+
* Queries the agent associated with an install token after redemption. Data is empty if the token has not been redeemed.
|
|
2468
|
+
*
|
|
2469
|
+
* @remarks
|
|
2470
|
+
* Specify the install token issued by IssueAgenticInstallToken to query the agent generated or reused after the token is redeemed. The request fails if the install token does not exist. If the token has not been redeemed, or the associated credential or agent does not exist, the API call succeeds but Data is empty.
|
|
2189
2471
|
*
|
|
2190
2472
|
* @param request - GetAgenticAgentByInstallTokenRequest
|
|
2191
2473
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2214,7 +2496,10 @@ class Client extends openapi_core_1.default {
|
|
|
2214
2496
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticAgentByInstallTokenResponse({}));
|
|
2215
2497
|
}
|
|
2216
2498
|
/**
|
|
2217
|
-
* Queries agent
|
|
2499
|
+
* Queries the agent associated with an install token after redemption. Data is empty if the token has not been redeemed.
|
|
2500
|
+
*
|
|
2501
|
+
* @remarks
|
|
2502
|
+
* Specify the install token issued by IssueAgenticInstallToken to query the agent generated or reused after the token is redeemed. The request fails if the install token does not exist. If the token has not been redeemed, or the associated credential or agent does not exist, the API call succeeds but Data is empty.
|
|
2218
2503
|
*
|
|
2219
2504
|
* @param request - GetAgenticAgentByInstallTokenRequest
|
|
2220
2505
|
* @returns GetAgenticAgentByInstallTokenResponse
|
|
@@ -2224,26 +2509,23 @@ class Client extends openapi_core_1.default {
|
|
|
2224
2509
|
return await this.getAgenticAgentByInstallTokenWithOptions(request, runtime);
|
|
2225
2510
|
}
|
|
2226
2511
|
/**
|
|
2227
|
-
* Queries the
|
|
2512
|
+
* Queries the details of an Agentic DMS catalog based on the catalog UUID.
|
|
2228
2513
|
*
|
|
2229
|
-
* @param request -
|
|
2514
|
+
* @param request - GetAgenticCatalogRequest
|
|
2230
2515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2231
|
-
* @returns
|
|
2516
|
+
* @returns GetAgenticCatalogResponse
|
|
2232
2517
|
*/
|
|
2233
|
-
async
|
|
2518
|
+
async getAgenticCatalogWithOptions(request, runtime) {
|
|
2234
2519
|
request.validate();
|
|
2235
2520
|
let query = {};
|
|
2236
|
-
if (!$dara.isNull(request.
|
|
2237
|
-
query["
|
|
2238
|
-
}
|
|
2239
|
-
if (!$dara.isNull(request.workspaceId)) {
|
|
2240
|
-
query["WorkspaceId"] = request.workspaceId;
|
|
2521
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
2522
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
2241
2523
|
}
|
|
2242
2524
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2243
2525
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2244
2526
|
});
|
|
2245
2527
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2246
|
-
action: "
|
|
2528
|
+
action: "GetAgenticCatalog",
|
|
2247
2529
|
version: "2025-04-14",
|
|
2248
2530
|
protocol: "HTTPS",
|
|
2249
2531
|
pathname: "/",
|
|
@@ -2253,85 +2535,295 @@ class Client extends openapi_core_1.default {
|
|
|
2253
2535
|
reqBodyType: "formData",
|
|
2254
2536
|
bodyType: "json",
|
|
2255
2537
|
});
|
|
2256
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2538
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticCatalogResponse({}));
|
|
2257
2539
|
}
|
|
2258
2540
|
/**
|
|
2259
|
-
* Queries the
|
|
2541
|
+
* Queries the details of an Agentic DMS catalog based on the catalog UUID.
|
|
2260
2542
|
*
|
|
2261
|
-
* @param request -
|
|
2262
|
-
* @returns
|
|
2543
|
+
* @param request - GetAgenticCatalogRequest
|
|
2544
|
+
* @returns GetAgenticCatalogResponse
|
|
2263
2545
|
*/
|
|
2264
|
-
async
|
|
2546
|
+
async getAgenticCatalog(request) {
|
|
2265
2547
|
let runtime = new $dara.RuntimeOptions({});
|
|
2266
|
-
return await this.
|
|
2548
|
+
return await this.getAgenticCatalogWithOptions(request, runtime);
|
|
2267
2549
|
}
|
|
2268
2550
|
/**
|
|
2269
|
-
*
|
|
2551
|
+
* Queries the details of a data source by its UUID.
|
|
2270
2552
|
*
|
|
2271
2553
|
* @remarks
|
|
2272
|
-
*
|
|
2273
|
-
* - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
|
|
2274
|
-
* - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
|
|
2554
|
+
* Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
|
|
2275
2555
|
*
|
|
2276
|
-
* @param request -
|
|
2556
|
+
* @param request - GetAgenticDataSourceRequest
|
|
2277
2557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2278
|
-
* @returns
|
|
2558
|
+
* @returns GetAgenticDataSourceResponse
|
|
2279
2559
|
*/
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2560
|
+
async getAgenticDataSourceWithOptions(request, runtime) {
|
|
2561
|
+
request.validate();
|
|
2562
|
+
let query = {};
|
|
2563
|
+
if (!$dara.isNull(request.dataSourceUuid)) {
|
|
2564
|
+
query["DataSourceUuid"] = request.dataSourceUuid;
|
|
2565
|
+
}
|
|
2566
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2567
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2568
|
+
});
|
|
2569
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2570
|
+
action: "GetAgenticDataSource",
|
|
2571
|
+
version: "2025-04-14",
|
|
2572
|
+
protocol: "HTTPS",
|
|
2573
|
+
pathname: "/",
|
|
2574
|
+
method: "POST",
|
|
2575
|
+
authType: "AK",
|
|
2576
|
+
style: "RPC",
|
|
2577
|
+
reqBodyType: "formData",
|
|
2578
|
+
bodyType: "json",
|
|
2579
|
+
});
|
|
2580
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticDataSourceResponse({}));
|
|
2581
|
+
}
|
|
2582
|
+
/**
|
|
2583
|
+
* Queries the details of a data source by its UUID.
|
|
2584
|
+
*
|
|
2585
|
+
* @remarks
|
|
2586
|
+
* Queries the connection, authentication, status, and metadata catalog information of a specified data source under the current account. Only masked values are returned for passwords.
|
|
2587
|
+
*
|
|
2588
|
+
* @param request - GetAgenticDataSourceRequest
|
|
2589
|
+
* @returns GetAgenticDataSourceResponse
|
|
2590
|
+
*/
|
|
2591
|
+
async getAgenticDataSource(request) {
|
|
2592
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2593
|
+
return await this.getAgenticDataSourceWithOptions(request, runtime);
|
|
2594
|
+
}
|
|
2595
|
+
/**
|
|
2596
|
+
* Queries the details of a database in Agentic DMS based on the database UUID.
|
|
2597
|
+
*
|
|
2598
|
+
* @param request - GetAgenticDatabaseRequest
|
|
2599
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2600
|
+
* @returns GetAgenticDatabaseResponse
|
|
2601
|
+
*/
|
|
2602
|
+
async getAgenticDatabaseWithOptions(request, runtime) {
|
|
2603
|
+
request.validate();
|
|
2604
|
+
let query = {};
|
|
2605
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
2606
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
2607
|
+
}
|
|
2608
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2609
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2610
|
+
});
|
|
2611
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2612
|
+
action: "GetAgenticDatabase",
|
|
2613
|
+
version: "2025-04-14",
|
|
2614
|
+
protocol: "HTTPS",
|
|
2615
|
+
pathname: "/",
|
|
2616
|
+
method: "POST",
|
|
2617
|
+
authType: "AK",
|
|
2618
|
+
style: "RPC",
|
|
2619
|
+
reqBodyType: "formData",
|
|
2620
|
+
bodyType: "json",
|
|
2621
|
+
});
|
|
2622
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticDatabaseResponse({}));
|
|
2623
|
+
}
|
|
2624
|
+
/**
|
|
2625
|
+
* Queries the details of a database in Agentic DMS based on the database UUID.
|
|
2626
|
+
*
|
|
2627
|
+
* @param request - GetAgenticDatabaseRequest
|
|
2628
|
+
* @returns GetAgenticDatabaseResponse
|
|
2629
|
+
*/
|
|
2630
|
+
async getAgenticDatabase(request) {
|
|
2631
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2632
|
+
return await this.getAgenticDatabaseWithOptions(request, runtime);
|
|
2633
|
+
}
|
|
2634
|
+
/**
|
|
2635
|
+
* Queries the fields of a table based on the database UUID and the fully qualified name of the table.
|
|
2636
|
+
*
|
|
2637
|
+
* @param request - GetAgenticTableColumnRequest
|
|
2638
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2639
|
+
* @returns GetAgenticTableColumnResponse
|
|
2640
|
+
*/
|
|
2641
|
+
async getAgenticTableColumnWithOptions(request, runtime) {
|
|
2642
|
+
request.validate();
|
|
2643
|
+
let query = {};
|
|
2644
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
2645
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
2646
|
+
}
|
|
2647
|
+
if (!$dara.isNull(request.tableQualifiedName)) {
|
|
2648
|
+
query["TableQualifiedName"] = request.tableQualifiedName;
|
|
2649
|
+
}
|
|
2650
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2651
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2652
|
+
});
|
|
2653
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2654
|
+
action: "GetAgenticTableColumn",
|
|
2655
|
+
version: "2025-04-14",
|
|
2656
|
+
protocol: "HTTPS",
|
|
2657
|
+
pathname: "/",
|
|
2658
|
+
method: "POST",
|
|
2659
|
+
authType: "AK",
|
|
2660
|
+
style: "RPC",
|
|
2661
|
+
reqBodyType: "formData",
|
|
2662
|
+
bodyType: "json",
|
|
2663
|
+
});
|
|
2664
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticTableColumnResponse({}));
|
|
2665
|
+
}
|
|
2666
|
+
/**
|
|
2667
|
+
* Queries the fields of a table based on the database UUID and the fully qualified name of the table.
|
|
2668
|
+
*
|
|
2669
|
+
* @param request - GetAgenticTableColumnRequest
|
|
2670
|
+
* @returns GetAgenticTableColumnResponse
|
|
2671
|
+
*/
|
|
2672
|
+
async getAgenticTableColumn(request) {
|
|
2673
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2674
|
+
return await this.getAgenticTableColumnWithOptions(request, runtime);
|
|
2675
|
+
}
|
|
2676
|
+
/**
|
|
2677
|
+
* Queries the indexes of a table based on the database UUID and the fully qualified name of the table.
|
|
2678
|
+
*
|
|
2679
|
+
* @param request - GetAgenticTableIndexRequest
|
|
2680
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2681
|
+
* @returns GetAgenticTableIndexResponse
|
|
2682
|
+
*/
|
|
2683
|
+
async getAgenticTableIndexWithOptions(request, runtime) {
|
|
2684
|
+
request.validate();
|
|
2685
|
+
let query = {};
|
|
2686
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
2687
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
2688
|
+
}
|
|
2689
|
+
if (!$dara.isNull(request.tableQualifiedName)) {
|
|
2690
|
+
query["TableQualifiedName"] = request.tableQualifiedName;
|
|
2691
|
+
}
|
|
2692
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2693
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2694
|
+
});
|
|
2695
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2696
|
+
action: "GetAgenticTableIndex",
|
|
2697
|
+
version: "2025-04-14",
|
|
2698
|
+
protocol: "HTTPS",
|
|
2699
|
+
pathname: "/",
|
|
2700
|
+
method: "POST",
|
|
2701
|
+
authType: "AK",
|
|
2702
|
+
style: "RPC",
|
|
2703
|
+
reqBodyType: "formData",
|
|
2704
|
+
bodyType: "json",
|
|
2705
|
+
});
|
|
2706
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgenticTableIndexResponse({}));
|
|
2707
|
+
}
|
|
2708
|
+
/**
|
|
2709
|
+
* Queries the indexes of a table based on the database UUID and the fully qualified name of the table.
|
|
2710
|
+
*
|
|
2711
|
+
* @param request - GetAgenticTableIndexRequest
|
|
2712
|
+
* @returns GetAgenticTableIndexResponse
|
|
2713
|
+
*/
|
|
2714
|
+
async getAgenticTableIndex(request) {
|
|
2715
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2716
|
+
return await this.getAgenticTableIndexWithOptions(request, runtime);
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* Queries the configuration and status of an Airflow instance.
|
|
2720
|
+
*
|
|
2721
|
+
* @param request - GetAirflowRequest
|
|
2722
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2723
|
+
* @returns GetAirflowResponse
|
|
2724
|
+
*/
|
|
2725
|
+
async getAirflowWithOptions(request, runtime) {
|
|
2726
|
+
request.validate();
|
|
2727
|
+
let query = {};
|
|
2728
|
+
if (!$dara.isNull(request.airflowId)) {
|
|
2729
|
+
query["AirflowId"] = request.airflowId;
|
|
2730
|
+
}
|
|
2731
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
2732
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
2733
|
+
}
|
|
2734
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2735
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2736
|
+
});
|
|
2737
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2738
|
+
action: "GetAirflow",
|
|
2739
|
+
version: "2025-04-14",
|
|
2740
|
+
protocol: "HTTPS",
|
|
2741
|
+
pathname: "/",
|
|
2742
|
+
method: "POST",
|
|
2743
|
+
authType: "AK",
|
|
2744
|
+
style: "RPC",
|
|
2745
|
+
reqBodyType: "formData",
|
|
2746
|
+
bodyType: "json",
|
|
2747
|
+
});
|
|
2748
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAirflowResponse({}));
|
|
2749
|
+
}
|
|
2750
|
+
/**
|
|
2751
|
+
* Queries the configuration and status of an Airflow instance.
|
|
2752
|
+
*
|
|
2753
|
+
* @param request - GetAirflowRequest
|
|
2754
|
+
* @returns GetAirflowResponse
|
|
2755
|
+
*/
|
|
2756
|
+
async getAirflow(request) {
|
|
2757
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2758
|
+
return await this.getAirflowWithOptions(request, runtime);
|
|
2759
|
+
}
|
|
2760
|
+
/**
|
|
2761
|
+
* Retrieves chat content from a specific checkpoint by specifying the session ID and AgentId.
|
|
2762
|
+
*
|
|
2763
|
+
* @remarks
|
|
2764
|
+
* ## Request Description
|
|
2765
|
+
* - The response is returned as an SSE stream, where each event follows the `SSEEvent` schema and contains meta-information such as the message level.
|
|
2766
|
+
* - The `content` field in each SSE event may carry actual message text or a JSON object, depending on the value of `content_type`.
|
|
2767
|
+
*
|
|
2768
|
+
* @param request - GetChatContentRequest
|
|
2769
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2770
|
+
* @returns GetChatContentResponse
|
|
2771
|
+
*/
|
|
2772
|
+
getChatContentWithSSE(request, runtime) {
|
|
2773
|
+
return __asyncGenerator(this, arguments, function* getChatContentWithSSE_1() {
|
|
2774
|
+
var _a, e_1, _b, _c;
|
|
2775
|
+
request.validate();
|
|
2776
|
+
let query = {};
|
|
2777
|
+
if (!$dara.isNull(request.agentId)) {
|
|
2778
|
+
query["AgentId"] = request.agentId;
|
|
2779
|
+
}
|
|
2780
|
+
if (!$dara.isNull(request.checkpoint)) {
|
|
2781
|
+
query["Checkpoint"] = request.checkpoint;
|
|
2782
|
+
}
|
|
2783
|
+
if (!$dara.isNull(request.DMSUnit)) {
|
|
2784
|
+
query["DMSUnit"] = request.DMSUnit;
|
|
2785
|
+
}
|
|
2786
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
2787
|
+
query["SessionId"] = request.sessionId;
|
|
2788
|
+
}
|
|
2789
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2790
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2791
|
+
});
|
|
2792
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2793
|
+
action: "GetChatContent",
|
|
2794
|
+
version: "2025-04-14",
|
|
2795
|
+
protocol: "HTTPS",
|
|
2796
|
+
pathname: "/",
|
|
2797
|
+
method: "POST",
|
|
2798
|
+
authType: "AK",
|
|
2799
|
+
style: "RPC",
|
|
2800
|
+
reqBodyType: "formData",
|
|
2801
|
+
bodyType: "json",
|
|
2802
|
+
});
|
|
2803
|
+
let sseResp = yield __await(this.callSSEApi(params, req, runtime));
|
|
2804
|
+
try {
|
|
2805
|
+
for (var _d = true, sseResp_1 = __asyncValues(sseResp), sseResp_1_1; sseResp_1_1 = yield __await(sseResp_1.next()), _a = sseResp_1_1.done, !_a; _d = true) {
|
|
2806
|
+
_c = sseResp_1_1.value;
|
|
2807
|
+
_d = false;
|
|
2808
|
+
let resp = _c;
|
|
2809
|
+
if (!$dara.isNull(resp.event) && !$dara.isNull(resp.event.data)) {
|
|
2810
|
+
let data = JSON.parse(resp.event.data);
|
|
2811
|
+
yield yield __await($dara.cast({
|
|
2812
|
+
statusCode: resp.statusCode,
|
|
2813
|
+
headers: resp.headers,
|
|
2814
|
+
id: resp.event.id,
|
|
2815
|
+
event: resp.event.event,
|
|
2816
|
+
body: data,
|
|
2817
|
+
}, new $_model.GetChatContentResponse({})));
|
|
2818
|
+
}
|
|
2819
|
+
}
|
|
2820
|
+
}
|
|
2821
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2822
|
+
finally {
|
|
2823
|
+
try {
|
|
2824
|
+
if (!_d && !_a && (_b = sseResp_1.return)) yield __await(_b.call(sseResp_1));
|
|
2825
|
+
}
|
|
2826
|
+
finally { if (e_1) throw e_1.error; }
|
|
2335
2827
|
}
|
|
2336
2828
|
});
|
|
2337
2829
|
}
|
|
@@ -2478,10 +2970,10 @@ class Client extends openapi_core_1.default {
|
|
|
2478
2970
|
return await this.getDataAgentSubAccountInfoWithOptions(request, runtime);
|
|
2479
2971
|
}
|
|
2480
2972
|
/**
|
|
2481
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total
|
|
2973
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
|
|
2482
2974
|
*
|
|
2483
2975
|
* @remarks
|
|
2484
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model
|
|
2976
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
|
|
2485
2977
|
*
|
|
2486
2978
|
* @param tmpReq - GetDataAgentTaskModelUsageRequest
|
|
2487
2979
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2530,10 +3022,10 @@ class Client extends openapi_core_1.default {
|
|
|
2530
3022
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentTaskModelUsageResponse({}));
|
|
2531
3023
|
}
|
|
2532
3024
|
/**
|
|
2533
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total
|
|
3025
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
|
|
2534
3026
|
*
|
|
2535
3027
|
* @remarks
|
|
2536
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model
|
|
3028
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
|
|
2537
3029
|
*
|
|
2538
3030
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
2539
3031
|
* @returns GetDataAgentTaskModelUsageResponse
|
|
@@ -2543,10 +3035,10 @@ class Client extends openapi_core_1.default {
|
|
|
2543
3035
|
return await this.getDataAgentTaskModelUsageWithOptions(request, runtime);
|
|
2544
3036
|
}
|
|
2545
3037
|
/**
|
|
2546
|
-
* Queries the
|
|
3038
|
+
* Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
|
|
2547
3039
|
*
|
|
2548
3040
|
* @remarks
|
|
2549
|
-
* Queries the
|
|
3041
|
+
* Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
|
|
2550
3042
|
*
|
|
2551
3043
|
* @param tmpReq - GetDataAgentTaskModelUsageMetricsRequest
|
|
2552
3044
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2595,10 +3087,10 @@ class Client extends openapi_core_1.default {
|
|
|
2595
3087
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentTaskModelUsageMetricsResponse({}));
|
|
2596
3088
|
}
|
|
2597
3089
|
/**
|
|
2598
|
-
* Queries the
|
|
3090
|
+
* Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
|
|
2599
3091
|
*
|
|
2600
3092
|
* @remarks
|
|
2601
|
-
* Queries the
|
|
3093
|
+
* Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
|
|
2602
3094
|
*
|
|
2603
3095
|
* @param request - GetDataAgentTaskModelUsageMetricsRequest
|
|
2604
3096
|
* @returns GetDataAgentTaskModelUsageMetricsResponse
|
|
@@ -2649,7 +3141,7 @@ class Client extends openapi_core_1.default {
|
|
|
2649
3141
|
return await this.getDataAgentThemeUploadSignatureWithOptions(request, runtime);
|
|
2650
3142
|
}
|
|
2651
3143
|
/**
|
|
2652
|
-
*
|
|
3144
|
+
* Queries the details of a workspace.
|
|
2653
3145
|
*
|
|
2654
3146
|
* @param request - GetDataAgentWorkspaceInfoRequest
|
|
2655
3147
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2681,7 +3173,7 @@ class Client extends openapi_core_1.default {
|
|
|
2681
3173
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDataAgentWorkspaceInfoResponse({}));
|
|
2682
3174
|
}
|
|
2683
3175
|
/**
|
|
2684
|
-
*
|
|
3176
|
+
* Queries the details of a workspace.
|
|
2685
3177
|
*
|
|
2686
3178
|
* @param request - GetDataAgentWorkspaceInfoRequest
|
|
2687
3179
|
* @returns GetDataAgentWorkspaceInfoResponse
|
|
@@ -3231,7 +3723,382 @@ class Client extends openapi_core_1.default {
|
|
|
3231
3723
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3232
3724
|
});
|
|
3233
3725
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3234
|
-
action: "InstallDataAgentMcp",
|
|
3726
|
+
action: "InstallDataAgentMcp",
|
|
3727
|
+
version: "2025-04-14",
|
|
3728
|
+
protocol: "HTTPS",
|
|
3729
|
+
pathname: "/",
|
|
3730
|
+
method: "POST",
|
|
3731
|
+
authType: "AK",
|
|
3732
|
+
style: "RPC",
|
|
3733
|
+
reqBodyType: "formData",
|
|
3734
|
+
bodyType: "json",
|
|
3735
|
+
});
|
|
3736
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallDataAgentMcpResponse({}));
|
|
3737
|
+
}
|
|
3738
|
+
/**
|
|
3739
|
+
* Imports an MCP into DataAgent.
|
|
3740
|
+
*
|
|
3741
|
+
* @remarks
|
|
3742
|
+
* Imports an MCP into DataAgent.
|
|
3743
|
+
*
|
|
3744
|
+
* @param request - InstallDataAgentMcpRequest
|
|
3745
|
+
* @returns InstallDataAgentMcpResponse
|
|
3746
|
+
*/
|
|
3747
|
+
async installDataAgentMcp(request) {
|
|
3748
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3749
|
+
return await this.installDataAgentMcpWithOptions(request, runtime);
|
|
3750
|
+
}
|
|
3751
|
+
/**
|
|
3752
|
+
* Performs a paging query on the catalogs in Agentic DMS. You can filter the results by catalog type and name prefix.
|
|
3753
|
+
*
|
|
3754
|
+
* @param request - ListAgenticCatalogRequest
|
|
3755
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3756
|
+
* @returns ListAgenticCatalogResponse
|
|
3757
|
+
*/
|
|
3758
|
+
async listAgenticCatalogWithOptions(request, runtime) {
|
|
3759
|
+
request.validate();
|
|
3760
|
+
let query = {};
|
|
3761
|
+
if (!$dara.isNull(request.catalogType)) {
|
|
3762
|
+
query["CatalogType"] = request.catalogType;
|
|
3763
|
+
}
|
|
3764
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3765
|
+
query["MaxResults"] = request.maxResults;
|
|
3766
|
+
}
|
|
3767
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3768
|
+
query["NextToken"] = request.nextToken;
|
|
3769
|
+
}
|
|
3770
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
3771
|
+
query["SearchKey"] = request.searchKey;
|
|
3772
|
+
}
|
|
3773
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3774
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3775
|
+
});
|
|
3776
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3777
|
+
action: "ListAgenticCatalog",
|
|
3778
|
+
version: "2025-04-14",
|
|
3779
|
+
protocol: "HTTPS",
|
|
3780
|
+
pathname: "/",
|
|
3781
|
+
method: "POST",
|
|
3782
|
+
authType: "AK",
|
|
3783
|
+
style: "RPC",
|
|
3784
|
+
reqBodyType: "formData",
|
|
3785
|
+
bodyType: "json",
|
|
3786
|
+
});
|
|
3787
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticCatalogResponse({}));
|
|
3788
|
+
}
|
|
3789
|
+
/**
|
|
3790
|
+
* Performs a paging query on the catalogs in Agentic DMS. You can filter the results by catalog type and name prefix.
|
|
3791
|
+
*
|
|
3792
|
+
* @param request - ListAgenticCatalogRequest
|
|
3793
|
+
* @returns ListAgenticCatalogResponse
|
|
3794
|
+
*/
|
|
3795
|
+
async listAgenticCatalog(request) {
|
|
3796
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3797
|
+
return await this.listAgenticCatalogWithOptions(request, runtime);
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* Performs a paged query on the data sources of the current account by using paging.
|
|
3801
|
+
*
|
|
3802
|
+
* @remarks
|
|
3803
|
+
* You can filter data sources by type, status, endpoint, port, source, and connection target name. You can also perform a fuzzy search by name or endpoint. If multiple filter conditions are specified, the intersection of the conditions is used.
|
|
3804
|
+
*
|
|
3805
|
+
* @param request - ListAgenticDataSourcesRequest
|
|
3806
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3807
|
+
* @returns ListAgenticDataSourcesResponse
|
|
3808
|
+
*/
|
|
3809
|
+
async listAgenticDataSourcesWithOptions(request, runtime) {
|
|
3810
|
+
request.validate();
|
|
3811
|
+
let query = {};
|
|
3812
|
+
if (!$dara.isNull(request.dbType)) {
|
|
3813
|
+
query["DbType"] = request.dbType;
|
|
3814
|
+
}
|
|
3815
|
+
if (!$dara.isNull(request.host)) {
|
|
3816
|
+
query["Host"] = request.host;
|
|
3817
|
+
}
|
|
3818
|
+
if (!$dara.isNull(request.instanceSource)) {
|
|
3819
|
+
query["InstanceSource"] = request.instanceSource;
|
|
3820
|
+
}
|
|
3821
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3822
|
+
query["MaxResults"] = request.maxResults;
|
|
3823
|
+
}
|
|
3824
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3825
|
+
query["NextToken"] = request.nextToken;
|
|
3826
|
+
}
|
|
3827
|
+
if (!$dara.isNull(request.port)) {
|
|
3828
|
+
query["Port"] = request.port;
|
|
3829
|
+
}
|
|
3830
|
+
if (!$dara.isNull(request.schema)) {
|
|
3831
|
+
query["Schema"] = request.schema;
|
|
3832
|
+
}
|
|
3833
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
3834
|
+
query["SearchKey"] = request.searchKey;
|
|
3835
|
+
}
|
|
3836
|
+
if (!$dara.isNull(request.state)) {
|
|
3837
|
+
query["State"] = request.state;
|
|
3838
|
+
}
|
|
3839
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3840
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3841
|
+
});
|
|
3842
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3843
|
+
action: "ListAgenticDataSources",
|
|
3844
|
+
version: "2025-04-14",
|
|
3845
|
+
protocol: "HTTPS",
|
|
3846
|
+
pathname: "/",
|
|
3847
|
+
method: "POST",
|
|
3848
|
+
authType: "AK",
|
|
3849
|
+
style: "RPC",
|
|
3850
|
+
reqBodyType: "formData",
|
|
3851
|
+
bodyType: "json",
|
|
3852
|
+
});
|
|
3853
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticDataSourcesResponse({}));
|
|
3854
|
+
}
|
|
3855
|
+
/**
|
|
3856
|
+
* Performs a paged query on the data sources of the current account by using paging.
|
|
3857
|
+
*
|
|
3858
|
+
* @remarks
|
|
3859
|
+
* You can filter data sources by type, status, endpoint, port, source, and connection target name. You can also perform a fuzzy search by name or endpoint. If multiple filter conditions are specified, the intersection of the conditions is used.
|
|
3860
|
+
*
|
|
3861
|
+
* @param request - ListAgenticDataSourcesRequest
|
|
3862
|
+
* @returns ListAgenticDataSourcesResponse
|
|
3863
|
+
*/
|
|
3864
|
+
async listAgenticDataSources(request) {
|
|
3865
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3866
|
+
return await this.listAgenticDataSourcesWithOptions(request, runtime);
|
|
3867
|
+
}
|
|
3868
|
+
/**
|
|
3869
|
+
* Performs a paged query for the list of databases in a specified catalog, with options to filter by name prefix and specify the sorting method for paging.
|
|
3870
|
+
*
|
|
3871
|
+
* @param request - ListAgenticDatabaseRequest
|
|
3872
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3873
|
+
* @returns ListAgenticDatabaseResponse
|
|
3874
|
+
*/
|
|
3875
|
+
async listAgenticDatabaseWithOptions(request, runtime) {
|
|
3876
|
+
request.validate();
|
|
3877
|
+
let query = {};
|
|
3878
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
3879
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
3880
|
+
}
|
|
3881
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3882
|
+
query["MaxResults"] = request.maxResults;
|
|
3883
|
+
}
|
|
3884
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3885
|
+
query["NextToken"] = request.nextToken;
|
|
3886
|
+
}
|
|
3887
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
3888
|
+
query["SearchKey"] = request.searchKey;
|
|
3889
|
+
}
|
|
3890
|
+
if (!$dara.isNull(request.sortFieldName)) {
|
|
3891
|
+
query["SortFieldName"] = request.sortFieldName;
|
|
3892
|
+
}
|
|
3893
|
+
if (!$dara.isNull(request.sortOrder)) {
|
|
3894
|
+
query["SortOrder"] = request.sortOrder;
|
|
3895
|
+
}
|
|
3896
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3897
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3898
|
+
});
|
|
3899
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3900
|
+
action: "ListAgenticDatabase",
|
|
3901
|
+
version: "2025-04-14",
|
|
3902
|
+
protocol: "HTTPS",
|
|
3903
|
+
pathname: "/",
|
|
3904
|
+
method: "POST",
|
|
3905
|
+
authType: "AK",
|
|
3906
|
+
style: "RPC",
|
|
3907
|
+
reqBodyType: "formData",
|
|
3908
|
+
bodyType: "json",
|
|
3909
|
+
});
|
|
3910
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticDatabaseResponse({}));
|
|
3911
|
+
}
|
|
3912
|
+
/**
|
|
3913
|
+
* Performs a paged query for the list of databases in a specified catalog, with options to filter by name prefix and specify the sorting method for paging.
|
|
3914
|
+
*
|
|
3915
|
+
* @param request - ListAgenticDatabaseRequest
|
|
3916
|
+
* @returns ListAgenticDatabaseResponse
|
|
3917
|
+
*/
|
|
3918
|
+
async listAgenticDatabase(request) {
|
|
3919
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3920
|
+
return await this.listAgenticDatabaseWithOptions(request, runtime);
|
|
3921
|
+
}
|
|
3922
|
+
/**
|
|
3923
|
+
* Queries the SQL execution history within the current tenant and returns the results in descending order of execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
3924
|
+
*
|
|
3925
|
+
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
3926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3927
|
+
* @returns ListAgenticGlobalSqlExecutionHistoriesResponse
|
|
3928
|
+
*/
|
|
3929
|
+
async listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime) {
|
|
3930
|
+
request.validate();
|
|
3931
|
+
let query = {};
|
|
3932
|
+
if (!$dara.isNull(request.actorId)) {
|
|
3933
|
+
query["ActorId"] = request.actorId;
|
|
3934
|
+
}
|
|
3935
|
+
if (!$dara.isNull(request.actorName)) {
|
|
3936
|
+
query["ActorName"] = request.actorName;
|
|
3937
|
+
}
|
|
3938
|
+
if (!$dara.isNull(request.actorType)) {
|
|
3939
|
+
query["ActorType"] = request.actorType;
|
|
3940
|
+
}
|
|
3941
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
3942
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
3943
|
+
}
|
|
3944
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
3945
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
3946
|
+
}
|
|
3947
|
+
if (!$dara.isNull(request.endTime)) {
|
|
3948
|
+
query["EndTime"] = request.endTime;
|
|
3949
|
+
}
|
|
3950
|
+
if (!$dara.isNull(request.page)) {
|
|
3951
|
+
query["Page"] = request.page;
|
|
3952
|
+
}
|
|
3953
|
+
if (!$dara.isNull(request.scenario)) {
|
|
3954
|
+
query["Scenario"] = request.scenario;
|
|
3955
|
+
}
|
|
3956
|
+
if (!$dara.isNull(request.size)) {
|
|
3957
|
+
query["Size"] = request.size;
|
|
3958
|
+
}
|
|
3959
|
+
if (!$dara.isNull(request.sqlKeyword)) {
|
|
3960
|
+
query["SqlKeyword"] = request.sqlKeyword;
|
|
3961
|
+
}
|
|
3962
|
+
if (!$dara.isNull(request.sqlType)) {
|
|
3963
|
+
query["SqlType"] = request.sqlType;
|
|
3964
|
+
}
|
|
3965
|
+
if (!$dara.isNull(request.startTime)) {
|
|
3966
|
+
query["StartTime"] = request.startTime;
|
|
3967
|
+
}
|
|
3968
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3969
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3970
|
+
});
|
|
3971
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3972
|
+
action: "ListAgenticGlobalSqlExecutionHistories",
|
|
3973
|
+
version: "2025-04-14",
|
|
3974
|
+
protocol: "HTTPS",
|
|
3975
|
+
pathname: "/",
|
|
3976
|
+
method: "POST",
|
|
3977
|
+
authType: "AK",
|
|
3978
|
+
style: "RPC",
|
|
3979
|
+
reqBodyType: "formData",
|
|
3980
|
+
bodyType: "json",
|
|
3981
|
+
});
|
|
3982
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticGlobalSqlExecutionHistoriesResponse({}));
|
|
3983
|
+
}
|
|
3984
|
+
/**
|
|
3985
|
+
* Queries the SQL execution history within the current tenant and returns the results in descending order of execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
3986
|
+
*
|
|
3987
|
+
* @param request - ListAgenticGlobalSqlExecutionHistoriesRequest
|
|
3988
|
+
* @returns ListAgenticGlobalSqlExecutionHistoriesResponse
|
|
3989
|
+
*/
|
|
3990
|
+
async listAgenticGlobalSqlExecutionHistories(request) {
|
|
3991
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3992
|
+
return await this.listAgenticGlobalSqlExecutionHistoriesWithOptions(request, runtime);
|
|
3993
|
+
}
|
|
3994
|
+
/**
|
|
3995
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
3996
|
+
*
|
|
3997
|
+
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
3998
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3999
|
+
* @returns ListAgenticSqlExecutionHistoriesResponse
|
|
4000
|
+
*/
|
|
4001
|
+
async listAgenticSqlExecutionHistoriesWithOptions(request, runtime) {
|
|
4002
|
+
request.validate();
|
|
4003
|
+
let query = {};
|
|
4004
|
+
if (!$dara.isNull(request.actorId)) {
|
|
4005
|
+
query["ActorId"] = request.actorId;
|
|
4006
|
+
}
|
|
4007
|
+
if (!$dara.isNull(request.actorName)) {
|
|
4008
|
+
query["ActorName"] = request.actorName;
|
|
4009
|
+
}
|
|
4010
|
+
if (!$dara.isNull(request.actorType)) {
|
|
4011
|
+
query["ActorType"] = request.actorType;
|
|
4012
|
+
}
|
|
4013
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
4014
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
4015
|
+
}
|
|
4016
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
4017
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
4018
|
+
}
|
|
4019
|
+
if (!$dara.isNull(request.endTime)) {
|
|
4020
|
+
query["EndTime"] = request.endTime;
|
|
4021
|
+
}
|
|
4022
|
+
if (!$dara.isNull(request.page)) {
|
|
4023
|
+
query["Page"] = request.page;
|
|
4024
|
+
}
|
|
4025
|
+
if (!$dara.isNull(request.scenario)) {
|
|
4026
|
+
query["Scenario"] = request.scenario;
|
|
4027
|
+
}
|
|
4028
|
+
if (!$dara.isNull(request.size)) {
|
|
4029
|
+
query["Size"] = request.size;
|
|
4030
|
+
}
|
|
4031
|
+
if (!$dara.isNull(request.sqlKeyword)) {
|
|
4032
|
+
query["SqlKeyword"] = request.sqlKeyword;
|
|
4033
|
+
}
|
|
4034
|
+
if (!$dara.isNull(request.sqlType)) {
|
|
4035
|
+
query["SqlType"] = request.sqlType;
|
|
4036
|
+
}
|
|
4037
|
+
if (!$dara.isNull(request.startTime)) {
|
|
4038
|
+
query["StartTime"] = request.startTime;
|
|
4039
|
+
}
|
|
4040
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4041
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4042
|
+
});
|
|
4043
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4044
|
+
action: "ListAgenticSqlExecutionHistories",
|
|
4045
|
+
version: "2025-04-14",
|
|
4046
|
+
protocol: "HTTPS",
|
|
4047
|
+
pathname: "/",
|
|
4048
|
+
method: "POST",
|
|
4049
|
+
authType: "AK",
|
|
4050
|
+
style: "RPC",
|
|
4051
|
+
reqBodyType: "formData",
|
|
4052
|
+
bodyType: "json",
|
|
4053
|
+
});
|
|
4054
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticSqlExecutionHistoriesResponse({}));
|
|
4055
|
+
}
|
|
4056
|
+
/**
|
|
4057
|
+
* Queries the SQL execution history visible to the current caller, sorted in descending order by execution start time. Only AGENT_QUERY and WORKFLOW_QUERY are included.
|
|
4058
|
+
*
|
|
4059
|
+
* @param request - ListAgenticSqlExecutionHistoriesRequest
|
|
4060
|
+
* @returns ListAgenticSqlExecutionHistoriesResponse
|
|
4061
|
+
*/
|
|
4062
|
+
async listAgenticSqlExecutionHistories(request) {
|
|
4063
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4064
|
+
return await this.listAgenticSqlExecutionHistoriesWithOptions(request, runtime);
|
|
4065
|
+
}
|
|
4066
|
+
/**
|
|
4067
|
+
* Queries the basic information and engine metadata of tables in a specified database by using paging. You can filter the results by keyword and table type, and specify the sorting method.
|
|
4068
|
+
*
|
|
4069
|
+
* @param request - ListAgenticTableBaseInfoRequest
|
|
4070
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4071
|
+
* @returns ListAgenticTableBaseInfoResponse
|
|
4072
|
+
*/
|
|
4073
|
+
async listAgenticTableBaseInfoWithOptions(request, runtime) {
|
|
4074
|
+
request.validate();
|
|
4075
|
+
let query = {};
|
|
4076
|
+
if (!$dara.isNull(request.databaseUuid)) {
|
|
4077
|
+
query["DatabaseUuid"] = request.databaseUuid;
|
|
4078
|
+
}
|
|
4079
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4080
|
+
query["MaxResults"] = request.maxResults;
|
|
4081
|
+
}
|
|
4082
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4083
|
+
query["NextToken"] = request.nextToken;
|
|
4084
|
+
}
|
|
4085
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
4086
|
+
query["SearchKey"] = request.searchKey;
|
|
4087
|
+
}
|
|
4088
|
+
if (!$dara.isNull(request.sortFieldName)) {
|
|
4089
|
+
query["SortFieldName"] = request.sortFieldName;
|
|
4090
|
+
}
|
|
4091
|
+
if (!$dara.isNull(request.sortOrder)) {
|
|
4092
|
+
query["SortOrder"] = request.sortOrder;
|
|
4093
|
+
}
|
|
4094
|
+
if (!$dara.isNull(request.tableType)) {
|
|
4095
|
+
query["TableType"] = request.tableType;
|
|
4096
|
+
}
|
|
4097
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4098
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4099
|
+
});
|
|
4100
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4101
|
+
action: "ListAgenticTableBaseInfo",
|
|
3235
4102
|
version: "2025-04-14",
|
|
3236
4103
|
protocol: "HTTPS",
|
|
3237
4104
|
pathname: "/",
|
|
@@ -3241,20 +4108,17 @@ class Client extends openapi_core_1.default {
|
|
|
3241
4108
|
reqBodyType: "formData",
|
|
3242
4109
|
bodyType: "json",
|
|
3243
4110
|
});
|
|
3244
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
4111
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgenticTableBaseInfoResponse({}));
|
|
3245
4112
|
}
|
|
3246
4113
|
/**
|
|
3247
|
-
*
|
|
4114
|
+
* Queries the basic information and engine metadata of tables in a specified database by using paging. You can filter the results by keyword and table type, and specify the sorting method.
|
|
3248
4115
|
*
|
|
3249
|
-
* @
|
|
3250
|
-
*
|
|
3251
|
-
*
|
|
3252
|
-
* @param request - InstallDataAgentMcpRequest
|
|
3253
|
-
* @returns InstallDataAgentMcpResponse
|
|
4116
|
+
* @param request - ListAgenticTableBaseInfoRequest
|
|
4117
|
+
* @returns ListAgenticTableBaseInfoResponse
|
|
3254
4118
|
*/
|
|
3255
|
-
async
|
|
4119
|
+
async listAgenticTableBaseInfo(request) {
|
|
3256
4120
|
let runtime = new $dara.RuntimeOptions({});
|
|
3257
|
-
return await this.
|
|
4121
|
+
return await this.listAgenticTableBaseInfoWithOptions(request, runtime);
|
|
3258
4122
|
}
|
|
3259
4123
|
/**
|
|
3260
4124
|
* Lists the available Airflow versions.
|
|
@@ -3353,7 +4217,7 @@ class Client extends openapi_core_1.default {
|
|
|
3353
4217
|
return await this.listAirflowsWithOptions(request, runtime);
|
|
3354
4218
|
}
|
|
3355
4219
|
/**
|
|
3356
|
-
* Lists all custom agents in
|
|
4220
|
+
* Lists all custom agents in personal and team workspaces.
|
|
3357
4221
|
*
|
|
3358
4222
|
* @param request - ListCustomAgentRequest
|
|
3359
4223
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3362,6 +4226,9 @@ class Client extends openapi_core_1.default {
|
|
|
3362
4226
|
async listCustomAgentWithOptions(request, runtime) {
|
|
3363
4227
|
request.validate();
|
|
3364
4228
|
let query = {};
|
|
4229
|
+
if (!$dara.isNull(request.agentType)) {
|
|
4230
|
+
query["AgentType"] = request.agentType;
|
|
4231
|
+
}
|
|
3365
4232
|
if (!$dara.isNull(request.pageNumber)) {
|
|
3366
4233
|
query["PageNumber"] = request.pageNumber;
|
|
3367
4234
|
}
|
|
@@ -3397,7 +4264,7 @@ class Client extends openapi_core_1.default {
|
|
|
3397
4264
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentResponse({}));
|
|
3398
4265
|
}
|
|
3399
4266
|
/**
|
|
3400
|
-
* Lists all custom agents in
|
|
4267
|
+
* Lists all custom agents in personal and team workspaces.
|
|
3401
4268
|
*
|
|
3402
4269
|
* @param request - ListCustomAgentRequest
|
|
3403
4270
|
* @returns ListCustomAgentResponse
|
|
@@ -3407,10 +4274,67 @@ class Client extends openapi_core_1.default {
|
|
|
3407
4274
|
return await this.listCustomAgentWithOptions(request, runtime);
|
|
3408
4275
|
}
|
|
3409
4276
|
/**
|
|
3410
|
-
*
|
|
4277
|
+
* ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
|
|
4278
|
+
*
|
|
4279
|
+
* @param request - ListCustomAgentMonitorSessionsRequest
|
|
4280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4281
|
+
* @returns ListCustomAgentMonitorSessionsResponse
|
|
4282
|
+
*/
|
|
4283
|
+
async listCustomAgentMonitorSessionsWithOptions(request, runtime) {
|
|
4284
|
+
request.validate();
|
|
4285
|
+
let query = {};
|
|
4286
|
+
if (!$dara.isNull(request.customAgentId)) {
|
|
4287
|
+
query["CustomAgentId"] = request.customAgentId;
|
|
4288
|
+
}
|
|
4289
|
+
if (!$dara.isNull(request.endTime)) {
|
|
4290
|
+
query["EndTime"] = request.endTime;
|
|
4291
|
+
}
|
|
4292
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
4293
|
+
query["PageNumber"] = request.pageNumber;
|
|
4294
|
+
}
|
|
4295
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
4296
|
+
query["PageSize"] = request.pageSize;
|
|
4297
|
+
}
|
|
4298
|
+
if (!$dara.isNull(request.queryType)) {
|
|
4299
|
+
query["QueryType"] = request.queryType;
|
|
4300
|
+
}
|
|
4301
|
+
if (!$dara.isNull(request.startTime)) {
|
|
4302
|
+
query["StartTime"] = request.startTime;
|
|
4303
|
+
}
|
|
4304
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
4305
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
4306
|
+
}
|
|
4307
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4308
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4309
|
+
});
|
|
4310
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4311
|
+
action: "ListCustomAgentMonitorSessions",
|
|
4312
|
+
version: "2025-04-14",
|
|
4313
|
+
protocol: "HTTPS",
|
|
4314
|
+
pathname: "/",
|
|
4315
|
+
method: "POST",
|
|
4316
|
+
authType: "AK",
|
|
4317
|
+
style: "RPC",
|
|
4318
|
+
reqBodyType: "formData",
|
|
4319
|
+
bodyType: "json",
|
|
4320
|
+
});
|
|
4321
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentMonitorSessionsResponse({}));
|
|
4322
|
+
}
|
|
4323
|
+
/**
|
|
4324
|
+
* ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
|
|
4325
|
+
*
|
|
4326
|
+
* @param request - ListCustomAgentMonitorSessionsRequest
|
|
4327
|
+
* @returns ListCustomAgentMonitorSessionsResponse
|
|
4328
|
+
*/
|
|
4329
|
+
async listCustomAgentMonitorSessions(request) {
|
|
4330
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4331
|
+
return await this.listCustomAgentMonitorSessionsWithOptions(request, runtime);
|
|
4332
|
+
}
|
|
4333
|
+
/**
|
|
4334
|
+
* Lists the accuracy test configuration items that meet the specified conditions.
|
|
3411
4335
|
*
|
|
3412
4336
|
* @remarks
|
|
3413
|
-
* Lists accuracy test configuration items that meet the specified conditions.
|
|
4337
|
+
* Lists the accuracy test configuration items that meet the specified conditions.
|
|
3414
4338
|
*
|
|
3415
4339
|
* @param request - ListDataAgentAccuracyTestInstancesRequest
|
|
3416
4340
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3454,10 +4378,10 @@ class Client extends openapi_core_1.default {
|
|
|
3454
4378
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentAccuracyTestInstancesResponse({}));
|
|
3455
4379
|
}
|
|
3456
4380
|
/**
|
|
3457
|
-
* Lists accuracy test configuration items that meet the specified conditions.
|
|
4381
|
+
* Lists the accuracy test configuration items that meet the specified conditions.
|
|
3458
4382
|
*
|
|
3459
4383
|
* @remarks
|
|
3460
|
-
* Lists accuracy test configuration items that meet the specified conditions.
|
|
4384
|
+
* Lists the accuracy test configuration items that meet the specified conditions.
|
|
3461
4385
|
*
|
|
3462
4386
|
* @param request - ListDataAgentAccuracyTestInstancesRequest
|
|
3463
4387
|
* @returns ListDataAgentAccuracyTestInstancesResponse
|
|
@@ -3914,7 +4838,7 @@ class Client extends openapi_core_1.default {
|
|
|
3914
4838
|
return await this.listDataAgentThemeWithOptions(request, runtime);
|
|
3915
4839
|
}
|
|
3916
4840
|
/**
|
|
3917
|
-
*
|
|
4841
|
+
* Queries a paginated list of collaborative workspaces under the Alibaba Cloud account.
|
|
3918
4842
|
*
|
|
3919
4843
|
* @param request - ListDataAgentWorkspaceRequest
|
|
3920
4844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3970,7 +4894,7 @@ class Client extends openapi_core_1.default {
|
|
|
3970
4894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDataAgentWorkspaceResponse({}));
|
|
3971
4895
|
}
|
|
3972
4896
|
/**
|
|
3973
|
-
*
|
|
4897
|
+
* Queries a paginated list of collaborative workspaces under the Alibaba Cloud account.
|
|
3974
4898
|
*
|
|
3975
4899
|
* @param request - ListDataAgentWorkspaceRequest
|
|
3976
4900
|
* @returns ListDataAgentWorkspaceResponse
|
|
@@ -4562,7 +5486,7 @@ class Client extends openapi_core_1.default {
|
|
|
4562
5486
|
return await this.listWorkspaceCodeWithOptions(request, runtime);
|
|
4563
5487
|
}
|
|
4564
5488
|
/**
|
|
4565
|
-
* Modifies a custom agent in a personal
|
|
5489
|
+
* Modifies a custom agent in a personal or team workspace.
|
|
4566
5490
|
*
|
|
4567
5491
|
* @param tmpReq - ModifyCustomAgentRequest
|
|
4568
5492
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4584,6 +5508,9 @@ class Client extends openapi_core_1.default {
|
|
|
4584
5508
|
if (!$dara.isNull(tmpReq.knowledgeSemanticConfigList)) {
|
|
4585
5509
|
request.knowledgeSemanticConfigListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.knowledgeSemanticConfigList, "KnowledgeSemanticConfigList", "json");
|
|
4586
5510
|
}
|
|
5511
|
+
if (!$dara.isNull(tmpReq.recommendQuestionList)) {
|
|
5512
|
+
request.recommendQuestionListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.recommendQuestionList, "RecommendQuestionList", "json");
|
|
5513
|
+
}
|
|
4587
5514
|
if (!$dara.isNull(tmpReq.scheduleTaskConfig)) {
|
|
4588
5515
|
request.scheduleTaskConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.scheduleTaskConfig, "ScheduleTaskConfig", "json");
|
|
4589
5516
|
}
|
|
@@ -4624,6 +5551,9 @@ class Client extends openapi_core_1.default {
|
|
|
4624
5551
|
if (!$dara.isNull(request.name)) {
|
|
4625
5552
|
query["Name"] = request.name;
|
|
4626
5553
|
}
|
|
5554
|
+
if (!$dara.isNull(request.recommendQuestionListShrink)) {
|
|
5555
|
+
query["RecommendQuestionList"] = request.recommendQuestionListShrink;
|
|
5556
|
+
}
|
|
4627
5557
|
if (!$dara.isNull(request.relatedSessionId)) {
|
|
4628
5558
|
query["RelatedSessionId"] = request.relatedSessionId;
|
|
4629
5559
|
}
|
|
@@ -4662,7 +5592,7 @@ class Client extends openapi_core_1.default {
|
|
|
4662
5592
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyCustomAgentResponse({}));
|
|
4663
5593
|
}
|
|
4664
5594
|
/**
|
|
4665
|
-
* Modifies a custom agent in a personal
|
|
5595
|
+
* Modifies a custom agent in a personal or team workspace.
|
|
4666
5596
|
*
|
|
4667
5597
|
* @param request - ModifyCustomAgentRequest
|
|
4668
5598
|
* @returns ModifyCustomAgentResponse
|
|
@@ -5105,6 +6035,114 @@ class Client extends openapi_core_1.default {
|
|
|
5105
6035
|
let runtime = new $dara.RuntimeOptions({});
|
|
5106
6036
|
return await this.saveWorkspaceCodeWithOptions(request, runtime);
|
|
5107
6037
|
}
|
|
6038
|
+
/**
|
|
6039
|
+
* Searches for catalogs in Agentic DMS by keyword, catalog type, database type, or a list of catalog UUIDs, and returns paginated results.
|
|
6040
|
+
*
|
|
6041
|
+
* @param request - SearchAgenticCatalogRequest
|
|
6042
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6043
|
+
* @returns SearchAgenticCatalogResponse
|
|
6044
|
+
*/
|
|
6045
|
+
async searchAgenticCatalogWithOptions(request, runtime) {
|
|
6046
|
+
request.validate();
|
|
6047
|
+
let query = {};
|
|
6048
|
+
if (!$dara.isNull(request.catalogType)) {
|
|
6049
|
+
query["CatalogType"] = request.catalogType;
|
|
6050
|
+
}
|
|
6051
|
+
if (!$dara.isNull(request.catalogUuids)) {
|
|
6052
|
+
query["CatalogUuids"] = request.catalogUuids;
|
|
6053
|
+
}
|
|
6054
|
+
if (!$dara.isNull(request.dbType)) {
|
|
6055
|
+
query["DbType"] = request.dbType;
|
|
6056
|
+
}
|
|
6057
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6058
|
+
query["MaxResults"] = request.maxResults;
|
|
6059
|
+
}
|
|
6060
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6061
|
+
query["NextToken"] = request.nextToken;
|
|
6062
|
+
}
|
|
6063
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
6064
|
+
query["SearchKey"] = request.searchKey;
|
|
6065
|
+
}
|
|
6066
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6067
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6068
|
+
});
|
|
6069
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6070
|
+
action: "SearchAgenticCatalog",
|
|
6071
|
+
version: "2025-04-14",
|
|
6072
|
+
protocol: "HTTPS",
|
|
6073
|
+
pathname: "/",
|
|
6074
|
+
method: "POST",
|
|
6075
|
+
authType: "AK",
|
|
6076
|
+
style: "RPC",
|
|
6077
|
+
reqBodyType: "formData",
|
|
6078
|
+
bodyType: "json",
|
|
6079
|
+
});
|
|
6080
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchAgenticCatalogResponse({}));
|
|
6081
|
+
}
|
|
6082
|
+
/**
|
|
6083
|
+
* Searches for catalogs in Agentic DMS by keyword, catalog type, database type, or a list of catalog UUIDs, and returns paginated results.
|
|
6084
|
+
*
|
|
6085
|
+
* @param request - SearchAgenticCatalogRequest
|
|
6086
|
+
* @returns SearchAgenticCatalogResponse
|
|
6087
|
+
*/
|
|
6088
|
+
async searchAgenticCatalog(request) {
|
|
6089
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6090
|
+
return await this.searchAgenticCatalogWithOptions(request, runtime);
|
|
6091
|
+
}
|
|
6092
|
+
/**
|
|
6093
|
+
* Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
|
|
6094
|
+
*
|
|
6095
|
+
* @param request - SearchAgenticDatabaseRequest
|
|
6096
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6097
|
+
* @returns SearchAgenticDatabaseResponse
|
|
6098
|
+
*/
|
|
6099
|
+
async searchAgenticDatabaseWithOptions(request, runtime) {
|
|
6100
|
+
request.validate();
|
|
6101
|
+
let query = {};
|
|
6102
|
+
if (!$dara.isNull(request.catalogUuid)) {
|
|
6103
|
+
query["CatalogUuid"] = request.catalogUuid;
|
|
6104
|
+
}
|
|
6105
|
+
if (!$dara.isNull(request.dbType)) {
|
|
6106
|
+
query["DbType"] = request.dbType;
|
|
6107
|
+
}
|
|
6108
|
+
if (!$dara.isNull(request.envType)) {
|
|
6109
|
+
query["EnvType"] = request.envType;
|
|
6110
|
+
}
|
|
6111
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
6112
|
+
query["MaxResults"] = request.maxResults;
|
|
6113
|
+
}
|
|
6114
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
6115
|
+
query["NextToken"] = request.nextToken;
|
|
6116
|
+
}
|
|
6117
|
+
if (!$dara.isNull(request.searchKey)) {
|
|
6118
|
+
query["SearchKey"] = request.searchKey;
|
|
6119
|
+
}
|
|
6120
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6121
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6122
|
+
});
|
|
6123
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6124
|
+
action: "SearchAgenticDatabase",
|
|
6125
|
+
version: "2025-04-14",
|
|
6126
|
+
protocol: "HTTPS",
|
|
6127
|
+
pathname: "/",
|
|
6128
|
+
method: "POST",
|
|
6129
|
+
authType: "AK",
|
|
6130
|
+
style: "RPC",
|
|
6131
|
+
reqBodyType: "formData",
|
|
6132
|
+
bodyType: "json",
|
|
6133
|
+
});
|
|
6134
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchAgenticDatabaseResponse({}));
|
|
6135
|
+
}
|
|
6136
|
+
/**
|
|
6137
|
+
* Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
|
|
6138
|
+
*
|
|
6139
|
+
* @param request - SearchAgenticDatabaseRequest
|
|
6140
|
+
* @returns SearchAgenticDatabaseResponse
|
|
6141
|
+
*/
|
|
6142
|
+
async searchAgenticDatabase(request) {
|
|
6143
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6144
|
+
return await this.searchAgenticDatabaseWithOptions(request, runtime);
|
|
6145
|
+
}
|
|
5108
6146
|
/**
|
|
5109
6147
|
* Sends a user message to a specified session or cancels a session.
|
|
5110
6148
|
*
|
|
@@ -5475,7 +6513,220 @@ class Client extends openapi_core_1.default {
|
|
|
5475
6513
|
return await this.stopDataAgentAccuracyTestTaskWithOptions(request, runtime);
|
|
5476
6514
|
}
|
|
5477
6515
|
/**
|
|
5478
|
-
*
|
|
6516
|
+
* Tests whether the network and authentication information of a data source are available.
|
|
6517
|
+
*
|
|
6518
|
+
* @remarks
|
|
6519
|
+
* Validates only the connection information passed in the current request without creating or modifying a data source. When testing an existing data source, you can pass DataSourceUuid to reuse the saved password.
|
|
6520
|
+
*
|
|
6521
|
+
* @param request - TestAgenticDataSourceConnectionRequest
|
|
6522
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6523
|
+
* @returns TestAgenticDataSourceConnectionResponse
|
|
6524
|
+
*/
|
|
6525
|
+
async testAgenticDataSourceConnectionWithOptions(request, runtime) {
|
|
6526
|
+
request.validate();
|
|
6527
|
+
let query = {};
|
|
6528
|
+
if (!$dara.isNull(request.alias)) {
|
|
6529
|
+
query["Alias"] = request.alias;
|
|
6530
|
+
}
|
|
6531
|
+
if (!$dara.isNull(request.authAccount)) {
|
|
6532
|
+
query["AuthAccount"] = request.authAccount;
|
|
6533
|
+
}
|
|
6534
|
+
if (!$dara.isNull(request.authPassword)) {
|
|
6535
|
+
query["AuthPassword"] = request.authPassword;
|
|
6536
|
+
}
|
|
6537
|
+
if (!$dara.isNull(request.authType)) {
|
|
6538
|
+
query["AuthType"] = request.authType;
|
|
6539
|
+
}
|
|
6540
|
+
if (!$dara.isNull(request.catalogName)) {
|
|
6541
|
+
query["CatalogName"] = request.catalogName;
|
|
6542
|
+
}
|
|
6543
|
+
if (!$dara.isNull(request.dataSourceUuid)) {
|
|
6544
|
+
query["DataSourceUuid"] = request.dataSourceUuid;
|
|
6545
|
+
}
|
|
6546
|
+
if (!$dara.isNull(request.dbType)) {
|
|
6547
|
+
query["DbType"] = request.dbType;
|
|
6548
|
+
}
|
|
6549
|
+
if (!$dara.isNull(request.envType)) {
|
|
6550
|
+
query["EnvType"] = request.envType;
|
|
6551
|
+
}
|
|
6552
|
+
if (!$dara.isNull(request.host)) {
|
|
6553
|
+
query["Host"] = request.host;
|
|
6554
|
+
}
|
|
6555
|
+
if (!$dara.isNull(request.instanceResourceId)) {
|
|
6556
|
+
query["InstanceResourceId"] = request.instanceResourceId;
|
|
6557
|
+
}
|
|
6558
|
+
if (!$dara.isNull(request.instanceSource)) {
|
|
6559
|
+
query["InstanceSource"] = request.instanceSource;
|
|
6560
|
+
}
|
|
6561
|
+
if (!$dara.isNull(request.kmsSecret)) {
|
|
6562
|
+
query["KmsSecret"] = request.kmsSecret;
|
|
6563
|
+
}
|
|
6564
|
+
if (!$dara.isNull(request.port)) {
|
|
6565
|
+
query["Port"] = request.port;
|
|
6566
|
+
}
|
|
6567
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
6568
|
+
query["RoleArn"] = request.roleArn;
|
|
6569
|
+
}
|
|
6570
|
+
if (!$dara.isNull(request.schema)) {
|
|
6571
|
+
query["Schema"] = request.schema;
|
|
6572
|
+
}
|
|
6573
|
+
if (!$dara.isNull(request.snowflakeRole)) {
|
|
6574
|
+
query["SnowflakeRole"] = request.snowflakeRole;
|
|
6575
|
+
}
|
|
6576
|
+
if (!$dara.isNull(request.snowflakeWarehouse)) {
|
|
6577
|
+
query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
|
|
6578
|
+
}
|
|
6579
|
+
if (!$dara.isNull(request.syncAlias)) {
|
|
6580
|
+
query["SyncAlias"] = request.syncAlias;
|
|
6581
|
+
}
|
|
6582
|
+
if (!$dara.isNull(request.useSsl)) {
|
|
6583
|
+
query["UseSsl"] = request.useSsl;
|
|
6584
|
+
}
|
|
6585
|
+
if (!$dara.isNull(request.vSwitchId)) {
|
|
6586
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
6587
|
+
}
|
|
6588
|
+
if (!$dara.isNull(request.vpcId)) {
|
|
6589
|
+
query["VpcId"] = request.vpcId;
|
|
6590
|
+
}
|
|
6591
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
6592
|
+
query["ZoneId"] = request.zoneId;
|
|
6593
|
+
}
|
|
6594
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6595
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6596
|
+
});
|
|
6597
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6598
|
+
action: "TestAgenticDataSourceConnection",
|
|
6599
|
+
version: "2025-04-14",
|
|
6600
|
+
protocol: "HTTPS",
|
|
6601
|
+
pathname: "/",
|
|
6602
|
+
method: "POST",
|
|
6603
|
+
authType: "AK",
|
|
6604
|
+
style: "RPC",
|
|
6605
|
+
reqBodyType: "formData",
|
|
6606
|
+
bodyType: "json",
|
|
6607
|
+
});
|
|
6608
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TestAgenticDataSourceConnectionResponse({}));
|
|
6609
|
+
}
|
|
6610
|
+
/**
|
|
6611
|
+
* Tests whether the network and authentication information of a data source are available.
|
|
6612
|
+
*
|
|
6613
|
+
* @remarks
|
|
6614
|
+
* Validates only the connection information passed in the current request without creating or modifying a data source. When testing an existing data source, you can pass DataSourceUuid to reuse the saved password.
|
|
6615
|
+
*
|
|
6616
|
+
* @param request - TestAgenticDataSourceConnectionRequest
|
|
6617
|
+
* @returns TestAgenticDataSourceConnectionResponse
|
|
6618
|
+
*/
|
|
6619
|
+
async testAgenticDataSourceConnection(request) {
|
|
6620
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6621
|
+
return await this.testAgenticDataSourceConnectionWithOptions(request, runtime);
|
|
6622
|
+
}
|
|
6623
|
+
/**
|
|
6624
|
+
* Updates the connection, authentication, or display information of an existing data source.
|
|
6625
|
+
*
|
|
6626
|
+
* @remarks
|
|
6627
|
+
* Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
|
|
6628
|
+
*
|
|
6629
|
+
* @param request - UpdateAgenticDataSourceRequest
|
|
6630
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6631
|
+
* @returns UpdateAgenticDataSourceResponse
|
|
6632
|
+
*/
|
|
6633
|
+
async updateAgenticDataSourceWithOptions(request, runtime) {
|
|
6634
|
+
request.validate();
|
|
6635
|
+
let query = {};
|
|
6636
|
+
if (!$dara.isNull(request.alias)) {
|
|
6637
|
+
query["Alias"] = request.alias;
|
|
6638
|
+
}
|
|
6639
|
+
if (!$dara.isNull(request.authAccount)) {
|
|
6640
|
+
query["AuthAccount"] = request.authAccount;
|
|
6641
|
+
}
|
|
6642
|
+
if (!$dara.isNull(request.authPassword)) {
|
|
6643
|
+
query["AuthPassword"] = request.authPassword;
|
|
6644
|
+
}
|
|
6645
|
+
if (!$dara.isNull(request.authType)) {
|
|
6646
|
+
query["AuthType"] = request.authType;
|
|
6647
|
+
}
|
|
6648
|
+
if (!$dara.isNull(request.catalogName)) {
|
|
6649
|
+
query["CatalogName"] = request.catalogName;
|
|
6650
|
+
}
|
|
6651
|
+
if (!$dara.isNull(request.createMode)) {
|
|
6652
|
+
query["CreateMode"] = request.createMode;
|
|
6653
|
+
}
|
|
6654
|
+
if (!$dara.isNull(request.dataSourceUuid)) {
|
|
6655
|
+
query["DataSourceUuid"] = request.dataSourceUuid;
|
|
6656
|
+
}
|
|
6657
|
+
if (!$dara.isNull(request.dbType)) {
|
|
6658
|
+
query["DbType"] = request.dbType;
|
|
6659
|
+
}
|
|
6660
|
+
if (!$dara.isNull(request.envType)) {
|
|
6661
|
+
query["EnvType"] = request.envType;
|
|
6662
|
+
}
|
|
6663
|
+
if (!$dara.isNull(request.host)) {
|
|
6664
|
+
query["Host"] = request.host;
|
|
6665
|
+
}
|
|
6666
|
+
if (!$dara.isNull(request.instanceResourceId)) {
|
|
6667
|
+
query["InstanceResourceId"] = request.instanceResourceId;
|
|
6668
|
+
}
|
|
6669
|
+
if (!$dara.isNull(request.kmsSecret)) {
|
|
6670
|
+
query["KmsSecret"] = request.kmsSecret;
|
|
6671
|
+
}
|
|
6672
|
+
if (!$dara.isNull(request.policyId)) {
|
|
6673
|
+
query["PolicyId"] = request.policyId;
|
|
6674
|
+
}
|
|
6675
|
+
if (!$dara.isNull(request.port)) {
|
|
6676
|
+
query["Port"] = request.port;
|
|
6677
|
+
}
|
|
6678
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
6679
|
+
query["RoleArn"] = request.roleArn;
|
|
6680
|
+
}
|
|
6681
|
+
if (!$dara.isNull(request.schema)) {
|
|
6682
|
+
query["Schema"] = request.schema;
|
|
6683
|
+
}
|
|
6684
|
+
if (!$dara.isNull(request.snowflakeRole)) {
|
|
6685
|
+
query["SnowflakeRole"] = request.snowflakeRole;
|
|
6686
|
+
}
|
|
6687
|
+
if (!$dara.isNull(request.snowflakeWarehouse)) {
|
|
6688
|
+
query["SnowflakeWarehouse"] = request.snowflakeWarehouse;
|
|
6689
|
+
}
|
|
6690
|
+
if (!$dara.isNull(request.syncAlias)) {
|
|
6691
|
+
query["SyncAlias"] = request.syncAlias;
|
|
6692
|
+
}
|
|
6693
|
+
if (!$dara.isNull(request.useSsl)) {
|
|
6694
|
+
query["UseSsl"] = request.useSsl;
|
|
6695
|
+
}
|
|
6696
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6697
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6698
|
+
});
|
|
6699
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6700
|
+
action: "UpdateAgenticDataSource",
|
|
6701
|
+
version: "2025-04-14",
|
|
6702
|
+
protocol: "HTTPS",
|
|
6703
|
+
pathname: "/",
|
|
6704
|
+
method: "POST",
|
|
6705
|
+
authType: "AK",
|
|
6706
|
+
style: "RPC",
|
|
6707
|
+
reqBodyType: "formData",
|
|
6708
|
+
bodyType: "json",
|
|
6709
|
+
});
|
|
6710
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAgenticDataSourceResponse({}));
|
|
6711
|
+
}
|
|
6712
|
+
/**
|
|
6713
|
+
* Updates the connection, authentication, or display information of an existing data source.
|
|
6714
|
+
*
|
|
6715
|
+
* @remarks
|
|
6716
|
+
* Only the parameters passed in the current request are modified. Unpassed parameters remain unchanged. The data source type cannot be modified.
|
|
6717
|
+
*
|
|
6718
|
+
* @param request - UpdateAgenticDataSourceRequest
|
|
6719
|
+
* @returns UpdateAgenticDataSourceResponse
|
|
6720
|
+
*/
|
|
6721
|
+
async updateAgenticDataSource(request) {
|
|
6722
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6723
|
+
return await this.updateAgenticDataSourceWithOptions(request, runtime);
|
|
6724
|
+
}
|
|
6725
|
+
/**
|
|
6726
|
+
* Updates the information of an Airflow instance.
|
|
6727
|
+
*
|
|
6728
|
+
* @remarks
|
|
6729
|
+
* Creates an Airflow instance in a workspace.
|
|
5479
6730
|
*
|
|
5480
6731
|
* @param tmpReq - UpdateAirflowRequest
|
|
5481
6732
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5548,7 +6799,10 @@ class Client extends openapi_core_1.default {
|
|
|
5548
6799
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAirflowResponse({}));
|
|
5549
6800
|
}
|
|
5550
6801
|
/**
|
|
5551
|
-
* Updates the
|
|
6802
|
+
* Updates the information of an Airflow instance.
|
|
6803
|
+
*
|
|
6804
|
+
* @remarks
|
|
6805
|
+
* Creates an Airflow instance in a workspace.
|
|
5552
6806
|
*
|
|
5553
6807
|
* @param request - UpdateAirflowRequest
|
|
5554
6808
|
* @returns UpdateAirflowResponse
|
|
@@ -5561,7 +6815,7 @@ class Client extends openapi_core_1.default {
|
|
|
5561
6815
|
* Updates the content of an accuracy test item.
|
|
5562
6816
|
*
|
|
5563
6817
|
* @remarks
|
|
5564
|
-
* Updates the
|
|
6818
|
+
* Updates the accuracy test item.
|
|
5565
6819
|
*
|
|
5566
6820
|
* @param request - UpdateDataAgentAccuracyTestRequest
|
|
5567
6821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5632,7 +6886,7 @@ class Client extends openapi_core_1.default {
|
|
|
5632
6886
|
* Updates the content of an accuracy test item.
|
|
5633
6887
|
*
|
|
5634
6888
|
* @remarks
|
|
5635
|
-
* Updates the
|
|
6889
|
+
* Updates the accuracy test item.
|
|
5636
6890
|
*
|
|
5637
6891
|
* @param request - UpdateDataAgentAccuracyTestRequest
|
|
5638
6892
|
* @returns UpdateDataAgentAccuracyTestResponse
|