@alicloud/winnexo20260512 1.2.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 (437) hide show
  1. package/dist/client.d.ts +791 -238
  2. package/dist/client.js +1508 -279
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.d.ts +61 -0
  5. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js +69 -0
  6. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js.map +1 -0
  7. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.d.ts +19 -0
  8. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js +69 -0
  9. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js.map +1 -0
  10. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.d.ts +128 -0
  11. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js +104 -0
  12. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js.map +1 -0
  13. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.d.ts +61 -0
  14. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js +66 -0
  15. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js.map +1 -0
  16. package/dist/models/CheckHealthResponseBody.d.ts +3 -3
  17. package/dist/models/ClearOperatingObjectFavoritesRequest.d.ts +51 -0
  18. package/dist/models/ClearOperatingObjectFavoritesRequest.js +64 -0
  19. package/dist/models/ClearOperatingObjectFavoritesRequest.js.map +1 -0
  20. package/dist/models/ClearOperatingObjectFavoritesResponse.d.ts +19 -0
  21. package/dist/models/ClearOperatingObjectFavoritesResponse.js +69 -0
  22. package/dist/models/ClearOperatingObjectFavoritesResponse.js.map +1 -0
  23. package/dist/models/ClearOperatingObjectFavoritesResponseBody.d.ts +85 -0
  24. package/dist/models/ClearOperatingObjectFavoritesResponseBody.js +74 -0
  25. package/dist/models/ClearOperatingObjectFavoritesResponseBody.js.map +1 -0
  26. package/dist/models/CreateAnnouncementRequest.d.ts +2 -2
  27. package/dist/models/CreateAnnouncementResponseBody.d.ts +3 -3
  28. package/dist/models/CreateAnnouncementShrinkRequest.d.ts +2 -2
  29. package/dist/models/CreateConversationResponseBody.d.ts +3 -3
  30. package/dist/models/CreateGraphRequest.d.ts +57 -0
  31. package/dist/models/CreateGraphRequest.js +66 -0
  32. package/dist/models/CreateGraphRequest.js.map +1 -0
  33. package/dist/models/CreateGraphResponse.d.ts +19 -0
  34. package/dist/models/CreateGraphResponse.js +69 -0
  35. package/dist/models/CreateGraphResponse.js.map +1 -0
  36. package/dist/models/CreateGraphResponseBody.d.ts +69 -0
  37. package/dist/models/CreateGraphResponseBody.js +70 -0
  38. package/dist/models/CreateGraphResponseBody.js.map +1 -0
  39. package/dist/models/CreateGroupAliDingChatRequest.d.ts +0 -2
  40. package/dist/models/CreateGroupAliDingChatRequest.js +0 -2
  41. package/dist/models/CreateGroupAliDingChatRequest.js.map +1 -1
  42. package/dist/models/CreateGroupDingtalkChatRequest.d.ts +6 -6
  43. package/dist/models/CreateGroupDingtalkChatResponseBody.d.ts +4 -4
  44. package/dist/models/CreateGroupDingtalkChatShrinkRequest.d.ts +6 -6
  45. package/dist/models/CreateGroupFeishuDocRequest.d.ts +2 -2
  46. package/dist/models/CreateGroupFeishuDocResponseBody.d.ts +3 -3
  47. package/dist/models/CreateGroupFeishuDocShrinkRequest.d.ts +2 -2
  48. package/dist/models/CreateKnowledgeBaseAliDingDocResponseBody.d.ts +1 -1
  49. package/dist/models/CreatePersonalAliDingMeetingRequest.d.ts +8 -0
  50. package/dist/models/CreatePersonalAliDingMeetingRequest.js +2 -0
  51. package/dist/models/CreatePersonalAliDingMeetingRequest.js.map +1 -1
  52. package/dist/models/CreatePersonalAliDingMeetingResponseBody.d.ts +0 -1
  53. package/dist/models/CreatePersonalAliDingMeetingResponseBody.js.map +1 -1
  54. package/dist/models/CreatePersonalAlidingDocRequest.d.ts +8 -0
  55. package/dist/models/CreatePersonalAlidingDocRequest.js +2 -0
  56. package/dist/models/CreatePersonalAlidingDocRequest.js.map +1 -1
  57. package/dist/models/CreatePersonalAlidingDocResponseBody.d.ts +4 -3
  58. package/dist/models/CreatePersonalAlidingDocResponseBody.js.map +1 -1
  59. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.d.ts +9 -1
  60. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js +2 -0
  61. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js.map +1 -1
  62. package/dist/models/CreatePersonalAlidingKnowledgeBaseResponseBody.d.ts +3 -3
  63. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.d.ts +8 -0
  64. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js +2 -0
  65. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js.map +1 -1
  66. package/dist/models/CreatePersonalDingtalkMeetingResponseBody.d.ts +1 -1
  67. package/dist/models/CreatePersonalDingtalkMinutesRequest.d.ts +10 -2
  68. package/dist/models/CreatePersonalDingtalkMinutesRequest.js +2 -0
  69. package/dist/models/CreatePersonalDingtalkMinutesRequest.js.map +1 -1
  70. package/dist/models/CreatePersonalDingtalkMinutesResponseBody.d.ts +1 -1
  71. package/dist/models/CreatePersonalDirectoryRequest.d.ts +2 -2
  72. package/dist/models/CreatePersonalDirectoryResponseBody.d.ts +4 -4
  73. package/dist/models/CreatePersonalFeishuMinuteRequest.d.ts +10 -2
  74. package/dist/models/CreatePersonalFeishuMinuteRequest.js +2 -0
  75. package/dist/models/CreatePersonalFeishuMinuteRequest.js.map +1 -1
  76. package/dist/models/CreatePersonalFeishuMinuteResponseBody.d.ts +1 -1
  77. package/dist/models/CreatePersonalFileRequest.d.ts +8 -0
  78. package/dist/models/CreatePersonalFileRequest.js +2 -0
  79. package/dist/models/CreatePersonalFileRequest.js.map +1 -1
  80. package/dist/models/CreatePersonalTextRequest.d.ts +8 -0
  81. package/dist/models/CreatePersonalTextRequest.js +2 -0
  82. package/dist/models/CreatePersonalTextRequest.js.map +1 -1
  83. package/dist/models/CreatePersonalVoiceMeetingRequest.d.ts +8 -0
  84. package/dist/models/CreatePersonalVoiceMeetingRequest.js +2 -0
  85. package/dist/models/CreatePersonalVoiceMeetingRequest.js.map +1 -1
  86. package/dist/models/CreatePersonalVoiceMeetingResponseBody.d.ts +2 -2
  87. package/dist/models/CreateTenantDirectoryRequest.d.ts +1 -1
  88. package/dist/models/CreateTenantDirectoryResponseBody.d.ts +3 -3
  89. package/dist/models/CreateUserRequest.d.ts +10 -2
  90. package/dist/models/CreateUserRequest.js +2 -0
  91. package/dist/models/CreateUserRequest.js.map +1 -1
  92. package/dist/models/CreateUserShrinkRequest.d.ts +10 -2
  93. package/dist/models/CreateUserShrinkRequest.js +2 -0
  94. package/dist/models/CreateUserShrinkRequest.js.map +1 -1
  95. package/dist/models/CreateUserWithGroupsRequest.d.ts +7 -7
  96. package/dist/models/CreateUserWithGroupsResponseBody.d.ts +7 -7
  97. package/dist/models/CreateUserWithGroupsShrinkRequest.d.ts +7 -7
  98. package/dist/models/DeleteChatSessionRequest.d.ts +2 -2
  99. package/dist/models/GetAliDingMinutesContentRequest.d.ts +31 -0
  100. package/dist/models/GetAliDingMinutesContentRequest.js +60 -0
  101. package/dist/models/GetAliDingMinutesContentRequest.js.map +1 -0
  102. package/dist/models/GetAliDingMinutesContentResponse.d.ts +19 -0
  103. package/dist/models/GetAliDingMinutesContentResponse.js +69 -0
  104. package/dist/models/GetAliDingMinutesContentResponse.js.map +1 -0
  105. package/dist/models/GetAliDingMinutesContentResponseBody.d.ts +126 -0
  106. package/dist/models/GetAliDingMinutesContentResponseBody.js +102 -0
  107. package/dist/models/GetAliDingMinutesContentResponseBody.js.map +1 -0
  108. package/dist/models/GetChatSessionRequest.d.ts +1 -1
  109. package/dist/models/GetChatSessionResponseBody.d.ts +6 -6
  110. package/dist/models/GetGraphDraftAssembledRequest.d.ts +31 -0
  111. package/dist/models/GetGraphDraftAssembledRequest.js +60 -0
  112. package/dist/models/GetGraphDraftAssembledRequest.js.map +1 -0
  113. package/dist/models/GetGraphDraftAssembledResponse.d.ts +19 -0
  114. package/dist/models/GetGraphDraftAssembledResponse.js +69 -0
  115. package/dist/models/GetGraphDraftAssembledResponse.js.map +1 -0
  116. package/dist/models/GetGraphDraftAssembledResponseBody.d.ts +63 -0
  117. package/dist/models/GetGraphDraftAssembledResponseBody.js +68 -0
  118. package/dist/models/GetGraphDraftAssembledResponseBody.js.map +1 -0
  119. package/dist/models/GetGraphSchemaDetailRequest.d.ts +31 -0
  120. package/dist/models/GetGraphSchemaDetailRequest.js +60 -0
  121. package/dist/models/GetGraphSchemaDetailRequest.js.map +1 -0
  122. package/dist/models/GetGraphSchemaDetailResponse.d.ts +19 -0
  123. package/dist/models/GetGraphSchemaDetailResponse.js +69 -0
  124. package/dist/models/GetGraphSchemaDetailResponse.js.map +1 -0
  125. package/dist/models/GetGraphSchemaDetailResponseBody.d.ts +127 -0
  126. package/dist/models/GetGraphSchemaDetailResponseBody.js +84 -0
  127. package/dist/models/GetGraphSchemaDetailResponseBody.js.map +1 -0
  128. package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +11 -11
  129. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +7 -7
  130. package/dist/models/GetScheduledTaskUnderstandDetailRequest.d.ts +2 -2
  131. package/dist/models/GetScheduledTaskUnderstandDetailResponseBody.d.ts +3 -3
  132. package/dist/models/GetScheduledTaskUnderstandDetailShrinkRequest.d.ts +1 -1
  133. package/dist/models/GetSkillRunResponseBody.d.ts +2 -2
  134. package/dist/models/GetSourceRequest.d.ts +1 -1
  135. package/dist/models/GetSourceResponseBody.d.ts +4 -4
  136. package/dist/models/GetUserInfoResponseBody.d.ts +4 -4
  137. package/dist/models/ListActiveAnnouncementsRequest.d.ts +3 -3
  138. package/dist/models/ListActiveAnnouncementsResponseBody.d.ts +7 -7
  139. package/dist/models/ListAdminKnowledgeBasesResponseBody.d.ts +10 -10
  140. package/dist/models/ListAliDingGroupMessagesRequest.d.ts +60 -0
  141. package/dist/models/ListAliDingGroupMessagesRequest.js +66 -0
  142. package/dist/models/ListAliDingGroupMessagesRequest.js.map +1 -0
  143. package/dist/models/ListAliDingGroupMessagesResponse.d.ts +19 -0
  144. package/dist/models/ListAliDingGroupMessagesResponse.js +69 -0
  145. package/dist/models/ListAliDingGroupMessagesResponse.js.map +1 -0
  146. package/dist/models/ListAliDingGroupMessagesResponseBody.d.ts +203 -0
  147. package/dist/models/ListAliDingGroupMessagesResponseBody.js +138 -0
  148. package/dist/models/ListAliDingGroupMessagesResponseBody.js.map +1 -0
  149. package/dist/models/ListAliDingMinutesRequest.d.ts +57 -0
  150. package/dist/models/ListAliDingMinutesRequest.js +66 -0
  151. package/dist/models/ListAliDingMinutesRequest.js.map +1 -0
  152. package/dist/models/ListAliDingMinutesResponse.d.ts +19 -0
  153. package/dist/models/ListAliDingMinutesResponse.js +69 -0
  154. package/dist/models/ListAliDingMinutesResponse.js.map +1 -0
  155. package/dist/models/ListAliDingMinutesResponseBody.d.ts +126 -0
  156. package/dist/models/ListAliDingMinutesResponseBody.js +102 -0
  157. package/dist/models/ListAliDingMinutesResponseBody.js.map +1 -0
  158. package/dist/models/ListAvailableConfigsRequest.d.ts +1 -1
  159. package/dist/models/ListAvailableConfigsResponseBody.d.ts +3 -3
  160. package/dist/models/ListBillingRequest.d.ts +8 -8
  161. package/dist/models/ListBillingResponseBody.d.ts +5 -5
  162. package/dist/models/ListGraphDraftResourcesRequest.d.ts +31 -0
  163. package/dist/models/ListGraphDraftResourcesRequest.js +60 -0
  164. package/dist/models/ListGraphDraftResourcesRequest.js.map +1 -0
  165. package/dist/models/ListGraphDraftResourcesResponse.d.ts +19 -0
  166. package/dist/models/ListGraphDraftResourcesResponse.js +69 -0
  167. package/dist/models/ListGraphDraftResourcesResponse.js.map +1 -0
  168. package/dist/models/ListGraphDraftResourcesResponseBody.d.ts +184 -0
  169. package/dist/models/ListGraphDraftResourcesResponseBody.js +114 -0
  170. package/dist/models/ListGraphDraftResourcesResponseBody.js.map +1 -0
  171. package/dist/models/ListGraphSchemasRequest.d.ts +37 -0
  172. package/dist/models/ListGraphSchemasRequest.js +65 -0
  173. package/dist/models/ListGraphSchemasRequest.js.map +1 -0
  174. package/dist/models/ListGraphSchemasResponse.d.ts +19 -0
  175. package/dist/models/ListGraphSchemasResponse.js +69 -0
  176. package/dist/models/ListGraphSchemasResponse.js.map +1 -0
  177. package/dist/models/ListGraphSchemasResponseBody.d.ts +145 -0
  178. package/dist/models/ListGraphSchemasResponseBody.js +107 -0
  179. package/dist/models/ListGraphSchemasResponseBody.js.map +1 -0
  180. package/dist/models/ListGraphSchemasShrinkRequest.d.ts +37 -0
  181. package/dist/models/ListGraphSchemasShrinkRequest.js +62 -0
  182. package/dist/models/ListGraphSchemasShrinkRequest.js.map +1 -0
  183. package/dist/models/ListOperatingObjectFavoritesRequest.d.ts +67 -0
  184. package/dist/models/ListOperatingObjectFavoritesRequest.js +68 -0
  185. package/dist/models/ListOperatingObjectFavoritesRequest.js.map +1 -0
  186. package/dist/models/ListOperatingObjectFavoritesResponse.d.ts +19 -0
  187. package/dist/models/ListOperatingObjectFavoritesResponse.js +69 -0
  188. package/dist/models/ListOperatingObjectFavoritesResponse.js.map +1 -0
  189. package/dist/models/ListOperatingObjectFavoritesResponseBody.d.ts +158 -0
  190. package/dist/models/ListOperatingObjectFavoritesResponseBody.js +110 -0
  191. package/dist/models/ListOperatingObjectFavoritesResponseBody.js.map +1 -0
  192. package/dist/models/ListOutputFilesRequest.d.ts +3 -3
  193. package/dist/models/ListOutputFilesResponseBody.d.ts +2 -2
  194. package/dist/models/ListPersonalDirectoryContentsRequest.d.ts +5 -5
  195. package/dist/models/ListPersonalDirectoryContentsResponseBody.d.ts +6 -6
  196. package/dist/models/ListPersonalDirectoryContentsShrinkRequest.d.ts +5 -5
  197. package/dist/models/ListScheduledTasksRequest.d.ts +3 -3
  198. package/dist/models/ListScheduledTasksResponseBody.d.ts +7 -7
  199. package/dist/models/ListScheduledTasksShrinkRequest.d.ts +3 -3
  200. package/dist/models/ListSkillsRequest.d.ts +2 -2
  201. package/dist/models/ListSkillsResponseBody.d.ts +3 -3
  202. package/dist/models/ListSkillsShrinkRequest.d.ts +2 -2
  203. package/dist/models/ListUserVisibleKnowledgeBasesRequest.d.ts +3 -3
  204. package/dist/models/ListUserVisibleKnowledgeBasesResponseBody.d.ts +6 -6
  205. package/dist/models/ListVisibleKnowledgeBasesHeaders.d.ts +1 -1
  206. package/dist/models/ListVisibleKnowledgeBasesResponseBody.d.ts +7 -7
  207. package/dist/models/OfflineAnnouncementRequest.d.ts +1 -1
  208. package/dist/models/OfflineAnnouncementResponseBody.d.ts +1 -1
  209. package/dist/models/QueryPrimaryObjectDataRequest.d.ts +4 -4
  210. package/dist/models/QueryPrimaryObjectDataResponseBody.d.ts +2 -2
  211. package/dist/models/RecommendNextActionsRequest.d.ts +2 -2
  212. package/dist/models/RecommendNextActionsResponseBody.d.ts +3 -3
  213. package/dist/models/RetryDirectoryFailedSourcesRequest.d.ts +1 -1
  214. package/dist/models/RetryDirectoryFailedSourcesResponseBody.d.ts +2 -2
  215. package/dist/models/RetryKnowledgeBaseFailedSourcesResponseBody.d.ts +4 -4
  216. package/dist/models/RevertGraphDraftResourceRequest.d.ts +39 -0
  217. package/dist/models/RevertGraphDraftResourceRequest.js +62 -0
  218. package/dist/models/RevertGraphDraftResourceRequest.js.map +1 -0
  219. package/dist/models/RevertGraphDraftResourceResponse.d.ts +19 -0
  220. package/dist/models/RevertGraphDraftResourceResponse.js +69 -0
  221. package/dist/models/RevertGraphDraftResourceResponse.js.map +1 -0
  222. package/dist/models/RevertGraphDraftResourceResponseBody.d.ts +47 -0
  223. package/dist/models/RevertGraphDraftResourceResponseBody.js +64 -0
  224. package/dist/models/RevertGraphDraftResourceResponseBody.js.map +1 -0
  225. package/dist/models/SaveGraphDraftResourceRequest.d.ts +71 -0
  226. package/dist/models/SaveGraphDraftResourceRequest.js +68 -0
  227. package/dist/models/SaveGraphDraftResourceRequest.js.map +1 -0
  228. package/dist/models/SaveGraphDraftResourceResponse.d.ts +19 -0
  229. package/dist/models/SaveGraphDraftResourceResponse.js +69 -0
  230. package/dist/models/SaveGraphDraftResourceResponse.js.map +1 -0
  231. package/dist/models/SaveGraphDraftResourceResponseBody.d.ts +101 -0
  232. package/dist/models/SaveGraphDraftResourceResponseBody.js +78 -0
  233. package/dist/models/SaveGraphDraftResourceResponseBody.js.map +1 -0
  234. package/dist/models/SearchAliDingGroupChatsRequest.d.ts +55 -0
  235. package/dist/models/SearchAliDingGroupChatsRequest.js +66 -0
  236. package/dist/models/SearchAliDingGroupChatsRequest.js.map +1 -0
  237. package/dist/models/SearchAliDingGroupChatsResponse.d.ts +19 -0
  238. package/dist/models/SearchAliDingGroupChatsResponse.js +69 -0
  239. package/dist/models/SearchAliDingGroupChatsResponse.js.map +1 -0
  240. package/dist/models/SearchAliDingGroupChatsResponseBody.d.ts +98 -0
  241. package/dist/models/SearchAliDingGroupChatsResponseBody.js +96 -0
  242. package/dist/models/SearchAliDingGroupChatsResponseBody.js.map +1 -0
  243. package/dist/models/SendAsyncChatMessageRequest.d.ts +8 -0
  244. package/dist/models/SendAsyncChatMessageRequest.js +2 -0
  245. package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
  246. package/dist/models/SendAsyncChatMessageResponseBody.d.ts +1 -1
  247. package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +8 -0
  248. package/dist/models/SendAsyncChatMessageShrinkRequest.js +2 -0
  249. package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
  250. package/dist/models/SendChatMessageRequest.d.ts +11 -3
  251. package/dist/models/SendChatMessageRequest.js +2 -0
  252. package/dist/models/SendChatMessageRequest.js.map +1 -1
  253. package/dist/models/SendChatMessageShrinkRequest.d.ts +11 -3
  254. package/dist/models/SendChatMessageShrinkRequest.js +2 -0
  255. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  256. package/dist/models/StreamChatMessageRequest.d.ts +2 -2
  257. package/dist/models/StreamChatMessageResponseBody.d.ts +17 -1
  258. package/dist/models/StreamChatMessageResponseBody.js +4 -0
  259. package/dist/models/StreamChatMessageResponseBody.js.map +1 -1
  260. package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +60 -0
  261. package/dist/models/TranscribeChatVoiceAdvanceRequest.js +63 -0
  262. package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -0
  263. package/dist/models/TranscribeChatVoiceRequest.d.ts +59 -0
  264. package/dist/models/TranscribeChatVoiceRequest.js +64 -0
  265. package/dist/models/TranscribeChatVoiceRequest.js.map +1 -0
  266. package/dist/models/TranscribeChatVoiceResponse.d.ts +19 -0
  267. package/dist/models/TranscribeChatVoiceResponse.js +69 -0
  268. package/dist/models/TranscribeChatVoiceResponse.js.map +1 -0
  269. package/dist/models/TranscribeChatVoiceResponseBody.d.ts +45 -0
  270. package/dist/models/TranscribeChatVoiceResponseBody.js +64 -0
  271. package/dist/models/TranscribeChatVoiceResponseBody.js.map +1 -0
  272. package/dist/models/UpdateChatSessionResponseBody.d.ts +1 -1
  273. package/dist/models/UpdateGraphInfoRequest.d.ts +47 -0
  274. package/dist/models/UpdateGraphInfoRequest.js +64 -0
  275. package/dist/models/UpdateGraphInfoRequest.js.map +1 -0
  276. package/dist/models/UpdateGraphInfoResponse.d.ts +19 -0
  277. package/dist/models/UpdateGraphInfoResponse.js +69 -0
  278. package/dist/models/UpdateGraphInfoResponse.js.map +1 -0
  279. package/dist/models/UpdateGraphInfoResponseBody.d.ts +69 -0
  280. package/dist/models/UpdateGraphInfoResponseBody.js +70 -0
  281. package/dist/models/UpdateGraphInfoResponseBody.js.map +1 -0
  282. package/dist/models/UpdateUserInfoRequest.d.ts +3 -3
  283. package/dist/models/UpdateUserInfoResponseBody.d.ts +10 -10
  284. package/dist/models/UploadChatFileAdvanceRequest.d.ts +13 -13
  285. package/dist/models/UploadChatFileRequest.d.ts +13 -13
  286. package/dist/models/UploadChatFileResponseBody.d.ts +13 -13
  287. package/dist/models/model.d.ts +60 -0
  288. package/dist/models/model.js +132 -11
  289. package/dist/models/model.js.map +1 -1
  290. package/package.json +1 -1
  291. package/src/client.ts +1664 -321
  292. package/src/models/BatchRemoveOperatingObjectFavoritesRequest.ts +85 -0
  293. package/src/models/BatchRemoveOperatingObjectFavoritesResponse.ts +40 -0
  294. package/src/models/BatchRemoveOperatingObjectFavoritesResponseBody.ts +176 -0
  295. package/src/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.ts +82 -0
  296. package/src/models/CheckHealthResponseBody.ts +3 -3
  297. package/src/models/ClearOperatingObjectFavoritesRequest.ts +70 -0
  298. package/src/models/ClearOperatingObjectFavoritesResponse.ts +40 -0
  299. package/src/models/ClearOperatingObjectFavoritesResponseBody.ts +114 -0
  300. package/src/models/CreateAnnouncementRequest.ts +2 -2
  301. package/src/models/CreateAnnouncementResponseBody.ts +3 -3
  302. package/src/models/CreateAnnouncementShrinkRequest.ts +2 -2
  303. package/src/models/CreateConversationResponseBody.ts +3 -3
  304. package/src/models/CreateGraphRequest.ts +78 -0
  305. package/src/models/CreateGraphResponse.ts +40 -0
  306. package/src/models/CreateGraphResponseBody.ts +94 -0
  307. package/src/models/CreateGroupAliDingChatRequest.ts +0 -2
  308. package/src/models/CreateGroupDingtalkChatRequest.ts +6 -6
  309. package/src/models/CreateGroupDingtalkChatResponseBody.ts +4 -4
  310. package/src/models/CreateGroupDingtalkChatShrinkRequest.ts +6 -6
  311. package/src/models/CreateGroupFeishuDocRequest.ts +2 -2
  312. package/src/models/CreateGroupFeishuDocResponseBody.ts +3 -3
  313. package/src/models/CreateGroupFeishuDocShrinkRequest.ts +2 -2
  314. package/src/models/CreateKnowledgeBaseAliDingDocResponseBody.ts +1 -1
  315. package/src/models/CreatePersonalAliDingMeetingRequest.ts +10 -0
  316. package/src/models/CreatePersonalAliDingMeetingResponseBody.ts +0 -1
  317. package/src/models/CreatePersonalAlidingDocRequest.ts +10 -0
  318. package/src/models/CreatePersonalAlidingDocResponseBody.ts +4 -3
  319. package/src/models/CreatePersonalAlidingKnowledgeBaseRequest.ts +11 -1
  320. package/src/models/CreatePersonalAlidingKnowledgeBaseResponseBody.ts +3 -3
  321. package/src/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.ts +10 -0
  322. package/src/models/CreatePersonalDingtalkMeetingResponseBody.ts +1 -1
  323. package/src/models/CreatePersonalDingtalkMinutesRequest.ts +12 -2
  324. package/src/models/CreatePersonalDingtalkMinutesResponseBody.ts +1 -1
  325. package/src/models/CreatePersonalDirectoryRequest.ts +2 -2
  326. package/src/models/CreatePersonalDirectoryResponseBody.ts +4 -4
  327. package/src/models/CreatePersonalFeishuMinuteRequest.ts +12 -2
  328. package/src/models/CreatePersonalFeishuMinuteResponseBody.ts +1 -1
  329. package/src/models/CreatePersonalFileRequest.ts +10 -0
  330. package/src/models/CreatePersonalTextRequest.ts +10 -0
  331. package/src/models/CreatePersonalVoiceMeetingRequest.ts +10 -0
  332. package/src/models/CreatePersonalVoiceMeetingResponseBody.ts +2 -2
  333. package/src/models/CreateTenantDirectoryRequest.ts +1 -1
  334. package/src/models/CreateTenantDirectoryResponseBody.ts +3 -3
  335. package/src/models/CreateUserRequest.ts +12 -2
  336. package/src/models/CreateUserShrinkRequest.ts +12 -2
  337. package/src/models/CreateUserWithGroupsRequest.ts +7 -7
  338. package/src/models/CreateUserWithGroupsResponseBody.ts +7 -7
  339. package/src/models/CreateUserWithGroupsShrinkRequest.ts +7 -7
  340. package/src/models/DeleteChatSessionRequest.ts +2 -2
  341. package/src/models/GetAliDingMinutesContentRequest.ts +46 -0
  342. package/src/models/GetAliDingMinutesContentResponse.ts +40 -0
  343. package/src/models/GetAliDingMinutesContentResponseBody.ts +174 -0
  344. package/src/models/GetChatSessionRequest.ts +1 -1
  345. package/src/models/GetChatSessionResponseBody.ts +6 -6
  346. package/src/models/GetGraphDraftAssembledRequest.ts +46 -0
  347. package/src/models/GetGraphDraftAssembledResponse.ts +40 -0
  348. package/src/models/GetGraphDraftAssembledResponseBody.ts +86 -0
  349. package/src/models/GetGraphSchemaDetailRequest.ts +46 -0
  350. package/src/models/GetGraphSchemaDetailResponse.ts +40 -0
  351. package/src/models/GetGraphSchemaDetailResponseBody.ts +166 -0
  352. package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +11 -11
  353. package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +7 -7
  354. package/src/models/GetScheduledTaskUnderstandDetailRequest.ts +2 -2
  355. package/src/models/GetScheduledTaskUnderstandDetailResponseBody.ts +3 -3
  356. package/src/models/GetScheduledTaskUnderstandDetailShrinkRequest.ts +1 -1
  357. package/src/models/GetSkillRunResponseBody.ts +2 -2
  358. package/src/models/GetSourceRequest.ts +1 -1
  359. package/src/models/GetSourceResponseBody.ts +4 -4
  360. package/src/models/GetUserInfoResponseBody.ts +4 -4
  361. package/src/models/ListActiveAnnouncementsRequest.ts +3 -3
  362. package/src/models/ListActiveAnnouncementsResponseBody.ts +7 -7
  363. package/src/models/ListAdminKnowledgeBasesResponseBody.ts +10 -10
  364. package/src/models/ListAliDingGroupMessagesRequest.ts +81 -0
  365. package/src/models/ListAliDingGroupMessagesResponse.ts +40 -0
  366. package/src/models/ListAliDingGroupMessagesResponseBody.ts +278 -0
  367. package/src/models/ListAliDingMinutesRequest.ts +78 -0
  368. package/src/models/ListAliDingMinutesResponse.ts +40 -0
  369. package/src/models/ListAliDingMinutesResponseBody.ts +174 -0
  370. package/src/models/ListAvailableConfigsRequest.ts +1 -1
  371. package/src/models/ListAvailableConfigsResponseBody.ts +3 -3
  372. package/src/models/ListBillingRequest.ts +8 -8
  373. package/src/models/ListBillingResponseBody.ts +5 -5
  374. package/src/models/ListGraphDraftResourcesRequest.ts +46 -0
  375. package/src/models/ListGraphDraftResourcesResponse.ts +40 -0
  376. package/src/models/ListGraphDraftResourcesResponseBody.ts +244 -0
  377. package/src/models/ListGraphSchemasRequest.ts +57 -0
  378. package/src/models/ListGraphSchemasResponse.ts +40 -0
  379. package/src/models/ListGraphSchemasResponseBody.ts +198 -0
  380. package/src/models/ListGraphSchemasShrinkRequest.ts +54 -0
  381. package/src/models/ListOperatingObjectFavoritesRequest.ts +90 -0
  382. package/src/models/ListOperatingObjectFavoritesResponse.ts +40 -0
  383. package/src/models/ListOperatingObjectFavoritesResponseBody.ts +214 -0
  384. package/src/models/ListOutputFilesRequest.ts +3 -3
  385. package/src/models/ListOutputFilesResponseBody.ts +2 -2
  386. package/src/models/ListPersonalDirectoryContentsRequest.ts +5 -5
  387. package/src/models/ListPersonalDirectoryContentsResponseBody.ts +6 -6
  388. package/src/models/ListPersonalDirectoryContentsShrinkRequest.ts +5 -5
  389. package/src/models/ListScheduledTasksRequest.ts +3 -3
  390. package/src/models/ListScheduledTasksResponseBody.ts +7 -7
  391. package/src/models/ListScheduledTasksShrinkRequest.ts +3 -3
  392. package/src/models/ListSkillsRequest.ts +2 -2
  393. package/src/models/ListSkillsResponseBody.ts +3 -3
  394. package/src/models/ListSkillsShrinkRequest.ts +2 -2
  395. package/src/models/ListUserVisibleKnowledgeBasesRequest.ts +3 -3
  396. package/src/models/ListUserVisibleKnowledgeBasesResponseBody.ts +6 -6
  397. package/src/models/ListVisibleKnowledgeBasesHeaders.ts +1 -1
  398. package/src/models/ListVisibleKnowledgeBasesResponseBody.ts +7 -7
  399. package/src/models/OfflineAnnouncementRequest.ts +1 -1
  400. package/src/models/OfflineAnnouncementResponseBody.ts +1 -1
  401. package/src/models/QueryPrimaryObjectDataRequest.ts +4 -4
  402. package/src/models/QueryPrimaryObjectDataResponseBody.ts +2 -2
  403. package/src/models/RecommendNextActionsRequest.ts +2 -2
  404. package/src/models/RecommendNextActionsResponseBody.ts +3 -3
  405. package/src/models/RetryDirectoryFailedSourcesRequest.ts +1 -1
  406. package/src/models/RetryDirectoryFailedSourcesResponseBody.ts +2 -2
  407. package/src/models/RetryKnowledgeBaseFailedSourcesResponseBody.ts +4 -4
  408. package/src/models/RevertGraphDraftResourceRequest.ts +56 -0
  409. package/src/models/RevertGraphDraftResourceResponse.ts +40 -0
  410. package/src/models/RevertGraphDraftResourceResponseBody.ts +66 -0
  411. package/src/models/SaveGraphDraftResourceRequest.ts +94 -0
  412. package/src/models/SaveGraphDraftResourceResponse.ts +40 -0
  413. package/src/models/SaveGraphDraftResourceResponseBody.ts +134 -0
  414. package/src/models/SearchAliDingGroupChatsRequest.ts +76 -0
  415. package/src/models/SearchAliDingGroupChatsResponse.ts +40 -0
  416. package/src/models/SearchAliDingGroupChatsResponseBody.ts +140 -0
  417. package/src/models/SendAsyncChatMessageRequest.ts +10 -0
  418. package/src/models/SendAsyncChatMessageResponseBody.ts +1 -1
  419. package/src/models/SendAsyncChatMessageShrinkRequest.ts +10 -0
  420. package/src/models/SendChatMessageRequest.ts +13 -3
  421. package/src/models/SendChatMessageShrinkRequest.ts +13 -3
  422. package/src/models/StreamChatMessageRequest.ts +2 -2
  423. package/src/models/StreamChatMessageResponseBody.ts +21 -1
  424. package/src/models/TranscribeChatVoiceAdvanceRequest.ts +79 -0
  425. package/src/models/TranscribeChatVoiceRequest.ts +78 -0
  426. package/src/models/TranscribeChatVoiceResponse.ts +40 -0
  427. package/src/models/TranscribeChatVoiceResponseBody.ts +64 -0
  428. package/src/models/UpdateChatSessionResponseBody.ts +1 -1
  429. package/src/models/UpdateGraphInfoRequest.ts +66 -0
  430. package/src/models/UpdateGraphInfoResponse.ts +40 -0
  431. package/src/models/UpdateGraphInfoResponseBody.ts +94 -0
  432. package/src/models/UpdateUserInfoRequest.ts +3 -3
  433. package/src/models/UpdateUserInfoResponseBody.ts +10 -10
  434. package/src/models/UploadChatFileAdvanceRequest.ts +13 -13
  435. package/src/models/UploadChatFileRequest.ts +13 -13
  436. package/src/models/UploadChatFileResponseBody.ts +13 -13
  437. package/src/models/model.ts +60 -0
