@alicloud/dms20250414 5.0.0 → 5.0.1
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 +6 -6
- package/dist/models/AgenticCatalog.d.ts +16 -10
- package/dist/models/AgenticCatalog.js.map +1 -1
- package/dist/models/AgenticDatabase.d.ts +109 -0
- package/dist/models/AgenticDatabase.js.map +1 -1
- package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
- package/dist/models/AgenticTableBaseInfo.js.map +1 -1
- package/dist/models/AgenticTableEngineMeta.d.ts +84 -0
- package/dist/models/AgenticTableEngineMeta.js.map +1 -1
- package/dist/models/AgenticTableIndex.d.ts +49 -0
- package/dist/models/AgenticTableIndex.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +4 -4
- package/dist/models/CreateCustomAgentRequest.d.ts +15 -0
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +15 -0
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +15 -0
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +6 -6
- package/dist/models/ListAgenticDatabaseRequest.d.ts +9 -9
- package/dist/models/ListAgenticDatabaseResponseBody.d.ts +2 -2
- package/dist/models/ListCustomAgentResponseBody.d.ts +14 -0
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +15 -0
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +15 -0
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/SearchAgenticDatabaseRequest.d.ts +3 -3
- package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +5 -5
- package/package.json +2 -2
- package/src/client.ts +6 -6
- package/src/models/AgenticCatalog.ts +16 -10
- package/src/models/AgenticDatabase.ts +109 -0
- package/src/models/AgenticTableBaseInfo.ts +60 -0
- package/src/models/AgenticTableEngineMeta.ts +84 -0
- package/src/models/AgenticTableIndex.ts +49 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +4 -4
- package/src/models/CreateCustomAgentRequest.ts +17 -0
- package/src/models/CreateCustomAgentResponseBody.ts +17 -0
- package/src/models/DescribeCustomAgentResponseBody.ts +17 -0
- package/src/models/GetAgenticDatabaseResponseBody.ts +6 -6
- package/src/models/ListAgenticDatabaseRequest.ts +9 -9
- package/src/models/ListAgenticDatabaseResponseBody.ts +2 -2
- package/src/models/ListCustomAgentResponseBody.ts +16 -0
- package/src/models/ModifyCustomAgentRequest.ts +17 -0
- package/src/models/ModifyCustomAgentResponseBody.ts +17 -0
- package/src/models/SearchAgenticDatabaseRequest.ts +3 -3
- package/src/models/SearchAgenticDatabaseResponseBody.ts +5 -5
package/src/client.ts
CHANGED
|
@@ -2990,7 +2990,7 @@ export default class Client extends OpenApi {
|
|
|
2990
2990
|
}
|
|
2991
2991
|
|
|
2992
2992
|
/**
|
|
2993
|
-
* Queries the details of a database in Agentic DMS
|
|
2993
|
+
* Queries the details of a database in Agentic DMS by database UUID.
|
|
2994
2994
|
*
|
|
2995
2995
|
* @param request - GetAgenticDatabaseRequest
|
|
2996
2996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3021,7 +3021,7 @@ export default class Client extends OpenApi {
|
|
|
3021
3021
|
}
|
|
3022
3022
|
|
|
3023
3023
|
/**
|
|
3024
|
-
* Queries the details of a database in Agentic DMS
|
|
3024
|
+
* Queries the details of a database in Agentic DMS by database UUID.
|
|
3025
3025
|
*
|
|
3026
3026
|
* @param request - GetAgenticDatabaseRequest
|
|
3027
3027
|
* @returns GetAgenticDatabaseResponse
|
|
@@ -4436,7 +4436,7 @@ export default class Client extends OpenApi {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
|
|
4438
4438
|
/**
|
|
4439
|
-
* Performs a
|
|
4439
|
+
* Performs a paging query to list databases in a specified catalog. You can filter the results by name prefix and specify the sorting method.
|
|
4440
4440
|
*
|
|
4441
4441
|
* @param request - ListAgenticDatabaseRequest
|
|
4442
4442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4487,7 +4487,7 @@ export default class Client extends OpenApi {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
|
|
4489
4489
|
/**
|
|
4490
|
-
* Performs a
|
|
4490
|
+
* Performs a paging query to list databases in a specified catalog. You can filter the results by name prefix and specify the sorting method.
|
|
4491
4491
|
*
|
|
4492
4492
|
* @param request - ListAgenticDatabaseRequest
|
|
4493
4493
|
* @returns ListAgenticDatabaseResponse
|
|
@@ -7132,7 +7132,7 @@ export default class Client extends OpenApi {
|
|
|
7132
7132
|
}
|
|
7133
7133
|
|
|
7134
7134
|
/**
|
|
7135
|
-
* Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
|
|
7135
|
+
* Searches for databases across catalogs by keyword. You can filter the results by the associated catalog, database type, and environment type. The results are paginated.
|
|
7136
7136
|
*
|
|
7137
7137
|
* @param request - SearchAgenticDatabaseRequest
|
|
7138
7138
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7183,7 +7183,7 @@ export default class Client extends OpenApi {
|
|
|
7183
7183
|
}
|
|
7184
7184
|
|
|
7185
7185
|
/**
|
|
7186
|
-
* Searches for databases across catalogs by keyword. You can filter the results by catalog, database type, and environment type. The results are paginated.
|
|
7186
|
+
* Searches for databases across catalogs by keyword. You can filter the results by the associated catalog, database type, and environment type. The results are paginated.
|
|
7187
7187
|
*
|
|
7188
7188
|
* @param request - SearchAgenticDatabaseRequest
|
|
7189
7189
|
* @returns SearchAgenticDatabaseResponse
|
|
@@ -5,19 +5,22 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class AgenticCatalog extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The business
|
|
8
|
+
* The business property of the catalog, returned as key-value pairs. The following keys may be included:
|
|
9
9
|
*
|
|
10
|
-
* - **ALIAS**:
|
|
11
|
-
* - **HOST**:
|
|
12
|
-
* - **PORT**:
|
|
13
|
-
* - **ENV_TYPE**:
|
|
14
|
-
* - **VERSION**:
|
|
15
|
-
* - **SYNC_ALIAS**: whether automatic synchronization of instance
|
|
10
|
+
* - **ALIAS**: The alias of the data source.
|
|
11
|
+
* - **HOST**: The endpoint of the data source.
|
|
12
|
+
* - **PORT**: The connection port of the data source.
|
|
13
|
+
* - **ENV_TYPE**: The environment type of the data source.
|
|
14
|
+
* - **VERSION**: The database version of the data source.
|
|
15
|
+
* - **SYNC_ALIAS**: Specifies whether automatic synchronization of the instance alias is enabled.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* {"ALIAS":"prod","SYNC_ALIAS":1}
|
|
16
19
|
*/
|
|
17
20
|
catalogBizAttrs?: { [key: string]: any };
|
|
18
21
|
/**
|
|
19
22
|
* @remarks
|
|
20
|
-
* The type
|
|
23
|
+
* The catalog type. Valid values:
|
|
21
24
|
*
|
|
22
25
|
* - **JDBC**: relational database catalog
|
|
23
26
|
* - **DataLake**: data lake catalog
|
|
@@ -70,6 +73,9 @@ export class AgenticCatalog extends $dara.Model {
|
|
|
70
73
|
/**
|
|
71
74
|
* @remarks
|
|
72
75
|
* The extended properties of the catalog, returned as key-value pairs.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* {"env":"prod"}
|
|
73
79
|
*/
|
|
74
80
|
properties?: { [key: string]: any };
|
|
75
81
|
/**
|
|
@@ -82,12 +88,12 @@ export class AgenticCatalog extends $dara.Model {
|
|
|
82
88
|
regionId?: string;
|
|
83
89
|
/**
|
|
84
90
|
* @remarks
|
|
85
|
-
* The
|
|
91
|
+
* The catalog state. Valid values:
|
|
86
92
|
*
|
|
87
93
|
* - **0**: Normal. This value is set when the data source is created.
|
|
88
94
|
* - **-1**: Deleted. This value is set when the data source is deleted.
|
|
89
95
|
*
|
|
90
|
-
* Disabling
|
|
96
|
+
* Disabling the data source does not change the catalog state.
|
|
91
97
|
*
|
|
92
98
|
* @example
|
|
93
99
|
* 0
|
|
@@ -4,20 +4,129 @@ import { AgenticDatabaseEngineMeta } from "./AgenticDatabaseEngineMeta";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class AgenticDatabase extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The name of the catalog to which the database belongs.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* prod_mysql_order
|
|
13
|
+
*/
|
|
7
14
|
catalogName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The type of the catalog to which the database belongs. Valid values:
|
|
18
|
+
*
|
|
19
|
+
* - **JDBC**: relational database catalog.
|
|
20
|
+
* - **DataLake**: data lake catalog.
|
|
21
|
+
* - **Dataset**: knowledge base catalog.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* JDBC
|
|
25
|
+
*/
|
|
8
26
|
catalogType?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The UUID of the catalog to which the database belongs.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* mc-HZ-OfjcNc2z***
|
|
33
|
+
*/
|
|
9
34
|
catalogUuid?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The business attributes of the database, returned as key-value pairs. Currently, this may include **ENV_TYPE**, which indicates the environment type of the database.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* {"ENV_TYPE":"dev"}
|
|
41
|
+
*/
|
|
10
42
|
databaseBizAttrs?: { [key: string]: any };
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The unique identifier of the database.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* md-HZ-fp9K7r***
|
|
49
|
+
*/
|
|
11
50
|
databaseUuid?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The database type inherited from the catalog to which the database belongs. The value is the uppercase name of the database type, such as MYSQL.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* MYSQL
|
|
57
|
+
*/
|
|
12
58
|
dbType?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The description of the database.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* Order database
|
|
65
|
+
*/
|
|
13
66
|
description?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The metadata of the database engine. This parameter is returned only for databases under JDBC catalogs.
|
|
70
|
+
*/
|
|
14
71
|
engineMeta?: AgenticDatabaseEngineMeta;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The name of the database. For databases that distinguish schemas, such as PostgreSQL, this is the schema name.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* order_db
|
|
78
|
+
*/
|
|
15
79
|
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* The extended properties of the database, returned as key-value pairs. This parameter is returned only for databases under DataLake catalogs.
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* {}
|
|
86
|
+
*/
|
|
16
87
|
properties?: { [key: string]: any };
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The fully qualified name of the database. For databases that distinguish schemas, such as PostgreSQL, the format is database name.schema name.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* order_db
|
|
94
|
+
*/
|
|
17
95
|
qualifiedName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The region ID of the database.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* cn-hangzhou
|
|
102
|
+
*/
|
|
18
103
|
regionId?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @remarks
|
|
106
|
+
* The search name of the database. SearchAgenticDatabase matches search keywords based on this name.
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* order_db
|
|
110
|
+
*/
|
|
19
111
|
searchName?: string;
|
|
112
|
+
/**
|
|
113
|
+
* @remarks
|
|
114
|
+
* The status of the database. Valid values:
|
|
115
|
+
*
|
|
116
|
+
* - **0**: normal.
|
|
117
|
+
* - **-1**: deleted.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* 0
|
|
121
|
+
*/
|
|
20
122
|
state?: number;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The storage location. This parameter is returned only for databases under DataLake catalogs.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* oss://examplebucket/datalake/order_db/
|
|
129
|
+
*/
|
|
21
130
|
storageLocation?: string;
|
|
22
131
|
static names(): { [key: string]: string } {
|
|
23
132
|
return {
|
|
@@ -4,13 +4,73 @@ import { AgenticTableEngineMeta } from "./AgenticTableEngineMeta";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class AgenticTableBaseInfo extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The type of the catalog to which the table belongs. Valid values:
|
|
10
|
+
* - **JDBC**: relational database catalog
|
|
11
|
+
* - **DataLake**: data lake catalog
|
|
12
|
+
* - **Dataset**: knowledge base catalog
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* JDBC
|
|
16
|
+
*/
|
|
7
17
|
catalogType?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @remarks
|
|
20
|
+
* The fully qualified name of the database to which the table belongs.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* order_db
|
|
24
|
+
*/
|
|
8
25
|
databaseQualifiedName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The UUID of the database to which the table belongs.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* md-HZ-fp9K7r***
|
|
32
|
+
*/
|
|
9
33
|
databaseUuid?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The description of the table.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* Order table
|
|
40
|
+
*/
|
|
10
41
|
description?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The engine metadata of the table.
|
|
45
|
+
*/
|
|
11
46
|
engineMeta?: AgenticTableEngineMeta;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The table name.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* orders
|
|
53
|
+
*/
|
|
12
54
|
name?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The fully qualified name of the table. You can use this name as the TableQualifiedName parameter for GetAgenticTableColumn and GetAgenticTableIndex. For SQL Server, the format is schema name.table name.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* orders
|
|
61
|
+
*/
|
|
13
62
|
qualifiedName?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @remarks
|
|
65
|
+
* The table type. Valid values:
|
|
66
|
+
* - **NORMAL**: regular table
|
|
67
|
+
* - **VIEW**: view
|
|
68
|
+
* - **FOREIGN**: foreign table
|
|
69
|
+
* - **SYNONYM**: synonym, supported only for Oracle data sources
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* NORMAL
|
|
73
|
+
*/
|
|
14
74
|
tableType?: string;
|
|
15
75
|
static names(): { [key: string]: string } {
|
|
16
76
|
return {
|
|
@@ -3,17 +3,101 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AgenticTableEngineMeta extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The checksum of the table metadata.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 9f86d081884c7d65****
|
|
12
|
+
*/
|
|
6
13
|
checksum?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The time when the table was created. The format is yyyy-MM-dd HH:mm:ss.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2025-01-01 10:00:00
|
|
20
|
+
*/
|
|
7
21
|
createTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The data size of the table. Unit: bytes.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 786432
|
|
28
|
+
*/
|
|
8
29
|
dataBytes?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The character set encoding of the table.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* utf8mb4
|
|
36
|
+
*/
|
|
9
37
|
encoding?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The storage engine of the table.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* InnoDB
|
|
44
|
+
*/
|
|
10
45
|
engine?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The full checksum of the table metadata.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 2c26b46b68ffc68f****
|
|
52
|
+
*/
|
|
11
53
|
fullChecksum?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The index size of the table. Unit: bytes.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* 262144
|
|
60
|
+
*/
|
|
12
61
|
indexBytes?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The time when the last DDL operation was executed on the table. The format is yyyy-MM-dd HH:mm:ss.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 2025-01-02 10:00:00
|
|
68
|
+
*/
|
|
13
69
|
lastDdlTime?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The number of rows in the table.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* 10000
|
|
76
|
+
*/
|
|
14
77
|
numRows?: number;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The reference information of the table.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* order_db.orders_view
|
|
84
|
+
*/
|
|
15
85
|
refInfo?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The storage capacity of the table. Unit: MB.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 16
|
|
92
|
+
*/
|
|
16
93
|
storageCapacity?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The name of the schema to which the table belongs.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* public
|
|
100
|
+
*/
|
|
17
101
|
tableSchemaName?: string;
|
|
18
102
|
static names(): { [key: string]: string } {
|
|
19
103
|
return {
|
|
@@ -3,12 +3,61 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class AgenticTableIndex extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The list of fields included in the index. Fields with a specified prefix length include a length expression, such as name(10).
|
|
9
|
+
*/
|
|
6
10
|
columnNames?: string[];
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The index description.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* Index on user_id
|
|
17
|
+
*/
|
|
7
18
|
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The index name.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* idx_user_id
|
|
25
|
+
*/
|
|
8
26
|
indexName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The index type. Valid values:
|
|
30
|
+
*
|
|
31
|
+
* - **Primary**: primary key index
|
|
32
|
+
* - **Unique**: unique index
|
|
33
|
+
* - **Normal**: normal index
|
|
34
|
+
* - **FullText**: full-text index
|
|
35
|
+
* - **Spatial**: spatial index
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* Normal
|
|
39
|
+
*/
|
|
9
40
|
indexType?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @remarks
|
|
43
|
+
* Specifies whether the index is a primary key index.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* false
|
|
47
|
+
*/
|
|
10
48
|
primary?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The list of actual field names referenced by the index, with prefix length expressions removed from ColumnNames.
|
|
52
|
+
*/
|
|
11
53
|
realColumnNames?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* Specifies whether the index is a unique index.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* false
|
|
60
|
+
*/
|
|
12
61
|
unique?: boolean;
|
|
13
62
|
static names(): { [key: string]: string } {
|
|
14
63
|
return {
|
|
@@ -8,15 +8,15 @@ export class CreateAgenticSqlExecuteCredentialResponseBodyData extends $dara.Mod
|
|
|
8
8
|
* The AccessKey of the credential.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
|
-
*
|
|
11
|
+
* 0AHZ****
|
|
12
12
|
*/
|
|
13
13
|
accessKey?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The AccessKey secret of the credential. This value is returned only once when the credential is created. Keep it secure.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
|
-
*
|
|
19
|
+
* 4nG8R****
|
|
20
20
|
*/
|
|
21
21
|
accessSecret?: string;
|
|
22
22
|
/**
|
|
@@ -126,7 +126,7 @@ export class CreateAgenticSqlExecuteCredentialResponseBody extends $dara.Model {
|
|
|
126
126
|
errorMessage?: string;
|
|
127
127
|
/**
|
|
128
128
|
* @remarks
|
|
129
|
-
* The ID
|
|
129
|
+
* The request ID.
|
|
130
130
|
*
|
|
131
131
|
* @example
|
|
132
132
|
* 34E01EDD-6A16-4CF0-9541-C644D1BE01AA
|
|
@@ -73,6 +73,21 @@ export class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The tendency of the agent to ask follow-up questions to clarify requirements. **This parameter takes effect only when SkipAskHuman is set to false and SkipPlan is set to false**. Valid values: [0, 1].
|
|
79
|
+
*
|
|
80
|
+
* The following are descriptions of some tendency values:
|
|
81
|
+
* - 0.0: Do not ask questions at all. The agent does not ask the user any questions, skips confirmation after generating the plan, and executes it directly.
|
|
82
|
+
* - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
|
|
83
|
+
* - 0.4: Ask questions when the task is blocked. The agent handles the task autonomously by default and asks questions only when the task cannot proceed or be completed.
|
|
84
|
+
* - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there are critical ambiguities in the goals, scope, business criteria, or acceptance criteria.
|
|
85
|
+
* - 1.0: Fully align throughout the process. The agent proactively clarifies requirements during planning and execution, and continuously confirms when encountering important ambiguities, assumptions, or solution branches.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 1.0
|
|
89
|
+
*/
|
|
90
|
+
clarificationTendency?: number;
|
|
76
91
|
/**
|
|
77
92
|
* @remarks
|
|
78
93
|
* Specifies whether to prohibit appending data sources in the session.
|
|
@@ -115,6 +130,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
115
130
|
skipWebReportConfirm?: boolean;
|
|
116
131
|
static names(): { [key: string]: string } {
|
|
117
132
|
return {
|
|
133
|
+
clarificationTendency: 'ClarificationTendency',
|
|
118
134
|
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
119
135
|
skipAskHuman: 'SkipAskHuman',
|
|
120
136
|
skipPlan: 'SkipPlan',
|
|
@@ -125,6 +141,7 @@ export class CreateCustomAgentRequestExecutionConfig extends $dara.Model {
|
|
|
125
141
|
|
|
126
142
|
static types(): { [key: string]: any } {
|
|
127
143
|
return {
|
|
144
|
+
clarificationTendency: 'number',
|
|
128
145
|
forbiddenAppendDataSource: 'boolean',
|
|
129
146
|
skipAskHuman: 'boolean',
|
|
130
147
|
skipPlan: 'boolean',
|
|
@@ -73,6 +73,21 @@ export class CreateCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The tendency of the agent to ask follow-up questions to clarify requirements. **This parameter takes effect only when SkipAskHuman is set to false and SkipPlan is set to false**. Valid values: [0, 1].
|
|
79
|
+
*
|
|
80
|
+
* The following are descriptions of some tendency values:
|
|
81
|
+
* - 0.0: Do not ask questions at all. The agent does not ask the user any questions, skips confirmation after generating the plan, and executes it directly.
|
|
82
|
+
* - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
|
|
83
|
+
* - 0.4: Ask questions when the task is blocked. The agent handles the task autonomously by default and asks questions only when the task cannot proceed or be completed.
|
|
84
|
+
* - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there are critical ambiguities in the goals, scope, business criteria, or acceptance criteria.
|
|
85
|
+
* - 1.0: Fully align throughout the process. The agent proactively clarifies requirements during planning and execution, and continuously confirms when encountering important ambiguities, assumptions, or solution branches.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 1.0
|
|
89
|
+
*/
|
|
90
|
+
clarificationTendency?: number;
|
|
76
91
|
/**
|
|
77
92
|
* @remarks
|
|
78
93
|
* Specifies whether to prohibit appending data sources in the session.
|
|
@@ -115,6 +130,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
115
130
|
skipWebReportConfirm?: boolean;
|
|
116
131
|
static names(): { [key: string]: string } {
|
|
117
132
|
return {
|
|
133
|
+
clarificationTendency: 'ClarificationTendency',
|
|
118
134
|
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
119
135
|
skipAskHuman: 'SkipAskHuman',
|
|
120
136
|
skipPlan: 'SkipPlan',
|
|
@@ -125,6 +141,7 @@ export class CreateCustomAgentResponseBodyDataExecutionConfig extends $dara.Mode
|
|
|
125
141
|
|
|
126
142
|
static types(): { [key: string]: any } {
|
|
127
143
|
return {
|
|
144
|
+
clarificationTendency: 'number',
|
|
128
145
|
forbiddenAppendDataSource: 'boolean',
|
|
129
146
|
skipAskHuman: 'boolean',
|
|
130
147
|
skipPlan: 'boolean',
|
|
@@ -73,6 +73,21 @@ export class DescribeCustomAgentResponseBodyDataCallbackConfig extends $dara.Mod
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Model {
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* The tendency of the agent to ask follow-up questions to clarify requirements. **This parameter takes effect only when SkipAskHuman is set to false and SkipPlan is set to false**. Valid values: [0, 1].
|
|
79
|
+
*
|
|
80
|
+
* The following are descriptions of some tendency values:
|
|
81
|
+
* - 0.0: Do not ask questions at all. The agent does not ask the user any questions, skips confirmation after generating the plan, and executes it directly.
|
|
82
|
+
* - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
|
|
83
|
+
* - 0.4: Ask questions when the task is blocked. The agent handles the task autonomously by default and asks questions only when the task cannot proceed or be completed.
|
|
84
|
+
* - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there are critical ambiguities in the goals, scope, business criteria, or acceptance criteria.
|
|
85
|
+
* - 1.0: Fully align throughout the process. The agent proactively clarifies requirements during planning and execution, and continuously confirms when encountering important ambiguities, assumptions, or solution branches.
|
|
86
|
+
*
|
|
87
|
+
* @example
|
|
88
|
+
* 1.0
|
|
89
|
+
*/
|
|
90
|
+
clarificationTendency?: number;
|
|
76
91
|
/**
|
|
77
92
|
* @remarks
|
|
78
93
|
* Specifies whether to prohibit appending data sources during the session.
|
|
@@ -115,6 +130,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
115
130
|
skipWebReportConfirm?: boolean;
|
|
116
131
|
static names(): { [key: string]: string } {
|
|
117
132
|
return {
|
|
133
|
+
clarificationTendency: 'ClarificationTendency',
|
|
118
134
|
forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
|
|
119
135
|
skipAskHuman: 'SkipAskHuman',
|
|
120
136
|
skipPlan: 'SkipPlan',
|
|
@@ -125,6 +141,7 @@ export class DescribeCustomAgentResponseBodyDataExecutionConfig extends $dara.Mo
|
|
|
125
141
|
|
|
126
142
|
static types(): { [key: string]: any } {
|
|
127
143
|
return {
|
|
144
|
+
clarificationTendency: 'number',
|
|
128
145
|
forbiddenAppendDataSource: 'boolean',
|
|
129
146
|
skipAskHuman: 'boolean',
|
|
130
147
|
skipPlan: 'boolean',
|
|
@@ -6,12 +6,12 @@ import { AgenticDatabase } from "./AgenticDatabase";
|
|
|
6
6
|
export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The database
|
|
9
|
+
* The details of the database.
|
|
10
10
|
*/
|
|
11
11
|
data?: AgenticDatabase;
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
* The error code returned when an exception occurs
|
|
14
|
+
* The error code returned when an exception occurs.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* UnknownError
|
|
@@ -19,7 +19,7 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
19
19
|
errorCode?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The error message returned when the
|
|
22
|
+
* The error message returned when the call fails.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* UnknownError
|
|
@@ -27,7 +27,7 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
27
27
|
errorMessage?: string;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The ID
|
|
30
|
+
* The request ID.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 67E910F2-4B62-5B0C-ACA3-7547695C****
|
|
@@ -35,9 +35,9 @@ export class GetAgenticDatabaseResponseBody extends $dara.Model {
|
|
|
35
35
|
requestId?: string;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* Indicates whether the request
|
|
38
|
+
* Indicates whether the request is successful. Valid values:
|
|
39
39
|
*
|
|
40
|
-
* - **true**: The request
|
|
40
|
+
* - **true**: The request is successful.
|
|
41
41
|
* - **false**: The request failed.
|
|
42
42
|
*
|
|
43
43
|
* @example
|