@alicloud/winnexo20260512 1.3.0 → 1.4.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 (305) hide show
  1. package/dist/client.d.ts +627 -144
  2. package/dist/client.js +1222 -180
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.d.ts +1 -1
  5. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.d.ts +4 -4
  6. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.d.ts +1 -1
  7. package/dist/models/CreateGraphRequest.d.ts +57 -0
  8. package/dist/models/CreateGraphRequest.js +66 -0
  9. package/dist/models/CreateGraphRequest.js.map +1 -0
  10. package/dist/models/CreateGraphResponse.d.ts +19 -0
  11. package/dist/models/CreateGraphResponse.js +69 -0
  12. package/dist/models/CreateGraphResponse.js.map +1 -0
  13. package/dist/models/CreateGraphResponseBody.d.ts +69 -0
  14. package/dist/models/CreateGraphResponseBody.js +70 -0
  15. package/dist/models/CreateGraphResponseBody.js.map +1 -0
  16. package/dist/models/CreatePersonalAliDingMeetingRequest.d.ts +8 -0
  17. package/dist/models/CreatePersonalAliDingMeetingRequest.js +2 -0
  18. package/dist/models/CreatePersonalAliDingMeetingRequest.js.map +1 -1
  19. package/dist/models/CreatePersonalAliDingMeetingResponseBody.d.ts +0 -1
  20. package/dist/models/CreatePersonalAliDingMeetingResponseBody.js.map +1 -1
  21. package/dist/models/CreatePersonalAlidingDocRequest.d.ts +8 -0
  22. package/dist/models/CreatePersonalAlidingDocRequest.js +2 -0
  23. package/dist/models/CreatePersonalAlidingDocRequest.js.map +1 -1
  24. package/dist/models/CreatePersonalAlidingDocResponseBody.d.ts +4 -3
  25. package/dist/models/CreatePersonalAlidingDocResponseBody.js.map +1 -1
  26. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.d.ts +9 -1
  27. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js +2 -0
  28. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js.map +1 -1
  29. package/dist/models/CreatePersonalAlidingKnowledgeBaseResponseBody.d.ts +3 -3
  30. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.d.ts +8 -0
  31. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js +2 -0
  32. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js.map +1 -1
  33. package/dist/models/CreatePersonalDingtalkMinutesRequest.d.ts +10 -2
  34. package/dist/models/CreatePersonalDingtalkMinutesRequest.js +2 -0
  35. package/dist/models/CreatePersonalDingtalkMinutesRequest.js.map +1 -1
  36. package/dist/models/CreatePersonalDingtalkMinutesResponseBody.d.ts +1 -1
  37. package/dist/models/CreatePersonalFeishuMinuteRequest.d.ts +10 -2
  38. package/dist/models/CreatePersonalFeishuMinuteRequest.js +2 -0
  39. package/dist/models/CreatePersonalFeishuMinuteRequest.js.map +1 -1
  40. package/dist/models/CreatePersonalFeishuMinuteResponseBody.d.ts +1 -1
  41. package/dist/models/CreatePersonalFileRequest.d.ts +8 -0
  42. package/dist/models/CreatePersonalFileRequest.js +2 -0
  43. package/dist/models/CreatePersonalFileRequest.js.map +1 -1
  44. package/dist/models/CreatePersonalTextRequest.d.ts +8 -0
  45. package/dist/models/CreatePersonalTextRequest.js +2 -0
  46. package/dist/models/CreatePersonalTextRequest.js.map +1 -1
  47. package/dist/models/CreatePersonalVoiceMeetingRequest.d.ts +8 -0
  48. package/dist/models/CreatePersonalVoiceMeetingRequest.js +2 -0
  49. package/dist/models/CreatePersonalVoiceMeetingRequest.js.map +1 -1
  50. package/dist/models/CreatePersonalVoiceMeetingResponseBody.d.ts +2 -2
  51. package/dist/models/GetAliDingMinutesContentRequest.d.ts +31 -0
  52. package/dist/models/GetAliDingMinutesContentRequest.js +60 -0
  53. package/dist/models/GetAliDingMinutesContentRequest.js.map +1 -0
  54. package/dist/models/GetAliDingMinutesContentResponse.d.ts +19 -0
  55. package/dist/models/GetAliDingMinutesContentResponse.js +69 -0
  56. package/dist/models/GetAliDingMinutesContentResponse.js.map +1 -0
  57. package/dist/models/GetAliDingMinutesContentResponseBody.d.ts +126 -0
  58. package/dist/models/GetAliDingMinutesContentResponseBody.js +102 -0
  59. package/dist/models/GetAliDingMinutesContentResponseBody.js.map +1 -0
  60. package/dist/models/GetChatSessionRequest.d.ts +2 -2
  61. package/dist/models/GetChatSessionResponseBody.d.ts +8 -8
  62. package/dist/models/GetGraphDraftAssembledRequest.d.ts +31 -0
  63. package/dist/models/GetGraphDraftAssembledRequest.js +60 -0
  64. package/dist/models/GetGraphDraftAssembledRequest.js.map +1 -0
  65. package/dist/models/GetGraphDraftAssembledResponse.d.ts +19 -0
  66. package/dist/models/GetGraphDraftAssembledResponse.js +69 -0
  67. package/dist/models/GetGraphDraftAssembledResponse.js.map +1 -0
  68. package/dist/models/GetGraphDraftAssembledResponseBody.d.ts +63 -0
  69. package/dist/models/GetGraphDraftAssembledResponseBody.js +68 -0
  70. package/dist/models/GetGraphDraftAssembledResponseBody.js.map +1 -0
  71. package/dist/models/GetGraphSchemaDetailRequest.d.ts +31 -0
  72. package/dist/models/GetGraphSchemaDetailRequest.js +60 -0
  73. package/dist/models/GetGraphSchemaDetailRequest.js.map +1 -0
  74. package/dist/models/GetGraphSchemaDetailResponse.d.ts +19 -0
  75. package/dist/models/GetGraphSchemaDetailResponse.js +69 -0
  76. package/dist/models/GetGraphSchemaDetailResponse.js.map +1 -0
  77. package/dist/models/GetGraphSchemaDetailResponseBody.d.ts +127 -0
  78. package/dist/models/GetGraphSchemaDetailResponseBody.js +84 -0
  79. package/dist/models/GetGraphSchemaDetailResponseBody.js.map +1 -0
  80. package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +11 -11
  81. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +7 -7
  82. package/dist/models/GetScheduledTaskUnderstandDetailRequest.d.ts +2 -2
  83. package/dist/models/GetScheduledTaskUnderstandDetailResponseBody.d.ts +3 -3
  84. package/dist/models/GetScheduledTaskUnderstandDetailShrinkRequest.d.ts +2 -2
  85. package/dist/models/GetSkillRunResponseBody.d.ts +2 -2
  86. package/dist/models/GetUserInfoResponseBody.d.ts +4 -4
  87. package/dist/models/ListAdminKnowledgeBasesResponseBody.d.ts +10 -10
  88. package/dist/models/ListAliDingGroupMessagesRequest.d.ts +60 -0
  89. package/dist/models/ListAliDingGroupMessagesRequest.js +66 -0
  90. package/dist/models/ListAliDingGroupMessagesRequest.js.map +1 -0
  91. package/dist/models/ListAliDingGroupMessagesResponse.d.ts +19 -0
  92. package/dist/models/ListAliDingGroupMessagesResponse.js +69 -0
  93. package/dist/models/ListAliDingGroupMessagesResponse.js.map +1 -0
  94. package/dist/models/ListAliDingGroupMessagesResponseBody.d.ts +203 -0
  95. package/dist/models/ListAliDingGroupMessagesResponseBody.js +138 -0
  96. package/dist/models/ListAliDingGroupMessagesResponseBody.js.map +1 -0
  97. package/dist/models/ListAliDingMinutesRequest.d.ts +57 -0
  98. package/dist/models/ListAliDingMinutesRequest.js +66 -0
  99. package/dist/models/ListAliDingMinutesRequest.js.map +1 -0
  100. package/dist/models/ListAliDingMinutesResponse.d.ts +19 -0
  101. package/dist/models/ListAliDingMinutesResponse.js +69 -0
  102. package/dist/models/ListAliDingMinutesResponse.js.map +1 -0
  103. package/dist/models/ListAliDingMinutesResponseBody.d.ts +126 -0
  104. package/dist/models/ListAliDingMinutesResponseBody.js +102 -0
  105. package/dist/models/ListAliDingMinutesResponseBody.js.map +1 -0
  106. package/dist/models/ListAvailableConfigsRequest.d.ts +1 -1
  107. package/dist/models/ListAvailableConfigsResponseBody.d.ts +3 -3
  108. package/dist/models/ListBillingRequest.d.ts +6 -6
  109. package/dist/models/ListBillingResponseBody.d.ts +4 -4
  110. package/dist/models/ListGraphDraftResourcesRequest.d.ts +31 -0
  111. package/dist/models/ListGraphDraftResourcesRequest.js +60 -0
  112. package/dist/models/ListGraphDraftResourcesRequest.js.map +1 -0
  113. package/dist/models/ListGraphDraftResourcesResponse.d.ts +19 -0
  114. package/dist/models/ListGraphDraftResourcesResponse.js +69 -0
  115. package/dist/models/ListGraphDraftResourcesResponse.js.map +1 -0
  116. package/dist/models/ListGraphDraftResourcesResponseBody.d.ts +184 -0
  117. package/dist/models/ListGraphDraftResourcesResponseBody.js +114 -0
  118. package/dist/models/ListGraphDraftResourcesResponseBody.js.map +1 -0
  119. package/dist/models/ListGraphSchemasRequest.d.ts +37 -0
  120. package/dist/models/ListGraphSchemasRequest.js +65 -0
  121. package/dist/models/ListGraphSchemasRequest.js.map +1 -0
  122. package/dist/models/ListGraphSchemasResponse.d.ts +19 -0
  123. package/dist/models/ListGraphSchemasResponse.js +69 -0
  124. package/dist/models/ListGraphSchemasResponse.js.map +1 -0
  125. package/dist/models/ListGraphSchemasResponseBody.d.ts +145 -0
  126. package/dist/models/ListGraphSchemasResponseBody.js +107 -0
  127. package/dist/models/ListGraphSchemasResponseBody.js.map +1 -0
  128. package/dist/models/ListGraphSchemasShrinkRequest.d.ts +37 -0
  129. package/dist/models/ListGraphSchemasShrinkRequest.js +62 -0
  130. package/dist/models/ListGraphSchemasShrinkRequest.js.map +1 -0
  131. package/dist/models/ListPersonalDirectoryContentsRequest.d.ts +5 -5
  132. package/dist/models/ListPersonalDirectoryContentsResponseBody.d.ts +6 -6
  133. package/dist/models/ListPersonalDirectoryContentsShrinkRequest.d.ts +5 -5
  134. package/dist/models/ListSkillsRequest.d.ts +1 -1
  135. package/dist/models/ListSkillsResponseBody.d.ts +2 -2
  136. package/dist/models/ListSkillsShrinkRequest.d.ts +1 -1
  137. package/dist/models/ListUserVisibleKnowledgeBasesRequest.d.ts +3 -3
  138. package/dist/models/ListUserVisibleKnowledgeBasesResponseBody.d.ts +6 -6
  139. package/dist/models/QueryPrimaryObjectDataRequest.d.ts +3 -3
  140. package/dist/models/QueryPrimaryObjectDataResponseBody.d.ts +2 -2
  141. package/dist/models/RecommendNextActionsRequest.d.ts +2 -2
  142. package/dist/models/RecommendNextActionsResponseBody.d.ts +2 -2
  143. package/dist/models/RetryKnowledgeBaseFailedSourcesRequest.d.ts +2 -2
  144. package/dist/models/RetryKnowledgeBaseFailedSourcesResponseBody.d.ts +3 -3
  145. package/dist/models/RevertGraphDraftResourceRequest.d.ts +39 -0
  146. package/dist/models/RevertGraphDraftResourceRequest.js +62 -0
  147. package/dist/models/RevertGraphDraftResourceRequest.js.map +1 -0
  148. package/dist/models/RevertGraphDraftResourceResponse.d.ts +19 -0
  149. package/dist/models/RevertGraphDraftResourceResponse.js +69 -0
  150. package/dist/models/RevertGraphDraftResourceResponse.js.map +1 -0
  151. package/dist/models/RevertGraphDraftResourceResponseBody.d.ts +47 -0
  152. package/dist/models/RevertGraphDraftResourceResponseBody.js +64 -0
  153. package/dist/models/RevertGraphDraftResourceResponseBody.js.map +1 -0
  154. package/dist/models/SaveGraphDraftResourceRequest.d.ts +71 -0
  155. package/dist/models/SaveGraphDraftResourceRequest.js +68 -0
  156. package/dist/models/SaveGraphDraftResourceRequest.js.map +1 -0
  157. package/dist/models/SaveGraphDraftResourceResponse.d.ts +19 -0
  158. package/dist/models/SaveGraphDraftResourceResponse.js +69 -0
  159. package/dist/models/SaveGraphDraftResourceResponse.js.map +1 -0
  160. package/dist/models/SaveGraphDraftResourceResponseBody.d.ts +101 -0
  161. package/dist/models/SaveGraphDraftResourceResponseBody.js +78 -0
  162. package/dist/models/SaveGraphDraftResourceResponseBody.js.map +1 -0
  163. package/dist/models/SearchAliDingGroupChatsRequest.d.ts +55 -0
  164. package/dist/models/SearchAliDingGroupChatsRequest.js +66 -0
  165. package/dist/models/SearchAliDingGroupChatsRequest.js.map +1 -0
  166. package/dist/models/SearchAliDingGroupChatsResponse.d.ts +19 -0
  167. package/dist/models/SearchAliDingGroupChatsResponse.js +69 -0
  168. package/dist/models/SearchAliDingGroupChatsResponse.js.map +1 -0
  169. package/dist/models/SearchAliDingGroupChatsResponseBody.d.ts +98 -0
  170. package/dist/models/SearchAliDingGroupChatsResponseBody.js +96 -0
  171. package/dist/models/SearchAliDingGroupChatsResponseBody.js.map +1 -0
  172. package/dist/models/SendAsyncChatMessageRequest.d.ts +8 -0
  173. package/dist/models/SendAsyncChatMessageRequest.js +2 -0
  174. package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
  175. package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +8 -0
  176. package/dist/models/SendAsyncChatMessageShrinkRequest.js +2 -0
  177. package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
  178. package/dist/models/SendChatMessageRequest.d.ts +11 -3
  179. package/dist/models/SendChatMessageRequest.js +2 -0
  180. package/dist/models/SendChatMessageRequest.js.map +1 -1
  181. package/dist/models/SendChatMessageShrinkRequest.d.ts +11 -3
  182. package/dist/models/SendChatMessageShrinkRequest.js +2 -0
  183. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  184. package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +60 -0
  185. package/dist/models/TranscribeChatVoiceAdvanceRequest.js +63 -0
  186. package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -0
  187. package/dist/models/TranscribeChatVoiceRequest.d.ts +59 -0
  188. package/dist/models/TranscribeChatVoiceRequest.js +64 -0
  189. package/dist/models/TranscribeChatVoiceRequest.js.map +1 -0
  190. package/dist/models/TranscribeChatVoiceResponse.d.ts +19 -0
  191. package/dist/models/TranscribeChatVoiceResponse.js +69 -0
  192. package/dist/models/TranscribeChatVoiceResponse.js.map +1 -0
  193. package/dist/models/TranscribeChatVoiceResponseBody.d.ts +45 -0
  194. package/dist/models/TranscribeChatVoiceResponseBody.js +64 -0
  195. package/dist/models/TranscribeChatVoiceResponseBody.js.map +1 -0
  196. package/dist/models/UpdateGraphInfoRequest.d.ts +47 -0
  197. package/dist/models/UpdateGraphInfoRequest.js +64 -0
  198. package/dist/models/UpdateGraphInfoRequest.js.map +1 -0
  199. package/dist/models/UpdateGraphInfoResponse.d.ts +19 -0
  200. package/dist/models/UpdateGraphInfoResponse.js +69 -0
  201. package/dist/models/UpdateGraphInfoResponse.js.map +1 -0
  202. package/dist/models/UpdateGraphInfoResponseBody.d.ts +69 -0
  203. package/dist/models/UpdateGraphInfoResponseBody.js +70 -0
  204. package/dist/models/UpdateGraphInfoResponseBody.js.map +1 -0
  205. package/dist/models/UpdateUserInfoRequest.d.ts +3 -3
  206. package/dist/models/UpdateUserInfoResponseBody.d.ts +10 -10
  207. package/dist/models/model.d.ts +48 -0
  208. package/dist/models/model.js +108 -11
  209. package/dist/models/model.js.map +1 -1
  210. package/package.json +1 -1
  211. package/src/client.ts +1321 -188
  212. package/src/models/BatchRemoveOperatingObjectFavoritesRequest.ts +1 -1
  213. package/src/models/BatchRemoveOperatingObjectFavoritesResponseBody.ts +4 -4
  214. package/src/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.ts +1 -1
  215. package/src/models/CreateGraphRequest.ts +78 -0
  216. package/src/models/CreateGraphResponse.ts +40 -0
  217. package/src/models/CreateGraphResponseBody.ts +94 -0
  218. package/src/models/CreatePersonalAliDingMeetingRequest.ts +10 -0
  219. package/src/models/CreatePersonalAliDingMeetingResponseBody.ts +0 -1
  220. package/src/models/CreatePersonalAlidingDocRequest.ts +10 -0
  221. package/src/models/CreatePersonalAlidingDocResponseBody.ts +4 -3
  222. package/src/models/CreatePersonalAlidingKnowledgeBaseRequest.ts +11 -1
  223. package/src/models/CreatePersonalAlidingKnowledgeBaseResponseBody.ts +3 -3
  224. package/src/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.ts +10 -0
  225. package/src/models/CreatePersonalDingtalkMinutesRequest.ts +12 -2
  226. package/src/models/CreatePersonalDingtalkMinutesResponseBody.ts +1 -1
  227. package/src/models/CreatePersonalFeishuMinuteRequest.ts +12 -2
  228. package/src/models/CreatePersonalFeishuMinuteResponseBody.ts +1 -1
  229. package/src/models/CreatePersonalFileRequest.ts +10 -0
  230. package/src/models/CreatePersonalTextRequest.ts +10 -0
  231. package/src/models/CreatePersonalVoiceMeetingRequest.ts +10 -0
  232. package/src/models/CreatePersonalVoiceMeetingResponseBody.ts +2 -2
  233. package/src/models/GetAliDingMinutesContentRequest.ts +46 -0
  234. package/src/models/GetAliDingMinutesContentResponse.ts +40 -0
  235. package/src/models/GetAliDingMinutesContentResponseBody.ts +174 -0
  236. package/src/models/GetChatSessionRequest.ts +2 -2
  237. package/src/models/GetChatSessionResponseBody.ts +8 -8
  238. package/src/models/GetGraphDraftAssembledRequest.ts +46 -0
  239. package/src/models/GetGraphDraftAssembledResponse.ts +40 -0
  240. package/src/models/GetGraphDraftAssembledResponseBody.ts +86 -0
  241. package/src/models/GetGraphSchemaDetailRequest.ts +46 -0
  242. package/src/models/GetGraphSchemaDetailResponse.ts +40 -0
  243. package/src/models/GetGraphSchemaDetailResponseBody.ts +166 -0
  244. package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +11 -11
  245. package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +7 -7
  246. package/src/models/GetScheduledTaskUnderstandDetailRequest.ts +2 -2
  247. package/src/models/GetScheduledTaskUnderstandDetailResponseBody.ts +3 -3
  248. package/src/models/GetScheduledTaskUnderstandDetailShrinkRequest.ts +2 -2
  249. package/src/models/GetSkillRunResponseBody.ts +2 -2
  250. package/src/models/GetUserInfoResponseBody.ts +4 -4
  251. package/src/models/ListAdminKnowledgeBasesResponseBody.ts +10 -10
  252. package/src/models/ListAliDingGroupMessagesRequest.ts +81 -0
  253. package/src/models/ListAliDingGroupMessagesResponse.ts +40 -0
  254. package/src/models/ListAliDingGroupMessagesResponseBody.ts +278 -0
  255. package/src/models/ListAliDingMinutesRequest.ts +78 -0
  256. package/src/models/ListAliDingMinutesResponse.ts +40 -0
  257. package/src/models/ListAliDingMinutesResponseBody.ts +174 -0
  258. package/src/models/ListAvailableConfigsRequest.ts +1 -1
  259. package/src/models/ListAvailableConfigsResponseBody.ts +3 -3
  260. package/src/models/ListBillingRequest.ts +6 -6
  261. package/src/models/ListBillingResponseBody.ts +4 -4
  262. package/src/models/ListGraphDraftResourcesRequest.ts +46 -0
  263. package/src/models/ListGraphDraftResourcesResponse.ts +40 -0
  264. package/src/models/ListGraphDraftResourcesResponseBody.ts +244 -0
  265. package/src/models/ListGraphSchemasRequest.ts +57 -0
  266. package/src/models/ListGraphSchemasResponse.ts +40 -0
  267. package/src/models/ListGraphSchemasResponseBody.ts +198 -0
  268. package/src/models/ListGraphSchemasShrinkRequest.ts +54 -0
  269. package/src/models/ListPersonalDirectoryContentsRequest.ts +5 -5
  270. package/src/models/ListPersonalDirectoryContentsResponseBody.ts +6 -6
  271. package/src/models/ListPersonalDirectoryContentsShrinkRequest.ts +5 -5
  272. package/src/models/ListSkillsRequest.ts +1 -1
  273. package/src/models/ListSkillsResponseBody.ts +2 -2
  274. package/src/models/ListSkillsShrinkRequest.ts +1 -1
  275. package/src/models/ListUserVisibleKnowledgeBasesRequest.ts +3 -3
  276. package/src/models/ListUserVisibleKnowledgeBasesResponseBody.ts +6 -6
  277. package/src/models/QueryPrimaryObjectDataRequest.ts +3 -3
  278. package/src/models/QueryPrimaryObjectDataResponseBody.ts +2 -2
  279. package/src/models/RecommendNextActionsRequest.ts +2 -2
  280. package/src/models/RecommendNextActionsResponseBody.ts +2 -2
  281. package/src/models/RetryKnowledgeBaseFailedSourcesRequest.ts +2 -2
  282. package/src/models/RetryKnowledgeBaseFailedSourcesResponseBody.ts +3 -3
  283. package/src/models/RevertGraphDraftResourceRequest.ts +56 -0
  284. package/src/models/RevertGraphDraftResourceResponse.ts +40 -0
  285. package/src/models/RevertGraphDraftResourceResponseBody.ts +66 -0
  286. package/src/models/SaveGraphDraftResourceRequest.ts +94 -0
  287. package/src/models/SaveGraphDraftResourceResponse.ts +40 -0
  288. package/src/models/SaveGraphDraftResourceResponseBody.ts +134 -0
  289. package/src/models/SearchAliDingGroupChatsRequest.ts +76 -0
  290. package/src/models/SearchAliDingGroupChatsResponse.ts +40 -0
  291. package/src/models/SearchAliDingGroupChatsResponseBody.ts +140 -0
  292. package/src/models/SendAsyncChatMessageRequest.ts +10 -0
  293. package/src/models/SendAsyncChatMessageShrinkRequest.ts +10 -0
  294. package/src/models/SendChatMessageRequest.ts +13 -3
  295. package/src/models/SendChatMessageShrinkRequest.ts +13 -3
  296. package/src/models/TranscribeChatVoiceAdvanceRequest.ts +79 -0
  297. package/src/models/TranscribeChatVoiceRequest.ts +78 -0
  298. package/src/models/TranscribeChatVoiceResponse.ts +40 -0
  299. package/src/models/TranscribeChatVoiceResponseBody.ts +64 -0
  300. package/src/models/UpdateGraphInfoRequest.ts +66 -0
  301. package/src/models/UpdateGraphInfoResponse.ts +40 -0
  302. package/src/models/UpdateGraphInfoResponseBody.ts +94 -0
  303. package/src/models/UpdateUserInfoRequest.ts +3 -3
  304. package/src/models/UpdateUserInfoResponseBody.ts +10 -10
  305. package/src/models/model.ts +48 -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