package/dist/client.js CHANGED
@@ -66,11 +66,6 @@ class Client extends openapi_core_1.default {
66
66
  constructor(config) {
67
67
  super(config);
68
68
  this._endpointRule = "regional";
69
- this._endpointMap = {
70
- 'cn-shanghai': "winnexo.cn-shanghai.aliyuncs.com",
71
- 'cn-zhangjiakou': "winnexo.cn-zhangjiakou.aliyuncs.com",
72
- 'cn-hangzhou': "winnexo.cn-hangzhou.aliyuncs.com",
73
- };
74
69
  this.checkConfig(config);
75
70
  this._endpoint = this.getEndpoint("winnexo", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
76
71
  }
@@ -230,6 +225,73 @@ class Client extends openapi_core_1.default {
230
225
  let headers = {};
231
226
  return await this.addUserGroupMembersWithOptions(request, headers, runtime);
232
227
  }
228
+ /**
229
+ * Batch cancels digital employee precise object type subscriptions.
230
+ *
231
+ * @remarks
232
+ * 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.
233
+ *
234
+ * @param tmpReq - BatchRemoveOperatingObjectFavoritesRequest
235
+ * @param headers - map
236
+ * @param runtime - runtime options for this request RuntimeOptions
237
+ * @returns BatchRemoveOperatingObjectFavoritesResponse
238
+ */
239
+ async batchRemoveOperatingObjectFavoritesWithOptions(tmpReq, headers, runtime) {
240
+ tmpReq.validate();
241
+ let request = new $_model.BatchRemoveOperatingObjectFavoritesShrinkRequest({});
242
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
243
+ if (!$dara.isNull(tmpReq.objectIds)) {
244
+ request.objectIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectIds, "objectIds", "json");
245
+ }
246
+ let query = {};
247
+ if (!$dara.isNull(request.tenantId)) {
248
+ query["tenantId"] = request.tenantId;
249
+ }
250
+ let body = {};
251
+ if (!$dara.isNull(request.graphName)) {
252
+ body["graphName"] = request.graphName;
253
+ }
254
+ if (!$dara.isNull(request.objectIdsShrink)) {
255
+ body["objectIds"] = request.objectIdsShrink;
256
+ }
257
+ if (!$dara.isNull(request.objectType)) {
258
+ body["objectType"] = request.objectType;
259
+ }
260
+ if (!$dara.isNull(request.operatingObjectName)) {
261
+ body["operatingObjectName"] = request.operatingObjectName;
262
+ }
263
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
264
+ headers: headers,
265
+ query: openapi_core_2.OpenApiUtil.query(query),
266
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
267
+ });
268
+ let params = new openapi_core_2.$OpenApiUtil.Params({
269
+ action: "BatchRemoveOperatingObjectFavorites",
270
+ version: "2026-05-12",
271
+ protocol: "HTTPS",
272
+ pathname: `/openapi/batchRemoveOperatingObjectFavorites`,
273
+ method: "POST",
274
+ authType: "AK",
275
+ style: "ROA",
276
+ reqBodyType: "formData",
277
+ bodyType: "json",
278
+ });
279
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchRemoveOperatingObjectFavoritesResponse({}));
280
+ }
281
+ /**
282
+ * Batch cancels digital employee precise object type subscriptions.
283
+ *
284
+ * @remarks
285
+ * 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.
286
+ *
287
+ * @param request - BatchRemoveOperatingObjectFavoritesRequest
288
+ * @returns BatchRemoveOperatingObjectFavoritesResponse
289
+ */
290
+ async batchRemoveOperatingObjectFavorites(request) {
291
+ let runtime = new $dara.RuntimeOptions({});
292
+ let headers = {};
293
+ return await this.batchRemoveOperatingObjectFavoritesWithOptions(request, headers, runtime);
294
+ }
233
295
  /**
234
296
  * Performs a service health check.
235
297
  *
@@ -272,15 +334,74 @@ class Client extends openapi_core_1.default {
272
334
  let headers = {};
273
335
  return await this.checkHealthWithOptions(request, headers, runtime);
274
336
  }
337
+ /**
338
+ * Clears all follows of a specific object type for a digital employee.
339
+ *
340
+ * @remarks
341
+ * Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
342
+ *
343
+ * @param request - ClearOperatingObjectFavoritesRequest
344
+ * @param headers - map
345
+ * @param runtime - runtime options for this request RuntimeOptions
346
+ * @returns ClearOperatingObjectFavoritesResponse
347
+ */
348
+ async clearOperatingObjectFavoritesWithOptions(request, headers, runtime) {
349
+ request.validate();
350
+ let query = {};
351
+ if (!$dara.isNull(request.tenantId)) {
352
+ query["tenantId"] = request.tenantId;
353
+ }
354
+ let body = {};
355
+ if (!$dara.isNull(request.graphName)) {
356
+ body["graphName"] = request.graphName;
357
+ }
358
+ if (!$dara.isNull(request.objectType)) {
359
+ body["objectType"] = request.objectType;
360
+ }
361
+ if (!$dara.isNull(request.operatingObjectName)) {
362
+ body["operatingObjectName"] = request.operatingObjectName;
363
+ }
364
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
365
+ headers: headers,
366
+ query: openapi_core_2.OpenApiUtil.query(query),
367
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
368
+ });
369
+ let params = new openapi_core_2.$OpenApiUtil.Params({
370
+ action: "ClearOperatingObjectFavorites",
371
+ version: "2026-05-12",
372
+ protocol: "HTTPS",
373
+ pathname: `/openapi/clearOperatingObjectFavorites`,
374
+ method: "POST",
375
+ authType: "AK",
376
+ style: "ROA",
377
+ reqBodyType: "formData",
378
+ bodyType: "json",
379
+ });
380
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ClearOperatingObjectFavoritesResponse({}));
381
+ }
382
+ /**
383
+ * Clears all follows of a specific object type for a digital employee.
384
+ *
385
+ * @remarks
386
+ * Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
387
+ *
388
+ * @param request - ClearOperatingObjectFavoritesRequest
389
+ * @returns ClearOperatingObjectFavoritesResponse
390
+ */
391
+ async clearOperatingObjectFavorites(request) {
392
+ let runtime = new $dara.RuntimeOptions({});
393
+ let headers = {};
394
+ return await this.clearOperatingObjectFavoritesWithOptions(request, headers, runtime);
395
+ }
275
396
  /**
276
397
  * Creates a service notice.
277
398
  *
278
399
  * @remarks
279
- * ## Operation description
280
- * Creates a service notice. The caller identity must be mapped to a real platform user in the system O&M tenant and must have notice management permissions.
400
+ * ## Request description
401
+ * Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
281
402
  * - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
282
403
  * - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
283
- * - `effectiveStart` / `effectiveEnd`: ISO 8601 timestamps with time zone information.
404
+ * - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
284
405
  * - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
285
406
  *
286
407
  * @param tmpReq - CreateAnnouncementRequest
@@ -361,11 +482,11 @@ class Client extends openapi_core_1.default {
361
482
  * Creates a service notice.
362
483
  *
363
484
  * @remarks
364
- * ## Operation description
365
- * Creates a service notice. The caller identity must be mapped to a real platform user in the system O&M tenant and must have notice management permissions.
485
+ * ## Request description
486
+ * Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
366
487
  * - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
367
488
  * - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
368
- * - `effectiveStart` / `effectiveEnd`: ISO 8601 timestamps with time zone information.
489
+ * - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
369
490
  * - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
370
491
  *
371
492
  * @param request - CreateAnnouncementRequest
@@ -500,6 +621,90 @@ class Client extends openapi_core_1.default {
500
621
  let headers = {};
501
622
  return await this.createCustomOrgWithOptions(request, headers, runtime);
502
623
  }
624
+ /**
625
+ * 创建语义图谱并绑定数据源
626
+ *
627
+ * @remarks
628
+ * OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
629
+ * 内容编辑走个人草稿接口,正式发布走产品控制台。
630
+ * 业务编排:
631
+ * 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
632
+ * 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
633
+ * 不写 history、不触发 runtime 重建
634
+ * 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
635
+ * 错误码:
636
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
637
+ * - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
638
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
639
+ * - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
640
+ *
641
+ * @param request - CreateGraphRequest
642
+ * @param headers - map
643
+ * @param runtime - runtime options for this request RuntimeOptions
644
+ * @returns CreateGraphResponse
645
+ */
646
+ async createGraphWithOptions(request, headers, runtime) {
647
+ request.validate();
648
+ let query = {};
649
+ if (!$dara.isNull(request.tenantId)) {
650
+ query["tenantId"] = request.tenantId;
651
+ }
652
+ let body = {};
653
+ if (!$dara.isNull(request.businessProfile)) {
654
+ body["businessProfile"] = request.businessProfile;
655
+ }
656
+ if (!$dara.isNull(request.dataSourceId)) {
657
+ body["dataSourceId"] = request.dataSourceId;
658
+ }
659
+ if (!$dara.isNull(request.displayName)) {
660
+ body["displayName"] = request.displayName;
661
+ }
662
+ if (!$dara.isNull(request.graphName)) {
663
+ body["graphName"] = request.graphName;
664
+ }
665
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
666
+ headers: headers,
667
+ query: openapi_core_2.OpenApiUtil.query(query),
668
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
669
+ });
670
+ let params = new openapi_core_2.$OpenApiUtil.Params({
671
+ action: "CreateGraph",
672
+ version: "2026-05-12",
673
+ protocol: "HTTPS",
674
+ pathname: `/openapi/createGraph`,
675
+ method: "POST",
676
+ authType: "AK",
677
+ style: "ROA",
678
+ reqBodyType: "formData",
679
+ bodyType: "json",
680
+ });
681
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGraphResponse({}));
682
+ }
683
+ /**
684
+ * 创建语义图谱并绑定数据源
685
+ *
686
+ * @remarks
687
+ * OpenAPI 创建语义图谱(同步快建占位记录 0.0.0)并在创建时绑定数据源。
688
+ * 内容编辑走个人草稿接口,正式发布走产品控制台。
689
+ * 业务编排:
690
+ * 1. 权限校验(个人 Token 校验语义管理权限;部署/系统级 Token 放行)
691
+ * 2. 同步落库 active 占位记录(schemaVersion 固定 0.0.0)并绑定数据源;
692
+ * 不写 history、不触发 runtime 重建
693
+ * 3. 图谱内容后续经个人草稿编辑,在控制台正式发布
694
+ * 错误码:
695
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
696
+ * - ERR.GraphSchema.GraphNameDuplicated: 图谱名称已存在
697
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
698
+ * - ERR.GraphDataSource.*: 数据源不存在 / 非 RDB 类不可绑定
699
+ *
700
+ * @param request - CreateGraphRequest
701
+ * @returns CreateGraphResponse
702
+ */
703
+ async createGraph(request) {
704
+ let runtime = new $dara.RuntimeOptions({});
705
+ let headers = {};
706
+ return await this.createGraphWithOptions(request, headers, runtime);
707
+ }
503
708
  /**
504
709
  * Creates a DingTalk group chat knowledge resource in a group.
505
710
  *
@@ -596,15 +801,15 @@ class Client extends openapi_core_1.default {
596
801
  return await this.createGroupAliDingChatWithOptions(request, headers, runtime);
597
802
  }
598
803
  /**
599
- * Creates a group-level DingTalk chat knowledge source.
804
+ * Creates knowledge from a standard DingTalk group chat for a group.
600
805
  *
601
806
  * @remarks
602
- * ## Operation description
603
- * - Connects a specified DingTalk chat to the knowledge base of a group that the caller has joined.
807
+ * ## Request description
808
+ * - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
604
809
  * - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
605
810
  * - groupId, chatId, and historyStartTime are required.
606
- * - updateFrequency can be configured by using a preset or a five-field cron expression for subsequent synchronization frequency.
607
- * - The server verifies the caller\\"s group membership and the target group directory permissions. The same chat can be created as different sources.
811
+ * - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
812
+ * - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
608
813
  *
609
814
  * @param tmpReq - CreateGroupDingtalkChatRequest
610
815
  * @param headers - map
@@ -672,15 +877,15 @@ class Client extends openapi_core_1.default {
672
877
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGroupDingtalkChatResponse({}));
673
878
  }
674
879
  /**
675
- * Creates a group-level DingTalk chat knowledge source.
880
+ * Creates knowledge from a standard DingTalk group chat for a group.
676
881
  *
677
882
  * @remarks
678
- * ## Operation description
679
- * - Connects a specified DingTalk chat to the knowledge base of a group that the caller has joined.
883
+ * ## Request description
884
+ * - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
680
885
  * - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
681
886
  * - groupId, chatId, and historyStartTime are required.
682
- * - updateFrequency can be configured by using a preset or a five-field cron expression for subsequent synchronization frequency.
683
- * - The server verifies the caller\\"s group membership and the target group directory permissions. The same chat can be created as different sources.
887
+ * - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
888
+ * - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
684
889
  *
685
890
  * @param request - CreateGroupDingtalkChatRequest
686
891
  * @returns CreateGroupDingtalkChatResponse
@@ -1331,6 +1536,9 @@ class Client extends openapi_core_1.default {
1331
1536
  if (!$dara.isNull(request.shanjiUrl)) {
1332
1537
  body["shanjiUrl"] = request.shanjiUrl;
1333
1538
  }
1539
+ if (!$dara.isNull(request.sourceTags)) {
1540
+ body["sourceTags"] = request.sourceTags;
1541
+ }
1334
1542
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1335
1543
  headers: headers,
1336
1544
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1374,12 +1582,13 @@ class Client extends openapi_core_1.default {
1374
1582
  *
1375
1583
  * @remarks
1376
1584
  * ## Request description
1377
- * - This API is used to add an AliDing online document to the "My Resources" section of a specified digital employee.
1585
+ * - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
1378
1586
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
1379
- * - 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.
1587
+ * - 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.
1380
1588
  * - During the invoke process, metering is started and related operation logs are recorded.
1381
1589
  * - 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.
1382
- * - Any validation or execute failure is thrown as an exception by the service and transformed into a POP error code returned to the caller.
1590
+ * - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
1591
+ * ## Related operations
1383
1592
  *
1384
1593
  * @param request - CreatePersonalAlidingDocRequest
1385
1594
  * @param headers - map
@@ -1408,6 +1617,9 @@ class Client extends openapi_core_1.default {
1408
1617
  if (!$dara.isNull(request.operatingObjectName)) {
1409
1618
  body["operatingObjectName"] = request.operatingObjectName;
1410
1619
  }
1620
+ if (!$dara.isNull(request.sourceTags)) {
1621
+ body["sourceTags"] = request.sourceTags;
1622
+ }
1411
1623
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1412
1624
  headers: headers,
1413
1625
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1431,12 +1643,13 @@ class Client extends openapi_core_1.default {
1431
1643
  *
1432
1644
  * @remarks
1433
1645
  * ## Request description
1434
- * - This API is used to add an AliDing online document to the "My Resources" section of a specified digital employee.
1646
+ * - This API operation adds an AliDing online document to the "My Resources" section of a specified digital employee.
1435
1647
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
1436
- * - 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.
1648
+ * - 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.
1437
1649
  * - During the invoke process, metering is started and related operation logs are recorded.
1438
1650
  * - 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.
1439
- * - Any validation or execute failure is thrown as an exception by the service and transformed into a POP error code returned to the caller.
1651
+ * - Any validation or execute failure throws an exception through the service and is transformed to a POP error code returned to the caller.
1652
+ * ## Related operations
1440
1653
  *
1441
1654
  * @param request - CreatePersonalAlidingDocRequest
1442
1655
  * @returns CreatePersonalAlidingDocResponse
@@ -1447,16 +1660,16 @@ class Client extends openapi_core_1.default {
1447
1660
  return await this.createPersonalAlidingDocWithOptions(request, headers, runtime);
1448
1661
  }
1449
1662
  /**
1450
- * Adds an AliDing knowledge base to the personal resources of the current digital employee.
1663
+ * Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
1451
1664
  *
1452
1665
  * @remarks
1453
1666
  * ## Request description
1454
- * - This API creates an AliDing knowledge base and mounts it to the personal resource directory of the specified digital employee.
1667
+ * - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
1455
1668
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
1456
1669
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
1457
1670
  * - 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.
1458
1671
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
1459
- * - 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.
1672
+ * - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
1460
1673
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
1461
1674
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
1462
1675
  *
@@ -1495,6 +1708,9 @@ class Client extends openapi_core_1.default {
1495
1708
  if (!$dara.isNull(request.operatingObjectName)) {
1496
1709
  body["operatingObjectName"] = request.operatingObjectName;
1497
1710
  }
1711
+ if (!$dara.isNull(request.sourceTags)) {
1712
+ body["sourceTags"] = request.sourceTags;
1713
+ }
1498
1714
  if (!$dara.isNull(request.syncConfigShrink)) {
1499
1715
  body["syncConfig"] = request.syncConfigShrink;
1500
1716
  }
@@ -1517,16 +1733,16 @@ class Client extends openapi_core_1.default {
1517
1733
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePersonalAlidingKnowledgeBaseResponse({}));
1518
1734
  }
1519
1735
  /**
1520
- * Adds an AliDing knowledge base to the personal resources of the current digital employee.
1736
+ * Adds the entire AliDing knowledge base to the personal resources of the current digital employee.
1521
1737
  *
1522
1738
  * @remarks
1523
1739
  * ## Request description
1524
- * - This API creates an AliDing knowledge base and mounts it to the personal resource directory of the specified digital employee.
1740
+ * - This API creates an AliDing knowledge base and mounts it under the personal resource directory of the specified digital employee.
1525
1741
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
1526
1742
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
1527
1743
  * - 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.
1528
1744
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
1529
- * - 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.
1745
+ * - The synchronization configuration is optional. If enabled, a cron expression is required. If not provided or disabled, scheduled synchronization is not performed by default.
1530
1746
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
1531
1747
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
1532
1748
  *
@@ -1717,13 +1933,13 @@ class Client extends openapi_core_1.default {
1717
1933
  return await this.createPersonalDingtalkMeetingWithOptions(request, headers, runtime);
1718
1934
  }
1719
1935
  /**
1720
- * Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji URL.
1936
+ * Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
1721
1937
  *
1722
1938
  * @remarks
1723
1939
  * ## Request description
1724
- * - 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.
1940
+ * - 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.
1725
1941
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
1726
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
1942
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
1727
1943
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
1728
1944
  * - You can add a resource description (`description`) and meeting notes (`notes`).
1729
1945
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -1758,6 +1974,9 @@ class Client extends openapi_core_1.default {
1758
1974
  if (!$dara.isNull(request.shanjiUrl)) {
1759
1975
  body["shanjiUrl"] = request.shanjiUrl;
1760
1976
  }
1977
+ if (!$dara.isNull(request.sourceTags)) {
1978
+ body["sourceTags"] = request.sourceTags;
1979
+ }
1761
1980
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1762
1981
  headers: headers,
1763
1982
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1777,13 +1996,13 @@ class Client extends openapi_core_1.default {
1777
1996
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePersonalDingtalkMinutesResponse({}));
1778
1997
  }
1779
1998
  /**
1780
- * Uploads a meeting to the current user\\"s personal knowledge base by using a standard DingTalk Shanji URL.
1999
+ * Uploads a meeting to the current user\\"s personal knowledge base by using the URL of a standard DingTalk Shanji note.
1781
2000
  *
1782
2001
  * @remarks
1783
2002
  * ## Request description
1784
- * - 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.
2003
+ * - 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.
1785
2004
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
1786
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
2005
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
1787
2006
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
1788
2007
  * - You can add a resource description (`description`) and meeting notes (`notes`).
1789
2008
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -1802,9 +2021,9 @@ class Client extends openapi_core_1.default {
1802
2021
  * @remarks
1803
2022
  * ## Request description
1804
2023
  * - This API is used to create a personal folder (category) under "My Resources".
1805
- * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital human as the parent folder.
1806
- * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital human.
1807
- * - `tenant_id` and `user_id` are derived from the authentication identity only. These fields are ignored if included in the request body.
2024
+ * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
2025
+ * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
2026
+ * - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
1808
2027
  *
1809
2028
  * @param request - CreatePersonalDirectoryRequest
1810
2029
  * @param headers - map
@@ -1854,9 +2073,9 @@ class Client extends openapi_core_1.default {
1854
2073
  * @remarks
1855
2074
  * ## Request description
1856
2075
  * - This API is used to create a personal folder (category) under "My Resources".
1857
- * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital human as the parent folder.
1858
- * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital human.
1859
- * - `tenant_id` and `user_id` are derived from the authentication identity only. These fields are ignored if included in the request body.
2076
+ * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
2077
+ * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
2078
+ * - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
1860
2079
  *
1861
2080
  * @param request - CreatePersonalDirectoryRequest
1862
2081
  * @returns CreatePersonalDirectoryResponse
@@ -2054,7 +2273,7 @@ class Client extends openapi_core_1.default {
2054
2273
  * - `name`: The display name of the uploaded resource in the system.
2055
2274
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
2056
2275
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
2057
- * - `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.
2276
+ * - `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.
2058
2277
  * - `description` (optional): A brief description or note about the uploaded resource.
2059
2278
  * Precautions:
2060
2279
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -2090,6 +2309,9 @@ class Client extends openapi_core_1.default {
2090
2309
  if (!$dara.isNull(request.operatingObjectName)) {
2091
2310
  body["operatingObjectName"] = request.operatingObjectName;
2092
2311
  }
2312
+ if (!$dara.isNull(request.sourceTags)) {
2313
+ body["sourceTags"] = request.sourceTags;
2314
+ }
2093
2315
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2094
2316
  headers: headers,
2095
2317
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -2118,7 +2340,7 @@ class Client extends openapi_core_1.default {
2118
2340
  * - `name`: The display name of the uploaded resource in the system.
2119
2341
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
2120
2342
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
2121
- * - `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.
2343
+ * - `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.
2122
2344
  * - `description` (optional): A brief description or note about the uploaded resource.
2123
2345
  * Precautions:
2124
2346
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -2184,6 +2406,9 @@ class Client extends openapi_core_1.default {
2184
2406
  if (!$dara.isNull(request.operatingObjectName)) {
2185
2407
  body["operatingObjectName"] = request.operatingObjectName;
2186
2408
  }
2409
+ if (!$dara.isNull(request.sourceTags)) {
2410
+ body["sourceTags"] = request.sourceTags;
2411
+ }
2187
2412
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2188
2413
  headers: headers,
2189
2414
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -2260,6 +2485,9 @@ class Client extends openapi_core_1.default {
2260
2485
  if (!$dara.isNull(request.operatingObjectName)) {
2261
2486
  body["operatingObjectName"] = request.operatingObjectName;
2262
2487
  }
2488
+ if (!$dara.isNull(request.sourceTags)) {
2489
+ body["sourceTags"] = request.sourceTags;
2490
+ }
2263
2491
  if (!$dara.isNull(request.textContent)) {
2264
2492
  body["textContent"] = request.textContent;
2265
2493
  }
@@ -2307,7 +2535,7 @@ class Client extends openapi_core_1.default {
2307
2535
  *
2308
2536
  * @remarks
2309
2537
  * ## Operation description
2310
- * - This API operation uploads an offline meeting audio file to the "My Resources" section of a specified digital employee.
2538
+ * - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
2311
2539
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
2312
2540
  * - 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.
2313
2541
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -2341,6 +2569,9 @@ class Client extends openapi_core_1.default {
2341
2569
  if (!$dara.isNull(request.operatingObjectName)) {
2342
2570
  body["operatingObjectName"] = request.operatingObjectName;
2343
2571
  }
2572
+ if (!$dara.isNull(request.sourceTags)) {
2573
+ body["sourceTags"] = request.sourceTags;
2574
+ }
2344
2575
  let realHeaders = {};
2345
2576
  if (!$dara.isNull(headers.commonHeaders)) {
2346
2577
  realHeaders = headers.commonHeaders;
@@ -2371,7 +2602,7 @@ class Client extends openapi_core_1.default {
2371
2602
  *
2372
2603
  * @remarks
2373
2604
  * ## Operation description
2374
- * - This API operation uploads an offline meeting audio file to the "My Resources" section of a specified digital employee.
2605
+ * - This API operation uploads an offline meeting audio file to the My Resources section of a specified digital employee.
2375
2606
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
2376
2607
  * - 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.
2377
2608
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -2508,11 +2739,11 @@ class Client extends openapi_core_1.default {
2508
2739
  *
2509
2740
  * @remarks
2510
2741
  * ## Request description
2511
- * - This API is used to create a new enterprise knowledge base directory under a specified tenant.
2512
- * - You can specify the parent directory of the new directory by setting the `parentId` parameter. If this parameter is not specified, the directory is created as a root directory by default.
2513
- * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent directory.
2742
+ * - This API is used to create a new enterprise knowledge base folder under a specified tenant.
2743
+ * - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
2744
+ * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
2514
2745
  * - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
2515
- * - After the directory is created, the related information of the new directory is returned, such as the directory ID and name.
2746
+ * - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
2516
2747
  *
2517
2748
  * @param request - CreateTenantDirectoryRequest
2518
2749
  * @param headers - map
@@ -2561,11 +2792,11 @@ class Client extends openapi_core_1.default {
2561
2792
  *
2562
2793
  * @remarks
2563
2794
  * ## Request description
2564
- * - This API is used to create a new enterprise knowledge base directory under a specified tenant.
2565
- * - You can specify the parent directory of the new directory by setting the `parentId` parameter. If this parameter is not specified, the directory is created as a root directory by default.
2566
- * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent directory.
2795
+ * - This API is used to create a new enterprise knowledge base folder under a specified tenant.
2796
+ * - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
2797
+ * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
2567
2798
  * - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
2568
- * - After the directory is created, the related information of the new directory is returned, such as the directory ID and name.
2799
+ * - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
2569
2800
  *
2570
2801
  * @param request - CreateTenantDirectoryRequest
2571
2802
  * @returns CreateTenantDirectoryResponse
@@ -2581,12 +2812,12 @@ class Client extends openapi_core_1.default {
2581
2812
  * @remarks
2582
2813
  * Creates a user by using OpenAPI.
2583
2814
  * Business orchestration:
2584
- * 1. Parses roleCodes → role_ids (validates against system role enumerations).
2815
+ * 1. Parses roleCodes into role_ids (validates against system role enumerations).
2585
2816
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
2586
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed in as an RSA ciphertext by the caller).
2817
+ * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
2587
2818
  * 4. Returns the creation result (including the isNewUser flag).
2588
2819
  * Error codes:
2589
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
2820
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
2590
2821
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
2591
2822
  * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
2592
2823
  *
@@ -2616,6 +2847,9 @@ class Client extends openapi_core_1.default {
2616
2847
  if (!$dara.isNull(request.roleCodesShrink)) {
2617
2848
  body["roleCodes"] = request.roleCodesShrink;
2618
2849
  }
2850
+ if (!$dara.isNull(request.ssoProvider)) {
2851
+ body["ssoProvider"] = request.ssoProvider;
2852
+ }
2619
2853
  if (!$dara.isNull(request.wnAccountId)) {
2620
2854
  body["wnAccountId"] = request.wnAccountId;
2621
2855
  }
@@ -2643,12 +2877,12 @@ class Client extends openapi_core_1.default {
2643
2877
  * @remarks
2644
2878
  * Creates a user by using OpenAPI.
2645
2879
  * Business orchestration:
2646
- * 1. Parses roleCodes → role_ids (validates against system role enumerations).
2880
+ * 1. Parses roleCodes into role_ids (validates against system role enumerations).
2647
2881
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
2648
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed in as an RSA ciphertext by the caller).
2882
+ * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
2649
2883
  * 4. Returns the creation result (including the isNewUser flag).
2650
2884
  * Error codes:
2651
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
2885
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
2652
2886
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
2653
2887
  * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
2654
2888
  *
@@ -2723,16 +2957,15 @@ class Client extends openapi_core_1.default {
2723
2957
  * Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
2724
2958
  *
2725
2959
  * @remarks
2726
- * Creates a user and sets initial roles and user groups via OpenAPI.
2727
- * Business orchestration:
2728
- * 1. Parses roleCodes → role_ids (system role enumeration validation)
2729
- * 2. Checks whether the user already exists (used to return the isNewUser flag)
2730
- * 3. Validates the tenant ownership of userGroupIds and completes creation/joining (the password must be passed in by the caller as RSA ciphertext)
2731
- * 4. Returns the creation result (including the isNewUser flag)
2732
- * Error codes:
2733
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume.
2734
- * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
2735
- * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
2960
+ * ## Request description
2961
+ * - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
2962
+ * - The `accountId` parameter serves as the logon account for the user and must be unique.
2963
+ * - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
2964
+ * - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
2965
+ * - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
2966
+ * - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
2967
+ * - This operation supports calls over HTTPS and requires the request body in JSON format.
2968
+ * - For security authentication, AK, BearerToken, and APP are supported.
2736
2969
  *
2737
2970
  * @param tmpReq - CreateUserWithGroupsRequest
2738
2971
  * @param headers - map
@@ -2791,16 +3024,15 @@ class Client extends openapi_core_1.default {
2791
3024
  * Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
2792
3025
  *
2793
3026
  * @remarks
2794
- * Creates a user and sets initial roles and user groups via OpenAPI.
2795
- * Business orchestration:
2796
- * 1. Parses roleCodes → role_ids (system role enumeration validation)
2797
- * 2. Checks whether the user already exists (used to return the isNewUser flag)
2798
- * 3. Validates the tenant ownership of userGroupIds and completes creation/joining (the password must be passed in by the caller as RSA ciphertext)
2799
- * 4. Returns the creation result (including the isNewUser flag)
2800
- * Error codes:
2801
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume.
2802
- * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
2803
- * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
3027
+ * ## Request description
3028
+ * - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
3029
+ * - The `accountId` parameter serves as the logon account for the user and must be unique.
3030
+ * - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
3031
+ * - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
3032
+ * - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
3033
+ * - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
3034
+ * - This operation supports calls over HTTPS and requires the request body in JSON format.
3035
+ * - For security authentication, AK, BearerToken, and APP are supported.
2804
3036
  *
2805
3037
  * @param request - CreateUserWithGroupsRequest
2806
3038
  * @returns CreateUserWithGroupsResponse
@@ -2818,8 +3050,8 @@ class Client extends openapi_core_1.default {
2818
3050
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
2819
3051
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
2820
3052
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
2821
- * - If the target directory ID (`directoryId`) is not specified, the file is automatically attached to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the personal directory of the caller.
2822
- * - Security authentication is supported through multiple methods (AK, BearerToken, APP).
3053
+ * - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
3054
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
2823
3055
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
2824
3056
  *
2825
3057
  * @param request - DeleteChatSessionRequest
@@ -2861,8 +3093,8 @@ class Client extends openapi_core_1.default {
2861
3093
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
2862
3094
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
2863
3095
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
2864
- * - If the target directory ID (`directoryId`) is not specified, the file is automatically attached to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the personal directory of the caller.
2865
- * - Security authentication is supported through multiple methods (AK, BearerToken, APP).
3096
+ * - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
3097
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
2866
3098
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
2867
3099
  *
2868
3100
  * @param request - DeleteChatSessionRequest
@@ -3131,15 +3363,74 @@ class Client extends openapi_core_1.default {
3131
3363
  return await this.enableTokenWithOptions(request, headers, runtime);
3132
3364
  }
3133
3365
  /**
3134
- * Retrieves session details.
3366
+ * Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
3367
+ *
3368
+ * @remarks
3369
+ * ## Request description
3370
+ * - This API is exclusively for the Winnexo Lite Workbench.
3371
+ * - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
3372
+ * - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
3373
+ *
3374
+ * @param request - GetAliDingMinutesContentRequest
3375
+ * @param headers - map
3376
+ * @param runtime - runtime options for this request RuntimeOptions
3377
+ * @returns GetAliDingMinutesContentResponse
3378
+ */
3379
+ async getAliDingMinutesContentWithOptions(request, headers, runtime) {
3380
+ request.validate();
3381
+ let query = {};
3382
+ if (!$dara.isNull(request.tenantId)) {
3383
+ query["tenantId"] = request.tenantId;
3384
+ }
3385
+ let body = {};
3386
+ if (!$dara.isNull(request.minutesId)) {
3387
+ body["minutesId"] = request.minutesId;
3388
+ }
3389
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3390
+ headers: headers,
3391
+ query: openapi_core_2.OpenApiUtil.query(query),
3392
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3393
+ });
3394
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3395
+ action: "GetAliDingMinutesContent",
3396
+ version: "2026-05-12",
3397
+ protocol: "HTTPS",
3398
+ pathname: `/openapi/getAliDingMinutesContent`,
3399
+ method: "POST",
3400
+ authType: "AK",
3401
+ style: "ROA",
3402
+ reqBodyType: "formData",
3403
+ bodyType: "json",
3404
+ });
3405
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAliDingMinutesContentResponse({}));
3406
+ }
3407
+ /**
3408
+ * Retrieves DingTalk meeting minutes content for the Winnexo Lite Workbench.
3135
3409
  *
3136
3410
  * @remarks
3137
3411
  * ## Request description
3138
- * - This API uploads a file to the "My Resources" section of a specified digital employee.
3412
+ * - This API is exclusively for the Winnexo Lite Workbench.
3413
+ * - Retrieves the title, meeting summary, to-do items, and full transcription based on a DingTalk minutes ID.
3414
+ * - Audio and video files are not downloaded. If any content fails to be read, the entire request fails.
3415
+ *
3416
+ * @param request - GetAliDingMinutesContentRequest
3417
+ * @returns GetAliDingMinutesContentResponse
3418
+ */
3419
+ async getAliDingMinutesContent(request) {
3420
+ let runtime = new $dara.RuntimeOptions({});
3421
+ let headers = {};
3422
+ return await this.getAliDingMinutesContentWithOptions(request, headers, runtime);
3423
+ }
3424
+ /**
3425
+ * Retrieves session details.
3426
+ *
3427
+ * @remarks
3428
+ * ## Operation description
3429
+ * - This API is used to upload files to the "My Resources" section of a specified digital employee.
3139
3430
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3140
3431
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3141
- * - 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.
3142
- * - Security verification is supported through multiple authenticate methods (AK, BearerToken, APP).
3432
+ * - 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.
3433
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3143
3434
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3144
3435
  *
3145
3436
  * @param request - GetChatSessionRequest
@@ -3180,12 +3471,12 @@ class Client extends openapi_core_1.default {
3180
3471
  * Retrieves session details.
3181
3472
  *
3182
3473
  * @remarks
3183
- * ## Request description
3184
- * - This API uploads a file to the "My Resources" section of a specified digital employee.
3474
+ * ## Operation description
3475
+ * - This API is used to upload files to the "My Resources" section of a specified digital employee.
3185
3476
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3186
3477
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3187
- * - 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.
3188
- * - Security verification is supported through multiple authenticate methods (AK, BearerToken, APP).
3478
+ * - 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.
3479
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3189
3480
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3190
3481
  *
3191
3482
  * @param request - GetChatSessionRequest
@@ -3197,17 +3488,25 @@ class Client extends openapi_core_1.default {
3197
3488
  return await this.getChatSessionWithOptions(request, headers, runtime);
3198
3489
  }
3199
3490
  /**
3200
- * Retrieves the active Graph Schema readable by the current user.
3491
+ * Retrieves the full schema after merging the active schema with personal drafts.
3201
3492
  *
3202
3493
  * @remarks
3203
- * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
3494
+ * Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
3495
+ * Business orchestration:
3496
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
3497
+ * and semantic view permission verification.
3498
+ * 2. If no personal draft exists, the full active YAML is returned (underlying short path).
3499
+ * If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
3500
+ * Error codes:
3501
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
3502
+ * - ERR.GraphSchema.*: The knowledge graph does not exist.
3204
3503
  *
3205
- * @param request - GetGraphSchemaRequest
3504
+ * @param request - GetGraphDraftAssembledRequest
3206
3505
  * @param headers - map
3207
3506
  * @param runtime - runtime options for this request RuntimeOptions
3208
- * @returns GetGraphSchemaResponse
3507
+ * @returns GetGraphDraftAssembledResponse
3209
3508
  */
