@alicloud/winnexo20260512 1.7.0 → 1.9.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 (507) hide show
  1. package/dist/client.d.ts +676 -258
  2. package/dist/client.js +1503 -294
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchCancelTodosRequest.d.ts +3 -3
  5. package/dist/models/BatchCancelTodosResponseBody.d.ts +1 -1
  6. package/dist/models/BatchCancelTodosShrinkRequest.d.ts +3 -3
  7. package/dist/models/CheckAppResourcePermissionRequest.d.ts +2 -2
  8. package/dist/models/CheckAppResourcePermissionResponseBody.d.ts +4 -4
  9. package/dist/models/CheckAppResourcePermissionsBatchRequest.d.ts +6 -6
  10. package/dist/models/CheckAppResourcePermissionsBatchResponseBody.d.ts +4 -4
  11. package/dist/models/CheckAppResourcePermissionsBatchShrinkRequest.d.ts +5 -5
  12. package/dist/models/ClearAutoMemoryRequest.d.ts +3 -5
  13. package/dist/models/ClearAutoMemoryRequest.js.map +1 -1
  14. package/dist/models/ConvertDirectConversationToWorkRequest.d.ts +31 -0
  15. package/dist/models/ConvertDirectConversationToWorkRequest.js +60 -0
  16. package/dist/models/ConvertDirectConversationToWorkRequest.js.map +1 -0
  17. package/dist/models/ConvertDirectConversationToWorkResponse.d.ts +19 -0
  18. package/dist/models/ConvertDirectConversationToWorkResponse.js +69 -0
  19. package/dist/models/ConvertDirectConversationToWorkResponse.js.map +1 -0
  20. package/dist/models/ConvertDirectConversationToWorkResponseBody.d.ts +117 -0
  21. package/dist/models/ConvertDirectConversationToWorkResponseBody.js +82 -0
  22. package/dist/models/ConvertDirectConversationToWorkResponseBody.js.map +1 -0
  23. package/dist/models/CreateConversationResponseBody.d.ts +3 -0
  24. package/dist/models/CreateConversationResponseBody.js.map +1 -1
  25. package/dist/models/CreateFreeExplorationWorkItemRequest.d.ts +67 -0
  26. package/dist/models/CreateFreeExplorationWorkItemRequest.js +74 -0
  27. package/dist/models/CreateFreeExplorationWorkItemRequest.js.map +1 -0
  28. package/dist/models/CreateFreeExplorationWorkItemResponse.d.ts +19 -0
  29. package/dist/models/CreateFreeExplorationWorkItemResponse.js +69 -0
  30. package/dist/models/CreateFreeExplorationWorkItemResponse.js.map +1 -0
  31. package/dist/models/CreateFreeExplorationWorkItemResponseBody.d.ts +101 -0
  32. package/dist/models/CreateFreeExplorationWorkItemResponseBody.js +84 -0
  33. package/dist/models/CreateFreeExplorationWorkItemResponseBody.js.map +1 -0
  34. package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.d.ts +67 -0
  35. package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.js +68 -0
  36. package/dist/models/CreateFreeExplorationWorkItemShrinkRequest.js.map +1 -0
  37. package/dist/models/CreateScheduledTaskRequest.d.ts +46 -47
  38. package/dist/models/CreateScheduledTaskRequest.js +2 -0
  39. package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
  40. package/dist/models/CreateScheduledTaskResponseBody.d.ts +1 -1
  41. package/dist/models/CreateScheduledTaskShrinkRequest.d.ts +18 -19
  42. package/dist/models/CreateScheduledTaskShrinkRequest.js +2 -0
  43. package/dist/models/CreateScheduledTaskShrinkRequest.js.map +1 -1
  44. package/dist/models/CreateUserGroupRequest.d.ts +2 -2
  45. package/dist/models/CreateUserGroupResponseBody.d.ts +5 -5
  46. package/dist/models/CreateUserRequest.d.ts +7 -7
  47. package/dist/models/CreateUserResponseBody.d.ts +2 -2
  48. package/dist/models/CreateUserShrinkRequest.d.ts +7 -7
  49. package/dist/models/CreateWorkflowTemplateDraftVersionRequest.d.ts +6 -6
  50. package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.d.ts +64 -24
  51. package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.js +14 -0
  52. package/dist/models/CreateWorkflowTemplateDraftVersionResponseBody.js.map +1 -1
  53. package/dist/models/CreateWorkflowTemplateRequest.d.ts +6 -3
  54. package/dist/models/CreateWorkflowTemplateRequest.js.map +1 -1
  55. package/dist/models/CreateWorkflowTemplateResponseBody.d.ts +59 -19
  56. package/dist/models/CreateWorkflowTemplateResponseBody.js +14 -0
  57. package/dist/models/CreateWorkflowTemplateResponseBody.js.map +1 -1
  58. package/dist/models/CreateWorkflowTemplateShrinkRequest.d.ts +6 -3
  59. package/dist/models/CreateWorkflowTemplateShrinkRequest.js.map +1 -1
  60. package/dist/models/DeleteAppResourcePermissionsRequest.d.ts +8 -8
  61. package/dist/models/DeleteAppResourcePermissionsResponseBody.d.ts +2 -2
  62. package/dist/models/DeleteAppResourcePermissionsShrinkRequest.d.ts +3 -3
  63. package/dist/models/ExportWorkflowTemplateRequest.d.ts +3 -3
  64. package/dist/models/ExportWorkflowTemplateResponseBody.d.ts +45 -9
  65. package/dist/models/ExportWorkflowTemplateResponseBody.js +14 -0
  66. package/dist/models/ExportWorkflowTemplateResponseBody.js.map +1 -1
  67. package/dist/models/GenerateWorkflowTemplateDraftRequest.d.ts +3 -3
  68. package/dist/models/GenerateWorkflowTemplateDraftResponseBody.d.ts +52 -14
  69. package/dist/models/GenerateWorkflowTemplateDraftResponseBody.js +14 -0
  70. package/dist/models/GenerateWorkflowTemplateDraftResponseBody.js.map +1 -1
  71. package/dist/models/GenerateWorkflowTemplateDraftShrinkRequest.d.ts +3 -3
  72. package/dist/models/GetAgentWorkLogRequest.d.ts +1 -1
  73. package/dist/models/GetAgentWorkLogResponseBody.d.ts +7 -7
  74. package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.d.ts +41 -0
  75. package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.js +62 -0
  76. package/dist/models/GetCollaborationGroupOutputItemPreviewRequest.js.map +1 -0
  77. package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.d.ts +19 -0
  78. package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.js +69 -0
  79. package/dist/models/GetCollaborationGroupOutputItemPreviewResponse.js.map +1 -0
  80. package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.d.ts +101 -0
  81. package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.js +78 -0
  82. package/dist/models/GetCollaborationGroupOutputItemPreviewResponseBody.js.map +1 -0
  83. package/dist/models/GetMemoryAutoExtractionSwitchRequest.d.ts +1 -1
  84. package/dist/models/GetScheduledTaskConversationRecordsRequest.d.ts +61 -0
  85. package/dist/models/GetScheduledTaskConversationRecordsRequest.js +68 -0
  86. package/dist/models/GetScheduledTaskConversationRecordsRequest.js.map +1 -0
  87. package/dist/models/GetScheduledTaskConversationRecordsResponse.d.ts +19 -0
  88. package/dist/models/GetScheduledTaskConversationRecordsResponse.js +69 -0
  89. package/dist/models/GetScheduledTaskConversationRecordsResponse.js.map +1 -0
  90. package/dist/models/GetScheduledTaskConversationRecordsResponseBody.d.ts +233 -0
  91. package/dist/models/GetScheduledTaskConversationRecordsResponseBody.js +144 -0
  92. package/dist/models/GetScheduledTaskConversationRecordsResponseBody.js.map +1 -0
  93. package/dist/models/GetScheduledTaskExecutionDetailRequest.d.ts +1 -1
  94. package/dist/models/GetScheduledTaskExecutionDetailResponseBody.d.ts +26 -10
  95. package/dist/models/GetScheduledTaskExecutionDetailResponseBody.js +4 -0
  96. package/dist/models/GetScheduledTaskExecutionDetailResponseBody.js.map +1 -1
  97. package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +6 -14
  98. package/dist/models/GetScheduledTaskExecutionRecordsRequest.js.map +1 -1
  99. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +27 -14
  100. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.js +4 -0
  101. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.js.map +1 -1
  102. package/dist/models/GetSkillRequest.d.ts +3 -3
  103. package/dist/models/GetSkillResponseBody.d.ts +18 -18
  104. package/dist/models/GetSkillRunRequest.d.ts +2 -2
  105. package/dist/models/GetSkillRunResponseBody.d.ts +12 -6
  106. package/dist/models/GetSkillRunResponseBody.js.map +1 -1
  107. package/dist/models/GetSourceRequest.d.ts +1 -1
  108. package/dist/models/GetSourceResponseBody.d.ts +25 -24
  109. package/dist/models/GetSourceResponseBody.js.map +1 -1
  110. package/dist/models/GetUserInfoResponseBody.d.ts +11 -11
  111. package/dist/models/GetUserRequest.d.ts +2 -2
  112. package/dist/models/GetUserResponseBody.d.ts +6 -6
  113. package/dist/models/GetWorkItemAuditRequest.d.ts +41 -0
  114. package/dist/models/GetWorkItemAuditRequest.js +62 -0
  115. package/dist/models/GetWorkItemAuditRequest.js.map +1 -0
  116. package/dist/models/GetWorkItemAuditResponse.d.ts +19 -0
  117. package/dist/models/GetWorkItemAuditResponse.js +69 -0
  118. package/dist/models/GetWorkItemAuditResponse.js.map +1 -0
  119. package/dist/models/GetWorkItemAuditResponseBody.d.ts +153 -0
  120. package/dist/models/GetWorkItemAuditResponseBody.js +111 -0
  121. package/dist/models/GetWorkItemAuditResponseBody.js.map +1 -0
  122. package/dist/models/GetWorkItemRunSummariesRequest.d.ts +49 -0
  123. package/dist/models/GetWorkItemRunSummariesRequest.js +64 -0
  124. package/dist/models/GetWorkItemRunSummariesRequest.js.map +1 -0
  125. package/dist/models/GetWorkItemRunSummariesResponse.d.ts +19 -0
  126. package/dist/models/GetWorkItemRunSummariesResponse.js +69 -0
  127. package/dist/models/GetWorkItemRunSummariesResponse.js.map +1 -0
  128. package/dist/models/GetWorkItemRunSummariesResponseBody.d.ts +237 -0
  129. package/dist/models/GetWorkItemRunSummariesResponseBody.js +149 -0
  130. package/dist/models/GetWorkItemRunSummariesResponseBody.js.map +1 -0
  131. package/dist/models/GetWorkflowNodeConfigurationRequest.d.ts +51 -0
  132. package/dist/models/GetWorkflowNodeConfigurationRequest.js +64 -0
  133. package/dist/models/GetWorkflowNodeConfigurationRequest.js.map +1 -0
  134. package/dist/models/GetWorkflowNodeConfigurationResponse.d.ts +19 -0
  135. package/dist/models/GetWorkflowNodeConfigurationResponse.js +69 -0
  136. package/dist/models/GetWorkflowNodeConfigurationResponse.js.map +1 -0
  137. package/dist/models/GetWorkflowNodeConfigurationResponseBody.d.ts +269 -0
  138. package/dist/models/GetWorkflowNodeConfigurationResponseBody.js +197 -0
  139. package/dist/models/GetWorkflowNodeConfigurationResponseBody.js.map +1 -0
  140. package/dist/models/GetWorkflowTemplateRequest.d.ts +2 -2
  141. package/dist/models/GetWorkflowTemplateResponseBody.d.ts +53 -21
  142. package/dist/models/GetWorkflowTemplateResponseBody.js +14 -0
  143. package/dist/models/GetWorkflowTemplateResponseBody.js.map +1 -1
  144. package/dist/models/ImportWorkflowTemplateRequest.d.ts +5 -5
  145. package/dist/models/ImportWorkflowTemplateResponseBody.d.ts +58 -23
  146. package/dist/models/ImportWorkflowTemplateResponseBody.js +14 -0
  147. package/dist/models/ImportWorkflowTemplateResponseBody.js.map +1 -1
  148. package/dist/models/ImportWorkflowTemplateShrinkRequest.d.ts +5 -5
  149. package/dist/models/ListAppResourcePermissionRecordsRequest.d.ts +9 -9
  150. package/dist/models/ListAppResourcePermissionRecordsResponseBody.d.ts +9 -9
  151. package/dist/models/ListAppResourcePermissionRecordsShrinkRequest.d.ts +9 -9
  152. package/dist/models/ListAppResourceUserPermissionsRequest.d.ts +9 -9
  153. package/dist/models/ListAppResourceUserPermissionsResponseBody.d.ts +6 -6
  154. package/dist/models/ListAppResourceUserPermissionsShrinkRequest.d.ts +9 -9
  155. package/dist/models/ListCollaborationGroupMembersRequest.d.ts +55 -0
  156. package/dist/models/ListCollaborationGroupMembersRequest.js +66 -0
  157. package/dist/models/ListCollaborationGroupMembersRequest.js.map +1 -0
  158. package/dist/models/ListCollaborationGroupMembersResponse.d.ts +19 -0
  159. package/dist/models/ListCollaborationGroupMembersResponse.js +69 -0
  160. package/dist/models/ListCollaborationGroupMembersResponse.js.map +1 -0
  161. package/dist/models/ListCollaborationGroupMembersResponseBody.d.ts +113 -0
  162. package/dist/models/ListCollaborationGroupMembersResponseBody.js +98 -0
  163. package/dist/models/ListCollaborationGroupMembersResponseBody.js.map +1 -0
  164. package/dist/models/ListCollaborationGroupsRequest.d.ts +45 -0
  165. package/dist/models/ListCollaborationGroupsRequest.js +64 -0
  166. package/dist/models/ListCollaborationGroupsRequest.js.map +1 -0
  167. package/dist/models/ListCollaborationGroupsResponse.d.ts +19 -0
  168. package/dist/models/ListCollaborationGroupsResponse.js +69 -0
  169. package/dist/models/ListCollaborationGroupsResponse.js.map +1 -0
  170. package/dist/models/ListCollaborationGroupsResponseBody.d.ts +113 -0
  171. package/dist/models/ListCollaborationGroupsResponseBody.js +98 -0
  172. package/dist/models/ListCollaborationGroupsResponseBody.js.map +1 -0
  173. package/dist/models/ListInstanceNodesRequest.d.ts +1 -1
  174. package/dist/models/ListInstanceNodesResponseBody.d.ts +10 -10
  175. package/dist/models/ListOutputFilesRequest.d.ts +15 -7
  176. package/dist/models/ListOutputFilesRequest.js +2 -0
  177. package/dist/models/ListOutputFilesRequest.js.map +1 -1
  178. package/dist/models/ListOutputFilesResponseBody.d.ts +26 -26
  179. package/dist/models/ListOutputFilesShrinkRequest.d.ts +15 -7
  180. package/dist/models/ListOutputFilesShrinkRequest.js +2 -0
  181. package/dist/models/ListOutputFilesShrinkRequest.js.map +1 -1
  182. package/dist/models/ListScheduledTasksRequest.d.ts +11 -16
  183. package/dist/models/ListScheduledTasksRequest.js.map +1 -1
  184. package/dist/models/ListScheduledTasksResponseBody.d.ts +26 -25
  185. package/dist/models/ListScheduledTasksResponseBody.js +2 -0
  186. package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
  187. package/dist/models/ListScheduledTasksShrinkRequest.d.ts +11 -16
  188. package/dist/models/ListScheduledTasksShrinkRequest.js.map +1 -1
  189. package/dist/models/ListSourceUsageStatisticsRequest.d.ts +123 -0
  190. package/dist/models/ListSourceUsageStatisticsRequest.js +88 -0
  191. package/dist/models/ListSourceUsageStatisticsRequest.js.map +1 -0
  192. package/dist/models/ListSourceUsageStatisticsResponse.d.ts +19 -0
  193. package/dist/models/ListSourceUsageStatisticsResponse.js +69 -0
  194. package/dist/models/ListSourceUsageStatisticsResponse.js.map +1 -0
  195. package/dist/models/ListSourceUsageStatisticsResponseBody.d.ts +137 -0
  196. package/dist/models/ListSourceUsageStatisticsResponseBody.js +104 -0
  197. package/dist/models/ListSourceUsageStatisticsResponseBody.js.map +1 -0
  198. package/dist/models/ListSourceUsageStatisticsShrinkRequest.d.ts +123 -0
  199. package/dist/models/ListSourceUsageStatisticsShrinkRequest.js +82 -0
  200. package/dist/models/ListSourceUsageStatisticsShrinkRequest.js.map +1 -0
  201. package/dist/models/ListTenantDirectoryRequest.d.ts +7 -7
  202. package/dist/models/ListTenantDirectoryResponseBody.d.ts +8 -8
  203. package/dist/models/ListUserVisibleKnowledgeBaseContentsRequest.d.ts +8 -8
  204. package/dist/models/ListUserVisibleKnowledgeBaseContentsResponseBody.d.ts +19 -19
  205. package/dist/models/ListUsersRequest.d.ts +10 -10
  206. package/dist/models/ListUsersResponseBody.d.ts +5 -6
  207. package/dist/models/ListUsersResponseBody.js.map +1 -1
  208. package/dist/models/ListUsersShrinkRequest.d.ts +10 -10
  209. package/dist/models/ListWorkflowTemplatesRequest.d.ts +4 -4
  210. package/dist/models/ListWorkflowTemplatesResponseBody.d.ts +14 -16
  211. package/dist/models/ListWorkflowTemplatesResponseBody.js.map +1 -1
  212. package/dist/models/MarkTodosReadRequest.d.ts +3 -3
  213. package/dist/models/MarkTodosReadResponseBody.d.ts +2 -2
  214. package/dist/models/MarkTodosReadShrinkRequest.d.ts +3 -3
  215. package/dist/models/QuerySourceUsageSummaryRequest.d.ts +87 -0
  216. package/dist/models/QuerySourceUsageSummaryRequest.js +80 -0
  217. package/dist/models/QuerySourceUsageSummaryRequest.js.map +1 -0
  218. package/dist/models/QuerySourceUsageSummaryResponse.d.ts +19 -0
  219. package/dist/models/QuerySourceUsageSummaryResponse.js +69 -0
  220. package/dist/models/QuerySourceUsageSummaryResponse.js.map +1 -0
  221. package/dist/models/QuerySourceUsageSummaryResponseBody.d.ts +77 -0
  222. package/dist/models/QuerySourceUsageSummaryResponseBody.js +72 -0
  223. package/dist/models/QuerySourceUsageSummaryResponseBody.js.map +1 -0
  224. package/dist/models/QuerySourceUsageSummaryShrinkRequest.d.ts +87 -0
  225. package/dist/models/QuerySourceUsageSummaryShrinkRequest.js +74 -0
  226. package/dist/models/QuerySourceUsageSummaryShrinkRequest.js.map +1 -0
  227. package/dist/models/QuerySourceUsageTrendRequest.d.ts +109 -0
  228. package/dist/models/QuerySourceUsageTrendRequest.js +84 -0
  229. package/dist/models/QuerySourceUsageTrendRequest.js.map +1 -0
  230. package/dist/models/QuerySourceUsageTrendResponse.d.ts +19 -0
  231. package/dist/models/QuerySourceUsageTrendResponse.js +69 -0
  232. package/dist/models/QuerySourceUsageTrendResponse.js.map +1 -0
  233. package/dist/models/QuerySourceUsageTrendResponseBody.d.ts +105 -0
  234. package/dist/models/QuerySourceUsageTrendResponseBody.js +96 -0
  235. package/dist/models/QuerySourceUsageTrendResponseBody.js.map +1 -0
  236. package/dist/models/QuerySourceUsageTrendShrinkRequest.d.ts +109 -0
  237. package/dist/models/QuerySourceUsageTrendShrinkRequest.js +78 -0
  238. package/dist/models/QuerySourceUsageTrendShrinkRequest.js.map +1 -0
  239. package/dist/models/RegisterAppResourcePermissionsRequest.d.ts +6 -6
  240. package/dist/models/RegisterAppResourcePermissionsResponseBody.d.ts +7 -7
  241. package/dist/models/RegisterAppResourcePermissionsShrinkRequest.d.ts +3 -3
  242. package/dist/models/ReplaceManualMemoryRequest.d.ts +4 -2
  243. package/dist/models/ReplaceManualMemoryRequest.js.map +1 -1
  244. package/dist/models/ReplaceManualMemoryResponseBody.d.ts +1 -1
  245. package/dist/models/RerunWorkflowNodeRequest.d.ts +51 -0
  246. package/dist/models/RerunWorkflowNodeRequest.js +64 -0
  247. package/dist/models/RerunWorkflowNodeRequest.js.map +1 -0
  248. package/dist/models/RerunWorkflowNodeResponse.d.ts +19 -0
  249. package/dist/models/RerunWorkflowNodeResponse.js +69 -0
  250. package/dist/models/RerunWorkflowNodeResponse.js.map +1 -0
  251. package/dist/models/RerunWorkflowNodeResponseBody.d.ts +77 -0
  252. package/dist/models/RerunWorkflowNodeResponseBody.js +75 -0
  253. package/dist/models/RerunWorkflowNodeResponseBody.js.map +1 -0
  254. package/dist/models/ResetWorkflowNodeConfigurationRequest.d.ts +61 -0
  255. package/dist/models/ResetWorkflowNodeConfigurationRequest.js +66 -0
  256. package/dist/models/ResetWorkflowNodeConfigurationRequest.js.map +1 -0
  257. package/dist/models/ResetWorkflowNodeConfigurationResponse.d.ts +19 -0
  258. package/dist/models/ResetWorkflowNodeConfigurationResponse.js +69 -0
  259. package/dist/models/ResetWorkflowNodeConfigurationResponse.js.map +1 -0
  260. package/dist/models/ResetWorkflowNodeConfigurationResponseBody.d.ts +269 -0
  261. package/dist/models/ResetWorkflowNodeConfigurationResponseBody.js +197 -0
  262. package/dist/models/ResetWorkflowNodeConfigurationResponseBody.js.map +1 -0
  263. package/dist/models/SendAsyncChatMessageRequest.d.ts +228 -0
  264. package/dist/models/SendAsyncChatMessageRequest.js +109 -1
  265. package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
  266. package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +32 -0
  267. package/dist/models/SendAsyncChatMessageShrinkRequest.js +8 -0
  268. package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
  269. package/dist/models/SendChatMessageRequest.d.ts +240 -17
  270. package/dist/models/SendChatMessageRequest.js +109 -1
  271. package/dist/models/SendChatMessageRequest.js.map +1 -1
  272. package/dist/models/SendChatMessageResponseBody.d.ts +2 -7
  273. package/dist/models/SendChatMessageResponseBody.js.map +1 -1
  274. package/dist/models/SendChatMessageShrinkRequest.d.ts +41 -14
  275. package/dist/models/SendChatMessageShrinkRequest.js +8 -0
  276. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  277. package/dist/models/SendWorkItemMessageRequest.d.ts +57 -0
  278. package/dist/models/SendWorkItemMessageRequest.js +66 -0
  279. package/dist/models/SendWorkItemMessageRequest.js.map +1 -0
  280. package/dist/models/SendWorkItemMessageResponse.d.ts +19 -0
  281. package/dist/models/SendWorkItemMessageResponse.js +69 -0
  282. package/dist/models/SendWorkItemMessageResponse.js.map +1 -0
  283. package/dist/models/SendWorkItemMessageResponseBody.d.ts +69 -0
  284. package/dist/models/SendWorkItemMessageResponseBody.js +70 -0
  285. package/dist/models/SendWorkItemMessageResponseBody.js.map +1 -0
  286. package/dist/models/SetWorkflowTemplateEffectiveVersionRequest.d.ts +6 -6
  287. package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.d.ts +61 -29
  288. package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.js +14 -0
  289. package/dist/models/SetWorkflowTemplateEffectiveVersionResponseBody.js.map +1 -1
  290. package/dist/models/SubmitTodoRequest.d.ts +4 -4
  291. package/dist/models/SubmitTodoResponseBody.d.ts +6 -6
  292. package/dist/models/SubmitTodoShrinkRequest.d.ts +3 -3
  293. package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +8 -2
  294. package/dist/models/TranscribeChatVoiceAdvanceRequest.js +2 -0
  295. package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -1
  296. package/dist/models/TranscribeChatVoiceRequest.d.ts +8 -2
  297. package/dist/models/TranscribeChatVoiceRequest.js +2 -0
  298. package/dist/models/TranscribeChatVoiceRequest.js.map +1 -1
  299. package/dist/models/TransferTodoRequest.d.ts +4 -4
  300. package/dist/models/TransferTodoResponseBody.d.ts +2 -2
  301. package/dist/models/TransferTodoShrinkRequest.d.ts +4 -4
  302. package/dist/models/UpdateMemoryAutoExtractionSwitchRequest.d.ts +5 -3
  303. package/dist/models/UpdateMemoryAutoExtractionSwitchRequest.js.map +1 -1
  304. package/dist/models/UpdateMemoryAutoExtractionSwitchResponseBody.d.ts +2 -2
  305. package/dist/models/UpdateScheduledTaskRequest.d.ts +8 -0
  306. package/dist/models/UpdateScheduledTaskRequest.js +2 -0
  307. package/dist/models/UpdateScheduledTaskRequest.js.map +1 -1
  308. package/dist/models/UpdateScheduledTaskShrinkRequest.d.ts +8 -0
  309. package/dist/models/UpdateScheduledTaskShrinkRequest.js +2 -0
  310. package/dist/models/UpdateScheduledTaskShrinkRequest.js.map +1 -1
  311. package/dist/models/UpdateUserGroupRequest.d.ts +10 -10
  312. package/dist/models/UpdateUserGroupResponseBody.d.ts +5 -5
  313. package/dist/models/UpdateWorkflowNodeConfigurationRequest.d.ts +117 -0
  314. package/dist/models/UpdateWorkflowNodeConfigurationRequest.js +99 -0
  315. package/dist/models/UpdateWorkflowNodeConfigurationRequest.js.map +1 -0
  316. package/dist/models/UpdateWorkflowNodeConfigurationResponse.d.ts +19 -0
  317. package/dist/models/UpdateWorkflowNodeConfigurationResponse.js +69 -0
  318. package/dist/models/UpdateWorkflowNodeConfigurationResponse.js.map +1 -0
  319. package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.d.ts +269 -0
  320. package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.js +197 -0
  321. package/dist/models/UpdateWorkflowNodeConfigurationResponseBody.js.map +1 -0
  322. package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.d.ts +85 -0
  323. package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.js +72 -0
  324. package/dist/models/UpdateWorkflowNodeConfigurationShrinkRequest.js.map +1 -0
  325. package/dist/models/UpdateWorkflowTemplateRequest.d.ts +12 -12
  326. package/dist/models/UpdateWorkflowTemplateResponseBody.d.ts +50 -14
  327. package/dist/models/UpdateWorkflowTemplateResponseBody.js +14 -0
  328. package/dist/models/UpdateWorkflowTemplateResponseBody.js.map +1 -1
  329. package/dist/models/UpdateWorkflowTemplateShrinkRequest.d.ts +12 -12
  330. package/dist/models/UploadChatFileByBase64request.d.ts +49 -0
  331. package/dist/models/UploadChatFileByBase64request.js +64 -0
  332. package/dist/models/UploadChatFileByBase64request.js.map +1 -0
  333. package/dist/models/UploadChatFileByBase64response.d.ts +19 -0
  334. package/dist/models/UploadChatFileByBase64response.js +69 -0
  335. package/dist/models/UploadChatFileByBase64response.js.map +1 -0
  336. package/dist/models/UploadChatFileByBase64responseBody.d.ts +45 -0
  337. package/dist/models/UploadChatFileByBase64responseBody.js +64 -0
  338. package/dist/models/UploadChatFileByBase64responseBody.js.map +1 -0
  339. package/dist/models/model.d.ts +84 -0
  340. package/dist/models/model.js +195 -25
  341. package/dist/models/model.js.map +1 -1
  342. package/package.json +2 -1
  343. package/src/client.ts +1643 -275
  344. package/src/models/BatchCancelTodosRequest.ts +3 -3
  345. package/src/models/BatchCancelTodosResponseBody.ts +1 -1
  346. package/src/models/BatchCancelTodosShrinkRequest.ts +3 -3
  347. package/src/models/CheckAppResourcePermissionRequest.ts +2 -2
  348. package/src/models/CheckAppResourcePermissionResponseBody.ts +4 -4
  349. package/src/models/CheckAppResourcePermissionsBatchRequest.ts +6 -6
  350. package/src/models/CheckAppResourcePermissionsBatchResponseBody.ts +4 -4
  351. package/src/models/CheckAppResourcePermissionsBatchShrinkRequest.ts +5 -5
  352. package/src/models/ClearAutoMemoryRequest.ts +3 -5
  353. package/src/models/ConvertDirectConversationToWorkRequest.ts +46 -0
  354. package/src/models/ConvertDirectConversationToWorkResponse.ts +40 -0
  355. package/src/models/ConvertDirectConversationToWorkResponseBody.ts +154 -0
  356. package/src/models/CreateConversationResponseBody.ts +3 -0
  357. package/src/models/CreateFreeExplorationWorkItemRequest.ts +96 -0
  358. package/src/models/CreateFreeExplorationWorkItemResponse.ts +40 -0
  359. package/src/models/CreateFreeExplorationWorkItemResponseBody.ts +140 -0
  360. package/src/models/CreateFreeExplorationWorkItemShrinkRequest.ts +90 -0
  361. package/src/models/CreateScheduledTaskRequest.ts +49 -48
  362. package/src/models/CreateScheduledTaskResponseBody.ts +1 -1
  363. package/src/models/CreateScheduledTaskShrinkRequest.ts +20 -19
  364. package/src/models/CreateUserGroupRequest.ts +2 -2
  365. package/src/models/CreateUserGroupResponseBody.ts +5 -5
  366. package/src/models/CreateUserRequest.ts +7 -7
  367. package/src/models/CreateUserResponseBody.ts +2 -2
  368. package/src/models/CreateUserShrinkRequest.ts +7 -7
  369. package/src/models/CreateWorkflowTemplateDraftVersionRequest.ts +6 -6
  370. package/src/models/CreateWorkflowTemplateDraftVersionResponseBody.ts +74 -24
  371. package/src/models/CreateWorkflowTemplateRequest.ts +6 -3
  372. package/src/models/CreateWorkflowTemplateResponseBody.ts +69 -19
  373. package/src/models/CreateWorkflowTemplateShrinkRequest.ts +6 -3
  374. package/src/models/DeleteAppResourcePermissionsRequest.ts +8 -8
  375. package/src/models/DeleteAppResourcePermissionsResponseBody.ts +2 -2
  376. package/src/models/DeleteAppResourcePermissionsShrinkRequest.ts +3 -3
  377. package/src/models/ExportWorkflowTemplateRequest.ts +3 -3
  378. package/src/models/ExportWorkflowTemplateResponseBody.ts +55 -9
  379. package/src/models/GenerateWorkflowTemplateDraftRequest.ts +3 -3
  380. package/src/models/GenerateWorkflowTemplateDraftResponseBody.ts +62 -14
  381. package/src/models/GenerateWorkflowTemplateDraftShrinkRequest.ts +3 -3
  382. package/src/models/GetAgentWorkLogRequest.ts +1 -1
  383. package/src/models/GetAgentWorkLogResponseBody.ts +7 -7
  384. package/src/models/GetCollaborationGroupOutputItemPreviewRequest.ts +58 -0
  385. package/src/models/GetCollaborationGroupOutputItemPreviewResponse.ts +40 -0
  386. package/src/models/GetCollaborationGroupOutputItemPreviewResponseBody.ts +134 -0
  387. package/src/models/GetMemoryAutoExtractionSwitchRequest.ts +1 -1
  388. package/src/models/GetScheduledTaskConversationRecordsRequest.ts +84 -0
  389. package/src/models/GetScheduledTaskConversationRecordsResponse.ts +40 -0
  390. package/src/models/GetScheduledTaskConversationRecordsResponseBody.ts +314 -0
  391. package/src/models/GetScheduledTaskExecutionDetailRequest.ts +1 -1
  392. package/src/models/GetScheduledTaskExecutionDetailResponseBody.ts +30 -10
  393. package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +6 -14
  394. package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +31 -14
  395. package/src/models/GetSkillRequest.ts +3 -3
  396. package/src/models/GetSkillResponseBody.ts +18 -18
  397. package/src/models/GetSkillRunRequest.ts +2 -2
  398. package/src/models/GetSkillRunResponseBody.ts +12 -6
  399. package/src/models/GetSourceRequest.ts +1 -1
  400. package/src/models/GetSourceResponseBody.ts +25 -24
  401. package/src/models/GetUserInfoResponseBody.ts +11 -11
  402. package/src/models/GetUserRequest.ts +2 -2
  403. package/src/models/GetUserResponseBody.ts +6 -6
  404. package/src/models/GetWorkItemAuditRequest.ts +58 -0
  405. package/src/models/GetWorkItemAuditResponse.ts +40 -0
  406. package/src/models/GetWorkItemAuditResponseBody.ts +210 -0
  407. package/src/models/GetWorkItemRunSummariesRequest.ts +68 -0
  408. package/src/models/GetWorkItemRunSummariesResponse.ts +40 -0
  409. package/src/models/GetWorkItemRunSummariesResponseBody.ts +323 -0
  410. package/src/models/GetWorkflowNodeConfigurationRequest.ts +70 -0
  411. package/src/models/GetWorkflowNodeConfigurationResponse.ts +40 -0
  412. package/src/models/GetWorkflowNodeConfigurationResponseBody.ts +385 -0
  413. package/src/models/GetWorkflowTemplateRequest.ts +2 -2
  414. package/src/models/GetWorkflowTemplateResponseBody.ts +63 -21
  415. package/src/models/ImportWorkflowTemplateRequest.ts +5 -5
  416. package/src/models/ImportWorkflowTemplateResponseBody.ts +68 -23
  417. package/src/models/ImportWorkflowTemplateShrinkRequest.ts +5 -5
  418. package/src/models/ListAppResourcePermissionRecordsRequest.ts +9 -9
  419. package/src/models/ListAppResourcePermissionRecordsResponseBody.ts +9 -9
  420. package/src/models/ListAppResourcePermissionRecordsShrinkRequest.ts +9 -9
  421. package/src/models/ListAppResourceUserPermissionsRequest.ts +9 -9
  422. package/src/models/ListAppResourceUserPermissionsResponseBody.ts +6 -6
  423. package/src/models/ListAppResourceUserPermissionsShrinkRequest.ts +9 -9
  424. package/src/models/ListCollaborationGroupMembersRequest.ts +76 -0
  425. package/src/models/ListCollaborationGroupMembersResponse.ts +40 -0
  426. package/src/models/ListCollaborationGroupMembersResponseBody.ts +157 -0
  427. package/src/models/ListCollaborationGroupsRequest.ts +64 -0
  428. package/src/models/ListCollaborationGroupsResponse.ts +40 -0
  429. package/src/models/ListCollaborationGroupsResponseBody.ts +157 -0
  430. package/src/models/ListInstanceNodesRequest.ts +1 -1
  431. package/src/models/ListInstanceNodesResponseBody.ts +10 -10
  432. package/src/models/ListOutputFilesRequest.ts +17 -7
  433. package/src/models/ListOutputFilesResponseBody.ts +26 -26
  434. package/src/models/ListOutputFilesShrinkRequest.ts +17 -7
  435. package/src/models/ListScheduledTasksRequest.ts +11 -16
  436. package/src/models/ListScheduledTasksResponseBody.ts +28 -25
  437. package/src/models/ListScheduledTasksShrinkRequest.ts +11 -16
  438. package/src/models/ListSourceUsageStatisticsRequest.ts +166 -0
  439. package/src/models/ListSourceUsageStatisticsResponse.ts +40 -0
  440. package/src/models/ListSourceUsageStatisticsResponseBody.ts +187 -0
  441. package/src/models/ListSourceUsageStatisticsShrinkRequest.ts +160 -0
  442. package/src/models/ListTenantDirectoryRequest.ts +7 -7
  443. package/src/models/ListTenantDirectoryResponseBody.ts +8 -8
  444. package/src/models/ListUserVisibleKnowledgeBaseContentsRequest.ts +8 -8
  445. package/src/models/ListUserVisibleKnowledgeBaseContentsResponseBody.ts +19 -19
  446. package/src/models/ListUsersRequest.ts +10 -10
  447. package/src/models/ListUsersResponseBody.ts +5 -6
  448. package/src/models/ListUsersShrinkRequest.ts +10 -10
  449. package/src/models/ListWorkflowTemplatesRequest.ts +4 -4
  450. package/src/models/ListWorkflowTemplatesResponseBody.ts +14 -16
  451. package/src/models/MarkTodosReadRequest.ts +3 -3
  452. package/src/models/MarkTodosReadResponseBody.ts +2 -2
  453. package/src/models/MarkTodosReadShrinkRequest.ts +3 -3
  454. package/src/models/QuerySourceUsageSummaryRequest.ts +122 -0
  455. package/src/models/QuerySourceUsageSummaryResponse.ts +40 -0
  456. package/src/models/QuerySourceUsageSummaryResponseBody.ts +104 -0
  457. package/src/models/QuerySourceUsageSummaryShrinkRequest.ts +116 -0
  458. package/src/models/QuerySourceUsageTrendRequest.ts +148 -0
  459. package/src/models/QuerySourceUsageTrendResponse.ts +40 -0
  460. package/src/models/QuerySourceUsageTrendResponseBody.ts +147 -0
  461. package/src/models/QuerySourceUsageTrendShrinkRequest.ts +142 -0
  462. package/src/models/RegisterAppResourcePermissionsRequest.ts +6 -6
  463. package/src/models/RegisterAppResourcePermissionsResponseBody.ts +7 -7
  464. package/src/models/RegisterAppResourcePermissionsShrinkRequest.ts +3 -3
  465. package/src/models/ReplaceManualMemoryRequest.ts +4 -2
  466. package/src/models/ReplaceManualMemoryResponseBody.ts +1 -1
  467. package/src/models/RerunWorkflowNodeRequest.ts +70 -0
  468. package/src/models/RerunWorkflowNodeResponse.ts +40 -0
  469. package/src/models/RerunWorkflowNodeResponseBody.ts +107 -0
  470. package/src/models/ResetWorkflowNodeConfigurationRequest.ts +82 -0
  471. package/src/models/ResetWorkflowNodeConfigurationResponse.ts +40 -0
  472. package/src/models/ResetWorkflowNodeConfigurationResponseBody.ts +385 -0
  473. package/src/models/SendAsyncChatMessageRequest.ts +309 -0
  474. package/src/models/SendAsyncChatMessageShrinkRequest.ts +40 -0
  475. package/src/models/SendChatMessageRequest.ts +321 -17
  476. package/src/models/SendChatMessageResponseBody.ts +2 -7
  477. package/src/models/SendChatMessageShrinkRequest.ts +49 -14
  478. package/src/models/SendWorkItemMessageRequest.ts +78 -0
  479. package/src/models/SendWorkItemMessageResponse.ts +40 -0
  480. package/src/models/SendWorkItemMessageResponseBody.ts +94 -0
  481. package/src/models/SetWorkflowTemplateEffectiveVersionRequest.ts +6 -6
  482. package/src/models/SetWorkflowTemplateEffectiveVersionResponseBody.ts +71 -29
  483. package/src/models/SubmitTodoRequest.ts +4 -4
  484. package/src/models/SubmitTodoResponseBody.ts +6 -6
  485. package/src/models/SubmitTodoShrinkRequest.ts +3 -3
  486. package/src/models/TranscribeChatVoiceAdvanceRequest.ts +10 -2
  487. package/src/models/TranscribeChatVoiceRequest.ts +10 -2
  488. package/src/models/TransferTodoRequest.ts +4 -4
  489. package/src/models/TransferTodoResponseBody.ts +2 -2
  490. package/src/models/TransferTodoShrinkRequest.ts +4 -4
  491. package/src/models/UpdateMemoryAutoExtractionSwitchRequest.ts +5 -3
  492. package/src/models/UpdateMemoryAutoExtractionSwitchResponseBody.ts +2 -2
  493. package/src/models/UpdateScheduledTaskRequest.ts +10 -0
  494. package/src/models/UpdateScheduledTaskShrinkRequest.ts +10 -0
  495. package/src/models/UpdateUserGroupRequest.ts +10 -10
  496. package/src/models/UpdateUserGroupResponseBody.ts +5 -5
  497. package/src/models/UpdateWorkflowNodeConfigurationRequest.ts +162 -0
  498. package/src/models/UpdateWorkflowNodeConfigurationResponse.ts +40 -0
  499. package/src/models/UpdateWorkflowNodeConfigurationResponseBody.ts +385 -0
  500. package/src/models/UpdateWorkflowNodeConfigurationShrinkRequest.ts +112 -0
  501. package/src/models/UpdateWorkflowTemplateRequest.ts +12 -12
  502. package/src/models/UpdateWorkflowTemplateResponseBody.ts +60 -14
  503. package/src/models/UpdateWorkflowTemplateShrinkRequest.ts +12 -12
  504. package/src/models/UploadChatFileByBase64request.ts +68 -0
  505. package/src/models/UploadChatFileByBase64response.ts +40 -0
  506. package/src/models/UploadChatFileByBase64responseBody.ts +64 -0
  507. package/src/models/model.ts +84 -0
