@alicloud/winnexo20260512 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/dist/client.d.ts +627 -144
  2. package/dist/client.js +1222 -180
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.d.ts +1 -1
  5. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.d.ts +4 -4
  6. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.d.ts +1 -1
  7. package/dist/models/CreateGraphRequest.d.ts +57 -0
  8. package/dist/models/CreateGraphRequest.js +66 -0
  9. package/dist/models/CreateGraphRequest.js.map +1 -0
  10. package/dist/models/CreateGraphResponse.d.ts +19 -0
  11. package/dist/models/CreateGraphResponse.js +69 -0
  12. package/dist/models/CreateGraphResponse.js.map +1 -0
  13. package/dist/models/CreateGraphResponseBody.d.ts +69 -0
  14. package/dist/models/CreateGraphResponseBody.js +70 -0
  15. package/dist/models/CreateGraphResponseBody.js.map +1 -0
  16. package/dist/models/CreatePersonalAliDingMeetingRequest.d.ts +8 -0
  17. package/dist/models/CreatePersonalAliDingMeetingRequest.js +2 -0
  18. package/dist/models/CreatePersonalAliDingMeetingRequest.js.map +1 -1
  19. package/dist/models/CreatePersonalAliDingMeetingResponseBody.d.ts +0 -1
  20. package/dist/models/CreatePersonalAliDingMeetingResponseBody.js.map +1 -1
  21. package/dist/models/CreatePersonalAlidingDocRequest.d.ts +8 -0
  22. package/dist/models/CreatePersonalAlidingDocRequest.js +2 -0
  23. package/dist/models/CreatePersonalAlidingDocRequest.js.map +1 -1
  24. package/dist/models/CreatePersonalAlidingDocResponseBody.d.ts +4 -3
  25. package/dist/models/CreatePersonalAlidingDocResponseBody.js.map +1 -1
  26. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.d.ts +9 -1
  27. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js +2 -0
  28. package/dist/models/CreatePersonalAlidingKnowledgeBaseRequest.js.map +1 -1
  29. package/dist/models/CreatePersonalAlidingKnowledgeBaseResponseBody.d.ts +3 -3
  30. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.d.ts +8 -0
  31. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js +2 -0
  32. package/dist/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.js.map +1 -1
  33. package/dist/models/CreatePersonalDingtalkMinutesRequest.d.ts +10 -2
  34. package/dist/models/CreatePersonalDingtalkMinutesRequest.js +2 -0
  35. package/dist/models/CreatePersonalDingtalkMinutesRequest.js.map +1 -1
  36. package/dist/models/CreatePersonalDingtalkMinutesResponseBody.d.ts +1 -1
  37. package/dist/models/CreatePersonalFeishuMinuteRequest.d.ts +10 -2
  38. package/dist/models/CreatePersonalFeishuMinuteRequest.js +2 -0
  39. package/dist/models/CreatePersonalFeishuMinuteRequest.js.map +1 -1
  40. package/dist/models/CreatePersonalFeishuMinuteResponseBody.d.ts +1 -1
  41. package/dist/models/CreatePersonalFileRequest.d.ts +8 -0
  42. package/dist/models/CreatePersonalFileRequest.js +2 -0
  43. package/dist/models/CreatePersonalFileRequest.js.map +1 -1
  44. package/dist/models/CreatePersonalTextRequest.d.ts +8 -0
  45. package/dist/models/CreatePersonalTextRequest.js +2 -0
  46. package/dist/models/CreatePersonalTextRequest.js.map +1 -1
  47. package/dist/models/CreatePersonalVoiceMeetingRequest.d.ts +8 -0
  48. package/dist/models/CreatePersonalVoiceMeetingRequest.js +2 -0
  49. package/dist/models/CreatePersonalVoiceMeetingRequest.js.map +1 -1
  50. package/dist/models/CreatePersonalVoiceMeetingResponseBody.d.ts +2 -2
  51. package/dist/models/GetAliDingMinutesContentRequest.d.ts +31 -0
  52. package/dist/models/GetAliDingMinutesContentRequest.js +60 -0
  53. package/dist/models/GetAliDingMinutesContentRequest.js.map +1 -0
  54. package/dist/models/GetAliDingMinutesContentResponse.d.ts +19 -0
  55. package/dist/models/GetAliDingMinutesContentResponse.js +69 -0
  56. package/dist/models/GetAliDingMinutesContentResponse.js.map +1 -0
  57. package/dist/models/GetAliDingMinutesContentResponseBody.d.ts +126 -0
  58. package/dist/models/GetAliDingMinutesContentResponseBody.js +102 -0
  59. package/dist/models/GetAliDingMinutesContentResponseBody.js.map +1 -0
  60. package/dist/models/GetChatSessionRequest.d.ts +2 -2
  61. package/dist/models/GetChatSessionResponseBody.d.ts +8 -8
  62. package/dist/models/GetGraphDraftAssembledRequest.d.ts +31 -0
  63. package/dist/models/GetGraphDraftAssembledRequest.js +60 -0
  64. package/dist/models/GetGraphDraftAssembledRequest.js.map +1 -0
  65. package/dist/models/GetGraphDraftAssembledResponse.d.ts +19 -0
  66. package/dist/models/GetGraphDraftAssembledResponse.js +69 -0
  67. package/dist/models/GetGraphDraftAssembledResponse.js.map +1 -0
  68. package/dist/models/GetGraphDraftAssembledResponseBody.d.ts +63 -0
  69. package/dist/models/GetGraphDraftAssembledResponseBody.js +68 -0
  70. package/dist/models/GetGraphDraftAssembledResponseBody.js.map +1 -0
  71. package/dist/models/GetGraphSchemaDetailRequest.d.ts +31 -0
  72. package/dist/models/GetGraphSchemaDetailRequest.js +60 -0
  73. package/dist/models/GetGraphSchemaDetailRequest.js.map +1 -0
  74. package/dist/models/GetGraphSchemaDetailResponse.d.ts +19 -0
  75. package/dist/models/GetGraphSchemaDetailResponse.js +69 -0
  76. package/dist/models/GetGraphSchemaDetailResponse.js.map +1 -0
  77. package/dist/models/GetGraphSchemaDetailResponseBody.d.ts +127 -0
  78. package/dist/models/GetGraphSchemaDetailResponseBody.js +84 -0
  79. package/dist/models/GetGraphSchemaDetailResponseBody.js.map +1 -0
  80. package/dist/models/GetScheduledTaskExecutionRecordsRequest.d.ts +11 -11
  81. package/dist/models/GetScheduledTaskExecutionRecordsResponseBody.d.ts +7 -7
  82. package/dist/models/GetScheduledTaskUnderstandDetailRequest.d.ts +2 -2
  83. package/dist/models/GetScheduledTaskUnderstandDetailResponseBody.d.ts +3 -3
  84. package/dist/models/GetScheduledTaskUnderstandDetailShrinkRequest.d.ts +2 -2
  85. package/dist/models/GetSkillRunResponseBody.d.ts +2 -2
  86. package/dist/models/GetUserInfoResponseBody.d.ts +4 -4
  87. package/dist/models/ListAdminKnowledgeBasesResponseBody.d.ts +10 -10
  88. package/dist/models/ListAliDingGroupMessagesRequest.d.ts +60 -0
  89. package/dist/models/ListAliDingGroupMessagesRequest.js +66 -0
  90. package/dist/models/ListAliDingGroupMessagesRequest.js.map +1 -0
  91. package/dist/models/ListAliDingGroupMessagesResponse.d.ts +19 -0
  92. package/dist/models/ListAliDingGroupMessagesResponse.js +69 -0
  93. package/dist/models/ListAliDingGroupMessagesResponse.js.map +1 -0
  94. package/dist/models/ListAliDingGroupMessagesResponseBody.d.ts +203 -0
  95. package/dist/models/ListAliDingGroupMessagesResponseBody.js +138 -0
  96. package/dist/models/ListAliDingGroupMessagesResponseBody.js.map +1 -0
  97. package/dist/models/ListAliDingMinutesRequest.d.ts +57 -0
  98. package/dist/models/ListAliDingMinutesRequest.js +66 -0
  99. package/dist/models/ListAliDingMinutesRequest.js.map +1 -0
  100. package/dist/models/ListAliDingMinutesResponse.d.ts +19 -0
  101. package/dist/models/ListAliDingMinutesResponse.js +69 -0
  102. package/dist/models/ListAliDingMinutesResponse.js.map +1 -0
  103. package/dist/models/ListAliDingMinutesResponseBody.d.ts +126 -0
  104. package/dist/models/ListAliDingMinutesResponseBody.js +102 -0
  105. package/dist/models/ListAliDingMinutesResponseBody.js.map +1 -0
  106. package/dist/models/ListAvailableConfigsRequest.d.ts +1 -1
  107. package/dist/models/ListAvailableConfigsResponseBody.d.ts +3 -3
  108. package/dist/models/ListBillingRequest.d.ts +6 -6
  109. package/dist/models/ListBillingResponseBody.d.ts +4 -4
  110. package/dist/models/ListGraphDraftResourcesRequest.d.ts +31 -0
  111. package/dist/models/ListGraphDraftResourcesRequest.js +60 -0
  112. package/dist/models/ListGraphDraftResourcesRequest.js.map +1 -0
  113. package/dist/models/ListGraphDraftResourcesResponse.d.ts +19 -0
  114. package/dist/models/ListGraphDraftResourcesResponse.js +69 -0
  115. package/dist/models/ListGraphDraftResourcesResponse.js.map +1 -0
  116. package/dist/models/ListGraphDraftResourcesResponseBody.d.ts +184 -0
  117. package/dist/models/ListGraphDraftResourcesResponseBody.js +114 -0
  118. package/dist/models/ListGraphDraftResourcesResponseBody.js.map +1 -0
  119. package/dist/models/ListGraphSchemasRequest.d.ts +37 -0
  120. package/dist/models/ListGraphSchemasRequest.js +65 -0
  121. package/dist/models/ListGraphSchemasRequest.js.map +1 -0
  122. package/dist/models/ListGraphSchemasResponse.d.ts +19 -0
  123. package/dist/models/ListGraphSchemasResponse.js +69 -0
  124. package/dist/models/ListGraphSchemasResponse.js.map +1 -0
  125. package/dist/models/ListGraphSchemasResponseBody.d.ts +145 -0
  126. package/dist/models/ListGraphSchemasResponseBody.js +107 -0
  127. package/dist/models/ListGraphSchemasResponseBody.js.map +1 -0
  128. package/dist/models/ListGraphSchemasShrinkRequest.d.ts +37 -0
  129. package/dist/models/ListGraphSchemasShrinkRequest.js +62 -0
  130. package/dist/models/ListGraphSchemasShrinkRequest.js.map +1 -0
  131. package/dist/models/ListPersonalDirectoryContentsRequest.d.ts +5 -5
  132. package/dist/models/ListPersonalDirectoryContentsResponseBody.d.ts +6 -6
  133. package/dist/models/ListPersonalDirectoryContentsShrinkRequest.d.ts +5 -5
  134. package/dist/models/ListSkillsRequest.d.ts +1 -1
  135. package/dist/models/ListSkillsResponseBody.d.ts +2 -2
  136. package/dist/models/ListSkillsShrinkRequest.d.ts +1 -1
  137. package/dist/models/ListUserVisibleKnowledgeBasesRequest.d.ts +3 -3
  138. package/dist/models/ListUserVisibleKnowledgeBasesResponseBody.d.ts +6 -6
  139. package/dist/models/QueryPrimaryObjectDataRequest.d.ts +3 -3
  140. package/dist/models/QueryPrimaryObjectDataResponseBody.d.ts +2 -2
  141. package/dist/models/RecommendNextActionsRequest.d.ts +2 -2
  142. package/dist/models/RecommendNextActionsResponseBody.d.ts +2 -2
  143. package/dist/models/RetryKnowledgeBaseFailedSourcesRequest.d.ts +2 -2
  144. package/dist/models/RetryKnowledgeBaseFailedSourcesResponseBody.d.ts +3 -3
  145. package/dist/models/RevertGraphDraftResourceRequest.d.ts +39 -0
  146. package/dist/models/RevertGraphDraftResourceRequest.js +62 -0
  147. package/dist/models/RevertGraphDraftResourceRequest.js.map +1 -0
  148. package/dist/models/RevertGraphDraftResourceResponse.d.ts +19 -0
  149. package/dist/models/RevertGraphDraftResourceResponse.js +69 -0
  150. package/dist/models/RevertGraphDraftResourceResponse.js.map +1 -0
  151. package/dist/models/RevertGraphDraftResourceResponseBody.d.ts +47 -0
  152. package/dist/models/RevertGraphDraftResourceResponseBody.js +64 -0
  153. package/dist/models/RevertGraphDraftResourceResponseBody.js.map +1 -0
  154. package/dist/models/SaveGraphDraftResourceRequest.d.ts +71 -0
  155. package/dist/models/SaveGraphDraftResourceRequest.js +68 -0
  156. package/dist/models/SaveGraphDraftResourceRequest.js.map +1 -0
  157. package/dist/models/SaveGraphDraftResourceResponse.d.ts +19 -0
  158. package/dist/models/SaveGraphDraftResourceResponse.js +69 -0
  159. package/dist/models/SaveGraphDraftResourceResponse.js.map +1 -0
  160. package/dist/models/SaveGraphDraftResourceResponseBody.d.ts +101 -0
  161. package/dist/models/SaveGraphDraftResourceResponseBody.js +78 -0
  162. package/dist/models/SaveGraphDraftResourceResponseBody.js.map +1 -0
  163. package/dist/models/SearchAliDingGroupChatsRequest.d.ts +55 -0
  164. package/dist/models/SearchAliDingGroupChatsRequest.js +66 -0
  165. package/dist/models/SearchAliDingGroupChatsRequest.js.map +1 -0
  166. package/dist/models/SearchAliDingGroupChatsResponse.d.ts +19 -0
  167. package/dist/models/SearchAliDingGroupChatsResponse.js +69 -0
  168. package/dist/models/SearchAliDingGroupChatsResponse.js.map +1 -0
  169. package/dist/models/SearchAliDingGroupChatsResponseBody.d.ts +98 -0
  170. package/dist/models/SearchAliDingGroupChatsResponseBody.js +96 -0
  171. package/dist/models/SearchAliDingGroupChatsResponseBody.js.map +1 -0
  172. package/dist/models/SendAsyncChatMessageRequest.d.ts +8 -0
  173. package/dist/models/SendAsyncChatMessageRequest.js +2 -0
  174. package/dist/models/SendAsyncChatMessageRequest.js.map +1 -1
  175. package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +8 -0
  176. package/dist/models/SendAsyncChatMessageShrinkRequest.js +2 -0
  177. package/dist/models/SendAsyncChatMessageShrinkRequest.js.map +1 -1
  178. package/dist/models/SendChatMessageRequest.d.ts +11 -3
  179. package/dist/models/SendChatMessageRequest.js +2 -0
  180. package/dist/models/SendChatMessageRequest.js.map +1 -1
  181. package/dist/models/SendChatMessageShrinkRequest.d.ts +11 -3
  182. package/dist/models/SendChatMessageShrinkRequest.js +2 -0
  183. package/dist/models/SendChatMessageShrinkRequest.js.map +1 -1
  184. package/dist/models/TranscribeChatVoiceAdvanceRequest.d.ts +60 -0
  185. package/dist/models/TranscribeChatVoiceAdvanceRequest.js +63 -0
  186. package/dist/models/TranscribeChatVoiceAdvanceRequest.js.map +1 -0
  187. package/dist/models/TranscribeChatVoiceRequest.d.ts +59 -0
  188. package/dist/models/TranscribeChatVoiceRequest.js +64 -0
  189. package/dist/models/TranscribeChatVoiceRequest.js.map +1 -0
  190. package/dist/models/TranscribeChatVoiceResponse.d.ts +19 -0
  191. package/dist/models/TranscribeChatVoiceResponse.js +69 -0
  192. package/dist/models/TranscribeChatVoiceResponse.js.map +1 -0
  193. package/dist/models/TranscribeChatVoiceResponseBody.d.ts +45 -0
  194. package/dist/models/TranscribeChatVoiceResponseBody.js +64 -0
  195. package/dist/models/TranscribeChatVoiceResponseBody.js.map +1 -0
  196. package/dist/models/UpdateGraphInfoRequest.d.ts +47 -0
  197. package/dist/models/UpdateGraphInfoRequest.js +64 -0
  198. package/dist/models/UpdateGraphInfoRequest.js.map +1 -0
  199. package/dist/models/UpdateGraphInfoResponse.d.ts +19 -0
  200. package/dist/models/UpdateGraphInfoResponse.js +69 -0
  201. package/dist/models/UpdateGraphInfoResponse.js.map +1 -0
  202. package/dist/models/UpdateGraphInfoResponseBody.d.ts +69 -0
  203. package/dist/models/UpdateGraphInfoResponseBody.js +70 -0
  204. package/dist/models/UpdateGraphInfoResponseBody.js.map +1 -0
  205. package/dist/models/UpdateUserInfoRequest.d.ts +3 -3
  206. package/dist/models/UpdateUserInfoResponseBody.d.ts +10 -10
  207. package/dist/models/model.d.ts +48 -0
  208. package/dist/models/model.js +108 -11
  209. package/dist/models/model.js.map +1 -1
  210. package/package.json +1 -1
  211. package/src/client.ts +1321 -188
  212. package/src/models/BatchRemoveOperatingObjectFavoritesRequest.ts +1 -1
  213. package/src/models/BatchRemoveOperatingObjectFavoritesResponseBody.ts +4 -4
  214. package/src/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.ts +1 -1
  215. package/src/models/CreateGraphRequest.ts +78 -0
  216. package/src/models/CreateGraphResponse.ts +40 -0
  217. package/src/models/CreateGraphResponseBody.ts +94 -0
  218. package/src/models/CreatePersonalAliDingMeetingRequest.ts +10 -0
  219. package/src/models/CreatePersonalAliDingMeetingResponseBody.ts +0 -1
  220. package/src/models/CreatePersonalAlidingDocRequest.ts +10 -0
  221. package/src/models/CreatePersonalAlidingDocResponseBody.ts +4 -3
  222. package/src/models/CreatePersonalAlidingKnowledgeBaseRequest.ts +11 -1
  223. package/src/models/CreatePersonalAlidingKnowledgeBaseResponseBody.ts +3 -3
  224. package/src/models/CreatePersonalAlidingKnowledgeBaseShrinkRequest.ts +10 -0
  225. package/src/models/CreatePersonalDingtalkMinutesRequest.ts +12 -2
  226. package/src/models/CreatePersonalDingtalkMinutesResponseBody.ts +1 -1
  227. package/src/models/CreatePersonalFeishuMinuteRequest.ts +12 -2
  228. package/src/models/CreatePersonalFeishuMinuteResponseBody.ts +1 -1
  229. package/src/models/CreatePersonalFileRequest.ts +10 -0
  230. package/src/models/CreatePersonalTextRequest.ts +10 -0
  231. package/src/models/CreatePersonalVoiceMeetingRequest.ts +10 -0
  232. package/src/models/CreatePersonalVoiceMeetingResponseBody.ts +2 -2
  233. package/src/models/GetAliDingMinutesContentRequest.ts +46 -0
  234. package/src/models/GetAliDingMinutesContentResponse.ts +40 -0
  235. package/src/models/GetAliDingMinutesContentResponseBody.ts +174 -0
  236. package/src/models/GetChatSessionRequest.ts +2 -2
  237. package/src/models/GetChatSessionResponseBody.ts +8 -8
  238. package/src/models/GetGraphDraftAssembledRequest.ts +46 -0
  239. package/src/models/GetGraphDraftAssembledResponse.ts +40 -0
  240. package/src/models/GetGraphDraftAssembledResponseBody.ts +86 -0
  241. package/src/models/GetGraphSchemaDetailRequest.ts +46 -0
  242. package/src/models/GetGraphSchemaDetailResponse.ts +40 -0
  243. package/src/models/GetGraphSchemaDetailResponseBody.ts +166 -0
  244. package/src/models/GetScheduledTaskExecutionRecordsRequest.ts +11 -11
  245. package/src/models/GetScheduledTaskExecutionRecordsResponseBody.ts +7 -7
  246. package/src/models/GetScheduledTaskUnderstandDetailRequest.ts +2 -2
  247. package/src/models/GetScheduledTaskUnderstandDetailResponseBody.ts +3 -3
  248. package/src/models/GetScheduledTaskUnderstandDetailShrinkRequest.ts +2 -2
  249. package/src/models/GetSkillRunResponseBody.ts +2 -2
  250. package/src/models/GetUserInfoResponseBody.ts +4 -4
  251. package/src/models/ListAdminKnowledgeBasesResponseBody.ts +10 -10
  252. package/src/models/ListAliDingGroupMessagesRequest.ts +81 -0
  253. package/src/models/ListAliDingGroupMessagesResponse.ts +40 -0
  254. package/src/models/ListAliDingGroupMessagesResponseBody.ts +278 -0
  255. package/src/models/ListAliDingMinutesRequest.ts +78 -0
  256. package/src/models/ListAliDingMinutesResponse.ts +40 -0
  257. package/src/models/ListAliDingMinutesResponseBody.ts +174 -0
  258. package/src/models/ListAvailableConfigsRequest.ts +1 -1
  259. package/src/models/ListAvailableConfigsResponseBody.ts +3 -3
  260. package/src/models/ListBillingRequest.ts +6 -6
  261. package/src/models/ListBillingResponseBody.ts +4 -4
  262. package/src/models/ListGraphDraftResourcesRequest.ts +46 -0
  263. package/src/models/ListGraphDraftResourcesResponse.ts +40 -0
  264. package/src/models/ListGraphDraftResourcesResponseBody.ts +244 -0
  265. package/src/models/ListGraphSchemasRequest.ts +57 -0
  266. package/src/models/ListGraphSchemasResponse.ts +40 -0
  267. package/src/models/ListGraphSchemasResponseBody.ts +198 -0
  268. package/src/models/ListGraphSchemasShrinkRequest.ts +54 -0
  269. package/src/models/ListPersonalDirectoryContentsRequest.ts +5 -5
  270. package/src/models/ListPersonalDirectoryContentsResponseBody.ts +6 -6
  271. package/src/models/ListPersonalDirectoryContentsShrinkRequest.ts +5 -5
  272. package/src/models/ListSkillsRequest.ts +1 -1
  273. package/src/models/ListSkillsResponseBody.ts +2 -2
  274. package/src/models/ListSkillsShrinkRequest.ts +1 -1
  275. package/src/models/ListUserVisibleKnowledgeBasesRequest.ts +3 -3
  276. package/src/models/ListUserVisibleKnowledgeBasesResponseBody.ts +6 -6
  277. package/src/models/QueryPrimaryObjectDataRequest.ts +3 -3
  278. package/src/models/QueryPrimaryObjectDataResponseBody.ts +2 -2
  279. package/src/models/RecommendNextActionsRequest.ts +2 -2
  280. package/src/models/RecommendNextActionsResponseBody.ts +2 -2
  281. package/src/models/RetryKnowledgeBaseFailedSourcesRequest.ts +2 -2
  282. package/src/models/RetryKnowledgeBaseFailedSourcesResponseBody.ts +3 -3
  283. package/src/models/RevertGraphDraftResourceRequest.ts +56 -0
  284. package/src/models/RevertGraphDraftResourceResponse.ts +40 -0
  285. package/src/models/RevertGraphDraftResourceResponseBody.ts +66 -0
  286. package/src/models/SaveGraphDraftResourceRequest.ts +94 -0
  287. package/src/models/SaveGraphDraftResourceResponse.ts +40 -0
  288. package/src/models/SaveGraphDraftResourceResponseBody.ts +134 -0
  289. package/src/models/SearchAliDingGroupChatsRequest.ts +76 -0
  290. package/src/models/SearchAliDingGroupChatsResponse.ts +40 -0
  291. package/src/models/SearchAliDingGroupChatsResponseBody.ts +140 -0
  292. package/src/models/SendAsyncChatMessageRequest.ts +10 -0
  293. package/src/models/SendAsyncChatMessageShrinkRequest.ts +10 -0
  294. package/src/models/SendChatMessageRequest.ts +13 -3
  295. package/src/models/SendChatMessageShrinkRequest.ts +13 -3
  296. package/src/models/TranscribeChatVoiceAdvanceRequest.ts +79 -0
  297. package/src/models/TranscribeChatVoiceRequest.ts +78 -0
  298. package/src/models/TranscribeChatVoiceResponse.ts +40 -0
  299. package/src/models/TranscribeChatVoiceResponseBody.ts +64 -0
  300. package/src/models/UpdateGraphInfoRequest.ts +66 -0
  301. package/src/models/UpdateGraphInfoResponse.ts +40 -0
  302. package/src/models/UpdateGraphInfoResponseBody.ts +94 -0
  303. package/src/models/UpdateUserInfoRequest.ts +3 -3
  304. package/src/models/UpdateUserInfoResponseBody.ts +10 -10
  305. package/src/models/model.ts +48 -0
