@alicloud/dms20250414 4.3.2 → 4.4.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 +43 -22
- package/dist/client.js +98 -22
- package/dist/client.js.map +1 -1
- package/dist/models/AddAgenticDataSourceRequest.d.ts +16 -27
- package/dist/models/AddAgenticDataSourceRequest.js +2 -0
- package/dist/models/AddAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/AddAgenticDataSourceResponseBody.d.ts +23 -20
- package/dist/models/AddAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/AddAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/AgenticDatabaseEngineMeta.d.ts +28 -0
- package/dist/models/AgenticDatabaseEngineMeta.js.map +1 -1
- package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +2 -2
- package/dist/models/CreateCustomAgentRequest.d.ts +53 -43
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +23 -23
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +47 -37
- package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceRequest.d.ts +11 -3
- package/dist/models/CreateDataAgentWorkspaceRequest.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +16 -9
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/CreateDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DeleteAgenticDataSourceRequest.d.ts +1 -1
- package/dist/models/DeleteAgenticDataSourceResponseBody.d.ts +5 -5
- package/dist/models/DeleteAgenticVpcEndpointRequest.d.ts +23 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js +58 -0
- package/dist/models/DeleteAgenticVpcEndpointRequest.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.d.ts +19 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js +69 -0
- package/dist/models/DeleteAgenticVpcEndpointResponse.js.map +1 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +81 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js +90 -0
- package/dist/models/DeleteAgenticVpcEndpointResponseBody.js.map +1 -0
- package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +577 -37
- package/dist/models/DescribeDataAgentSessionResponseBody.js +239 -1
- package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDataSourceResponseBody.d.ts +43 -35
- package/dist/models/GetAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/GetAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/GetAgenticDatabaseRequest.d.ts +1 -1
- package/dist/models/GetAgenticDatabaseResponseBody.d.ts +3 -3
- package/dist/models/GetDataAgentWorkspaceInfoRequest.d.ts +1 -1
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.d.ts +13 -5
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js +2 -0
- package/dist/models/GetDataAgentWorkspaceInfoResponseBody.js.map +1 -1
- package/dist/models/GetListMcpServerToolsResultRequest.d.ts +3 -3
- package/dist/models/GetListMcpServerToolsResultResponseBody.d.ts +10 -15
- package/dist/models/GetListMcpServerToolsResultResponseBody.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesRequest.d.ts +8 -5
- package/dist/models/ListAgenticSecurityPoliciesRequest.js.map +1 -1
- package/dist/models/ListAgenticSecurityPoliciesResponseBody.d.ts +13 -13
- package/dist/models/ListDataAgentWorkspaceRequest.d.ts +3 -3
- package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +14 -6
- package/dist/models/ListDataAgentWorkspaceResponseBody.js +2 -0
- package/dist/models/ListDataAgentWorkspaceResponseBody.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionRequest.d.ts +32 -20
- package/dist/models/TestAgenticDataSourceConnectionRequest.js +2 -0
- package/dist/models/TestAgenticDataSourceConnectionRequest.js.map +1 -1
- package/dist/models/TestAgenticDataSourceConnectionResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgenticDataSourceRequest.d.ts +50 -18
- package/dist/models/UpdateAgenticDataSourceRequest.js +8 -0
- package/dist/models/UpdateAgenticDataSourceRequest.js.map +1 -1
- package/dist/models/UpdateAgenticDataSourceResponseBody.d.ts +22 -14
- package/dist/models/UpdateAgenticDataSourceResponseBody.js +2 -0
- package/dist/models/UpdateAgenticDataSourceResponseBody.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoRequest.d.ts +12 -4
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoRequest.js.map +1 -1
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.d.ts +19 -11
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js +2 -0
- package/dist/models/UpdateDataAgentSpaceInfoResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +10 -0
- package/dist/models/model.js +38 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +110 -22
- package/src/models/AddAgenticDataSourceRequest.ts +18 -27
- package/src/models/AddAgenticDataSourceResponseBody.ts +25 -20
- package/src/models/AgenticDatabaseEngineMeta.ts +28 -0
- package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +2 -2
- package/src/models/CreateCustomAgentRequest.ts +55 -43
- package/src/models/CreateCustomAgentResponseBody.ts +23 -23
- package/src/models/CreateCustomAgentShrinkRequest.ts +49 -37
- package/src/models/CreateDataAgentWorkspaceRequest.ts +13 -3
- package/src/models/CreateDataAgentWorkspaceResponseBody.ts +18 -9
- package/src/models/DeleteAgenticDataSourceRequest.ts +1 -1
- package/src/models/DeleteAgenticDataSourceResponseBody.ts +5 -5
- package/src/models/DeleteAgenticVpcEndpointRequest.ts +36 -0
- package/src/models/DeleteAgenticVpcEndpointResponse.ts +40 -0
- package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +117 -0
- package/src/models/DescribeDataAgentSessionResponseBody.ts +761 -37
- package/src/models/GetAgenticDataSourceResponseBody.ts +45 -35
- package/src/models/GetAgenticDatabaseRequest.ts +1 -1
- package/src/models/GetAgenticDatabaseResponseBody.ts +3 -3
- package/src/models/GetDataAgentWorkspaceInfoRequest.ts +1 -1
- package/src/models/GetDataAgentWorkspaceInfoResponseBody.ts +15 -5
- package/src/models/GetListMcpServerToolsResultRequest.ts +3 -3
- package/src/models/GetListMcpServerToolsResultResponseBody.ts +10 -15
- package/src/models/ListAgenticSecurityPoliciesRequest.ts +8 -5
- package/src/models/ListAgenticSecurityPoliciesResponseBody.ts +13 -13
- package/src/models/ListDataAgentWorkspaceRequest.ts +3 -3
- package/src/models/ListDataAgentWorkspaceResponseBody.ts +16 -6
- package/src/models/TestAgenticDataSourceConnectionRequest.ts +34 -20
- package/src/models/TestAgenticDataSourceConnectionResponseBody.ts +4 -4
- package/src/models/UpdateAgenticDataSourceRequest.ts +58 -18
- package/src/models/UpdateAgenticDataSourceResponseBody.ts +24 -14
- package/src/models/UpdateDataAgentSpaceInfoRequest.ts +14 -4
- package/src/models/UpdateDataAgentSpaceInfoResponseBody.ts +21 -11
- package/src/models/model.ts +10 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The name of the ADB MySQL Spark resource group. This parameter takes effect only when DbType is set to ADB_MYSQL_SPARK. You must specify a resource group for this connection type. This parameter is independent of Schema (database name) and they cannot replace each other.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* resourceGroup1
|
|
9
|
+
*/
|
|
10
|
+
adbSparkResourceGroup?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The display name of the data source. If you do not specify this parameter, the server generates a name.
|
|
@@ -10,7 +18,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
10
18
|
alias?: string;
|
|
11
19
|
/**
|
|
12
20
|
* @remarks
|
|
13
|
-
* The logon username. You can leave this parameter empty
|
|
21
|
+
* The logon username. You can leave this parameter empty if the authentication method does not require a username.
|
|
14
22
|
*
|
|
15
23
|
* @example
|
|
16
24
|
* db_user
|
|
@@ -26,11 +34,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
26
34
|
authPassword?: string;
|
|
27
35
|
/**
|
|
28
36
|
* @remarks
|
|
29
|
-
* Optional. The authentication type. Valid values:
|
|
30
|
-
* - -1: No authentication required.
|
|
31
|
-
* - 0: Username and password.
|
|
32
|
-
* - 1: Password only.
|
|
33
|
-
* - 2: Password-free.
|
|
37
|
+
* Optional. The authentication type. Valid values: -1: no authentication required, 0: username and password, 1: password only, and 2: password-free.
|
|
34
38
|
*
|
|
35
39
|
* @example
|
|
36
40
|
* 0
|
|
@@ -38,7 +42,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
38
42
|
authType?: number;
|
|
39
43
|
/**
|
|
40
44
|
* @remarks
|
|
41
|
-
* The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a Chinese character,
|
|
45
|
+
* The name of the metadata catalog. If you do not specify this parameter, the name is automatically generated. The name can be up to 128 characters in length. It must start with a letter, Chinese character, or underscore, and can contain digits and hyphens. It cannot contain only digits.
|
|
42
46
|
*
|
|
43
47
|
* @example
|
|
44
48
|
* demo_catalog
|
|
@@ -46,10 +50,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
46
50
|
catalogName?: string;
|
|
47
51
|
/**
|
|
48
52
|
* @remarks
|
|
49
|
-
* The entry method. Valid values:
|
|
50
|
-
* - INSTANCE_ID: Select an existing cloud instance.
|
|
51
|
-
* - HOST_PORT: Enter the endpoint and port.
|
|
52
|
-
* If you do not specify this parameter, HOST_PORT is used.
|
|
53
|
+
* The entry method. Valid values: INSTANCE_ID: select an existing cloud instance, and HOST_PORT: enter an endpoint and port. If you do not specify this parameter, HOST_PORT is used.
|
|
53
54
|
*
|
|
54
55
|
* @example
|
|
55
56
|
* HOST_PORT
|
|
@@ -91,12 +92,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
91
92
|
instanceResourceId?: string;
|
|
92
93
|
/**
|
|
93
94
|
* @remarks
|
|
94
|
-
* The source of the data source. Valid values:
|
|
95
|
-
* - RDS: An ApsaraDB instance.
|
|
96
|
-
* - PUBLIC_OWN: A self-managed database on the Internet.
|
|
97
|
-
* - ECS_OWN: A self-managed database on an ECS instance.
|
|
98
|
-
* - GATEWAY: A database accessed through Database Gateway.
|
|
99
|
-
* - VPC_IDC: A database accessed through a VPC or data center.
|
|
95
|
+
* The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
|
|
100
96
|
*
|
|
101
97
|
* This parameter is required.
|
|
102
98
|
*
|
|
@@ -114,7 +110,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
114
110
|
kmsSecret?: string;
|
|
115
111
|
/**
|
|
116
112
|
* @remarks
|
|
117
|
-
* Optional. The ID of the data access security policy. This policy is used to control
|
|
113
|
+
* Optional. The ID of the data access security policy. This policy is used to control access and protection rules for the data source.
|
|
118
114
|
*
|
|
119
115
|
* @example
|
|
120
116
|
* sp-usr-example
|
|
@@ -162,10 +158,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
162
158
|
snowflakeWarehouse?: string;
|
|
163
159
|
/**
|
|
164
160
|
* @remarks
|
|
165
|
-
* Specifies whether to use the cloud instance name as the data source name. Valid values:
|
|
166
|
-
* - 1: Yes.
|
|
167
|
-
* - 0: No.
|
|
168
|
-
* This parameter takes effect only when you select a cloud database instance.
|
|
161
|
+
* Specifies whether to use the cloud instance name as the data source name. Valid values: 1: yes, and 0: no. This parameter takes effect only when you select a cloud database instance.
|
|
169
162
|
*
|
|
170
163
|
* @example
|
|
171
164
|
* 0
|
|
@@ -173,11 +166,7 @@ export declare class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
173
166
|
syncAlias?: number;
|
|
174
167
|
/**
|
|
175
168
|
* @remarks
|
|
176
|
-
* Specifies whether to use SSL. Valid values:
|
|
177
|
-
* - 1: Enable.
|
|
178
|
-
* - 0: Disable.
|
|
179
|
-
* - -1: Use the default setting.
|
|
180
|
-
* Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
|
|
169
|
+
* Specifies whether to use SSL. Valid values: 1: enabled, 0: disabled, and -1: default settings. Only ADB_MYSQL, CLICKHOUSE, MARIADB, MYSQL, OCEANBASEX, POLARDB, SELECTDB, and STARROCKS support SSL. Leave this parameter empty for other types.
|
|
181
170
|
*
|
|
182
171
|
* @example
|
|
183
172
|
* 1
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class AddAgenticDataSourceRequest extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
42
43
|
alias: 'Alias',
|
|
43
44
|
authAccount: 'AuthAccount',
|
|
44
45
|
authPassword: 'AuthPassword',
|
|
@@ -66,6 +67,7 @@ class AddAgenticDataSourceRequest extends $dara.Model {
|
|
|
66
67
|
}
|
|
67
68
|
static types() {
|
|
68
69
|
return {
|
|
70
|
+
adbSparkResourceGroup: 'string',
|
|
69
71
|
alias: 'string',
|
|
70
72
|
authAccount: 'string',
|
|
71
73
|
authPassword: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/AddAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AddAgenticDataSourceRequest.js","sourceRoot":"","sources":["../../src/models/AddAgenticDataSourceRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAqM1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,uBAAuB;YAC9C,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,SAAS;YAClB,IAAI,EAAE,MAAM;YACZ,kBAAkB,EAAE,oBAAoB;YACxC,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,eAAe;YAC9B,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,qBAAqB,EAAE,QAAQ;YAC/B,KAAK,EAAE,QAAQ;YACf,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,QAAQ;YACd,kBAAkB,EAAE,QAAQ;YAC5B,cAAc,EAAE,QAAQ;YACxB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,QAAQ;YACjB,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,QAAQ;YACvB,kBAAkB,EAAE,QAAQ;YAC5B,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,QAAQ;YACnB,KAAK,EAAE,QAAQ;YACf,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtQD,kEAsQC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The name of the ADB MySQL Spark resource group. This field is returned only for data sources whose DbType is ADB_MYSQL_SPARK. It is independent of the Schema (database name).
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* resourceGroup1
|
|
9
|
+
*/
|
|
10
|
+
adbSparkResourceGroup?: string;
|
|
3
11
|
/**
|
|
4
12
|
* @remarks
|
|
5
13
|
* The display name of the data source.
|
|
@@ -10,7 +18,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
10
18
|
alias?: string;
|
|
11
19
|
/**
|
|
12
20
|
* @remarks
|
|
13
|
-
* The logon username for the data source. This
|
|
21
|
+
* The logon username for the data source. This field is empty if username authentication is not used.
|
|
14
22
|
*
|
|
15
23
|
* @example
|
|
16
24
|
* db_user
|
|
@@ -80,7 +88,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
80
88
|
envType?: string;
|
|
81
89
|
/**
|
|
82
90
|
* @remarks
|
|
83
|
-
* The time when the data source was created. The
|
|
91
|
+
* The time when the data source was created. The format is yyyy-MM-dd HH:mm:ss.
|
|
84
92
|
*
|
|
85
93
|
* @example
|
|
86
94
|
* 2026-10-13 14:30:00
|
|
@@ -88,7 +96,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
88
96
|
gmtCreate?: string;
|
|
89
97
|
/**
|
|
90
98
|
* @remarks
|
|
91
|
-
* The time when the data source was last modified. The
|
|
99
|
+
* The time when the data source was last modified. The format is yyyy-MM-dd HH:mm:ss.
|
|
92
100
|
*
|
|
93
101
|
* @example
|
|
94
102
|
* 2026-10-13 14:35:00
|
|
@@ -104,7 +112,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
104
112
|
host?: string;
|
|
105
113
|
/**
|
|
106
114
|
* @remarks
|
|
107
|
-
* The ID of the cloud resource instance. This
|
|
115
|
+
* The ID of the cloud resource instance. This field may be empty for data sources registered by endpoint.
|
|
108
116
|
*
|
|
109
117
|
* @example
|
|
110
118
|
* rm-bp1234567890
|
|
@@ -112,12 +120,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
112
120
|
instanceResourceId?: string;
|
|
113
121
|
/**
|
|
114
122
|
* @remarks
|
|
115
|
-
* The source of the data source. Valid values:
|
|
116
|
-
* - RDS: An ApsaraDB instance.
|
|
117
|
-
* - PUBLIC_OWN: A self-managed database on the Internet.
|
|
118
|
-
* - ECS_OWN: A self-managed database on an ECS instance.
|
|
119
|
-
* - GATEWAY: A database accessed through Database Gateway.
|
|
120
|
-
* - VPC_IDC: A database accessed through a VPC or data center.
|
|
123
|
+
* The source of the data source. Valid values: RDS: ApsaraDB instance, PUBLIC_OWN: self-managed database connected over the Internet, ECS_OWN: self-managed database hosted on an ECS instance, GATEWAY: database connected through Database Gateway, and VPC_IDC: database connected through a VPC or IDC.
|
|
121
124
|
*
|
|
122
125
|
* @example
|
|
123
126
|
* RDS
|
|
@@ -125,7 +128,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
125
128
|
instanceSource?: string;
|
|
126
129
|
/**
|
|
127
130
|
* @remarks
|
|
128
|
-
* The name of the KMS
|
|
131
|
+
* The name of the Key Management Service (KMS) managed credential. This field is empty if KMS is not used and is considered sensitive information.
|
|
129
132
|
*
|
|
130
133
|
* @example
|
|
131
134
|
* datasource-secret
|
|
@@ -133,7 +136,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
133
136
|
kmsSecret?: string;
|
|
134
137
|
/**
|
|
135
138
|
* @remarks
|
|
136
|
-
* The ID of the data access security policy in use. This
|
|
139
|
+
* The ID of the data access security policy currently in use. This field is empty if no policy is configured.
|
|
137
140
|
*
|
|
138
141
|
* @example
|
|
139
142
|
* sp-usr-example
|
|
@@ -149,7 +152,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
149
152
|
port?: number;
|
|
150
153
|
/**
|
|
151
154
|
* @remarks
|
|
152
|
-
* The region where the data source
|
|
155
|
+
* The region where the data source is located.
|
|
153
156
|
*
|
|
154
157
|
* @example
|
|
155
158
|
* cn-hangzhou
|
|
@@ -165,7 +168,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
165
168
|
resourceAccountId?: string;
|
|
166
169
|
/**
|
|
167
170
|
* @remarks
|
|
168
|
-
* The ARN of the RAM role used to access the data source. This
|
|
171
|
+
* The Alibaba Cloud Resource Name (ARN) of the Resource Access Management (RAM) role used to access the data source. This field is empty if role-based authorization is not used.
|
|
169
172
|
*
|
|
170
173
|
* @example
|
|
171
174
|
* acs:ram::123456789012****:role/DataSourceRole
|
|
@@ -173,7 +176,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
173
176
|
roleArn?: string;
|
|
174
177
|
/**
|
|
175
178
|
* @remarks
|
|
176
|
-
* The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this
|
|
179
|
+
* The name of the connection target. For ADB_POSTGRESQL, DRDS, POSTGRESQL, and POLARDB_POSTGRESQL, this indicates the database name. For ORACLE, this indicates the SID or service name. For POLARDB_ORACLE, this indicates the SID. For MAXCOMPUTE, this indicates the project. For other types, this field is usually empty.
|
|
177
180
|
*
|
|
178
181
|
* @example
|
|
179
182
|
* postgres
|
|
@@ -192,7 +195,7 @@ export declare class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
192
195
|
state?: number;
|
|
193
196
|
/**
|
|
194
197
|
* @remarks
|
|
195
|
-
*
|
|
198
|
+
* Specifies whether to use the cloud instance name as the data source name. Valid values:
|
|
196
199
|
* - 1: yes
|
|
197
200
|
* - 0: no
|
|
198
201
|
*
|
|
@@ -230,7 +233,7 @@ export declare class AddAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
230
233
|
data?: AddAgenticDataSourceResponseBodyData;
|
|
231
234
|
/**
|
|
232
235
|
* @remarks
|
|
233
|
-
* The error code returned when the call fails. This
|
|
236
|
+
* The error code returned when the call fails. This field is empty when the call is successful.
|
|
234
237
|
*
|
|
235
238
|
* @example
|
|
236
239
|
* InvalidParameter
|
|
@@ -238,7 +241,7 @@ export declare class AddAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
238
241
|
errorCode?: string;
|
|
239
242
|
/**
|
|
240
243
|
* @remarks
|
|
241
|
-
* The error message returned when the call fails. This
|
|
244
|
+
* The error message returned when the call fails. This field is empty when the call is successful.
|
|
242
245
|
*
|
|
243
246
|
* @example
|
|
244
247
|
* The parameter is invalid
|
|
@@ -246,7 +249,7 @@ export declare class AddAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
246
249
|
errorMessage?: string;
|
|
247
250
|
/**
|
|
248
251
|
* @remarks
|
|
249
|
-
* The
|
|
252
|
+
* The ID of the request.
|
|
250
253
|
*
|
|
251
254
|
* @example
|
|
252
255
|
* request-1234567890
|
|
@@ -254,7 +257,7 @@ export declare class AddAgenticDataSourceResponseBody extends $dara.Model {
|
|
|
254
257
|
requestId?: string;
|
|
255
258
|
/**
|
|
256
259
|
* @remarks
|
|
257
|
-
* Indicates whether the call
|
|
260
|
+
* Indicates whether the call is successful.
|
|
258
261
|
*/
|
|
259
262
|
success?: boolean;
|
|
260
263
|
static names(): {
|
|
@@ -39,6 +39,7 @@ const $dara = __importStar(require("@darabonba/typescript"));
|
|
|
39
39
|
class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
40
40
|
static names() {
|
|
41
41
|
return {
|
|
42
|
+
adbSparkResourceGroup: 'AdbSparkResourceGroup',
|
|
42
43
|
alias: 'Alias',
|
|
43
44
|
authAccount: 'AuthAccount',
|
|
44
45
|
authPassword: 'AuthPassword',
|
|
@@ -67,6 +68,7 @@ class AddAgenticDataSourceResponseBodyData extends $dara.Model {
|
|
|
67
68
|
}
|
|
68
69
|
static types() {
|
|
69
70
|
return {
|
|
71
|
+
adbSparkResourceGroup: 'string',
|
|
70
72
|
alias: 'string',
|
|
71
73
|
authAccount: 'string',
|
|
72
74
|
authPassword: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AddAgenticDataSourceResponseBody.js","sourceRoot":"","sources":["../../src/models/AddAgenticDataSourceResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C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AY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjED,4EAiEC"}
|
|
@@ -1,8 +1,36 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
2
|
export declare class AgenticDatabaseEngineMeta extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The catalog name in the database engine.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* def
|
|
9
|
+
*/
|
|
3
10
|
catalogName?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The character set encoding of the database.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* utf8mb4
|
|
17
|
+
*/
|
|
4
18
|
encoding?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The schema name.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* public
|
|
25
|
+
*/
|
|
5
26
|
schemaName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The storage capacity of the database, in MB.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* 1024
|
|
33
|
+
*/
|
|
6
34
|
storageCapacity?: number;
|
|
7
35
|
static names(): {
|
|
8
36
|
[key: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AgenticDatabaseEngineMeta.js","sourceRoot":"","sources":["../../src/models/AgenticDatabaseEngineMeta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"AgenticDatabaseEngineMeta.js","sourceRoot":"","sources":["../../src/models/AgenticDatabaseEngineMeta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAiCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,eAAe,EAAE,iBAAiB;SACnC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,8DA0DC"}
|
|
@@ -10,7 +10,7 @@ export declare class CreateAgenticSqlExecuteCredentialResponseBodyData extends $
|
|
|
10
10
|
accessKey?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The AccessSecret of the credential. This value is returned only once when the credential is created. Keep it secure.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* xxxxxxxx
|
|
@@ -99,7 +99,7 @@ export declare class CreateAgenticSqlExecuteCredentialResponseBody extends $dara
|
|
|
99
99
|
errorMessage?: string;
|
|
100
100
|
/**
|
|
101
101
|
* @remarks
|
|
102
|
-
* The request
|
|
102
|
+
* The ID of the request.
|
|
103
103
|
*
|
|
104
104
|
* @example
|
|
105
105
|
* 34E01EDD-6A16-4CF0-9541-C644D1BE01AA
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateCustomAgentRequestCallbackConfig extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The parameters to invoke the callback tool.
|
|
5
|
+
* The parameters used to invoke the callback tool.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* {"ID":"test"}
|
|
@@ -10,7 +10,7 @@ export declare class CreateCustomAgentRequestCallbackConfig extends $dara.Model
|
|
|
10
10
|
callbackArgs?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The prompt for generating
|
|
13
|
+
* The prompt for generating parameters to invoke the callback tool.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* send web report to 123456@163.com
|
|
@@ -107,8 +107,8 @@ export declare class CreateCustomAgentRequestKnowledgeConfigList extends $dara.M
|
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
109
|
* The access type. If you do not specify this parameter, the default value is mcp. Valid values:
|
|
110
|
-
* - mcp:
|
|
111
|
-
* - dms_kb:
|
|
110
|
+
* - mcp: Access by using MCP. You must pass the McpServerId parameter.
|
|
111
|
+
* - dms_kb: Access by using a DMS knowledge base. You must pass the KbUuid parameter.
|
|
112
112
|
*
|
|
113
113
|
* @example
|
|
114
114
|
* mcp
|
|
@@ -124,7 +124,7 @@ export declare class CreateCustomAgentRequestKnowledgeConfigList extends $dara.M
|
|
|
124
124
|
kbUuid?: string;
|
|
125
125
|
/**
|
|
126
126
|
* @remarks
|
|
127
|
-
* The MCP server
|
|
127
|
+
* The ID of the MCP server.
|
|
128
128
|
*
|
|
129
129
|
* @example
|
|
130
130
|
* nhdpt9adf6ac**********ca
|
|
@@ -198,7 +198,7 @@ export declare class CreateCustomAgentRequestScheduleTaskConfig extends $dara.Mo
|
|
|
198
198
|
cronExpression?: string;
|
|
199
199
|
/**
|
|
200
200
|
* @remarks
|
|
201
|
-
* The
|
|
201
|
+
* The question for the scheduled task.
|
|
202
202
|
*
|
|
203
203
|
* @example
|
|
204
204
|
* Analyze this data and provide a brief report
|
|
@@ -227,8 +227,8 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
227
227
|
/**
|
|
228
228
|
* @remarks
|
|
229
229
|
* The type of the custom agent. Valid values:
|
|
230
|
-
* - Default:
|
|
231
|
-
* - Common:
|
|
230
|
+
* - Default: The system-built-in custom agent. Each workspace can have at most one Default agent, and it cannot be deleted.
|
|
231
|
+
* - Common: A common custom agent.
|
|
232
232
|
*
|
|
233
233
|
* @example
|
|
234
234
|
* Common
|
|
@@ -236,9 +236,19 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
236
236
|
agentType?: string;
|
|
237
237
|
/**
|
|
238
238
|
* @remarks
|
|
239
|
-
* The callback feature configuration.
|
|
239
|
+
* The callback feature configuration items.
|
|
240
240
|
*/
|
|
241
241
|
callbackConfig?: CreateCustomAgentRequestCallbackConfig;
|
|
242
|
+
/**
|
|
243
|
+
* @remarks
|
|
244
|
+
* The creation source. Valid values:
|
|
245
|
+
* - Empty (default): Create the agent by using a form.
|
|
246
|
+
* - SmartNew: Create the agent by using intelligent development.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* SmartNew
|
|
250
|
+
*/
|
|
251
|
+
createFrom?: string;
|
|
242
252
|
/**
|
|
243
253
|
* @remarks
|
|
244
254
|
* The current DMS unit.
|
|
@@ -249,19 +259,19 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
249
259
|
DMSUnit?: string;
|
|
250
260
|
/**
|
|
251
261
|
* @remarks
|
|
252
|
-
* The specified data scope
|
|
253
|
-
* - General parameter
|
|
254
|
-
* - tableFlag: true
|
|
255
|
-
* - scope: personal
|
|
256
|
-
* - personal:
|
|
262
|
+
* The specified data scope in **JSON character string format**.
|
|
263
|
+
* - General parameter description:
|
|
264
|
+
* - tableFlag: Set to true to specify the data scope.
|
|
265
|
+
* - scope: Set to personal as a fixed value.
|
|
266
|
+
* - personal: The parameters for file and database types.
|
|
257
267
|
*
|
|
258
|
-
* **File type
|
|
259
|
-
* - DataSourceType: remote_data_center
|
|
260
|
-
* - FileId:
|
|
261
|
-
* - Database:
|
|
262
|
-
* - Tables:
|
|
263
|
-
* - TableIds:
|
|
264
|
-
* - RegionId:
|
|
268
|
+
* **File type**. Pass parameters in the following format:
|
|
269
|
+
* - DataSourceType: Set to remote_data_center as a fixed value.
|
|
270
|
+
* - FileId: The file ID.
|
|
271
|
+
* - Database: The database name returned by the ListDataCenterTable operation, which is usually the file name.
|
|
272
|
+
* - Tables: The table names returned by the ListDataCenterTable operation.
|
|
273
|
+
* - TableIds: The table IDs returned by the ListDataCenterTable operation.
|
|
274
|
+
* - RegionId: The current region.
|
|
265
275
|
* ```
|
|
266
276
|
* {
|
|
267
277
|
* "tableFlag": true,
|
|
@@ -281,17 +291,17 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
281
291
|
* }
|
|
282
292
|
* ```
|
|
283
293
|
*
|
|
284
|
-
* **Database type
|
|
285
|
-
* - DataSourceType: database
|
|
286
|
-
* - DmsInstanceId:
|
|
287
|
-
* - DmsDatabaseId:
|
|
288
|
-
* - FileId:
|
|
289
|
-
* - DbName:
|
|
290
|
-
* - Database:
|
|
291
|
-
* - Tables:
|
|
292
|
-
* - TableIds:
|
|
293
|
-
* - Engine:
|
|
294
|
-
* - RegionId:
|
|
294
|
+
* **Database type**. Pass parameters in the following format:
|
|
295
|
+
* - DataSourceType: Set to database as a fixed value.
|
|
296
|
+
* - DmsInstanceId: The DMS instance ID returned by the data center operation.
|
|
297
|
+
* - DmsDatabaseId: The DMS database ID returned by the data center operation.
|
|
298
|
+
* - FileId: The instance name. **[Deprecated]**
|
|
299
|
+
* - DbName: The database name returned by the data center operation.
|
|
300
|
+
* - Database: The database name returned by the data center operation.
|
|
301
|
+
* - Tables: The table names returned by the data center operation.
|
|
302
|
+
* - TableIds: The table IDs returned by the data center operation.
|
|
303
|
+
* - Engine: The database engine type, such as mysql or postgresql.
|
|
304
|
+
* - RegionId: The current region.
|
|
295
305
|
* ```
|
|
296
306
|
* {
|
|
297
307
|
* "tableFlag": true,
|
|
@@ -345,28 +355,28 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
345
355
|
executionConfig?: CreateCustomAgentRequestExecutionConfig;
|
|
346
356
|
/**
|
|
347
357
|
* @remarks
|
|
348
|
-
* The
|
|
349
|
-
* - Input limit:
|
|
358
|
+
* The instruction.
|
|
359
|
+
* - Input limit: Up to 10,000 characters.
|
|
350
360
|
*
|
|
351
361
|
* @example
|
|
352
362
|
* Core metric definitions:
|
|
353
363
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
354
|
-
* 2. Order volume refers to the number of valid
|
|
355
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
356
|
-
* 4. Conversion rate =
|
|
364
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
365
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
366
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
357
367
|
*/
|
|
358
368
|
instruction?: string;
|
|
359
369
|
/**
|
|
360
370
|
* @remarks
|
|
361
371
|
* The knowledge.
|
|
362
|
-
* - Input limit:
|
|
372
|
+
* - Input limit: Up to 10,000 characters.
|
|
363
373
|
*
|
|
364
374
|
* @example
|
|
365
375
|
* Core metric definitions:
|
|
366
376
|
* 1. GMV (Gross Merchandise Volume) refers to the total order amount, including both paid and unpaid orders.
|
|
367
|
-
* 2. Order volume refers to the number of valid
|
|
368
|
-
* 3. UV (Unique Visitors) refers to the number of deduplicated users
|
|
369
|
-
* 4. Conversion rate =
|
|
377
|
+
* 2. Order volume refers to the number of valid orders placed per day.
|
|
378
|
+
* 3. UV (Unique Visitors) refers to the number of deduplicated users who visit the website or app.
|
|
379
|
+
* 4. Conversion rate = Number of paid orders / UV, reflecting the traffic conversion efficiency
|
|
370
380
|
*/
|
|
371
381
|
knowledge?: string;
|
|
372
382
|
/**
|
|
@@ -411,7 +421,7 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
411
421
|
* The text report format.
|
|
412
422
|
*
|
|
413
423
|
* @example
|
|
414
|
-
* The text report requires that all numbers be
|
|
424
|
+
* The text report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
415
425
|
*/
|
|
416
426
|
textReportConfig?: string;
|
|
417
427
|
/**
|
|
@@ -424,7 +434,7 @@ export declare class CreateCustomAgentRequest extends $dara.Model {
|
|
|
424
434
|
* The web report format.
|
|
425
435
|
*
|
|
426
436
|
* @example
|
|
427
|
-
* The web report requires that all numbers be
|
|
437
|
+
* The web report requires that all numbers be converted to Chinese numerals instead of Arabic numerals
|
|
428
438
|
*/
|
|
429
439
|
webReportConfig?: string;
|
|
430
440
|
/**
|
|
@@ -166,6 +166,7 @@ class CreateCustomAgentRequest extends $dara.Model {
|
|
|
166
166
|
return {
|
|
167
167
|
agentType: 'AgentType',
|
|
168
168
|
callbackConfig: 'CallbackConfig',
|
|
169
|
+
createFrom: 'CreateFrom',
|
|
169
170
|
DMSUnit: 'DMSUnit',
|
|
170
171
|
dataJson: 'DataJson',
|
|
171
172
|
description: 'Description',
|
|
@@ -189,6 +190,7 @@ class CreateCustomAgentRequest extends $dara.Model {
|
|
|
189
190
|
return {
|
|
190
191
|
agentType: 'string',
|
|
191
192
|
callbackConfig: CreateCustomAgentRequestCallbackConfig,
|
|
193
|
+
createFrom: 'string',
|
|
192
194
|
DMSUnit: 'string',
|
|
193
195
|
dataJson: 'string',
|
|
194
196
|
description: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCustomAgentRequest.js","sourceRoot":"","sources":["../../src/models/CreateCustomAgentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAyCrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ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