@alicloud/dms20250414 1.20.3 → 1.22.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.
Files changed (173) hide show
  1. package/dist/client.d.ts +164 -2
  2. package/dist/client.js +557 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddDataAgentMemoryRequest.d.ts +69 -0
  5. package/dist/models/AddDataAgentMemoryRequest.js +68 -0
  6. package/dist/models/AddDataAgentMemoryRequest.js.map +1 -0
  7. package/dist/models/AddDataAgentMemoryResponse.d.ts +19 -0
  8. package/dist/models/AddDataAgentMemoryResponse.js +69 -0
  9. package/dist/models/AddDataAgentMemoryResponse.js.map +1 -0
  10. package/dist/models/AddDataAgentMemoryResponseBody.d.ts +84 -0
  11. package/dist/models/AddDataAgentMemoryResponseBody.js +90 -0
  12. package/dist/models/AddDataAgentMemoryResponseBody.js.map +1 -0
  13. package/dist/models/CreateCustomAgentRequest.d.ts +33 -28
  14. package/dist/models/CreateCustomAgentRequest.js +5 -0
  15. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +20 -16
  17. package/dist/models/CreateCustomAgentResponseBody.js +5 -0
  18. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  19. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -27
  20. package/dist/models/CreateCustomAgentShrinkRequest.js +2 -0
  21. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -1
  22. package/dist/models/CreateOneMetaSqlTemplateRequest.d.ts +62 -0
  23. package/dist/models/CreateOneMetaSqlTemplateRequest.js +72 -0
  24. package/dist/models/CreateOneMetaSqlTemplateRequest.js.map +1 -0
  25. package/dist/models/CreateOneMetaSqlTemplateResponse.d.ts +19 -0
  26. package/dist/models/CreateOneMetaSqlTemplateResponse.js +69 -0
  27. package/dist/models/CreateOneMetaSqlTemplateResponse.js.map +1 -0
  28. package/dist/models/CreateOneMetaSqlTemplateResponseBody.d.ts +35 -0
  29. package/dist/models/CreateOneMetaSqlTemplateResponseBody.js +70 -0
  30. package/dist/models/CreateOneMetaSqlTemplateResponseBody.js.map +1 -0
  31. package/dist/models/DeleteOneMetaOssieModelRequest.d.ts +18 -0
  32. package/dist/models/DeleteOneMetaOssieModelRequest.js +58 -0
  33. package/dist/models/DeleteOneMetaOssieModelRequest.js.map +1 -0
  34. package/dist/models/DeleteOneMetaOssieModelResponse.d.ts +19 -0
  35. package/dist/models/DeleteOneMetaOssieModelResponse.js +69 -0
  36. package/dist/models/DeleteOneMetaOssieModelResponse.js.map +1 -0
  37. package/dist/models/DeleteOneMetaOssieModelResponseBody.d.ts +18 -0
  38. package/dist/models/DeleteOneMetaOssieModelResponseBody.js +66 -0
  39. package/dist/models/DeleteOneMetaOssieModelResponseBody.js.map +1 -0
  40. package/dist/models/DeleteOneMetaSqlTemplateRequest.d.ts +18 -0
  41. package/dist/models/DeleteOneMetaSqlTemplateRequest.js +58 -0
  42. package/dist/models/DeleteOneMetaSqlTemplateRequest.js.map +1 -0
  43. package/dist/models/DeleteOneMetaSqlTemplateResponse.d.ts +19 -0
  44. package/dist/models/DeleteOneMetaSqlTemplateResponse.js +69 -0
  45. package/dist/models/DeleteOneMetaSqlTemplateResponse.js.map +1 -0
  46. package/dist/models/DeleteOneMetaSqlTemplateResponseBody.d.ts +18 -0
  47. package/dist/models/DeleteOneMetaSqlTemplateResponseBody.js +66 -0
  48. package/dist/models/DeleteOneMetaSqlTemplateResponseBody.js.map +1 -0
  49. package/dist/models/DescribeCustomAgentResponseBody.d.ts +9 -8
  50. package/dist/models/DescribeCustomAgentResponseBody.js +5 -0
  51. package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
  52. package/dist/models/GetOneMetaOssieModelRequest.d.ts +23 -0
  53. package/dist/models/GetOneMetaOssieModelRequest.js +60 -0
  54. package/dist/models/GetOneMetaOssieModelRequest.js.map +1 -0
  55. package/dist/models/GetOneMetaOssieModelResponse.d.ts +19 -0
  56. package/dist/models/GetOneMetaOssieModelResponse.js +69 -0
  57. package/dist/models/GetOneMetaOssieModelResponse.js.map +1 -0
  58. package/dist/models/GetOneMetaOssieModelResponseBody.d.ts +19 -0
  59. package/dist/models/GetOneMetaOssieModelResponseBody.js +70 -0
  60. package/dist/models/GetOneMetaOssieModelResponseBody.js.map +1 -0
  61. package/dist/models/ImportOneMetaOssieModelRequest.d.ts +37 -0
  62. package/dist/models/ImportOneMetaOssieModelRequest.js +72 -0
  63. package/dist/models/ImportOneMetaOssieModelRequest.js.map +1 -0
  64. package/dist/models/ImportOneMetaOssieModelResponse.d.ts +19 -0
  65. package/dist/models/ImportOneMetaOssieModelResponse.js +69 -0
  66. package/dist/models/ImportOneMetaOssieModelResponse.js.map +1 -0
  67. package/dist/models/ImportOneMetaOssieModelResponseBody.d.ts +19 -0
  68. package/dist/models/ImportOneMetaOssieModelResponseBody.js +70 -0
  69. package/dist/models/ImportOneMetaOssieModelResponseBody.js.map +1 -0
  70. package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
  71. package/dist/models/ListCustomAgentResponseBody.js +5 -0
  72. package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
  73. package/dist/models/ListOneMetaOssieModelsRequest.d.ts +24 -0
  74. package/dist/models/ListOneMetaOssieModelsRequest.js +70 -0
  75. package/dist/models/ListOneMetaOssieModelsRequest.js.map +1 -0
  76. package/dist/models/ListOneMetaOssieModelsResponse.d.ts +19 -0
  77. package/dist/models/ListOneMetaOssieModelsResponse.js +69 -0
  78. package/dist/models/ListOneMetaOssieModelsResponse.js.map +1 -0
  79. package/dist/models/ListOneMetaOssieModelsResponseBody.d.ts +21 -0
  80. package/dist/models/ListOneMetaOssieModelsResponseBody.js +74 -0
  81. package/dist/models/ListOneMetaOssieModelsResponseBody.js.map +1 -0
  82. package/dist/models/ListOneMetaSqlTemplatesRequest.d.ts +25 -0
  83. package/dist/models/ListOneMetaSqlTemplatesRequest.js +72 -0
  84. package/dist/models/ListOneMetaSqlTemplatesRequest.js.map +1 -0
  85. package/dist/models/ListOneMetaSqlTemplatesResponse.d.ts +19 -0
  86. package/dist/models/ListOneMetaSqlTemplatesResponse.js +69 -0
  87. package/dist/models/ListOneMetaSqlTemplatesResponse.js.map +1 -0
  88. package/dist/models/ListOneMetaSqlTemplatesResponseBody.d.ts +21 -0
  89. package/dist/models/ListOneMetaSqlTemplatesResponseBody.js +74 -0
  90. package/dist/models/ListOneMetaSqlTemplatesResponseBody.js.map +1 -0
  91. package/dist/models/ModifyCustomAgentRequest.d.ts +37 -27
  92. package/dist/models/ModifyCustomAgentRequest.js +5 -0
  93. package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
  94. package/dist/models/ModifyCustomAgentResponseBody.d.ts +24 -18
  95. package/dist/models/ModifyCustomAgentResponseBody.js +5 -0
  96. package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
  97. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +32 -24
  98. package/dist/models/ModifyCustomAgentShrinkRequest.js +2 -0
  99. package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
  100. package/dist/models/OneMetaSqlTemplateView.d.ts +91 -0
  101. package/dist/models/OneMetaSqlTemplateView.js.map +1 -1
  102. package/dist/models/OssieModelView.d.ts +125 -0
  103. package/dist/models/OssieModelView.js.map +1 -1
  104. package/dist/models/SendChatMessageRequest.d.ts +34 -33
  105. package/dist/models/SendChatMessageRequest.js +5 -0
  106. package/dist/models/SendChatMessageRequest.js.map +1 -1
  107. package/dist/models/SendChatMessageShrinkRequest.d.ts +13 -13
  108. package/dist/models/UpdateOneMetaOssieModelRequest.d.ts +25 -0
  109. package/dist/models/UpdateOneMetaOssieModelRequest.js +72 -0
  110. package/dist/models/UpdateOneMetaOssieModelRequest.js.map +1 -0
  111. package/dist/models/UpdateOneMetaOssieModelResponse.d.ts +19 -0
  112. package/dist/models/UpdateOneMetaOssieModelResponse.js +69 -0
  113. package/dist/models/UpdateOneMetaOssieModelResponse.js.map +1 -0
  114. package/dist/models/UpdateOneMetaOssieModelResponseBody.d.ts +19 -0
  115. package/dist/models/UpdateOneMetaOssieModelResponseBody.js +70 -0
  116. package/dist/models/UpdateOneMetaOssieModelResponseBody.js.map +1 -0
  117. package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +25 -0
  118. package/dist/models/UpdateOneMetaSqlTemplateRequest.js +72 -0
  119. package/dist/models/UpdateOneMetaSqlTemplateRequest.js.map +1 -0
  120. package/dist/models/UpdateOneMetaSqlTemplateResponse.d.ts +19 -0
  121. package/dist/models/UpdateOneMetaSqlTemplateResponse.js +69 -0
  122. package/dist/models/UpdateOneMetaSqlTemplateResponse.js.map +1 -0
  123. package/dist/models/UpdateOneMetaSqlTemplateResponseBody.d.ts +19 -0
  124. package/dist/models/UpdateOneMetaSqlTemplateResponseBody.js +70 -0
  125. package/dist/models/UpdateOneMetaSqlTemplateResponseBody.js.map +1 -0
  126. package/dist/models/model.d.ts +31 -0
  127. package/dist/models/model.js +74 -12
  128. package/dist/models/model.js.map +1 -1
  129. package/package.json +1 -1
  130. package/src/client.ts +638 -2
  131. package/src/models/AddDataAgentMemoryRequest.ts +92 -0
  132. package/src/models/AddDataAgentMemoryResponse.ts +40 -0
  133. package/src/models/AddDataAgentMemoryResponseBody.ts +120 -0
  134. package/src/models/CreateCustomAgentRequest.ts +38 -28
  135. package/src/models/CreateCustomAgentResponseBody.ts +25 -16
  136. package/src/models/CreateCustomAgentShrinkRequest.ts +32 -27
  137. package/src/models/CreateOneMetaSqlTemplateRequest.ts +89 -0
  138. package/src/models/CreateOneMetaSqlTemplateResponse.ts +40 -0
  139. package/src/models/CreateOneMetaSqlTemplateResponseBody.ts +59 -0
  140. package/src/models/DeleteOneMetaOssieModelRequest.ts +31 -0
  141. package/src/models/DeleteOneMetaOssieModelResponse.ts +40 -0
  142. package/src/models/DeleteOneMetaOssieModelResponseBody.ts +39 -0
  143. package/src/models/DeleteOneMetaSqlTemplateRequest.ts +31 -0
  144. package/src/models/DeleteOneMetaSqlTemplateResponse.ts +40 -0
  145. package/src/models/DeleteOneMetaSqlTemplateResponseBody.ts +39 -0
  146. package/src/models/DescribeCustomAgentResponseBody.ts +14 -8
  147. package/src/models/GetOneMetaOssieModelRequest.ts +38 -0
  148. package/src/models/GetOneMetaOssieModelResponse.ts +40 -0
  149. package/src/models/GetOneMetaOssieModelResponseBody.ts +43 -0
  150. package/src/models/ImportOneMetaOssieModelRequest.ts +64 -0
  151. package/src/models/ImportOneMetaOssieModelResponse.ts +40 -0
  152. package/src/models/ImportOneMetaOssieModelResponseBody.ts +43 -0
  153. package/src/models/ListCustomAgentResponseBody.ts +6 -0
  154. package/src/models/ListOneMetaOssieModelsRequest.ts +49 -0
  155. package/src/models/ListOneMetaOssieModelsResponse.ts +40 -0
  156. package/src/models/ListOneMetaOssieModelsResponseBody.ts +49 -0
  157. package/src/models/ListOneMetaSqlTemplatesRequest.ts +52 -0
  158. package/src/models/ListOneMetaSqlTemplatesResponse.ts +40 -0
  159. package/src/models/ListOneMetaSqlTemplatesResponseBody.ts +49 -0
  160. package/src/models/ModifyCustomAgentRequest.ts +42 -27
  161. package/src/models/ModifyCustomAgentResponseBody.ts +29 -18
  162. package/src/models/ModifyCustomAgentShrinkRequest.ts +34 -24
  163. package/src/models/OneMetaSqlTemplateView.ts +91 -0
  164. package/src/models/OssieModelView.ts +125 -0
  165. package/src/models/SendChatMessageRequest.ts +40 -34
  166. package/src/models/SendChatMessageShrinkRequest.ts +14 -14
  167. package/src/models/UpdateOneMetaOssieModelRequest.ts +52 -0
  168. package/src/models/UpdateOneMetaOssieModelResponse.ts +40 -0
  169. package/src/models/UpdateOneMetaOssieModelResponseBody.ts +43 -0
  170. package/src/models/UpdateOneMetaSqlTemplateRequest.ts +52 -0
  171. package/src/models/UpdateOneMetaSqlTemplateResponse.ts +40 -0
  172. package/src/models/UpdateOneMetaSqlTemplateResponseBody.ts +43 -0
  173. package/src/models/model.ts +31 -0
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The list of columns that are allowed to be queried in the current table. If this parameter is not specified, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces DataAgent analysis speed and effectiveness.
8
+ * The list of columns allowed for querying in the current table. If left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in DataAgent prompts, knowledge, or instructions. Otherwise, unauthorized SQL statements may be generated and blocked, reducing DataAgent analysis speed and effectiveness.
9
9
  */