package/dist/client.js CHANGED
@@ -226,10 +226,10 @@ class Client extends openapi_core_1.default {
226
226
  return await this.addUserGroupMembersWithOptions(request, headers, runtime);
227
227
  }
228
228
  /**
229
- * Batch cancels digital employee favorites for specific object types.
229
+ * Batch cancels digital employee precise object type subscriptions.
230
230
  *
231
231
  * @remarks
232
- * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
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
233
  *
234
234
  * @param tmpReq - BatchRemoveOperatingObjectFavoritesRequest
235
235
  * @param headers - map
@@ -279,10 +279,10 @@ class Client extends openapi_core_1.default {
279
279
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchRemoveOperatingObjectFavoritesResponse({}));
280
280
  }
281
281
  /**
282
- * Batch cancels digital employee favorites for specific object types.
282
+ * Batch cancels digital employee precise object type subscriptions.
283
283
  *
284
284
  * @remarks
285
- * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
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
286
  *
287
287
  * @param request - BatchRemoveOperatingObjectFavoritesRequest
288
288
  * @returns BatchRemoveOperatingObjectFavoritesResponse
@@ -621,6 +621,90 @@ class Client extends openapi_core_1.default {
621
621
  let headers = {};
622
622
  return await this.createCustomOrgWithOptions(request, headers, runtime);
623
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
+ }
624
708
  /**
625
709
  * Creates a DingTalk group chat knowledge resource in a group.
626
710
  *
@@ -1452,6 +1536,9 @@ class Client extends openapi_core_1.default {
1452
1536
  if (!$dara.isNull(request.shanjiUrl)) {
1453
1537
  body["shanjiUrl"] = request.shanjiUrl;
1454
1538
  }
1539
+ if (!$dara.isNull(request.sourceTags)) {
1540
+ body["sourceTags"] = request.sourceTags;
1541
+ }
1455
1542
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1456
1543
  headers: headers,
1457
1544
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1495,12 +1582,13 @@ class Client extends openapi_core_1.default {
1495
1582
  *
1496
1583
  * @remarks
1497
1584
  * ## Request description
1498
- * - 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.
1499
1586
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
1500
- * - 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.
1501
1588
  * - During the invoke process, metering is started and related operation logs are recorded.
1502
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.
1503
- * - 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
1504
1592
  *
1505
1593
  * @param request - CreatePersonalAlidingDocRequest
1506
1594
  * @param headers - map
@@ -1529,6 +1617,9 @@ class Client extends openapi_core_1.default {
1529
1617
  if (!$dara.isNull(request.operatingObjectName)) {
1530
1618
  body["operatingObjectName"] = request.operatingObjectName;
1531
1619
  }
1620
+ if (!$dara.isNull(request.sourceTags)) {
1621
+ body["sourceTags"] = request.sourceTags;
1622
+ }
1532
1623
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1533
1624
  headers: headers,
1534
1625
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1552,12 +1643,13 @@ class Client extends openapi_core_1.default {
1552
1643
  *
1553
1644
  * @remarks
1554
1645
  * ## Request description
1555
- * - 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.
1556
1647
  * - Fixed parameters include `source_type=ONLINE_DOC`, `platform=ALI_DING`, and `scope=PERSONAL`.
1557
- * - 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.
1558
1649
  * - During the invoke process, metering is started and related operation logs are recorded.
1559
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.
1560
- * - 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
1561
1653
  *
1562
1654
  * @param request - CreatePersonalAlidingDocRequest
1563
1655
  * @returns CreatePersonalAlidingDocResponse
@@ -1568,16 +1660,16 @@ class Client extends openapi_core_1.default {
1568
1660
  return await this.createPersonalAlidingDocWithOptions(request, headers, runtime);
1569
1661
  }
1570
1662
  /**
1571
- * 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.
1572
1664
  *
1573
1665
  * @remarks
1574
1666
  * ## Request description
1575
- * - 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.
1576
1668
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
1577
1669
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
1578
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.
1579
1671
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
1580
- * - 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.
1581
1673
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
1582
1674
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
1583
1675
  *
@@ -1616,6 +1708,9 @@ class Client extends openapi_core_1.default {
1616
1708
  if (!$dara.isNull(request.operatingObjectName)) {
1617
1709
  body["operatingObjectName"] = request.operatingObjectName;
1618
1710
  }
1711
+ if (!$dara.isNull(request.sourceTags)) {
1712
+ body["sourceTags"] = request.sourceTags;
1713
+ }
1619
1714
  if (!$dara.isNull(request.syncConfigShrink)) {
1620
1715
  body["syncConfig"] = request.syncConfigShrink;
1621
1716
  }
@@ -1638,16 +1733,16 @@ class Client extends openapi_core_1.default {
1638
1733
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePersonalAlidingKnowledgeBaseResponse({}));
1639
1734
  }
1640
1735
  /**
1641
- * 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.
1642
1737
  *
1643
1738
  * @remarks
1644
1739
  * ## Request description
1645
- * - 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.
1646
1741
  * - `platform` is fixed to `ALI_DING`, and `directory_type` is fixed to `PERSONAL`.
1647
1742
  * - If `directoryId` is provided, the system verifies that the directory exists and belongs to the current tenant and is of the personal type.
1648
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.
1649
1744
  * - For security purposes, `tenant_id` and `user_id` are obtained only from the authenticated identity. These fields in the request body are ignored.
1650
- * - 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.
1651
1746
  * - The knowledge base name can be customized. If not provided, it is automatically populated after background synchronization.
1652
1747
  * - Multi-value object binding is supported. Related information is serialized and stored in the knowledge base metadata.
1653
1748
  *
@@ -1838,13 +1933,13 @@ class Client extends openapi_core_1.default {
1838
1933
  return await this.createPersonalDingtalkMeetingWithOptions(request, headers, runtime);
1839
1934
  }
1840
1935
  /**
1841
- * 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.
1842
1937
  *
1843
1938
  * @remarks
1844
1939
  * ## Request description
1845
- * - 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.
1846
1941
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
1847
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
1942
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
1848
1943
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
1849
1944
  * - You can add a resource description (`description`) and meeting notes (`notes`).
1850
1945
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -1879,6 +1974,9 @@ class Client extends openapi_core_1.default {
1879
1974
  if (!$dara.isNull(request.shanjiUrl)) {
1880
1975
  body["shanjiUrl"] = request.shanjiUrl;
1881
1976
  }
1977
+ if (!$dara.isNull(request.sourceTags)) {
1978
+ body["sourceTags"] = request.sourceTags;
1979
+ }
1882
1980
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1883
1981
  headers: headers,
1884
1982
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -1898,13 +1996,13 @@ class Client extends openapi_core_1.default {
1898
1996
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePersonalDingtalkMinutesResponse({}));
1899
1997
  }
1900
1998
  /**
1901
- * 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.
1902
2000
  *
1903
2001
  * @remarks
1904
2002
  * ## Request description
1905
- * - 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.
1906
2004
  * - `source_type` is fixed to `DINGTALK_MEETING`, and `scope` is fixed to `PERSONAL`.
1907
- * - You must provide a standard DingTalk Shanji link or taskUuid (`shanjiUrl`).
2005
+ * - You must provide a standard DingTalk Shanji note link or taskUuid (`shanjiUrl`).
1908
2006
  * - Optionally specify a target personal directory ID (`directoryId`). If not specified, the default root directory of the current digital employee is used.
1909
2007
  * - You can add a resource description (`description`) and meeting notes (`notes`).
1910
2008
  * - This operation supports one of the following authentication methods: AK, BearerToken, or APP.
@@ -2175,7 +2273,7 @@ class Client extends openapi_core_1.default {
2175
2273
  * - `name`: The display name of the uploaded resource in the system.
2176
2274
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
2177
2275
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
2178
- * - `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.
2179
2277
  * - `description` (optional): A brief description or note about the uploaded resource.
2180
2278
  * Precautions:
2181
2279
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -2211,6 +2309,9 @@ class Client extends openapi_core_1.default {
2211
2309
  if (!$dara.isNull(request.operatingObjectName)) {
2212
2310
  body["operatingObjectName"] = request.operatingObjectName;
2213
2311
  }
2312
+ if (!$dara.isNull(request.sourceTags)) {
2313
+ body["sourceTags"] = request.sourceTags;
2314
+ }
2214
2315
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2215
2316
  headers: headers,
2216
2317
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -2239,7 +2340,7 @@ class Client extends openapi_core_1.default {
2239
2340
  * - `name`: The display name of the uploaded resource in the system.
2240
2341
  * - `minuteToken`: The unique identifier of the meeting from the Lark Minutes platform.
2241
2342
  * - `credentialId`: The ID associated with specific authentication information, used to verify the validity of the request.
2242
- * - `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.
2243
2344
  * - `description` (optional): A brief description or note about the uploaded resource.
2244
2345
  * Precautions:
2245
2346
  * - Ensure that the provided `minuteToken` and `credentialId` are valid.
@@ -2305,6 +2406,9 @@ class Client extends openapi_core_1.default {
2305
2406
  if (!$dara.isNull(request.operatingObjectName)) {
2306
2407
  body["operatingObjectName"] = request.operatingObjectName;
2307
2408
  }
2409
+ if (!$dara.isNull(request.sourceTags)) {
2410
+ body["sourceTags"] = request.sourceTags;
2411
+ }
2308
2412
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2309
2413
  headers: headers,
2310
2414
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -2381,6 +2485,9 @@ class Client extends openapi_core_1.default {
2381
2485
  if (!$dara.isNull(request.operatingObjectName)) {
2382
2486
  body["operatingObjectName"] = request.operatingObjectName;
2383
2487
  }
2488
+ if (!$dara.isNull(request.sourceTags)) {
2489
+ body["sourceTags"] = request.sourceTags;
2490
+ }
2384
2491
  if (!$dara.isNull(request.textContent)) {
2385
2492
  body["textContent"] = request.textContent;
2386
2493
  }
@@ -2428,7 +2535,7 @@ class Client extends openapi_core_1.default {
2428
2535
  *
2429
2536
  * @remarks
2430
2537
  * ## Operation description
2431
- * - 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.
2432
2539
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
2433
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.
2434
2541
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -2462,6 +2569,9 @@ class Client extends openapi_core_1.default {
2462
2569
  if (!$dara.isNull(request.operatingObjectName)) {
2463
2570
  body["operatingObjectName"] = request.operatingObjectName;
2464
2571
  }
2572
+ if (!$dara.isNull(request.sourceTags)) {
2573
+ body["sourceTags"] = request.sourceTags;
2574
+ }
2465
2575
  let realHeaders = {};
2466
2576
  if (!$dara.isNull(headers.commonHeaders)) {
2467
2577
  realHeaders = headers.commonHeaders;
@@ -2492,7 +2602,7 @@ class Client extends openapi_core_1.default {
2492
2602
  *
2493
2603
  * @remarks
2494
2604
  * ## Operation description
2495
- * - 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.
2496
2606
  * - `source_type` is fixed to `VOICE_MEETING`, `scope` is fixed to `PERSONAL`, and `voice_meeting_type` is fixed to `OFFLINE`.
2497
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.
2498
2608
  * - Calling this operation starts a background process to transcribe the audio file and returns information about the newly created resource.
@@ -3253,14 +3363,73 @@ class Client extends openapi_core_1.default {
3253
3363
  return await this.enableTokenWithOptions(request, headers, runtime);
3254
3364
  }
3255
3365
  /**
3256
- * 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.
3257
3409
  *
3258
3410
  * @remarks
3259
3411
  * ## Request description
3260
- * - 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.
3261
3430
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3262
3431
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3263
- * - 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.
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.
3264
3433
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3265
3434
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3266
3435
  *
@@ -3302,11 +3471,11 @@ class Client extends openapi_core_1.default {
3302
3471
  * Retrieves session details.
3303
3472
  *
3304
3473
  * @remarks
3305
- * ## Request description
3306
- * - 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.
3307
3476
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3308
3477
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3309
- * - 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.
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.
3310
3479
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3311
3480
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
3312
3481
  *
@@ -3318,6 +3487,75 @@ class Client extends openapi_core_1.default {
3318
3487
  let headers = {};
3319
3488
  return await this.getChatSessionWithOptions(request, headers, runtime);
3320
3489
  }
3490
+ /**
3491
+ * Retrieves the full schema after merging the active schema with personal drafts.
3492
+ *
3493
+ * @remarks
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.
3503
+ *
3504
+ * @param request - GetGraphDraftAssembledRequest
3505
+ * @param headers - map
3506
+ * @param runtime - runtime options for this request RuntimeOptions
3507
+ * @returns GetGraphDraftAssembledResponse
3508
+ */
3509
+ async getGraphDraftAssembledWithOptions(request, headers, runtime) {
3510
+ request.validate();
3511
+ let query = {};
3512
+ if (!$dara.isNull(request.tenantId)) {
3513
+ query["tenantId"] = request.tenantId;
3514
+ }
3515
+ let body = {};
3516
+ if (!$dara.isNull(request.graphName)) {
3517
+ body["graphName"] = request.graphName;
3518
+ }
3519
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3520
+ headers: headers,
3521
+ query: openapi_core_2.OpenApiUtil.query(query),
3522
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
3523
+ });
3524
+ let params = new openapi_core_2.$OpenApiUtil.Params({
3525
+ action: "GetGraphDraftAssembled",
3526
+ version: "2026-05-12",
3527
+ protocol: "HTTPS",
3528
+ pathname: `/openapi/getGraphDraftAssembled`,
3529
+ method: "POST",
3530
+ authType: "AK",
3531
+ style: "ROA",
3532
+ reqBodyType: "formData",
3533
+ bodyType: "json",
3534
+ });
3535
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGraphDraftAssembledResponse({}));
3536
+ }
3537
+ /**
3538
+ * Retrieves the full schema after merging the active schema with personal drafts.
3539
+ *
3540
+ * @remarks
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.
3550
+ *
3551
+ * @param request - GetGraphDraftAssembledRequest
3552
+ * @returns GetGraphDraftAssembledResponse
3553
+ */
3554
+ async getGraphDraftAssembled(request) {
3555
+ let runtime = new $dara.RuntimeOptions({});
3556
+ let headers = {};
3557
+ return await this.getGraphDraftAssembledWithOptions(request, headers, runtime);
3558
+ }
3321
3559
  /**
3322
3560
  * Retrieves the active Graph Schema readable by the current user.
3323
3561
  *
@@ -3371,6 +3609,65 @@ class Client extends openapi_core_1.default {
3371
3609
  let headers = {};
3372
3610
  return await this.getGraphSchemaWithOptions(request, headers, runtime);
3373
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
+ }
3374
3671
  /**
3375
3672
  * Queries the expiration time of the most recently created standard package instance for a tenant.
3376
3673
  *
@@ -3566,13 +3863,13 @@ class Client extends openapi_core_1.default {
3566
3863
  *
3567
3864
  * @remarks
3568
3865
  * ## Operation description
3569
- * - This operation uploads a file to the enterprise knowledge base.
3570
- * - 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.
3571
3868
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3572
3869
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3573
- * - 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.
3574
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3575
- * - 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.
3576
3873
  *
3577
3874
  * @param request - GetScheduledTaskExecutionRecordsRequest
3578
3875
  * @param headers - map
@@ -3625,13 +3922,13 @@ class Client extends openapi_core_1.default {
3625
3922
  *
3626
3923
  * @remarks
3627
3924
  * ## Operation description
3628
- * - This operation uploads a file to the enterprise knowledge base.
3629
- * - 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.
3630
3927
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
3631
3928
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3632
- * - 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.
3633
- * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3634
- * - 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.
3635
3932
  *
3636
3933
  * @param request - GetScheduledTaskExecutionRecordsRequest
3637
3934
  * @returns GetScheduledTaskExecutionRecordsResponse
@@ -3701,14 +3998,14 @@ class Client extends openapi_core_1.default {
3701
3998
  * Retrieves the details of scheduled task understanding.
3702
3999
  *
3703
4000
  * @remarks
3704
- * ## Operation description
4001
+ * ## Request description
3705
4002
  * - This operation uploads a file to the enterprise knowledge base.
3706
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
3707
- * - The OSS persistent address (`filePath`) of the file must be provided during upload.
3708
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3709
- * - 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.
4003
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
4004
+ * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
4005
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
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.
3710
4007
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3711
- * - 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.
3712
4009
  *
3713
4010
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
3714
4011
  *
@@ -3764,14 +4061,14 @@ class Client extends openapi_core_1.default {
3764
4061
  * Retrieves the details of scheduled task understanding.
3765
4062
  *
3766
4063
  * @remarks
3767
- * ## Operation description
4064
+ * ## Request description
3768
4065
  * - This operation uploads a file to the enterprise knowledge base.
3769
- * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
3770
- * - The OSS persistent address (`filePath`) of the file must be provided during upload.
3771
- * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
3772
- * - 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.
4066
+ * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this operation.
4067
+ * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
4068
+ * - Optional parameters include the public access URL and original file name of the file to enhance the completeness of file information.
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.
3773
4070
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
3774
- * - 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.
3775
4072
  *
3776
4073
  * @deprecated OpenAPI GetScheduledTaskUnderstandDetail is deprecated
3777
4074
  *
@@ -4395,10 +4692,10 @@ class Client extends openapi_core_1.default {
4395
4692
  * ## Request description
4396
4693
  * - This operation returns the detailed information of the current authenticated user.
4397
4694
  * - If the tenant information is invalid, the corresponding error message is returned.
4398
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
4399
- * - 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.
4400
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.
4401
- * - 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.
4402
4699
  *
4403
4700
  * @param request - GetUserInfoRequest
4404
4701
  * @param headers - map
@@ -4435,10 +4732,10 @@ class Client extends openapi_core_1.default {
4435
4732
  * ## Request description
4436
4733
  * - This operation returns the detailed information of the current authenticated user.
4437
4734
  * - If the tenant information is invalid, the corresponding error message is returned.
4438
- * - `tenantId` is an optional parameter. If not provided, the default tenant ID of the caller is used.
4439
- * - 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.
4440
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.
4441
- * - 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.
4442
4739
  *
4443
4740
  * @param request - GetUserInfoRequest
4444
4741
  * @returns GetUserInfoResponse
@@ -4600,10 +4897,10 @@ class Client extends openapi_core_1.default {
4600
4897
  * @remarks
4601
4898
  * ## Operation description
4602
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.
4603
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
4604
- * - 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.
4605
4902
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
4606
- * - 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.
4607
4904
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
4608
4905
  *
4609
4906
  * @param tmpReq - ListAdminKnowledgeBasesRequest
@@ -4668,10 +4965,10 @@ class Client extends openapi_core_1.default {
4668
4965
  * @remarks
4669
4966
  * ## Operation description
4670
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.
4671
- * - `tenantId` is a common parameter. If not provided, the caller\\"s tenant ID is used by default.
4672
- * - 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.
4673
4970
  * - The sort field (`sortField`) and sort order (`sortOrder`) can be customized. Invalid values are reset to default settings.
4674
- * - 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.
4675
4972
  * - For security purposes, `tenant_id` is strictly obtained from the authenticated identity and cannot be passed through the request body.
4676
4973
  *
4677
4974
  * @param request - ListAdminKnowledgeBasesRequest
@@ -4688,9 +4985,9 @@ class Client extends openapi_core_1.default {
4688
4985
  * @remarks
4689
4986
  * Queries the full list of digital employees under a tenant, including deactivated ones.
4690
4987
  * Business logic:
4691
- * 1. Constructs AuthContext from identity.
4692
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
4693
- * 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).
4694
4991
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
4695
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.
4696
4993
  *
@@ -4728,9 +5025,9 @@ class Client extends openapi_core_1.default {
4728
5025
  * @remarks
4729
5026
  * Queries the full list of digital employees under a tenant, including deactivated ones.
4730
5027
  * Business logic:
4731
- * 1. Constructs AuthContext from identity.
4732
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_agents to complete permission verification (APPLICATION_AGENT_VIEW).
4733
- * 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).
4734
5031
  * 4. System-level tokens are automatically allowed through ctx.skip_permission.
4735
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.
4736
5033
  *
@@ -4743,34 +5040,37 @@ class Client extends openapi_core_1.default {
4743
5040
  return await this.listAgentsWithOptions(request, headers, runtime);
4744
5041
  }
4745
5042
  /**
4746
- * Queries the list of digital human names for which the caller has specified permissions.
5043
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
4747
5044
  *
4748
5045
  * @remarks
4749
- * Queries the list of digital human names for which the current caller (or a specified target user) has specified permissions (USE/MANAGE).
4750
- * Business logic:
4751
- * 1. Constructs an AuthContext from the identity.
4752
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
4753
- * 3. When skip_permission=True, returns all active agents for the tenant.
4754
- * 4. Regular users are filtered based on authorization records and auth_mode.
4755
- * 5. When targetUserId is specified (querying on behalf of another user), the APPLICATION_AGENT_VIEW gate is required, and the query is restricted to the current tenant. If the target user is not a member of the current tenant, a USER_NOT_IN_TENANT error is thrown (an empty list is not silently returned).
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.
4756
5050
  *
4757
- * @param request - ListAuthorizedAgentsRequest
5051
+ * @param request - ListAliDingGroupMessagesRequest
4758
5052
  * @param headers - map
4759
5053
  * @param runtime - runtime options for this request RuntimeOptions
4760
- * @returns ListAuthorizedAgentsResponse
5054
+ * @returns ListAliDingGroupMessagesResponse
4761
5055
  */
