@alicloud/dms20250414 4.6.0 → 5.0.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 +18 -33
- package/dist/client.js +36 -85
- package/dist/client.js.map +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
- package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/CreateAirflowRequest.d.ts +31 -10
- package/dist/models/CreateAirflowRequest.js +6 -0
- package/dist/models/CreateAirflowRequest.js.map +1 -1
- package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
- package/dist/models/CreateAirflowResponseBody.js +6 -0
- package/dist/models/CreateAirflowResponseBody.js.map +1 -1
- package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
- package/dist/models/CreateAirflowShrinkRequest.js +6 -0
- package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
- package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
- package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
- package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DataAgentApplication.d.ts +124 -2
- package/dist/models/DataAgentApplication.js +45 -1
- package/dist/models/DataAgentApplication.js.map +1 -1
- package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
- package/dist/models/{BatchCreateDataLakePartitionsShrinkRequest.js → DataAgentApplicationAgreement.js} +13 -19
- package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
- package/dist/models/GetAirflowRequest.d.ts +2 -2
- package/dist/models/GetAirflowResponseBody.d.ts +37 -17
- package/dist/models/GetAirflowResponseBody.js +6 -0
- package/dist/models/GetAirflowResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
- package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
- package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +1 -1
- package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
- package/dist/models/ListAirflowsRequest.d.ts +5 -5
- package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
- package/dist/models/ListAirflowsResponseBody.js +6 -0
- package/dist/models/ListAirflowsResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentRequest.d.ts +2 -2
- package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
- package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
- package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
- package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
- package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
- package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
- package/dist/models/SendChatMessageRequest.d.ts +2 -2
- package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
- package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
- package/dist/models/UpdateAirflowRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowRequest.js +6 -0
- package/dist/models/UpdateAirflowRequest.js.map +1 -1
- package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
- package/dist/models/UpdateAirflowResponseBody.js +6 -0
- package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
- package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
- package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
- package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
- package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
- package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
- package/dist/models/model.d.ts +2 -4
- package/dist/models/model.js +20 -24
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +42 -96
- package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
- package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/CreateAirflowRequest.ts +37 -10
- package/src/models/CreateAirflowResponseBody.ts +42 -15
- package/src/models/CreateAirflowShrinkRequest.ts +37 -10
- package/src/models/CreateCustomAgentRequest.ts +38 -38
- package/src/models/CreateCustomAgentResponseBody.ts +18 -18
- package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
- package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
- package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/DataAgentApplication.ts +159 -2
- package/src/models/DataAgentApplicationAgreement.ts +74 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
- package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
- package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
- package/src/models/FileUploadCallbackRequest.ts +2 -2
- package/src/models/GetAirflowRequest.ts +2 -2
- package/src/models/GetAirflowResponseBody.ts +43 -17
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
- package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
- package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
- package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
- package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +1 -1
- package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
- package/src/models/ListAirflowsRequest.ts +5 -5
- package/src/models/ListAirflowsResponseBody.ts +49 -23
- package/src/models/ListCustomAgentRequest.ts +2 -2
- package/src/models/ListCustomAgentResponseBody.ts +37 -37
- package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
- package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
- package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
- package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
- package/src/models/ModifyCustomAgentRequest.ts +40 -40
- package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
- package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
- package/src/models/RedeployAirflowResponseBody.ts +1 -1
- package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
- package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
- package/src/models/SendChatMessageRequest.ts +2 -2
- package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
- package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
- package/src/models/UpdateAirflowRequest.ts +32 -5
- package/src/models/UpdateAirflowResponseBody.ts +34 -7
- package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
- package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
- package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
- package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
- package/src/models/model.ts +2 -4
- package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +0 -88
- package/dist/models/BatchCreateDataLakePartitionsRequest.js +0 -76
- package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +0 -19
- package/dist/models/BatchCreateDataLakePartitionsResponse.js +0 -69
- package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +0 -54
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +0 -70
- package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +0 -1
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +0 -87
- package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +0 -1
- package/src/models/BatchCreateDataLakePartitionsRequest.ts +0 -118
- package/src/models/BatchCreateDataLakePartitionsResponse.ts +0 -40
- package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +0 -78
- package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +0 -114
|
@@ -41,7 +41,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
41
41
|
clientToken?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* The
|
|
44
|
+
* The directory scanned by Airflow for DAGs.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* default/dags
|
|
@@ -62,17 +62,38 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
62
62
|
description?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* Specifies whether to enable
|
|
65
|
+
* Specifies whether to enable data lineage. For Airflow 2.x, this feature is always disabled, and the lineage specification and number of replicas are ignored.
|
|
66
|
+
*/
|
|
67
|
+
enableLineage?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* Specifies whether to enable elasticity for workers.
|
|
66
71
|
*/
|
|
67
72
|
enableServerless?: boolean;
|
|
68
73
|
/**
|
|
69
74
|
* @remarks
|
|
70
|
-
* The timeout period for
|
|
75
|
+
* The timeout period for a worker to gracefully shut down.
|
|
71
76
|
*
|
|
72
77
|
* @example
|
|
73
78
|
* 60
|
|
74
79
|
*/
|
|
75
80
|
gracefulShutdownTimeout?: number;
|
|
81
|
+
/**
|
|
82
|
+
* @remarks
|
|
83
|
+
* The number of replicas for the lineage service. The default value is 1 when enabled. If omitted during an update, the original value is retained.
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* 1
|
|
87
|
+
*/
|
|
88
|
+
lineageReplicas?: number;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* The specification of the lineage service. It uses the same tier as the Airflow instance specification.
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* SMALL
|
|
95
|
+
*/
|
|
96
|
+
lineageSpec?: string;
|
|
76
97
|
/**
|
|
77
98
|
* @remarks
|
|
78
99
|
* The name of the OSS bucket.
|
|
@@ -95,7 +116,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
95
116
|
ossPath?: string;
|
|
96
117
|
/**
|
|
97
118
|
* @remarks
|
|
98
|
-
* The
|
|
119
|
+
* The directory scanned by the Airflow instance for plugins.
|
|
99
120
|
*
|
|
100
121
|
* @example
|
|
101
122
|
* default/plugins
|
|
@@ -103,7 +124,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
103
124
|
pluginsDir?: string;
|
|
104
125
|
/**
|
|
105
126
|
* @remarks
|
|
106
|
-
* The path
|
|
127
|
+
* The path to the installation package.
|
|
107
128
|
*
|
|
108
129
|
* @example
|
|
109
130
|
* default/requirements.txt
|
|
@@ -121,7 +142,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
121
142
|
securityGroupId?: string;
|
|
122
143
|
/**
|
|
123
144
|
* @remarks
|
|
124
|
-
* The startup script
|
|
145
|
+
* The startup script for the Airflow container.
|
|
125
146
|
*
|
|
126
147
|
* @example
|
|
127
148
|
* default/startup.sh
|
|
@@ -139,7 +160,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
139
160
|
vSwitchId?: string;
|
|
140
161
|
/**
|
|
141
162
|
* @remarks
|
|
142
|
-
* VPC ID
|
|
163
|
+
* The VPC ID.
|
|
143
164
|
*
|
|
144
165
|
* This parameter is required.
|
|
145
166
|
*
|
|
@@ -149,7 +170,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
149
170
|
vpcId?: string;
|
|
150
171
|
/**
|
|
151
172
|
* @remarks
|
|
152
|
-
* The number of
|
|
173
|
+
* The number of worker node extensions.
|
|
153
174
|
*
|
|
154
175
|
* This parameter is required.
|
|
155
176
|
*
|
|
@@ -159,7 +180,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
159
180
|
workerServerlessReplicas?: number;
|
|
160
181
|
/**
|
|
161
182
|
* @remarks
|
|
162
|
-
* The
|
|
183
|
+
* The DMS workspace ID.
|
|
163
184
|
*
|
|
164
185
|
* This parameter is required.
|
|
165
186
|
*
|
|
@@ -169,7 +190,7 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
169
190
|
workspaceId?: string;
|
|
170
191
|
/**
|
|
171
192
|
* @remarks
|
|
172
|
-
* The zone ID
|
|
193
|
+
* The zone ID in the region.
|
|
173
194
|
*
|
|
174
195
|
* @example
|
|
175
196
|
* cn-hangzhou-h
|
|
@@ -184,8 +205,11 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
184
205
|
dagsDir: 'DagsDir',
|
|
185
206
|
dataMountInfoListShrink: 'DataMountInfoList',
|
|
186
207
|
description: 'Description',
|
|
208
|
+
enableLineage: 'EnableLineage',
|
|
187
209
|
enableServerless: 'EnableServerless',
|
|
188
210
|
gracefulShutdownTimeout: 'GracefulShutdownTimeout',
|
|
211
|
+
lineageReplicas: 'LineageReplicas',
|
|
212
|
+
lineageSpec: 'LineageSpec',
|
|
189
213
|
ossBucketName: 'OssBucketName',
|
|
190
214
|
ossPath: 'OssPath',
|
|
191
215
|
pluginsDir: 'PluginsDir',
|
|
@@ -209,8 +233,11 @@ export class CreateAirflowShrinkRequest extends $dara.Model {
|
|
|
209
233
|
dagsDir: 'string',
|
|
210
234
|
dataMountInfoListShrink: 'string',
|
|
211
235
|
description: 'string',
|
|
236
|
+
enableLineage: 'boolean',
|
|
212
237
|
enableServerless: 'boolean',
|
|
213
238
|
gracefulShutdownTimeout: 'number',
|
|
239
|
+
lineageReplicas: 'number',
|
|
240
|
+
lineageSpec: 'string',
|
|
214
241
|
ossBucketName: 'string',
|
|
215
242
|
ossPath: 'string',
|
|
216
243
|
pluginsDir: 'string',
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The parameters
|
|
8
|
+
* The parameters to invoke the callback tool.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {"ID":"test"}
|
|
@@ -75,7 +75,7 @@ export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
|
75
75
|
export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* Specifies whether to prohibit appending data sources in
|
|
78
|
+
* Specifies whether to prohibit appending data sources in the session.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* true
|
|
@@ -83,7 +83,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
83
83
|
forbiddenAppendDataSource?: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* Specifies whether to
|
|
86
|
+
* Specifies whether to disable user inquiries during the process.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* true
|
|
@@ -107,7 +107,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
107
107
|
skipSqlConfirm?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* Specifies whether to skip the
|
|
110
|
+
* Specifies whether to skip the web report drawing confirmation.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* true
|
|
@@ -146,8 +146,8 @@ export class CreateCustomAgentRequestKnowledgeConfigList extends $dara.Model {
|
|
|
146
146
|
/**
|
|
147
147
|
* @remarks
|
|
148
148
|
* The access type. If you do not specify this parameter, the default value is mcp. Valid values:
|
|
149
|
-
* - mcp:
|
|
150
|
-
* - dms_kb:
|
|
149
|
+
* - mcp: access by using MCP. You must pass the McpServerId parameter.
|
|
150
|
+
* - dms_kb: access by using a DMS knowledge base. You must pass the KbUuid parameter.
|
|
151
151
|
*
|
|
152
152
|
* @example
|
|
153
153
|
* mcp
|
|
@@ -259,7 +259,7 @@ export class CreateCustomAgentRequestKnowledgeSemanticConfigList extends $dara.M
|
|
|
259
259
|
export class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Model {
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The cron expression for
|
|
262
|
+
* The cron expression for periodic scheduling.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* 0 0 0 ? * 1-7
|
|
@@ -267,7 +267,7 @@ export class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Model {
|
|
|
267
267
|
cronExpression?: string;
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The
|
|
270
|
+
* The query for the periodic task.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* Analyze this data and provide a brief report
|
|
@@ -310,8 +310,8 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
312
|
* The type of the custom agent. Valid values:
|
|
313
|
-
* - Default:
|
|
314
|
-
* - Common:
|
|
313
|
+
* - Default: the system-built-in custom agent. Each workspace can have at most one Default agent, which cannot be deleted.
|
|
314
|
+
* - Common: a common custom agent.
|
|
315
315
|
*
|
|
316
316
|
* @example
|
|
317
317
|
* Common
|
|
@@ -325,8 +325,8 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
325
325
|
/**
|
|
326
326
|
* @remarks
|
|
327
327
|
* The creation source. Valid values:
|
|
328
|
-
* -
|
|
329
|
-
* - SmartNew:
|
|
328
|
+
* - Default (leave empty): created by using a form.
|
|
329
|
+
* - SmartNew: intelligent development.
|
|
330
330
|
*
|
|
331
331
|
* @example
|
|
332
332
|
* SmartNew
|
|
@@ -342,19 +342,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
342
342
|
DMSUnit?: string;
|
|
343
343
|
/**
|
|
344
344
|
* @remarks
|
|
345
|
-
* The specified data scope in **JSON
|
|
345
|
+
* The specified data scope in **JSON string format**.
|
|
346
346
|
* - General parameter description:
|
|
347
|
-
* - tableFlag:
|
|
348
|
-
* - scope:
|
|
349
|
-
* - personal:
|
|
347
|
+
* - tableFlag: true indicates that the data scope is specified.
|
|
348
|
+
* - scope: personal is a fixed value.
|
|
349
|
+
* - personal: the parameters passed for file and database types.
|
|
350
350
|
*
|
|
351
351
|
* **File type**. Pass parameters in the following format:
|
|
352
|
-
* - DataSourceType:
|
|
353
|
-
* - FileId:
|
|
354
|
-
* - Database:
|
|
355
|
-
* - Tables:
|
|
356
|
-
* - TableIds:
|
|
357
|
-
* - RegionId:
|
|
352
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
353
|
+
* - FileId: the file ID.
|
|
354
|
+
* - Database: the database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
355
|
+
* - Tables: the table names returned by the ListDataCenterTable operation.
|
|
356
|
+
* - TableIds: the table IDs returned by the ListDataCenterTable operation.
|
|
357
|
+
* - RegionId: the current region.
|
|
358
358
|
* ```
|
|
359
359
|
* {
|
|
360
360
|
* "tableFlag": true,
|
|
@@ -375,16 +375,16 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
375
375
|
* ```
|
|
376
376
|
*
|
|
377
377
|
* **Database type**. Pass parameters in the following format:
|
|
378
|
-
* - DataSourceType:
|
|
379
|
-
* - DmsInstanceId:
|
|
380
|
-
* - DmsDatabaseId:
|
|
381
|
-
* - FileId:
|
|
382
|
-
* - DbName:
|
|
383
|
-
* - Database:
|
|
384
|
-
* - Tables:
|
|
385
|
-
* - TableIds:
|
|
386
|
-
* - Engine:
|
|
387
|
-
* - RegionId:
|
|
378
|
+
* - DataSourceType: database is a fixed value.
|
|
379
|
+
* - DmsInstanceId: the DMS instance ID returned by the data center operation.
|
|
380
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
381
|
+
* - FileId: the instance name. (Deprecated)
|
|
382
|
+
* - DbName: the database name returned by the data center operation.
|
|
383
|
+
* - Database: the database name returned by the data center operation.
|
|
384
|
+
* - Tables: the table names returned by the data center operation.
|
|
385
|
+
* - TableIds: the table IDs returned by the data center operation.
|
|
386
|
+
* - Engine: the engine type (mysql or postgresql).
|
|
387
|
+
* - RegionId: the current region.
|
|
388
388
|
* ```
|
|
389
389
|
* {
|
|
390
390
|
* "tableFlag": true,
|
|
@@ -439,27 +439,27 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
439
439
|
/**
|
|
440
440
|
* @remarks
|
|
441
441
|
* The instruction.
|
|
442
|
-
* - Input limit:
|
|
442
|
+
* - Input limit: up to 10,000 characters.
|
|
443
443
|
*
|
|
444
444
|
* @example
|
|
445
445
|
* Core metric definitions:
|
|
446
446
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
447
|
-
* 2. Order volume
|
|
447
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
448
448
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
449
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
449
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
450
450
|
*/
|
|
451
451
|
instruction?: string;
|
|
452
452
|
/**
|
|
453
453
|
* @remarks
|
|
454
454
|
* The knowledge.
|
|
455
|
-
* - Input limit:
|
|
455
|
+
* - Input limit: up to 10,000 characters.
|
|
456
456
|
*
|
|
457
457
|
* @example
|
|
458
458
|
* Core metric definitions:
|
|
459
459
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
460
|
-
* 2. Order volume
|
|
460
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
461
461
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
462
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
462
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
463
463
|
*/
|
|
464
464
|
knowledge?: string;
|
|
465
465
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The parameters to invoke the callback tool.
|
|
8
|
+
* The parameters used to invoke the callback tool.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* {"ID":"test"}
|
|
@@ -13,7 +13,7 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
13
13
|
callbackArgs?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The prompt
|
|
16
|
+
* The prompt used to generate parameters to invoke the callback tool.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* send web report to 123456@163.com
|
|
@@ -75,7 +75,7 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
75
75
|
export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* Specifies whether to prohibit appending data sources in
|
|
78
|
+
* Specifies whether to prohibit appending data sources in the session.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* true
|
|
@@ -83,7 +83,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
83
83
|
forbiddenAppendDataSource?: boolean;
|
|
84
84
|
/**
|
|
85
85
|
* @remarks
|
|
86
|
-
* Specifies whether to
|
|
86
|
+
* Specifies whether to disable user inquiries during the process.
|
|
87
87
|
*
|
|
88
88
|
* @example
|
|
89
89
|
* true
|
|
@@ -107,7 +107,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
107
107
|
skipSqlConfirm?: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* @remarks
|
|
110
|
-
* Specifies whether to skip the
|
|
110
|
+
* Specifies whether to skip the web report drawing confirmation.
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
113
|
* true
|
|
@@ -259,7 +259,7 @@ export class CreateCustomAgentResponseBodyDataKnowledgeSemanticConfigList extend
|
|
|
259
259
|
export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.Model {
|
|
260
260
|
/**
|
|
261
261
|
* @remarks
|
|
262
|
-
* The cron expression for
|
|
262
|
+
* The cron expression for periodic scheduling.
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
265
|
* 0 0 0 ? * 1-7
|
|
@@ -267,7 +267,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
267
267
|
cronExpression?: string;
|
|
268
268
|
/**
|
|
269
269
|
* @remarks
|
|
270
|
-
* The
|
|
270
|
+
* The query for the periodic task.
|
|
271
271
|
*
|
|
272
272
|
* @example
|
|
273
273
|
* Analyze this data and provide a brief report
|
|
@@ -309,7 +309,7 @@ export class CreateCustomAgentResponseBodyDataScheduleTaskConfig extends $dara.M
|
|
|
309
309
|
export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
310
310
|
/**
|
|
311
311
|
* @remarks
|
|
312
|
-
* The custom agent
|
|
312
|
+
* The type of the custom agent. Valid values:
|
|
313
313
|
* - Default: The system-built-in custom agent.
|
|
314
314
|
* - Common: The common custom agent.
|
|
315
315
|
*
|
|
@@ -319,7 +319,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
319
319
|
agentType?: string;
|
|
320
320
|
/**
|
|
321
321
|
* @remarks
|
|
322
|
-
* The
|
|
322
|
+
* The parent Alibaba Cloud account ID.
|
|
323
323
|
*
|
|
324
324
|
* @example
|
|
325
325
|
* 16738266********
|
|
@@ -424,14 +424,14 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
424
424
|
*
|
|
425
425
|
* @example
|
|
426
426
|
* Analysis framework:
|
|
427
|
-
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis
|
|
428
|
-
* 2. Segment data by new and
|
|
429
|
-
* 3. Conduct funnel analysis based on user behavior
|
|
427
|
+
* 1. Monitor core metrics (GMV, order volume, UV, and conversion rate) on a daily, weekly, and monthly basis to analyze trend changes and year-over-year or month-over-month fluctuations.
|
|
428
|
+
* 2. Segment data by new and existing customers, channels, and regions to identify growth sources and shortcomings.
|
|
429
|
+
* 3. Conduct funnel analysis based on the user behavior path (browse -> add to cart -> pay) to locate churn points
|
|
430
430
|
*/
|
|
431
431
|
instruction?: string;
|
|
432
432
|
/**
|
|
433
433
|
* @remarks
|
|
434
|
-
* Indicates whether a
|
|
434
|
+
* Indicates whether a scheduled task is configured.
|
|
435
435
|
*
|
|
436
436
|
* @example
|
|
437
437
|
* false
|
|
@@ -444,9 +444,9 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
444
444
|
* @example
|
|
445
445
|
* Core metric definitions:
|
|
446
446
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
447
|
-
* 2. Order volume
|
|
447
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
448
448
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
449
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
449
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
450
450
|
*/
|
|
451
451
|
knowledge?: string;
|
|
452
452
|
/**
|
|
@@ -485,7 +485,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
485
485
|
name?: string;
|
|
486
486
|
/**
|
|
487
487
|
* @remarks
|
|
488
|
-
* The next
|
|
488
|
+
* The next run time of the scheduled task.
|
|
489
489
|
* - Timestamp format.
|
|
490
490
|
*
|
|
491
491
|
* @example
|
|
@@ -532,12 +532,12 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
532
532
|
releaseTime?: string;
|
|
533
533
|
/**
|
|
534
534
|
* @remarks
|
|
535
|
-
* The
|
|
535
|
+
* The scheduled task configuration.
|
|
536
536
|
*/
|
|
537
537
|
scheduleTaskConfig?: CreateCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
538
538
|
/**
|
|
539
539
|
* @remarks
|
|
540
|
-
* The custom agent
|
|
540
|
+
* The status of the custom agent.
|
|
541
541
|
*
|
|
542
542
|
* @example
|
|
543
543
|
* NEW
|
|
@@ -6,8 +6,8 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The type of the custom agent. Valid values:
|
|
9
|
-
* - Default:
|
|
10
|
-
* - Common:
|
|
9
|
+
* - Default: the system-built-in custom agent. Each workspace can have at most one Default agent, which cannot be deleted.
|
|
10
|
+
* - Common: a common custom agent.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* Common
|
|
@@ -21,8 +21,8 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
23
|
* The creation source. Valid values:
|
|
24
|
-
* -
|
|
25
|
-
* - SmartNew:
|
|
24
|
+
* - Default (leave empty): created by using a form.
|
|
25
|
+
* - SmartNew: intelligent development.
|
|
26
26
|
*
|
|
27
27
|
* @example
|
|
28
28
|
* SmartNew
|
|
@@ -38,19 +38,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
38
38
|
DMSUnit?: string;
|
|
39
39
|
/**
|
|
40
40
|
* @remarks
|
|
41
|
-
* The specified data scope in **JSON
|
|
41
|
+
* The specified data scope in **JSON string format**.
|
|
42
42
|
* - General parameter description:
|
|
43
|
-
* - tableFlag:
|
|
44
|
-
* - scope:
|
|
45
|
-
* - personal:
|
|
43
|
+
* - tableFlag: true indicates that the data scope is specified.
|
|
44
|
+
* - scope: personal is a fixed value.
|
|
45
|
+
* - personal: the parameters passed for file and database types.
|
|
46
46
|
*
|
|
47
47
|
* **File type**. Pass parameters in the following format:
|
|
48
|
-
* - DataSourceType:
|
|
49
|
-
* - FileId:
|
|
50
|
-
* - Database:
|
|
51
|
-
* - Tables:
|
|
52
|
-
* - TableIds:
|
|
53
|
-
* - RegionId:
|
|
48
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
49
|
+
* - FileId: the file ID.
|
|
50
|
+
* - Database: the database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
51
|
+
* - Tables: the table names returned by the ListDataCenterTable operation.
|
|
52
|
+
* - TableIds: the table IDs returned by the ListDataCenterTable operation.
|
|
53
|
+
* - RegionId: the current region.
|
|
54
54
|
* ```
|
|
55
55
|
* {
|
|
56
56
|
* "tableFlag": true,
|
|
@@ -71,16 +71,16 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
71
71
|
* ```
|
|
72
72
|
*
|
|
73
73
|
* **Database type**. Pass parameters in the following format:
|
|
74
|
-
* - DataSourceType:
|
|
75
|
-
* - DmsInstanceId:
|
|
76
|
-
* - DmsDatabaseId:
|
|
77
|
-
* - FileId:
|
|
78
|
-
* - DbName:
|
|
79
|
-
* - Database:
|
|
80
|
-
* - Tables:
|
|
81
|
-
* - TableIds:
|
|
82
|
-
* - Engine:
|
|
83
|
-
* - RegionId:
|
|
74
|
+
* - DataSourceType: database is a fixed value.
|
|
75
|
+
* - DmsInstanceId: the DMS instance ID returned by the data center operation.
|
|
76
|
+
* - DmsDatabaseId: the DMS database ID returned by the data center operation.
|
|
77
|
+
* - FileId: the instance name. (Deprecated)
|
|
78
|
+
* - DbName: the database name returned by the data center operation.
|
|
79
|
+
* - Database: the database name returned by the data center operation.
|
|
80
|
+
* - Tables: the table names returned by the data center operation.
|
|
81
|
+
* - TableIds: the table IDs returned by the data center operation.
|
|
82
|
+
* - Engine: the engine type (mysql or postgresql).
|
|
83
|
+
* - RegionId: the current region.
|
|
84
84
|
* ```
|
|
85
85
|
* {
|
|
86
86
|
* "tableFlag": true,
|
|
@@ -135,27 +135,27 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
137
|
* The instruction.
|
|
138
|
-
* - Input limit:
|
|
138
|
+
* - Input limit: up to 10,000 characters.
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
141
|
* Core metric definitions:
|
|
142
142
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
143
|
-
* 2. Order volume
|
|
143
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
144
144
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
145
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
145
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
146
146
|
*/
|
|
147
147
|
instruction?: string;
|
|
148
148
|
/**
|
|
149
149
|
* @remarks
|
|
150
150
|
* The knowledge.
|
|
151
|
-
* - Input limit:
|
|
151
|
+
* - Input limit: up to 10,000 characters.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* Core metric definitions:
|
|
155
155
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
156
|
-
* 2. Order volume
|
|
156
|
+
* 2. Order volume is the number of valid orders placed per day.
|
|
157
157
|
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
158
|
-
* 4. Conversion rate = Number of paid orders / UV,
|
|
158
|
+
* 4. Conversion rate = Number of paid orders / UV, which reflects the traffic conversion efficiency
|
|
159
159
|
*/
|
|
160
160
|
knowledge?: string;
|
|
161
161
|
/**
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The ID of the custom agent
|
|
8
|
+
* The ID of the custom agent that requires accuracy testing.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* ca-xxxxxxxxxxxxxxxxxxxx
|
|
@@ -13,7 +13,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
13
13
|
customAgentId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Deprecated
|
|
16
|
+
* **[Deprecated]**.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* null
|
|
@@ -21,7 +21,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
21
21
|
dataset?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The data source.
|
|
24
|
+
* The data source. Configure it in the custom agent.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* [{"isInternal":"N","TableIds":["51***70","51***71"],"DataSourceType":"database","Database":"internal_data_employees","DmsInstanceId":"27***5","DmsDatabaseId":"71***04","Tables":["employees","salaries"],"FileId":"rm-
|
|
@@ -94,10 +94,10 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
94
94
|
name?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* Specifies whether
|
|
97
|
+
* Specifies whether to display sessions after analysis. This feature is not supported.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
|
-
*
|
|
100
|
+
* false
|
|
101
101
|
*/
|
|
102
102
|
needDelete?: boolean;
|
|
103
103
|
/**
|
|
@@ -113,7 +113,7 @@ export class CreateDataAgentAccuracyTestRequest extends $dara.Model {
|
|
|
113
113
|
* The workspace ID.
|
|
114
114
|
*
|
|
115
115
|
* @example
|
|
116
|
-
*
|
|
116
|
+
* 1abc2de34fg56hijk7l8mnopq
|
|
117
117
|
*/
|
|
118
118
|
workspaceId?: string;
|
|
119
119
|
static names(): { [key: string]: string } {
|
|
@@ -40,7 +40,7 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
40
40
|
data?: CreateDataAgentAccuracyTestResponseBodyData;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* The error code returned
|
|
43
|
+
* The error code returned when an exception occurs.
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* UnknownError
|
|
@@ -48,7 +48,7 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
48
48
|
errorCode?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The error message returned
|
|
51
|
+
* The error message returned when the call fails.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* UnknownError
|
|
@@ -64,10 +64,10 @@ export class CreateDataAgentAccuracyTestResponseBody extends $dara.Model {
|
|
|
64
64
|
requestId?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
* Indicates whether the request
|
|
67
|
+
* Indicates whether the request is successful. Valid values:
|
|
68
68
|
*
|
|
69
|
-
* - **true**: The request
|
|
70
|
-
* - **false**: The request
|
|
69
|
+
* - **true**: The request is successful.
|
|
70
|
+
* - **false**: The request fails.
|
|
71
71
|
*
|
|
72
72
|
* @example
|
|
73
73
|
* true
|