3210
- async getGraphSchemaWithOptions(request, headers, runtime) {
3509
+ async getGraphDraftAssembledWithOptions(request, headers, runtime) {
3211
3510
  request.validate();
3212
3511
  let query = {};
3213
3512
  if (!$dara.isNull(request.tenantId)) {
@@ -3223,38 +3522,158 @@ class Client extends openapi_core_1.default {
3223
3522
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
3224
3523
  });
3225
3524
  let params = new openapi_core_2.$OpenApiUtil.Params({
3226
- action: "GetGraphSchema",
3525
+ action: "GetGraphDraftAssembled",
3227
3526
  version: "2026-05-12",
3228
3527
  protocol: "HTTPS",
3229
- pathname: `/openapi/getGraphSchema`,
3528
+ pathname: `/openapi/getGraphDraftAssembled`,
3230
3529
  method: "POST",
3231
3530
  authType: "AK",
3232
3531
  style: "ROA",
3233
3532
  reqBodyType: "formData",
3234
3533
  bodyType: "json",
3235
3534
  });
3236
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGraphSchemaResponse({}));
3535
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGraphDraftAssembledResponse({}));
3237
3536
  }
3238
3537
  /**
3239
- * Retrieves the active Graph Schema readable by the current user.
3538
+ * Retrieves the full schema after merging the active schema with personal drafts.
3240
3539
  *
3241
3540
  * @remarks
3242
- * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
3541
+ * Retrieves the full schema YAML by merging the active schema with the current user\\"s draft via OpenAPI (personal token only).
3542
+ * Business orchestration:
3543
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
3544
+ * and semantic view permission verification.
3545
+ * 2. If no personal draft exists, the full active YAML is returned (underlying short path).
3546
+ * If a draft exists, the merged full YAML is returned for editor rendering and pre-publish preview.
3547
+ * Error codes:
3548
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
3549
+ * - ERR.GraphSchema.*: The knowledge graph does not exist.
3243
3550
  *
3244
- * @param request - GetGraphSchemaRequest
3245
- * @returns GetGraphSchemaResponse
3551
+ * @param request - GetGraphDraftAssembledRequest
3552
+ * @returns GetGraphDraftAssembledResponse
3246
3553
  */