4762
- async listAuthorizedAgentsWithOptions(request, headers, runtime) {
5056
+ async listAliDingGroupMessagesWithOptions(request, headers, runtime) {
4763
5057
  request.validate();
4764
5058
  let query = {};
4765
5059
  if (!$dara.isNull(request.tenantId)) {
4766
5060
  query["tenantId"] = request.tenantId;
4767
5061
  }
4768
5062
  let body = {};
4769
- if (!$dara.isNull(request.permission)) {
4770
- body["permission"] = request.permission;
5063
+ if (!$dara.isNull(request.chatId)) {
5064
+ body["chatId"] = request.chatId;
4771
5065
  }
4772
- if (!$dara.isNull(request.targetUserId)) {
4773
- body["targetUserId"] = request.targetUserId;
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;
4774
5074
  }
4775
5075
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4776
5076
  headers: headers,
@@ -4778,27 +5078,160 @@ class Client extends openapi_core_1.default {
4778
5078
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
4779
5079
  });
4780
5080
  let params = new openapi_core_2.$OpenApiUtil.Params({
4781
- action: "ListAuthorizedAgents",
5081
+ action: "ListAliDingGroupMessages",
4782
5082
  version: "2026-05-12",
4783
5083
  protocol: "HTTPS",
4784
- pathname: `/openapi/listAuthorizedAgents`,
5084
+ pathname: `/openapi/listAliDingGroupMessages`,
4785
5085
  method: "POST",
4786
5086
  authType: "AK",
4787
5087
  style: "ROA",
4788
5088
  reqBodyType: "formData",
4789
5089
  bodyType: "json",
4790
5090
  });
4791
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAgentsResponse({}));
5091
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliDingGroupMessagesResponse({}));
4792
5092
  }
