@alicloud/dms20250414 1.20.1 → 1.20.2
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 +6 -6
- package/dist/client.js +12 -6
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigDataAgentMemoryRequest.d.ts +17 -0
- package/dist/models/ConfigDataAgentMemoryRequest.js.map +1 -1
- package/dist/models/ConfigDataAgentMemoryResponseBody.d.ts +33 -0
- package/dist/models/ConfigDataAgentMemoryResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +28 -27
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +13 -12
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +27 -27
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +10 -9
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +1 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +1 -1
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +3 -2
- package/dist/models/GetDataAgentTaskModelUsageRequest.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +9 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +8 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetSqlConsoleOperationLogRequest.d.ts +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +12 -14
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +7 -6
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +10 -13
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -6
- package/src/models/ConfigDataAgentMemoryRequest.ts +17 -0
- package/src/models/ConfigDataAgentMemoryResponseBody.ts +33 -0
- package/src/models/CreateCustomAgentRequest.ts +30 -27
- package/src/models/CreateCustomAgentResponseBody.ts +15 -12
- package/src/models/CreateCustomAgentShrinkRequest.ts +27 -27
- package/src/models/DescribeCustomAgentResponseBody.ts +12 -9
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -0
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +1 -1
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +5 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +17 -5
- package/src/models/GetSqlConsoleOperationLogRequest.ts +1 -1
- package/src/models/ListCustomAgentResponseBody.ts +3 -0
- package/src/models/ModifyCustomAgentRequest.ts +14 -14
- package/src/models/ModifyCustomAgentResponseBody.ts +9 -6
- package/src/models/ModifyCustomAgentShrinkRequest.ts +10 -13
package/src/client.ts
CHANGED
|
@@ -412,7 +412,7 @@ export default class Client extends OpenApi {
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
|
-
*
|
|
415
|
+
* Configures memory generation and usage for a DataAgent.
|
|
416
416
|
*
|
|
417
417
|
* @param request - ConfigDataAgentMemoryRequest
|
|
418
418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -451,7 +451,7 @@ export default class Client extends OpenApi {
|
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
/**
|
|
454
|
-
*
|
|
454
|
+
* Configures memory generation and usage for a DataAgent.
|
|
455
455
|
*
|
|
456
456
|
* @param request - ConfigDataAgentMemoryRequest
|
|
457
457
|
* @returns ConfigDataAgentMemoryResponse
|
|
@@ -2156,7 +2156,7 @@ export default class Client extends OpenApi {
|
|
|
2156
2156
|
}
|
|
2157
2157
|
|
|
2158
2158
|
/**
|
|
2159
|
-
* Retrieves the details of a custom agent by
|
|
2159
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
2160
2160
|
*
|
|
2161
2161
|
* @param request - DescribeCustomAgentRequest
|
|
2162
2162
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2191,7 +2191,7 @@ export default class Client extends OpenApi {
|
|
|
2191
2191
|
}
|
|
2192
2192
|
|
|
2193
2193
|
/**
|
|
2194
|
-
* Retrieves the details of a custom agent by
|
|
2194
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
2195
2195
|
*
|
|
2196
2196
|
* @param request - DescribeCustomAgentRequest
|
|
2197
2197
|
* @returns DescribeCustomAgentResponse
|
|
@@ -2861,7 +2861,7 @@ export default class Client extends OpenApi {
|
|
|
2861
2861
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
2862
2862
|
*
|
|
2863
2863
|
* @remarks
|
|
2864
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
2864
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
2865
2865
|
*
|
|
2866
2866
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
2867
2867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2882,6 +2882,10 @@ export default class Client extends OpenApi {
|
|
|
2882
2882
|
query["EndTime"] = request.endTime;
|
|
2883
2883
|
}
|
|
2884
2884
|
|
|
2885
|
+
if (!$dara.isNull(request.payLevel)) {
|
|
2886
|
+
query["PayLevel"] = request.payLevel;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2885
2889
|
if (!$dara.isNull(request.regionId)) {
|
|
2886
2890
|
query["RegionId"] = request.regionId;
|
|
2887
2891
|
}
|
|
@@ -2907,7 +2911,7 @@ export default class Client extends OpenApi {
|
|
|
2907
2911
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
2908
2912
|
*
|
|
2909
2913
|
* @remarks
|
|
2910
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
2914
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
2911
2915
|
*
|
|
2912
2916
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
2913
2917
|
* @returns GetDataAgentTaskModelUsageResponse
|
|
@@ -2942,6 +2946,10 @@ export default class Client extends OpenApi {
|
|
|
2942
2946
|
query["EndTime"] = request.endTime;
|
|
2943
2947
|
}
|
|
2944
2948
|
|
|
2949
|
+
if (!$dara.isNull(request.payLevel)) {
|
|
2950
|
+
query["PayLevel"] = request.payLevel;
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2945
2953
|
if (!$dara.isNull(request.regionId)) {
|
|
2946
2954
|
query["RegionId"] = request.regionId;
|
|
2947
2955
|
}
|
|
@@ -4,16 +4,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ConfigDataAgentMemoryRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The current DMS unit.
|
|
9
|
+
*
|
|
7
10
|
* @example
|
|
8
11
|
* cn-hangzhou
|
|
9
12
|
*/
|
|
10
13
|
DMSUnit?: string;
|
|
11
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to enable memory generation. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* - true: Enabled.
|
|
19
|
+
*
|
|
20
|
+
* - false: Disabled.
|
|
21
|
+
*
|
|
12
22
|
* @example
|
|
13
23
|
* true
|
|
14
24
|
*/
|
|
15
25
|
enabled?: boolean;
|
|
16
26
|
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* Specifies whether to enable memory recall usage. Valid values:
|
|
29
|
+
*
|
|
30
|
+
* true: Enabled.
|
|
31
|
+
*
|
|
32
|
+
* false: Disabled.
|
|
33
|
+
*
|
|
17
34
|
* @example
|
|
18
35
|
* true
|
|
19
36
|
*/
|
|
@@ -4,11 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ConfigDataAgentMemoryResponseBodyData extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Specifies whether to enable memory generation. Valid values:
|
|
9
|
+
*
|
|
10
|
+
* - true: Enabled.
|
|
11
|
+
*
|
|
12
|
+
* - false: Disabled.
|
|
13
|
+
*
|
|
7
14
|
* @example
|
|
8
15
|
* true
|
|
9
16
|
*/
|
|
10
17
|
enabled?: boolean;
|
|
11
18
|
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* Indicates whether memory recall usage is enabled. Valid values:
|
|
21
|
+
*
|
|
22
|
+
* - true: Enabled.
|
|
23
|
+
*
|
|
24
|
+
* - false: Disabled.
|
|
25
|
+
*
|
|
12
26
|
* @example
|
|
13
27
|
* true
|
|
14
28
|
*/
|
|
@@ -37,23 +51,42 @@ export class ConfigDataAgentMemoryResponseBodyData extends $dara.Model {
|
|
|
37
51
|
}
|
|
38
52
|
|
|
39
53
|
export class ConfigDataAgentMemoryResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The response struct.
|
|
57
|
+
*/
|
|
40
58
|
data?: ConfigDataAgentMemoryResponseBodyData;
|
|
41
59
|
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The error code returned when the request fails.
|
|
62
|
+
*
|
|
42
63
|
* @example
|
|
43
64
|
* InvalidTid
|
|
44
65
|
*/
|
|
45
66
|
errorCode?: string;
|
|
46
67
|
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The error message returned when the request fails.
|
|
70
|
+
*
|
|
47
71
|
* @example
|
|
48
72
|
* Specified parameter Tid is not valid.
|
|
49
73
|
*/
|
|
50
74
|
errorMessage?: string;
|
|
51
75
|
/**
|
|
76
|
+
* @remarks
|
|
77
|
+
* Id of the request
|
|
78
|
+
*
|
|
52
79
|
* @example
|
|
53
80
|
* 67E910F2-4B62-5B0C-ACA3-7547695C****
|
|
54
81
|
*/
|
|
55
82
|
requestId?: string;
|
|
56
83
|
/**
|
|
84
|
+
* @remarks
|
|
85
|
+
* Indicates whether the request was successful. Valid values:
|
|
86
|
+
*
|
|
87
|
+
* - **true**: The request was successful.
|
|
88
|
+
* - **false**: The request failed.
|
|
89
|
+
*
|
|
57
90
|
* @example
|
|
58
91
|
* true
|
|
59
92
|
*/
|
|
@@ -38,6 +38,7 @@ export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
41
|
+
forbiddenAppendDataSource?: boolean;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
44
|
* Specifies whether to disable user inquiries during the process.
|
|
@@ -72,6 +73,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
72
73
|
skipWebReportConfirm?: boolean;
|
|
73
74
|
static names(): { [key: string]: string } {
|
|
74
75
|
return {
|
|
76
|
+
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
75
77
|
skipAskHuman: 'SkipAskHuman',
|
|
76
78
|
skipPlan: 'SkipPlan',
|
|
77
79
|
skipSqlConfirm: 'SkipSqlConfirm',
|
|
@@ -81,6 +83,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
81
83
|
|
|
82
84
|
static types(): { [key: string]: any } {
|
|
83
85
|
return {
|
|
86
|
+
forbiddenAppendDataSource: 'boolean',
|
|
84
87
|
skipAskHuman: 'boolean',
|
|
85
88
|
skipPlan: 'boolean',
|
|
86
89
|
skipSqlConfirm: 'boolean',
|
|
@@ -226,7 +229,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
226
229
|
callbackConfig?: CreateCustomAgentRequestCallbackConfig;
|
|
227
230
|
/**
|
|
228
231
|
* @remarks
|
|
229
|
-
* The current
|
|
232
|
+
* The current DMS unit.
|
|
230
233
|
*
|
|
231
234
|
* @example
|
|
232
235
|
* cn-hangzhou
|
|
@@ -234,19 +237,19 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
234
237
|
DMSUnit?: string;
|
|
235
238
|
/**
|
|
236
239
|
* @remarks
|
|
237
|
-
* The specified data
|
|
240
|
+
* The specified data range in **JSON string format**.
|
|
238
241
|
* - Common parameter description
|
|
239
|
-
* - tableFlag: true indicates a specified data
|
|
240
|
-
* - scope: personal is a fixed value
|
|
241
|
-
* - personal: pass parameters for file or database types
|
|
242
|
+
* - tableFlag: true indicates a specified data range.
|
|
243
|
+
* - scope: personal is a fixed value.
|
|
244
|
+
* - personal: pass parameters for file or database types.
|
|
242
245
|
*
|
|
243
246
|
* **File type**. Pass parameters in the following format:
|
|
244
|
-
* - DataSourceType: remote_data_center is a fixed value
|
|
245
|
-
* - FileId:
|
|
246
|
-
* - Database:
|
|
247
|
-
* - Tables:
|
|
248
|
-
* - TableIds:
|
|
249
|
-
* - RegionId:
|
|
247
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
248
|
+
* - FileId: The file ID.
|
|
249
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
250
|
+
* - Tables: The table name returned by the ListDataCenterTable operation.
|
|
251
|
+
* - TableIds: The TableId returned by the ListDataCenterTable operation.
|
|
252
|
+
* - RegionId: The current region.
|
|
250
253
|
* ```
|
|
251
254
|
* {
|
|
252
255
|
* "tableFlag": true,
|
|
@@ -261,22 +264,22 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
261
264
|
* "TableIds": [
|
|
262
265
|
* "35hfn94pxl********50pi"
|
|
263
266
|
* ],
|
|
264
|
-
* "RegionId": "
|
|
267
|
+
* "RegionId": "cn-hangzhou"
|
|
265
268
|
* }
|
|
266
269
|
* }
|
|
267
270
|
* ```
|
|
268
271
|
*
|
|
269
|
-
* **Database type**. Pass parameters
|
|
270
|
-
* - DataSourceType: database is a fixed value
|
|
271
|
-
* - DmsInstanceId:
|
|
272
|
-
* - DmsDatabaseId:
|
|
273
|
-
* - FileId:
|
|
274
|
-
* - DbName:
|
|
275
|
-
* - Database:
|
|
276
|
-
* - Tables:
|
|
277
|
-
* - TableIds:
|
|
278
|
-
* - Engine:
|
|
279
|
-
* - RegionId:
|
|
272
|
+
* **Database type**. Pass parameters as follows:
|
|
273
|
+
* - DataSourceType: database is a fixed value.
|
|
274
|
+
* - DmsInstanceId: The DMS instance ID returned by the data center operation.
|
|
275
|
+
* - DmsDatabaseId: The DMS database ID returned by the data center operation.
|
|
276
|
+
* - FileId: The instance name (deprecated).
|
|
277
|
+
* - DbName: The database name returned by the data center operation.
|
|
278
|
+
* - Database: The database name returned by the data center operation.
|
|
279
|
+
* - Tables: The table name returned by the data center operation.
|
|
280
|
+
* - TableIds: The TableId returned by the data center operation.
|
|
281
|
+
* - Engine: The engine type (mysql or postgresql).
|
|
282
|
+
* - RegionId: The current region.
|
|
280
283
|
* ```
|
|
281
284
|
* {
|
|
282
285
|
* "tableFlag": true,
|
|
@@ -295,7 +298,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
295
298
|
* "5263****31"
|
|
296
299
|
* ],
|
|
297
300
|
* "Engine": "postgresql",
|
|
298
|
-
* "RegionId": "
|
|
301
|
+
* "RegionId": "cn-hangzhou"
|
|
299
302
|
* }
|
|
300
303
|
* }
|
|
301
304
|
* ```
|
|
@@ -310,7 +313,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
310
313
|
* "Database" : "TestTable******.xlsx",
|
|
311
314
|
* "Tables" : [ "Sheet1" ],
|
|
312
315
|
* "TableIds" : [ "******" ],
|
|
313
|
-
* "RegionId" : "
|
|
316
|
+
* "RegionId" : "cn-hangzhou"
|
|
314
317
|
* }
|
|
315
318
|
* }
|
|
316
319
|
*/
|
|
@@ -381,7 +384,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
381
384
|
* The text report format.
|
|
382
385
|
*
|
|
383
386
|
* @example
|
|
384
|
-
* The text report requires all numbers to be written in
|
|
387
|
+
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
385
388
|
*/
|
|
386
389
|
textReportConfig?: string;
|
|
387
390
|
/**
|
|
@@ -389,7 +392,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
|
|
|
389
392
|
* The web report format.
|
|
390
393
|
*
|
|
391
394
|
* @example
|
|
392
|
-
* The web report requires all numbers to be written in
|
|
395
|
+
* The web report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
393
396
|
*/
|
|
394
397
|
webReportConfig?: string;
|
|
395
398
|
webReportTheme?: string;
|
|
@@ -38,6 +38,7 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
41
|
+
forbiddenAppendDataSource?: boolean;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
44
|
* Specifies whether to disable user inquiries during the process.
|
|
@@ -72,6 +73,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
72
73
|
skipWebReportConfirm?: boolean;
|
|
73
74
|
static names(): { [key: string]: string } {
|
|
74
75
|
return {
|
|
76
|
+
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
75
77
|
skipAskHuman: 'SkipAskHuman',
|
|
76
78
|
skipPlan: 'SkipPlan',
|
|
77
79
|
skipSqlConfirm: 'SkipSqlConfirm',
|
|
@@ -81,6 +83,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
81
83
|
|
|
82
84
|
static types(): { [key: string]: any } {
|
|
83
85
|
return {
|
|
86
|
+
forbiddenAppendDataSource: 'boolean',
|
|
84
87
|
skipAskHuman: 'boolean',
|
|
85
88
|
skipPlan: 'boolean',
|
|
86
89
|
skipSqlConfirm: 'boolean',
|
|
@@ -258,7 +261,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
258
261
|
customAgentId?: string;
|
|
259
262
|
/**
|
|
260
263
|
* @remarks
|
|
261
|
-
* The current
|
|
264
|
+
* The current DMS unit.
|
|
262
265
|
*
|
|
263
266
|
* @example
|
|
264
267
|
* cn-hangzhou
|
|
@@ -275,7 +278,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
275
278
|
* "personal" : {
|
|
276
279
|
* "DataSourceType" : "remote_data_center",
|
|
277
280
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
278
|
-
* "Database" : "
|
|
281
|
+
* "Database" : "测试表格******.xlsx",
|
|
279
282
|
* "Tables" : [ "Sheet1" ],
|
|
280
283
|
* "TableIds" : [ "******" ],
|
|
281
284
|
* "RegionId" : "cn-hangzhou"
|
|
@@ -293,7 +296,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
293
296
|
description?: string;
|
|
294
297
|
/**
|
|
295
298
|
* @remarks
|
|
296
|
-
* The current
|
|
299
|
+
* The current DMS unit.
|
|
297
300
|
*
|
|
298
301
|
* @example
|
|
299
302
|
* cn-hangzhou
|
|
@@ -333,7 +336,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
333
336
|
instruction?: string;
|
|
334
337
|
/**
|
|
335
338
|
* @remarks
|
|
336
|
-
* Indicates whether a
|
|
339
|
+
* Indicates whether a periodic task is configured.
|
|
337
340
|
*
|
|
338
341
|
* @example
|
|
339
342
|
* false
|
|
@@ -345,10 +348,10 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
345
348
|
*
|
|
346
349
|
* @example
|
|
347
350
|
* Core metric definitions:
|
|
348
|
-
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders
|
|
349
|
-
* 2. Order volume is the number of valid orders placed per day
|
|
350
|
-
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app
|
|
351
|
-
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency
|
|
351
|
+
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders;
|
|
352
|
+
* 2. Order volume is the number of valid orders placed per day;
|
|
353
|
+
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app;
|
|
354
|
+
* 4. Conversion rate = number of paid orders / UV, reflecting traffic conversion efficiency;
|
|
352
355
|
*/
|
|
353
356
|
knowledge?: string;
|
|
354
357
|
/**
|
|
@@ -383,7 +386,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
383
386
|
name?: string;
|
|
384
387
|
/**
|
|
385
388
|
* @remarks
|
|
386
|
-
* The next run time of the
|
|
389
|
+
* The next run time of the periodic task.
|
|
387
390
|
*
|
|
388
391
|
* @example
|
|
389
392
|
* 1767715200
|
|
@@ -420,7 +423,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
420
423
|
releaseTime?: string;
|
|
421
424
|
/**
|
|
422
425
|
* @remarks
|
|
423
|
-
* The
|
|
426
|
+
* The periodic task configuration.
|
|
424
427
|
*/
|
|
425
428
|
scheduleTaskConfig?: CreateCustomAgentResponseBodyDataScheduleTaskConfig;
|
|
426
429
|
/**
|
|
@@ -436,7 +439,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
436
439
|
* The text report format.
|
|
437
440
|
*
|
|
438
441
|
* @example
|
|
439
|
-
* The text report requires all numbers to be written in
|
|
442
|
+
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
440
443
|
*/
|
|
441
444
|
textReportConfig?: string;
|
|
442
445
|
/**
|
|
@@ -444,7 +447,7 @@ export class CreateCustomAgentResponseBodyData extends $dara.Model {
|
|
|
444
447
|
* The web report format.
|
|
445
448
|
*
|
|
446
449
|
* @example
|
|
447
|
-
* The web report requires all numbers to be written in
|
|
450
|
+
* The web report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
448
451
|
*/
|
|
449
452
|
webReportConfig?: string;
|
|
450
453
|
webReportTheme?: string;
|
|
@@ -6,7 +6,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
6
6
|
callbackConfigShrink?: string;
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The current
|
|
9
|
+
* The current DMS unit.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* cn-hangzhou
|
|
@@ -14,19 +14,19 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
14
14
|
DMSUnit?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The specified data
|
|
17
|
+
* The specified data range in **JSON string format**.
|
|
18
18
|
* - Common parameter description
|
|
19
|
-
* - tableFlag: true indicates a specified data
|
|
20
|
-
* - scope: personal is a fixed value
|
|
21
|
-
* - personal: pass parameters for file or database types
|
|
19
|
+
* - tableFlag: true indicates a specified data range.
|
|
20
|
+
* - scope: personal is a fixed value.
|
|
21
|
+
* - personal: pass parameters for file or database types.
|
|
22
22
|
*
|
|
23
23
|
* **File type**. Pass parameters in the following format:
|
|
24
|
-
* - DataSourceType: remote_data_center is a fixed value
|
|
25
|
-
* - FileId:
|
|
26
|
-
* - Database:
|
|
27
|
-
* - Tables:
|
|
28
|
-
* - TableIds:
|
|
29
|
-
* - RegionId:
|
|
24
|
+
* - DataSourceType: remote_data_center is a fixed value.
|
|
25
|
+
* - FileId: The file ID.
|
|
26
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
27
|
+
* - Tables: The table name returned by the ListDataCenterTable operation.
|
|
28
|
+
* - TableIds: The TableId returned by the ListDataCenterTable operation.
|
|
29
|
+
* - RegionId: The current region.
|
|
30
30
|
* ```
|
|
31
31
|
* {
|
|
32
32
|
* "tableFlag": true,
|
|
@@ -41,22 +41,22 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
41
41
|
* "TableIds": [
|
|
42
42
|
* "35hfn94pxl********50pi"
|
|
43
43
|
* ],
|
|
44
|
-
* "RegionId": "
|
|
44
|
+
* "RegionId": "cn-hangzhou"
|
|
45
45
|
* }
|
|
46
46
|
* }
|
|
47
47
|
* ```
|
|
48
48
|
*
|
|
49
|
-
* **Database type**. Pass parameters
|
|
50
|
-
* - DataSourceType: database is a fixed value
|
|
51
|
-
* - DmsInstanceId:
|
|
52
|
-
* - DmsDatabaseId:
|
|
53
|
-
* - FileId:
|
|
54
|
-
* - DbName:
|
|
55
|
-
* - Database:
|
|
56
|
-
* - Tables:
|
|
57
|
-
* - TableIds:
|
|
58
|
-
* - Engine:
|
|
59
|
-
* - RegionId:
|
|
49
|
+
* **Database type**. Pass parameters as follows:
|
|
50
|
+
* - DataSourceType: database is a fixed value.
|
|
51
|
+
* - DmsInstanceId: The DMS instance ID returned by the data center operation.
|
|
52
|
+
* - DmsDatabaseId: The DMS database ID returned by the data center operation.
|
|
53
|
+
* - FileId: The instance name (deprecated).
|
|
54
|
+
* - DbName: The database name returned by the data center operation.
|
|
55
|
+
* - Database: The database name returned by the data center operation.
|
|
56
|
+
* - Tables: The table name returned by the data center operation.
|
|
57
|
+
* - TableIds: The TableId returned by the data center operation.
|
|
58
|
+
* - Engine: The engine type (mysql or postgresql).
|
|
59
|
+
* - RegionId: The current region.
|
|
60
60
|
* ```
|
|
61
61
|
* {
|
|
62
62
|
* "tableFlag": true,
|
|
@@ -75,7 +75,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
75
75
|
* "5263****31"
|
|
76
76
|
* ],
|
|
77
77
|
* "Engine": "postgresql",
|
|
78
|
-
* "RegionId": "
|
|
78
|
+
* "RegionId": "cn-hangzhou"
|
|
79
79
|
* }
|
|
80
80
|
* }
|
|
81
81
|
* ```
|
|
@@ -90,7 +90,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
90
90
|
* "Database" : "TestTable******.xlsx",
|
|
91
91
|
* "Tables" : [ "Sheet1" ],
|
|
92
92
|
* "TableIds" : [ "******" ],
|
|
93
|
-
* "RegionId" : "
|
|
93
|
+
* "RegionId" : "cn-hangzhou"
|
|
94
94
|
* }
|
|
95
95
|
* }
|
|
96
96
|
*/
|
|
@@ -161,7 +161,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
161
161
|
* The text report format.
|
|
162
162
|
*
|
|
163
163
|
* @example
|
|
164
|
-
* The text report requires all numbers to be written in
|
|
164
|
+
* The text report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
165
165
|
*/
|
|
166
166
|
textReportConfig?: string;
|
|
167
167
|
/**
|
|
@@ -169,7 +169,7 @@ export class CreateCustomAgentShrinkRequest extends $dara.Model {
|
|
|
169
169
|
* The web report format.
|
|
170
170
|
*
|
|
171
171
|
* @example
|
|
172
|
-
* The web report requires all numbers to be written in
|
|
172
|
+
* The web report requires all numbers to be written in Chinese characters instead of Arabic numerals
|
|
173
173
|
*/
|
|
174
174
|
webReportConfig?: string;
|
|
175
175
|
webReportTheme?: string;
|
|
@@ -38,6 +38,7 @@ export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Mod
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
41
|
+
forbiddenAppendDataSource?: boolean;
|
|
41
42
|
/**
|
|
42
43
|
* @remarks
|
|
43
44
|
* Specifies whether to disable user inquiries during the process.
|
|
@@ -64,7 +65,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
64
65
|
skipSqlConfirm?: boolean;
|
|
65
66
|
/**
|
|
66
67
|
* @remarks
|
|
67
|
-
* Specifies whether to skip the web report
|
|
68
|
+
* Specifies whether to skip the web report rendering confirmation.
|
|
68
69
|
*
|
|
69
70
|
* @example
|
|
70
71
|
* false
|
|
@@ -72,6 +73,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
72
73
|
skipWebReportConfirm?: boolean;
|
|
73
74
|
static names(): { [key: string]: string } {
|
|
74
75
|
return {
|
|
76
|
+
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
75
77
|
skipAskHuman: 'SkipAskHuman',
|
|
76
78
|
skipPlan: 'SkipPlan',
|
|
77
79
|
skipSqlConfirm: 'SkipSqlConfirm',
|
|
@@ -81,6 +83,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
81
83
|
|
|
82
84
|
static types(): { [key: string]: any } {
|
|
83
85
|
return {
|
|
86
|
+
forbiddenAppendDataSource: 'boolean',
|
|
84
87
|
skipAskHuman: 'boolean',
|
|
85
88
|
skipPlan: 'boolean',
|
|
86
89
|
skipSqlConfirm: 'boolean',
|
|
@@ -169,7 +172,7 @@ export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara
|
|
|
169
172
|
cronExpression?: string;
|
|
170
173
|
/**
|
|
171
174
|
* @remarks
|
|
172
|
-
* The query
|
|
175
|
+
* The query for the periodic task.
|
|
173
176
|
*
|
|
174
177
|
* @example
|
|
175
178
|
* Analyze this data and provide a brief report
|
|
@@ -211,7 +214,7 @@ export class DescribeCustomAgentResponseBodyDataScheduleTaskConfig extends $dara
|
|
|
211
214
|
export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
212
215
|
/**
|
|
213
216
|
* @remarks
|
|
214
|
-
* The Alibaba Cloud account ID
|
|
217
|
+
* The Alibaba Cloud primary account ID.
|
|
215
218
|
*
|
|
216
219
|
* @example
|
|
217
220
|
* 16738266********
|
|
@@ -261,10 +264,10 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
261
264
|
* "personal" : {
|
|
262
265
|
* "DataSourceType" : "remote_data_center",
|
|
263
266
|
* "FileId" : "f-5qlrwaw10********s3gpw1z",
|
|
264
|
-
* "Database" : "
|
|
267
|
+
* "Database" : "TestTable******.xlsx",
|
|
265
268
|
* "Tables" : [ "Sheet1" ],
|
|
266
269
|
* "TableIds" : [ "******" ],
|
|
267
|
-
* "RegionId" : "
|
|
270
|
+
* "RegionId" : "cn-hangzhou"
|
|
268
271
|
* }
|
|
269
272
|
* }
|
|
270
273
|
*/
|
|
@@ -275,7 +278,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
275
278
|
* The description of the custom agent.
|
|
276
279
|
*
|
|
277
280
|
* @example
|
|
278
|
-
*
|
|
281
|
+
* AgentTestDescription
|
|
279
282
|
*/
|
|
280
283
|
description?: string;
|
|
281
284
|
/**
|
|
@@ -315,7 +318,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
315
318
|
* Analysis framework:
|
|
316
319
|
* 1. Monitor core metrics (GMV, order volume, UV, conversion rate) by day, week, and month dimensions, and analyze trends and year-over-year/month-over-month fluctuations;
|
|
317
320
|
* 2. Segment by new/existing customers, channels, and regions to identify growth sources and weaknesses;
|
|
318
|
-
* 3. Conduct funnel analysis based on user behavior paths (browse → add to cart → payment) to
|
|
321
|
+
* 3. Conduct funnel analysis based on user behavior paths (browse → add to cart → payment) to locate drop-off points;
|
|
319
322
|
*/
|
|
320
323
|
instruction?: string;
|
|
321
324
|
/**
|
|
@@ -335,7 +338,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
335
338
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including paid and unpaid orders;
|
|
336
339
|
* 2. Order volume is the number of valid orders placed per day;
|
|
337
340
|
* 3. UV (Unique Visitors) refers to the deduplicated number of users who visit the website or app;
|
|
338
|
-
* 4. Conversion rate =
|
|
341
|
+
* 4. Conversion rate = paid orders / UV, reflecting traffic conversion efficiency;
|
|
339
342
|
*/
|
|
340
343
|
knowledge?: string;
|
|
341
344
|
knowledgeConfigList?: DescribeCustomAgentResponseBodyDataKnowledgeConfigList[];
|
|
@@ -361,7 +364,7 @@ export class DescribeCustomAgentResponseBodyData extends $dara.Model {
|
|
|
361
364
|
* The name of the custom agent.
|
|
362
365
|
*
|
|
363
366
|
* @example
|
|
364
|
-
*
|
|
367
|
+
* AgentTestName
|
|
365
368
|
*/
|
|
366
369
|
name?: string;
|
|
367
370
|
/**
|
|
@@ -27,6 +27,7 @@ export class GetDataAgentTaskModelUsageMetricsRequest extends $dara.Model {
|
|
|
27
27
|
* 1735747200
|
|
28
28
|
*/
|
|
29
29
|
endTime?: string;
|
|
30
|
+
payLevel?: string;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The region ID.
|
|
@@ -40,6 +41,7 @@ export class GetDataAgentTaskModelUsageMetricsRequest extends $dara.Model {
|
|
|
40
41
|
beginTime: 'BeginTime',
|
|
41
42
|
DMSUnit: 'DMSUnit',
|
|
42
43
|
endTime: 'EndTime',
|
|
44
|
+
payLevel: 'PayLevel',
|
|
43
45
|
regionId: 'RegionId',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -49,6 +51,7 @@ export class GetDataAgentTaskModelUsageMetricsRequest extends $dara.Model {
|
|
|
49
51
|
beginTime: 'string',
|
|
50
52
|
DMSUnit: 'string',
|
|
51
53
|
endTime: 'string',
|
|
54
|
+
payLevel: 'string',
|
|
52
55
|
regionId: 'string',
|
|
53
56
|
};
|
|
54
57
|
}
|
|
@@ -55,7 +55,7 @@ export class GetDataAgentTaskModelUsageMetricsResponseBodyData extends $dara.Mod
|
|
|
55
55
|
export class GetDataAgentTaskModelUsageMetricsResponseBody extends $dara.Model {
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
* The list of TPM time series metrics for model usage, returned in chronological order
|
|
58
|
+
* The list of TPM time series metrics for model usage, returned in chronological order.
|
|
59
59
|
*/
|
|
60
60
|
data?: GetDataAgentTaskModelUsageMetricsResponseBodyData[];
|
|
61
61
|
/**
|