@alicloud/dms20250414 4.5.0 → 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 (75) hide show
  1. package/dist/client.d.ts +64 -4
  2. package/dist/client.js +200 -4
  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/DescribeDataAgentSkillDownloadResponseBody.d.ts +1 -1
  17. package/dist/models/DmsGatewayOrder.d.ts +1 -0
  18. package/dist/models/DmsGatewayOrder.js +2 -0
  19. package/dist/models/DmsGatewayOrder.js.map +1 -1
  20. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.d.ts +23 -0
  21. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js +58 -0
  22. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.js.map +1 -0
  23. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.d.ts +19 -0
  24. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js +69 -0
  25. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.js.map +1 -0
  26. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +77 -0
  27. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js +90 -0
  28. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.js.map +1 -0
  29. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.d.ts +37 -0
  30. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js +62 -0
  31. package/dist/models/ListMyAgenticNotificationChannelConfigsRequest.js.map +1 -0
  32. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.d.ts +19 -0
  33. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js +69 -0
  34. package/dist/models/ListMyAgenticNotificationChannelConfigsResponse.js.map +1 -0
  35. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.d.ts +98 -0
  36. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js +99 -0
  37. package/dist/models/ListMyAgenticNotificationChannelConfigsResponseBody.js.map +1 -0
  38. package/dist/models/SendChatMessageRequest.d.ts +67 -59
  39. package/dist/models/SendChatMessageRequest.js +2 -0
  40. package/dist/models/SendChatMessageRequest.js.map +1 -1
  41. package/dist/models/SendChatMessageShrinkRequest.d.ts +13 -13
  42. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.d.ts +36 -0
  43. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js +62 -0
  44. package/dist/models/UpdateMyAgenticNotificationChannelConfigRequest.js.map +1 -0
  45. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.d.ts +19 -0
  46. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js +69 -0
  47. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponse.js.map +1 -0
  48. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.d.ts +82 -0
  49. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js +95 -0
  50. package/dist/models/UpdateMyAgenticNotificationChannelConfigResponseBody.js.map +1 -0
  51. package/dist/models/WorkspaceActionStatusResponseBody.d.ts +1 -1
  52. package/dist/models/model.d.ts +16 -0
  53. package/dist/models/model.js +45 -12
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +224 -4
  57. package/src/models/BatchCreateDataLakePartitionsRequest.ts +118 -0
  58. package/src/models/BatchCreateDataLakePartitionsResponse.ts +40 -0
  59. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +78 -0
  60. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +114 -0
  61. package/src/models/DescribeDataAgentSkillDownloadResponseBody.ts +1 -1
  62. package/src/models/DmsGatewayOrder.ts +3 -0
  63. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlRequest.ts +36 -0
  64. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponse.ts +40 -0
  65. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +113 -0
  66. package/src/models/ListMyAgenticNotificationChannelConfigsRequest.ts +54 -0
  67. package/src/models/ListMyAgenticNotificationChannelConfigsResponse.ts +40 -0
  68. package/src/models/ListMyAgenticNotificationChannelConfigsResponseBody.ts +141 -0
  69. package/src/models/SendChatMessageRequest.ts +69 -59
  70. package/src/models/SendChatMessageShrinkRequest.ts +13 -13
  71. package/src/models/UpdateMyAgenticNotificationChannelConfigRequest.ts +53 -0
  72. package/src/models/UpdateMyAgenticNotificationChannelConfigResponse.ts +40 -0
  73. package/src/models/UpdateMyAgenticNotificationChannelConfigResponseBody.ts +121 -0
  74. package/src/models/WorkspaceActionStatusResponseBody.ts +1 -1
  75. 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 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 outside the allowed range, 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 outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance 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 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 outside the allowed range, such as the `SELECT *` syntax, 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 precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C 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 the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance 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 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 all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the 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]** You do not need to specify this field.
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 and database, which indicate that the analysis target is 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]** You do not need to specify this field.
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 type of the database.
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]** You do not need to specify this field.
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
  /**
@@ -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 you do not specify this parameter, all columns can be queried. If you specify this parameter, SQL statements that query columns beyond the allowed scope are blocked. For example, syntax such as 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 performance 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 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 outside the allowed range, such as the `SELECT *` syntax, 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 precedence. For example, if Table 1 has columns A, B, C, and D, and you configure columns A and B as non-queryable while configuring columns B and C 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 the analysis performance of DataAgent, make sure that the prompts, knowledge, and instructions modules of DataAgent do not include fields outside the allowed range. Otherwise, unauthorized SQL statements may be generated and blocked, which degrades the analysis speed and performance 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 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 all SQL statements involving this table include the filter field and whether the WHERE condition meets the constraints. SQL statements that do not meet the constraints will be rejected. Pay attention to the 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]** You do not need to specify this field.
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]** You do not need to specify this field.
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 type of the database.
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]** You do not need to specify this field.
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
  /**
@@ -495,9 +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
- * - allow: Works in blacklist mode. This is the default value. By default, all tables can be queried, and the actual permissions are subject to the permissions configured in DMS. Only when you configure **row- and column-level** permissions in DataSources.[item].Permission will row- and column-level permissions be enforced.
500
- * - deny: Works in whitelist mode. You must manually specify 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- 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.
501
501
  *
502
502
  * @example
503
503
  * allow
@@ -527,7 +527,7 @@ export class SendChatMessageRequestSessionConfigPermissionConfig extends $dara.M
527
527
  export class SendChatMessageRequestSessionConfig extends $dara.Model {
528
528
  /**
529
529
  * @remarks
530
- * 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-.
531
531
  *
532
532
  * @example
533
533
  * ca-asfkjhqwe***aesrfqa
@@ -559,7 +559,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
559
559
  kbUuidList?: string[];
560
560
  /**
561
561
  * @remarks
562
- * The language. Only Chinese and English are supported. The default value is Chinese. Only uppercase letters are supported.
562
+ * The language. Only Chinese and English are supported. Default value: Chinese. Only uppercase values are supported.
563
563
  *
564
564
  * @example
565
565
  * ENGLISH
@@ -567,7 +567,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
567
567
  language?: string;
568
568
  /**
569
569
  * @remarks
570
- * The MCP server IDs in the session configuration.
570
+ * The MCP server IDs in the session configurations.
571
571
  *
572
572
  * @example
573
573
  * 2q1tu90**********6uttu2nw
@@ -576,9 +576,9 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
576
576
  /**
577
577
  * @remarks
578
578
  * The mode. Valid values:
579
- * - **ASK_DATA**: Data query mode.
580
- * - **ANALYSIS**: Analysis mode.
581
- * - **INSIGHT**: Insight mode.
579
+ * - **ASK_DATA**: the data query mode.
580
+ * - **ANALYSIS**: the analysis mode.
581
+ * - **INSIGHT**: the insight mode.
582
582
  *
583
583
  * @example
584
584
  * ANALYSIS
@@ -586,12 +586,12 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
586
586
  mode?: string;
587
587
  /**
588
588
  * @remarks
589
- * The data permission settings at the session level. 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.
590
590
  */