4793
5093
  /**
4794
- * Queries the list of digital human names for which the caller has specified permissions.
5094
+ * Retrieves DingTalk group chat records for the Winnexo lightweight workbench.
4795
5095
  *
4796
5096
  * @remarks
4797
- * Queries the list of digital human names for which the current caller (or a specified target user) has specified permissions (USE/MANAGE).
4798
- * Business logic:
4799
- * 1. Constructs an AuthContext from the identity.
4800
- * 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
4801
- * 3. When skip_permission=True, returns all active agents for the tenant.
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
+ }
5178
+ /**
5179
+ * Queries the list of digital human names for which the caller has specified permissions.
5180
+ *
5181
+ * @remarks
5182
+ * Queries the list of digital human names for which the current caller (or a specified target user) has specified permissions (USE/MANAGE).
5183
+ * Business logic:
5184
+ * 1. Constructs an AuthContext from the identity.
5185
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
5186
+ * 3. When skip_permission=True, returns all active agents for the tenant.
5187
+ * 4. Regular users are filtered based on authorization records and auth_mode.
5188
+ * 5. When targetUserId is specified (querying on behalf of another user), the APPLICATION_AGENT_VIEW gate is required, and the query is restricted to the current tenant. If the target user is not a member of the current tenant, a USER_NOT_IN_TENANT error is thrown (an empty list is not silently returned).
5189
+ *
5190
+ * @param request - ListAuthorizedAgentsRequest
5191
+ * @param headers - map
5192
+ * @param runtime - runtime options for this request RuntimeOptions
5193
+ * @returns ListAuthorizedAgentsResponse
5194
+ */
5195
+ async listAuthorizedAgentsWithOptions(request, headers, runtime) {
5196
+ request.validate();
5197
+ let query = {};
5198
+ if (!$dara.isNull(request.tenantId)) {
5199
+ query["tenantId"] = request.tenantId;
5200
+ }
5201
+ let body = {};
5202
+ if (!$dara.isNull(request.permission)) {
5203
+ body["permission"] = request.permission;
5204
+ }
5205
+ if (!$dara.isNull(request.targetUserId)) {
5206
+ body["targetUserId"] = request.targetUserId;
5207
+ }
5208
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5209
+ headers: headers,
5210
+ query: openapi_core_2.OpenApiUtil.query(query),
5211
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5212
+ });
5213
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5214
+ action: "ListAuthorizedAgents",
5215
+ version: "2026-05-12",
5216
+ protocol: "HTTPS",
5217
+ pathname: `/openapi/listAuthorizedAgents`,
5218
+ method: "POST",
5219
+ authType: "AK",
5220
+ style: "ROA",
5221
+ reqBodyType: "formData",
5222
+ bodyType: "json",
5223
+ });
5224
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAuthorizedAgentsResponse({}));
5225
+ }
5226
+ /**
5227
+ * Queries the list of digital human names for which the caller has specified permissions.
5228
+ *
5229
+ * @remarks
5230
+ * Queries the list of digital human names for which the current caller (or a specified target user) has specified permissions (USE/MANAGE).
5231
+ * Business logic:
5232
+ * 1. Constructs an AuthContext from the identity.
5233
+ * 2. Delegates to AgentAuthorizationAuthorizedService.list_authorized_agents to execute the query.
5234
+ * 3. When skip_permission=True, returns all active agents for the tenant.
4802
5235
  * 4. Regular users are filtered based on authorization records and auth_mode.
4803
5236
  * 5. When targetUserId is specified (querying on behalf of another user), the APPLICATION_AGENT_VIEW gate is required, and the query is restricted to the current tenant. If the target user is not a member of the current tenant, a USER_NOT_IN_TENANT error is thrown (an empty list is not silently returned).
4804
5237
  *
@@ -4943,15 +5376,15 @@ class Client extends openapi_core_1.default {
4943
5376
  return await this.listAvailableConfigsWithOptions(request, headers, runtime);
4944
5377
  }
4945
5378
  /**
4946
- * 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.
4947
5380
  *
4948
5381
  * @remarks
4949
5382
  * ## Request description
4950
5383
  * - This operation queries the bill list based on specified conditions.
4951
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
4952
- * - 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.
4953
5386
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
4954
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
5387
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
4955
5388
  *
4956
5389
  * @param request - ListBillingRequest
4957
5390
  * @param headers - map
@@ -5014,15 +5447,15 @@ class Client extends openapi_core_1.default {
5014
5447
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBillingResponse({}));
5015
5448
  }
5016
5449
  /**
5017
- * 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.
5018
5451
  *
5019
5452
  * @remarks
5020
5453
  * ## Request description
5021
5454
  * - This operation queries the bill list based on specified conditions.
5022
- * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
5023
- * - 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.
5024
5457
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
5025
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
5458
+ * - Provide the required authentication information (such as AccessKey pair, BearerToken, or APP authentication) when you send a request.
5026
5459
  *
5027
5460
  * @param request - ListBillingRequest
5028
5461
  * @returns ListBillingResponse
@@ -5098,6 +5531,144 @@ class Client extends openapi_core_1.default {
5098
5531
  let headers = {};
5099
5532
  return await this.listChatSessionsWithOptions(request, headers, runtime);
5100
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
+ }
5101
5672
  /**
5102
5673
  * Queries the list of knowledge graphs available for semantic queries under a tenant.
5103
5674
  *
@@ -5367,15 +5938,15 @@ class Client extends openapi_core_1.default {
5367
5938
  return await this.listOutputFilesWithOptions(request, headers, runtime);
5368
5939
  }
5369
5940
  /**
5370
- * Queries subdirectories and resources under a specified digital employee resource directory.
5941
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
5371
5942
  *
5372
5943
  * @remarks
5373
5944
  * ## Operation description
5374
- * - 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.
5375
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.
5376
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.
5377
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.
5378
- * - 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.
5379
5950
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
5380
5951
  *
5381
5952
  * @param tmpReq - ListPersonalDirectoryContentsRequest
@@ -5435,15 +6006,15 @@ class Client extends openapi_core_1.default {
5435
6006
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPersonalDirectoryContentsResponse({}));
5436
6007
  }
5437
6008
  /**
5438
- * Queries subdirectories and resources under a specified digital employee resource directory.
6009
+ * Queries the subdirectories and resources under a specified digital employee resource directory.
5439
6010
  *
5440
6011
  * @remarks
5441
6012
  * ## Operation description
5442
- * - 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.
5443
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.
5444
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.
5445
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.
5446
- * - 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.
5447
6018
  * - The pagination feature allows you to customize the number of items displayed per page (maximum 100) and the current page number.
5448
6019
  *
5449
6020
  * @param request - ListPersonalDirectoryContentsRequest
@@ -5610,7 +6181,7 @@ class Client extends openapi_core_1.default {
5610
6181
  *
5611
6182
  * @remarks
5612
6183
  * ## Request description
5613
- * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
6184
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, keywords, and other conditions, and supports pagination.
5614
6185
  * ### Request parameters
5615
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.
5616
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`.
@@ -5618,10 +6189,10 @@ class Client extends openapi_core_1.default {
5618
6189
  * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
5619
6190
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
5620
6191
  * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
5621
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
6192
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
5622
6193
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
5623
6194
  * ### Response parameters
5624
- * 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`.
5625
6196
  *
5626
6197
  * @param tmpReq - ListSkillsRequest
5627
6198
  * @param headers - map
@@ -5684,7 +6255,7 @@ class Client extends openapi_core_1.default {
5684
6255
  *
5685
6256
  * @remarks
5686
6257
  * ## Request description
5687
- * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
6258
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, keywords, and other conditions, and supports pagination.
5688
6259
  * ### Request parameters
5689
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.
5690
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`.
@@ -5692,10 +6263,10 @@ class Client extends openapi_core_1.default {
5692
6263
  * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
5693
6264
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
5694
6265
  * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
5695
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
6266
+ * - **OperatingObjectName**: Optional. The name of the digital employee. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
5696
6267
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
5697
6268
  * ### Response parameters
5698
- * 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`.
5699
6270
  *
5700
6271
  * @param request - ListSkillsRequest
5701
6272
  * @returns ListSkillsResponse
@@ -6559,15 +7130,15 @@ class Client extends openapi_core_1.default {
6559
7130
  return await this.previewPersonalSourceWithOptions(request, headers, runtime);
6560
7131
  }
6561
7132
  /**
6562
- * Queries primary object data by operating object name with pagination, and supports filtering and searching.
7133
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
6563
7134
  *
6564
7135
  * @remarks
6565
- * ## Request description
6566
- * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
6567
- * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
6568
- * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
7136
+ * ## Operation description
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.
6569
7140
  * - If no primary object type is configured, an empty result set is returned.
6570
- * - Data included 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.
6571
7142
  *
6572
7143
  * @param request - QueryPrimaryObjectDataRequest
6573
7144
  * @param headers - map
@@ -6615,15 +7186,15 @@ class Client extends openapi_core_1.default {
6615
7186
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPrimaryObjectDataResponse({}));
6616
7187
  }
6617
7188
  /**
6618
- * Queries primary object data by operating object name with pagination, and supports filtering and searching.
7189
+ * Queries primary object data with paging by operating object name, with support for filtering and search.
6619
7190
  *
6620
7191
  * @remarks
6621
- * ## Request description
6622
- * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
6623
- * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
6624
- * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
7192
+ * ## Operation description
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.
6625
7196
  * - If no primary object type is configured, an empty result set is returned.
6626
- * - Data included 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.
6627
7198
  *
6628
7199
  * @param request - QueryPrimaryObjectDataRequest
6629
7200
  * @returns QueryPrimaryObjectDataResponse
@@ -6764,12 +7335,12 @@ class Client extends openapi_core_1.default {
6764
7335
  *
6765
7336
  * @remarks
6766
7337
  * ## Request description
6767
- * 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).
6768
7339
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
6769
- * - `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).
6770
- * - `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.
6771
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
6772
- * 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.
6773
7344
  *
6774
7345
  * @param request - RecommendNextActionsRequest
6775
7346
  * @param headers - map
@@ -6818,12 +7389,12 @@ class Client extends openapi_core_1.default {
6818
7389
  *
6819
7390
  * @remarks
6820
7391
  * ## Request description
6821
- * 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).
6822
7393
  * - `sessionId`: The session ID. Required. Only sessions that the currently authenticated user has permission to access are allowed.
6823
- * - `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).
6824
- * - `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.
6825
- * - `outputType`: The output type filter. followUpOnly = follow-up recommendations only (default). skillOnly = skill recommendations only. both = generate both types.
6826
- * 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.
6827
7398
  *
6828
7399
  * @param request - RecommendNextActionsRequest
6829
7400
  * @returns RecommendNextActionsResponse
@@ -7605,17 +8176,17 @@ class Client extends openapi_core_1.default {
7605
8176
  return await this.retryDirectoryFailedSourcesWithOptions(request, headers, runtime);
7606
8177
  }
7607
8178
  /**
7608
- * Retries all data sources in failed status under a specified directory in batches.
8179
+ * Retries all data sources in failed status under a specified directory in batch.
7609
8180
  *
7610
8181
  * @remarks
7611
8182
  * ## Operation description
7612
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.
7613
- * - **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.
7614
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.
7615
8186
  * - **Parameters**:
7616
- * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
8187
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
7617
8188
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
7618
- * - **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.
7619
8190
  *
7620
8191
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
7621
8192
  * @param headers - map
@@ -7651,17 +8222,17 @@ class Client extends openapi_core_1.default {
7651
8222
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RetryKnowledgeBaseFailedSourcesResponse({}));
7652
8223
  }
7653
8224
  /**
7654
- * Retries all data sources in failed status under a specified directory in batches.
8225
+ * Retries all data sources in failed status under a specified directory in batch.
7655
8226
  *
7656
8227
  * @remarks
7657
8228
  * ## Operation description
7658
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.
7659
- * - **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.
7660
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.
7661
8232
  * - **Parameters**:
7662
- * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
8233
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
7663
8234
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
7664
- * - **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.
7665
8236
  *
7666
8237
  * @param request - RetryKnowledgeBaseFailedSourcesRequest
7667
8238
  * @returns RetryKnowledgeBaseFailedSourcesResponse
@@ -7671,6 +8242,78 @@ class Client extends openapi_core_1.default {
7671
8242
  let headers = {};
7672
8243
  return await this.retryKnowledgeBaseFailedSourcesWithOptions(request, headers, runtime);
7673
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
+ }
7674
8317
  /**
7675
8318
  * Revokes the usage permissions of a user or user group on a digital human.
7676
8319
  *
@@ -7836,24 +8479,109 @@ class Client extends openapi_core_1.default {
7836
8479
  return await this.runSkillWithOptions(request, headers, runtime);
7837
8480
  }
7838
8481
  /**
7839
- * Saves group outputs in batches to the collaboration group repository.
8482
+ * 保存单个语义资源草稿
7840
8483
  *
7841
8484
  * @remarks
7842
- * ## Request description
7843
- * - Saves specified group outputs to the repository directory of the same collaboration group.
7844
- * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
7845
- * - The caller must be a platform user and a member of the target group. The caller can archive group outputs visible to them, including outputs created by other members.
7846
- * - If `directoryId` is not specified, the default repository directory of the target group is used.
7847
- * - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
7848
- * - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure of a single entry does not affect other entries.
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: 资源不存在等底层校验失败
7849
8496
  *
7850
- * @param tmpReq - SaveGroupOutputFileToGroupResourceRequest
8497
+ * @param request - SaveGraphDraftResourceRequest
7851
8498
  * @param headers - map
7852
8499
  * @param runtime - runtime options for this request RuntimeOptions
7853
- * @returns SaveGroupOutputFileToGroupResourceResponse
8500
+ * @returns SaveGraphDraftResourceResponse
7854
8501
  */