10
10
  allowedColumns?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
13
+ * The required row filter condition for the current table. If left empty, this constraint is ignored. If specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
14
14
  *
15
15
  * @example
16
16
  * region = \\"east\\"
@@ -85,7 +85,7 @@ export class SendChatMessageRequestDataSourcePermission extends $dara.Model {
85
85
  export class SendChatMessageRequestDataSource extends $dara.Model {
86
86
  /**
87
87
  * @remarks
88
- * Deprecated. You do not need to specify this parameter.
88
+ * Deprecated. No input is required.
89
89
  *
90
90
  * @example
91
91
  * 123
@@ -101,7 +101,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
101
101
  dataSourceType?: string;
102
102
  /**
103
103
  * @remarks
104
- * Deprecated. You do not need to specify this parameter.
104
+ * Deprecated. No input is required.
105
105
  *
106
106
  * @example
107
107
  * test_db
@@ -149,7 +149,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
149
149
  fileId?: string;
150
150
  /**
151
151
  * @remarks
152
- * Deprecated. You do not need to specify this parameter.
152
+ * Deprecated. No input is required.
153
153
  *
154
154
  * @example
155
155
  * localhost
@@ -157,7 +157,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
157
157
  location?: string;
158
158
  /**
159
159
  * @remarks
160
- * The permission constraints for querying the current data source. The permission constraint feature is in canary release. This field does not take effect for users who are not included in the canary release.
160
+ * The permission constraints for querying the current data source. The permission constraint feature is available through canary release. This field does not take effect for users who are not included in the canary release.
161
161
  */
162
162
  permission?: SendChatMessageRequestDataSourcePermission;
163
163
  /**
@@ -225,12 +225,12 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
225
225
  export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
226
226
  /**
227
227
  * @remarks
228
- * The list of columns that are allowed to be queried in the current table. If this parameter is not specified, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in the DataAgent prompts, knowledge, or instructions modules. Otherwise, SQL statements without proper permissions are generated and blocked, which reduces DataAgent analysis speed and effectiveness.
228
+ * The list of columns allowed for querying in the current table. If left empty, all columns can be queried. If specified, SQL statements that exceed the allowed scope are blocked. For example, syntax such as SELECT * is blocked. To ensure DataAgent analysis effectiveness, avoid specifying columns beyond the allowed scope in DataAgent prompts, knowledge, or instructions. Otherwise, unauthorized SQL statements may be generated and blocked, reducing DataAgent analysis speed and effectiveness.
229
229
  */
230
230
  allowedColumns?: string[];
231
231
  /**
232
232
  * @remarks
233
- * The required row filter condition for the current table. If this parameter is not specified, it is ignored. If specified, all SQL statements involving this table are validated to check whether they include the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
233
+ * The required row filter condition for the current table. If left empty, this constraint is ignored. If specified, all SQL statements involving this table are validated to check whether they carry the filter field and whether the WHERE condition meets the constraint. SQL statements that do not meet the constraint are rejected. Ensure the validation condition format is correct.
234
234
  *
235
235
  * @example
236
236
  * region = \\"east\\"
@@ -305,7 +305,7 @@ export class SendChatMessageRequestDataSourcesPermission extends $dara.Model {
305
305
  export class SendChatMessageRequestDataSources extends $dara.Model {
306
306
  /**
307
307
  * @remarks
308
- * Deprecated. You do not need to specify this parameter.
308
+ * Deprecated. No input is required.
309
309
  *
310
310
  * @example
311
311
  * 123
@@ -313,7 +313,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
313
313
  dataSourceId?: string;
314
314
  /**
315
315
  * @remarks
316
- * The data source type. Valid values: remote_data_center, database, indicating whether the analysis is for a file or a database.
316
+ * The data source type. Valid values: remote_data_center, database. These values indicate whether the analysis is for a file or a database.
317
317
  *
318
318
  * @example
319
319
  * remote_data_center
@@ -321,7 +321,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
321
321
  dataSourceType?: string;
322
322
  /**
323
323
  * @remarks
324
- * Deprecated. You do not need to specify this parameter.
324
+ * Deprecated. No input is required.
325
325
  *
326
326
  * @example
327
327
  * test_db
@@ -369,7 +369,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
369
369
  fileId?: string;
370
370
  /**
371
371
  * @remarks
372
- * Deprecated. You do not need to specify this parameter.
372
+ * Deprecated. No input is required.
373
373
  *
374
374
  * @example
375
375
  * localhost
@@ -377,7 +377,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
377
377
  location?: string;
378
378
  /**
379
379
  * @remarks
380
- * The permission constraints for querying the current data source. The permission constraint feature is in canary release. This field does not take effect for users who are not included in the canary release.
380
+ * The permission constraints for querying the current data source. The permission constraint feature is available through canary release. This field does not take effect for users who are not included in the canary release.
381
381
  */
382
382
  permission?: SendChatMessageRequestDataSourcesPermission;
383
383
  /**
@@ -477,7 +477,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
477
477
  kbUuidList?: string;
478
478
  /**
479
479
  * @remarks
480
- * Currently only Chinese and English are supported. The default value is Chinese. Only uppercase is supported.
480
+ * Currently only Chinese and English are supported. The default is Chinese. Only uppercase is supported.
481
481
  *
482
482
  * @example
483
483
  * ENGLISH
@@ -494,9 +494,9 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
494
494
  /**
495
495
  * @remarks
496
496
  * The mode. Valid values:
497
- * - **ASK_DATA**: data query mode.
498
- * - **ANALYSIS**: analysis mode.
499
- * - **INSIGHT**: insight mode.
497
+ * - **ASK_DATA**: data query mode.
498
+ * - **ANALYSIS**: analysis mode.
499
+ * - **INSIGHT**: insight mode.
500
500
  *
501
501
  * @example
502
502
  * ANALYSIS
@@ -512,7 +512,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
512
512
  planMode?: string;
513
513
  /**
514
514
  * @remarks
515
- * The text of up to 64 characters that is used as a watermark in the generated PDF report.
515
+ * Text of up to 64 characters that is used as a watermark in the generated PDF report.
516
516
  *
517
517
  * @example
518
518
  * SampleWatermark
@@ -544,12 +544,13 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
544
544
  skipSqlConfirm?: boolean;
545
545
  /**
546
546
  * @remarks
547
- * Specifies whether to skip the web report rendering confirmation.
547
+ * Specifies whether to skip the web report generation confirmation.
548
548
  *
549
549
  * @example
550
550
  * True
551
551
  */
552
552
  skipWebReportConfirm?: boolean;
553
+ userSpecifiedSkillList?: string[];
553
554
  static names(): { [key: string]: string } {
554
555
  return {
555
556
  customAgentId: 'CustomAgentId',
@@ -565,6 +566,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
565
566
  skipPlan: 'SkipPlan',
566
567
  skipSqlConfirm: 'SkipSqlConfirm',
567
568
  skipWebReportConfirm: 'SkipWebReportConfirm',
569
+ userSpecifiedSkillList: 'UserSpecifiedSkillList',
568
570
  };
569
571
  }
570
572
 
@@ -583,10 +585,14 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
583
585
  skipPlan: 'boolean',
584
586
  skipSqlConfirm: 'boolean',
585
587
  skipWebReportConfirm: 'boolean',
588
+ userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
586
589
  };
587
590
  }