591
591
  permissionConfig?: SendChatMessageRequestSessionConfigPermissionConfig;
592
592
  /**
593
593
  * @remarks
594
- * Specifies whether to enable the plan feature. Valid values: disable, enable, and force. Default value: enable.
594
+ * Specifies whether to enable the plan. Valid values: disable, enable, and force. Default value: enable.
595
595
  *
596
596
  * @example
597
597
  * disable
@@ -599,7 +599,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
599
599
  planMode?: string;
600
600
  /**
601
601
  * @remarks
602
- * The text to be added as a watermark to the generated PDF report. The text can be up to 64 characters in length.
602
+ * The text used to add a watermark to the generated PDF report. The text can be up to 64 characters in length.
603
603
  *
604
604
  * @example
605
605
  * sample-watermark
@@ -607,7 +607,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
607
607
  reportWaterMark?: string;
608
608
  /**
609
609
  * @remarks
610
- * Specifies whether to disable user inquiries during the process.
610
+ * Specifies whether to prohibit user inquiries during the process.
611
611
  *
612
612
  * @example
613
613
  * True
@@ -650,6 +650,14 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
650
650
  * default
651
651
  */
652
652
  webReportTheme?: string;
653
+ /**
654
+ * @remarks
655
+ * The interaction pattern. Valid values: ANALYSIS (data analytics, default) and CHAT (chat).
656
+ *
657
+ * @example
658
+ * ANALYSIS
659
+ */
660
+ workMode?: string;
653
661
  static names(): { [key: string]: string } {
654
662
  return {
655
663
  customAgentId: 'CustomAgentId',
@@ -668,6 +676,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
668
676
  skipWebReportConfirm: 'SkipWebReportConfirm',
669
677
  userSpecifiedSkillList: 'UserSpecifiedSkillList',
670
678
  webReportTheme: 'WebReportTheme',
679
+ workMode: 'WorkMode',
671
680
  };
672
681
  }