3247
- async getGraphSchema(request) {
3554
+ async getGraphDraftAssembled(request) {
3248
3555
  let runtime = new $dara.RuntimeOptions({});
3249
3556
  let headers = {};
3250
- return await this.getGraphSchemaWithOptions(request, headers, runtime);
3557
+ return await this.getGraphDraftAssembledWithOptions(request, headers, runtime);
3251
3558
  }
3252
3559
  /**
3253
- * Queries the expiration time of the most recently created standard package instance for a tenant.
3560
+ * Retrieves the active Graph Schema readable by the current user.
3254
3561
  *
3255
3562
  * @remarks
3256
- * ## Operation description
3257
- * - This API operation queries the expiration time of the most recently created standard package instance for a specified tenant.
3563
+ * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
3564
+ *
3565
+ * @param request - GetGraphSchemaRequest
3566
+ * @param headers - map
3567
+ * @param runtime - runtime options for this request RuntimeOptions
3568
+ * @returns GetGraphSchemaResponse
3569
+ */
3570
+ async getGraphSchemaWithOptions(request, headers, runtime) {
3571
+ request.validate();
3572
+ let query = {};
3573
+ if (!$dara.isNull(request.tenantId)) {
3574
+ query["tenantId"] = request.tenantId;
3575
+ }
3576
+ let body = {};
3577
+ if (!$dara.isNull(request.graphName)) {
3578
+ body["graphName"] = request.graphName;
3579
+ }
3580
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3581
+ headers: headers,
3582
+ query: openapi_core_2.OpenApiUtil.query(query),
3583
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3584
+ });
3585
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3586
+ action: "GetGraphSchema",
3587
+ version: "2026-05-12",
3588
+ protocol: "HTTPS",
3589
+ pathname: `/openapi/getGraphSchema`,
3590
+ method: "POST",
3591
+ authType: "AK",
3592
+ style: "ROA",
3593
+ reqBodyType: "formData",
3594
+ bodyType: "json",
3595
+ });
3596
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGraphSchemaResponse({}));
3597
+ }
3598
+ /**
3599
+ * Retrieves the active Graph Schema readable by the current user.
3600
+ *
3601
+ * @remarks
3602
+ * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
3603
+ *
3604
+ * @param request - GetGraphSchemaRequest
3605
+ * @returns GetGraphSchemaResponse
3606
+ */
3607
+ async getGraphSchema(request) {
3608
+ let runtime = new $dara.RuntimeOptions({});
3609
+ let headers = {};
3610
+ return await this.getGraphSchemaWithOptions(request, headers, runtime);
3611
+ }
3612
+ /**
3613
+ * Retrieves the complete schema of a semantic graph from the management perspective.
3614
+ *
3615
+ * @remarks
3616
+ * 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.
3617
+ * 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.
3618
+ * Error codes:
3619
+ * - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
3620
+ *
3621
+ * @param request - GetGraphSchemaDetailRequest
3622
+ * @param headers - map
3623
+ * @param runtime - runtime options for this request RuntimeOptions
3624
+ * @returns GetGraphSchemaDetailResponse
3625
+ */
3626
+ async getGraphSchemaDetailWithOptions(request, headers, runtime) {
3627
+ request.validate();
3628
+ let query = {};
3629
+ if (!$dara.isNull(request.tenantId)) {
3630
+ query["tenantId"] = request.tenantId;
3631
+ }
3632
+ let body = {};
3633
+ if (!$dara.isNull(request.graphName)) {
3634
+ body["graphName"] = request.graphName;
3635
+ }
3636
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3637
+ headers: headers,
3638
+ query: openapi_core_2.OpenApiUtil.query(query),
3639
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3640
+ });
3641
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3642
+ action: "GetGraphSchemaDetail",
3643
+ version: "2026-05-12",
3644
+ protocol: "HTTPS",
3645
+ pathname: `/openapi/getGraphSchemaDetail`,
3646
+ method: "POST",
3647
+ authType: "AK",
3648
+ style: "ROA",
3649
+ reqBodyType: "formData",
3650
+ bodyType: "json",
3651
+ });
3652
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGraphSchemaDetailResponse({}));
3653
+ }
3654
+ /**
3655
+ * Retrieves the complete schema of a semantic graph from the management perspective.
3656
+ *
3657
+ * @remarks
3658
+ * 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.
3659
+ * 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.
3660
+ * Error codes:
3661
+ * - ERR.GraphSchema.GraphSchemaNotFound: The graph does not exist.
3662
+ *
3663
+ * @param request - GetGraphSchemaDetailRequest
3664
+ * @returns GetGraphSchemaDetailResponse
3665
+ */
3666
+ async getGraphSchemaDetail(request) {
3667
+ let runtime = new $dara.RuntimeOptions({});
3668
+ let headers = {};
3669
+ return await this.getGraphSchemaDetailWithOptions(request, headers, runtime);
3670
+ }
3671
+ /**
3672
+ * Queries the expiration time of the most recently created standard package instance for a tenant.
3673
+ *
3674
+ * @remarks
3675
+ * ## Operation description
3676
+ * - This API operation queries the expiration time of the most recently created standard package instance for a specified tenant.
3258
3677
  * - If no standard package instance is found, the `found` field returns `False`.
3259
3678
  * - You can use the `tenantId` parameter to specify the tenant ID. By default, the tenant ID of the caller is used.
3260
3679
  * - The request method is POST and must be called over HTTPS.
@@ -3444,13 +3863,13 @@ class Client extends openapi_core_1.default {
3444
3863
  *
3445
3864
  * @remarks
3446
3865
  * ## Operation description
3447
- * - This operation uploads a file to the enterprise knowledge base.
3448
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
3866
+ * - This operation uploads files to an enterprise knowledge base.
3867
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
3449
3868
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3450
3869
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3451
- * - 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.
3452
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3453
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
3870
+ * - 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.
3871
+ * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
3872
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
3454
3873
  *
3455
3874
  * @param request - GetScheduledTaskExecutionRecordsRequest
3456
3875
  * @param headers - map
@@ -3503,13 +3922,13 @@ class Client extends openapi_core_1.default {
3503
3922
  *
3504
3923
  * @remarks
3505
3924
  * ## Operation description
3506
- * - This operation uploads a file to the enterprise knowledge base.
3507
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
3925
+ * - This operation uploads files to an enterprise knowledge base.
3926
+ * - You must have the `DEVELOPMENT_KB_MANAGE` feature permission to call this operation.
3508
3927
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3509
3928
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3510
- * - 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.
3511
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3512
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
3929
+ * - 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.
3930
+ * - You can add tags to resources by using `sourceTags` for subsequent management and retrieval.
3931
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
3513
3932
  *
3514
3933
  * @param request - GetScheduledTaskExecutionRecordsRequest
3515
3934
  * @returns GetScheduledTaskExecutionRecordsResponse
@@ -3581,12 +4000,12 @@ class Client extends openapi_core_1.default {
3581
4000
  * @remarks
3582
4001
  * ## Request description
3583
4002
  * - This operation uploads a file to the enterprise knowledge base.
3584
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
4003
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
3585
4004
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3586
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
4005
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
3587
4006
  * - 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.
3588
4007
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3589
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
4008
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
3590
4009
  *
3591
4010
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
3592
4011
  *
@@ -3644,12 +4063,12 @@ class Client extends openapi_core_1.default {
3644
4063
  * @remarks
3645
4064
  * ## Request description
3646
4065
  * - This operation uploads a file to the enterprise knowledge base.
3647
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
4066
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
3648
4067
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3649
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
4068
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
3650
4069
  * - 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.
3651
4070
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3652
- * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
4071
+ * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Make sure that your account balance is sufficient.
3653
4072
  *
3654
4073
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
3655
4074
  *
@@ -4273,10 +4692,10 @@ class Client extends openapi_core_1.default {
4273
4692
  * ## Request description
4274
4693
  * - This operation returns the detailed information of the current authenticated user.
4275
4694
  * - If the tenant information is invalid, the corresponding error message is returned.
4276
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
4277
- * - Multiple authentication methods are supported: AK, BearerToken, and APP authentication.
4695
+ * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
4696
+ * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
4278
4697
  * - 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.
4279
- * - If the current logon tenant is the system tenant (that is, `tenantId=10000`), this is explicitly indicated in the response.
4698
+ * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
4280
4699
  *
4281
4700
  * @param request - GetUserInfoRequest
4282
4701
  * @param headers - map
@@ -4313,10 +4732,10 @@ class Client extends openapi_core_1.default {
4313
4732
  * ## Request description
4314
4733
  * - This operation returns the detailed information of the current authenticated user.
4315
4734
  * - If the tenant information is invalid, the corresponding error message is returned.
4316
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
4317
- * - Multiple authentication methods are supported: AK, BearerToken, and APP authentication.
4735
+ * - tenantId is an optional parameter. If not provided, the default tenant ID of the caller is used.
4736
+ * - Multiple authentication methods are supported: AccessKey, BearerToken, and APP authentication.
4318
4737
  * - 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.
4319
- * - If the current logon tenant is the system tenant (that is, `tenantId=10000`), this is explicitly indicated in the response.
4738
+ * - Note that if the current logon tenant is a system tenant (tenantId=10000), this is explicitly indicated in the response.
4320
4739
  *
4321
4740
  * @param request - GetUserInfoRequest
4322
4741
  * @returns GetUserInfoResponse
@@ -4418,8 +4837,8 @@ class Client extends openapi_core_1.default {
4418
4837
  * Queries currently effective service notices.
4419
4838
  *
4420
4839
  * @remarks
4421
- * ## Request description
4422
- * Performs a paging query for published platform notices that are effective within the current database time window. The invoking identity must be a real user who has the notice viewing permission in the system O&M tenant.
4840
+ * ## Operation description
4841
+ * Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant who has the permission to view announcements.
4423
4842
  *
4424
4843
  * @param request - ListActiveAnnouncementsRequest
4425
4844
  * @param headers - map
@@ -4461,8 +4880,8 @@ class Client extends openapi_core_1.default {
4461
4880
  * Queries currently effective service notices.
4462
4881
  *
4463
4882
  * @remarks
4464
- * ## Request description
4465
- * Performs a paging query for published platform notices that are effective within the current database time window. The invoking identity must be a real user who has the notice viewing permission in the system O&M tenant.
4883
+ * ## Operation description
4884
+ * Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant who has the permission to view announcements.
4466
4885
  *
4467
4886
  * @param request - ListActiveAnnouncementsRequest
4468
4887
  * @returns ListActiveAnnouncementsResponse
@@ -4478,10 +4897,10 @@ class Client extends openapi_core_1.default {
4478
4897
  * @remarks
4479
4898
  * ## Operation description
4480
4899
  * - 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.
4481
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
4482
- * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources by specific types.
4900
+ * - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
4901
+ * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
4483
4902
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
4484
- * - The search feature is only effective when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
4903
+ * - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
4485
4904
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
4486
4905
  *
4487
4906
  * @param tmpReq - ListAdminKnowledgeBasesRequest
@@ -4546,10 +4965,10 @@ class Client extends openapi_core_1.default {
4546
4965
  * @remarks
4547
4966
  * ## Operation description
4548
4967
  * - 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.
4549
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
4550
- * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources by specific types.
4968
+ * - `tenantId` is a common parameter. If not provided, the tenant ID of the caller is used by default.
4969
+ * - In drill-down mode (when `directoryId` is not empty), use the `sourceTypes` parameter to filter resources of specific types.
4551
4970
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
4552
- * - The search feature is only effective when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
4971
+ * - The search feature is effective only when retrieving the top-level list and supports only fuzzy matching on names or descriptions.
4553
4972
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
4554
4973
  *
4555
4974
  * @param request - ListAdminKnowledgeBasesRequest
@@ -4566,9 +4985,9 @@ class Client extends openapi_core_1.default {
4566
4985
  * @remarks
4567
4986
  * Queries the full list of digital employees under a tenant, including deactivated ones.
4568
4987
  * Business logic:
4569
- * 1. Constructs AuthContext from identity.
4570
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
4571
- * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName / displayName / authMode / isActive).
4988
+ * 1. Constructs an AuthContext from the identity.
4989
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
4990
+ * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
4572
4991
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
4573
4992
  * 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.
4574
4993
  *
@@ -4606,9 +5025,9 @@ class Client extends openapi_core_1.default {
4606
5025
  * @remarks
4607
5026
  * Queries the full list of digital employees under a tenant, including deactivated ones.
4608
5027
  * Business logic:
4609
- * 1. Constructs AuthContext from identity.
4610
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
4611
- * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName / displayName / authMode / isActive).
5028
+ * 1. Constructs an AuthContext from the identity.
5029
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to perform permission verification (APPLICATION_AGENT_VIEW).
5030
+ * 3. Returns rich fields for all digital employees of the tenant (operatingObjectName, displayName, authMode, and isActive).
4612
5031
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
4613
5032
  * 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.
4614
5033
  *
@@ -4620,6 +5039,142 @@ class Client extends openapi_core_1.default {
4620
5039
  let headers = {};
4621
5040
  return await this.listAgentsWithOptions(request, headers, runtime);
4622
5041
  }
5042
+ /**
5043
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
5044
+ *
5045
+ * @remarks
5046
+ * ## Operation description
5047
+ * - This operation is exclusively for the Winnexo lightweight workbench.
5048
+ * - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
5049
+ * - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
5050
+ *
5051
+ * @param request - ListAliDingGroupMessagesRequest
5052
+ * @param headers - map
5053
+ * @param runtime - runtime options for this request RuntimeOptions
5054
+ * @returns ListAliDingGroupMessagesResponse
5055
+ */
5056
+ async listAliDingGroupMessagesWithOptions(request, headers, runtime) {
5057
+ request.validate();
5058
+ let query = {};
5059
+ if (!$dara.isNull(request.tenantId)) {
5060
+ query["tenantId"] = request.tenantId;
5061
+ }
5062
+ let body = {};
5063
+ if (!$dara.isNull(request.chatId)) {
5064
+ body["chatId"] = request.chatId;
5065
+ }
5066
+ if (!$dara.isNull(request.direction)) {
5067
+ body["direction"] = request.direction;
5068
+ }
5069
+ if (!$dara.isNull(request.pageSize)) {
5070
+ body["pageSize"] = request.pageSize;
5071
+ }
5072
+ if (!$dara.isNull(request.time)) {
5073
+ body["time"] = request.time;
5074
+ }
5075
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5076
+ headers: headers,
5077
+ query: openapi_core_2.OpenApiUtil.query(query),
5078
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5079
+ });
5080
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5081
+ action: "ListAliDingGroupMessages",
5082
+ version: "2026-05-12",
5083
+ protocol: "HTTPS",
5084
+ pathname: `/openapi/listAliDingGroupMessages`,
5085
+ method: "POST",
5086
+ authType: "AK",
5087
+ style: "ROA",
5088
+ reqBodyType: "formData",
5089
+ bodyType: "json",
5090
+ });
5091
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliDingGroupMessagesResponse({}));
5092
+ }
5093
+ /**
5094
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
5095
+ *
5096
+ * @remarks
5097
+ * ## Operation description
5098
+ * - This operation is exclusively for the Winnexo lightweight workbench.
5099
+ * - Uses the existing time, direction, and pageSize time-watermark protocol to read messages from a specified group chat.
5100
+ * - Does not introduce start or end time ranges. The response does not include raw DWS objects, attachment locators, or temporary download URLs.
5101
+ *
5102
+ * @param request - ListAliDingGroupMessagesRequest
5103
+ * @returns ListAliDingGroupMessagesResponse
5104
+ */
5105
+ async listAliDingGroupMessages(request) {
5106
+ let runtime = new $dara.RuntimeOptions({});
5107
+ let headers = {};
5108
+ return await this.listAliDingGroupMessagesWithOptions(request, headers, runtime);
5109
+ }
5110
+ /**
5111
+ * Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
5112
+ *
5113
+ * @remarks
5114
+ * ## Operation description
5115
+ * - This operation is exclusively for the Winnexo lightweight workbench.
5116
+ * - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
5117
+ * - 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.
5118
+ *
5119
+ * @param request - ListAliDingMinutesRequest
5120
+ * @param headers - map
5121
+ * @param runtime - runtime options for this request RuntimeOptions
5122
+ * @returns ListAliDingMinutesResponse
5123
+ */
5124
+ async listAliDingMinutesWithOptions(request, headers, runtime) {
5125
+ request.validate();
5126
+ let query = {};
5127
+ if (!$dara.isNull(request.tenantId)) {
5128
+ query["tenantId"] = request.tenantId;
5129
+ }
5130
+ let body = {};
5131
+ if (!$dara.isNull(request.cursor)) {
5132
+ body["cursor"] = request.cursor;
5133
+ }
5134
+ if (!$dara.isNull(request.endTime)) {
5135
+ body["endTime"] = request.endTime;
5136
+ }
5137
+ if (!$dara.isNull(request.pageSize)) {
5138
+ body["pageSize"] = request.pageSize;
5139
+ }
5140
+ if (!$dara.isNull(request.startTime)) {
5141
+ body["startTime"] = request.startTime;
5142
+ }
5143
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5144
+ headers: headers,
5145
+ query: openapi_core_2.OpenApiUtil.query(query),
5146
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5147
+ });
5148
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5149
+ action: "ListAliDingMinutes",
5150
+ version: "2026-05-12",
5151
+ protocol: "HTTPS",
5152
+ pathname: `/openapi/listAliDingMinutes`,
5153
+ method: "POST",
5154
+ authType: "AK",
5155
+ style: "ROA",
5156
+ reqBodyType: "formData",
5157
+ bodyType: "json",
5158
+ });
5159
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliDingMinutesResponse({}));
5160
+ }
5161
+ /**
5162
+ * Retrieves the list of DingTalk meeting minutes for the Winnexo lightweight workbench.
5163
+ *
5164
+ * @remarks
5165
+ * ## Operation description
5166
+ * - This operation is exclusively for the Winnexo lightweight workbench.
5167
+ * - Queries DingTalk meeting transcripts that the current platform user has access to, based on the startTime and endTime provided by the caller.
5168
+ * - 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.
5169
+ *
5170
+ * @param request - ListAliDingMinutesRequest
5171
+ * @returns ListAliDingMinutesResponse
5172
+ */
5173
+ async listAliDingMinutes(request) {
5174
+ let runtime = new $dara.RuntimeOptions({});
5175
+ let headers = {};
5176
+ return await this.listAliDingMinutesWithOptions(request, headers, runtime);
5177
+ }
4623
5178
  /**
4624
5179
  * Queries the list of digital human names for which the caller has specified permissions.
4625
5180
  *
@@ -4821,15 +5376,15 @@ class Client extends openapi_core_1.default {
4821
5376
  return await this.listAvailableConfigsWithOptions(request, headers, runtime);
4822
5377
  }
4823
5378
  /**
4824
- * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
5379
+ * Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
4825
5380
  *
4826
5381
  * @remarks
4827
- * ## Operation description
5382
+ * ## Request description
4828
5383
  * - This operation queries the bill list based on specified conditions.
4829
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
4830
- * - Returns bill data in pages. The default page size is 20 records.
5384
+ * - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
5385
+ * - Bill data is returned in pages. By default, 20 records are displayed per page.
4831
5386
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
4832
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required in the request.
5387
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
4833
5388
  *
4834
5389
  * @param request - ListBillingRequest
4835
5390
  * @param headers - map
@@ -4892,15 +5447,15 @@ class Client extends openapi_core_1.default {
4892
5447
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBillingResponse({}));
4893
5448
  }
4894
5449
  /**
4895
- * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
5450
+ * Queries and filters a bill list by using OpenAPI. Multiple filter conditions are supported.
4896
5451
  *
4897
5452
  * @remarks
4898
- * ## Operation description
5453
+ * ## Request description
4899
5454
  * - This operation queries the bill list based on specified conditions.
4900
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
4901
- * - Returns bill data in pages. The default page size is 20 records.
5455
+ * - Filtering is supported by tenant, user, operation type, status, time range, business source, and other conditions.
5456
+ * - Bill data is returned in pages. By default, 20 records are displayed per page.
4902
5457
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
4903
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required in the request.
5458
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
4904
5459
  *
4905
5460
  * @param request - ListBillingRequest
4906
5461
  * @returns ListBillingResponse
@@ -4976,6 +5531,144 @@ class Client extends openapi_core_1.default {
4976
5531
  let headers = {};
4977
5532
  return await this.listChatSessionsWithOptions(request, headers, runtime);
4978
5533
  }
5534
+ /**
5535
+ * Lists personal draft changes for a semantic graph.
5536
+ *
5537
+ * @remarks
5538
+ * Queries the list of personal draft changes for the current user under a specified graph (personal token only).
5539
+ * Business orchestration:
5540
+ * 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
5541
+ * and semantic view permission verification.
5542
+ * 2. Returns the active drafts of the current user (with online change risks).
5543
+ * In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
5544
+ * Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
5545
+ * Error codes:
5546
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
5547
+ * - ERR.GraphSchema.*: The graph does not exist.
5548
+ *
5549
+ * @param request - ListGraphDraftResourcesRequest
5550
+ * @param headers - map
5551
+ * @param runtime - runtime options for this request RuntimeOptions
5552
+ * @returns ListGraphDraftResourcesResponse
5553
+ */
5554
+ async listGraphDraftResourcesWithOptions(request, headers, runtime) {
5555
+ request.validate();
5556
+ let query = {};
5557
+ if (!$dara.isNull(request.tenantId)) {
5558
+ query["tenantId"] = request.tenantId;
5559
+ }
5560
+ let body = {};
5561
+ if (!$dara.isNull(request.graphName)) {
5562
+ body["graphName"] = request.graphName;
5563
+ }
5564
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5565
+ headers: headers,
5566
+ query: openapi_core_2.OpenApiUtil.query(query),
5567
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5568
+ });
5569
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5570
+ action: "ListGraphDraftResources",
5571
+ version: "2026-05-12",
5572
+ protocol: "HTTPS",
5573
+ pathname: `/openapi/listGraphDraftResources`,
5574
+ method: "POST",
5575
+ authType: "AK",
5576
+ style: "ROA",
5577
+ reqBodyType: "formData",
5578
+ bodyType: "json",
5579
+ });
5580
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGraphDraftResourcesResponse({}));
5581
+ }
5582
+ /**
5583
+ * Lists personal draft changes for a semantic graph.
5584
+ *
5585
+ * @remarks
5586
+ * Queries the list of personal draft changes for the current user under a specified graph (personal token only).
5587
+ * Business orchestration:
5588
+ * 1. Draft domain identity verification (personal token only. Deployment/system-level tokens are rejected)
5589
+ * and semantic view permission verification.
5590
+ * 2. Returns the active drafts of the current user (with online change risks).
5591
+ * In permission revocation scenarios, the system also cleans up unauthorized drafts (existing behavior).
5592
+ * Online risk aggregation (riskCode / riskMessage) is serialized as risk JSON text.
5593
+ * Error codes:
5594
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
5595
+ * - ERR.GraphSchema.*: The graph does not exist.
5596
+ *
5597
+ * @param request - ListGraphDraftResourcesRequest
5598
+ * @returns ListGraphDraftResourcesResponse
5599
+ */
5600
+ async listGraphDraftResources(request) {
5601
+ let runtime = new $dara.RuntimeOptions({});
5602
+ let headers = {};
5603
+ return await this.listGraphDraftResourcesWithOptions(request, headers, runtime);
5604
+ }
5605
+ /**
5606
+ * 管理视角图谱列表
5607
+ *
5608
+ * @remarks
5609
+ * OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
5610
+ * 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
5611
+ * PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
5612
+ * keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
5613
+ *
5614
+ * @param tmpReq - ListGraphSchemasRequest
5615
+ * @param headers - map
5616
+ * @param runtime - runtime options for this request RuntimeOptions
5617
+ * @returns ListGraphSchemasResponse
5618
+ */
5619
+ async listGraphSchemasWithOptions(tmpReq, headers, runtime) {
5620
+ tmpReq.validate();
5621
+ let request = new $_model.ListGraphSchemasShrinkRequest({});
5622
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
5623
+ if (!$dara.isNull(tmpReq.semanticTags)) {
5624
+ request.semanticTagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.semanticTags, "semanticTags", "json");
5625
+ }
5626
+ let query = {};
5627
+ if (!$dara.isNull(request.tenantId)) {
5628
+ query["tenantId"] = request.tenantId;
5629
+ }
5630
+ let body = {};
5631
+ if (!$dara.isNull(request.keyword)) {
5632
+ body["keyword"] = request.keyword;
5633
+ }
5634
+ if (!$dara.isNull(request.semanticTagsShrink)) {
5635
+ body["semanticTags"] = request.semanticTagsShrink;
5636
+ }
5637
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5638
+ headers: headers,
5639
+ query: openapi_core_2.OpenApiUtil.query(query),
5640
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5641
+ });
5642
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5643
+ action: "ListGraphSchemas",
5644
+ version: "2026-05-12",
5645
+ protocol: "HTTPS",
5646
+ pathname: `/openapi/listGraphSchemas`,
5647
+ method: "POST",
5648
+ authType: "AK",
5649
+ style: "ROA",
5650
+ reqBodyType: "formData",
5651
+ bodyType: "json",
5652
+ });
5653
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListGraphSchemasResponse({}));
5654
+ }
5655
+ /**
5656
+ * 管理视角图谱列表
5657
+ *
5658
+ * @remarks
5659
+ * OpenAPI 管理视角图谱列表(含草稿/发布中状态)。
5660
+ * 返回租户级 active 图谱;graphStatus 三态:PUBLISHED / DEVELOPING(当前用户有活动草稿)/
5661
+ * PUBLISHING(当前用户发布中);部署/系统级 Token 无个人身份,hasDraft 恒 false。
5662
+ * keyword 匹配 graphName / displayName(忽略大小写);semanticTags 命中任一标签即保留。
5663
+ *
5664
+ * @param request - ListGraphSchemasRequest
5665
+ * @returns ListGraphSchemasResponse
5666
+ */
5667
+ async listGraphSchemas(request) {
5668
+ let runtime = new $dara.RuntimeOptions({});
5669
+ let headers = {};
5670
+ return await this.listGraphSchemasWithOptions(request, headers, runtime);
5671
+ }
4979
5672
  /**
4980
5673
  * Queries the list of knowledge graphs available for semantic queries under a tenant.
4981
5674
  *
@@ -5098,17 +5791,82 @@ class Client extends openapi_core_1.default {
5098
5791
  return await this.listKnowledgeBaseDirectoriesWithOptions(request, headers, runtime);
5099
5792
  }
5100
5793
  /**
5101
- * Queries the output list of the current user with support for conditional filtering and pagination.
5794
+ * Queries the precise object type follows of a digital employee by page.
5795
+ *
5796
+ * @remarks
5797
+ * Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
5798
+ *
5799
+ * @param request - ListOperatingObjectFavoritesRequest
5800
+ * @param headers - map
5801
+ * @param runtime - runtime options for this request RuntimeOptions
5802
+ * @returns ListOperatingObjectFavoritesResponse
5803
+ */
5804
+ async listOperatingObjectFavoritesWithOptions(request, headers, runtime) {
5805
+ request.validate();
5806
+ let query = {};
5807
+ if (!$dara.isNull(request.tenantId)) {
5808
+ query["tenantId"] = request.tenantId;
5809
+ }
5810
+ let body = {};
5811
+ if (!$dara.isNull(request.graphName)) {
5812
+ body["graphName"] = request.graphName;
5813
+ }
5814
+ if (!$dara.isNull(request.nextToken)) {
5815
+ body["nextToken"] = request.nextToken;
5816
+ }
5817
+ if (!$dara.isNull(request.objectType)) {
5818
+ body["objectType"] = request.objectType;
5819
+ }
5820
+ if (!$dara.isNull(request.operatingObjectName)) {
5821
+ body["operatingObjectName"] = request.operatingObjectName;
5822
+ }
5823
+ if (!$dara.isNull(request.pageSize)) {
5824
+ body["pageSize"] = request.pageSize;
5825
+ }
5826
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5827
+ headers: headers,
5828
+ query: openapi_core_2.OpenApiUtil.query(query),
5829
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5830
+ });
5831
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5832
+ action: "ListOperatingObjectFavorites",
5833
+ version: "2026-05-12",
5834
+ protocol: "HTTPS",
5835
+ pathname: `/openapi/listOperatingObjectFavorites`,
5836
+ method: "POST",
5837
+ authType: "AK",
5838
+ style: "ROA",
5839
+ reqBodyType: "formData",
5840
+ bodyType: "json",
5841
+ });
5842
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOperatingObjectFavoritesResponse({}));
5843
+ }
5844
+ /**
5845
+ * Queries the precise object type follows of a digital employee by page.
5846
+ *
5847
+ * @remarks
5848
+ * Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
5849
+ *
5850
+ * @param request - ListOperatingObjectFavoritesRequest
5851
+ * @returns ListOperatingObjectFavoritesResponse
5852
+ */
5853
+ async listOperatingObjectFavorites(request) {
5854
+ let runtime = new $dara.RuntimeOptions({});
5855
+ let headers = {};
5856
+ return await this.listOperatingObjectFavoritesWithOptions(request, headers, runtime);
5857
+ }
5858
+ /**
5859
+ * Queries the output list of the current user, with support for conditional filtering and pagination.
5102
5860
  *
5103
5861
  * @remarks
5104
5862
  * ## Operation description
5105
- * - This API operation queries the output list of the current logon user.
5106
- * - `tenantId` is a common parameter. If this parameter is not specified, the default tenant of the caller is used.
5107
- * - You can filter results by using parameters such as `operatingObjectName`, `itemType`, and `keyword`.
5108
- * - Set `sharedOnly` to `true` to display only shared outputs.
5109
- * - Pagination is controlled by `page` (page number) and `pageSize` (number of entries per page). By default, the first page is returned with 20 records per page.
5863
+ * - This API operation queries the output list of the current logged-in user.
5864
+ * - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
5865
+ * - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
5866
+ * - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
5867
+ * - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, results start from page 1 with 20 records per page.
5110
5868
  * - Results are sorted by update time in descending order by default.
5111
- * - The `tenant_id` or `user_id` values passed in the request body are ignored. This information is obtained only from the authenticated identity.
5869
+ * - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
5112
5870
  *
5113
5871
  * @param request - ListOutputFilesRequest
5114
5872
  * @param headers - map
@@ -5159,17 +5917,17 @@ class Client extends openapi_core_1.default {
5159
5917
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListOutputFilesResponse({}));
5160
5918
  }
5161
5919
  /**
5162
- * Queries the output list of the current user with support for conditional filtering and pagination.
5920
+ * Queries the output list of the current user, with support for conditional filtering and pagination.
5163
5921
  *
5164
5922
  * @remarks
5165
5923
  * ## Operation description
5166
- * - This API operation queries the output list of the current logon user.
5167
- * - `tenantId` is a common parameter. If this parameter is not specified, the default tenant of the caller is used.
5168
- * - You can filter results by using parameters such as `operatingObjectName`, `itemType`, and `keyword`.
5169
- * - Set `sharedOnly` to `true` to display only shared outputs.
5170
- * - Pagination is controlled by `page` (page number) and `pageSize` (number of entries per page). By default, the first page is returned with 20 records per page.
5924
+ * - This API operation queries the output list of the current logged-in user.
5925
+ * - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
5926
+ * - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
5927
+ * - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
5928
+ * - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, results start from page 1 with 20 records per page.
5171
5929
  * - Results are sorted by update time in descending order by default.
5172
- * - The `tenant_id` or `user_id` values passed in the request body are ignored. This information is obtained only from the authenticated identity.
5930
+ * - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
5173
5931
  *
5174
5932
  * @param request - ListOutputFilesRequest
5175
5933
  * @returns ListOutputFilesResponse
@@ -5180,15 +5938,15 @@ class Client extends openapi_core_1.default {
5180
5938
  return await this.listOutputFilesWithOptions(request, headers, runtime);
5181
5939
  }
5182
5940
  /**
5183
- * Queries subdirectories and resources under a specified digital employee resource directory.
5941
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
5184
5942
  *
5185
5943
  * @remarks
5186
5944
  * ## Operation description
5187
- * - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
5945
+ * - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
5188
5946
  * - 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.
5189
5947
  * - 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.
5190
5948
  * - 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.
5191
- * - Sorting supports ascending or descending order by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`).
5949
+ * - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
5192
5950
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
5193
5951
  *
5194
5952
  * @param tmpReq - ListPersonalDirectoryContentsRequest
@@ -5248,15 +6006,15 @@ class Client extends openapi_core_1.default {
5248
6006
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPersonalDirectoryContentsResponse({}));
5249
6007
  }
5250
6008
  /**
5251
- * Queries subdirectories and resources under a specified digital employee resource directory.
6009
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
5252
6010
  *
5253
6011
  * @remarks
5254
6012
  * ## Operation description
5255
- * - This API is used to drill down and query subdirectories and resources under the "My Resources" directory.
6013
+ * - This API is used to drill down and query the subdirectories and resources under the "My Resources" directory.
5256
6014
  * - 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.
5257
6015
  * - 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.
5258
6016
  * - 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.
5259
- * - Sorting supports ascending or descending order by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`).
6017
+ * - Sorting is supported by name (`name`), creation time (`gmt_create`), or modification time (`gmt_modified`) in ascending or descending order.
5260
6018
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
5261
6019
  *
5262
6020
  * @param request - ListPersonalDirectoryContentsRequest
@@ -5333,7 +6091,7 @@ class Client extends openapi_core_1.default {
5333
6091
  * @remarks
5334
6092
  * ## Operation description
5335
6093
  * - This operation uploads a file to an enterprise knowledge base.
5336
- * - The `DEVELOPMENT_KB_MANAGE` permission is required to call this API.
6094
+ * - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
5337
6095
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
5338
6096
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
5339
6097
  * - 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.
@@ -5403,7 +6161,7 @@ class Client extends openapi_core_1.default {
5403
6161
  * @remarks
5404
6162
  * ## Operation description
5405
6163
  * - This operation uploads a file to an enterprise knowledge base.
5406
- * - The `DEVELOPMENT_KB_MANAGE` permission is required to call this API.
6164
+ * - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
5407
6165
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
5408
6166
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
5409
6167
  * - 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.
@@ -5427,14 +6185,14 @@ class Client extends openapi_core_1.default {
5427
6185
  * ### Request parameters
5428
6186
  * - **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.
5429
6187
  * - **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`.
5430
- * - **Tags**: Optional. Filters by tags. A match occurs if any tag in the array is hit.
5431
- * - **Keyword**: Optional. Performs fuzzy matching by skill name or description.
6188
+ * - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
6189
+ * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
5432
6190
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
5433
- * - **PageSize**: Optional. The number of entries per page. Value range: 1 to 100. Default value: 20.
5434
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, filters by binding relationship. Must be used together with `BindStatus`.
6191
+ * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
6192
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
5435
6193
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
5436
6194
  * ### Response parameters
5437
- * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
6195
+ * The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
5438
6196
  *
5439
6197
  * @param tmpReq - ListSkillsRequest
5440
6198
  * @param headers - map
@@ -5501,14 +6259,14 @@ class Client extends openapi_core_1.default {
5501
6259
  * ### Request parameters
5502
6260
  * - **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.
5503
6261
  * - **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`.
5504
- * - **Tags**: Optional. Filters by tags. A match occurs if any tag in the array is hit.
5505
- * - **Keyword**: Optional. Performs fuzzy matching by skill name or description.
6262
+ * - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
6263
+ * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
5506
6264
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
5507
- * - **PageSize**: Optional. The number of entries per page. Value range: 1 to 100. Default value: 20.
5508
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, filters by binding relationship. Must be used together with `BindStatus`.
6265
+ * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
6266
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
5509
6267
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
5510
6268
  * ### Response parameters
5511
- * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
6269
+ * The response contains the skill list `items`, the total count `total`, the current page `page`, and the number of entries per page `pageSize`.
5512
6270
  *
5513
6271
  * @param request - ListSkillsRequest
5514
6272
  * @returns ListSkillsResponse
@@ -6184,11 +6942,11 @@ class Client extends openapi_core_1.default {
6184
6942
  return await this.moveResourceWithOptions(request, headers, runtime);
6185
6943
  }
6186
6944
  /**
6187
- * Offlines a service notice.
6945
+ * Takes a service notice offline.
6188
6946
  *
6189
6947
  * @remarks
6190
- * ## Request description
6191
- * Idempotently offlines a platform announcement by announcement ID. Returns `changed=true` when a PUBLISHED announcement is offlined for the first time. Returns `changed=false` when the announcement is already offline or expired.
6948
+ * ## Operation description
6949
+ * Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
6192
6950
  * The caller must belong to the system operations tenant and have announcement management permissions.
6193
6951
  *
6194
6952
  * @param request - OfflineAnnouncementRequest
@@ -6225,11 +6983,11 @@ class Client extends openapi_core_1.default {
6225
6983
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineAnnouncementResponse({}));
6226
6984
  }
6227
6985
  /**
6228
- * Offlines a service notice.
6986
+ * Takes a service notice offline.
6229
6987
  *
6230
6988
  * @remarks
6231
- * ## Request description
6232
- * Idempotently offlines a platform announcement by announcement ID. Returns `changed=true` when a PUBLISHED announcement is offlined for the first time. Returns `changed=false` when the announcement is already offline or expired.
6989
+ * ## Operation description
6990
+ * Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
6233
6991
  * The caller must belong to the system operations tenant and have announcement management permissions.
6234
6992
  *
6235
6993
  * @param request - OfflineAnnouncementRequest
@@ -6372,15 +7130,15 @@ class Client extends openapi_core_1.default {
6372
7130
  return await this.previewPersonalSourceWithOptions(request, headers, runtime);
6373
7131
  }
6374
7132
  /**
6375
- * Queries primary object data by operating object name with paging support, including filtering and search.
7133
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
6376
7134
  *
6377
7135
  * @remarks
6378
7136
  * ## Operation description
6379
- * - This API queries primary object data by a specified operating object name (such as `customer_1`) with paging.
6380
- * - Keyword-based search is supported. You can set whether to return only objects marked as favorites in Settings.
6381
- * - Complex filter conditions can be used to further narrow results, including but not limited to equal to, not equal to, greater than, and less than operators.
7137
+ * - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
7138
+ * - You can search by keyword and specify whether to return only objects marked as favorites.
7139
+ * - 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.
6382
7140
  * - If no primary object type is configured, an empty result set is returned.
6383
- * - Data in the request undergoes authentication and filtering to ensure security and accuracy.
7141
+ * - The data in the request is subject to authentication and filtering to ensure security and accuracy.
6384
7142
  *
6385
7143
  * @param request - QueryPrimaryObjectDataRequest
6386
7144
  * @param headers - map
@@ -6428,15 +7186,15 @@ class Client extends openapi_core_1.default {
6428
7186
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPrimaryObjectDataResponse({}));
6429
7187
  }
6430
7188
  /**
6431
- * Queries primary object data by operating object name with paging support, including filtering and search.
7189
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
6432
7190
  *
6433
7191
  * @remarks
6434
7192
  * ## Operation description
6435
- * - This API queries primary object data by a specified operating object name (such as `customer_1`) with paging.
6436
- * - Keyword-based search is supported. You can set whether to return only objects marked as favorites in Settings.
6437
- * - Complex filter conditions can be used to further narrow results, including but not limited to equal to, not equal to, greater than, and less than operators.
7193
+ * - This API operation queries primary object data with paging by a specified operating object name (such as `customer_1`).
7194
+ * - You can search by keyword and specify whether to return only objects marked as favorites.
7195
+ * - 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.
6438
7196
  * - If no primary object type is configured, an empty result set is returned.
6439
- * - Data in the request undergoes authentication and filtering to ensure security and accuracy.
7197
+ * - The data in the request is subject to authentication and filtering to ensure security and accuracy.
6440
7198
  *
6441
7199
  * @param request - QueryPrimaryObjectDataRequest
6442
7200
  * @returns QueryPrimaryObjectDataResponse
@@ -6577,12 +7335,12 @@ class Client extends openapi_core_1.default {
6577
7335
  *
6578
7336
  * @remarks
6579
7337
  * ## Request description
6580
- * 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).
7338
+ * 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).
6581
7339
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
6582
- * - `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).
6583
- * - `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.
6584
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
6585
- * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always execute recommendation generation.
7340
+ * - `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).
7341
+ * - `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.
7342
+ * - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
7343
+ * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
6586
7344
  *
6587
7345
  * @param request - RecommendNextActionsRequest
6588
7346
  * @param headers - map
@@ -6631,12 +7389,12 @@ class Client extends openapi_core_1.default {
6631
7389
  *
6632
7390
  * @remarks
6633
7391
  * ## Request description
6634
- * 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).
7392
+ * 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).
6635
7393
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
6636
- * - `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).
6637
- * - `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.
6638
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
6639
- * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always execute recommendation generation.
7394
+ * - `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).
7395
+ * - `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.
7396
+ * - `outputType`: Filters the output type. followUpOnly = follow-up question recommendations only (default). skillOnly = skill recommendations only. both = generates both types.
7397
+ * Unlike internal endpoints, API calls are not restricted by the next-step recommendation toggle in user personal settings and always perform recommendation generation.
6640
7398
  *
6641
7399
  * @param request - RecommendNextActionsRequest
6642
7400
  * @returns RecommendNextActionsResponse
@@ -7358,7 +8116,7 @@ class Client extends openapi_core_1.default {
7358
8116
  * - Ensure that `tenantId` and `userId` come from verified identity information.
7359
8117
  * ### Precautions
7360
8118
  * - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
7361
- * - If `tenantId` is not provided, the tenant ID of the caller is used by default.
8119
+ * - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
7362
8120
  * - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
7363
8121
  *
7364
8122
  * @param request - RetryDirectoryFailedSourcesRequest
@@ -7406,7 +8164,7 @@ class Client extends openapi_core_1.default {
7406
8164
  * - Ensure that `tenantId` and `userId` come from verified identity information.
7407
8165
  * ### Precautions
7408
8166
  * - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
7409
- * - If `tenantId` is not provided, the tenant ID of the caller is used by default.
8167
+ * - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
7410
8168
  * - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
7411
8169
  *
7412
8170
  * @param request - RetryDirectoryFailedSourcesRequest
@@ -7421,14 +8179,14 @@ class Client extends openapi_core_1.default {
7421
8179
  * Retries all data sources in failed status under a specified directory in batch.
7422
8180
  *
7423
8181
  * @remarks
7424
- * ## Request description
8182
+ * ## Operation description
7425
8183
  * 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.
7426
- * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
8184
+ * - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
7427
8185
  * - **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.
7428
8186
  * - **Parameters**:
7429
8187
  * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
7430
8188
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
7431
- * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
8189
+ * - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
7432
8190
  *
7433
8191
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
7434
8192
  * @param headers - map
@@ -7467,14 +8225,14 @@ class Client extends openapi_core_1.default {
7467
8225
  * Retries all data sources in failed status under a specified directory in batch.
7468
8226
  *
7469
8227
  * @remarks
7470
- * ## Request description
8228
+ * ## Operation description
7471
8229
  * 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.
7472
- * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
8230
+ * - **Authentication**: In addition to basic authentication, the DEVELOPMENT_KB_MANAGE permission is required.
7473
8231
  * - **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.
7474
8232
  * - **Parameters**:
7475
8233
  * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
7476
8234
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
7477
- * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
8235
+ * - **Response**: On success, the response includes the number of data sources enqueued for retry and their details.
7478
8236
  *
7479
8237
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
7480
8238
  * @returns RetryKnowledgeBaseFailedSourcesResponse
@@ -7484,6 +8242,78 @@ class Client extends openapi_core_1.default {
7484
8242
  let headers = {};
7485
8243
  return await this.retryKnowledgeBaseFailedSourcesWithOptions(request, headers, runtime);
7486
8244
  }
8245
+ /**
8246
+ * Revokes a single semantic resource draft.
8247
+ *
8248
+ * @remarks
8249
+ * Revokes a single semantic resource draft via OpenAPI (personal token only).
8250
+ * Business orchestration:
8251
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
8252
+ * and semantic management permission verification.
8253
+ * 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
8254
+ * If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
8255
+ * Error codes:
8256
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
8257
+ * - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
8258
+ *
8259
+ * @param request - RevertGraphDraftResourceRequest
8260
+ * @param headers - map
8261
+ * @param runtime - runtime options for this request RuntimeOptions
8262
+ * @returns RevertGraphDraftResourceResponse
8263
+ */
8264
+ async revertGraphDraftResourceWithOptions(request, headers, runtime) {
8265
+ request.validate();
8266
+ let query = {};
8267
+ if (!$dara.isNull(request.tenantId)) {
8268
+ query["tenantId"] = request.tenantId;
8269
+ }
8270
+ let body = {};
8271
+ if (!$dara.isNull(request.draftChangeId)) {
8272
+ body["draftChangeId"] = request.draftChangeId;
8273
+ }
8274
+ if (!$dara.isNull(request.graphName)) {
8275
+ body["graphName"] = request.graphName;
8276
+ }
8277
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8278
+ headers: headers,
8279
+ query: openapi_core_2.OpenApiUtil.query(query),
8280
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
8281
+ });
8282
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8283
+ action: "RevertGraphDraftResource",
8284
+ version: "2026-05-12",
8285
+ protocol: "HTTPS",
8286
+ pathname: `/openapi/revertGraphDraftResource`,
8287
+ method: "POST",
8288
+ authType: "AK",
8289
+ style: "ROA",
8290
+ reqBodyType: "formData",
8291
+ bodyType: "json",
8292
+ });
8293
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevertGraphDraftResourceResponse({}));
8294
+ }
8295
+ /**
8296
+ * Revokes a single semantic resource draft.
8297
+ *
8298
+ * @remarks
8299
+ * Revokes a single semantic resource draft via OpenAPI (personal token only).
8300
+ * Business orchestration:
8301
+ * 1. Draft domain identity verification (personal token only. Deploy/system-level tokens are rejected)
8302
+ * and semantic management permission verification.
8303
+ * 2. When graphName is provided, verifies draft ownership consistency (prevents accidental cross-knowledge-graph deletion).
8304
+ * If the draft no longer exists, returns reverted=false (idempotent semantics, no error is reported).
8305
+ * Error codes:
8306
+ * - ERR.User.TokenUserOnly: Personal drafts support only user tokens.
8307
+ * - ERR.Robject.Global.InvalidParameter: draftChangeId does not belong to the specified knowledge graph.
8308
+ *
8309
+ * @param request - RevertGraphDraftResourceRequest
8310
+ * @returns RevertGraphDraftResourceResponse
8311
+ */
8312
+ async revertGraphDraftResource(request) {
8313
+ let runtime = new $dara.RuntimeOptions({});
8314
+ let headers = {};
8315
+ return await this.revertGraphDraftResourceWithOptions(request, headers, runtime);
8316
+ }
7487
8317
  /**
7488
8318
  * Revokes the usage permissions of a user or user group on a digital human.
7489
8319
  *
@@ -7604,11 +8434,92 @@ class Client extends openapi_core_1.default {
7604
8434
  if (!$dara.isNull(request.operatingObjectName)) {
7605
8435
  body["operatingObjectName"] = request.operatingObjectName;
7606
8436
  }
7607
- if (!$dara.isNull(request.skillCode)) {
7608
- body["skillCode"] = request.skillCode;
8437
+ if (!$dara.isNull(request.skillCode)) {
8438
+ body["skillCode"] = request.skillCode;
8439
+ }
8440
+ if (!$dara.isNull(request.skillName)) {
8441
+ body["skillName"] = request.skillName;
8442
+ }
8443
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8444
+ headers: headers,
8445
+ query: openapi_core_2.OpenApiUtil.query(query),
8446
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
8447
+ });
8448
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8449
+ action: "RunSkill",
8450
+ version: "2026-05-12",
8451
+ protocol: "HTTPS",
8452
+ pathname: `/openapi/runSkill`,
8453
+ method: "POST",
8454
+ authType: "AK",
8455
+ style: "ROA",
8456
+ reqBodyType: "formData",
8457
+ bodyType: "json",
8458
+ });
8459
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunSkillResponse({}));
8460
+ }
8461
+ /**
8462
+ * Asynchronously triggers skill execution and immediately returns a RunId.
8463
+ *
8464
+ * @remarks
8465
+ * ## Request description
8466
+ * This operation supports only asynchronous mode. After submission, the operation immediately returns a `RunId` and `Status=Running`. The client polls for the final result by calling `GetSkillRun`.
8467
+ * - **TenantId**: An optional common parameter that the gateway passes through to the backend header.
8468
+ * - **SkillCode** / **SkillName**: Specify one of the two parameters. SkillCode takes priority. If SkillName is not unique, `ERR.SkillHub.SkillNameAmbiguous` is returned.
8469
+ * - **Arguments**: Required. The skill input parameter object. The structure is described by the inputConfig returned by `GetSkill`.
8470
+ * - **ClientToken**: An optional idempotency key. In the current version, this value is only recorded in the task metadata and is not used for strict idempotency deduplication.
8471
+ * Note: Synchronous mode (Async=false), Stream, and CallbackUrl are not supported in the first release and will be available in later versions.
8472
+ *
8473
+ * @param request - RunSkillRequest
8474
+ * @returns RunSkillResponse
8475
+ */
8476
+ async runSkill(request) {
8477
+ let runtime = new $dara.RuntimeOptions({});
8478
+ let headers = {};
8479
+ return await this.runSkillWithOptions(request, headers, runtime);
8480
+ }
8481
+ /**
8482
+ * 保存单个语义资源草稿
8483
+ *
8484
+ * @remarks
8485
+ * OpenAPI 保存单个语义资源草稿(仅个人 Token)。
8486
+ * 业务编排:
8487
+ * 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
8488
+ * 与语义管理权限校验
8489
+ * 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
8490
+ * 内容与在线完全一致时跳过落库,摘要字段返回 null
8491
+ * 错误码:
8492
+ * - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
8493
+ * - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
8494
+ * - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
8495
+ * - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
8496
+ *
8497
+ * @param request - SaveGraphDraftResourceRequest
8498
+ * @param headers - map
8499
+ * @param runtime - runtime options for this request RuntimeOptions
8500
+ * @returns SaveGraphDraftResourceResponse
8501
+ */
8502
+ async saveGraphDraftResourceWithOptions(request, headers, runtime) {
8503
+ request.validate();
8504
+ let query = {};
8505
+ if (!$dara.isNull(request.tenantId)) {
8506
+ query["tenantId"] = request.tenantId;
8507
+ }
8508
+ let body = {};
8509
+ if (!$dara.isNull(request.elementType)) {
8510
+ body["elementType"] = request.elementType;
8511
+ }
8512
+ if (!$dara.isNull(request.graphName)) {
8513
+ body["graphName"] = request.graphName;
8514
+ }
8515
+ if (!$dara.isNull(request.resourceName)) {
8516
+ body["resourceName"] = request.resourceName;
7609
8517
  }
7610
- if (!$dara.isNull(request.skillName)) {
7611
- body["skillName"] = request.skillName;
8518
+ if (!$dara.isNull(request.resourceType)) {
8519
+ body["resourceType"] = request.resourceType;
8520
+ }
8521
+ if (!$dara.isNull(request.yamlEdit)) {
8522
+ body["yamlEdit"] = request.yamlEdit;
7612
8523
  }
7613
8524
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7614
8525
  headers: headers,
@@ -7616,37 +8527,41 @@ class Client extends openapi_core_1.default {
7616
8527
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
7617
8528
  });
7618
8529
  let params = new openapi_core_2.$OpenApiUtil.Params({
7619
- action: "RunSkill",
8530
+ action: "SaveGraphDraftResource",
7620
8531
  version: "2026-05-12",
7621
8532
  protocol: "HTTPS",
7622
- pathname: `/openapi/runSkill`,
8533
+ pathname: `/openapi/saveGraphDraftResource`,
7623
8534
  method: "POST",
7624
8535
  authType: "AK",
7625
8536
  style: "ROA",
7626
8537
  reqBodyType: "formData",
7627
8538
  bodyType: "json",
7628
8539
  });
7629
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunSkillResponse({}));
8540
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SaveGraphDraftResourceResponse({}));
7630
8541
  }