588
591
 
589
592
  validate() {
593
+ if(Array.isArray(this.userSpecifiedSkillList)) {
594
+ $dara.Model.validateArray(this.userSpecifiedSkillList);
595
+ }
590
596
  super.validate();
591
597
  }
592
598
 
@@ -614,7 +620,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
614
620
  reportTheme?: string;
615
621
  /**
616
622
  * @remarks
617
- * The service type. Valid values: TextReport, WebReport, indicating whether the task generates a text report or a web report. Currently only WebReport is supported.
623
+ * The service type. Valid values: TextReport, WebReport. These values indicate whether the task generates a text report or a web report. Currently only WebReport is supported.
618
624
  *
619
625
  * @example
620
626
  * WebReport
@@ -678,7 +684,7 @@ export class SendChatMessageRequestTaskConfig extends $dara.Model {
678
684
  export class SendChatMessageRequest extends $dara.Model {
679
685
  /**
680
686
  * @remarks
681
- * The agent ID. This is a required field. You can obtain the current AgentId from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to specify may change with each request.
687
+ * The agent ID. This is a required field. You can obtain the current AgentID from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentID you need to specify may change with each request.
682
688
  *
683
689
  * @example
684
690
  * agent_***
@@ -686,7 +692,7 @@ export class SendChatMessageRequest extends $dara.Model {
686
692
  agentId?: string;
687
693
  /**
688
694
  * @remarks
689
- * The Data Management unit you are currently in. If you select an analytics database, this information is used to correctly connect to your Data Management instance. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
695
+ * The Data Management unit you are currently in. If you choose to analyze a database, this information is used to correctly connect to your Data Management instance. Go to the DAS console to view your current Data Management unit. If you are a user of the Alibaba Cloud China Website (www.aliyun.com), enter cn-hangzhou.
690
696
  *
691
697
  * @example
692
698
  * cn-hangzhou
@@ -694,7 +700,7 @@ export class SendChatMessageRequest extends $dara.Model {
694
700
  DMSUnit?: string;
695
701
  /**
696
702
  * @remarks
697
- * The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
703
+ * The data source information. This parameter can be left empty. Only one data source can be specified for this parameter. Use the DataSources parameter instead.
698
704
  *
699
705
  * @example
700
706
  * null
@@ -707,7 +713,7 @@ export class SendChatMessageRequest extends $dara.Model {
707
713
  dataSources?: SendChatMessageRequestDataSources[];
708
714
  /**
709
715
  * @remarks
710
- * The message content to send to the agent.
716
+ * The message content to send to the Agent.
711
717
  *
712
718
  * This parameter is required.
713
719
  *
@@ -717,15 +723,15 @@ export class SendChatMessageRequest extends $dara.Model {
717
723
  message?: string;
718
724
  /**
719
725
  * @remarks
720
- * The message type. Default value: `[primary]`.
726
+ * The message type. Default value: `[primary]`.
721
727
  *
722
- * - Under normal circumstances, when interacting with the Agent, the message type is `[primary]`.
728
+ * - For regular interactions with the Agent, the message type is `[primary]`.
723
729
  *
724
730
  * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
725
731
  *
726
- * - When the message is intended to trigger a report generation, the type should be `[report]`.
732
+ * - When the message is to trigger a report generation, the type should be `[report]`.
727
733
  *
728
- * - When the message is intended to cancel the current session, the type should be `[cancel]`.
734
+ * - When the message is to cancel the current session, the type should be `[cancel]`.
729
735
  *
730
736
  * @example
731
737
  * primary
@@ -741,7 +747,7 @@ export class SendChatMessageRequest extends $dara.Model {
741
747
  parentSessionId?: string;
742
748
  /**
743
749
  * @remarks
744
- * This is a required field when the message type is `additional`. Specify the specific question that the agent asks the user through Human-in-Loop.
750
+ * A required field when the message type is `additional`. Specifies the specific question that the Agent asks the user through Human-in-Loop.
745
751
  *
746
752
  * @example
747
753
  * Please provide the criteria for calculating GMV
@@ -749,7 +755,7 @@ export class SendChatMessageRequest extends $dara.Model {
749
755
  question?: string;
750
756
  /**
751
757
  * @remarks
752
- * The quoted content. This is typically used when interacting with the agent.
758
+ * The quoted content, typically used during interactions with the Agent.
753
759
  *
754
760
  * @example
755
761
  * {"version":"v0"}
@@ -759,9 +765,9 @@ export class SendChatMessageRequest extends $dara.Model {
759
765
  * @remarks
760
766
  * **Important**
761
767
  *
762
- * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
768
+ * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), reply_to should be set to the exact Checkpoint sequence number carried by that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after analysis is complete, reply_to can be left empty or set to "0".
763
769
  *
764
- * This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of expectations.
770
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may result in analysis results that do not meet expectations.
765
771
  *
766
772
  * @example
767
773
  * 0
@@ -769,7 +775,7 @@ export class SendChatMessageRequest extends $dara.Model {
769
775
  replyTo?: string;
770
776
  /**
771
777
  * @remarks
772
- * The special configuration for the current session. For the same session, only the configuration passed with the first SendMessage call takes effect.
778
+ * The special configuration for this session. For the same session, only the configuration passed with the first SendMessage call takes effect.
773
779
  *
774
780
  * **if can be null:**
775
781
  * true
@@ -790,7 +796,7 @@ export class SendChatMessageRequest extends $dara.Model {
790
796
  taskConfig?: SendChatMessageRequestTaskConfig;
791
797
  /**
792
798
  * @remarks
793
- * The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
799
+ * The user\\"s OSS bucket. If left empty, analysis data is securely stored in the built-in storage.
794
800
  *
795
801
  * @example
796
802
  * my-bucket
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The agent ID. This is a required field. You can obtain the current AgentId from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentId you need to specify may change with each request.
8
+ * The agent ID. This is a required field. You can obtain the current AgentID from the response of the CreateAgentSession operation. Agent resources have a lifecycle, so the AgentID you need to specify may change with each request.
9
9
  *
10
10
  * @example
11
11
  * agent_***
@@ -13,7 +13,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
13
13
  agentId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The Data Management unit you are currently in. If you select an analytics database, this information is used to correctly connect to your Data Management instance. You can go to the DAS console to view your current Data Management unit. If you are a user on the Alibaba Cloud China Website (www.aliyun.com), you can directly enter cn-hangzhou.
16
+ * The Data Management unit you are currently in. If you choose to analyze a database, this information is used to correctly connect to your Data Management instance. Go to the DAS console to view your current Data Management unit. If you are a user of the Alibaba Cloud China Website (www.aliyun.com), enter cn-hangzhou.
17
17
  *
18
18
  * @example
19
19
  * cn-hangzhou
@@ -21,7 +21,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
21
21
  DMSUnit?: string;
22
22
  /**
23
23
  * @remarks
24
- * The data source information. This parameter can be left empty. This parameter supports only one data source. Use the DataSources parameter instead.
24
+ * The data source information. This parameter can be left empty. Only one data source can be specified for this parameter. Use the DataSources parameter instead.
25
25
  *
26
26
  * @example
27
27
  * null
@@ -34,7 +34,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
34
34
  dataSourcesShrink?: string;
35
35
  /**
36
36
  * @remarks
37
- * The message content to send to the agent.
37
+ * The message content to send to the Agent.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -44,15 +44,15 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
44
44
  message?: string;
45
45
  /**
46
46
  * @remarks
47
- * The message type. Default value: `[primary]`.
47
+ * The message type. Default value: `[primary]`.
48
48
  *
49
- * - Under normal circumstances, when interacting with the Agent, the message type is `[primary]`.
49
+ * - For regular interactions with the Agent, the message type is `[primary]`.
50
50
  *
51
51
  * - When the message is a response to the Agent\\"s Human-in-Loop question, the type should be `[additional]`.
52
52
  *
53
- * - When the message is intended to trigger a report generation, the type should be `[report]`.
53
+ * - When the message is to trigger a report generation, the type should be `[report]`.
54
54
  *
55
- * - When the message is intended to cancel the current session, the type should be `[cancel]`.
55
+ * - When the message is to cancel the current session, the type should be `[cancel]`.
56
56
  *
57
57
  * @example
58
58
  * primary
@@ -68,7 +68,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
68
68
  parentSessionId?: string;
69
69
  /**
70
70
  * @remarks
71
- * This is a required field when the message type is `additional`. Specify the specific question that the agent asks the user through Human-in-Loop.
71
+ * A required field when the message type is `additional`. Specifies the specific question that the Agent asks the user through Human-in-Loop.
72
72
  *
73
73
  * @example
74
74
  * Please provide the criteria for calculating GMV
@@ -76,7 +76,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
76
76
  question?: string;
77
77
  /**
78
78
  * @remarks
79
- * The quoted content. This is typically used when interacting with the agent.
79
+ * The quoted content, typically used during interactions with the Agent.
80
80
  *
81
81
  * @example
82
82
  * {"version":"v0"}
@@ -86,9 +86,9 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
86
86
  * @remarks
87
87
  * **Important**
88
88
  *
89
- * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), set reply_to to the exact Checkpoint number carried in that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after the analysis is complete, leave reply_to empty or set it to "0".
89
+ * When this message is a reply to an Agent message (for example, the Agent asks a clarifying question through ASK_HUMAN), reply_to should be set to the exact Checkpoint sequence number carried by that Agent message. If this message is not a targeted reply, such as requesting the Agent to perform further in-depth analysis after analysis is complete, reply_to can be left empty or set to "0".
90
90
  *
91
- * This field affects how the Agent decides to process the message. Passing an incorrect value may cause the analysis results to fall short of expectations.
91
+ * This field affects how the Agent decides to process the message. Passing an incorrect value may result in analysis results that do not meet expectations.
92
92
  *
93
93
  * @example
94
94
  * 0
@@ -96,7 +96,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
96
96
  replyTo?: string;
97
97
  /**
98
98
  * @remarks
99
- * The special configuration for the current session. For the same session, only the configuration passed with the first SendMessage call takes effect.
99
+ * The special configuration for this session. For the same session, only the configuration passed with the first SendMessage call takes effect.
100
100
  *
101
101
  * **if can be null:**
102
102
  * true
@@ -117,7 +117,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
117
117
  taskConfigShrink?: string;
118
118
  /**
119
119
  * @remarks
120
- * The user OSS bucket. If this parameter is not specified, analysis data is securely stored in the built-in storage.
120
+ * The user\\"s OSS bucket. If left empty, analysis data is securely stored in the built-in storage.
121
121
  *
122
122
  * @example
123
123
  * my-bucket
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateOneMetaOssieModelRequest extends $dara.Model {
6
+ catalogUuid?: string;
7
+ databaseUuid?: string;
8
+ description?: string;
9
+ docFormat?: string;
10
+ document?: string;
11
+ /**
12
+ * @remarks
13
+ * This parameter is required.
14
+ */
15
+ knowledgeUuid?: string;
16
+ tag?: string;
17
+ title?: string;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ catalogUuid: 'CatalogUuid',
21
+ databaseUuid: 'DatabaseUuid',
22
+ description: 'Description',
23
+ docFormat: 'DocFormat',
24
+ document: 'Document',
25
+ knowledgeUuid: 'KnowledgeUuid',
26
+ tag: 'Tag',
27
+ title: 'Title',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ catalogUuid: 'string',
34
+ databaseUuid: 'string',
35
+ description: 'string',
36
+ docFormat: 'string',
37
+ document: 'string',
38
+ knowledgeUuid: 'string',
39
+ tag: 'string',
40
+ title: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateOneMetaOssieModelResponseBody } from "./UpdateOneMetaOssieModelResponseBody";
4
+
5
+
6
+ export class UpdateOneMetaOssieModelResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateOneMetaOssieModelResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateOneMetaOssieModelResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,43 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { OssieModelView } from "./OssieModelView";
4
+
5
+
6
+ export class UpdateOneMetaOssieModelResponseBody extends $dara.Model {
7
+ data?: OssieModelView;
8
+ errorCode?: string;
9
+ errorMessage?: string;
10
+ requestId?: string;
11
+ success?: boolean;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ data: 'Data',
15
+ errorCode: 'ErrorCode',
16
+ errorMessage: 'ErrorMessage',
17
+ requestId: 'RequestId',
18
+ success: 'Success',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ data: OssieModelView,
25
+ errorCode: 'string',
26
+ errorMessage: 'string',
27
+ requestId: 'string',
28
+ success: 'boolean',
29
+ };
30
+ }
31
+
32
+ validate() {
33
+ if(this.data && typeof (this.data as any).validate === 'function') {
34
+ (this.data as any).validate();
35
+ }
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+
@@ -0,0 +1,52 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateOneMetaSqlTemplateRequest extends $dara.Model {
6
+ catalogUuid?: string;
7
+ databaseUuid?: string;
8
+ description?: string;
9
+ expr?: string;
10
+ /**
11
+ * @remarks
12
+ * This parameter is required.
13
+ */
14
+ knowledgeUuid?: string;
15
+ sqlParams?: string;
16
+ tag?: string;
17
+ title?: string;
18
+ static names(): { [key: string]: string } {
19
+ return {
20
+ catalogUuid: 'CatalogUuid',
21
+ databaseUuid: 'DatabaseUuid',
22
+ description: 'Description',
23
+ expr: 'Expr',
24
+ knowledgeUuid: 'KnowledgeUuid',
25
+ sqlParams: 'SqlParams',
26
+ tag: 'Tag',
27
+ title: 'Title',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ catalogUuid: 'string',
34
+ databaseUuid: 'string',
35
+ description: 'string',
36
+ expr: 'string',
37
+ knowledgeUuid: 'string',
38
+ sqlParams: 'string',
39
+ tag: 'string',
40
+ title: 'string',
41
+ };
42
+ }
43
+
44
+ validate() {
45
+ super.validate();
46
+ }
47
+
48
+ constructor(map?: { [key: string]: any }) {
49
+ super(map);
50
+ }
51
+ }
52
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateOneMetaSqlTemplateResponseBody } from "./UpdateOneMetaSqlTemplateResponseBody";
4
+
5
+
6
+ export class UpdateOneMetaSqlTemplateResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateOneMetaSqlTemplateResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateOneMetaSqlTemplateResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,43 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { OneMetaSqlTemplateView } from "./OneMetaSqlTemplateView";
4
+
5
+
6
+ export class UpdateOneMetaSqlTemplateResponseBody extends $dara.Model {
7
+ data?: OneMetaSqlTemplateView;
8
+ errorCode?: string;
9
+ errorMessage?: string;
10
+ requestId?: string;
11
+ success?: boolean;
12
+ static names(): { [key: string]: string } {
13
+ return {
14
+ data: 'Data',
15
+ errorCode: 'ErrorCode',
16
+ errorMessage: 'ErrorMessage',
17
+ requestId: 'RequestId',
18
+ success: 'Success',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ data: OneMetaSqlTemplateView,
25
+ errorCode: 'string',
26
+ errorMessage: 'string',
27
+ requestId: 'string',
28
+ success: 'boolean',
29
+ };
30
+ }
31
+
32
+ validate() {
33
+ if(this.data && typeof (this.data as any).validate === 'function') {
34
+ (this.data as any).validate();
35
+ }
36
+ super.validate();
37
+ }
38
+
39
+ constructor(map?: { [key: string]: any }) {
40
+ super(map);
41
+ }
42
+ }
43
+