@alicloud/dms20250414 4.5.1 → 4.6.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 (73) hide show
  1. package/dist/client.d.ts +68 -8
  2. package/dist/client.js +204 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +88 -0
  5. package/dist/models/BatchCreateDataLakePartitionsRequest.js +76 -0
  6. package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +1 -0
  7. package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +19 -0
  8. package/dist/models/BatchCreateDataLakePartitionsResponse.js +69 -0
  9. package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +1 -0
  10. package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +54 -0
  11. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +70 -0
  12. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +1 -0
  13. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +87 -0
  14. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js +72 -0
  15. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +1 -0
  16. package/dist/models/DmsGatewayOrder.d.ts +1 -0
  17. package/dist/models/DmsGatewayOrder.js +2 -0
  18. package/dist/models/DmsGatewayOrder.js.map +1 -1
  19. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
  20. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
  21. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
  22. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
  23. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
  24. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
  25. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
  26. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
  27. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
  28. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
  29. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
  30. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
  31. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
  32. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
  33. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
  34. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
  35. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
  36. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
  37. package/dist/models/SendChatMessageRequest.d.ts +68 -74
  38. package/dist/models/SendChatMessageRequest.js.map +1 -1
  39. package/dist/models/SendChatMessageShrinkRequest.d.ts +18 -21
  40. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  41. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
  42. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
  43. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
  44. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
  45. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
  46. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
  47. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
  48. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
  49. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
  50. package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
  51. package/dist/models/model.d.ts +16 -0
  52. package/dist/models/model.js +45 -12
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +228 -8
  56. package/src/models/BatchCreateDataLakePartitionsRequest.ts +118 -0
  57. package/src/models/BatchCreateDataLakePartitionsResponse.ts +40 -0
  58. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +78 -0
  59. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +114 -0
  60. package/src/models/DmsGatewayOrder.ts +3 -0
  61. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
  62. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
  63. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
  64. package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
  65. package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
  66. package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
  67. package/src/models/SendChatMessageRequest.ts +68 -74
  68. package/src/models/SendChatMessageShrinkRequest.ts +18 -21
  69. package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
  70. package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
  71. package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
  72. package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
  73. package/src/models/model.ts +16 -0