673
682
 
@@ -689,6 +698,7 @@ export class SendChatMessageRequestSessionConfig extends $dara.Model {
689
698
  skipWebReportConfirm: 'boolean',
690
699
  userSpecifiedSkillList: { 'type': 'array', 'itemType': 'string' },
691
700
  webReportTheme: 'string',
701
+ workMode: 'string',
692
702
  };
693
703
  }
694
704
 
@@ -733,8 +743,8 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
733
743
  /**
734
744
  * @remarks
735
745
  * The service type. Valid values:
736
- * - TextReport: The task generates a text report.
737
- * - WebReport: The task generates a web report.
746
+ * - TextReport: The current task generates a text report.
747
+ * - WebReport: The current task generates a web report.
738
748
  * Currently, only WebReport is supported.
739
749
  *
740
750
  * @example
@@ -769,7 +779,7 @@ export class SendChatMessageRequestTaskConfigReportConfig extends $dara.Model {
769
779
  export class SendChatMessageRequestTaskConfig extends $dara.Model {
770
780
  /**
771
781
  * @remarks
772
- * 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.
773
783
  */
774
784
  reportConfig?: SendChatMessageRequestTaskConfigReportConfig;
775
785
  static names(): { [key: string]: string } {
@@ -799,7 +809,7 @@ export class SendChatMessageRequestTaskConfig extends $dara.Model {
799
809
  export class SendChatMessageRequest extends $dara.Model {
800
810
  /**
801
811
  * @remarks
802
- * **[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.
803
813
  *
804
814
  * @example
805
815
  * agent_***
@@ -807,7 +817,7 @@ export class SendChatMessageRequest extends $dara.Model {
807
817
  agentId?: string;
808
818
  /**
809
819
  * @remarks
810
- * **[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.
811
821
  *
812
822
  * @example
813
823
  * cn-hangzhou
@@ -841,9 +851,9 @@ export class SendChatMessageRequest extends $dara.Model {
841
851
  * The message type. Default value: primary.
842
852
  *
843
853
  * - In normal interactions with the agent, the message type is primary.
844
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
845
- * - When the message is intended to trigger report generation, the type must be report.
846
- * - When the message is intended to cancel the current session, the type must be cancel.
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.
847
857
  *
848
858
  * @example
849
859
  * primary
@@ -859,7 +869,7 @@ export class SendChatMessageRequest extends $dara.Model {
859
869
  parentSessionId?: string;
860
870
  /**
861
871
  * @remarks
862
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
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.
863
873
  *
864
874
  * @example
865
875
  * Provide the calculation criteria for GMV
@@ -867,7 +877,7 @@ export class SendChatMessageRequest extends $dara.Model {
867
877
  question?: string;
868
878
  /**
869
879
  * @remarks
870
- * The current quoted content. This is typically used during interactions with the agent.
880
+ * The current quoted content. This parameter is typically used during interactions with the agent.
871
881
  *
872
882
  * @example
873
883
  * {"version":"v0"}
@@ -877,7 +887,7 @@ export class SendChatMessageRequest extends $dara.Model {
877
887
  * @remarks
878
888
  * **Important**
879
889
  *
880
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 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.
881
891
  *
882
892
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
883
893
  *
@@ -895,10 +905,10 @@ export class SendChatMessageRequest extends $dara.Model {
895
905
  sessionConfig?: SendChatMessageRequestSessionConfig;
896
906
  /**
897
907
  * @remarks
898
- * The session ID. This is an optional field used for multi-turn sessions.
899
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
900
- * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
901
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
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.
902
912
  *
903
913
  * @example
904
914
  * sess_***
@@ -911,7 +921,7 @@ export class SendChatMessageRequest extends $dara.Model {
911
921
  taskConfig?: SendChatMessageRequestTaskConfig;
912
922
  /**
913
923
  * @remarks
914
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, 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.
915
925
  *
916
926
  * @example
917
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
@@ -47,9 +47,9 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
47
47
  * The message type. Default value: primary.
48
48
  *
49
49
  * - In normal interactions with the agent, the message type is primary.
50
- * - When the message is a response to a human-in-the-loop question from the agent, the type must be additional.
51
- * - When the message is intended to trigger report generation, the type must be report.
52
- * - When the message is intended to cancel the current session, the type must be cancel.
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.
53
53
  *
54
54
  * @example
55
55
  * primary
@@ -65,7 +65,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
65
65
  parentSessionId?: string;
66
66
  /**
67
67
  * @remarks
68
- * Required when the message type is additional. Specifies the specific question asked by the agent to the user through human-in-the-loop.
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.
69
69
  *
70
70
  * @example
71
71
  * Provide the calculation criteria for GMV
@@ -73,7 +73,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
73
73
  question?: string;
74
74
  /**
75
75
  * @remarks
76
- * The current quoted content. This is typically used during interactions with the agent.
76
+ * The current quoted content. This parameter is typically used during interactions with the agent.
77
77
  *
78
78
  * @example
79
79
  * {"version":"v0"}
@@ -83,7 +83,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
83
83
  * @remarks
84
84
  * **Important**
85
85
  *
86
- * When this message is a reply to an agent message (such as the agent asking for clarification through ASK_HUMAN), reply_to must exactly match the 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 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.
87
87
  *
88
88
  * This field affects how the agent decides to process the message. Passing an incorrect value may lead to suboptimal analysis results.
89
89
  *
@@ -101,10 +101,10 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
101
101
  sessionConfigShrink?: string;
102
102
  /**
103
103
  * @remarks
104
- * The session ID. This is an optional field used for multi-turn sessions.
105
- * - You can start a session without specifying this field, and the response will include the SessionID for the current session.
106
- * - You can also manually create a session ID by calling the CreateDataAgentSession operation and include the ID when initiating the session.
107
- * - If you need multi-turn conversations (such as follow-up questions or confirming execution plans), include the SessionID returned by the previous SendChatMessage operation in this API call.
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.
108
108
  *
109
109
  * @example
110
110
  * sess_***
@@ -117,7 +117,7 @@ export class SendChatMessageShrinkRequest extends $dara.Model {
117
117
  taskConfigShrink?: string;
118
118
  /**
119
119
  * @remarks
120
- * The Object Storage Service (OSS) bucket of the user. If you do not specify this parameter, 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.
121
121
  *
122
122
  * @example
123
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
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateMyAgenticNotificationChannelConfigResponseBody } from "./UpdateMyAgenticNotificationChannelConfigResponseBody";
4
+
5
+
6
+ export class UpdateMyAgenticNotificationChannelConfigResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateMyAgenticNotificationChannelConfigResponseBody;
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: UpdateMyAgenticNotificationChannelConfigResponseBody,
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
+