package/dist/client.d.ts CHANGED
@@ -46,10 +46,10 @@ export default class Client extends OpenApi {
46
46
  */
47
47
  addUserGroupMembers(request: $_model.AddUserGroupMembersRequest): Promise<$_model.AddUserGroupMembersResponse>;
48
48
  /**
49
- * Cancels to-do items in batches.
49
+ * Cancels multiple to-do items.
50
50
  *
51
51
  * @remarks
52
- * Cancels to-do items in batches based on a set of to-do IDs. No error is reported for completed or non-existent items, ensuring idempotence.
52
+ * Cancels multiple to-do items based on a list of IDs. This operation is idempotent and does not return errors for completed or non-existent items.
53
53
  *
54
54
  * @param tmpReq - BatchCancelTodosRequest
55
55
  * @param headers - map
@@ -60,10 +60,10 @@ export default class Client extends OpenApi {
60
60
  [key: string]: string;
61
61
  }, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCancelTodosResponse>;
62
62
  /**
63
- * Cancels to-do items in batches.
63
+ * Cancels multiple to-do items.
64
64
  *
65
65
  * @remarks
66
- * Cancels to-do items in batches based on a set of to-do IDs. No error is reported for completed or non-existent items, ensuring idempotence.
66
+ * Cancels multiple to-do items based on a list of IDs. This operation is idempotent and does not return errors for completed or non-existent items.
67
67
  *
68
68
  * @param request - BatchCancelTodosRequest
69
69
  * @returns BatchCancelTodosResponse
@@ -142,10 +142,10 @@ export default class Client extends OpenApi {
142
142
  */
143
143
  cancelTodo(request: $_model.CancelTodoRequest): Promise<$_model.CancelTodoResponse>;
144
144
  /**
145
- * Checks resource permissions within an application.
145
+ * Checks the resource permissions within an application.
146
146
  *
147
147
  * @remarks
148
- * Requires the APP/VIEW permission to check your own permissions and the APP/MANAGE permission to check permissions on behalf of others.
148
+ * Requires the APP/VIEW permission for checking your own permissions and the APP/MANAGE permission for checking permissions on behalf of others.
149
149
  *
150
150
  * @param request - CheckAppResourcePermissionRequest
151
151
  * @param headers - map
@@ -156,20 +156,20 @@ export default class Client extends OpenApi {
156
156
  [key: string]: string;
157
157
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CheckAppResourcePermissionResponse>;
158
158
  /**
159
- * Checks resource permissions within an application.
159
+ * Checks the resource permissions within an application.
160
160
  *
161
161
  * @remarks
162
- * Requires the APP/VIEW permission to check your own permissions and the APP/MANAGE permission to check permissions on behalf of others.
162
+ * Requires the APP/VIEW permission for checking your own permissions and the APP/MANAGE permission for checking permissions on behalf of others.
163
163
  *
164
164
  * @param request - CheckAppResourcePermissionRequest
165
165
  * @returns CheckAppResourcePermissionResponse
166
166
  */
167
167
  checkAppResourcePermission(request: $_model.CheckAppResourcePermissionRequest): Promise<$_model.CheckAppResourcePermissionResponse>;
168
168
  /**
169
- * Checks resource permissions within applications in batches.
169
+ * Checks the permissions of resources within applications in batches.
170
170
  *
171
171
  * @remarks
172
- * After authenticating each application in the batch, reuses the constant-time query of the service.
172
+ * Authenticates applications in batches and reuses constant-time service queries.
173
173
  *
174
174
  * @param tmpReq - CheckAppResourcePermissionsBatchRequest
175
175
  * @param headers - map
@@ -180,10 +180,10 @@ export default class Client extends OpenApi {
180
180
  [key: string]: string;
181
181
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CheckAppResourcePermissionsBatchResponse>;
182
182
  /**
183
- * Checks resource permissions within applications in batches.
183
+ * Checks the permissions of resources within applications in batches.
184
184
  *
185
185
  * @remarks
186
- * After authenticating each application in the batch, reuses the constant-time query of the service.
186
+ * Authenticates applications in batches and reuses constant-time service queries.
187
187
  *
188
188
  * @param request - CheckAppResourcePermissionsBatchRequest
189
189
  * @returns CheckAppResourcePermissionsBatchResponse
@@ -211,7 +211,7 @@ export default class Client extends OpenApi {
211
211
  * Clears automatic memory.
212
212
  *
213
213
  * @remarks
214
- * Manages personal or specified writing workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
214
+ * Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits active member permissions.
215
215
  *
216
216
  * @param request - ClearAutoMemoryRequest
217
217
  * @param headers - map
@@ -225,7 +225,7 @@ export default class Client extends OpenApi {
225
225
  * Clears automatic memory.
226
226
  *
227
227
  * @remarks
228
- * Manages personal or specified writing workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
228
+ * Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits active member permissions.
229
229
  *
230
230
  * @param request - ClearAutoMemoryRequest
231
231
  * @returns ClearAutoMemoryResponse
@@ -279,6 +279,30 @@ export default class Client extends OpenApi {
279
279
  * @returns CloseWorkflowTodosResponse
280
280
  */
281
281
  closeWorkflowTodos(request: $_model.CloseWorkflowTodosRequest): Promise<$_model.CloseWorkflowTodosResponse>;
282
+ /**
283
+ * 将 direct 会话转换为 work 会话
284
+ *
285
+ * @remarks
286
+ * 将源会话当前有效、已完成的 direct 模型历史冻结并复制为新的 work 会话,源会话保留。混合会话仅转换 direct 历史,不补入普通 work 历史或只有展示记录的旧历史;转换范围不受 directMaxHistoryRounds 限制。转换本身不发起聊天或运行 Skill。对同一源会话重复调用用于查询或继续同一转换,最多产生一个成功目标,成功后始终返回原目标,源后续消息不自动同步。仅 status=succeeded 表示目标已可使用;processing 时继续使用同一源 sessionId 查询,不能向尚未就绪的目标发送消息、Fork 或分享。源正在生成时返回 SourceBusy,无有效模型历史时返回 NoConvertibleHistory,已成功的目标被删除或历史不可恢复时返回 ConvertedTargetUnavailable,不重建目标。仅允许本人可操作且具备 work 权限的普通会话,拒绝 group_shared、task_follow_up、skill_follow_up、skill_output_backfill 等受限来源;后台查看权不授予转换权。
287
+ *
288
+ * @param request - ConvertDirectConversationToWorkRequest
289
+ * @param headers - map
290
+ * @param runtime - runtime options for this request RuntimeOptions
291
+ * @returns ConvertDirectConversationToWorkResponse
292
+ */
293
+ convertDirectConversationToWorkWithOptions(request: $_model.ConvertDirectConversationToWorkRequest, headers: {
294
+ [key: string]: string;
295
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ConvertDirectConversationToWorkResponse>;
296
+ /**
297
+ * 将 direct 会话转换为 work 会话
298
+ *
299
+ * @remarks
300
+ * 将源会话当前有效、已完成的 direct 模型历史冻结并复制为新的 work 会话,源会话保留。混合会话仅转换 direct 历史,不补入普通 work 历史或只有展示记录的旧历史;转换范围不受 directMaxHistoryRounds 限制。转换本身不发起聊天或运行 Skill。对同一源会话重复调用用于查询或继续同一转换,最多产生一个成功目标,成功后始终返回原目标,源后续消息不自动同步。仅 status=succeeded 表示目标已可使用;processing 时继续使用同一源 sessionId 查询,不能向尚未就绪的目标发送消息、Fork 或分享。源正在生成时返回 SourceBusy,无有效模型历史时返回 NoConvertibleHistory,已成功的目标被删除或历史不可恢复时返回 ConvertedTargetUnavailable,不重建目标。仅允许本人可操作且具备 work 权限的普通会话,拒绝 group_shared、task_follow_up、skill_follow_up、skill_output_backfill 等受限来源;后台查看权不授予转换权。
301
+ *
302
+ * @param request - ConvertDirectConversationToWorkRequest
303
+ * @returns ConvertDirectConversationToWorkResponse
304
+ */
305
+ convertDirectConversationToWork(request: $_model.ConvertDirectConversationToWorkRequest): Promise<$_model.ConvertDirectConversationToWorkResponse>;
282
306
  /**
283
307
  * Retrieves the to-do badge statistics.
284
308
  *
@@ -389,6 +413,30 @@ export default class Client extends OpenApi {
389
413
  * @returns CreateCustomOrgResponse
390
414
  */
391
415
  createCustomOrg(request: $_model.CreateCustomOrgRequest): Promise<$_model.CreateCustomOrgResponse>;
416
+ /**
417
+ * Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
418
+ *
419
+ * @remarks
420
+ * Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope. This operation does not send messages or execute automatically. It is not idempotent. If a timeout occurs, call queryWorkItemFeed first.
421
+ *
422
+ * @param tmpReq - CreateFreeExplorationWorkItemRequest
423
+ * @param headers - map
424
+ * @param runtime - runtime options for this request RuntimeOptions
425
+ * @returns CreateFreeExplorationWorkItemResponse
426
+ */
427
+ createFreeExplorationWorkItemWithOptions(tmpReq: $_model.CreateFreeExplorationWorkItemRequest, headers: {
428
+ [key: string]: string;
429
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFreeExplorationWorkItemResponse>;
430
+ /**
431
+ * Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope.
432
+ *
433
+ * @remarks
434
+ * Creates a free exploration work item and a group topic that match the page settings, and configures digital workers and the visibility scope. This operation does not send messages or execute automatically. It is not idempotent. If a timeout occurs, call queryWorkItemFeed first.
435
+ *
436
+ * @param request - CreateFreeExplorationWorkItemRequest
437
+ * @returns CreateFreeExplorationWorkItemResponse
438
+ */
439
+ createFreeExplorationWorkItem(request: $_model.CreateFreeExplorationWorkItemRequest): Promise<$_model.CreateFreeExplorationWorkItemResponse>;
392
440
  /**
393
441
  * Creates a semantic graph and associates a data source.
394
442
  *
@@ -1393,14 +1441,14 @@ export default class Client extends OpenApi {
1393
1441
  * Creates a scheduled task.
1394
1442
  *
1395
1443
  * @remarks
1396
- * ## Operation description
1397
- * - This operation is used to upload files to an enterprise knowledge base.
1398
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
1399
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1400
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
1401
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
1402
- * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
1403
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1444
+ * ## Request description
1445
+ * - This API operation is used to upload files to the enterprise knowledge base.
1446
+ * - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
1447
+ * - You must provide the persistent OSS URL (filePath) of the file when uploading the file.
1448
+ * - Optional parameters include the public access URL and the original file name to enhance the completeness of the file information.
1449
+ * - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
1450
+ * - You can use sourceTags to add tags to resources for subsequent management and retrieval.
1451
+ * - This operation starts a billing bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1404
1452
  *
1405
1453
  * @param tmpReq - CreateScheduledTaskRequest
1406
1454
  * @param headers - map
@@ -1414,14 +1462,14 @@ export default class Client extends OpenApi {
1414
1462
  * Creates a scheduled task.
1415
1463
  *
1416
1464
  * @remarks
1417
- * ## Operation description
1418
- * - This operation is used to upload files to an enterprise knowledge base.
1419
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
1420
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1421
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
1422
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
1423
- * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
1424
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1465
+ * ## Request description
1466
+ * - This API operation is used to upload files to the enterprise knowledge base.
1467
+ * - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API operation.
1468
+ * - You must provide the persistent OSS URL (filePath) of the file when uploading the file.
1469
+ * - Optional parameters include the public access URL and the original file name to enhance the completeness of the file information.
1470
+ * - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
1471
+ * - You can use sourceTags to add tags to resources for subsequent management and retrieval.
1472
+ * - This operation starts a billing bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1425
1473
  *
1426
1474
  * @param request - CreateScheduledTaskRequest
1427
1475
  * @returns CreateScheduledTaskResponse
@@ -1489,16 +1537,16 @@ export default class Client extends OpenApi {
1489
1537
  * Creates a user and adds the user to a tenant.
1490
1538
  *
1491
1539
  * @remarks
1492
- * Creates a user by using OpenAPI.
1540
+ * Creates a user by calling the API.
1493
1541
  * Business orchestration:
1494
- * 1. Parses roleCodes into role_ids (validates against system role enumerations).
1542
+ * 1. Parses roleCodes into role_ids (validates against system role enums).
1495
1543
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
1496
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
1544
+ * 3. Calls UserManagementService.add_tenant_member to complete the creation or addition process (the password must be passed as an RSA ciphertext by the caller).
1497
1545
  * 4. Returns the creation result (including the isNewUser flag).
1498
1546
  * Error codes:
1499
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
1547
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
1500
1548
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
1501
- * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
1549
+ * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
1502
1550
  *
1503
1551
  * @param tmpReq - CreateUserRequest
1504
1552
  * @param headers - map
@@ -1512,26 +1560,30 @@ export default class Client extends OpenApi {
1512
1560
  * Creates a user and adds the user to a tenant.
1513
1561
  *
1514
1562
  * @remarks
1515
- * Creates a user by using OpenAPI.
1563
+ * Creates a user by calling the API.
1516
1564
  * Business orchestration:
1517
- * 1. Parses roleCodes into role_ids (validates against system role enumerations).
1565
+ * 1. Parses roleCodes into role_ids (validates against system role enums).
1518
1566
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
1519
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
1567
+ * 3. Calls UserManagementService.add_tenant_member to complete the creation or addition process (the password must be passed as an RSA ciphertext by the caller).
1520
1568
  * 4. Returns the creation result (including the isNewUser flag).
1521
1569
  * Error codes:
1522
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
1570
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
1523
1571
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
1524
- * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
1572
+ * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicated within the tenant.
1525
1573
  *
1526
1574
  * @param request - CreateUserRequest
1527
1575
  * @returns CreateUserResponse
1528
1576
  */
1529
1577
  createUser(request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
1530
1578
  /**
1531
- * Creates a user group under the tenant to which the authenticated identity belongs.
1579
+ * Creates a new user group under the tenant to which the authenticated identity belongs.
1532
1580
  *
1533
1581
  * @remarks
1534
- * WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
1582
+ * ## Request description
1583
+ * You can use this API operation to create a new user group within a specified tenant. The user group name must be unique under the same parent node. If the `parentId` parameter is not provided, the user group is created under the root node by default. You can also add a description for the new user group.
1584
+ * ### Important notes
1585
+ * - As a common parameter, `tenantId` can be explicitly passed by using the `--tenant-id` option in winnexo-cli.
1586
+ * - After the user group is created, the returned details include but are not limited to the user group ID, name, and level.
1535
1587
  *
1536
1588
  * @param request - CreateUserGroupRequest
1537
1589
  * @param headers - map
@@ -1542,10 +1594,14 @@ export default class Client extends OpenApi {
1542
1594
  [key: string]: string;
1543
1595
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserGroupResponse>;
1544
1596
  /**
1545
- * Creates a user group under the tenant to which the authenticated identity belongs.
1597
+ * Creates a new user group under the tenant to which the authenticated identity belongs.
1546
1598
  *
1547
1599
  * @remarks
1548
- * WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
1600
+ * ## Request description
1601
+ * You can use this API operation to create a new user group within a specified tenant. The user group name must be unique under the same parent node. If the `parentId` parameter is not provided, the user group is created under the root node by default. You can also add a description for the new user group.
1602
+ * ### Important notes
1603
+ * - As a common parameter, `tenantId` can be explicitly passed by using the `--tenant-id` option in winnexo-cli.
1604
+ * - After the user group is created, the returned details include but are not limited to the user group ID, name, and level.
1549
1605
  *
1550
1606
  * @param request - CreateUserGroupRequest
1551
1607
  * @returns CreateUserGroupResponse
@@ -1667,7 +1723,7 @@ export default class Client extends OpenApi {
1667
1723
  * Creates a draft of a workflow template.
1668
1724
  *
1669
1725
  * @remarks
1670
- * Generates a draft version of a workflow template for editing by a storage management administrator. If the selected version is a draft, it is returned as-is (idempotent, no new version is created). If the selected version is committed, replication of its content is performed for content generation of a v(maximum version number + 1) draft. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
1726
+ * Generates a draft version of a workflow template for storage management administrators. If the selected version is a draft, the original version is returned without creating a new version, ensuring idempotency. If the selected version is committed, content generation creates a v(maximum version number + 1) draft through replication of the original content. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
1671
1727
  *
1672
1728
  * @param request - CreateWorkflowTemplateDraftVersionRequest
1673
1729
  * @param headers - map
@@ -1681,17 +1737,17 @@ export default class Client extends OpenApi {
1681
1737
  * Creates a draft of a workflow template.
1682
1738
  *
1683
1739
  * @remarks
1684
- * Generates a draft version of a workflow template for editing by a storage management administrator. If the selected version is a draft, it is returned as-is (idempotent, no new version is created). If the selected version is committed, replication of its content is performed for content generation of a v(maximum version number + 1) draft. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
1740
+ * Generates a draft version of a workflow template for storage management administrators. If the selected version is a draft, the original version is returned without creating a new version, ensuring idempotency. If the selected version is committed, content generation creates a v(maximum version number + 1) draft through replication of the original content. The effective version remains unchanged. You can subsequently use UpdateWorkflowTemplate and pass the returned version to save or commit the draft.
1685
1741
  *
1686
1742
  * @param request - CreateWorkflowTemplateDraftVersionRequest
1687
1743
  * @returns CreateWorkflowTemplateDraftVersionResponse
1688
1744
  */
1689
1745
  createWorkflowTemplateDraftVersion(request: $_model.CreateWorkflowTemplateDraftVersionRequest): Promise<$_model.CreateWorkflowTemplateDraftVersionResponse>;
1690
1746
  /**
1691
- * Deletes multiple resource permissions within an application.
1747
+ * Deletes resource permissions within applications in batches.
1692
1748
  *
1693
1749
  * @remarks
1694
- * Verifies MANAGE permissions for each application and then calls the original atomic deletion capability.
1750
+ * Invokes the original atomic deletion capability after passing MANAGE verification for each application.
1695
1751
  *
1696
1752
  * @param tmpReq - DeleteAppResourcePermissionsRequest
1697
1753
  * @param headers - map
@@ -1702,10 +1758,10 @@ export default class Client extends OpenApi {
1702
1758
  [key: string]: string;
1703
1759
  }, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAppResourcePermissionsResponse>;
1704
1760
  /**
1705
- * Deletes multiple resource permissions within an application.
1761
+ * Deletes resource permissions within applications in batches.
1706
1762
  *
1707
1763
  * @remarks
1708
- * Verifies MANAGE permissions for each application and then calls the original atomic deletion capability.
1764
+ * Invokes the original atomic deletion capability after passing MANAGE verification for each application.
1709
1765
  *
1710
1766
  * @param request - DeleteAppResourcePermissionsRequest
1711
1767
  * @returns DeleteAppResourcePermissionsResponse
@@ -1982,10 +2038,10 @@ export default class Client extends OpenApi {
1982
2038
  */
1983
2039
  exportWorkflowTemplate(request: $_model.ExportWorkflowTemplateRequest): Promise<$_model.ExportWorkflowTemplateResponse>;
1984
2040
  /**
1985
- * Generates a non-persistent template draft by calling a large language model (LLM) and consumes the LLM quota of the tenant.
2041
+ * Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
1986
2042
  *
1987
2043
  * @remarks
1988
- * Generates a non-persistent template draft by calling a large language model (LLM) and consumes the LLM quota of the tenant.
2044
+ * Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
1989
2045
  *
1990
2046
  * @param tmpReq - GenerateWorkflowTemplateDraftRequest
1991
2047
  * @param headers - map
@@ -1996,10 +2052,10 @@ export default class Client extends OpenApi {
1996
2052
  [key: string]: string;
1997
2053
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateWorkflowTemplateDraftResponse>;
1998
2054
  /**
1999
- * Generates a non-persistent template draft by calling a large language model (LLM) and consumes the LLM quota of the tenant.
2055
+ * Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
2000
2056
  *
2001
2057
  * @remarks
2002
- * Generates a non-persistent template draft by calling a large language model (LLM) and consumes the LLM quota of the tenant.
2058
+ * Generates a non-persistent template draft by calling a large language model (LLM). This operation consumes the LLM quota of the tenant and requires the caller to be a valid member.
2003
2059
  *
2004
2060
  * @param request - GenerateWorkflowTemplateDraftRequest
2005
2061
  * @returns GenerateWorkflowTemplateDraftResponse
@@ -2095,6 +2151,30 @@ export default class Client extends OpenApi {
2095
2151
  * @returns GetChatSessionResponse
2096
2152
  */
2097
2153
  getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
2154
+ /**
2155
+ * Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
2156
+ *
2157
+ * @remarks
2158
+ * Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation. This operation supports USER_OUTPUT_ITEM file references in workflow nodes. The caller must pass permission checks for the tenant, space member, and file source. You do not need to register the file as a work item artifact. This operation does not accept artifactId.
2159
+ *
2160
+ * @param request - GetCollaborationGroupOutputItemPreviewRequest
2161
+ * @param headers - map
2162
+ * @param runtime - runtime options for this request RuntimeOptions
2163
+ * @returns GetCollaborationGroupOutputItemPreviewResponse
2164
+ */
2165
+ getCollaborationGroupOutputItemPreviewWithOptions(request: $_model.GetCollaborationGroupOutputItemPreviewRequest, headers: {
2166
+ [key: string]: string;
2167
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetCollaborationGroupOutputItemPreviewResponse>;
2168
+ /**
2169
+ * Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation.
2170
+ *
2171
+ * @remarks
2172
+ * Retrieves the content, preview URL, or short-term download URL of a file generated during a digital employee conversation. This operation supports USER_OUTPUT_ITEM file references in workflow nodes. The caller must pass permission checks for the tenant, space member, and file source. You do not need to register the file as a work item artifact. This operation does not accept artifactId.
2173
+ *
2174
+ * @param request - GetCollaborationGroupOutputItemPreviewRequest
2175
+ * @returns GetCollaborationGroupOutputItemPreviewResponse
2176
+ */
2177
+ getCollaborationGroupOutputItemPreview(request: $_model.GetCollaborationGroupOutputItemPreviewRequest): Promise<$_model.GetCollaborationGroupOutputItemPreviewResponse>;
2098
2178
  /**
2099
2179
  * Retrieves the full schema after merging the active schema with personal drafts.
2100
2180
  *
@@ -2289,7 +2369,7 @@ export default class Client extends OpenApi {
2289
2369
  * Queries the automatic memory collection switch.
2290
2370
  *
2291
2371
  * @remarks
2292
- * Manages personal or specified collaborative writing workspace memories based on the authenticated user. The workspace mode follows the permissions of active members.
2372
+ * Manages the memory of a personal or specified writing collaboration workspace based on the authenticated user. The workspace mode inherits active member permissions.
2293
2373
  *
2294
2374
  * @param request - GetMemoryAutoExtractionSwitchRequest
2295
2375
  * @param headers - map
@@ -2303,7 +2383,7 @@ export default class Client extends OpenApi {
2303
2383
  * Queries the automatic memory collection switch.
2304
2384
  *
2305
2385
  * @remarks
2306
- * Manages personal or specified collaborative writing workspace memories based on the authenticated user. The workspace mode follows the permissions of active members.
2386
+ * Manages the memory of a personal or specified writing collaboration workspace based on the authenticated user. The workspace mode inherits active member permissions.
2307
2387
  *
2308
2388
  * @param request - GetMemoryAutoExtractionSwitchRequest
2309
2389
  * @returns GetMemoryAutoExtractionSwitchResponse
@@ -2357,18 +2437,56 @@ export default class Client extends OpenApi {
2357
2437
  * @returns GetNodeDetailResponse
2358
2438
  */
2359
2439
  getNodeDetail(request: $_model.GetNodeDetailRequest): Promise<$_model.GetNodeDetailResponse>;
2440
+ /**
2441
+ * Queries the sessions of personal scheduled tasks.
2442
+ *
2443
+ * @remarks
2444
+ * ## Request description
2445
+ * - This operation uploads a file to the enterprise knowledge base.
2446
+ * - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
2447
+ * - You must provide the OSS persistence URL (filePath) of the file when uploading a file.
2448
+ * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
2449
+ * - If you specify directoryId, the file is placed in the specified enterprise knowledge base directory. Otherwise, the file is placed in the default root directory of the current digital employee.
2450
+ * - You can use sourceTags to add tags to resources for subsequent management and retrieval.
2451
+ * - This operation generates a bill for UNSTRUCTURED_PARSE. Make sure that your account balance is sufficient.
2452
+ *
2453
+ * @param request - GetScheduledTaskConversationRecordsRequest
2454
+ * @param headers - map
2455
+ * @param runtime - runtime options for this request RuntimeOptions
2456
+ * @returns GetScheduledTaskConversationRecordsResponse
2457
+ */
2458
+ getScheduledTaskConversationRecordsWithOptions(request: $_model.GetScheduledTaskConversationRecordsRequest, headers: {
2459
+ [key: string]: string;
2460
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskConversationRecordsResponse>;
2461
+ /**
2462
+ * Queries the sessions of personal scheduled tasks.
2463
+ *
2464
+ * @remarks
2465
+ * ## Request description
2466
+ * - This operation uploads a file to the enterprise knowledge base.
2467
+ * - You must have the DEVELOPMENT_KB_MANAGE feature permission to call this API.
2468
+ * - You must provide the OSS persistence URL (filePath) of the file when uploading a file.
2469
+ * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
2470
+ * - If you specify directoryId, the file is placed in the specified enterprise knowledge base directory. Otherwise, the file is placed in the default root directory of the current digital employee.
2471
+ * - You can use sourceTags to add tags to resources for subsequent management and retrieval.
2472
+ * - This operation generates a bill for UNSTRUCTURED_PARSE. Make sure that your account balance is sufficient.
2473
+ *
2474
+ * @param request - GetScheduledTaskConversationRecordsRequest
2475
+ * @returns GetScheduledTaskConversationRecordsResponse
2476
+ */
2477
+ getScheduledTaskConversationRecords(request: $_model.GetScheduledTaskConversationRecordsRequest): Promise<$_model.GetScheduledTaskConversationRecordsResponse>;
2360
2478
  /**
2361
2479
  * Retrieves the execution details of a scheduled task.
2362
2480
  *
2363
2481
  * @remarks
2364
- * ## Description
2365
- * - This operation uploads a file to an enterprise knowledge base.
2366
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
2367
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
2368
- * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
2482
+ * ## Request description
2483
+ * - This API is used to upload files to the enterprise knowledge base.
2484
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API.
2485
+ * - When uploading a file, you must provide the OSS persistent address (`filePath`) of the file.
2486
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
2369
2487
  * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
2370
2488
  * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
2371
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2489
+ * - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2372
2490
  *
2373
2491
  * @param request - GetScheduledTaskExecutionDetailRequest
2374
2492
  * @param headers - map
@@ -2382,31 +2500,31 @@ export default class Client extends OpenApi {
2382
2500
  * Retrieves the execution details of a scheduled task.
2383
2501
  *
2384
2502
  * @remarks
2385
- * ## Description
2386
- * - This operation uploads a file to an enterprise knowledge base.
2387
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
2388
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
2389
- * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
2503
+ * ## Request description
2504
+ * - This API is used to upload files to the enterprise knowledge base.
2505
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API.
2506
+ * - When uploading a file, you must provide the OSS persistent address (`filePath`) of the file.
2507
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
2390
2508
  * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee by default.
2391
2509
  * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
2392
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2510
+ * - This operation triggers billing (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2393
2511
  *
2394
2512
  * @param request - GetScheduledTaskExecutionDetailRequest
2395
2513
  * @returns GetScheduledTaskExecutionDetailResponse
2396
2514
  */
2397
2515
  getScheduledTaskExecutionDetail(request: $_model.GetScheduledTaskExecutionDetailRequest): Promise<$_model.GetScheduledTaskExecutionDetailResponse>;
2398
2516
  /**
2399
- * Retrieves execution records of scheduled tasks.
2517
+ * Retrieves the execution records of scheduled tasks.
2400
2518
  *
2401
2519
  * @remarks
2402
- * ## Operation description
2403
- * - This operation uploads files to an enterprise knowledge base.
2404
- * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
2405
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
2406
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
2407
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base folder. Otherwise, the file is bound to the default root folder of the current digital employee.
2408
- * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
2409
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2520
+ * ## Request description
2521
+ * - This API operation uploads files to the enterprise knowledge base.
2522
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API operation.
2523
+ * - When uploading a file, you must provide the OSS persistence address (`filePath`) of the file.
2524
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
2525
+ * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
2526
+ * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
2527
+ * - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2410
2528
  *
2411
2529
  * @param request - GetScheduledTaskExecutionRecordsRequest
2412
2530
  * @param headers - map
@@ -2417,17 +2535,17 @@ export default class Client extends OpenApi {
2417
2535
  [key: string]: string;
2418
2536
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskExecutionRecordsResponse>;
2419
2537
  /**
2420
- * Retrieves execution records of scheduled tasks.
2538
+ * Retrieves the execution records of scheduled tasks.
2421
2539
  *
2422
2540
  * @remarks
2423
- * ## Operation description
2424
- * - This operation uploads files to an enterprise knowledge base.
2425
- * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
2426
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
2427
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
2428
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base folder. Otherwise, the file is bound to the default root folder of the current digital employee.
2429
- * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
2430
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2541
+ * ## Request description
2542
+ * - This API operation uploads files to the enterprise knowledge base.
2543
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this API operation.
2544
+ * - When uploading a file, you must provide the OSS persistence address (`filePath`) of the file.
2545
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of the file information.
2546
+ * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
2547
+ * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
2548
+ * - This operation generates a bill (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
2431
2549
  *
2432
2550
  * @param request - GetScheduledTaskExecutionRecordsRequest
2433
2551
  * @returns GetScheduledTaskExecutionRecordsResponse
@@ -2503,13 +2621,13 @@ export default class Client extends OpenApi {
2503
2621
  * Retrieves the details of a skill.
2504
2622
  *
2505
2623
  * @remarks
2506
- * ## Operation description
2624
+ * ## Request description
2507
2625
  * Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
2508
- * - **TenantId**: Optional common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
2509
- * - **SkillCode**: Mutually exclusive with SkillName. If both are specified, SkillCode takes precedence.
2626
+ * - **TenantId**: Optional common parameter passed through to the backend header by the gateway. If not specified, the default tenant of the current caller is used.
2627
+ * - **SkillCode**: Mutually exclusive with SkillName. If both are provided, SkillCode takes precedence.
2510
2628
  * - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
2511
- * - **ViewMode**: Optional. Set to `draft` (draft/editing view) or `published` (published view, default).
2512
- * - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md / scripts / templates). Default value: `false`.
2629
+ * - **ViewMode**: Optional. Valid values: `draft` (draft or edit view) and `published` (published view, default).
2630
+ * - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md, scripts, and templates). Default value: `false`.
2513
2631
  *
2514
2632
  * @param request - GetSkillRequest
2515
2633
  * @param headers - map
@@ -2523,13 +2641,13 @@ export default class Client extends OpenApi {
2523
2641
  * Retrieves the details of a skill.
2524
2642
  *
2525
2643
  * @remarks
2526
- * ## Operation description
2644
+ * ## Request description
2527
2645
  * Queries skill details by SkillCode or SkillName, including metadata, input parameter schema, and SKILL.md summary.
2528
- * - **TenantId**: Optional common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
2529
- * - **SkillCode**: Mutually exclusive with SkillName. If both are specified, SkillCode takes precedence.
2646
+ * - **TenantId**: Optional common parameter passed through to the backend header by the gateway. If not specified, the default tenant of the current caller is used.
2647
+ * - **SkillCode**: Mutually exclusive with SkillName. If both are provided, SkillCode takes precedence.
2530
2648
  * - **SkillName**: Mutually exclusive with SkillCode. If the name is not unique within the tenant, `ERR.SkillHub.SkillNameAmbiguous` is returned.
2531
- * - **ViewMode**: Optional. Set to `draft` (draft/editing view) or `published` (published view, default).
2532
- * - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md / scripts / templates). Default value: `false`.
2649
+ * - **ViewMode**: Optional. Valid values: `draft` (draft or edit view) and `published` (published view, default).
2650
+ * - **IncludeSkillFiles**: Optional. Specifies whether to return the complete skill file tree (SKILL.md, scripts, and templates). Default value: `false`.
2533
2651
  *
2534
2652
  * @param request - GetSkillRequest
2535
2653
  * @returns GetSkillResponse
@@ -2540,11 +2658,11 @@ export default class Client extends OpenApi {
2540
2658
  *
2541
2659
  * @remarks
2542
2660
  * ## Request description
2543
- * Queries the current status and result of an asynchronous task by `RunId`.
2661
+ * Queries the current status and result of an asynchronous task by using RunId.
2544
2662
  * - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
2545
- * - **TenantId**: An optional common parameter passed through by the gateway. The backend verifies that the RunId belongs to the current tenant. Otherwise, `ERR.SkillHub.RunNotFound` is returned to avoid exposing existence information.
2546
- * - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: `false`.
2547
- * When execution succeeds, `Result.Content[]` is an MCP-style Content block array (Text / File / Image).
2663
+ * - **TenantId**: Optional common parameter passed through by the gateway. The backend verifies that RunId belongs to the current tenant. Otherwise, it uniformly returns ERR.SkillHub.RunNotFound to avoid leaking resource existence.
2664
+ * - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: false.
2665
+ * If the execution is successful, Result.Content[] is an array of MCP-style content blocks (Text / File / Image).
2548
2666
  *
2549
2667
  * @param request - GetSkillRunRequest
2550
2668
  * @param headers - map
@@ -2559,24 +2677,24 @@ export default class Client extends OpenApi {
2559
2677
  *
2560
2678
  * @remarks
2561
2679
  * ## Request description
2562
- * Queries the current status and result of an asynchronous task by `RunId`.
2680
+ * Queries the current status and result of an asynchronous task by using RunId.
2563
2681
  * - **State machine**: Running (PENDING/RUNNING) → Succeeded / Failed / Cancelled
2564
- * - **TenantId**: An optional common parameter passed through by the gateway. The backend verifies that the RunId belongs to the current tenant. Otherwise, `ERR.SkillHub.RunNotFound` is returned to avoid exposing existence information.
2565
- * - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: `false`.
2566
- * When execution succeeds, `Result.Content[]` is an MCP-style Content block array (Text / File / Image).
2682
+ * - **TenantId**: Optional common parameter passed through by the gateway. The backend verifies that RunId belongs to the current tenant. Otherwise, it uniformly returns ERR.SkillHub.RunNotFound to avoid leaking resource existence.
2683
+ * - **IncludeLogs**: Optional. Specifies whether to return execution logs. Default value: false.
2684
+ * If the execution is successful, Result.Content[] is an array of MCP-style content blocks (Text / File / Image).
2567
2685
  *
2568
2686
  * @param request - GetSkillRunRequest
2569
2687
  * @returns GetSkillRunResponse
2570
2688
  */
2571
2689
  getSkillRun(request: $_model.GetSkillRunRequest): Promise<$_model.GetSkillRunResponse>;
2572
2690
  /**
2573
- * Queries the details of a specified resource (knowledge), with support for returning large detail fields on demand.
2691
+ * Queries the details of a specified resource (knowledge) and supports returning large detail fields on demand.
2574
2692
  *
2575
2693
  * @remarks
2576
- * ## Operation description
2577
- * - `tenant_id` is derived from the authenticated identity only. Any value passed in the request body is ignored.
2578
- * - Response elements do not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large responses.
2579
- * - Set the `includeDetails` parameter to `True` to retrieve additional details, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
2694
+ * ## Request description
2695
+ * - `tenant_id` is derived only from the authenticated identity. If the caller passes it in the request body, it is ignored.
2696
+ * - The response does not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large response payloads.
2697
+ * - You can obtain more detailed information, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`, by setting the `includeDetails` parameter to `true`.
2580
2698
  *
2581
2699
  * @param request - GetSourceRequest
2582
2700
  * @param headers - map
@@ -2587,13 +2705,13 @@ export default class Client extends OpenApi {
2587
2705
  [key: string]: string;
2588
2706
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetSourceResponse>;
2589
2707
  /**
2590
- * Queries the details of a specified resource (knowledge), with support for returning large detail fields on demand.
2708
+ * Queries the details of a specified resource (knowledge) and supports returning large detail fields on demand.
2591
2709
  *
2592
2710
  * @remarks
2593
- * ## Operation description
2594
- * - `tenant_id` is derived from the authenticated identity only. Any value passed in the request body is ignored.
2595
- * - Response elements do not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large responses.
2596
- * - Set the `includeDetails` parameter to `True` to retrieve additional details, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`.
2711
+ * ## Request description
2712
+ * - `tenant_id` is derived only from the authenticated identity. If the caller passes it in the request body, it is ignored.
2713
+ * - The response does not expose audit fields such as `creator` or `modifier`. The `unstructured_docs[ ].content` field is not returned by default to avoid large response payloads.
2714
+ * - You can obtain more detailed information, including `settings`, `notes`, `structuredTables`, and `unstructuredDocs`, by setting the `includeDetails` parameter to `true`.
2597
2715
  *
2598
2716
  * @param request - GetSourceRequest
2599
2717
  * @returns GetSourceResponse
@@ -2758,15 +2876,15 @@ export default class Client extends OpenApi {
2758
2876
  */
2759
2877
  getTokenInfo(request: $_model.GetTokenInfoRequest): Promise<$_model.GetTokenInfoResponse>;
2760
2878
  /**
2761
- * Queries user details.
2879
+ * Queries the details of a user.
2762
2880
  *
2763
2881
  * @remarks
2764
- * Queries user details through OpenAPI.
2882
+ * Queries the details of a user.
2765
2883
  * Business orchestration:
2766
2884
  * 1. Locate the user by wnUserId or accountId.
2767
- * 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
2768
- * 3. Query the role list of the user in the current tenant.
2769
- * 4. Query the user group list of the user in the current tenant.
2885
+ * 2. Query the mapping information of the user in the current tenant, including the status, join time, and last logon time.
2886
+ * 3. Query the roles of the user in the current tenant.
2887
+ * 4. Query the user groups to which the user belongs in the current tenant.
2770
2888
  * 5. Assemble the response.
2771
2889
  * Error codes:
2772
2890
  * - ERR.User.NotFound: The user does not exist.
@@ -2781,15 +2899,15 @@ export default class Client extends OpenApi {
2781
2899
  [key: string]: string;
2782
2900
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserResponse>;
2783
2901
  /**
2784
- * Queries user details.
2902
+ * Queries the details of a user.
2785
2903
  *
2786
2904
  * @remarks
2787
- * Queries user details through OpenAPI.
2905
+ * Queries the details of a user.
2788
2906
  * Business orchestration:
2789
2907
  * 1. Locate the user by wnUserId or accountId.
2790
- * 2. Query the mapping information of the user in the current tenant, including status, join time, and last logon time.
2791
- * 3. Query the role list of the user in the current tenant.
2792
- * 4. Query the user group list of the user in the current tenant.
2908
+ * 2. Query the mapping information of the user in the current tenant, including the status, join time, and last logon time.
2909
+ * 3. Query the roles of the user in the current tenant.
2910
+ * 4. Query the user groups to which the user belongs in the current tenant.
2793
2911
  * 5. Assemble the response.
2794
2912
  * Error codes:
2795
2913
  * - ERR.User.NotFound: The user does not exist.
@@ -2868,16 +2986,14 @@ export default class Client extends OpenApi {
2868
2986
  */
2869
2987
  getUserGroup(request: $_model.GetUserGroupRequest): Promise<$_model.GetUserGroupResponse>;
2870
2988
  /**
2871
- * Retrieves the complete information of the authenticated user through OpenAPI, including basic information and tenant list.
2989
+ * Retrieves the complete information of an authenticated user, including basic information and the tenant list.
2872
2990
  *
2873
2991
  * @remarks
2874
- * ## Request description
2875
2992
  * - This operation returns the detailed information of the current authenticated user.
2876
2993
  * - If the tenant information is invalid, the corresponding error message is returned.
2877
- * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
2878
- * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
2879
- * - The returned data includes the user profile (such as username and profile picture URL), role preference settings, and details of all tenants to which the user belongs.
2880
- * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
2994
+ * - tenantId is an optional parameter. If it is not provided, the default tenant ID of the caller is used.
2995
+ * - The returned data includes the user profile (such as the username and avatar URL), role preference settings, and details of all affiliated tenants.
2996
+ * - Note that if the currently logged-on tenant is the system tenant (that is, tenantId=10000), it is explicitly identified in the response.
2881
2997
  *
2882
2998
  * @param request - GetUserInfoRequest
2883
2999
  * @param headers - map
@@ -2888,16 +3004,14 @@ export default class Client extends OpenApi {
2888
3004
  [key: string]: string;
2889
3005
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserInfoResponse>;
2890
3006
  /**
2891
- * Retrieves the complete information of the authenticated user through OpenAPI, including basic information and tenant list.
3007
+ * Retrieves the complete information of an authenticated user, including basic information and the tenant list.
2892
3008
  *
2893
3009
  * @remarks
2894
- * ## Request description
2895
3010
  * - This operation returns the detailed information of the current authenticated user.
2896
3011
  * - If the tenant information is invalid, the corresponding error message is returned.
2897
- * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
2898
- * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
2899
- * - The returned data includes the user profile (such as username and profile picture URL), role preference settings, and details of all tenants to which the user belongs.
2900
- * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
3012
+ * - tenantId is an optional parameter. If it is not provided, the default tenant ID of the caller is used.
3013
+ * - The returned data includes the user profile (such as the username and avatar URL), role preference settings, and details of all affiliated tenants.
3014
+ * - Note that if the currently logged-on tenant is the system tenant (that is, tenantId=10000), it is explicitly identified in the response.
2901
3015
  *
2902
3016
  * @param request - GetUserInfoRequest
2903
3017
  * @returns GetUserInfoResponse
@@ -2975,6 +3089,48 @@ export default class Client extends OpenApi {
2975
3089
  * @returns GetWorkItemAttachmentAccessResponse
2976
3090
  */
2977
3091
  getWorkItemAttachmentAccess(request: $_model.GetWorkItemAttachmentAccessRequest): Promise<$_model.GetWorkItemAttachmentAccessResponse>;
3092
+ /**
3093
+ * Queries the complete audit event records of a work item.
3094
+ *
3095
+ * @param request - GetWorkItemAuditRequest
3096
+ * @param headers - map
3097
+ * @param runtime - runtime options for this request RuntimeOptions
3098
+ * @returns GetWorkItemAuditResponse
3099
+ */
3100
+ getWorkItemAuditWithOptions(request: $_model.GetWorkItemAuditRequest, headers: {
3101
+ [key: string]: string;
3102
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemAuditResponse>;
3103
+ /**
3104
+ * Queries the complete audit event records of a work item.
3105
+ *
3106
+ * @param request - GetWorkItemAuditRequest
3107
+ * @returns GetWorkItemAuditResponse
3108
+ */
3109
+ getWorkItemAudit(request: $_model.GetWorkItemAuditRequest): Promise<$_model.GetWorkItemAuditResponse>;
3110
+ /**
3111
+ * Queries the execution summaries of all nodes in a work item.
3112
+ *
3113
+ * @remarks
3114
+ * Queries the execution summaries of all nodes in a work item.
3115
+ *
3116
+ * @param request - GetWorkItemRunSummariesRequest
3117
+ * @param headers - map
3118
+ * @param runtime - runtime options for this request RuntimeOptions
3119
+ * @returns GetWorkItemRunSummariesResponse
3120
+ */
3121
+ getWorkItemRunSummariesWithOptions(request: $_model.GetWorkItemRunSummariesRequest, headers: {
3122
+ [key: string]: string;
3123
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkItemRunSummariesResponse>;
3124
+ /**
3125
+ * Queries the execution summaries of all nodes in a work item.
3126
+ *
3127
+ * @remarks
3128
+ * Queries the execution summaries of all nodes in a work item.
3129
+ *
3130
+ * @param request - GetWorkItemRunSummariesRequest
3131
+ * @returns GetWorkItemRunSummariesResponse
3132
+ */
3133
+ getWorkItemRunSummaries(request: $_model.GetWorkItemRunSummariesRequest): Promise<$_model.GetWorkItemRunSummariesResponse>;
2978
3134
  /**
2979
3135
  * Queries the current running, review, and pause statuses of a work item, along with the actual active nodes and execution progress, by using a stable logical instance ID.
2980
3136
  *
@@ -2999,6 +3155,24 @@ export default class Client extends OpenApi {
2999
3155
  * @returns GetWorkflowInstanceResponse
3000
3156
  */
3001
3157
  getWorkflowInstance(request: $_model.GetWorkflowInstanceRequest): Promise<$_model.GetWorkflowInstanceResponse>;
3158
+ /**
3159
+ * Queries the current and effective configurations of a workflow node.
3160
+ *
3161
+ * @param request - GetWorkflowNodeConfigurationRequest
3162
+ * @param headers - map
3163
+ * @param runtime - runtime options for this request RuntimeOptions
3164
+ * @returns GetWorkflowNodeConfigurationResponse
3165
+ */
3166
+ getWorkflowNodeConfigurationWithOptions(request: $_model.GetWorkflowNodeConfigurationRequest, headers: {
3167
+ [key: string]: string;
3168
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetWorkflowNodeConfigurationResponse>;
3169
+ /**
3170
+ * Queries the current and effective configurations of a workflow node.
3171
+ *
3172
+ * @param request - GetWorkflowNodeConfigurationRequest
3173
+ * @returns GetWorkflowNodeConfigurationResponse
3174
+ */
3175
+ getWorkflowNodeConfiguration(request: $_model.GetWorkflowNodeConfigurationRequest): Promise<$_model.GetWorkflowNodeConfigurationResponse>;
3002
3176
  /**
3003
3177
  * Retrieves the current configuration of a workflow template in a collaboration workspace.
3004
3178
  *
@@ -3060,10 +3234,10 @@ export default class Client extends OpenApi {
3060
3234
  */
3061
3235
  grantAgentUsers(request: $_model.GrantAgentUsersRequest): Promise<$_model.GrantAgentUsersResponse>;
3062
3236
  /**
3063
- * Imports a portable template JSON and creates a new template. A new template is created regardless of whether the name is identical.
3237
+ * Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
3064
3238
  *
3065
3239
  * @remarks
3066
- * Imports a portable template JSON and creates a new template. A new template is created regardless of whether the name is identical.
3240
+ * Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
3067
3241
  *
3068
3242
  * @param tmpReq - ImportWorkflowTemplateRequest
3069
3243
  * @param headers - map
@@ -3074,10 +3248,10 @@ export default class Client extends OpenApi {
3074
3248
  [key: string]: string;
3075
3249
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ImportWorkflowTemplateResponse>;
3076
3250
  /**
3077
- * Imports a portable template JSON and creates a new template. A new template is created regardless of whether the name is identical.
3251
+ * Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
3078
3252
  *
3079
3253
  * @remarks
3080
- * Imports a portable template JSON and creates a new template. A new template is created regardless of whether the name is identical.
3254
+ * Imports a portable template in JSON format and creates a new template, regardless of whether a template with the same name exists.
3081
3255
  *
3082
3256
  * @param request - ImportWorkflowTemplateRequest
3083
3257
  * @returns ImportWorkflowTemplateResponse
@@ -3245,7 +3419,7 @@ export default class Client extends OpenApi {
3245
3419
  * Queries the resource authorization records within an application.
3246
3420
  *
3247
3421
  * @remarks
3248
- * Pages results by secure application prefix after APP/MANAGE authorization.
3422
+ * Pages the resource authorization records by secure application prefix after APP/MANAGE authorization.
3249
3423
  *
3250
3424
  * @param tmpReq - ListAppResourcePermissionRecordsRequest
3251
3425
  * @param headers - map
@@ -3259,17 +3433,17 @@ export default class Client extends OpenApi {
3259
3433
  * Queries the resource authorization records within an application.
3260
3434
  *
3261
3435
  * @remarks
3262
- * Pages results by secure application prefix after APP/MANAGE authorization.
3436
+ * Pages the resource authorization records by secure application prefix after APP/MANAGE authorization.
3263
3437
  *
3264
3438
  * @param request - ListAppResourcePermissionRecordsRequest
3265
3439
  * @returns ListAppResourcePermissionRecordsResponse
3266
3440
  */
3267
3441
  listAppResourcePermissionRecords(request: $_model.ListAppResourcePermissionRecordsRequest): Promise<$_model.ListAppResourcePermissionRecordsResponse>;
3268
3442
  /**
3269
- * Queries the valid resource permissions of a user within an application.
3443
+ * Queries the effective resource permissions of a user within an application.
3270
3444
  *
3271
3445
  * @remarks
3272
- * An application prefix is required. The VIEW permission is required to query your own permissions, and the MANAGE permission is required to query permissions on behalf of others.
3446
+ * Enforces the application prefix. The VIEW permission is required for querying your own resources, and the MANAGE permission is required for querying resources on behalf of others.
3273
3447
  *
3274
3448
  * @param tmpReq - ListAppResourceUserPermissionsRequest
3275
3449
  * @param headers - map
@@ -3280,10 +3454,10 @@ export default class Client extends OpenApi {
3280
3454
  [key: string]: string;
3281
3455
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAppResourceUserPermissionsResponse>;
3282
3456
  /**
3283
- * Queries the valid resource permissions of a user within an application.
3457
+ * Queries the effective resource permissions of a user within an application.
3284
3458
  *
3285
3459
  * @remarks
3286
- * An application prefix is required. The VIEW permission is required to query your own permissions, and the MANAGE permission is required to query permissions on behalf of others.
3460
+ * Enforces the application prefix. The VIEW permission is required for querying your own resources, and the MANAGE permission is required for querying resources on behalf of others.
3287
3461
  *
3288
3462
  * @param request - ListAppResourceUserPermissionsRequest
3289
3463
  * @returns ListAppResourceUserPermissionsResponse
@@ -3459,6 +3633,54 @@ export default class Client extends OpenApi {
3459
3633
  * @returns ListChatSessionsResponse
3460
3634
  */
3461
3635
  listChatSessions(request: $_model.ListChatSessionsRequest): Promise<$_model.ListChatSessionsResponse>;
3636
+ /**
3637
+ * Performs a paged query with paging support on the list of members in a collaboration workspace.
3638
+ *
3639
+ * @remarks
3640
+ * Performs a paged query with paging support on the active members of a specified workspace, and supports searching by member display name. To invoke this API, you must be an active member of the workspace in the current tenant. The isActive field indicates the enabling status of the tenant account, not the employment status.
3641
+ *
3642
+ * @param request - ListCollaborationGroupMembersRequest
3643
+ * @param headers - map
3644
+ * @param runtime - runtime options for this request RuntimeOptions
3645
+ * @returns ListCollaborationGroupMembersResponse
3646
+ */
3647
+ listCollaborationGroupMembersWithOptions(request: $_model.ListCollaborationGroupMembersRequest, headers: {
3648
+ [key: string]: string;
3649
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupMembersResponse>;
3650
+ /**
3651
+ * Performs a paged query with paging support on the list of members in a collaboration workspace.
3652
+ *
3653
+ * @remarks
3654
+ * Performs a paged query with paging support on the active members of a specified workspace, and supports searching by member display name. To invoke this API, you must be an active member of the workspace in the current tenant. The isActive field indicates the enabling status of the tenant account, not the employment status.
3655
+ *
3656
+ * @param request - ListCollaborationGroupMembersRequest
3657
+ * @returns ListCollaborationGroupMembersResponse
3658
+ */
3659
+ listCollaborationGroupMembers(request: $_model.ListCollaborationGroupMembersRequest): Promise<$_model.ListCollaborationGroupMembersResponse>;
3660
+ /**
3661
+ * Performs a paging query for the list of collaboration spaces visible to the current user.
3662
+ *
3663
+ * @remarks
3664
+ * Performs a paging query for the collaboration spaces that the invoking user has validly joined in the current tenant. You can search for spaces by name. Only ACTIVE spaces are returned. The identity used to invoke the operation must be associated with a platform user, and deployment credentials without a user identity are not supported.
3665
+ *
3666
+ * @param request - ListCollaborationGroupsRequest
3667
+ * @param headers - map
3668
+ * @param runtime - runtime options for this request RuntimeOptions
3669
+ * @returns ListCollaborationGroupsResponse
3670
+ */
3671
+ listCollaborationGroupsWithOptions(request: $_model.ListCollaborationGroupsRequest, headers: {
3672
+ [key: string]: string;
3673
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListCollaborationGroupsResponse>;
3674
+ /**
3675
+ * Performs a paging query for the list of collaboration spaces visible to the current user.
3676
+ *
3677
+ * @remarks
3678
+ * Performs a paging query for the collaboration spaces that the invoking user has validly joined in the current tenant. You can search for spaces by name. Only ACTIVE spaces are returned. The identity used to invoke the operation must be associated with a platform user, and deployment credentials without a user identity are not supported.
3679
+ *
3680
+ * @param request - ListCollaborationGroupsRequest
3681
+ * @returns ListCollaborationGroupsResponse
3682
+ */
3683
+ listCollaborationGroups(request: $_model.ListCollaborationGroupsRequest): Promise<$_model.ListCollaborationGroupsResponse>;
3462
3684
  /**
3463
3685
  * Lists personal draft changes for a semantic graph.
3464
3686
  *
@@ -3690,12 +3912,14 @@ export default class Client extends OpenApi {
3690
3912
  */
3691
3913
  listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
3692
3914
  /**
3693
- * Performs a paged query to retrieve the visible outputs of the current user or a specified collaboration workspace. Supports paging and filtering by session, labels, business ID, and existing output filter conditions.
3915
+ * Performs a paged query for the visible outputs and the latest published file versions of the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Calculates paging and total counts based on primary output records.
3694
3916
  *
3695
3917
  * @remarks
3696
- * If collaborationGroupId is not provided, queries the personal outputs of the current invoker. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The invoker identity and tenant permissions are determined by the authentication context.
3697
- * sessionId requires an exact match for a regular session, skill session, or node execution session. tags requires all labels to match simultaneously. bizId requires an exact match for the business ID of the file registration or associated workflow instance. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using AND, and are executed before counting and paging.
3698
- * Labels and business IDs are derived from file registrations or workflow instance associations. Unregistered labels or business IDs are not inferred from titles. Paging defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API.
3918
+ * If collaborationGroupId is not provided, queries the personal outputs of the current caller. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The caller identity and tenant permissions are determined by the authentication context.
3919
+ * The sessionId parameter requires an exact match for regular sessions, skill sessions, or node execution sessions. The tags parameter requires all labels to match simultaneously. The bizId parameter requires an exact match for the business ID of file registration or associated workflow instances. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using the AND operator, and are executed before counting and paging.
3920
+ * Tags and business IDs are derived from file registration or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API operation.
3921
+ * For versioned files, the latest published version is returned by default without expanding historical versions. This API operation does not currently support querying specific versions. Pagination and the total count are still based on primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
3922
+ * For versioned files, fileInfo.path is a time-sensitive download link attached to the published version and content revisions selected during the query. Downloads do not perform automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current link expires. Historical files that have not yet formed a published version may not return download information.
3699
3923
  *
3700
3924
  * @param tmpReq - ListOutputFilesRequest
3701
3925
  * @param headers - map
@@ -3706,12 +3930,14 @@ export default class Client extends OpenApi {
3706
3930
  [key: string]: string;
3707
3931
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
3708
3932
  /**
3709
- * Performs a paged query to retrieve the visible outputs of the current user or a specified collaboration workspace. Supports paging and filtering by session, labels, business ID, and existing output filter conditions.
3933
+ * Performs a paged query for the visible outputs and the latest published file versions of the current user or a specified collaboration workspace. Supports filtering by session, label, and business ID. Calculates paging and total counts based on primary output records.
3710
3934
  *
3711
3935
  * @remarks
3712
- * If collaborationGroupId is not provided, queries the personal outputs of the current invoker. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The invoker identity and tenant permissions are determined by the authentication context.
3713
- * sessionId requires an exact match for a regular session, skill session, or node execution session. tags requires all labels to match simultaneously. bizId requires an exact match for the business ID of the file registration or associated workflow instance. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using AND, and are executed before counting and paging.
3714
- * Labels and business IDs are derived from file registrations or workflow instance associations. Unregistered labels or business IDs are not inferred from titles. Paging defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API.
3936
+ * If collaborationGroupId is not provided, queries the personal outputs of the current caller. If provided, queries the outputs of the specified collaboration workspace and verifies the real-time access permissions of the current workspace members and source resources. The caller identity and tenant permissions are determined by the authentication context.
3937
+ * The sessionId parameter requires an exact match for regular sessions, skill sessions, or node execution sessions. The tags parameter requires all labels to match simultaneously. The bizId parameter requires an exact match for the business ID of file registration or associated workflow instances. The new conditions are combined with the existing operatingObjectName, itemType, keyword, and sharedOnly conditions using the AND operator, and are executed before counting and paging.
3938
+ * Tags and business IDs are derived from file registration or workflow instance associations. Unregistered tags or business IDs are not inferred from titles. Pagination defaults to page 1 with 20 items per page, up to a maximum of 100 items, sorted in descending order by update time. The response structure remains compatible with the original API operation.
3939
+ * For versioned files, the latest published version is returned by default without expanding historical versions. This API operation does not currently support querying specific versions. Pagination and the total count are still based on primary output records, deduplicated by outputId, and are not counted by the number of files or historical versions.
3940
+ * For versioned files, fileInfo.path is a time-sensitive download link attached to the published version and content revisions selected during the query. Downloads do not perform automatic switchover to other versions published later. Invoke this API operation again to obtain a new link after the current link expires. Historical files that have not yet formed a published version may not return download information.
3715
3941
  *
3716
3942
  * @param request - ListOutputFilesRequest
3717
3943
  * @returns ListOutputFilesResponse
@@ -3793,14 +4019,14 @@ export default class Client extends OpenApi {
3793
4019
  * Retrieves a list of scheduled tasks.
3794
4020
  *
3795
4021
  * @remarks
3796
- * ## Operation description
3797
- * - This operation is used to upload files to an enterprise knowledge base.
3798
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
3799
- * - Provide the OSS persistent address (`filePath`) of the file when uploading.
3800
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3801
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
3802
- * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
3803
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
4022
+ * ## Request description
4023
+ * - This API is used to upload files to the enterprise knowledge base.
4024
+ * - The DEVELOPMENT_KB_MANAGE feature permission is required to call this API.
4025
+ * - The OSS persistence URL (filePath) of the file must be provided during file upload.
4026
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
4027
+ * - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, it is bound to the default root directory of the current digital employee by default.
4028
+ * - Tags can be added to resources through sourceTags to facilitate subsequent management and retrieval.
4029
+ * - This operation generates a bill (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
3804
4030
  *
3805
4031
  * @param tmpReq - ListScheduledTasksRequest
3806
4032
  * @param headers - map
@@ -3814,14 +4040,14 @@ export default class Client extends OpenApi {
3814
4040
  * Retrieves a list of scheduled tasks.
3815
4041
  *
3816
4042
  * @remarks
3817
- * ## Operation description
3818
- * - This operation is used to upload files to an enterprise knowledge base.
3819
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
3820
- * - Provide the OSS persistent address (`filePath`) of the file when uploading.
3821
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3822
- * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
3823
- * - You can use `sourceTags` to add tags to resources for subsequent management and retrieval.
3824
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure your account balance is sufficient.
4043
+ * ## Request description
4044
+ * - This API is used to upload files to the enterprise knowledge base.
4045
+ * - The DEVELOPMENT_KB_MANAGE feature permission is required to call this API.
4046
+ * - The OSS persistence URL (filePath) of the file must be provided during file upload.
4047
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
4048
+ * - If directoryId is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, it is bound to the default root directory of the current digital employee by default.
4049
+ * - Tags can be added to resources through sourceTags to facilitate subsequent management and retrieval.
4050
+ * - This operation generates a bill (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
3825
4051
  *
3826
4052
  * @param request - ListScheduledTasksRequest
3827
4053
  * @returns ListScheduledTasksResponse
@@ -3876,15 +4102,39 @@ export default class Client extends OpenApi {
3876
4102
  */
3877
4103
  listSkills(request: $_model.ListSkillsRequest): Promise<$_model.ListSkillsResponse>;
3878
4104
  /**
3879
- * Retrieves the list of knowledge bases.
4105
+ * Retrieves source retrieve and usage statistics through paged query and paging.
3880
4106
  *
3881
4107
  * @remarks
3882
- * ## Operation description
3883
- * - This API is used for paging query of folder content and resources in an enterprise knowledge base.
3884
- * - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and more.
3885
- * - The `sourceTypes` parameter allows you to filter by resource type. Separate multiple types with commas.
3886
- * - If `directoryId` is not specified or is set to `root`, the root folder list of the knowledge base is queried by default.
3887
- * - The default sort field is `name`, and the default sort order is ascending (`asc`).
4108
+ * Retrieves source retrieve and usage statistics through paged query and paging. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the current attach settings. The three APIs do not guarantee the same snapshot across requests.
4109
+ *
4110
+ * @param tmpReq - ListSourceUsageStatisticsRequest
4111
+ * @param headers - map
4112
+ * @param runtime - runtime options for this request RuntimeOptions
4113
+ * @returns ListSourceUsageStatisticsResponse
4114
+ */
4115
+ listSourceUsageStatisticsWithOptions(tmpReq: $_model.ListSourceUsageStatisticsRequest, headers: {
4116
+ [key: string]: string;
4117
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListSourceUsageStatisticsResponse>;
4118
+ /**
4119
+ * Retrieves source retrieve and usage statistics through paged query and paging.
4120
+ *
4121
+ * @remarks
4122
+ * Retrieves source retrieve and usage statistics through paged query and paging. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the current attach settings. The three APIs do not guarantee the same snapshot across requests.
4123
+ *
4124
+ * @param request - ListSourceUsageStatisticsRequest
4125
+ * @returns ListSourceUsageStatisticsResponse
4126
+ */
4127
+ listSourceUsageStatistics(request: $_model.ListSourceUsageStatisticsRequest): Promise<$_model.ListSourceUsageStatisticsResponse>;
4128
+ /**
4129
+ * Retrieves a list of knowledge bases.
4130
+ *
4131
+ * @remarks
4132
+ * ## Request description
4133
+ * - This API performs a paging query of folder contents and resources in an enterprise knowledge base.
4134
+ * - It supports filtering and sorting by various parameters, such as directoryId, page, pageSize, sortField, and sortOrder.
4135
+ * - The sourceTypes parameter allows you to filter by resource type. Separate multiple types with commas.
4136
+ * - If directoryId is not specified or is set to root, the root folder list of the knowledge base is queried by default.
4137
+ * - The default sort field is name, and the default sort order is ascending (asc).
3888
4138
  *
3889
4139
  * @param request - ListTenantDirectoryRequest
3890
4140
  * @param headers - map
@@ -3895,15 +4145,15 @@ export default class Client extends OpenApi {
3895
4145
  [key: string]: string;
3896
4146
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListTenantDirectoryResponse>;
3897
4147
  /**
3898
- * Retrieves the list of knowledge bases.
4148
+ * Retrieves a list of knowledge bases.
3899
4149
  *
3900
4150
  * @remarks
3901
- * ## Operation description
3902
- * - This API is used for paging query of folder content and resources in an enterprise knowledge base.
3903
- * - Multiple parameters are supported for filtering and sorting, such as `directoryId`, `page`, `pageSize`, `sortField`, `sortOrder`, and more.
3904
- * - The `sourceTypes` parameter allows you to filter by resource type. Separate multiple types with commas.
3905
- * - If `directoryId` is not specified or is set to `root`, the root folder list of the knowledge base is queried by default.
3906
- * - The default sort field is `name`, and the default sort order is ascending (`asc`).
4151
+ * ## Request description
4152
+ * - This API performs a paging query of folder contents and resources in an enterprise knowledge base.
4153
+ * - It supports filtering and sorting by various parameters, such as directoryId, page, pageSize, sortField, and sortOrder.
4154
+ * - The sourceTypes parameter allows you to filter by resource type. Separate multiple types with commas.
4155
+ * - If directoryId is not specified or is set to root, the root folder list of the knowledge base is queried by default.
4156
+ * - The default sort field is name, and the default sort order is ascending (asc).
3907
4157
  *
3908
4158
  * @param request - ListTenantDirectoryRequest
3909
4159
  * @returns ListTenantDirectoryResponse
@@ -3966,13 +4216,13 @@ export default class Client extends OpenApi {
3966
4216
  */
3967
4217
  listUserGroups(request: $_model.ListUserGroupsRequest): Promise<$_model.ListUserGroupsResponse>;
3968
4218
  /**
3969
- * Queries the knowledge base directory content visible to the current OpenAPI user.
4219
+ * Queries the content of the knowledge base directory visible to the current OpenAPI user.
3970
4220
  *
3971
4221
  * @remarks
3972
- * ## Operation description
3973
- * - This operation returns subdirectories and READY resources under the specified directory based on the enterprise knowledge base frontend scope.
4222
+ * ## Request description
4223
+ * - This operation returns the subdirectories and READY resources of a specified directory based on the frontend specifications of the enterprise knowledge base.
3974
4224
  * - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
3975
- * - When `sourceTypes` has a value, only resources are returned. `keyword` searches only the current directory level.
4225
+ * - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
3976
4226
  *
3977
4227
  * @param request - ListUserVisibleKnowledgeBaseContentsRequest
3978
4228
  * @param headers - map
@@ -3983,13 +4233,13 @@ export default class Client extends OpenApi {
3983
4233
  [key: string]: string;
3984
4234
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserVisibleKnowledgeBaseContentsResponse>;
3985
4235
  /**
3986
- * Queries the knowledge base directory content visible to the current OpenAPI user.
4236
+ * Queries the content of the knowledge base directory visible to the current OpenAPI user.
3987
4237
  *
3988
4238
  * @remarks
3989
- * ## Operation description
3990
- * - This operation returns subdirectories and READY resources under the specified directory based on the enterprise knowledge base frontend scope.
4239
+ * ## Request description
4240
+ * - This operation returns the subdirectories and READY resources of a specified directory based on the frontend specifications of the enterprise knowledge base.
3991
4241
  * - The user identity and directory visibility scope are derived from the OpenAPI authentication context.
3992
- * - When `sourceTypes` has a value, only resources are returned. `keyword` searches only the current directory level.
4242
+ * - If `sourceTypes` is specified, only resources are returned. The `keyword` parameter only searches the current directory level.
3993
4243
  *
3994
4244
  * @param request - ListUserVisibleKnowledgeBaseContentsRequest
3995
4245
  * @returns ListUserVisibleKnowledgeBaseContentsResponse
@@ -4026,16 +4276,16 @@ export default class Client extends OpenApi {
4026
4276
  */
4027
4277
  listUserVisibleKnowledgeBases(request: $_model.ListUserVisibleKnowledgeBasesRequest): Promise<$_model.ListUserVisibleKnowledgeBasesResponse>;
4028
4278
  /**
4029
- * Queries tenant members by paging.
4279
+ * Performs a paging query for the tenant member list.
4030
4280
  *
4031
4281
  * @remarks
4032
- * Queries a paged list of tenant members by using OpenAPI.
4033
- * Business orchestration:
4034
- * 1. Parse filter conditions (roleCodes → role_ids).
4035
- * 2. Call UserTenantMappingRepository.query_paged_tenant_members to perform a paged query.
4036
- * 3. Convert role_id in the results to roleCode and assemble the response.
4282
+ * Performs a paging query for the tenant member list by using OpenAPI.
4283
+ * Workflow:
4284
+ * 1. Parse filter conditions (roleCodes to role_ids).
4285
+ * 2. Invoke UserTenantMappingRepository.query_paged_tenant_members to perform a paging query.
4286
+ * 3. Convert role_id in the result to roleCode and assemble the response.
4037
4287
  * Error codes:
4038
- * - An error is thrown when an invalid roleCode parameter is specified.
4288
+ * - Throws an error when the roleCode parameter is invalid.
4039
4289
  *
4040
4290
  * @param tmpReq - ListUsersRequest
4041
4291
  * @param headers - map
@@ -4046,16 +4296,16 @@ export default class Client extends OpenApi {
4046
4296
  [key: string]: string;
4047
4297
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListUsersResponse>;
4048
4298
  /**
4049
- * Queries tenant members by paging.
4299
+ * Performs a paging query for the tenant member list.
4050
4300
  *
4051
4301
  * @remarks
4052
- * Queries a paged list of tenant members by using OpenAPI.
4053
- * Business orchestration:
4054
- * 1. Parse filter conditions (roleCodes → role_ids).
4055
- * 2. Call UserTenantMappingRepository.query_paged_tenant_members to perform a paged query.
4056
- * 3. Convert role_id in the results to roleCode and assemble the response.
4302
+ * Performs a paging query for the tenant member list by using OpenAPI.
4303
+ * Workflow:
4304
+ * 1. Parse filter conditions (roleCodes to role_ids).
4305
+ * 2. Invoke UserTenantMappingRepository.query_paged_tenant_members to perform a paging query.
4306
+ * 3. Convert role_id in the result to roleCode and assemble the response.
4057
4307
  * Error codes:
4058
- * - An error is thrown when an invalid roleCode parameter is specified.
4308
+ * - Throws an error when the roleCode parameter is invalid.
4059
4309
  *
4060
4310
  * @param request - ListUsersRequest
4061
4311
  * @returns ListUsersResponse
@@ -4218,10 +4468,10 @@ export default class Client extends OpenApi {
4218
4468
  */
4219
4469
  listWorkflowTemplateVersions(request: $_model.ListWorkflowTemplateVersionsRequest): Promise<$_model.ListWorkflowTemplateVersionsResponse>;
4220
4470
  /**
4221
- * Queries valid templates in the current collaboration space with pagination. Supports both page/pageSize and nextToken/maxResults parameters, with token-based pagination taking precedence.
4471
+ * Queries the valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
4222
4472
  *
4223
4473
  * @remarks
4224
- * Searches for valid templates in the current collaboration space with pagination. Supports both page/pageSize and nextToken/maxResults parameters, with token-based pagination taking precedence.
4474
+ * Searches for valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
4225
4475
  *
4226
4476
  * @param request - ListWorkflowTemplatesRequest
4227
4477
  * @param headers - map
@@ -4232,10 +4482,10 @@ export default class Client extends OpenApi {
4232
4482
  [key: string]: string;
4233
4483
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListWorkflowTemplatesResponse>;
4234
4484
  /**
4235
- * Queries valid templates in the current collaboration space with pagination. Supports both page/pageSize and nextToken/maxResults parameters, with token-based pagination taking precedence.
4485
+ * Queries the valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
4236
4486
  *
4237
4487
  * @remarks
4238
- * Searches for valid templates in the current collaboration space with pagination. Supports both page/pageSize and nextToken/maxResults parameters, with token-based pagination taking precedence.
4488
+ * Searches for valid templates in the current collaboration space by using pagination. If both page/pageSize and nextToken/maxResults are specified, the token takes precedence.
4239
4489
  *
4240
4490
  * @param request - ListWorkflowTemplatesRequest
4241
4491
  * @returns ListWorkflowTemplatesResponse
@@ -4245,7 +4495,7 @@ export default class Client extends OpenApi {
4245
4495
  * Marks to-do items as read.
4246
4496
  *
4247
4497
  * @remarks
4248
- * Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over the todoIds parameter. If both parameters are empty, no error is returned.
4498
+ * Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over todoIds. No error is reported if both are empty.
4249
4499
  *
4250
4500
  * @param tmpReq - MarkTodosReadRequest
4251
4501
  * @param headers - map
@@ -4259,7 +4509,7 @@ export default class Client extends OpenApi {
4259
4509
  * Marks to-do items as read.
4260
4510
  *
4261
4511
  * @remarks
4262
- * Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over the todoIds parameter. If both parameters are empty, no error is returned.
4512
+ * Marks the to-do items of the current user as read. The markAllRead parameter takes precedence over todoIds. No error is reported if both are empty.
4263
4513
  *
4264
4514
  * @param request - MarkTodosReadRequest
4265
4515
  * @returns MarkTodosReadResponse
@@ -4581,6 +4831,54 @@ export default class Client extends OpenApi {
4581
4831
  * @returns QuerySemanticKnowledgeResponse
4582
4832
  */
4583
4833
  querySemanticKnowledge(request: $_model.QuerySemanticKnowledgeRequest): Promise<$_model.QuerySemanticKnowledgeResponse>;
4834
+ /**
4835
+ * Queries the overview of source retrieval and usage.
4836
+ *
4837
+ * @remarks
4838
+ * Queries the overview of source retrieve and usage. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the attach configuration. The three APIs do not guarantee the same snapshot across requests.
4839
+ *
4840
+ * @param tmpReq - QuerySourceUsageSummaryRequest
4841
+ * @param headers - map
4842
+ * @param runtime - runtime options for this request RuntimeOptions
4843
+ * @returns QuerySourceUsageSummaryResponse
4844
+ */
4845
+ querySourceUsageSummaryWithOptions(tmpReq: $_model.QuerySourceUsageSummaryRequest, headers: {
4846
+ [key: string]: string;
4847
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySourceUsageSummaryResponse>;
4848
+ /**
4849
+ * Queries the overview of source retrieval and usage.
4850
+ *
4851
+ * @remarks
4852
+ * Queries the overview of source retrieve and usage. Returns only the data for the current query purpose, without other report sections. For enterprises, only the knowledge base super administrator is allowed. For a single workspace, the storage management administrator or the SUPER_ADMIN of the current tenant platform is allowed. For all workspaces, only the platform SUPER_ADMIN is allowed. This feature is not available for individual users, and group credentials cannot be used across workspaces. The time refers to the reporting and ingestion time, which is left-closed and right-open, with a maximum span of 366 days. Knowledge bases are filtered based on the attach configuration. The three APIs do not guarantee the same snapshot across requests.
4853
+ *
4854
+ * @param request - QuerySourceUsageSummaryRequest
4855
+ * @returns QuerySourceUsageSummaryResponse
4856
+ */
4857
+ querySourceUsageSummary(request: $_model.QuerySourceUsageSummaryRequest): Promise<$_model.QuerySourceUsageSummaryResponse>;
4858
+ /**
4859
+ * Queries the retrieval and usage time trends of sources.
4860
+ *
4861
+ * @remarks
4862
+ * Queries the trends of source retrieval and usage over time. Returns only the data relevant to the current query and does not include other report sections. For enterprises, only knowledge base super administrators are authorized. For a single workspace, workspace administrators or the SUPER_ADMIN of the current tenant are authorized. For all workspaces, only the platform SUPER_ADMIN is authorized. This feature is unavailable for individual users, and group credentials cannot be used across workspaces. The time parameter refers to the time when data is reported and ingested. The time range is inclusive of the start time and exclusive of the end time, and can span up to 366 days. Knowledge bases are filtered based on current bindings. The three APIs do not guarantee data snapshot consistency across requests.
4863
+ *
4864
+ * @param tmpReq - QuerySourceUsageTrendRequest
4865
+ * @param headers - map
4866
+ * @param runtime - runtime options for this request RuntimeOptions
4867
+ * @returns QuerySourceUsageTrendResponse
4868
+ */
4869
+ querySourceUsageTrendWithOptions(tmpReq: $_model.QuerySourceUsageTrendRequest, headers: {
4870
+ [key: string]: string;
4871
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.QuerySourceUsageTrendResponse>;
4872
+ /**
4873
+ * Queries the retrieval and usage time trends of sources.
4874
+ *
4875
+ * @remarks
4876
+ * Queries the trends of source retrieval and usage over time. Returns only the data relevant to the current query and does not include other report sections. For enterprises, only knowledge base super administrators are authorized. For a single workspace, workspace administrators or the SUPER_ADMIN of the current tenant are authorized. For all workspaces, only the platform SUPER_ADMIN is authorized. This feature is unavailable for individual users, and group credentials cannot be used across workspaces. The time parameter refers to the time when data is reported and ingested. The time range is inclusive of the start time and exclusive of the end time, and can span up to 366 days. Knowledge bases are filtered based on current bindings. The three APIs do not guarantee data snapshot consistency across requests.
4877
+ *
4878
+ * @param request - QuerySourceUsageTrendRequest
4879
+ * @returns QuerySourceUsageTrendResponse
4880
+ */
4881
+ querySourceUsageTrend(request: $_model.QuerySourceUsageTrendRequest): Promise<$_model.QuerySourceUsageTrendResponse>;
4584
4882
  /**
4585
4883
  * Queries the result of an organization synchronization task.
4586
4884
  *
@@ -4670,10 +4968,10 @@ export default class Client extends OpenApi {
4670
4968
  */
4671
4969
  recommendNextActions(request: $_model.RecommendNextActionsRequest): Promise<$_model.RecommendNextActionsResponse>;
4672
4970
  /**
4673
- * Registers in-app resource permissions in bulk.
4971
+ * Registers permissions for in-app resources in batches.
4674
4972
  *
4675
4973
  * @remarks
4676
- * Checks the MANAGE permission for all applications first, and then performs an atomic batch registration.
4974
+ * Checks the MANAGE permissions for all applications and then performs an atomic batch registration.
4677
4975
  *
4678
4976
  * @param tmpReq - RegisterAppResourcePermissionsRequest
4679
4977
  * @param headers - map
@@ -4684,10 +4982,10 @@ export default class Client extends OpenApi {
4684
4982
  [key: string]: string;
4685
4983
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RegisterAppResourcePermissionsResponse>;
4686
4984
  /**
4687
- * Registers in-app resource permissions in bulk.
4985
+ * Registers permissions for in-app resources in batches.
4688
4986
  *
4689
4987
  * @remarks
4690
- * Checks the MANAGE permission for all applications first, and then performs an atomic batch registration.
4988
+ * Checks the MANAGE permissions for all applications and then performs an atomic batch registration.
4691
4989
  *
4692
4990
  * @param request - RegisterAppResourcePermissionsRequest
4693
4991
  * @returns RegisterAppResourcePermissionsResponse
@@ -4955,7 +5253,7 @@ export default class Client extends OpenApi {
4955
5253
  * Overwrites or clears manual memory.
4956
5254
  *
4957
5255
  * @remarks
4958
- * Manages personal memory or the memory of a specified writing workspace based on the authenticated user. Workspace mode inherits the permissions of active members.
5256
+ * Manages personal or specified writing workspace memory based on the authenticated user. In workspace mode, the permissions of active members are inherited.
4959
5257
  *
4960
5258
  * @param request - ReplaceManualMemoryRequest
4961
5259
  * @param headers - map
@@ -4969,7 +5267,7 @@ export default class Client extends OpenApi {
4969
5267
  * Overwrites or clears manual memory.
4970
5268
  *
4971
5269
  * @remarks
4972
- * Manages personal memory or the memory of a specified writing workspace based on the authenticated user. Workspace mode inherits the permissions of active members.
5270
+ * Manages personal or specified writing workspace memory based on the authenticated user. In workspace mode, the permissions of active members are inherited.
4973
5271
  *
4974
5272
  * @param request - ReplaceManualMemoryRequest
4975
5273
  * @returns ReplaceManualMemoryResponse
@@ -5063,6 +5361,30 @@ export default class Client extends OpenApi {
5063
5361
  * @returns RerunNodeAIResponse
5064
5362
  */
5065
5363
  rerunNodeAI(request: $_model.RerunNodeAIRequest): Promise<$_model.RerunNodeAIResponse>;
5364
+ /**
5365
+ * Reruns a workflow starting from a specified node of a work item.
5366
+ *
5367
+ * @remarks
5368
+ * Reruns a workflow starting from a specified node of a work item. This operation retains business permissions and status checks. Acceptance of the command does not indicate that the asynchronous execution is complete.
5369
+ *
5370
+ * @param request - RerunWorkflowNodeRequest
5371
+ * @param headers - map
5372
+ * @param runtime - runtime options for this request RuntimeOptions
5373
+ * @returns RerunWorkflowNodeResponse
5374
+ */
5375
+ rerunWorkflowNodeWithOptions(request: $_model.RerunWorkflowNodeRequest, headers: {
5376
+ [key: string]: string;
5377
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RerunWorkflowNodeResponse>;
5378
+ /**
5379
+ * Reruns a workflow starting from a specified node of a work item.
5380
+ *
5381
+ * @remarks
5382
+ * Reruns a workflow starting from a specified node of a work item. This operation retains business permissions and status checks. Acceptance of the command does not indicate that the asynchronous execution is complete.
5383
+ *
5384
+ * @param request - RerunWorkflowNodeRequest
5385
+ * @returns RerunWorkflowNodeResponse
5386
+ */
5387
+ rerunWorkflowNode(request: $_model.RerunWorkflowNodeRequest): Promise<$_model.RerunWorkflowNodeResponse>;
5066
5388
  /**
5067
5389
  * Resets the password of a user.
5068
5390
  *
@@ -5143,6 +5465,30 @@ export default class Client extends OpenApi {
5143
5465
  * @returns ResetTokenResponse
5144
5466
  */
5145
5467
  resetToken(request: $_model.ResetTokenRequest): Promise<$_model.ResetTokenResponse>;
5468
+ /**
5469
+ * Resets the workflow node configuration to the default values.
5470
+ *
5471
+ * @remarks
5472
+ * Resets the workflow node configuration to the default values.
5473
+ *
5474
+ * @param request - ResetWorkflowNodeConfigurationRequest
5475
+ * @param headers - map
5476
+ * @param runtime - runtime options for this request RuntimeOptions
5477
+ * @returns ResetWorkflowNodeConfigurationResponse
5478
+ */
5479
+ resetWorkflowNodeConfigurationWithOptions(request: $_model.ResetWorkflowNodeConfigurationRequest, headers: {
5480
+ [key: string]: string;
5481
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ResetWorkflowNodeConfigurationResponse>;
5482
+ /**
5483
+ * Resets the workflow node configuration to the default values.
5484
+ *
5485
+ * @remarks
5486
+ * Resets the workflow node configuration to the default values.
5487
+ *
5488
+ * @param request - ResetWorkflowNodeConfigurationRequest
5489
+ * @returns ResetWorkflowNodeConfigurationResponse
5490
+ */
5491
+ resetWorkflowNodeConfiguration(request: $_model.ResetWorkflowNodeConfigurationRequest): Promise<$_model.ResetWorkflowNodeConfigurationResponse>;
5146
5492
  /**
5147
5493
  * Retrieves the short-term signed download URL for a work item artifact.
5148
5494
  *
@@ -5693,12 +6039,12 @@ export default class Client extends OpenApi {
5693
6039
  * Sends a message.
5694
6040
  *
5695
6041
  * @remarks
5696
- * ## Operation description
5697
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
5698
- * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
5699
- * - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
5700
- * - If you do not specify a target folder ID (`directoryId`), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure the folder belongs to the invoker\\"s personal folder.
5701
- * - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
6042
+ * ## Request description
6043
+ * - This API is used to upload a file to My Resources of a specified digital employee.
6044
+ * - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
6045
+ * - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
6046
+ * - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
6047
+ * - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
5702
6048
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
5703
6049
  *
5704
6050
  * @param tmpReq - SendChatMessageRequest
@@ -5713,12 +6059,12 @@ export default class Client extends OpenApi {
5713
6059
  * Sends a message.
5714
6060
  *
5715
6061
  * @remarks
5716
- * ## Operation description
5717
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
5718
- * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
5719
- * - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
5720
- * - If you do not specify a target folder ID (`directoryId`), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure the folder belongs to the invoker\\"s personal folder.
5721
- * - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
6062
+ * ## Request description
6063
+ * - This API is used to upload a file to My Resources of a specified digital employee.
6064
+ * - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
6065
+ * - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
6066
+ * - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
6067
+ * - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
5722
6068
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
5723
6069
  *
5724
6070
  * @param tmpReq - SendChatMessageRequest
@@ -5733,18 +6079,42 @@ export default class Client extends OpenApi {
5733
6079
  * Sends a message.
5734
6080
  *
5735
6081
  * @remarks
5736
- * ## Operation description
5737
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
5738
- * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
5739
- * - You must provide an OSS persistent address (`filePath`) for the file. Other information such as the public access URL and original file name is optional.
5740
- * - If you do not specify a target folder ID (`directoryId`), the file is automatically attached to the default root folder of the current digital employee. If you specify a folder ID, make sure the folder belongs to the invoker\\"s personal folder.
5741
- * - Multiple authentication methods (AK, BearerToken, and APP) are supported for security authentication.
6082
+ * ## Request description
6083
+ * - This API is used to upload a file to My Resources of a specified digital employee.
6084
+ * - The source_type is fixed to FILE, the scope is fixed to PERSONAL, and the platform is fixed to LOCAL.
6085
+ * - The file must be provided with an OSS persistence address (filePath). Other information, such as the public access URL and original file name, is optional.
6086
+ * - If the destination folder ID (directoryId) is not specified, the file is automatically attached to the default root folder of the current digital employee. If it is specified, ensure that the folder belongs to the personal folder of the invoker.
6087
+ * - Multiple methods to authenticate (such as AK, BearerToken, and APP) are supported for security authentication.
5742
6088
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
5743
6089
  *
5744
6090
  * @param request - SendChatMessageRequest
5745
6091
  * @returns SendChatMessageResponse
5746
6092
  */
5747
6093
  sendChatMessage(request: $_model.SendChatMessageRequest): Promise<$_model.SendChatMessageResponse>;
6094
+ /**
6095
+ * Sends a user message to a work item topic.
6096
+ *
6097
+ * @remarks
6098
+ * Sends a text message to an existing free exploration session within the current tenant and specified collaboration space. Returns a message submission receipt immediately, and the AI reply is generated asynchronously in the background. The caller must be associated with a platform user and have the permission to send messages to topics. You must specify at least one of workItemId and conversationId. If both are specified, they must point to the same session. This operation does not create a new session and does not support workflow node topics or Master topics.
6099
+ *
6100
+ * @param request - SendWorkItemMessageRequest
6101
+ * @param headers - map
6102
+ * @param runtime - runtime options for this request RuntimeOptions
6103
+ * @returns SendWorkItemMessageResponse
6104
+ */
6105
+ sendWorkItemMessageWithOptions(request: $_model.SendWorkItemMessageRequest, headers: {
6106
+ [key: string]: string;
6107
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SendWorkItemMessageResponse>;
6108
+ /**
6109
+ * Sends a user message to a work item topic.
6110
+ *
6111
+ * @remarks
6112
+ * Sends a text message to an existing free exploration session within the current tenant and specified collaboration space. Returns a message submission receipt immediately, and the AI reply is generated asynchronously in the background. The caller must be associated with a platform user and have the permission to send messages to topics. You must specify at least one of workItemId and conversationId. If both are specified, they must point to the same session. This operation does not create a new session and does not support workflow node topics or Master topics.
6113
+ *
6114
+ * @param request - SendWorkItemMessageRequest
6115
+ * @returns SendWorkItemMessageResponse
6116
+ */
6117
+ sendWorkItemMessage(request: $_model.SendWorkItemMessageRequest): Promise<$_model.SendWorkItemMessageResponse>;
5748
6118
  /**
5749
6119
  * Sets the personal pin status of a work item for a valid member.
5750
6120
  *
@@ -5770,10 +6140,10 @@ export default class Client extends OpenApi {
5770
6140
  */
5771
6141
  setWorkItemPinned(request: $_model.SetWorkItemPinnedRequest): Promise<$_model.SetWorkItemPinnedResponse>;
5772
6142
  /**
5773
- * Sets the effective version of a workflow.
6143
+ * The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
5774
6144
  *
5775
6145
  * @remarks
5776
- * The workspace administrator configures the Settings for the effective version of a workflow template. Only versions with a commit are allowed, and each template can have only one effective version. Before taking effect, the version is re-verified based on the current workspace members, digital workers, capabilities, and storage management. Existing work items use their own execute snapshots and are not affected.
6146
+ * The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
5777
6147
  *
5778
6148
  * @param request - SetWorkflowTemplateEffectiveVersionRequest
5779
6149
  * @param headers - map
@@ -5784,10 +6154,10 @@ export default class Client extends OpenApi {
5784
6154
  [key: string]: string;
5785
6155
  }, runtime: $dara.RuntimeOptions): Promise<$_model.SetWorkflowTemplateEffectiveVersionResponse>;
5786
6156
  /**
5787
- * Sets the effective version of a workflow.
6157
+ * The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
5788
6158
  *
5789
6159
  * @remarks
5790
- * The workspace administrator configures the Settings for the effective version of a workflow template. Only versions with a commit are allowed, and each template can have only one effective version. Before taking effect, the version is re-verified based on the current workspace members, digital workers, capabilities, and storage management. Existing work items use their own execute snapshots and are not affected.
6160
+ * The storage management administrator updates the Settings for the effective version of a workflow template. Only versions that you commit are allowed, and each template can have only one effective version. Before taking effect, the version is revalidated against the current workspace members, digital employees, and capabilities. Existing work items use their own snapshots to execute and remain unaffected.
5791
6161
  *
5792
6162
  * @param request - SetWorkflowTemplateEffectiveVersionRequest
5793
6163
  * @returns SetWorkflowTemplateEffectiveVersionResponse
@@ -5850,10 +6220,10 @@ export default class Client extends OpenApi {
5850
6220
  */
5851
6221
  streamChatMessage(messageId: string, request: $_model.StreamChatMessageRequest): Promise<$_model.StreamChatMessageResponse>;
5852
6222
  /**
5853
- * Submits answers for a to-do item.
6223
+ * Submits the answers for a to-do task.
5854
6224
  *
5855
6225
  * @remarks
5856
- * Submits the answers for a to-do item. Repeated submissions by the same user are idempotent and return the initial result. If another user completes the item first, a 409 AlreadyCompleted error is returned.
6226
+ * Submits the answers for a to-do task. If the same user submits the answers repeatedly, the operation is idempotent and returns the first result. If another user completes the task first, a 409 AlreadyCompleted error is returned.
5857
6227
  *
5858
6228
  * @param tmpReq - SubmitTodoRequest
5859
6229
  * @param headers - map
@@ -5864,10 +6234,10 @@ export default class Client extends OpenApi {
5864
6234
  [key: string]: string;
5865
6235
  }, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitTodoResponse>;
5866
6236
  /**
5867
- * Submits answers for a to-do item.
6237
+ * Submits the answers for a to-do task.
5868
6238
  *
5869
6239
  * @remarks
5870
- * Submits the answers for a to-do item. Repeated submissions by the same user are idempotent and return the initial result. If another user completes the item first, a 409 AlreadyCompleted error is returned.
6240
+ * Submits the answers for a to-do task. If the same user submits the answers repeatedly, the operation is idempotent and returns the first result. If another user completes the task first, a 409 AlreadyCompleted error is returned.
5871
6241
  *
5872
6242
  * @param request - SubmitTodoRequest
5873
6243
  * @returns SubmitTodoResponse
@@ -6033,10 +6403,10 @@ export default class Client extends OpenApi {
6033
6403
  [key: string]: string;
6034
6404
  }, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
6035
6405
  /**
6036
- * Reassigns a to-do task.
6406
+ * Transfers a to-do item.
6037
6407
  *
6038
6408
  * @remarks
6039
- * Reassigns a to-do task to specified users. The operator is excluded from the target list, and atomic validation is performed for the entire task.
6409
+ * Transfers a to-do item to specified users, excludes the operator from the targets, and performs atomic validation for the entire task.
6040
6410
  *
6041
6411
  * @param tmpReq - TransferTodoRequest
6042
6412
  * @param headers - map
@@ -6047,10 +6417,10 @@ export default class Client extends OpenApi {
6047
6417
  [key: string]: string;
6048
6418
  }, runtime: $dara.RuntimeOptions): Promise<$_model.TransferTodoResponse>;
6049
6419
  /**
6050
- * Reassigns a to-do task.
6420
+ * Transfers a to-do item.
6051
6421
  *
6052
6422
  * @remarks
6053
- * Reassigns a to-do task to specified users. The operator is excluded from the target list, and atomic validation is performed for the entire task.
6423
+ * Transfers a to-do item to specified users, excludes the operator from the targets, and performs atomic validation for the entire task.
6054
6424
  *
6055
6425
  * @param request - TransferTodoRequest
6056
6426
  * @returns TransferTodoResponse
@@ -6347,10 +6717,10 @@ export default class Client extends OpenApi {
6347
6717
  */
6348
6718
  updateKnowledgeBaseSourceTags(request: $_model.UpdateKnowledgeBaseSourceTagsRequest): Promise<$_model.UpdateKnowledgeBaseSourceTagsResponse>;
6349
6719
  /**
6350
- * Updates the automatic memory collection toggle.
6720
+ * Updates the automatic memory collection switch.
6351
6721
  *
6352
6722
  * @remarks
6353
- * Manages personal memories or memories of a specified collaborative writing workspace based on the authenticated user. In workspace mode, the permissions of active members are applied.
6723
+ * Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
6354
6724
  *
6355
6725
  * @param request - UpdateMemoryAutoExtractionSwitchRequest
6356
6726
  * @param headers - map
@@ -6361,10 +6731,10 @@ export default class Client extends OpenApi {
6361
6731
  [key: string]: string;
6362
6732
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryAutoExtractionSwitchResponse>;
6363
6733
  /**
6364
- * Updates the automatic memory collection toggle.
6734
+ * Updates the automatic memory collection switch.
6365
6735
  *
6366
6736
  * @remarks
6367
- * Manages personal memories or memories of a specified collaborative writing workspace based on the authenticated user. In workspace mode, the permissions of active members are applied.
6737
+ * Manages personal or specified writing collaboration workspace memory based on the authenticated user. The workspace mode inherits the permissions of active members.
6368
6738
  *
6369
6739
  * @param request - UpdateMemoryAutoExtractionSwitchRequest
6370
6740
  * @returns UpdateMemoryAutoExtractionSwitchResponse
@@ -6498,7 +6868,8 @@ export default class Client extends OpenApi {
6498
6868
  * Updates the name, description, and parent relationship of a specified user group.
6499
6869
  *
6500
6870
  * @remarks
6501
- * WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
6871
+ * ## Request description
6872
+ * This operation supports atomic updates to user group information, including but not limited to the user group name, description, and its position in the organizational structure (by setting a new parent user group ID or moving to the root node). Note that when attempting to move a user group to the root node, you must not provide a non-null `parentId` value at the same time. Additionally, if you do not want to modify certain fields such as `userGroupName` or `description`, you can omit these parameters.
6502
6873
  *
6503
6874
  * @param request - UpdateUserGroupRequest
6504
6875
  * @param headers - map
@@ -6512,7 +6883,8 @@ export default class Client extends OpenApi {
6512
6883
  * Updates the name, description, and parent relationship of a specified user group.
6513
6884
  *
6514
6885
  * @remarks
6515
- * WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
6886
+ * ## Request description
6887
+ * This operation supports atomic updates to user group information, including but not limited to the user group name, description, and its position in the organizational structure (by setting a new parent user group ID or moving to the root node). Note that when attempting to move a user group to the root node, you must not provide a non-null `parentId` value at the same time. Additionally, if you do not want to modify certain fields such as `userGroupName` or `description`, you can omit these parameters.
6516
6888
  *
6517
6889
  * @param request - UpdateUserGroupRequest
6518
6890
  * @returns UpdateUserGroupResponse
@@ -6579,10 +6951,28 @@ export default class Client extends OpenApi {
6579
6951
  */
6580
6952
  updateWorkItem(request: $_model.UpdateWorkItemRequest): Promise<$_model.UpdateWorkItemResponse>;
6581
6953
  /**
6582
- * Overwrites and updates a workflow template. The last save takes effect.
6954
+ * Updates the executor and model configurations of a workflow node.
6955
+ *
6956
+ * @param tmpReq - UpdateWorkflowNodeConfigurationRequest
6957
+ * @param headers - map
6958
+ * @param runtime - runtime options for this request RuntimeOptions
6959
+ * @returns UpdateWorkflowNodeConfigurationResponse
6960
+ */
6961
+ updateWorkflowNodeConfigurationWithOptions(tmpReq: $_model.UpdateWorkflowNodeConfigurationRequest, headers: {
6962
+ [key: string]: string;
6963
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
6964
+ /**
6965
+ * Updates the executor and model configurations of a workflow node.
6966
+ *
6967
+ * @param request - UpdateWorkflowNodeConfigurationRequest
6968
+ * @returns UpdateWorkflowNodeConfigurationResponse
6969
+ */
6970
+ updateWorkflowNodeConfiguration(request: $_model.UpdateWorkflowNodeConfigurationRequest): Promise<$_model.UpdateWorkflowNodeConfigurationResponse>;
6971
+ /**
6972
+ * Overwrites and updates a workflow template with valid members. The last save takes effect.
6583
6973
  *
6584
6974
  * @remarks
6585
- * Overwrites and updates a workflow template. The last save takes effect.
6975
+ * Overwrites and updates a workflow template with valid members. The last save takes effect.
6586
6976
  *
6587
6977
  * @param tmpReq - UpdateWorkflowTemplateRequest
6588
6978
  * @param headers - map
@@ -6593,10 +6983,10 @@ export default class Client extends OpenApi {
6593
6983
  [key: string]: string;
6594
6984
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWorkflowTemplateResponse>;
6595
6985
  /**
6596
- * Overwrites and updates a workflow template. The last save takes effect.
6986
+ * Overwrites and updates a workflow template with valid members. The last save takes effect.
6597
6987
  *
6598
6988
  * @remarks
6599
- * Overwrites and updates a workflow template. The last save takes effect.
6989
+ * Overwrites and updates a workflow template with valid members. The last save takes effect.
6600
6990
  *
6601
6991
  * @param request - UpdateWorkflowTemplateRequest
6602
6992
  * @returns UpdateWorkflowTemplateResponse
@@ -6619,6 +7009,8 @@ export default class Client extends OpenApi {
6619
7009
  * ### Response parameters
6620
7010
  * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
6621
7011
  *
7012
+ * @deprecated OpenAPI UploadChatFile is deprecated
7013
+ *
6622
7014
  * @param request - UploadChatFileRequest
6623
7015
  * @param headers - map
6624
7016
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6644,6 +7036,8 @@ export default class Client extends OpenApi {
6644
7036
  * ### Response parameters
6645
7037
  * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
6646
7038
  *
7039
+ * @deprecated OpenAPI UploadChatFile is deprecated
7040
+ *
6647
7041
  * @param request - UploadChatFileRequest
6648
7042
  * @returns UploadChatFileResponse
6649
7043
  */
@@ -6651,4 +7045,28 @@ export default class Client extends OpenApi {
6651
7045
  uploadChatFileAdvance(request: $_model.UploadChatFileAdvanceRequest, headers: {
6652
7046
  [key: string]: string;
6653
7047
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileResponse>;
7048
+ /**
7049
+ * Base64 上传会话文件
7050
+ *
7051
+ * @remarks
7052
+ * 使用标准 Base64 提交本地附件(应用侧解码上限 50 MiB),返回会话文件记录 ID。
7053
+ *
7054
+ * @param request - UploadChatFileByBase64Request
7055
+ * @param headers - map
7056
+ * @param runtime - runtime options for this request RuntimeOptions
7057
+ * @returns UploadChatFileByBase64Response
7058
+ */
7059
+ uploadChatFileByBase64WithOptions(request: $_model.UploadChatFileByBase64Request, headers: {
7060
+ [key: string]: string;
7061
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileByBase64Response>;
7062
+ /**
7063
+ * Base64 上传会话文件
7064
+ *
7065
+ * @remarks
7066
+ * 使用标准 Base64 提交本地附件(应用侧解码上限 50 MiB),返回会话文件记录 ID。
7067
+ *
7068
+ * @param request - UploadChatFileByBase64Request
7069
+ * @returns UploadChatFileByBase64Response
7070
+ */
7071
+ uploadChatFileByBase64(request: $_model.UploadChatFileByBase64Request): Promise<$_model.UploadChatFileByBase64Response>;
6654
7072
  }