@@ -5,21 +5,21 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Model {
6
6
  /**
7
7
  * @remarks
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, such as `SELECT *`, will be blocked. To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
8
+ * The list of fields that are allowed to be queried in the current table. If you do not specify this parameter, all fields can be queried. If you specify this parameter, SQL statements that query fields beyond the allowed scope, such as the SELECT * syntax, will be blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields beyond the allowed scope. Otherwise, unauthorized SQL statements may be generated and blocked, which reduces the analysis speed and performance of DataAgent.
9
9
  */
10
10
  allowedColumns?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
13
+ * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields beyond the allowed scope, such as the SELECT * syntax, will be blocked.
14
14
  *
15
- * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
15
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
16
16
  *
17
- * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
17
+ * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields beyond the allowed scope. Otherwise, unauthorized SQL statements may be generated and blocked, which reduces the analysis speed and performance of DataAgent.
18
18
  */
19
19
  disallowedColumns?: string[];
20
20
  /**
21
21
  * @remarks
22
- * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
22
+ * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether the filter field is included and whether the WHERE condition meets the constraints in all SQL statements that involve this table. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
23
23
  *
24
24
  * @example
25
25
  * region = \\"east\\"
@@ -69,7 +69,7 @@ export class SendChatMessageRequestDataSourcePermissionTables extends $dara.Mode
69
69
  export class SendChatMessageRequestDataSourcePermission extends $dara.Model {
70
70
  /**
71
71
  * @remarks
72
- * The table-level permission constraints for querying the current data source. Each item in the list represents the permission constraints for a specific table.
72
+ * The table-level permission constraints for querying the current data source. Each item in the list represents the permission constraints for a table.
73
73
  */
74
74
  tables?: SendChatMessageRequestDataSourcePermissionTables[];
75
75
  static names(): { [key: string]: string } {
@@ -99,7 +99,7 @@ export class SendChatMessageRequestDataSourcePermission extends $dara.Model {
99
99
  export class SendChatMessageRequestDataSource extends $dara.Model {
100
100
  /**
101
101
  * @remarks
102
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
102
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
103
103
  *
104
104
  * @example
105
105
  * 123
@@ -107,7 +107,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
107
107
  dataSourceId?: string;
108
108
  /**
109
109
  * @remarks
110
- * The data source type. Valid values: `[remote_data_center, database]`, which indicate that the current analysis is based on a file or a database, respectively.
110
+ * The data source type. Valid values: remote_data_center and database, which indicate that the analysis target is a file or a database.
111
111
  *
112
112
  * @example
113
113
  * remote_data_center
@@ -115,7 +115,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
115
115
  dataSourceType?: string;
116
116
  /**
117
117
  * @remarks
118
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
118
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
119
119
  *
120
120
  * @example
121
121
  * test_db
@@ -123,7 +123,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
123
123
  database?: string;
124
124
  /**
125
125
  * @remarks
126
- * The name of the database.
126
+ * The database name.
127
127
  *
128
128
  * @example
129
129
  * ******
@@ -131,7 +131,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
131
131
  dbName?: string;
132
132
  /**
133
133
  * @remarks
134
- * The ID of the database in Data Management (DMS).
134
+ * The ID of the database in DMS.
135
135
  *
136
136
  * @example
137
137
  * 23******
@@ -139,7 +139,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
139
139
  dmsDatabaseId?: string;
140
140
  /**
141
141
  * @remarks
142
- * The ID of the instance in DMS.
142
+ * The ID of the instance in Data Management (DMS).
143
143
  *
144
144
  * @example
145
145
  * 12******
@@ -147,7 +147,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
147
147
  dmsInstanceId?: string;
148
148
  /**
149
149
  * @remarks
150
- * The database engine type.
150
+ * The database type.
151
151
  *
152
152
  * @example
153
153
  * mysql
@@ -163,7 +163,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
163
163
  fileId?: string;
164
164
  /**
165
165
  * @remarks
166
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
166
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
167
167
  *
168
168
  * @example
169
169
  * localhost
@@ -171,7 +171,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
171
171
  location?: string;
172
172
  /**
173
173
  * @remarks
174
- * 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 outside the canary release scope.
174
+ * The permission constraints for querying the current data source. The permission constraint feature is in canary release. If you are not in the canary release scope, specifying this field will not take effect.
175
175
  */
176
176
  permission?: SendChatMessageRequestDataSourcePermission;
177
177
  /**
@@ -189,7 +189,7 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
189
189
  tables?: string[];
190
190
  /**
191
191
  * @remarks
192
- * The Uniform Resource Identifier (URI) of the data source.
192
+ * The data source resource identifier.
193
193
  *
194
194
  * @example
195
195
  * datalake://abc/def
@@ -249,21 +249,21 @@ export class SendChatMessageRequestDataSource extends $dara.Model {
249
249
  export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Model {
250
250
  /**
251
251
  * @remarks
252
- * The list of columns that are allowed to be queried in the current table. If this parameter is left empty, all columns can be queried. If this parameter is specified, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax similar to SELECT * is blocked. To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions of DataAgent do not include columns beyond the allowed scope. Otherwise, unauthorized SQL statements are generated and blocked, which reduces the analysis speed and effectiveness of DataAgent.
252
+ * The list of fields that can be queried in the current table. If you leave this parameter empty, all fields can be queried. If you specify this parameter, SQL statements that query fields beyond the allowed scope are blocked. For example, syntax similar to SELECT * is blocked. To ensure optimal analysis results, make sure that the prompts, knowledge base, and instructions for DataAgent do not include fields beyond the allowed scope. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and effectiveness of DataAgent.
253
253
  */
254
254
  allowedColumns?: string[];
255
255
  /**
256
256
  * @remarks
257
- * The list of columns prohibited from querying in the current table. If left empty, all columns **can be queried**. If specified, SQL statements that exceed the allowed scope, such as `SELECT *`, will be blocked.
257
+ * The list of fields that are prohibited from being queried in the current table. If you do not specify this parameter, all fields **can be queried**. If you specify this parameter, SQL statements that query fields beyond the allowed scope, such as the SELECT * syntax, will be blocked.
258
258
  *
259
- * If both the prohibited list and the allowed list are configured, the prohibited list takes higher priority. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
259
+ * If both the prohibited list and the allowed list are configured, the prohibited list takes precedence. For example, if Table 1 has columns A, B, C, and D, and columns A and B are configured as non-queryable while columns B and C are configured as queryable, only column C is ultimately queryable.
260
260
  *
261
- * To ensure optimal analysis results of DataAgent, avoid providing out-of-scope columns in modules such as prompts, knowledge, and instructions. Otherwise, generated SQL statements without permissions will be blocked, which degrades the analysis speed and results of DataAgent.
261
+ * To ensure the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields beyond the allowed scope. Otherwise, unauthorized SQL statements may be generated and blocked, which reduces the analysis speed and performance of DataAgent.
262
262
  */
263
263
  disallowedColumns?: string[];
264
264
  /**
265
265
  * @remarks
266
- * The required row filter condition for the current table. If left empty, this field is ignored. If specified, the system checks whether all SQL statements involving this table include the filter column and whether the WHERE clause meets the constraints. SQL statements that do not meet the constraints will be rejected. Ensure the correct format of the validation condition.
266
+ * The row filter condition that must be included for the current table. If you do not specify this parameter, it is ignored. If you specify this parameter, the system checks whether the filter field is included and whether the WHERE condition meets the constraints in all SQL statements that involve this table. SQL statements that do not meet the constraints will be rejected. Pay attention to the format of the validation condition.
267
267
  *
268
268
  * @example
269
269
  * region = \\"east\\"
@@ -313,7 +313,7 @@ export class SendChatMessageRequestDataSourcesPermissionTables extends $dara.Mod
313
313
  export class SendChatMessageRequestDataSourcesPermission extends $dara.Model {
314
314
  /**
315
315
  * @remarks
316
- * The table-level permission constraints for querying the current data source. Each item in the list represents the permission constraints for a specific table.
316
+ * The table-level permission constraints for querying the current data source. Each item in the list represents the permission constraints for a table.
317
317
  */
318
318
  tables?: SendChatMessageRequestDataSourcesPermissionTables[];
319
319
  static names(): { [key: string]: string } {
@@ -343,7 +343,7 @@ export class SendChatMessageRequestDataSourcesPermission extends $dara.Model {
343
343
  export class SendChatMessageRequestDataSources extends $dara.Model {
344
344
  /**
345
345
  * @remarks
346
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
346
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
347
347
  *
348
348
  * @example
349
349
  * 123
@@ -352,8 +352,8 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
352
352
  /**
353
353
  * @remarks
354
354
  * The data source type. Valid values:
355
- * - remote_data_center: The analysis is performed on a file.
356
- * - database: The analysis is performed on a database.
355
+ * - remote_data_center: The current analysis is based on a file.
356
+ * - database: The current analysis is based on a database.
357
357
  *
358
358
  * @example
359
359
  * remote_data_center
@@ -361,7 +361,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
361
361
  dataSourceType?: string;
362
362
  /**
363
363
  * @remarks
364
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
364
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
365
365
  *
366
366
  * @example
367
367
  * test_db
@@ -369,7 +369,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
369
369
  database?: string;
370
370
  /**
371
371
  * @remarks
372
- * The name of the database.
372
+ * The database name.
373
373
  *
374
374
  * @example
375
375
  * mydatabase
@@ -385,7 +385,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
385
385
  dmsDatabaseId?: string;
386
386
  /**
387
387
  * @remarks
388
- * The ID of the instance in DMS.
388
+ * The ID of the instance in Data Management (DMS).
389
389
  *
390
390
  * @example
391
391
  * 248*****
@@ -393,7 +393,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
393
393
  dmsInstanceId?: string;
394
394
  /**
395
395
  * @remarks
396
- * The database engine type.
396
+ * The database type.
397
397
  *
398
398
  * @example
399
399
  * mysql
@@ -409,7 +409,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
409
409
  fileId?: string;
410
410
  /**
411
411
  * @remarks
412
- * **[Deprecated]** This field is deprecated. You do not need to specify it.
412
+ * **[Deprecated]** This field is deprecated. You do not need to specify this field.
413
413
  *
414
414
  * @example
415
415
  * localhost
@@ -417,7 +417,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
417
417
  location?: string;
418
418
  /**
419
419
  * @remarks
420
- * 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 outside the canary release scope.
420
+ * The permission constraints for querying the current data source. The permission constraint feature is in canary release. If you are not in the canary release scope, specifying this field will not take effect.
421
421
  */
422
422
  permission?: SendChatMessageRequestDataSourcesPermission;
423
423
  /**
@@ -435,7 +435,7 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
435
435
  tables?: string[];
436
436
  /**
437
437
  * @remarks
438
- * The Uniform Resource Identifier (URI) of the data source.
438
+ * The data source resource identifier.
439
439
  *
440
440
  * @example
441
441
  * datalake://abc/def
@@ -495,11 +495,9 @@ export class SendChatMessageRequestDataSources extends $dara.Model {
495
495
  export class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.Model {
496
496
  /**
497
497
  * @remarks
498
- * The default behavior for table-level permissions. This parameter controls whether tables not configured in DataSources.[item].Permission can be queried. Valid values:
499
- *
500
- * - allow: Default value. Works in blacklist mode. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Row-level and column-level permissions are enforced only when you configure **row-level and column-level** permissions in DataSources.[item].Permission.
501
- *
502
- * - deny: Works in whitelist mode. You must manually pass this value. By default, no tables can be queried. A table can be queried only when you configure permissions for it in DataSources.[item].Permission. You can grant full access to a table by not configuring any row-level or column-level restrictions.
498
+ * The default behavior for table-level permissions. This parameter controls whether tables that are not configured in DataSources.N.Permission can be queried. Valid values:
499
+ * - allow: the default value. This value indicates that the blacklist mode is used. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Row-level and column-level permissions are enforced only when you configure **row-level and column-level** permissions in DataSources.N.Permission.
500
+ * - deny: This value must be manually specified. This value indicates that the whitelist mode is used. By default, no tables can be queried. A table can be queried only when you configure permissions for the table in DataSources.N.Permission. You can grant full access to a table by not configuring any row-level or column-level restrictions.
503
501
  *
504
502
  * @example
505
503
  * allow
@@ -529,7 +527,7 @@ export class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.M
529
527
  export class SendChatMessageRequestSessionConfig extends $dara.Model {
530
528
  /**
531
529
  * @remarks
532
- * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create it in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string starting with `ca-`.
530
+ * The custom agent ID. A custom agent is an entity used to customize the analysis process. You can create a custom agent in the DataAgent console or by calling the CreateCustomAgent operation. A custom agent ID must be a string that starts with ca-.
533
531
  *
534
532
  * @example
535
533
  * ca-asfkjhqwe***aesrfqa
@@ -561,7 +559,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
561
559
  kbUuidList?: string[];
562
560
  /**
563
561
  * @remarks
564
- * The language. Only uppercase values are supported. Currently, only Chinese and English are supported. Default value: Chinese.
562
+ * The language. Only Chinese and English are supported. Default value: Chinese. Only uppercase values are supported.
565
563
  *
566
564
  * @example
567
565
  * ENGLISH
@@ -569,7 +567,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
569
567
  language?: string;
570
568
  /**
571
569
  * @remarks
572
- * The MCP server IDs in the session configuration.
570
+ * The MCP server IDs in the session configurations.
573
571
  *
574
572
  * @example
575
573
  * 2q1tu90**********6uttu2nw
@@ -578,9 +576,9 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
578
576
  /**
579
577
  * @remarks
580
578
  * The mode. Valid values:
581
- * - **ASK_DATA**: Data query mode.
582
- * - **ANALYSIS**: Analysis mode.
583
- * - **INSIGHT**: Insight mode.
579
+ * - **ASK_DATA**: the data query mode.
580
+ * - **ANALYSIS**: the analysis mode.
581
+ * - **INSIGHT**: the insight mode.
584
582
  *
585
583
  * @example
586
584
  * ANALYSIS
@@ -588,12 +586,12 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
588
586
  mode?: string;
589
587
  /**
590
588
  * @remarks
591
- * The session level data permission settings. If configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
589
+ * The session level data permission settings. If this parameter is configured multiple times in multi-turn conversations within the same session, the last configuration prevails.
592
590
  */
593
591
  permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
594
592
  /**
595
593
  * @remarks
596
- * Specifies whether to enable the plan feature. Valid values: `[disable, enable, force]`. Default value: `enable`.
594
+ * Specifies whether to enable the plan. Valid values: disable, enable, and force. Default value: enable.
597
595
  *
598
596
  * @example
599
597
  * disable
@@ -609,7 +607,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
609
607
  reportWaterMark?: string;
610
608
  /**
611
609
  * @remarks
612
- * Specifies whether to disable user inquiries during the process.
610
+ * Specifies whether to prohibit user inquiries during the process.
613
611
  *
614
612
  * @example
615
613
  * True
@@ -654,7 +652,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
654
652
  webReportTheme?: string;
655
653
  /**
656
654
  * @remarks
657
- * 交互模式,可选值 analysis(数据分析,默认)/ chat(聊天)
655
+ * The interaction pattern. Valid values: ANALYSIS (data analytics, default) and CHAT (chat).
658
656
  *
659
657
  * @example
660
658
  * ANALYSIS
@@ -728,7 +726,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
728
726
  export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
729
727
  /**
730
728
  * @remarks
731
- * The prompt that must be followed for the current report.
729
+ * The prompt that the current report must follow.
732
730
  *
733
731
  * @example
734
732
  * generate a report
@@ -736,8 +734,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
736
734
  reportPrompt?: string;
737
735
  /**
738
736
  * @remarks
739
- * The report theme.
740
- * The system themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain the IDs of other available themes.
737
+ * The report theme. System themes include default, journal, legacy, and neobrutalism, which are globally available theme IDs. You can call the ListDataAgentTheme operation to obtain other available theme IDs.
741
738
  *
742
739
  * @example
743
740
  * default
@@ -746,8 +743,8 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
746
743
  /**
747
744
  * @remarks
748
745
  * The service type. Valid values:
749
- * - TextReport: A text report is generated for the current task.
750
- * - WebReport: A web report is generated for the current task.
746
+ * - TextReport: The current task generates a text report.
747
+ * - WebReport: The current task generates a web report.
751
748
  * Currently, only WebReport is supported.
752
749
  *
753
750
  * @example
@@ -782,7 +779,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
782
779
  export class SendChatMessageRequestTaskConfig extends $dara.Model {
783
780
  /**
784
781
  * @remarks
785
- * The configuration of the report rules. A report task is executed based on this configuration only when MessageType is set to REPORT.
782
+ * The configuration of the report rule. A report task is executed based on this configuration only when MessageType is set to REPORT.
786
783
  */
787
784
  reportConfig?: SendChatMessageRequestTaskConfigReportConfig;
788
785
  static names(): { [key: string]: string } {
@@ -812,7 +809,7 @@ export class SendChatMessageRequestTaskConfig extends $dara.Model {
812
809
  export class SendChatMessageRequest extends $dara.Model {
813
810
  /**
814
811
  * @remarks
815
- * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify it.
812
+ * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify this field.
816
813
  *
817
814
  * @example
818
815
  * agent_***
@@ -820,7 +817,7 @@ export class SendChatMessageRequest extends $dara.Model {
820
817
  agentId?: string;
821
818
  /**
822
819
  * @remarks
823
- * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify it when calling the API.
820
+ * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify this field when you call the API operation.
824
821
  *
825
822
  * @example
826
823
  * cn-hangzhou
@@ -828,7 +825,7 @@ export class SendChatMessageRequest extends $dara.Model {
828
825
  DMSUnit?: string;
829
826
  /**
830
827
  * @remarks
831
- * The data source information. This parameter can be left empty. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
828
+ * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you use the DataSources parameter instead.
832
829
  *
833
830
  * @example
834
831
  * null
@@ -841,7 +838,7 @@ export class SendChatMessageRequest extends $dara.Model {
841
838
  dataSources?: SendChatMessageRequestDataSources[];
842
839
  /**
843
840
  * @remarks
844
- * The content of the message sent to the agent in the current request.
841
+ * The content of the message sent to the agent.
845
842
  *
846
843
  * This parameter is required.
847
844
  *
@@ -851,15 +848,12 @@ export class SendChatMessageRequest extends $dara.Model {
851
848
  message?: string;
852
849
  /**
853
850
  * @remarks
854
- * The message type. Default value: `[primary]`.
855
- *
856
- * - For regular interactions with the agent, set the message type to `[primary]`.
857
- *
858
- * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
859
- *
860
- * - If the message triggers report generation, set the type to `[report]`.
851
+ * The message type. Default value: primary.
861
852
  *
862
- * - If the message cancels the current session, set the type to `[cancel]`.
853
+ * - In normal interactions with the agent, the message type is primary.
854
+ * - When the message responds to a human-in-the-loop question from the agent, the type must be additional.
855
+ * - When the message triggers report generation, the type must be report.
856
+ * - When the message cancels the current session, the type must be cancel.
863
857
  *
864
858
  * @example
865
859
  * primary
@@ -875,7 +869,7 @@ export class SendChatMessageRequest extends $dara.Model {
875
869
  parentSessionId?: string;
876
870
  /**
877
871
  * @remarks
878
- * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
872
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is additional.
879
873
  *
880
874
  * @example
881
875
  * Provide the calculation criteria for GMV
@@ -883,7 +877,7 @@ export class SendChatMessageRequest extends $dara.Model {
883
877
  question?: string;
884
878
  /**
885
879
  * @remarks
886
- * The quoted content passed in the current request. This is typically used during interactions with the agent.
880
+ * The current quoted content. This parameter is typically used during interactions with the agent.
887
881
  *
888
882
  * @example
889
883
  * {"version":"v0"}
@@ -893,7 +887,7 @@ export class SendChatMessageRequest extends $dara.Model {
893
887
  * @remarks
894
888
  * **Important**
895
889
  *
896
- * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
890
+ * If this message is a reply to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in the agent message to reply_to. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the analysis is complete, you can leave reply_to empty or set it to 0.
897
891
  *
898
892
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
899
893
  *
@@ -903,7 +897,7 @@ export class SendChatMessageRequest extends $dara.Model {
903
897
  replyTo?: string;
904
898
  /**
905
899
  * @remarks
906
- * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
900
+ * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
907
901
  *
908
902
  * **if can be null:**
909
903
  * true
@@ -911,10 +905,10 @@ export class SendChatMessageRequest extends $dara.Model {
911
905
  sessionConfig?: SendChatMessageRequestSessionConfig;
912
906
  /**
913
907
  * @remarks
914
- * The session ID. This is an optional field used for multi-turn sessions.
915
- * - You can start a session without specifying this field. The response will include the session ID for the current session.
916
- * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
917
- * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
908
+ * The session ID. This field is optional and is used for multi-turn sessions.
909
+ * - You can start a session without specifying this field. The response will contain the session ID of the current session.
910
+ * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when you initiate the session.
911
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this operation.
918
912
  *
919
913
  * @example
920
914
  * sess_***
@@ -927,7 +921,7 @@ export class SendChatMessageRequest extends $dara.Model {
927
921
  taskConfig?: SendChatMessageRequestTaskConfig;
928
922
  /**
929
923
  * @remarks
930
- * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
924
+ * The OSS bucket of the user. If you leave this parameter empty, the analysis process is securely stored in the built-in storage.
931
925
  *
932
926
  * @example
933
927
  * 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
- * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify it.
8
+ * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify this field.
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
- * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify it when calling the API.
16
+ * **[Optimized]** This field is now automatically retrieved in the background. You do not need to specify this field when you call the API operation.
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. You can pass only one data source in this parameter. We recommend that you use the DataSources parameter instead.
24
+ * The data source information. This parameter can be left empty. You can specify only one data source for this parameter. We recommend that you 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 content of the message sent to the agent in the current request.
37
+ * The content of the message sent to the agent.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -44,15 +44,12 @@ 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
- * - For regular interactions with the agent, set the message type to `[primary]`.
50
- *
51
- * - If the message responds to a human-in-the-loop question from the agent, set the type to `[additional]`.
52
- *
53
- * - If the message triggers report generation, set the type to `[report]`.
54
- *
55
- * - If the message cancels the current session, set the type to `[cancel]`.
49
+ * - In normal interactions with the agent, the message type is primary.
50
+ * - When the message responds to a human-in-the-loop question from the agent, the type must be additional.
51
+ * - When the message triggers report generation, the type must be report.
52
+ * - When the message cancels the current session, the type must be cancel.
56
53
  *
57
54
  * @example
58
55
  * primary
@@ -68,7 +65,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
68
65
  parentSessionId?: string;
69
66
  /**
70
67
  * @remarks
71
- * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is `additional`.
68
+ * The specific question asked by the agent to the user through human-in-the-loop. This field is required when the message type is additional.
72
69
  *
73
70
  * @example
74
71
  * Provide the calculation criteria for GMV
@@ -76,7 +73,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
76
73
  question?: string;
77
74
  /**
78
75
  * @remarks
79
- * The quoted content passed in the current request. This is typically used during interactions with the agent.
76
+ * The current quoted content. This parameter is typically used during interactions with the agent.
80
77
  *
81
78
  * @example
82
79
  * {"version":"v0"}
@@ -86,7 +83,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
86
83
  * @remarks
87
84
  * **Important**
88
85
  *
89
- * If this message replies to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in that agent message to `reply_to`. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the initial analysis is complete, you can leave `reply_to` empty or set it to "0".
86
+ * If this message is a reply to an agent message, such as an agent clarifying a question through ASK_HUMAN, you must accurately pass the checkpoint sequence number carried in the agent message to reply_to. If this message is not a targeted reply, such as requesting the agent to perform further in-depth analysis after the analysis is complete, you can leave reply_to empty or set it to 0.
90
87
  *
91
88
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
92
89
  *
@@ -96,7 +93,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
96
93
  replyTo?: string;
97
94
  /**
98
95
  * @remarks
99
- * The special configurations for the current session. For the same session, only the configurations passed in the first SendMessage request take effect.
96
+ * The special configurations for the current session. For the same session, only the configurations passed during the first SendMessage call take effect.
100
97
  *
101
98
  * **if can be null:**
102
99
  * true
@@ -104,10 +101,10 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
104
101
  sessionConfigShrink?: string;
105
102
  /**
106
103
  * @remarks
107
- * The session ID. This is an optional field used for multi-turn sessions.
108
- * - You can start a session without specifying this field. The response will include the session ID for the current session.
109
- * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
110
- * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this request.
104
+ * The session ID. This field is optional and is used for multi-turn sessions.
105
+ * - You can start a session without specifying this field. The response will contain the session ID of the current session.
106
+ * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when you initiate the session.
107
+ * - If you need multi-turn conversations, such as follow-up questions or confirming execution plans, include the session ID returned by the previous SendChatMessage operation in this operation.
111
108
  *
112
109
  * @example
113
110
  * sess_***
@@ -120,7 +117,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
120
117
  taskConfigShrink?: string;
121
118
  /**
122
119
  * @remarks
123
- * The Object Storage Service (OSS) bucket of the user. If this parameter is left empty, the analysis process is securely stored in the built-in storage.
120
+ * The OSS bucket of the user. If you leave this parameter empty, the analysis process is securely stored in the built-in storage.
124
121
  *
125
122
  * @example
126
123
  * my-bucket
@@ -0,0 +1,53 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateMyAgenticNotificationChannelConfigRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The notification channel type. Currently, only FEISHU (Lark) is supported. Specifying other values results in a parameter error.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * FEISHU
14
+ */
15
+ channel?: string;
16
+ /**
17
+ * @remarks
18
+ * The channel configuration in the format of a JSON object string. This parameter is not required if you do not update the binding information. Supports mobile (phone number) or email. You can bind or rebind a Lark account by using one of them at a time. If the existing masked values of mobile or email are passed as ******, they are not modified. openId is a read-only field and cannot be specified.
19
+ *
20
+ * @example
21
+ * {"email":"user@example.com"}
22
+ */
23
+ config?: string;
24
+ /**
25
+ * @remarks
26
+ * Specifies whether to enable the notification channel. If this parameter is not specified, the original value is retained. When you only modify the switch, the Config parameter is not required, and the existing binding information remains unchanged.
27
+ */
28
+ enabled?: boolean;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ channel: 'Channel',
32
+ config: 'Config',
33
+ enabled: 'Enabled',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ channel: 'string',
40
+ config: 'string',
41
+ enabled: 'boolean',
42
+ };
43
+ }
44
+
45
+ validate() {
46
+ super.validate();
47
+ }
48
+
49
+ constructor(map?: { [key: string]: any }) {
50
+ super(map);
51
+ }
52
+ }
53
+