- * Batch cancels digital employee favorites for specific object types.
49
+ * Batch cancels digital employee precise object type subscriptions.
50
50
  *
51
51
  * @remarks
52
- * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
52
+ * Idempotently cancels subscriptions along three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. After server-side validation, items are deduplicated while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. The delete operation, per-item status tracking, and remaining valid count are completed within a single transaction. To safely cancel all subscriptions, you must also invoke ClearOperatingObjectFavorites to clean up historical, MISSING, or permission-hidden records that are invisible in the list, and then read back to confirm that total is 0.
53
53
  *
54
54
  * @param tmpReq - BatchRemoveOperatingObjectFavoritesRequest
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.BatchRemoveOperatingObjectFavoritesResponse>;
62
62
  /**
63
- * Batch cancels digital employee favorites for specific object types.
63
+ * Batch cancels digital employee precise object type subscriptions.
64
64
  *
65
65
  * @remarks
66
- * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
66
+ * Idempotently cancels subscriptions along three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. After server-side validation, items are deduplicated while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. The delete operation, per-item status tracking, and remaining valid count are completed within a single transaction. To safely cancel all subscriptions, you must also invoke ClearOperatingObjectFavorites to clean up historical, MISSING, or permission-hidden records that are invisible in the list, and then read back to confirm that total is 0.
67
67
  *
68
68
  * @param request - BatchRemoveOperatingObjectFavoritesRequest
69
69
  * @returns BatchRemoveOperatingObjectFavoritesResponse
@@ -197,6 +197,52 @@ export default class Client extends OpenApi {
197
197
  * @returns CreateCustomOrgResponse
198
198
  */