7631
8542
  /**
7632
- * Asynchronously triggers skill execution and immediately returns a RunId.
8543
+ * 保存单个语义资源草稿
7633
8544
  *
7634
8545
  * @remarks
7635
- * ## Request description
7636
- * This operation supports only asynchronous mode. After submission, the operation immediately returns a `RunId` and `Status=Running`. The client polls for the final result by calling `GetSkillRun`.
7637
- * - **TenantId**: An optional common parameter that the gateway passes through to the backend header.
7638
- * - **SkillCode** / **SkillName**: Specify one of the two parameters. SkillCode takes priority. If SkillName is not unique, `ERR.SkillHub.SkillNameAmbiguous` is returned.
7639
- * - **Arguments**: Required. The skill input parameter object. The structure is described by the inputConfig returned by `GetSkill`.
7640
- * - **ClientToken**: An optional idempotency key. In the current version, this value is only recorded in the task metadata and is not used for strict idempotency deduplication.
7641
- * Note: Synchronous mode (Async=false), Stream, and CallbackUrl are not supported in the first release and will be available in later versions.
8546
+ * OpenAPI 保存单个语义资源草稿(仅个人 Token)。
8547
+ * 业务编排:
8548
+ * 1. 草稿域身份校验(仅个人 Token;部署/系统级 Token 被拒绝)
8549
+ * 与语义管理权限校验
8550
+ * 2. 委托个人草稿服务保存(来源固定 YAML),底层含资源级写权限校验;
8551
+ * 内容与在线完全一致时跳过落库,摘要字段返回 null
8552
+ * 错误码:
8553
+ * - ERR.User.TokenUserOnly: 个人草稿仅支持用户 Token
8554
+ * - ERR.Robject.Global.InvalidParameter: resourceType/elementType 组合不合法
8555
+ * - ERR.GraphSchema.*: 图谱不存在 / 资源命名与归属校验失败
8556
+ * - ERR.Robject.Global.ResourceNotFound: 资源不存在等底层校验失败
7642
8557
  *
7643
- * @param request - RunSkillRequest
7644
- * @returns RunSkillResponse
8558
+ * @param request - SaveGraphDraftResourceRequest
8559
+ * @returns SaveGraphDraftResourceResponse
7645
8560
  */