7855
- async saveGroupOutputFileToGroupResourceWithOptions(tmpReq, headers, runtime) {
7856
- tmpReq.validate();
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;
8517
+ }
8518
+ if (!$dara.isNull(request.resourceType)) {
8519
+ body["resourceType"] = request.resourceType;
8520
+ }
8521
+ if (!$dara.isNull(request.yamlEdit)) {
8522
+ body["yamlEdit"] = request.yamlEdit;
8523
+ }
8524
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8525
+ headers: headers,
8526
+ query: openapi_core_2.OpenApiUtil.query(query),
8527
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
8528
+ });
8529
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8530
+ action: "SaveGraphDraftResource",
8531
+ version: "2026-05-12",
8532
+ protocol: "HTTPS",
8533
+ pathname: `/openapi/saveGraphDraftResource`,
8534
+ method: "POST",
8535
+ authType: "AK",
8536
+ style: "ROA",
8537
+ reqBodyType: "formData",
8538
+ bodyType: "json",
8539
+ });
8540
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SaveGraphDraftResourceResponse({}));
8541
+ }
8542
+ /**
8543
+ * 保存单个语义资源草稿
8544
+ *
8545
+ * @remarks
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: 资源不存在等底层校验失败
8557
+ *
8558
+ * @param request - SaveGraphDraftResourceRequest
8559
+ * @returns SaveGraphDraftResourceResponse
8560
+ */
8561
+ async saveGraphDraftResource(request) {
8562
+ let runtime = new $dara.RuntimeOptions({});
8563
+ let headers = {};
8564
+ return await this.saveGraphDraftResourceWithOptions(request, headers, runtime);
8565
+ }
8566
+ /**
8567
+ * Saves group outputs in batches to the collaboration group repository.
8568
+ *
8569
+ * @remarks
8570
+ * ## Request description
8571
+ * - Saves specified group outputs to the repository directory of the same collaboration group.
8572
+ * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
8573
+ * - The caller must be a platform user and a member of the target group. The caller can archive group outputs visible to them, including outputs created by other members.
8574
+ * - If `directoryId` is not specified, the default repository directory of the target group is used.
8575
+ * - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. If any entry does not exist, is not visible, or cannot be operated on, the entire batch fails.
8576
+ * - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure of a single entry does not affect other entries.
8577
+ *
8578
+ * @param tmpReq - SaveGroupOutputFileToGroupResourceRequest
8579
+ * @param headers - map
8580
+ * @param runtime - runtime options for this request RuntimeOptions
8581
+ * @returns SaveGroupOutputFileToGroupResourceResponse
8582
+ */
8583
+ async saveGroupOutputFileToGroupResourceWithOptions(tmpReq, headers, runtime) {
8584
+ tmpReq.validate();
7857
8585
  let request = new $_model.SaveGroupOutputFileToGroupResourceShrinkRequest({});
7858
8586
  openapi_core_2.OpenApiUtil.convert(tmpReq, request);
7859
8587
  if (!$dara.isNull(tmpReq.itemIds)) {
@@ -8071,6 +8799,74 @@ class Client extends openapi_core_1.default {
8071
8799
  let headers = {};
8072
8800
  return await this.saveOutputFileToResourceWithOptions(request, headers, runtime);
8073
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
+ }
8074
8870
  /**
8075
8871
  * Asynchronously sends a session message.
8076
8872
  *
@@ -8112,6 +8908,9 @@ class Client extends openapi_core_1.default {
8112
8908
  if (!$dara.isNull(request.directChat)) {
8113
8909
  body["directChat"] = request.directChat;
8114
8910
  }
8911
+ if (!$dara.isNull(request.enableWebSearch)) {
8912
+ body["enableWebSearch"] = request.enableWebSearch;
8913
+ }
8115
8914
  if (!$dara.isNull(request.filesShrink)) {
8116
8915
  body["files"] = request.filesShrink;
8117
8916
  }
@@ -8166,13 +8965,13 @@ class Client extends openapi_core_1.default {
8166
8965
  * Sends a message.
8167
8966
  *
8168
8967
  * @remarks
8169
- * ## Request description
8170
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
8968
+ * ## Operation description
8969
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
8171
8970
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
8172
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
8173
- * - 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.
8174
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
8175
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
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.
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.
8176
8975
  *
8177
8976
  * @param tmpReq - SendChatMessageRequest
8178
8977
  * @param headers - map
@@ -8211,6 +9010,9 @@ class Client extends openapi_core_1.default {
8211
9010
  if (!$dara.isNull(request.directChat)) {
8212
9011
  body["directChat"] = request.directChat;
8213
9012
  }
9013
+ if (!$dara.isNull(request.enableWebSearch)) {
9014
+ body["enableWebSearch"] = request.enableWebSearch;
9015
+ }
8214
9016
  if (!$dara.isNull(request.filesShrink)) {
8215
9017
  body["files"] = request.filesShrink;
8216
9018
  }
@@ -8276,13 +9078,13 @@ class Client extends openapi_core_1.default {
8276
9078
  * Sends a message.
8277
9079
  *
8278
9080
  * @remarks
8279
- * ## Request description
8280
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
9081
+ * ## Operation description
9082
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
8281
9083
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
8282
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
8283
- * - 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.
8284
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
8285
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
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.
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.
8286
9088
  *
8287
9089
  * @param tmpReq - SendChatMessageRequest
8288
9090
  * @param headers - map
@@ -8319,6 +9121,9 @@ class Client extends openapi_core_1.default {
8319
9121
  if (!$dara.isNull(request.directChat)) {
8320
9122
  body["directChat"] = request.directChat;
8321
9123
  }
9124
+ if (!$dara.isNull(request.enableWebSearch)) {
9125
+ body["enableWebSearch"] = request.enableWebSearch;
9126
+ }
8322
9127
  if (!$dara.isNull(request.filesShrink)) {
8323
9128
  body["files"] = request.filesShrink;
8324
9129
  }
@@ -8359,13 +9164,13 @@ class Client extends openapi_core_1.default {
8359
9164
  * Sends a message.
8360
9165
  *
8361
9166
  * @remarks
8362
- * ## Request description
8363
- * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
9167
+ * ## Operation description
9168
+ * - This API operation is used to upload a file to the "My Resources" section of a specified digital employee.
8364
9169
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
8365
- * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
8366
- * - 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.
8367
- * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
8368
- * - The operation type is write, and operation logs are recorded for subsequent auditing.
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.
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.
8369
9174
  *
8370
9175
  * @param request - SendChatMessageRequest
8371
9176
  * @returns SendChatMessageResponse
@@ -8712,6 +9517,172 @@ class Client extends openapi_core_1.default {
8712
9517
  let headers = {};
8713
9518
  return await this.togglePrimaryObjectFavoriteWithOptions(request, headers, runtime);
8714
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
+ }
8715
9686
  /**
8716
9687
  * Updates the authorization mode for digital employee usage permissions.
8717
9688
  *
@@ -8922,6 +9893,77 @@ class Client extends openapi_core_1.default {
8922
9893
  let headers = {};
8923
9894
  return await this.updateDirectoryWithOptions(request, headers, runtime);
8924
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
+ }
8925
9967
  /**
8926
9968
  * Updates the information of a specified enterprise knowledge base directory, including the name, description, and parent directory.
8927
9969
  *
@@ -9528,11 +10570,11 @@ class Client extends openapi_core_1.default {
9528
10570
  * Updates partial fields of the current user information and returns the complete user information.
9529
10571
  *
9530
10572
  * @remarks
9531
- * ## Request description
10573
+ * ## Operation description
9532
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.
9533
10575
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
9534
10576
  * - After a successful update, the response body contains the complete user information object.
9535
- * - 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.
9536
10578
  * - The request content type is JSON, and the operation is available only over HTTPS.
9537
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.
9538
10580
  *
@@ -9588,11 +10630,11 @@ class Client extends openapi_core_1.default {
9588
10630
  * Updates partial fields of the current user information and returns the complete user information.
9589
10631
  *
9590
10632
  * @remarks
9591
- * ## Request description
10633
+ * ## Operation description
9592
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.
9593
10635
  * - Use the `tenantId` parameter to specify a tenant ID. If omitted, the default tenant of the caller is used.
9594
10636
  * - After a successful update, the response body contains the complete user information object.
9595
- * - 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.
9596
10638
  * - The request content type is JSON, and the operation is available only over HTTPS.
9597
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.
9598
10640
  *