@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.
Files changed (55) hide show
  1. package/dist/client.d.ts +6 -6
  2. package/dist/client.js +6 -6
  3. package/dist/models/AgenticCatalog.d.ts +16 -10
  4. package/dist/models/AgenticCatalog.js.map +1 -1
  5. package/dist/models/AgenticDatabase.d.ts +109 -0
  6. package/dist/models/AgenticDatabase.js.map +1 -1
  7. package/dist/models/AgenticTableBaseInfo.d.ts +60 -0
  8. package/dist/models/AgenticTableBaseInfo.js.map +1 -1
  9. package/dist/models/AgenticTableEngineMeta.d.ts +84 -0
  10. package/dist/models/AgenticTableEngineMeta.js.map +1 -1
  11. package/dist/models/AgenticTableIndex.d.ts +49 -0
  12. package/dist/models/AgenticTableIndex.js.map +1 -1
  13. package/dist/models/CreateAgenticSqlExecuteCredentialResponseBody.d.ts +4 -4
  14. package/dist/models/CreateCustomAgentRequest.d.ts +15 -0
  15. package/dist/models/CreateCustomAgentRequest.js +2 -0
  16. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  17. package/dist/models/CreateCustomAgentResponseBody.d.ts +15 -0
  18. package/dist/models/CreateCustomAgentResponseBody.js +2 -0
  19. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  20. package/dist/models/DescribeCustomAgentResponseBody.d.ts +15 -0
  21. package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
  22. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  23. package/dist/models/GetAgenticDatabaseResponseBody.d.ts +6 -6
  24. package/dist/models/ListAgenticDatabaseRequest.d.ts +9 -9
  25. package/dist/models/ListAgenticDatabaseResponseBody.d.ts +2 -2
  26. package/dist/models/ListCustomAgentResponseBody.d.ts +14 -0
  27. package/dist/models/ListCustomAgentResponseBody.js +2 -0
  28. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  29. package/dist/models/ModifyCustomAgentRequest.d.ts +15 -0
  30. package/dist/models/ModifyCustomAgentRequest.js +2 -0
  31. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  32. package/dist/models/ModifyCustomAgentResponseBody.d.ts +15 -0
  33. package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
  34. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  35. package/dist/models/SearchAgenticDatabaseRequest.d.ts +3 -3
  36. package/dist/models/SearchAgenticDatabaseResponseBody.d.ts +5 -5
  37. package/package.json +2 -2
  38. package/src/client.ts +6 -6
  39. package/src/models/AgenticCatalog.ts +16 -10
  40. package/src/models/AgenticDatabase.ts +109 -0
  41. package/src/models/AgenticTableBaseInfo.ts +60 -0
  42. package/src/models/AgenticTableEngineMeta.ts +84 -0
  43. package/src/models/AgenticTableIndex.ts +49 -0
  44. package/src/models/CreateAgenticSqlExecuteCredentialResponseBody.ts +4 -4
  45. package/src/models/CreateCustomAgentRequest.ts +17 -0
  46. package/src/models/CreateCustomAgentResponseBody.ts +17 -0
  47. package/src/models/DescribeCustomAgentResponseBody.ts +17 -0
  48. package/src/models/GetAgenticDatabaseResponseBody.ts +6 -6
  49. package/src/models/ListAgenticDatabaseRequest.ts +9 -9
  50. package/src/models/ListAgenticDatabaseResponseBody.ts +2 -2
  51. package/src/models/ListCustomAgentResponseBody.ts +16 -0
  52. package/src/models/ModifyCustomAgentRequest.ts +17 -0
  53. package/src/models/ModifyCustomAgentResponseBody.ts +17 -0
  54. package/src/models/SearchAgenticDatabaseRequest.ts +3 -3
  55. package/src/models/SearchAgenticDatabaseResponseBody.ts +5 -5
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListAgenticDatabaseRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The UUID of the catalog to which the database belongs. You can obtain the UUID by calling ListAgenticCatalog or SearchAgenticCatalog.
8
+ * The UUID of the catalog to which the database belongs. You can obtain the UUID by calling the ListAgenticCatalog or SearchAgenticCatalog operation.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -23,7 +23,7 @@ export class ListAgenticDatabaseRequest extends $dara.Model {
23
23
  maxResults?: number;
24
24
  /**
25
25
  * @remarks
26
- * The token for the next query. You do not need to specify this parameter for the first query. When you query the next page, set this parameter to the NextToken value returned in the previous response.
26
+ * The token for the next query. You do not need to specify this parameter for the first query. When you query the next page, set this parameter to the value of NextToken returned from the previous query.
27
27
  *
28
28
  * @example
29
29
  * f056501ada12****
@@ -31,7 +31,7 @@ export class ListAgenticDatabaseRequest extends $dara.Model {
31
31
  nextToken?: string;
32
32
  /**
33
33
  * @remarks
34
- * The search keyword used to match the database name or the prefix of the fully qualified name.
34
+ * The search keyword. The system matches the keyword against the database name or the prefix of the fully qualified name.
35
35
  *
36
36
  * @example
37
37
  * order
@@ -39,12 +39,12 @@ export class ListAgenticDatabaseRequest extends $dara.Model {
39
39
  searchKey?: string;
40
40
  /**
41
41
  * @remarks
42
- * The field used for sorting. This parameter is case-sensitive. Valid values:
42
+ * The field by which to sort the results. This parameter is case-sensitive. Valid values:
43
43
  *
44
- * - **name**: Sorts by database name.
45
- * - **qualifiedName**: Sorts by the fully qualified name of the database.
44
+ * - **name**: Sorts the results by database name.
45
+ * - **qualifiedName**: Sorts the results by the fully qualified name of the database.
46
46
  *
47
- * If you specify other values, the request fails. If you do not specify this parameter, the results are returned in the default order, and the SortOrder parameter does not take effect.
47
+ * If you specify another value, the request fails. If you do not specify this parameter, the results are returned in the default order, and the SortOrder parameter does not take effect.
48
48
  *
49
49
  * @example
50
50
  * name
@@ -52,12 +52,12 @@ export class ListAgenticDatabaseRequest extends $dara.Model {
52
52
  sortFieldName?: string;
53
53
  /**
54
54
  * @remarks
55
- * The sort order. This parameter takes effect only when SortFieldName is specified. This parameter is case-insensitive. Valid values:
55
+ * The sort order. This parameter takes effect only when SortFieldName is specified. This parameter is not case-sensitive. Valid values:
56
56
  *
57
57
  * - **ASC** (default): Ascending order.
58
58
  * - **DESC**: Descending order.
59
59
  *
60
- * If you specify other values, the request fails.
60
+ * If you specify another value, the request fails.
61
61
  *
62
62
  * @example
63
63
  * ASC
@@ -11,7 +11,7 @@ export class ListAgenticDatabaseResponseBody extends $dara.Model {
11
11
  data?: AgenticDatabase[];
12
12
  /**
13
13
  * @remarks
14
- * The error code returned when a request exception occurs.
14
+ * The error code returned when an exception occurs.
15
15
  *
16
16
  * @example
17
17
  * UnknownError
@@ -27,7 +27,7 @@ export class ListAgenticDatabaseResponseBody extends $dara.Model {
27
27
  errorMessage?: string;
28
28
  /**
29
29
  * @remarks
30
- * The maximum number of entries returned per page in the current query.
30
+ * The maximum number of entries returned per page in this query.
31
31
  *
32
32
  * @example
33
33
  * 20
@@ -73,6 +73,20 @@ export class ListCustomAgentResponseBodyDataContentCallbackConfig extends $dara.
73
73
  }
74
74
 
75
75
  export class ListCustomAgentResponseBodyDataContentExecutionConfig 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
+ * The following are descriptions of some tendency values:
80
+ * - 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.
81
+ * - 0.1: Confirm the plan only. The agent confirms the generated plan only once and does not ask additional questions about requirements or details.
82
+ * - 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.
83
+ * - 0.7: Ask questions when key criteria are uncertain. The agent proactively asks questions when there are critical ambiguities in the objectives, scope, business criteria, or acceptance criteria.
84
+ * - 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.
85
+ *
86
+ * @example
87
+ * 1.0
88
+ */
89
+ clarificationTendency?: number;
76
90
  /**
77
91
  * @remarks
78
92
  * Specifies whether to prohibit appending data sources during the session.
@@ -115,6 +129,7 @@ export class ListCustomAgentResponseBodyDataContentExecutionConfig extends $dara
115
129
  skipWebReportConfirm?: boolean;
116
130
  static names(): { [key: string]: string } {
117
131
  return {
132
+ clarificationTendency: 'ClarificationTendency',
118
133
  forbiddenAppendDataSource: 'ForbiddenAppendDataSource',
119
134
  skipAskHuman: 'SkipAskHuman',
120
135
  skipPlan: 'SkipPlan',
@@ -125,6 +140,7 @@ export class ListCustomAgentResponseBodyDataContentExecutionConfig extends $dara
125
140
 
126
141
  static types(): { [key: string]: any } {
127
142
  return {
143
+ clarificationTendency: 'number',
128
144
  forbiddenAppendDataSource: 'boolean',
129
145
  skipAskHuman: 'boolean',
130
146
  skipPlan: 'boolean',
@@ -73,6 +73,21 @@ export class ModifyCustomAgentRequestCallbackConfig extends $dara.Model {
73
73
  }
74
74
 
75
75
  export class ModifyCustomAgentRequestExecutionConfig 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 false and SkipPlan is false.** Valid values: [0, 1].
79
+ *
80
+ * Descriptions of specific 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 is critical ambiguity in the goals, scope, business criteria, or acceptance standards.
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 disable appending data sources during the session.
@@ -115,6 +130,7 @@ export class ModifyCustomAgentRequestExecutionConfig 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 ModifyCustomAgentRequestExecutionConfig 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 ModifyCustomAgentResponseBodyDataCallbackConfig extends $dara.Model
73
73
  }
74
74
 
75
75
  export class ModifyCustomAgentResponseBodyDataExecutionConfig 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 false and SkipPlan is false.** Valid values: [0, 1].
79
+ *
80
+ * Descriptions of specific 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 is critical ambiguity in the goals, scope, business criteria, or acceptance standards.
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 disable appending data sources during the session.
@@ -115,6 +130,7 @@ export class ModifyCustomAgentResponseBodyDataExecutionConfig 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 ModifyCustomAgentResponseBodyDataExecutionConfig 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',
@@ -13,7 +13,7 @@ export class SearchAgenticDatabaseRequest extends $dara.Model {
13
13
  catalogUuid?: string;
14
14
  /**
15
15
  * @remarks
16
- * The database type. This parameter filters the results exactly by the database type of the data source associated with the catalog. The value is the uppercase name of the database type, such as MYSQL.
16
+ * The database type. This parameter filters the results by the database type of the data source associated with the catalog. The value must be an uppercase database type name, such as MYSQL.
17
17
  *
18
18
  * @example
19
19
  * MYSQL
@@ -21,7 +21,7 @@ export class SearchAgenticDatabaseRequest extends $dara.Model {
21
21
  dbType?: string;
22
22
  /**
23
23
  * @remarks
24
- * The environment type. This parameter filters the results exactly by the environment of the associated data source. Valid values: product, pre, dev, test, sit, uat, pet, and stag.
24
+ * The environment type. This parameter filters the results by the environment of the associated data source. Valid values: product, pre, dev, test, sit, uat, pet, stag.
25
25
  *
26
26
  * @example
27
27
  * product
@@ -45,7 +45,7 @@ export class SearchAgenticDatabaseRequest extends $dara.Model {
45
45
  nextToken?: string;
46
46
  /**
47
47
  * @remarks
48
- * The search keyword. It matches the name, fully qualified name, and search name of the database, as well as the name or data source alias of the associated catalog.
48
+ * The search keyword. This parameter matches the name, fully qualified name, and search name of the database, as well as the name or data source alias of the associated catalog.
49
49
  *
50
50
  * @example
51
51
  * order
@@ -11,7 +11,7 @@ export class SearchAgenticDatabaseResponseBody extends $dara.Model {
11
11
  data?: AgenticDatabase[];
12
12
  /**
13
13
  * @remarks
14
- * The error code. This parameter is returned when a request exception occurs.
14
+ * The error code. This parameter is returned when an exception occurs.
15
15
  *
16
16
  * @example
17
17
  * UnknownError
@@ -27,7 +27,7 @@ export class SearchAgenticDatabaseResponseBody extends $dara.Model {
27
27
  errorMessage?: string;
28
28
  /**
29
29
  * @remarks
30
- * The maximum number of entries returned per page in the current query.
30
+ * The maximum number of entries returned per page in this query.
31
31
  *
32
32
  * @example
33
33
  * 20
@@ -51,10 +51,10 @@ export class SearchAgenticDatabaseResponseBody extends $dara.Model {
51
51
  requestId?: string;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the request was successful. Valid values:
54
+ * Indicates whether the request is successful. Valid values:
55
55
  *
56
- * - **true**: The request was successful.
57
- * - **false**: The request failed.
56
+ * - **true**: The request is successful.
57
+ * - **false**: The request fails.
58
58
  *
59
59
  * @example
60
60
  * true