7646
- async runSkill(request) {
8561
+ async saveGraphDraftResource(request) {
7647
8562
  let runtime = new $dara.RuntimeOptions({});
7648
8563
  let headers = {};
7649
- return await this.runSkillWithOptions(request, headers, runtime);
8564
+ return await this.saveGraphDraftResourceWithOptions(request, headers, runtime);
7650
8565
  }
7651
8566
  /**
7652
8567
  * Saves group outputs in batches to the collaboration group repository.
@@ -7884,6 +8799,74 @@ class Client extends openapi_core_1.default {
7884
8799
  let headers = {};
7885
8800
  return await this.saveOutputFileToResourceWithOptions(request, headers, runtime);
7886
8801
  }
8802
+ /**
8803
+ * Winnexo 轻量工作台搜索阿里钉群聊。
8804
+ *
8805
+ * @remarks
8806
+ * ## 请求说明
8807
+ * - 仅供 Winnexo 轻量工作台使用。
8808
+ * - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
8809
+ * - 响应不包含 DWS 原始对象。
8810
+ *
8811
+ * @param request - SearchAliDingGroupChatsRequest
8812
+ * @param headers - map
8813
+ * @param runtime - runtime options for this request RuntimeOptions
8814
+ * @returns SearchAliDingGroupChatsResponse
8815
+ */
8816
+ async searchAliDingGroupChatsWithOptions(request, headers, runtime) {
8817
+ request.validate();
8818
+ let query = {};
8819
+ if (!$dara.isNull(request.tenantId)) {
8820
+ query["tenantId"] = request.tenantId;
8821
+ }
8822
+ let body = {};
8823
+ if (!$dara.isNull(request.cursor)) {
8824
+ body["cursor"] = request.cursor;
8825
+ }
8826
+ if (!$dara.isNull(request.excludeMuted)) {
8827
+ body["excludeMuted"] = request.excludeMuted;
8828
+ }
8829
+ if (!$dara.isNull(request.keyword)) {
8830
+ body["keyword"] = request.keyword;
8831
+ }
8832
+ if (!$dara.isNull(request.pageSize)) {
8833
+ body["pageSize"] = request.pageSize;
8834
+ }
8835
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8836
+ headers: headers,
8837
+ query: openapi_core_2.OpenApiUtil.query(query),
8838
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
8839
+ });
8840
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8841
+ action: "SearchAliDingGroupChats",
8842
+ version: "2026-05-12",
8843
+ protocol: "HTTPS",
8844
+ pathname: `/openapi/searchAliDingGroupChats`,
8845
+ method: "POST",
8846
+ authType: "AK",
8847
+ style: "ROA",
8848
+ reqBodyType: "formData",
8849
+ bodyType: "json",
8850
+ });
8851
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchAliDingGroupChatsResponse({}));
8852
+ }
8853
+ /**
8854
+ * Winnexo 轻量工作台搜索阿里钉群聊。
8855
+ *
8856
+ * @remarks
8857
+ * ## 请求说明
8858
+ * - 仅供 Winnexo 轻量工作台使用。
8859
+ * - 按关键词分页搜索当前平台用户可见的阿里钉群聊。
8860
+ * - 响应不包含 DWS 原始对象。
8861
+ *
8862
+ * @param request - SearchAliDingGroupChatsRequest
8863
+ * @returns SearchAliDingGroupChatsResponse
8864
+ */
8865
+ async searchAliDingGroupChats(request) {
8866
+ let runtime = new $dara.RuntimeOptions({});
8867
+ let headers = {};
8868
+ return await this.searchAliDingGroupChatsWithOptions(request, headers, runtime);
8869
+ }
7887
8870
  /**
7888
8871
  * Asynchronously sends a session message.
7889
8872
  *
@@ -7925,6 +8908,9 @@ class Client extends openapi_core_1.default {
7925
8908
  if (!$dara.isNull(request.directChat)) {
7926
8909
  body["directChat"] = request.directChat;
7927
8910
  }
8911
+ if (!$dara.isNull(request.enableWebSearch)) {
8912
+ body["enableWebSearch"] = request.enableWebSearch;
8913
+ }
7928
8914
  if (!$dara.isNull(request.filesShrink)) {
7929
8915
  body["files"] = request.filesShrink;
7930
8916
  }
@@ -7980,12 +8966,12 @@ class Client extends openapi_core_1.default {
7980
8966
  *
7981
8967
  * @remarks
7982
8968
  * ## Operation description
7983
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
8969
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
7984
8970
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
7985
8971
  * - 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.
7986
- * - 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.
7987
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
7988
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
8972
+ * - 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.
8973
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
8974
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
7989
8975
  *
7990
8976
  * @param tmpReq - SendChatMessageRequest
7991
8977
  * @param headers - map
@@ -8024,6 +9010,9 @@ class Client extends openapi_core_1.default {
8024
9010
  if (!$dara.isNull(request.directChat)) {
8025
9011
  body["directChat"] = request.directChat;
8026
9012
  }
9013
+ if (!$dara.isNull(request.enableWebSearch)) {
9014
+ body["enableWebSearch"] = request.enableWebSearch;
9015
+ }
8027
9016
  if (!$dara.isNull(request.filesShrink)) {
8028
9017
  body["files"] = request.filesShrink;
8029
9018
  }
@@ -8090,12 +9079,12 @@ class Client extends openapi_core_1.default {
8090
9079
  *
8091
9080
  * @remarks
8092
9081
  * ## Operation description
8093
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
9082
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
8094
9083
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
8095
9084
  * - 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.
8096
- * - 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.
8097
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
8098
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
9085
+ * - 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.
9086
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
9087
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
8099
9088
  *
8100
9089
  * @param tmpReq - SendChatMessageRequest
8101
9090
  * @param headers - map
@@ -8132,6 +9121,9 @@ class Client extends openapi_core_1.default {
8132
9121
  if (!$dara.isNull(request.directChat)) {
8133
9122
  body["directChat"] = request.directChat;
8134
9123
  }
9124
+ if (!$dara.isNull(request.enableWebSearch)) {
9125
+ body["enableWebSearch"] = request.enableWebSearch;
9126
+ }
8135
9127
  if (!$dara.isNull(request.filesShrink)) {
8136
9128
  body["files"] = request.filesShrink;
8137
9129
  }
@@ -8173,12 +9165,12 @@ class Client extends openapi_core_1.default {
8173
9165
  *
8174
9166
  * @remarks
8175
9167
  * ## Operation description
8176
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
9168
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
8177
9169
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
8178
9170
  * - 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.
8179
- * - 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.
8180
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
8181
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
9171
+ * - 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.
9172
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
9173
+ * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
8182
9174
  *
8183
9175
  * @param request - SendChatMessageRequest
8184
9176
  * @returns SendChatMessageResponse
@@ -8525,6 +9517,172 @@ class Client extends openapi_core_1.default {
8525
9517
  let headers = {};
8526
9518
  return await this.togglePrimaryObjectFavoriteWithOptions(request, headers, runtime);
8527
9519
  }
9520
+ /**
9521
+ * Converts speech to text.
9522
+ *
9523
+ * @remarks
9524
+ * ## Request description
9525
+ * 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.
9526
+ * ### Call methods
9527
+ * - **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.
9528
+ * - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
9529
+ * ### Request parameters
9530
+ * - **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.
9531
+ * - **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.
9532
+ * - **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.
9533
+ * - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
9534
+ * ### Response parameters
9535
+ * Returns the recognized text content `text`.
9536
+ * ### Before you begin
9537
+ * 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.
9538
+ *
9539
+ * @param request - TranscribeChatVoiceRequest
9540
+ * @param headers - map
9541
+ * @param runtime - runtime options for this request RuntimeOptions
9542
+ * @returns TranscribeChatVoiceResponse
9543
+ */
9544
+ async transcribeChatVoiceWithOptions(request, headers, runtime) {
9545
+ request.validate();
9546
+ let query = {};
9547
+ if (!$dara.isNull(request.tenantId)) {
9548
+ query["tenantId"] = request.tenantId;
9549
+ }
9550
+ let body = {};
9551
+ if (!$dara.isNull(request.contentType)) {
9552
+ body["contentType"] = request.contentType;
9553
+ }
9554
+ if (!$dara.isNull(request.fileName)) {
9555
+ body["fileName"] = request.fileName;
9556
+ }
9557
+ if (!$dara.isNull(request.fileUrl)) {
9558
+ body["fileUrl"] = request.fileUrl;
9559
+ }
9560
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9561
+ headers: headers,
9562
+ query: openapi_core_2.OpenApiUtil.query(query),
9563
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
9564
+ });
9565
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9566
+ action: "TranscribeChatVoice",
9567
+ version: "2026-05-12",
9568
+ protocol: "HTTPS",
9569
+ pathname: `/openapi/transcribeChatVoice`,
9570
+ method: "POST",
9571
+ authType: "AK",
9572
+ style: "ROA",
9573
+ reqBodyType: "formData",
9574
+ bodyType: "json",
9575
+ });
9576
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.TranscribeChatVoiceResponse({}));
9577
+ }
9578
+ /**
9579
+ * Converts speech to text.
9580
+ *
9581
+ * @remarks
9582
+ * ## Request description
9583
+ * 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.
9584
+ * ### Call methods
9585
+ * - **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.
9586
+ * - **Direct upload**: Upload the audio file to an OSS address accessible by the server, and then call this API directly with the `FileUrl` parameter.
9587
+ * ### Request parameters
9588
+ * - **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.
9589
+ * - **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.
9590
+ * - **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.
9591
+ * - Supported audio formats: mp3, wav, m4a, mp4, webm, ogg, oga, opus, flac, and amr. Maximum file size: 25 MB.
9592
+ * ### Response parameters
9593
+ * Returns the recognized text content `text`.
9594
+ * ### Before you begin
9595
+ * 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.
9596
+ *
9597
+ * @param request - TranscribeChatVoiceRequest
9598
+ * @returns TranscribeChatVoiceResponse
9599
+ */
9600
+ async transcribeChatVoice(request) {
9601
+ let runtime = new $dara.RuntimeOptions({});
9602
+ let headers = {};
9603
+ return await this.transcribeChatVoiceWithOptions(request, headers, runtime);
9604
+ }
9605
+ async transcribeChatVoiceAdvance(request, headers, runtime) {
9606
+ // Step 0: init client
9607
+ if ($dara.isNull(this._credential)) {
9608
+ throw new $OpenApi.ClientError({
9609
+ code: "InvalidCredentials",
9610
+ message: "Please set up the credentials correctly. If you are setting them through environment variables, please ensure that ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET are set correctly. See https://help.aliyun.com/zh/sdk/developer-reference/configure-the-alibaba-cloud-accesskey-environment-variable-on-linux-macos-and-windows-systems for more details.",
9611
+ });
9612
+ }
9613
+ let credentialModel = await this._credential.getCredential();
9614
+ let accessKeyId = credentialModel.accessKeyId;
9615
+ let accessKeySecret = credentialModel.accessKeySecret;
9616
+ let securityToken = credentialModel.securityToken;
9617
+ let credentialType = credentialModel.type;
9618
+ let openPlatformEndpoint = this._openPlatformEndpoint;
9619
+ if ($dara.isNull(openPlatformEndpoint) || openPlatformEndpoint == "") {
9620
+ openPlatformEndpoint = "openplatform.aliyuncs.com";
9621
+ }
9622
+ if ($dara.isNull(credentialType)) {
9623
+ credentialType = "access_key";
9624
+ }
9625
+ let authConfig = new openapi_core_2.$OpenApiUtil.Config({
9626
+ accessKeyId: accessKeyId,
9627
+ accessKeySecret: accessKeySecret,
9628
+ securityToken: securityToken,
9629
+ type: credentialType,
9630
+ endpoint: openPlatformEndpoint,
9631
+ protocol: this._protocol,
9632
+ regionId: this._regionId,
9633
+ });
9634
+ let authClient = new openapi_core_1.default(authConfig);
9635
+ let authRequest = {
9636
+ Product: "WinNexo",
9637
+ RegionId: this._regionId,
9638
+ };
9639
+ let authReq = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9640
+ query: openapi_core_2.OpenApiUtil.query(authRequest),
9641
+ });
9642
+ let authParams = new openapi_core_2.$OpenApiUtil.Params({
9643
+ action: "AuthorizeFileUpload",
9644
+ version: "2019-12-19",
9645
+ protocol: "HTTPS",
9646
+ pathname: "/",
9647
+ method: "GET",
9648
+ authType: "AK",
9649
+ style: "RPC",
9650
+ reqBodyType: "formData",
9651
+ bodyType: "json",
9652
+ });
9653
+ let authResponse = {};
9654
+ let fileObj = new $dara.FileField({});
9655
+ let ossHeader = {};
9656
+ let tmpBody = {};
9657
+ let useAccelerate = false;
9658
+ let authResponseBody = {};
9659
+ let transcribeChatVoiceReq = new $_model.TranscribeChatVoiceRequest({});
9660
+ openapi_core_2.OpenApiUtil.convert(request, transcribeChatVoiceReq);
9661
+ if (!$dara.isNull(request.fileUrlObject)) {
9662
+ authResponse = await authClient.callApi(authParams, authReq, runtime);
9663
+ tmpBody = authResponse["body"];
9664
+ useAccelerate = Boolean(tmpBody["UseAccelerate"]);
9665
+ authResponseBody = openapi_core_2.OpenApiUtil.stringifyMapValue(tmpBody);
9666
+ fileObj = new $dara.FileField({
9667
+ filename: authResponseBody["ObjectKey"],
9668
+ content: request.fileUrlObject,
9669
+ contentType: "",
9670
+ });
9671
+ ossHeader = {
9672
+ host: openapi_core_2.OpenApiUtil.getEndpoint(authResponseBody["Endpoint"], useAccelerate, this._endpointType),
9673
+ OSSAccessKeyId: authResponseBody["AccessKeyId"],
9674
+ policy: authResponseBody["EncodedPolicy"],
9675
+ Signature: authResponseBody["Signature"],
9676
+ key: authResponseBody["ObjectKey"],
9677
+ file: fileObj,
9678
+ success_action_status: "201",
9679
+ };
9680
+ await this._postOSSObject(authResponseBody["Bucket"], ossHeader, runtime);
9681
+ transcribeChatVoiceReq.fileUrl = `http://${authResponseBody["Bucket"]}.${authResponseBody["Endpoint"]}/${authResponseBody["ObjectKey"]}`;
9682
+ }
9683
+ let transcribeChatVoiceResp = await this.transcribeChatVoiceWithOptions(transcribeChatVoiceReq, headers, runtime);
9684
+ return transcribeChatVoiceResp;
9685
+ }
8528
9686
  /**
8529
9687
  * Updates the authorization mode for digital employee usage permissions.
8530
9688
  *
@@ -8735,6 +9893,77 @@ class Client extends openapi_core_1.default {
8735
9893
  let headers = {};
8736
9894
  return await this.updateDirectoryWithOptions(request, headers, runtime);
8737
9895
  }
9896
+ /**
9897
+ * 快更图谱元信息
9898
+ *
9899
+ * @remarks
9900
+ * OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
9901
+ * displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
9902
+ * 错误码:
9903
+ * - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
9904
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
9905
+ * - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
9906
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
9907
+ *
9908
+ * @param request - UpdateGraphInfoRequest
9909
+ * @param headers - map
9910
+ * @param runtime - runtime options for this request RuntimeOptions
9911
+ * @returns UpdateGraphInfoResponse
9912
+ */
9913
+ async updateGraphInfoWithOptions(request, headers, runtime) {
9914
+ request.validate();
9915
+ let query = {};
9916
+ if (!$dara.isNull(request.tenantId)) {
9917
+ query["tenantId"] = request.tenantId;
9918
+ }
9919
+ let body = {};
9920
+ if (!$dara.isNull(request.businessProfile)) {
9921
+ body["businessProfile"] = request.businessProfile;
9922
+ }
9923
+ if (!$dara.isNull(request.displayName)) {
9924
+ body["displayName"] = request.displayName;
9925
+ }
9926
+ if (!$dara.isNull(request.graphName)) {
9927
+ body["graphName"] = request.graphName;
9928
+ }
9929
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9930
+ headers: headers,
9931
+ query: openapi_core_2.OpenApiUtil.query(query),
9932
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
9933
+ });
9934
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9935
+ action: "UpdateGraphInfo",
9936
+ version: "2026-05-12",
9937
+ protocol: "HTTPS",
9938
+ pathname: `/openapi/updateGraphInfo`,
9939
+ method: "POST",
9940
+ authType: "AK",
9941
+ style: "ROA",
9942
+ reqBodyType: "formData",
9943
+ bodyType: "json",
9944
+ });
9945
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGraphInfoResponse({}));
9946
+ }
9947
+ /**
9948
+ * 快更图谱元信息
9949
+ *
9950
+ * @remarks
9951
+ * OpenAPI 快更图谱元信息(displayName / businessProfile),同步更新 active 记录。
9952
+ * displayName 与 businessProfile 至少传其一,否则返回 ERR.GraphSchema.QuickUpdateNoFieldsToUpdate。
9953
+ * 错误码:
9954
+ * - ERR.GraphSchema.QuickUpdateNoFieldsToUpdate: 未传任何可更新字段
9955
+ * - ERR.GraphSchema.GraphNameInvalid: 图谱名称不合法
9956
+ * - ERR.GraphSchema.GraphSchemaNotFound: 图谱不存在
9957
+ * - ERR.GraphSchema.DisplayNameInvalid: 展示名不合法或重复
9958
+ *
9959
+ * @param request - UpdateGraphInfoRequest
9960
+ * @returns UpdateGraphInfoResponse
9961
+ */
9962
+ async updateGraphInfo(request) {
9963
+ let runtime = new $dara.RuntimeOptions({});
9964
+ let headers = {};
9965
+ return await this.updateGraphInfoWithOptions(request, headers, runtime);
9966
+ }
8738
9967
  /**
8739
9968
  * Updates the information of a specified enterprise knowledge base directory, including the name, description, and parent directory.
8740
9969
  *
@@ -9341,11 +10570,11 @@ class Client extends openapi_core_1.default {
9341
10570
  * Updates partial fields of the current user information and returns the complete user information.
9342
10571
  *
9343
10572
  * @remarks
9344
- * ## Request description
10573
+ * ## Operation description
9345
10574
  * - 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.
9346
10575
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
9347
10576
  * - After a successful update, the response body contains the complete user information object.
9348
- * - This operation requires authentication and supports AK, BearerToken, and APP security schemes.
10577
+ * - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
9349
10578
  * - The request content type is JSON, and the operation is available only over HTTPS.
9350
10579
  * - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
9351
10580
  *
@@ -9401,11 +10630,11 @@ class Client extends openapi_core_1.default {
9401
10630
  * Updates partial fields of the current user information and returns the complete user information.
9402
10631
  *
9403
10632
  * @remarks
9404
- * ## Request description
10633
+ * ## Operation description
9405
10634
  * - 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.
9406
10635
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
9407
10636
  * - After a successful update, the response body contains the complete user information object.
9408
- * - This operation requires authentication and supports AK, BearerToken, and APP security schemes.
10637
+ * - This operation requires authentication and supports three security schemes: AK, BearerToken, and APP.
9409
10638
  * - The request content type is JSON, and the operation is available only over HTTPS.
9410
10639
  * - Note: The `profileRoleInfo` field is valid only when the user role is set to Others. It describes the specific role information of the user.
9411
10640
  *
@@ -9418,21 +10647,21 @@ class Client extends openapi_core_1.default {
9418
10647
  return await this.updateUserInfoWithOptions(request, headers, runtime);
9419
10648
  }
9420
10649
  /**
9421
- * Uploads a local file in a session.
10650
+ * Uploads a local file for a session.
9422
10651
  *
9423
10652
  * @remarks
9424
10653
  * ## Operation description
9425
- * This API is used to upload a session temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted through the request body of this API. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS, and creates a session temporary file record.
9426
- * ### Call methods
9427
- * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl`.
9428
- * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then directly call this API with the `FileUrl` parameter.
10654
+ * This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
10655
+ * ### How to call
10656
+ * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
10657
+ * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
9429
10658
  * ### Request parameters
9430
- * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
9431
- * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
10659
+ * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
10660
+ * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
9432
10661
  * - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
9433
- * - **OperatingObjectName**: Optional. The Agent namespace identifier that determines the file storage path.
10662
+ * - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
9434
10663
  * ### Response parameters
9435
- * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the public access address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
10664
+ * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
9436
10665
  *
9437
10666
  * @param request - UploadChatFileRequest
9438
10667
  * @param headers - map
@@ -9477,21 +10706,21 @@ class Client extends openapi_core_1.default {
9477
10706
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UploadChatFileResponse({}));
9478
10707
  }
9479
10708
  /**
9480
- * Uploads a local file in a session.
10709
+ * Uploads a local file for a session.
9481
10710
  *
9482
10711
  * @remarks
9483
10712
  * ## Operation description
9484
- * This API is used to upload a session temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted through the request body of this API. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS, and creates a session temporary file record.
9485
- * ### Call methods
9486
- * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl`.
9487
- * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then directly call this API with the `FileUrl` parameter.
10713
+ * This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
10714
+ * ### How to call
10715
+ * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
10716
+ * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
9488
10717
  * ### Request parameters
9489
- * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
9490
- * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
10718
+ * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
10719
+ * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
9491
10720
  * - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
9492
- * - **OperatingObjectName**: Optional. The Agent namespace identifier that determines the file storage path.
10721
+ * - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
9493
10722
  * ### Response parameters
9494
- * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the public access address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
10723
+ * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
9495
10724
  *
9496
10725
  * @param request - UploadChatFileRequest
9497
10726
  * @returns UploadChatFileResponse