199
199
  createCustomOrg(request: $_model.CreateCustomOrgRequest): Promise<$_model.CreateCustomOrgResponse>;
200
+ /**
201
+ * 创建语义图谱并绑定数据源
202
+ *
203
+ * @remarks
204
+ * OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
205
+ * 内容编辑走个人草稿接口,正式发布走产品控制台。
206
+ * 业务编排:
207
+ * 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
208
+ * 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
209
+ * 不写 history、不触发 runtime 重建
210
+ * 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
211
+ * 错误码:
212
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
213
+ * - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
214
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
215
+ * - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
216
+ *
217
+ * @param request - CreateGraphRequest
218
+ * @param headers - map
219
+ * @param runtime - runtime options for this request RuntimeOptions
220
+ * @returns CreateGraphResponse
221
+ */
222
+ createGraphWithOptions(request: $_model.CreateGraphRequest, headers: {
223
+ [key: string]: string;
224
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGraphResponse>;
225
+ /**
226
+ * 创建语义图谱并绑定数据源
227
+ *
228
+ * @remarks
229
+ * OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
230
+ * 内容编辑走个人草稿接口,正式发布走产品控制台。
231
+ * 业务编排:
232
+ * 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
233
+ * 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
234
+ * 不写 history、不触发 runtime 重建
235
+ * 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
236
+ * 错误码:
237
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
238
+ * - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
239
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
240
+ * - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
241
+ *
242
+ * @param request - CreateGraphRequest
243
+ * @returns CreateGraphResponse
244
+ */
245
+ createGraph(request: $_model.CreateGraphRequest): Promise<$_model.CreateGraphResponse>;
200
246
  /**
201
247
  * Creates a DingTalk group chat knowledge resource in a group.
202
248
  *
@@ -534,12 +580,13 @@ export default class Client extends OpenApi {
534
580
  *
535
581
  * @remarks
536
582
  * ## Request description
537
- * - This API is used to add an AliDing online document to the "My Resources" section of a specified digital employee.
583
+ * - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
538
584
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
539
- * - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If provided, ensure that the folder belongs to the current user and exists under the current digital employee.
585
+ * - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If `directoryId` is provided, make sure that the folder belongs to the current user and exists under the current digital employee.
540
586
  * - During the invoke process, metering is started and related operation logs are recorded.
541
587
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authentication identity. Values provided by the caller for these fields are ignored.
542
- * - Any validation or execute failure is thrown as an exception by the service and transformed into a POP error code returned to the caller.
588
+ * - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
589
+ * ## Related operations
543
590
  *
544
591
  * @param request - CreatePersonalAlidingDocRequest
545
592
  * @param headers - map
@@ -554,28 +601,29 @@ export default class Client extends OpenApi {
554
601
  *
555
602
  * @remarks
556
603
  * ## Request description
557
- * - This API is used to add an AliDing online document to the "My Resources" section of a specified digital employee.
604
+ * - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
558
605
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
559
- * - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If provided, ensure that the folder belongs to the current user and exists under the current digital employee.
606
+ * - If `directoryId` is not provided, the document is attached to the root folder of the current digital employee by default. If `directoryId` is provided, make sure that the folder belongs to the current user and exists under the current digital employee.
560
607
  * - During the invoke process, metering is started and related operation logs are recorded.
561
608
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authentication identity. Values provided by the caller for these fields are ignored.
562
- * - Any validation or execute failure is thrown as an exception by the service and transformed into a POP error code returned to the caller.
609
+ * - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
610
+ * ## Related operations
563
611
  *
564
612
  * @param request - CreatePersonalAlidingDocRequest
565
613
  * @returns CreatePersonalAlidingDocResponse
566
614
  */
567
615
  createPersonalAlidingDoc(request: $_model.CreatePersonalAlidingDocRequest): Promise<$_model.CreatePersonalAlidingDocResponse>;
568
616
  /**
569
- * Adds an AliDing knowledge base to the personal resources of the current digital employee.
617
+ * Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
570
618
  *
571
619
  * @remarks
572
620
  * ## Request description
573
- * - This API creates an AliDing knowledge base and mounts it to the personal resource directory of the specified digital employee.
621
+ * - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
574
622
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
575
623
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
576
624
  * - During creation, the knowledge base root directory is initialized (with the status set to `RUNNING`), and background tasks are dispatched based on the provided synchronization configuration to pull the remote directory tree and create child nodes.
577
625
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
578
- * - The synchronization configuration is optional. If enabled, a cron expression must be provided. If not provided or disabled, scheduled synchronization is not performed by default.
626
+ * - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
579
627
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
580
628
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
581
629
  *
@@ -588,16 +636,16 @@ export default class Client extends OpenApi {
588
636
  [key: string]: string;
589
637
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalAlidingKnowledgeBaseResponse>;
590
638
  /**
591
- * Adds an AliDing knowledge base to the personal resources of the current digital employee.
639
+ * Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
592
640
  *
593
641
  * @remarks
594
642
  * ## Request description
595
- * - This API creates an AliDing knowledge base and mounts it to the personal resource directory of the specified digital employee.
643
+ * - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
596
644
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
597
645
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
598
646
  * - During creation, the knowledge base root directory is initialized (with the status set to `RUNNING`), and background tasks are dispatched based on the provided synchronization configuration to pull the remote directory tree and create child nodes.
599
647
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
600
- * - The synchronization configuration is optional. If enabled, a cron expression must be provided. If not provided or disabled, scheduled synchronization is not performed by default.
648
+ * - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
601
649
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
602
650
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
603
651
  *
@@ -678,13 +726,13 @@ export default class Client extends OpenApi {
678
726
  */
679
727
  createPersonalDingtalkMeeting(request: $_model.CreatePersonalDingtalkMeetingRequest): Promise<$_model.CreatePersonalDingtalkMeetingResponse>;
680
728
  /**
681
- * Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji URL.
729
+ * Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
682
730
  *
683
731
  * @remarks
684
732
  * ## Request description
685
- * - This API creates a meeting resource by using a standard DingTalk Shanji link. The collection method is fixed to the DWS corresponding to personal OAuth.
733
+ * - This API creates a meeting resource by using a standard DingTalk Shanji note link. The collection method is fixed to the DWS corresponding to personal OAuth.
686
734
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
687
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
735
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
688
736
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
689
737
  * - You can add a resource description (`description`) and meeting notes (`notes`).
690
738
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -698,13 +746,13 @@ export default class Client extends OpenApi {
698
746
  [key: string]: string;
699
747
  }, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalDingtalkMinutesResponse>;
700
748
  /**
701
- * Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji URL.
749
+ * Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
702
750
  *
703
751
  * @remarks
704
752
  * ## Request description
705
- * - This API creates a meeting resource by using a standard DingTalk Shanji link. The collection method is fixed to the DWS corresponding to personal OAuth.
753
+ * - This API creates a meeting resource by using a standard DingTalk Shanji note link. The collection method is fixed to the DWS corresponding to personal OAuth.
706
754
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
707
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
755
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
708
756
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
709
757
  * - You can add a resource description (`description`) and meeting notes (`notes`).
710
758
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -817,7 +865,7 @@ export default class Client extends OpenApi {
817
865
  * - `name`: The display name of the uploaded resource in the system.
818
866
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
819
867
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
820
- * - `directoryId` (optional): The ID of the target personal directory where the resource is stored. If this field is omitted, the resource is automatically placed in the default location.
868
+ * - `directoryId` (optional): The ID of the target personal directory in which to store the resource. If this field is omitted, the resource is automatically placed in the default location.
821
869
  * - `description` (optional): A brief description or note about the uploaded resource.
822
870
  * Precautions:
823
871
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -841,7 +889,7 @@ export default class Client extends OpenApi {
841
889
  * - `name`: The display name of the uploaded resource in the system.
842
890
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
843
891
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
844
- * - `directoryId` (optional): The ID of the target personal directory where the resource is stored. If this field is omitted, the resource is automatically placed in the default location.
892
+ * - `directoryId` (optional): The ID of the target personal directory in which to store the resource. If this field is omitted, the resource is automatically placed in the default location.
845
893
  * - `description` (optional): A brief description or note about the uploaded resource.
846
894
  * Precautions:
847
895
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -932,7 +980,7 @@ export default class Client extends OpenApi {
932
980
  *
933
981
  * @remarks
934
982
  * ## Operation description
935
- * - This API operation uploads an offline meeting audio file to the "My Resources" section of a specified digital employee.
983
+ * - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
936
984
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
937
985
  * - If `directoryId` is not provided in the request body, the resource is automatically bound to the default root directory. If `directoryId` is provided, it must be an existing personal directory of the current user under the current digital employee.
938
986
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -950,7 +998,7 @@ export default class Client extends OpenApi {
950
998
  *
951
999
  * @remarks
952
1000
  * ## Operation description
953
- * - This API operation uploads an offline meeting audio file to the "My Resources" section of a specified digital employee.
1001
+ * - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
954
1002
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
955
1003
  * - If `directoryId` is not provided in the request body, the resource is automatically bound to the default root directory. If `directoryId` is provided, it must be an existing personal directory of the current user under the current digital employee.
956
1004
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -1314,14 +1362,44 @@ export default class Client extends OpenApi {
1314
1362
  */
1315
1363
  enableToken(request: $_model.EnableTokenRequest): Promise<$_model.EnableTokenResponse>;
1316
1364
  /**
1317
- * Retrieves session details.
1365
+ * Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
1318
1366
  *
1319
1367
  * @remarks
1320
1368
  * ## Request description
1321
- * - This API uploads a file to the "My Resources" section of a specified digital employee.
1369
+ * - This API is exclusively for the Winnexo Lite Workbench.
1370
+ * - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
1371
+ * - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
1372
+ *
1373
+ * @param request - GetAliDingMinutesContentRequest
1374
+ * @param headers - map
1375
+ * @param runtime - runtime options for this request RuntimeOptions
1376
+ * @returns GetAliDingMinutesContentResponse
1377
+ */
1378
+ getAliDingMinutesContentWithOptions(request: $_model.GetAliDingMinutesContentRequest, headers: {
1379
+ [key: string]: string;
1380
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetAliDingMinutesContentResponse>;
1381
+ /**
1382
+ * Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
1383
+ *
1384
+ * @remarks
1385
+ * ## Request description
1386
+ * - This API is exclusively for the Winnexo Lite Workbench.
1387
+ * - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
1388
+ * - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
1389
+ *
1390
+ * @param request - GetAliDingMinutesContentRequest
1391
+ * @returns GetAliDingMinutesContentResponse
1392
+ */
1393
+ getAliDingMinutesContent(request: $_model.GetAliDingMinutesContentRequest): Promise<$_model.GetAliDingMinutesContentResponse>;
1394
+ /**
1395
+ * Retrieves session details.
1396
+ *
1397
+ * @remarks
1398
+ * ## Operation description
1399
+ * - This API is used to upload files to the "My Resources" section of a specified digital employee.
1322
1400
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
1323
1401
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
1324
- * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1402
+ * - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1325
1403
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
1326
1404
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
1327
1405
  *
@@ -1337,11 +1415,11 @@ export default class Client extends OpenApi {
1337
1415
  * Retrieves session details.
1338
1416
  *
1339
1417
  * @remarks
1340
- * ## Request description
1341
- * - This API uploads a file to the "My Resources" section of a specified digital employee.
1418
+ * ## Operation description
1419
+ * - This API is used to upload files to the "My Resources" section of a specified digital employee.
1342
1420
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
1343
1421
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
1344
- * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1422
+ * - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1345
1423
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
1346
1424
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
1347
1425
  *
@@ -1349,6 +1427,46 @@ export default class Client extends OpenApi {
1349
1427
  * @returns GetChatSessionResponse
1350
1428
  */
1351
1429
  getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
1430
+ /**
1431
+ * Retrieves the full schema after merging the active schema with personal drafts.
1432
+ *
1433
+ * @remarks
1434
+ * Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
1435
+ * Business orchestration:
1436
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
1437
+ * and semantic view permission verification.
1438
+ * 2. If no personal draft exists, the full active YAML is returned (underlying short path).
1439
+ * If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
1440
+ * Error codes:
1441
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
1442
+ * - ERR.GraphSchema.*: The knowledge graph does not exist.
1443
+ *
1444
+ * @param request - GetGraphDraftAssembledRequest
1445
+ * @param headers - map
1446
+ * @param runtime - runtime options for this request RuntimeOptions
1447
+ * @returns GetGraphDraftAssembledResponse
1448
+ */
1449
+ getGraphDraftAssembledWithOptions(request: $_model.GetGraphDraftAssembledRequest, headers: {
1450
+ [key: string]: string;
1451
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphDraftAssembledResponse>;
1452
+ /**
1453
+ * Retrieves the full schema after merging the active schema with personal drafts.
1454
+ *
1455
+ * @remarks
1456
+ * Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
1457
+ * Business orchestration:
1458
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
1459
+ * and semantic view permission verification.
1460
+ * 2. If no personal draft exists, the full active YAML is returned (underlying short path).
1461
+ * If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
1462
+ * Error codes:
1463
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
1464
+ * - ERR.GraphSchema.*: The knowledge graph does not exist.
1465
+ *
1466
+ * @param request - GetGraphDraftAssembledRequest
1467
+ * @returns GetGraphDraftAssembledResponse
1468
+ */
1469
+ getGraphDraftAssembled(request: $_model.GetGraphDraftAssembledRequest): Promise<$_model.GetGraphDraftAssembledResponse>;
1352
1470
  /**
1353
1471
  * Retrieves the active Graph Schema readable by the current user.
1354
1472
  *
@@ -1373,6 +1491,36 @@ export default class Client extends OpenApi {
1373
1491
  * @returns GetGraphSchemaResponse
1374
1492
  */
1375
1493
  getGraphSchema(request: $_model.GetGraphSchemaRequest): Promise<$_model.GetGraphSchemaResponse>;
1494
+ /**
1495
+ * Retrieves the complete schema of a semantic graph from the management perspective.
1496
+ *
1497
+ * @remarks
1498
+ * Retrieves the complete active schema of a graph from the OpenAPI management perspective. This operation does not perform resource-level permission trimming, but requires semantic view permission at the entry point.
1499
+ * graphStatus and hasDraft reflect the personal draft and publish status from the current caller\\"s perspective. Deployment or system-level tokens have no personal identity, so hasDraft is always false.
1500
+ * Error codes:
1501
+ * - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
1502
+ *
1503
+ * @param request - GetGraphSchemaDetailRequest
1504
+ * @param headers - map
1505
+ * @param runtime - runtime options for this request RuntimeOptions
1506
+ * @returns GetGraphSchemaDetailResponse
1507
+ */
1508
+ getGraphSchemaDetailWithOptions(request: $_model.GetGraphSchemaDetailRequest, headers: {
1509
+ [key: string]: string;
1510
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphSchemaDetailResponse>;
1511
+ /**
1512
+ * Retrieves the complete schema of a semantic graph from the management perspective.
1513
+ *
1514
+ * @remarks
1515
+ * Retrieves the complete active schema of a graph from the OpenAPI management perspective. This operation does not perform resource-level permission trimming, but requires semantic view permission at the entry point.
1516
+ * graphStatus and hasDraft reflect the personal draft and publish status from the current caller\\"s perspective. Deployment or system-level tokens have no personal identity, so hasDraft is always false.
1517
+ * Error codes:
1518
+ * - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
1519
+ *
1520
+ * @param request - GetGraphSchemaDetailRequest
1521
+ * @returns GetGraphSchemaDetailResponse
1522
+ */
1523
+ getGraphSchemaDetail(request: $_model.GetGraphSchemaDetailRequest): Promise<$_model.GetGraphSchemaDetailResponse>;
1376
1524
  /**
1377
1525
  * Queries the expiration time of the most recently created standard package instance for a tenant.
1378
1526
  *
@@ -1488,13 +1636,13 @@ export default class Client extends OpenApi {
1488
1636
  *
1489
1637
  * @remarks
1490
1638
  * ## Operation description
1491
- * - This operation uploads a file to the enterprise knowledge base.
1492
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1639
+ * - This operation uploads files to an enterprise knowledge base.
1640
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
1493
1641
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1494
1642
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1495
- * - 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.
1496
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1497
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1643
+ * - 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.
1644
+ * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
1645
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1498
1646
  *
1499
1647
  * @param request - GetScheduledTaskExecutionRecordsRequest
1500
1648
  * @param headers - map
@@ -1509,13 +1657,13 @@ export default class Client extends OpenApi {
1509
1657
  *
1510
1658
  * @remarks
1511
1659
  * ## Operation description
1512
- * - This operation uploads a file to the enterprise knowledge base.
1513
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1660
+ * - This operation uploads files to an enterprise knowledge base.
1661
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
1514
1662
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1515
1663
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1516
- * - 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.
1517
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1518
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1664
+ * - 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.
1665
+ * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
1666
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1519
1667
  *
1520
1668
  * @param request - GetScheduledTaskExecutionRecordsRequest
1521
1669
  * @returns GetScheduledTaskExecutionRecordsResponse
@@ -1549,14 +1697,14 @@ export default class Client extends OpenApi {
1549
1697
  * Retrieves the details of scheduled task understanding.
1550
1698
  *
1551
1699
  * @remarks
1552
- * ## Operation description
1700
+ * ## Request description
1553
1701
  * - This operation uploads a file to the enterprise knowledge base.
1554
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1555
- * - The OSS persistent address (`filePath`) of the file must be provided during upload.
1556
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1557
- * - 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.
1702
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
1703
+ * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1704
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
1705
+ * - 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.
1558
1706
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1559
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1707
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1560
1708
  *
1561
1709
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
1562
1710
  *
@@ -1572,14 +1720,14 @@ export default class Client extends OpenApi {
1572
1720
  * Retrieves the details of scheduled task understanding.
1573
1721
  *
1574
1722
  * @remarks
1575
- * ## Operation description
1723
+ * ## Request description
1576
1724
  * - This operation uploads a file to the enterprise knowledge base.
1577
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1578
- * - The OSS persistent address (`filePath`) of the file must be provided during upload.
1579
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1580
- * - 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.
1725
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
1726
+ * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1727
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
1728
+ * - 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.
1581
1729
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1582
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1730
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
1583
1731
  *
1584
1732
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
1585
1733
  *
@@ -1914,10 +2062,10 @@ export default class Client extends OpenApi {
1914
2062
  * ## Request description
1915
2063
  * - This operation returns the detailed information of the current authenticated user.
1916
2064
  * - If the tenant information is invalid, the corresponding error message is returned.
1917
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
1918
- * - Multiple authentication methods are supported: AK, BearerToken, and APP authentication.
2065
+ * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
2066
+ * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
1919
2067
  * - 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.
1920
- * - If the current logon tenant is the system tenant (that is, `tenantId=10000`), this is explicitly indicated in the response.
2068
+ * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
1921
2069
  *
1922
2070
  * @param request - GetUserInfoRequest
1923
2071
  * @param headers - map
@@ -1934,10 +2082,10 @@ export default class Client extends OpenApi {
1934
2082
  * ## Request description
1935
2083
  * - This operation returns the detailed information of the current authenticated user.
1936
2084
  * - If the tenant information is invalid, the corresponding error message is returned.
1937
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
1938
- * - Multiple authentication methods are supported: AK, BearerToken, and APP authentication.
2085
+ * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
2086
+ * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
1939
2087
  * - 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.
1940
- * - If the current logon tenant is the system tenant (that is, `tenantId=10000`), this is explicitly indicated in the response.
2088
+ * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
1941
2089
  *
1942
2090
  * @param request - GetUserInfoRequest
1943
2091
  * @returns GetUserInfoResponse
@@ -2011,10 +2159,10 @@ export default class Client extends OpenApi {
2011
2159
  * @remarks
2012
2160
  * ## Operation description
2013
2161
  * - This API supports two modes: when `directoryId` is empty or set to \\"root\\", the top-level knowledge base list is returned. When `directoryId` has a specific value, a drill-down operation is performed to return subdirectories and resources under the specified directory.
2014
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
2015
- * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources by specific types.
2162
+ * - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
2163
+ * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
2016
2164
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
2017
- * - The search feature is only effective when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
2165
+ * - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
2018
2166
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
2019
2167
  *
2020
2168
  * @param tmpReq - ListAdminKnowledgeBasesRequest
@@ -2031,10 +2179,10 @@ export default class Client extends OpenApi {
2031
2179
  * @remarks
2032
2180
  * ## Operation description
2033
2181
  * - This API supports two modes: when `directoryId` is empty or set to \\"root\\", the top-level knowledge base list is returned. When `directoryId` has a specific value, a drill-down operation is performed to return subdirectories and resources under the specified directory.
2034
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
2035
- * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources by specific types.
2182
+ * - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
2183
+ * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
2036
2184
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
2037
- * - The search feature is only effective when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
2185
+ * - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
2038
2186
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
2039
2187
  *
2040
2188
  * @param request - ListAdminKnowledgeBasesRequest
@@ -2047,9 +2195,9 @@ export default class Client extends OpenApi {
2047
2195
  * @remarks
2048
2196
  * Queries the full list of digital employees under a tenant, including deactivated ones.
2049
2197
  * Business logic:
2050
- * 1. Constructs AuthContext from identity.
2051
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
2052
- * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName / displayName / authMode / isActive).
2198
+ * 1. Constructs an AuthContext from the identity.
2199
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
2200
+ * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
2053
2201
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
2054
2202
  * Difference from listAuthorizedAgents: This operation returns all digital employees of the tenant (including deactivated ones, without authorization filtering) and includes rich fields such as displayName and isActive for management console display.
2055
2203
  *
@@ -2067,9 +2215,9 @@ export default class Client extends OpenApi {
2067
2215
  * @remarks
2068
2216
  * Queries the full list of digital employees under a tenant, including deactivated ones.
2069
2217
  * Business logic:
2070
- * 1. Constructs AuthContext from identity.
2071
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
2072
- * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName / displayName / authMode / isActive).
2218
+ * 1. Constructs an AuthContext from the identity.
2219
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
2220
+ * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
2073
2221
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
2074
2222
  * Difference from listAuthorizedAgents: This operation returns all digital employees of the tenant (including deactivated ones, without authorization filtering) and includes rich fields such as displayName and isActive for management console display.
2075
2223
  *
@@ -2077,6 +2225,66 @@ export default class Client extends OpenApi {
2077
2225
  * @returns ListAgentsResponse
2078
2226
  */
2079
2227
  listAgents(request: $_model.ListAgentsRequest): Promise<$_model.ListAgentsResponse>;
2228
+ /**
2229
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
2230
+ *
2231
+ * @remarks
2232
+ * ## Operation description
2233
+ * - This operation is exclusively for the Winnexo lightweight workbench.
2234
+ * - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
2235
+ * - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
2236
+ *
2237
+ * @param request - ListAliDingGroupMessagesRequest
2238
+ * @param headers - map
2239
+ * @param runtime - runtime options for this request RuntimeOptions
2240
+ * @returns ListAliDingGroupMessagesResponse
2241
+ */
2242
+ listAliDingGroupMessagesWithOptions(request: $_model.ListAliDingGroupMessagesRequest, headers: {
2243
+ [key: string]: string;
2244
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAliDingGroupMessagesResponse>;
2245
+ /**
2246
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
2247
+ *
2248
+ * @remarks
2249
+ * ## Operation description
2250
+ * - This operation is exclusively for the Winnexo lightweight workbench.
2251
+ * - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
2252
+ * - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
2253
+ *
2254
+ * @param request - ListAliDingGroupMessagesRequest
2255
+ * @returns ListAliDingGroupMessagesResponse
2256
+ */
2257
+ listAliDingGroupMessages(request: $_model.ListAliDingGroupMessagesRequest): Promise<$_model.ListAliDingGroupMessagesResponse>;
2258
+ /**
2259
+ * Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
2260
+ *
2261
+ * @remarks
2262
+ * ## Operation description
2263
+ * - This operation is exclusively for the Winnexo lightweight workbench.
2264
+ * - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
2265
+ * - The time must include a time zone. This operation does not use recentDays and does not determine the time range on behalf of the caller.
2266
+ *
2267
+ * @param request - ListAliDingMinutesRequest
2268
+ * @param headers - map
2269
+ * @param runtime - runtime options for this request RuntimeOptions
2270
+ * @returns ListAliDingMinutesResponse
2271
+ */
2272
+ listAliDingMinutesWithOptions(request: $_model.ListAliDingMinutesRequest, headers: {
2273
+ [key: string]: string;
2274
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListAliDingMinutesResponse>;
2275
+ /**
2276
+ * Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
2277
+ *
2278
+ * @remarks
2279
+ * ## Operation description
2280
+ * - This operation is exclusively for the Winnexo lightweight workbench.
2281
+ * - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
2282
+ * - The time must include a time zone. This operation does not use recentDays and does not determine the time range on behalf of the caller.
2283
+ *
2284
+ * @param request - ListAliDingMinutesRequest
2285
+ * @returns ListAliDingMinutesResponse
2286
+ */
2287
+ listAliDingMinutes(request: $_model.ListAliDingMinutesRequest): Promise<$_model.ListAliDingMinutesResponse>;
2080
2288
  /**
2081
2289
  * Queries the list of digital human names for which the caller has specified permissions.
2082
2290
  *
@@ -2184,15 +2392,15 @@ export default class Client extends OpenApi {
2184
2392
  */
2185
2393
  listAvailableConfigs(request: $_model.ListAvailableConfigsRequest): Promise<$_model.ListAvailableConfigsResponse>;
2186
2394
  /**
2187
- * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
2395
+ * Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
2188
2396
  *
2189
2397
  * @remarks
2190
2398
  * ## Request description
2191
2399
  * - This operation queries the bill list based on specified conditions.
2192
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
2193
- * - Returns bill data in pages. The default page size is 20 records.
2400
+ * - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
2401
+ * - Bill data is returned in pages. By default, 20 records are displayed per page.
2194
2402
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
2195
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
2403
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
2196
2404
  *
2197
2405
  * @param request - ListBillingRequest
2198
2406
  * @param headers - map
@@ -2203,15 +2411,15 @@ export default class Client extends OpenApi {
2203
2411
  [key: string]: string;
2204
2412
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListBillingResponse>;
2205
2413
  /**
2206
- * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
2414
+ * Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
2207
2415
  *
2208
2416
  * @remarks
2209
2417
  * ## Request description
2210
2418
  * - This operation queries the bill list based on specified conditions.
2211
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
2212
- * - Returns bill data in pages. The default page size is 20 records.
2419
+ * - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
2420
+ * - Bill data is returned in pages. By default, 20 records are displayed per page.
2213
2421
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
2214
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
2422
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
2215
2423
  *
2216
2424
  * @param request - ListBillingRequest
2217
2425
  * @returns ListBillingResponse
@@ -2247,6 +2455,78 @@ export default class Client extends OpenApi {
2247
2455
  * @returns ListChatSessionsResponse
2248
2456
  */
2249
2457
  listChatSessions(request: $_model.ListChatSessionsRequest): Promise<$_model.ListChatSessionsResponse>;
2458
+ /**
2459
+ * Lists personal draft changes for a semantic graph.
2460
+ *
2461
+ * @remarks
2462
+ * Queries the list of personal draft changes for the current user under a specified graph (personal token only).
2463
+ * Business orchestration:
2464
+ * 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
2465
+ * and semantic view permission verification.
2466
+ * 2. Returns the active drafts of the current user (with online change risks).
2467
+ * In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
2468
+ * Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
2469
+ * Error codes:
2470
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
2471
+ * - ERR.GraphSchema.*: The graph does not exist.
2472
+ *
2473
+ * @param request - ListGraphDraftResourcesRequest
2474
+ * @param headers - map
2475
+ * @param runtime - runtime options for this request RuntimeOptions
2476
+ * @returns ListGraphDraftResourcesResponse
2477
+ */
2478
+ listGraphDraftResourcesWithOptions(request: $_model.ListGraphDraftResourcesRequest, headers: {
2479
+ [key: string]: string;
2480
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListGraphDraftResourcesResponse>;
2481
+ /**
2482
+ * Lists personal draft changes for a semantic graph.
2483
+ *
2484
+ * @remarks
2485
+ * Queries the list of personal draft changes for the current user under a specified graph (personal token only).
2486
+ * Business orchestration:
2487
+ * 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
2488
+ * and semantic view permission verification.
2489
+ * 2. Returns the active drafts of the current user (with online change risks).
2490
+ * In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
2491
+ * Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
2492
+ * Error codes:
2493
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
2494
+ * - ERR.GraphSchema.*: The graph does not exist.
2495
+ *
2496
+ * @param request - ListGraphDraftResourcesRequest
2497
+ * @returns ListGraphDraftResourcesResponse
2498
+ */
2499
+ listGraphDraftResources(request: $_model.ListGraphDraftResourcesRequest): Promise<$_model.ListGraphDraftResourcesResponse>;
2500
+ /**
2501
+ * 管理视角图谱列表
2502
+ *
2503
+ * @remarks
2504
+ * OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
2505
+ * 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
2506
+ * PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
2507
+ * keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
2508
+ *
2509
+ * @param tmpReq - ListGraphSchemasRequest
2510
+ * @param headers - map
2511
+ * @param runtime - runtime options for this request RuntimeOptions
2512
+ * @returns ListGraphSchemasResponse
2513
+ */
2514
+ listGraphSchemasWithOptions(tmpReq: $_model.ListGraphSchemasRequest, headers: {
2515
+ [key: string]: string;
2516
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListGraphSchemasResponse>;
2517
+ /**
2518
+ * 管理视角图谱列表
2519
+ *
2520
+ * @remarks
2521
+ * OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
2522
+ * 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
2523
+ * PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
2524
+ * keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
2525
+ *
2526
+ * @param request - ListGraphSchemasRequest
2527
+ * @returns ListGraphSchemasResponse
2528
+ */
2529
+ listGraphSchemas(request: $_model.ListGraphSchemasRequest): Promise<$_model.ListGraphSchemasResponse>;
2250
2530
  /**
2251
2531
  * Queries the list of knowledge graphs available for semantic queries under a tenant.
2252
2532
  *
@@ -2372,15 +2652,15 @@ export default class Client extends OpenApi {
2372
2652
  */
2373
2653
  listOutputFiles(request: $_model.ListOutputFilesRequest): Promise<$_model.ListOutputFilesResponse>;
2374
2654
  /**
2375
- * Queries subdirectories and resources under a specified digital employee resource directory.
2655
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
2376
2656
  *
2377
2657
  * @remarks
2378
2658
  * ## Operation description
2379
- * - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
2659
+ * - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
2380
2660
  * - When `directoryId` is set to \\"root\\", the service automatically resolves and returns the content under the current digital employee\\"s default root directory. If a specific directory ID is provided, the subdirectories and resources under that directory are returned.
2381
2661
  * - Security constraint: `tenant_id` and `user_id` can only come from the authenticated identity information. These fields provided by the caller in the request body are ignored.
2382
2662
  * - You can use the `sourceTypes` parameter to filter resources of specific types. When this parameter has a value, only resources that match the type condition are returned, and subdirectories are not included.
2383
- * - Sorting supports ascending or descending order by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`).
2663
+ * - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
2384
2664
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
2385
2665
  *
2386
2666
  * @param tmpReq - ListPersonalDirectoryContentsRequest
@@ -2392,15 +2672,15 @@ export default class Client extends OpenApi {
2392
2672
  [key: string]: string;
2393
2673
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListPersonalDirectoryContentsResponse>;
2394
2674
  /**
2395
- * Queries subdirectories and resources under a specified digital employee resource directory.
2675
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
2396
2676
  *
2397
2677
  * @remarks
2398
2678
  * ## Operation description
2399
- * - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
2679
+ * - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
2400
2680
  * - When `directoryId` is set to \\"root\\", the service automatically resolves and returns the content under the current digital employee\\"s default root directory. If a specific directory ID is provided, the subdirectories and resources under that directory are returned.
2401
2681
  * - Security constraint: `tenant_id` and `user_id` can only come from the authenticated identity information. These fields provided by the caller in the request body are ignored.
2402
2682
  * - You can use the `sourceTypes` parameter to filter resources of specific types. When this parameter has a value, only resources that match the type condition are returned, and subdirectories are not included.
2403
- * - Sorting supports ascending or descending order by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`).
2683
+ * - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
2404
2684
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
2405
2685
  *
2406
2686
  * @param request - ListPersonalDirectoryContentsRequest
@@ -2486,7 +2766,7 @@ export default class Client extends OpenApi {
2486
2766
  *
2487
2767
  * @remarks
2488
2768
  * ## Request description
2489
- * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
2769
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, keywords, and other conditions, and supports pagination.
2490
2770
  * ### Request parameters
2491
2771
  * - **TenantId**: Optional. A common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
2492
2772
  * - **FilterType**: Optional. The skill filtering dimension. Valid values: `ALL` (all published), `BUILTIN` (built-in published), `CUSTOM` (custom published), `DRAFT` (drafts, including published skills with unpublished modifications). Default value: `ALL`.
@@ -2494,10 +2774,10 @@ export default class Client extends OpenApi {
2494
2774
  * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
2495
2775
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
2496
2776
  * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
2497
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2777
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2498
2778
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
2499
2779
  * ### Response parameters
2500
- * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
2780
+ * The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
2501
2781
  *
2502
2782
  * @param tmpReq - ListSkillsRequest
2503
2783
  * @param headers - map
@@ -2512,7 +2792,7 @@ export default class Client extends OpenApi {
2512
2792
  *
2513
2793
  * @remarks
2514
2794
  * ## Request description
2515
- * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
2795
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, keywords, and other conditions, and supports pagination.
2516
2796
  * ### Request parameters
2517
2797
  * - **TenantId**: Optional. A common parameter passed through by the gateway to the backend header. If not specified, the default tenant of the current caller is used.
2518
2798
  * - **FilterType**: Optional. The skill filtering dimension. Valid values: `ALL` (all published), `BUILTIN` (built-in published), `CUSTOM` (custom published), `DRAFT` (drafts, including published skills with unpublished modifications). Default value: `ALL`.
@@ -2520,10 +2800,10 @@ export default class Client extends OpenApi {
2520
2800
  * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
2521
2801
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
2522
2802
  * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
2523
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2803
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2524
2804
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
2525
2805
  * ### Response parameters
2526
- * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
2806
+ * The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
2527
2807
  *
2528
2808
  * @param request - ListSkillsRequest
2529
2809
  * @returns ListSkillsResponse
@@ -2928,15 +3208,15 @@ export default class Client extends OpenApi {
2928
3208
  */
2929
3209
  previewPersonalSource(request: $_model.PreviewPersonalSourceRequest): Promise<$_model.PreviewPersonalSourceResponse>;
2930
3210
  /**
2931
- * Queries primary object data by operating object name with pagination, and supports filtering and searching.
3211
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
2932
3212
  *
2933
3213
  * @remarks
2934
- * ## Request description
2935
- * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
2936
- * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
2937
- * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
3214
+ * ## Operation description
3215
+ * - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
3216
+ * - You can search by keyword and specify whether to return only objects marked as favorites.
3217
+ * - You can use complex filter conditions to further narrow results, including but not limited to operators such as equal to, not equal to, greater than, and less than.
2938
3218
  * - If no primary object type is configured, an empty result set is returned.
2939
- * - Data included in the request undergoes authentication and filtering to ensure security and accuracy.
3219
+ * - The data in the request is subject to authentication and filtering to ensure security and accuracy.
2940
3220
  *
2941
3221
  * @param request - QueryPrimaryObjectDataRequest
2942
3222
  * @param headers - map
@@ -2947,15 +3227,15 @@ export default class Client extends OpenApi {
2947
3227
  [key: string]: string;
2948
3228
  }, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPrimaryObjectDataResponse>;
2949
3229
  /**
2950
- * Queries primary object data by operating object name with pagination, and supports filtering and searching.
3230
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
2951
3231
  *
2952
3232
  * @remarks
2953
- * ## Request description
2954
- * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
2955
- * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
2956
- * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
3233
+ * ## Operation description
3234
+ * - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
3235
+ * - You can search by keyword and specify whether to return only objects marked as favorites.
3236
+ * - You can use complex filter conditions to further narrow results, including but not limited to operators such as equal to, not equal to, greater than, and less than.
2957
3237
  * - If no primary object type is configured, an empty result set is returned.
2958
- * - Data included in the request undergoes authentication and filtering to ensure security and accuracy.
3238
+ * - The data in the request is subject to authentication and filtering to ensure security and accuracy.
2959
3239
  *
2960
3240
  * @param request - QueryPrimaryObjectDataRequest
2961
3241
  * @returns QueryPrimaryObjectDataResponse
@@ -3028,12 +3308,12 @@ export default class Client extends OpenApi {
3028
3308
  *
3029
3309
  * @remarks
3030
3310
  * ## Request description
3031
- * Based on the most recent N messages in a session and the skills attached to the agent, this operation invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
3311
+ * Based on the most recent N messages in a session and the skills attached to the agent, invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
3032
3312
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
3033
- * - `recentMessageCount`: The number of recent messages used to assemble contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
3034
- * - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This is injected into the default recommendation template as a custom instruction (before the output format constraints). The output is still subject to the JSON format and type constraints of the template.
3035
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
3036
- * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always execute recommendation generation.
3313
+ * - `recentMessageCount`: The number of recent messages used to assemble the contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
3314
+ * - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This instruction is injected into the default recommendation template before the output format constraints. The output is still subject to the JSON format and type constraints of the template.
3315
+ * - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
3316
+ * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
3037
3317
  *
3038
3318
  * @param request - RecommendNextActionsRequest
3039
3319
  * @param headers - map
@@ -3048,12 +3328,12 @@ export default class Client extends OpenApi {
3048
3328
  *
3049
3329
  * @remarks
3050
3330
  * ## Request description
3051
- * Based on the most recent N messages in a session and the skills attached to the agent, this operation invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
3331
+ * Based on the most recent N messages in a session and the skills attached to the agent, invokes an LLM to generate 0 to 3 next-step recommendations (follow-up questions or recommended skills to execute).
3052
3332
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
3053
- * - `recentMessageCount`: The number of recent messages used to assemble contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
3054
- * - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This is injected into the default recommendation template as a custom instruction (before the output format constraints). The output is still subject to the JSON format and type constraints of the template.
3055
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
3056
- * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always execute recommendation generation.
3333
+ * - `recentMessageCount`: The number of recent messages used to assemble the contextual information. Valid values: 1 to 30. Default value: 10 (approximately 5 rounds of user+assistant conversation).
3334
+ * - `customPrompt`: A custom recommendation instruction (up to 10,000 characters). This instruction is injected into the default recommendation template before the output format constraints. The output is still subject to the JSON format and type constraints of the template.
3335
+ * - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
3336
+ * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
3057
3337
  *
3058
3338
  * @param request - RecommendNextActionsRequest
3059
3339
  * @returns RecommendNextActionsResponse
@@ -3456,17 +3736,17 @@ export default class Client extends OpenApi {
3456
3736
  */
3457
3737
  retryDirectoryFailedSources(request: $_model.RetryDirectoryFailedSourcesRequest): Promise<$_model.RetryDirectoryFailedSourcesResponse>;
3458
3738
  /**
3459
- * Retries all data sources in failed status under a specified directory in batches.
3739
+ * Retries all data sources in failed status under a specified directory in batch.
3460
3740
  *
3461
3741
  * @remarks
3462
3742
  * ## Operation description
3463
3743
  * This API retrieves and retries all data sources in FAILED status under a specified enterprise knowledge base directory (including its subdirectories). The request returns immediately, and the actual retry operations are executed asynchronously in the background.
3464
- * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
3744
+ * - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
3465
3745
  * - **Security constraints**: Only callers with the corresponding tenant and user identity are allowed access, and KB management permission is required. Administrators can initiate retries for failed resources of any user.
3466
3746
  * - **Parameters**:
3467
- * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
3747
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
3468
3748
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
3469
- * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
3749
+ * - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
3470
3750
  *
3471
3751
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
3472
3752
  * @param headers - map
@@ -3477,22 +3757,62 @@ export default class Client extends OpenApi {
3477
3757
  [key: string]: string;
3478
3758
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RetryKnowledgeBaseFailedSourcesResponse>;
3479
3759
  /**
3480
- * Retries all data sources in failed status under a specified directory in batches.
3760
+ * Retries all data sources in failed status under a specified directory in batch.
3481
3761
  *
3482
3762
  * @remarks
3483
3763
  * ## Operation description
3484
3764
  * This API retrieves and retries all data sources in FAILED status under a specified enterprise knowledge base directory (including its subdirectories). The request returns immediately, and the actual retry operations are executed asynchronously in the background.
3485
- * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
3765
+ * - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
3486
3766
  * - **Security constraints**: Only callers with the corresponding tenant and user identity are allowed access, and KB management permission is required. Administrators can initiate retries for failed resources of any user.
3487
3767
  * - **Parameters**:
3488
- * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
3768
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
3489
3769
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
3490
- * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
3770
+ * - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
3491
3771
  *
3492
3772
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
3493
3773
  * @returns RetryKnowledgeBaseFailedSourcesResponse
3494
3774
  */
3495
3775
  retryKnowledgeBaseFailedSources(request: $_model.RetryKnowledgeBaseFailedSourcesRequest): Promise<$_model.RetryKnowledgeBaseFailedSourcesResponse>;
3776
+ /**
3777
+ * Revokes a single semantic resource draft.
3778
+ *
3779
+ * @remarks
3780
+ * Revokes a single semantic resource draft via OpenAPI (personal token only).
3781
+ * Business orchestration:
3782
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
3783
+ * and semantic management permission verification.
3784
+ * 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
3785
+ * If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
3786
+ * Error codes:
3787
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
3788
+ * - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
3789
+ *
3790
+ * @param request - RevertGraphDraftResourceRequest
3791
+ * @param headers - map
3792
+ * @param runtime - runtime options for this request RuntimeOptions
3793
+ * @returns RevertGraphDraftResourceResponse
3794
+ */
3795
+ revertGraphDraftResourceWithOptions(request: $_model.RevertGraphDraftResourceRequest, headers: {
3796
+ [key: string]: string;
3797
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RevertGraphDraftResourceResponse>;
3798
+ /**
3799
+ * Revokes a single semantic resource draft.
3800
+ *
3801
+ * @remarks
3802
+ * Revokes a single semantic resource draft via OpenAPI (personal token only).
3803
+ * Business orchestration:
3804
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
3805
+ * and semantic management permission verification.
3806
+ * 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
3807
+ * If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
3808
+ * Error codes:
3809
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
3810
+ * - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
3811
+ *
3812
+ * @param request - RevertGraphDraftResourceRequest
3813
+ * @returns RevertGraphDraftResourceResponse
3814
+ */
3815
+ revertGraphDraftResource(request: $_model.RevertGraphDraftResourceRequest): Promise<$_model.RevertGraphDraftResourceResponse>;
3496
3816
  /**
3497
3817
  * Revokes the usage permissions of a user or user group on a digital human.
3498
3818
  *
@@ -3565,6 +3885,50 @@ export default class Client extends OpenApi {
3565
3885
  * @returns RunSkillResponse
3566
3886
  */
3567
3887
  runSkill(request: $_model.RunSkillRequest): Promise<$_model.RunSkillResponse>;
3888
+ /**
3889
+ * 保存单个语义资源草稿
3890
+ *
3891
+ * @remarks
3892
+ * OpenAPI 保存单个语义资源草稿(仅个人 Token)。
3893
+ * 业务编排:
3894
+ * 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
3895
+ * 与语义管理权限校验
3896
+ * 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
3897
+ * 内容与在线完全一致时跳过落库,摘要字段返回 null
3898
+ * 错误码:
3899
+ * - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
3900
+ * - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
3901
+ * - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
3902
+ * - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
3903
+ *
3904
+ * @param request - SaveGraphDraftResourceRequest
3905
+ * @param headers - map
3906
+ * @param runtime - runtime options for this request RuntimeOptions
3907
+ * @returns SaveGraphDraftResourceResponse
3908
+ */
3909
+ saveGraphDraftResourceWithOptions(request: $_model.SaveGraphDraftResourceRequest, headers: {
3910
+ [key: string]: string;
3911
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGraphDraftResourceResponse>;
3912
+ /**
3913
+ * 保存单个语义资源草稿
3914
+ *
3915
+ * @remarks
3916
+ * OpenAPI 保存单个语义资源草稿(仅个人 Token)。
3917
+ * 业务编排:
3918
+ * 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
3919
+ * 与语义管理权限校验
3920
+ * 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
3921
+ * 内容与在线完全一致时跳过落库,摘要字段返回 null
3922
+ * 错误码:
3923
+ * - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
3924
+ * - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
3925
+ * - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
3926
+ * - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
3927
+ *
3928
+ * @param request - SaveGraphDraftResourceRequest
3929
+ * @returns SaveGraphDraftResourceResponse
3930
+ */
3931
+ saveGraphDraftResource(request: $_model.SaveGraphDraftResourceRequest): Promise<$_model.SaveGraphDraftResourceResponse>;
3568
3932
  /**
3569
3933
  * Saves group outputs in batches to the collaboration group repository.
3570
3934
  *
@@ -3675,6 +4039,36 @@ export default class Client extends OpenApi {
3675
4039
  * @returns SaveOutputFileToResourceResponse
3676
4040
  */
3677
4041
  saveOutputFileToResource(request: $_model.SaveOutputFileToResourceRequest): Promise<$_model.SaveOutputFileToResourceResponse>;
4042
+ /**
4043
+ * Winnexo 轻量工作台搜索阿里钉群聊。
4044
+ *
4045
+ * @remarks
4046
+ * ## 请求说明
4047
+ * - 仅供 Winnexo 轻量工作台使用。
4048
+ * - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
4049
+ * - 响应不包含 DWS 原始对象。
4050
+ *
4051
+ * @param request - SearchAliDingGroupChatsRequest
4052
+ * @param headers - map
4053
+ * @param runtime - runtime options for this request RuntimeOptions
4054
+ * @returns SearchAliDingGroupChatsResponse
4055
+ */
4056
+ searchAliDingGroupChatsWithOptions(request: $_model.SearchAliDingGroupChatsRequest, headers: {
4057
+ [key: string]: string;
4058
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SearchAliDingGroupChatsResponse>;
4059
+ /**
4060
+ * Winnexo 轻量工作台搜索阿里钉群聊。
4061
+ *
4062
+ * @remarks
4063
+ * ## 请求说明
4064
+ * - 仅供 Winnexo 轻量工作台使用。
4065
+ * - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
4066
+ * - 响应不包含 DWS 原始对象。
4067
+ *
4068
+ * @param request - SearchAliDingGroupChatsRequest
4069
+ * @returns SearchAliDingGroupChatsResponse
4070
+ */
4071
+ searchAliDingGroupChats(request: $_model.SearchAliDingGroupChatsRequest): Promise<$_model.SearchAliDingGroupChatsResponse>;
3678
4072
  /**
3679
4073
  * Asynchronously sends a session message.
3680
4074
  *
@@ -3703,13 +4097,13 @@ export default class Client extends OpenApi {
3703
4097
  * Sends a message.
3704
4098
  *
3705
4099
  * @remarks
3706
- * ## Request description
3707
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
4100
+ * ## Operation description
4101
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
3708
4102
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3709
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3710
- * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3711
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3712
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
4103
+ * - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
4104
+ * - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
4105
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
4106
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3713
4107
  *
3714
4108
  * @param tmpReq - SendChatMessageRequest
3715
4109
  * @param headers - map
@@ -3723,13 +4117,13 @@ export default class Client extends OpenApi {
3723
4117
  * Sends a message.
3724
4118
  *
3725
4119
  * @remarks
3726
- * ## Request description
3727
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
4120
+ * ## Operation description
4121
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
3728
4122
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3729
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3730
- * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3731
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3732
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
4123
+ * - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
4124
+ * - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
4125
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
4126
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3733
4127
  *
3734
4128
  * @param tmpReq - SendChatMessageRequest
3735
4129
  * @param headers - map
@@ -3743,13 +4137,13 @@ export default class Client extends OpenApi {
3743
4137
  * Sends a message.
3744
4138
  *
3745
4139
  * @remarks
3746
- * ## Request description
3747
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
4140
+ * ## Operation description
4141
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
3748
4142
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3749
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3750
- * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3751
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3752
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
4143
+ * - A persistent OSS address (`filePath`) must be provided for the file. Other information such as the public access URL and original file name is optional.
4144
+ * - If the target folder ID (`directoryId`) is not specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the personal folder of the invoker.
4145
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
4146
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3753
4147
  *
3754
4148
  * @param request - SendChatMessageRequest
3755
4149
  * @returns SendChatMessageResponse
@@ -3893,6 +4287,59 @@ export default class Client extends OpenApi {
3893
4287
  * @returns TogglePrimaryObjectFavoriteResponse
3894
4288
  */
3895
4289
  togglePrimaryObjectFavorite(request: $_model.TogglePrimaryObjectFavoriteRequest): Promise<$_model.TogglePrimaryObjectFavoriteResponse>;
4290
+ /**
4291
+ * Converts speech to text.
4292
+ *
4293
+ * @remarks
4294
+ * ## Request description
4295
+ * This API is used for speech-to-text (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted through the request body of this API. Instead, the audio file is first uploaded to OSS, and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the audio bytes from that address and calls the ASR model to convert them to text.
4296
+ * ### Call methods
4297
+ * - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK. Pass in the local audio file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
4298
+ * - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
4299
+ * ### Request parameters
4300
+ * - **FileUrl**: Required. The OSS address of the audio file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to set it manually.
4301
+ * - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the audio format, so you must explicitly specify it.
4302
+ * - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If this parameter is not specified, the MIME type is determined based on the file name extension.
4303
+ * - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
4304
+ * ### Response parameters
4305
+ * Returns the recognized text content `text`.
4306
+ * ### Before you begin
4307
+ * The tenant must have the speech recognition model (model_audio_flash) configured. If it is not configured, the error `ERR.Robject.Chat.VoiceAudioNotConfigured` is returned.
4308
+ *
4309
+ * @param request - TranscribeChatVoiceRequest
4310
+ * @param headers - map
4311
+ * @param runtime - runtime options for this request RuntimeOptions
4312
+ * @returns TranscribeChatVoiceResponse
4313
+ */
4314
+ transcribeChatVoiceWithOptions(request: $_model.TranscribeChatVoiceRequest, headers: {
4315
+ [key: string]: string;
4316
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
4317
+ /**
4318
+ * Converts speech to text.
4319
+ *
4320
+ * @remarks
4321
+ * ## Request description
4322
+ * This API is used for speech-to-text (ASR) and uses the **file transfer upload** mode (`fileTransfer`). Audio files are not transmitted through the request body of this API. Instead, the audio file is first uploaded to OSS, and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the audio bytes from that address and calls the ASR model to convert them to text.
4323
+ * ### Call methods
4324
+ * - **Recommended**: Use the `TranscribeChatVoiceAdvance` method generated by the SDK. Pass in the local audio file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
4325
+ * - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
4326
+ * ### Request parameters
4327
+ * - **FileUrl**: Required. The OSS address of the audio file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to set it manually.
4328
+ * - **FileName**: Required. The original file name including the extension, such as `meeting.mp3`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the audio format, so you must explicitly specify it.
4329
+ * - **ContentType**: Optional. The MIME type of the audio, such as `audio/mpeg`. If this parameter is not specified, the MIME type is determined based on the file name extension.
4330
+ * - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
4331
+ * ### Response parameters
4332
+ * Returns the recognized text content `text`.
4333
+ * ### Before you begin
4334
+ * The tenant must have the speech recognition model (model_audio_flash) configured. If it is not configured, the error `ERR.Robject.Chat.VoiceAudioNotConfigured` is returned.
4335
+ *
4336
+ * @param request - TranscribeChatVoiceRequest
4337
+ * @returns TranscribeChatVoiceResponse
4338
+ */
4339
+ transcribeChatVoice(request: $_model.TranscribeChatVoiceRequest): Promise<$_model.TranscribeChatVoiceResponse>;
4340
+ transcribeChatVoiceAdvance(request: $_model.TranscribeChatVoiceAdvanceRequest, headers: {
4341
+ [key: string]: string;
4342
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.TranscribeChatVoiceResponse>;
3896
4343
  /**
3897
4344
  * Updates the authorization mode for digital employee usage permissions.
3898
4345
  *
@@ -3995,6 +4442,42 @@ export default class Client extends OpenApi {
3995
4442
  * @returns UpdateDirectoryResponse
3996
4443
  */
3997
4444
  updateDirectory(request: $_model.UpdateDirectoryRequest): Promise<$_model.UpdateDirectoryResponse>;
4445
+ /**
4446
+ * 快更图谱元信息
4447
+ *
4448
+ * @remarks
4449
+ * OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
4450
+ * displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
4451
+ * 错误码:
4452
+ * - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
4453
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
4454
+ * - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
4455
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
4456
+ *
4457
+ * @param request - UpdateGraphInfoRequest
4458
+ * @param headers - map
4459
+ * @param runtime - runtime options for this request RuntimeOptions
4460
+ * @returns UpdateGraphInfoResponse
4461
+ */
4462
+ updateGraphInfoWithOptions(request: $_model.UpdateGraphInfoRequest, headers: {
4463
+ [key: string]: string;
4464
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateGraphInfoResponse>;
4465
+ /**
4466
+ * 快更图谱元信息
4467
+ *
4468
+ * @remarks
4469
+ * OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
4470
+ * displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
4471
+ * 错误码:
4472
+ * - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
4473
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
4474
+ * - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
4475
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
4476
+ *
4477
+ * @param request - UpdateGraphInfoRequest
4478
+ * @returns UpdateGraphInfoResponse
4479
+ */
4480
+ updateGraphInfo(request: $_model.UpdateGraphInfoRequest): Promise<$_model.UpdateGraphInfoResponse>;
3998
4481
  /**
3999
4482
  * Updates the information of a specified enterprise knowledge base directory, including the name, description, and parent directory.
4000
4483
  *
@@ -4251,11 +4734,11 @@ export default class Client extends OpenApi {
4251
4734
  * Updates partial fields of the current user information and returns the complete user information.
4252
4735
  *
4253
4736
  * @remarks
4254
- * ## Request description
4737
+ * ## Operation description
4255
4738
  * - This API allows the caller to update some or all optional fields of a specified user. Fields that are not provided retain their original values.
4256
4739
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
4257
4740
  * - After a successful update, the response body contains the complete user information object.
4258
- * - This operation requires authentication and supports AK, BearerToken, and APP security schemes.
4741
+ * - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
4259
4742
  * - The request content type is JSON, and the operation is available only over HTTPS.
4260
4743
  * - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
4261
4744
  *
@@ -4271,11 +4754,11 @@ export default class Client extends OpenApi {
4271
4754
  * Updates partial fields of the current user information and returns the complete user information.
4272
4755
  *
4273
4756
  * @remarks
4274
- * ## Request description
4757
+ * ## Operation description
4275
4758
  * - This API allows the caller to update some or all optional fields of a specified user. Fields that are not provided retain their original values.
4276
4759
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
4277
4760
  * - After a successful update, the response body contains the complete user information object.
4278
- * - This operation requires authentication and supports AK, BearerToken, and APP security schemes.
4761
+ * - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
4279
4762
  * - The request content type is JSON, and the operation is available only over HTTPS.
4280
4763
  * - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
4281
4764
  *