@alicloud/winnexo20260512 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/dist/client.d.ts +773 -115
  2. package/dist/client.js +1769 -154
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddUserGroupMembersRequest.d.ts +41 -0
  5. package/dist/models/AddUserGroupMembersRequest.js +65 -0
  6. package/dist/models/AddUserGroupMembersRequest.js.map +1 -0
  7. package/dist/models/AddUserGroupMembersResponse.d.ts +19 -0
  8. package/dist/models/AddUserGroupMembersResponse.js +69 -0
  9. package/dist/models/AddUserGroupMembersResponse.js.map +1 -0
  10. package/dist/models/AddUserGroupMembersResponseBody.d.ts +61 -0
  11. package/dist/models/AddUserGroupMembersResponseBody.js +68 -0
  12. package/dist/models/AddUserGroupMembersResponseBody.js.map +1 -0
  13. package/dist/models/AddUserGroupMembersShrinkRequest.d.ts +41 -0
  14. package/dist/models/AddUserGroupMembersShrinkRequest.js +62 -0
  15. package/dist/models/AddUserGroupMembersShrinkRequest.js.map +1 -0
  16. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.d.ts +61 -0
  17. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js +69 -0
  18. package/dist/models/BatchRemoveOperatingObjectFavoritesRequest.js.map +1 -0
  19. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.d.ts +19 -0
  20. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js +69 -0
  21. package/dist/models/BatchRemoveOperatingObjectFavoritesResponse.js.map +1 -0
  22. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.d.ts +128 -0
  23. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js +104 -0
  24. package/dist/models/BatchRemoveOperatingObjectFavoritesResponseBody.js.map +1 -0
  25. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.d.ts +61 -0
  26. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js +66 -0
  27. package/dist/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.js.map +1 -0
  28. package/dist/models/CheckHealthResponseBody.d.ts +3 -3
  29. package/dist/models/ClearOperatingObjectFavoritesRequest.d.ts +51 -0
  30. package/dist/models/ClearOperatingObjectFavoritesRequest.js +64 -0
  31. package/dist/models/ClearOperatingObjectFavoritesRequest.js.map +1 -0
  32. package/dist/models/ClearOperatingObjectFavoritesResponse.d.ts +19 -0
  33. package/dist/models/ClearOperatingObjectFavoritesResponse.js +69 -0
  34. package/dist/models/ClearOperatingObjectFavoritesResponse.js.map +1 -0
  35. package/dist/models/ClearOperatingObjectFavoritesResponseBody.d.ts +85 -0
  36. package/dist/models/ClearOperatingObjectFavoritesResponseBody.js +74 -0
  37. package/dist/models/ClearOperatingObjectFavoritesResponseBody.js.map +1 -0
  38. package/dist/models/CreateAnnouncementRequest.d.ts +123 -0
  39. package/dist/models/CreateAnnouncementRequest.js +88 -0
  40. package/dist/models/CreateAnnouncementRequest.js.map +1 -0
  41. package/dist/models/CreateAnnouncementResponse.d.ts +19 -0
  42. package/dist/models/CreateAnnouncementResponse.js +69 -0
  43. package/dist/models/CreateAnnouncementResponse.js.map +1 -0
  44. package/dist/models/CreateAnnouncementResponseBody.d.ts +83 -0
  45. package/dist/models/CreateAnnouncementResponseBody.js +72 -0
  46. package/dist/models/CreateAnnouncementResponseBody.js.map +1 -0
  47. package/dist/models/CreateAnnouncementShrinkRequest.d.ts +123 -0
  48. package/dist/models/CreateAnnouncementShrinkRequest.js +82 -0
  49. package/dist/models/CreateAnnouncementShrinkRequest.js.map +1 -0
  50. package/dist/models/CreateConversationResponseBody.d.ts +3 -3
  51. package/dist/models/CreateGroupAliDingChatRequest.d.ts +0 -2
  52. package/dist/models/CreateGroupAliDingChatRequest.js +0 -2
  53. package/dist/models/CreateGroupAliDingChatRequest.js.map +1 -1
  54. package/dist/models/CreateGroupDingtalkChatRequest.d.ts +142 -0
  55. package/dist/models/CreateGroupDingtalkChatRequest.js +104 -0
  56. package/dist/models/CreateGroupDingtalkChatRequest.js.map +1 -0
  57. package/dist/models/CreateGroupDingtalkChatResponse.d.ts +19 -0
  58. package/dist/models/CreateGroupDingtalkChatResponse.js +69 -0
  59. package/dist/models/CreateGroupDingtalkChatResponse.js.map +1 -0
  60. package/dist/models/CreateGroupDingtalkChatResponseBody.d.ts +104 -0
  61. package/dist/models/CreateGroupDingtalkChatResponseBody.js +78 -0
  62. package/dist/models/CreateGroupDingtalkChatResponseBody.js.map +1 -0
  63. package/dist/models/CreateGroupDingtalkChatShrinkRequest.d.ts +104 -0
  64. package/dist/models/CreateGroupDingtalkChatShrinkRequest.js +78 -0
  65. package/dist/models/CreateGroupDingtalkChatShrinkRequest.js.map +1 -0
  66. package/dist/models/CreateGroupFeishuDocRequest.d.ts +177 -0
  67. package/dist/models/CreateGroupFeishuDocRequest.js +130 -0
  68. package/dist/models/CreateGroupFeishuDocRequest.js.map +1 -0
  69. package/dist/models/CreateGroupFeishuDocResponse.d.ts +19 -0
  70. package/dist/models/CreateGroupFeishuDocResponse.js +69 -0
  71. package/dist/models/CreateGroupFeishuDocResponse.js.map +1 -0
  72. package/dist/models/CreateGroupFeishuDocResponseBody.d.ts +104 -0
  73. package/dist/models/CreateGroupFeishuDocResponseBody.js +78 -0
  74. package/dist/models/CreateGroupFeishuDocResponseBody.js.map +1 -0
  75. package/dist/models/CreateGroupFeishuDocShrinkRequest.d.ts +99 -0
  76. package/dist/models/CreateGroupFeishuDocShrinkRequest.js +78 -0
  77. package/dist/models/CreateGroupFeishuDocShrinkRequest.js.map +1 -0
  78. package/dist/models/CreateKnowledgeBaseAliDingDocResponseBody.d.ts +1 -1
  79. package/dist/models/CreateKnowledgeBaseFeishuDocRequest.d.ts +169 -0
  80. package/dist/models/CreateKnowledgeBaseFeishuDocRequest.js +128 -0
  81. package/dist/models/CreateKnowledgeBaseFeishuDocRequest.js.map +1 -0
  82. package/dist/models/CreateKnowledgeBaseFeishuDocResponse.d.ts +19 -0
  83. package/dist/models/CreateKnowledgeBaseFeishuDocResponse.js +69 -0
  84. package/dist/models/CreateKnowledgeBaseFeishuDocResponse.js.map +1 -0
  85. package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.d.ts +93 -0
  86. package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.js +76 -0
  87. package/dist/models/CreateKnowledgeBaseFeishuDocResponseBody.js.map +1 -0
  88. package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.d.ts +91 -0
  89. package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.js +76 -0
  90. package/dist/models/CreateKnowledgeBaseFeishuDocShrinkRequest.js.map +1 -0
  91. package/dist/models/CreatePersonalDingtalkChatRequest.d.ts +130 -0
  92. package/dist/models/CreatePersonalDingtalkChatRequest.js +102 -0
  93. package/dist/models/CreatePersonalDingtalkChatRequest.js.map +1 -0
  94. package/dist/models/CreatePersonalDingtalkChatResponse.d.ts +19 -0
  95. package/dist/models/CreatePersonalDingtalkChatResponse.js +69 -0
  96. package/dist/models/CreatePersonalDingtalkChatResponse.js.map +1 -0
  97. package/dist/models/CreatePersonalDingtalkChatResponseBody.d.ts +93 -0
  98. package/dist/models/CreatePersonalDingtalkChatResponseBody.js +76 -0
  99. package/dist/models/CreatePersonalDingtalkChatResponseBody.js.map +1 -0
  100. package/dist/models/CreatePersonalDingtalkChatShrinkRequest.d.ts +94 -0
  101. package/dist/models/CreatePersonalDingtalkChatShrinkRequest.js +76 -0
  102. package/dist/models/CreatePersonalDingtalkChatShrinkRequest.js.map +1 -0
  103. package/dist/models/CreatePersonalDingtalkMeetingResponseBody.d.ts +1 -1
  104. package/dist/models/CreatePersonalDirectoryRequest.d.ts +2 -2
  105. package/dist/models/CreatePersonalDirectoryResponseBody.d.ts +4 -4
  106. package/dist/models/CreatePersonalFeishuDocRequest.d.ts +167 -0
  107. package/dist/models/CreatePersonalFeishuDocRequest.js +128 -0
  108. package/dist/models/CreatePersonalFeishuDocRequest.js.map +1 -0
  109. package/dist/models/CreatePersonalFeishuDocResponse.d.ts +19 -0
  110. package/dist/models/CreatePersonalFeishuDocResponse.js +69 -0
  111. package/dist/models/CreatePersonalFeishuDocResponse.js.map +1 -0
  112. package/dist/models/CreatePersonalFeishuDocResponseBody.d.ts +93 -0
  113. package/dist/models/CreatePersonalFeishuDocResponseBody.js +76 -0
  114. package/dist/models/CreatePersonalFeishuDocResponseBody.js.map +1 -0
  115. package/dist/models/CreatePersonalFeishuDocShrinkRequest.d.ts +89 -0
  116. package/dist/models/CreatePersonalFeishuDocShrinkRequest.js +76 -0
  117. package/dist/models/CreatePersonalFeishuDocShrinkRequest.js.map +1 -0
  118. package/dist/models/CreateTenantDirectoryRequest.d.ts +1 -1
  119. package/dist/models/CreateTenantDirectoryResponseBody.d.ts +3 -3
  120. package/dist/models/CreateUserGroupRequest.d.ts +47 -0
  121. package/dist/models/CreateUserGroupRequest.js +64 -0
  122. package/dist/models/CreateUserGroupRequest.js.map +1 -0
  123. package/dist/models/CreateUserGroupResponse.d.ts +19 -0
  124. package/dist/models/CreateUserGroupResponse.js +69 -0
  125. package/dist/models/CreateUserGroupResponse.js.map +1 -0
  126. package/dist/models/CreateUserGroupResponseBody.d.ts +45 -0
  127. package/dist/models/CreateUserGroupResponseBody.js +64 -0
  128. package/dist/models/CreateUserGroupResponseBody.js.map +1 -0
  129. package/dist/models/CreateUserRequest.d.ts +10 -2
  130. package/dist/models/CreateUserRequest.js +2 -0
  131. package/dist/models/CreateUserRequest.js.map +1 -1
  132. package/dist/models/CreateUserShrinkRequest.d.ts +10 -2
  133. package/dist/models/CreateUserShrinkRequest.js +2 -0
  134. package/dist/models/CreateUserShrinkRequest.js.map +1 -1
  135. package/dist/models/CreateUserWithGroupsRequest.d.ts +67 -0
  136. package/dist/models/CreateUserWithGroupsRequest.js +74 -0
  137. package/dist/models/CreateUserWithGroupsRequest.js.map +1 -0
  138. package/dist/models/CreateUserWithGroupsResponse.d.ts +19 -0
  139. package/dist/models/CreateUserWithGroupsResponse.js +69 -0
  140. package/dist/models/CreateUserWithGroupsResponse.js.map +1 -0
  141. package/dist/models/CreateUserWithGroupsResponseBody.d.ts +69 -0
  142. package/dist/models/CreateUserWithGroupsResponseBody.js +70 -0
  143. package/dist/models/CreateUserWithGroupsResponseBody.js.map +1 -0
  144. package/dist/models/CreateUserWithGroupsShrinkRequest.d.ts +67 -0
  145. package/dist/models/CreateUserWithGroupsShrinkRequest.js +68 -0
  146. package/dist/models/CreateUserWithGroupsShrinkRequest.js.map +1 -0
  147. package/dist/models/DeleteChatSessionRequest.d.ts +2 -2
  148. package/dist/models/GetChatSessionRequest.d.ts +1 -1
  149. package/dist/models/GetChatSessionResponseBody.d.ts +3 -3
  150. package/dist/models/GetGraphSchemaRequest.d.ts +1 -1
  151. package/dist/models/GetGraphSchemaResponseBody.d.ts +9 -1
  152. package/dist/models/GetGraphSchemaResponseBody.js +2 -0
  153. package/dist/models/GetGraphSchemaResponseBody.js.map +1 -1
  154. package/dist/models/GetScheduledTaskPushOptionsRequest.d.ts +37 -0
  155. package/dist/models/GetScheduledTaskPushOptionsRequest.js +62 -0
  156. package/dist/models/GetScheduledTaskPushOptionsRequest.js.map +1 -0
  157. package/dist/models/GetScheduledTaskPushOptionsResponse.d.ts +19 -0
  158. package/dist/models/GetScheduledTaskPushOptionsResponse.js +69 -0
  159. package/dist/models/GetScheduledTaskPushOptionsResponse.js.map +1 -0
  160. package/dist/models/GetScheduledTaskPushOptionsResponseBody.d.ts +187 -0
  161. package/dist/models/GetScheduledTaskPushOptionsResponseBody.js +148 -0
  162. package/dist/models/GetScheduledTaskPushOptionsResponseBody.js.map +1 -0
  163. package/dist/models/GetScheduledTaskUnderstandDetailRequest.d.ts +3 -3
  164. package/dist/models/GetScheduledTaskUnderstandDetailResponseBody.d.ts +1 -1
  165. package/dist/models/GetScheduledTaskUnderstandDetailShrinkRequest.d.ts +2 -2
  166. package/dist/models/GetSourceRequest.d.ts +1 -1
  167. package/dist/models/GetSourceResponseBody.d.ts +4 -4
  168. package/dist/models/GetTokenEnsureEnableRequest.d.ts +29 -0
  169. package/dist/models/GetTokenEnsureEnableRequest.js +60 -0
  170. package/dist/models/GetTokenEnsureEnableRequest.js.map +1 -0
  171. package/dist/models/GetTokenEnsureEnableResponse.d.ts +19 -0
  172. package/dist/models/GetTokenEnsureEnableResponse.js +69 -0
  173. package/dist/models/GetTokenEnsureEnableResponse.js.map +1 -0
  174. package/dist/models/GetTokenEnsureEnableResponseBody.d.ts +61 -0
  175. package/dist/models/GetTokenEnsureEnableResponseBody.js +68 -0
  176. package/dist/models/GetTokenEnsureEnableResponseBody.js.map +1 -0
  177. package/dist/models/GetUserGroupRequest.d.ts +31 -0
  178. package/dist/models/GetUserGroupRequest.js +60 -0
  179. package/dist/models/GetUserGroupRequest.js.map +1 -0
  180. package/dist/models/GetUserGroupResponse.d.ts +19 -0
  181. package/dist/models/GetUserGroupResponse.js +69 -0
  182. package/dist/models/GetUserGroupResponse.js.map +1 -0
  183. package/dist/models/GetUserGroupResponseBody.d.ts +63 -0
  184. package/dist/models/GetUserGroupResponseBody.js +76 -0
  185. package/dist/models/GetUserGroupResponseBody.js.map +1 -0
  186. package/dist/models/ListActiveAnnouncementsRequest.d.ts +37 -0
  187. package/dist/models/ListActiveAnnouncementsRequest.js +62 -0
  188. package/dist/models/ListActiveAnnouncementsRequest.js.map +1 -0
  189. package/dist/models/ListActiveAnnouncementsResponse.d.ts +19 -0
  190. package/dist/models/ListActiveAnnouncementsResponse.js +69 -0
  191. package/dist/models/ListActiveAnnouncementsResponse.js.map +1 -0
  192. package/dist/models/ListActiveAnnouncementsResponseBody.d.ts +184 -0
  193. package/dist/models/ListActiveAnnouncementsResponseBody.js +112 -0
  194. package/dist/models/ListActiveAnnouncementsResponseBody.js.map +1 -0
  195. package/dist/models/ListBillingRequest.d.ts +6 -6
  196. package/dist/models/ListBillingResponseBody.d.ts +5 -5
  197. package/dist/models/ListOperatingObjectFavoritesRequest.d.ts +67 -0
  198. package/dist/models/ListOperatingObjectFavoritesRequest.js +68 -0
  199. package/dist/models/ListOperatingObjectFavoritesRequest.js.map +1 -0
  200. package/dist/models/ListOperatingObjectFavoritesResponse.d.ts +19 -0
  201. package/dist/models/ListOperatingObjectFavoritesResponse.js +69 -0
  202. package/dist/models/ListOperatingObjectFavoritesResponse.js.map +1 -0
  203. package/dist/models/ListOperatingObjectFavoritesResponseBody.d.ts +158 -0
  204. package/dist/models/ListOperatingObjectFavoritesResponseBody.js +110 -0
  205. package/dist/models/ListOperatingObjectFavoritesResponseBody.js.map +1 -0
  206. package/dist/models/ListOutputFilesRequest.d.ts +3 -3
  207. package/dist/models/ListOutputFilesResponseBody.d.ts +2 -2
  208. package/dist/models/ListScheduledTasksRequest.d.ts +3 -3
  209. package/dist/models/ListScheduledTasksResponseBody.d.ts +7 -7
  210. package/dist/models/ListScheduledTasksShrinkRequest.d.ts +3 -3
  211. package/dist/models/ListSkillsRequest.d.ts +1 -1
  212. package/dist/models/ListSkillsResponseBody.d.ts +3 -3
  213. package/dist/models/ListSkillsShrinkRequest.d.ts +1 -1
  214. package/dist/models/ListUserGroupsRequest.d.ts +21 -0
  215. package/dist/models/ListUserGroupsRequest.js +58 -0
  216. package/dist/models/ListUserGroupsRequest.js.map +1 -0
  217. package/dist/models/ListUserGroupsResponse.d.ts +19 -0
  218. package/dist/models/ListUserGroupsResponse.js +69 -0
  219. package/dist/models/ListUserGroupsResponse.js.map +1 -0
  220. package/dist/models/ListUserGroupsResponseBody.d.ts +42 -0
  221. package/dist/models/ListUserGroupsResponseBody.js +67 -0
  222. package/dist/models/ListUserGroupsResponseBody.js.map +1 -0
  223. package/dist/models/ListVisibleKnowledgeBasesHeaders.d.ts +1 -1
  224. package/dist/models/ListVisibleKnowledgeBasesResponseBody.d.ts +7 -7
  225. package/dist/models/OfflineAnnouncementRequest.d.ts +31 -0
  226. package/dist/models/OfflineAnnouncementRequest.js +60 -0
  227. package/dist/models/OfflineAnnouncementRequest.js.map +1 -0
  228. package/dist/models/OfflineAnnouncementResponse.d.ts +19 -0
  229. package/dist/models/OfflineAnnouncementResponse.js +69 -0
  230. package/dist/models/OfflineAnnouncementResponse.js.map +1 -0
  231. package/dist/models/OfflineAnnouncementResponseBody.d.ts +77 -0
  232. package/dist/models/OfflineAnnouncementResponseBody.js +72 -0
  233. package/dist/models/OfflineAnnouncementResponseBody.js.map +1 -0
  234. package/dist/models/QueryPrimaryObjectDataRequest.d.ts +5 -5
  235. package/dist/models/QueryPrimaryObjectDataResponseBody.d.ts +1 -1
  236. package/dist/models/RecommendNextActionsRequest.d.ts +1 -1
  237. package/dist/models/RecommendNextActionsResponseBody.d.ts +1 -1
  238. package/dist/models/RemoveUserGroupMembersRequest.d.ts +41 -0
  239. package/dist/models/RemoveUserGroupMembersRequest.js +65 -0
  240. package/dist/models/RemoveUserGroupMembersRequest.js.map +1 -0
  241. package/dist/models/RemoveUserGroupMembersResponse.d.ts +19 -0
  242. package/dist/models/RemoveUserGroupMembersResponse.js +69 -0
  243. package/dist/models/RemoveUserGroupMembersResponse.js.map +1 -0
  244. package/dist/models/RemoveUserGroupMembersResponseBody.d.ts +61 -0
  245. package/dist/models/RemoveUserGroupMembersResponseBody.js +68 -0
  246. package/dist/models/RemoveUserGroupMembersResponseBody.js.map +1 -0
  247. package/dist/models/RemoveUserGroupMembersShrinkRequest.d.ts +41 -0
  248. package/dist/models/RemoveUserGroupMembersShrinkRequest.js +62 -0
  249. package/dist/models/RemoveUserGroupMembersShrinkRequest.js.map +1 -0
  250. package/dist/models/RetryDirectoryFailedSourcesRequest.d.ts +1 -1
  251. package/dist/models/RetryDirectoryFailedSourcesResponseBody.d.ts +2 -2
  252. package/dist/models/RetryKnowledgeBaseFailedSourcesRequest.d.ts +2 -2
  253. package/dist/models/RetryKnowledgeBaseFailedSourcesResponseBody.d.ts +2 -2
  254. package/dist/models/SaveGroupOutputFileToGroupResourceRequest.d.ts +61 -0
  255. package/dist/models/SaveGroupOutputFileToGroupResourceRequest.js +69 -0
  256. package/dist/models/SaveGroupOutputFileToGroupResourceRequest.js.map +1 -0
  257. package/dist/models/SaveGroupOutputFileToGroupResourceResponse.d.ts +19 -0
  258. package/dist/models/SaveGroupOutputFileToGroupResourceResponse.js +69 -0
  259. package/dist/models/SaveGroupOutputFileToGroupResourceResponse.js.map +1 -0
  260. package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.d.ts +94 -0
  261. package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.js +94 -0
  262. package/dist/models/SaveGroupOutputFileToGroupResourceResponseBody.js.map +1 -0
  263. package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.d.ts +61 -0
  264. package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.js +66 -0
  265. package/dist/models/SaveGroupOutputFileToGroupResourceShrinkRequest.js.map +1 -0
  266. package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.d.ts +61 -0
  267. package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.js +69 -0
  268. package/dist/models/SaveGroupOutputFileToPersonalResourceRequest.js.map +1 -0
  269. package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.d.ts +19 -0
  270. package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.js +69 -0
  271. package/dist/models/SaveGroupOutputFileToPersonalResourceResponse.js.map +1 -0
  272. package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.d.ts +94 -0
  273. package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.js +94 -0
  274. package/dist/models/SaveGroupOutputFileToPersonalResourceResponseBody.js.map +1 -0
  275. package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.d.ts +61 -0
  276. package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.js +66 -0
  277. package/dist/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.js.map +1 -0
  278. package/dist/models/SendAsyncChatMessageRequest.d.ts +2 -2
  279. package/dist/models/SendAsyncChatMessageResponseBody.d.ts +10 -2
  280. package/dist/models/SendAsyncChatMessageResponseBody.js +2 -0
  281. package/dist/models/SendAsyncChatMessageResponseBody.js.map +1 -1
  282. package/dist/models/SendAsyncChatMessageShrinkRequest.d.ts +2 -2
  283. package/dist/models/SendChatMessageRequest.d.ts +2 -2
  284. package/dist/models/SendChatMessageShrinkRequest.d.ts +2 -2
  285. package/dist/models/StreamChatMessageRequest.d.ts +2 -2
  286. package/dist/models/StreamChatMessageResponseBody.d.ts +17 -1
  287. package/dist/models/StreamChatMessageResponseBody.js +4 -0
  288. package/dist/models/StreamChatMessageResponseBody.js.map +1 -1
  289. package/dist/models/UpdateChatSessionResponseBody.d.ts +1 -1
  290. package/dist/models/UpdateUserGroupRequest.d.ts +63 -0
  291. package/dist/models/UpdateUserGroupRequest.js +68 -0
  292. package/dist/models/UpdateUserGroupRequest.js.map +1 -0
  293. package/dist/models/UpdateUserGroupResponse.d.ts +19 -0
  294. package/dist/models/UpdateUserGroupResponse.js +69 -0
  295. package/dist/models/UpdateUserGroupResponse.js.map +1 -0
  296. package/dist/models/UpdateUserGroupResponseBody.d.ts +45 -0
  297. package/dist/models/UpdateUserGroupResponseBody.js +64 -0
  298. package/dist/models/UpdateUserGroupResponseBody.js.map +1 -0
  299. package/dist/models/UploadChatFileAdvanceRequest.d.ts +13 -13
  300. package/dist/models/UploadChatFileRequest.d.ts +13 -13
  301. package/dist/models/UploadChatFileResponseBody.d.ts +13 -13
  302. package/dist/models/model.d.ts +94 -0
  303. package/dist/models/model.js +199 -9
  304. package/dist/models/model.js.map +1 -1
  305. package/package.json +1 -1
  306. package/src/client.ts +1971 -169
  307. package/src/models/AddUserGroupMembersRequest.ts +61 -0
  308. package/src/models/AddUserGroupMembersResponse.ts +40 -0
  309. package/src/models/AddUserGroupMembersResponseBody.ts +84 -0
  310. package/src/models/AddUserGroupMembersShrinkRequest.ts +58 -0
  311. package/src/models/BatchRemoveOperatingObjectFavoritesRequest.ts +85 -0
  312. package/src/models/BatchRemoveOperatingObjectFavoritesResponse.ts +40 -0
  313. package/src/models/BatchRemoveOperatingObjectFavoritesResponseBody.ts +176 -0
  314. package/src/models/BatchRemoveOperatingObjectFavoritesShrinkRequest.ts +82 -0
  315. package/src/models/CheckHealthResponseBody.ts +3 -3
  316. package/src/models/ClearOperatingObjectFavoritesRequest.ts +70 -0
  317. package/src/models/ClearOperatingObjectFavoritesResponse.ts +40 -0
  318. package/src/models/ClearOperatingObjectFavoritesResponseBody.ts +114 -0
  319. package/src/models/CreateAnnouncementRequest.ts +166 -0
  320. package/src/models/CreateAnnouncementResponse.ts +40 -0
  321. package/src/models/CreateAnnouncementResponseBody.ts +110 -0
  322. package/src/models/CreateAnnouncementShrinkRequest.ts +160 -0
  323. package/src/models/CreateConversationResponseBody.ts +3 -3
  324. package/src/models/CreateGroupAliDingChatRequest.ts +0 -2
  325. package/src/models/CreateGroupDingtalkChatRequest.ts +192 -0
  326. package/src/models/CreateGroupDingtalkChatResponse.ts +40 -0
  327. package/src/models/CreateGroupDingtalkChatResponseBody.ts +137 -0
  328. package/src/models/CreateGroupDingtalkChatShrinkRequest.ts +137 -0
  329. package/src/models/CreateGroupFeishuDocRequest.ts +244 -0
  330. package/src/models/CreateGroupFeishuDocResponse.ts +40 -0
  331. package/src/models/CreateGroupFeishuDocResponseBody.ts +137 -0
  332. package/src/models/CreateGroupFeishuDocShrinkRequest.ts +132 -0
  333. package/src/models/CreateKnowledgeBaseAliDingDocResponseBody.ts +1 -1
  334. package/src/models/CreateKnowledgeBaseFeishuDocRequest.ts +234 -0
  335. package/src/models/CreateKnowledgeBaseFeishuDocResponse.ts +40 -0
  336. package/src/models/CreateKnowledgeBaseFeishuDocResponseBody.ts +124 -0
  337. package/src/models/CreateKnowledgeBaseFeishuDocShrinkRequest.ts +122 -0
  338. package/src/models/CreatePersonalDingtalkChatRequest.ts +178 -0
  339. package/src/models/CreatePersonalDingtalkChatResponse.ts +40 -0
  340. package/src/models/CreatePersonalDingtalkChatResponseBody.ts +124 -0
  341. package/src/models/CreatePersonalDingtalkChatShrinkRequest.ts +125 -0
  342. package/src/models/CreatePersonalDingtalkMeetingResponseBody.ts +1 -1
  343. package/src/models/CreatePersonalDirectoryRequest.ts +2 -2
  344. package/src/models/CreatePersonalDirectoryResponseBody.ts +4 -4
  345. package/src/models/CreatePersonalFeishuDocRequest.ts +232 -0
  346. package/src/models/CreatePersonalFeishuDocResponse.ts +40 -0
  347. package/src/models/CreatePersonalFeishuDocResponseBody.ts +124 -0
  348. package/src/models/CreatePersonalFeishuDocShrinkRequest.ts +120 -0
  349. package/src/models/CreateTenantDirectoryRequest.ts +1 -1
  350. package/src/models/CreateTenantDirectoryResponseBody.ts +3 -3
  351. package/src/models/CreateUserGroupRequest.ts +66 -0
  352. package/src/models/CreateUserGroupResponse.ts +40 -0
  353. package/src/models/CreateUserGroupResponseBody.ts +64 -0
  354. package/src/models/CreateUserRequest.ts +12 -2
  355. package/src/models/CreateUserShrinkRequest.ts +12 -2
  356. package/src/models/CreateUserWithGroupsRequest.ts +96 -0
  357. package/src/models/CreateUserWithGroupsResponse.ts +40 -0
  358. package/src/models/CreateUserWithGroupsResponseBody.ts +94 -0
  359. package/src/models/CreateUserWithGroupsShrinkRequest.ts +90 -0
  360. package/src/models/DeleteChatSessionRequest.ts +2 -2
  361. package/src/models/GetChatSessionRequest.ts +1 -1
  362. package/src/models/GetChatSessionResponseBody.ts +3 -3
  363. package/src/models/GetGraphSchemaRequest.ts +1 -1
  364. package/src/models/GetGraphSchemaResponseBody.ts +11 -1
  365. package/src/models/GetScheduledTaskPushOptionsRequest.ts +54 -0
  366. package/src/models/GetScheduledTaskPushOptionsResponse.ts +40 -0
  367. package/src/models/GetScheduledTaskPushOptionsResponseBody.ts +263 -0
  368. package/src/models/GetScheduledTaskUnderstandDetailRequest.ts +3 -3
  369. package/src/models/GetScheduledTaskUnderstandDetailResponseBody.ts +1 -1
  370. package/src/models/GetScheduledTaskUnderstandDetailShrinkRequest.ts +2 -2
  371. package/src/models/GetSourceRequest.ts +1 -1
  372. package/src/models/GetSourceResponseBody.ts +4 -4
  373. package/src/models/GetTokenEnsureEnableRequest.ts +44 -0
  374. package/src/models/GetTokenEnsureEnableResponse.ts +40 -0
  375. package/src/models/GetTokenEnsureEnableResponseBody.ts +84 -0
  376. package/src/models/GetUserGroupRequest.ts +46 -0
  377. package/src/models/GetUserGroupResponse.ts +40 -0
  378. package/src/models/GetUserGroupResponseBody.ts +94 -0
  379. package/src/models/ListActiveAnnouncementsRequest.ts +54 -0
  380. package/src/models/ListActiveAnnouncementsResponse.ts +40 -0
  381. package/src/models/ListActiveAnnouncementsResponseBody.ts +242 -0
  382. package/src/models/ListBillingRequest.ts +6 -6
  383. package/src/models/ListBillingResponseBody.ts +5 -5
  384. package/src/models/ListOperatingObjectFavoritesRequest.ts +90 -0
  385. package/src/models/ListOperatingObjectFavoritesResponse.ts +40 -0
  386. package/src/models/ListOperatingObjectFavoritesResponseBody.ts +214 -0
  387. package/src/models/ListOutputFilesRequest.ts +3 -3
  388. package/src/models/ListOutputFilesResponseBody.ts +2 -2
  389. package/src/models/ListScheduledTasksRequest.ts +3 -3
  390. package/src/models/ListScheduledTasksResponseBody.ts +7 -7
  391. package/src/models/ListScheduledTasksShrinkRequest.ts +3 -3
  392. package/src/models/ListSkillsRequest.ts +1 -1
  393. package/src/models/ListSkillsResponseBody.ts +3 -3
  394. package/src/models/ListSkillsShrinkRequest.ts +1 -1
  395. package/src/models/ListUserGroupsRequest.ts +34 -0
  396. package/src/models/ListUserGroupsResponse.ts +40 -0
  397. package/src/models/ListUserGroupsResponseBody.ts +64 -0
  398. package/src/models/ListVisibleKnowledgeBasesHeaders.ts +1 -1
  399. package/src/models/ListVisibleKnowledgeBasesResponseBody.ts +7 -7
  400. package/src/models/OfflineAnnouncementRequest.ts +46 -0
  401. package/src/models/OfflineAnnouncementResponse.ts +40 -0
  402. package/src/models/OfflineAnnouncementResponseBody.ts +104 -0
  403. package/src/models/QueryPrimaryObjectDataRequest.ts +5 -5
  404. package/src/models/QueryPrimaryObjectDataResponseBody.ts +1 -1
  405. package/src/models/RecommendNextActionsRequest.ts +1 -1
  406. package/src/models/RecommendNextActionsResponseBody.ts +1 -1
  407. package/src/models/RemoveUserGroupMembersRequest.ts +61 -0
  408. package/src/models/RemoveUserGroupMembersResponse.ts +40 -0
  409. package/src/models/RemoveUserGroupMembersResponseBody.ts +84 -0
  410. package/src/models/RemoveUserGroupMembersShrinkRequest.ts +58 -0
  411. package/src/models/RetryDirectoryFailedSourcesRequest.ts +1 -1
  412. package/src/models/RetryDirectoryFailedSourcesResponseBody.ts +2 -2
  413. package/src/models/RetryKnowledgeBaseFailedSourcesRequest.ts +2 -2
  414. package/src/models/RetryKnowledgeBaseFailedSourcesResponseBody.ts +2 -2
  415. package/src/models/SaveGroupOutputFileToGroupResourceRequest.ts +85 -0
  416. package/src/models/SaveGroupOutputFileToGroupResourceResponse.ts +40 -0
  417. package/src/models/SaveGroupOutputFileToGroupResourceResponseBody.ts +134 -0
  418. package/src/models/SaveGroupOutputFileToGroupResourceShrinkRequest.ts +82 -0
  419. package/src/models/SaveGroupOutputFileToPersonalResourceRequest.ts +85 -0
  420. package/src/models/SaveGroupOutputFileToPersonalResourceResponse.ts +40 -0
  421. package/src/models/SaveGroupOutputFileToPersonalResourceResponseBody.ts +134 -0
  422. package/src/models/SaveGroupOutputFileToPersonalResourceShrinkRequest.ts +82 -0
  423. package/src/models/SendAsyncChatMessageRequest.ts +2 -2
  424. package/src/models/SendAsyncChatMessageResponseBody.ts +12 -2
  425. package/src/models/SendAsyncChatMessageShrinkRequest.ts +2 -2
  426. package/src/models/SendChatMessageRequest.ts +2 -2
  427. package/src/models/SendChatMessageShrinkRequest.ts +2 -2
  428. package/src/models/StreamChatMessageRequest.ts +2 -2
  429. package/src/models/StreamChatMessageResponseBody.ts +21 -1
  430. package/src/models/UpdateChatSessionResponseBody.ts +1 -1
  431. package/src/models/UpdateUserGroupRequest.ts +86 -0
  432. package/src/models/UpdateUserGroupResponse.ts +40 -0
  433. package/src/models/UpdateUserGroupResponseBody.ts +64 -0
  434. package/src/models/UploadChatFileAdvanceRequest.ts +13 -13
  435. package/src/models/UploadChatFileRequest.ts +13 -13
  436. package/src/models/UploadChatFileResponseBody.ts +13 -13
  437. package/src/models/model.ts +94 -0
package/dist/client.d.ts CHANGED
@@ -13,6 +13,62 @@ export default class Client extends OpenApi {
13
13
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
14
14
  [key: string]: string;
15
15
  }, endpoint: string): string;
16
+ /**
17
+ * Adds multiple tenant members to a specified user group in a single request.
18
+ *
19
+ * @remarks
20
+ * ## Request description
21
+ * - This operation supports batch addition of members by providing a user group ID and one or more user IDs.
22
+ * - Duplicate entries in the user ID list do not cause errors. The system automatically handles duplicates to ensure each user is added only once.
23
+ * - The caller must have the required permissions to perform this operation.
24
+ * - This operation is applicable to scenarios that require quick team structure management or access control policy adjustments.
25
+ *
26
+ * @param tmpReq - AddUserGroupMembersRequest
27
+ * @param headers - map
28
+ * @param runtime - runtime options for this request RuntimeOptions
29
+ * @returns AddUserGroupMembersResponse
30
+ */
31
+ addUserGroupMembersWithOptions(tmpReq: $_model.AddUserGroupMembersRequest, headers: {
32
+ [key: string]: string;
33
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.AddUserGroupMembersResponse>;
34
+ /**
35
+ * Adds multiple tenant members to a specified user group in a single request.
36
+ *
37
+ * @remarks
38
+ * ## Request description
39
+ * - This operation supports batch addition of members by providing a user group ID and one or more user IDs.
40
+ * - Duplicate entries in the user ID list do not cause errors. The system automatically handles duplicates to ensure each user is added only once.
41
+ * - The caller must have the required permissions to perform this operation.
42
+ * - This operation is applicable to scenarios that require quick team structure management or access control policy adjustments.
43
+ *
44
+ * @param request - AddUserGroupMembersRequest
45
+ * @returns AddUserGroupMembersResponse
46
+ */
47
+ addUserGroupMembers(request: $_model.AddUserGroupMembersRequest): Promise<$_model.AddUserGroupMembersResponse>;
48
+ /**
49
+ * Batch cancels digital employee favorites for specific object types.
50
+ *
51
+ * @remarks
52
+ * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
53
+ *
54
+ * @param tmpReq - BatchRemoveOperatingObjectFavoritesRequest
55
+ * @param headers - map
56
+ * @param runtime - runtime options for this request RuntimeOptions
57
+ * @returns BatchRemoveOperatingObjectFavoritesResponse
58
+ */
59
+ batchRemoveOperatingObjectFavoritesWithOptions(tmpReq: $_model.BatchRemoveOperatingObjectFavoritesRequest, headers: {
60
+ [key: string]: string;
61
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.BatchRemoveOperatingObjectFavoritesResponse>;
62
+ /**
63
+ * Batch cancels digital employee favorites for specific object types.
64
+ *
65
+ * @remarks
66
+ * Idempotently cancels favorites across three independent dimensions: graphName, operatingObjectName, and objectType. The input array accepts 1 to 200 items per request. Each item must be a non-empty string with a maximum length of 128 characters. The server validates and deduplicates items while preserving order. Non-string values, values that exceed the length limit, or arrays that exceed the size limit are rejected. Deletion, per-item status updates, and remaining valid count are completed within a single transaction. To safely cancel all favorites, you must also call ClearOperatingObjectFavorites to clean up historical records, MISSING records, or permission-hidden records that are not visible in the list. Then read back the result to confirm that total is 0.
67
+ *
68
+ * @param request - BatchRemoveOperatingObjectFavoritesRequest
69
+ * @returns BatchRemoveOperatingObjectFavoritesResponse
70
+ */
71
+ batchRemoveOperatingObjectFavorites(request: $_model.BatchRemoveOperatingObjectFavoritesRequest): Promise<$_model.BatchRemoveOperatingObjectFavoritesResponse>;
16
72
  /**
17
73
  * Performs a service health check.
18
74
  *
@@ -31,6 +87,64 @@ export default class Client extends OpenApi {
31
87
  * @returns CheckHealthResponse
32
88
  */
33
89
  checkHealth(request: $_model.CheckHealthRequest): Promise<$_model.CheckHealthResponse>;
90
+ /**
91
+ * Clears all follows of a specific object type for a digital employee.
92
+ *
93
+ * @remarks
94
+ * Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
95
+ *
96
+ * @param request - ClearOperatingObjectFavoritesRequest
97
+ * @param headers - map
98
+ * @param runtime - runtime options for this request RuntimeOptions
99
+ * @returns ClearOperatingObjectFavoritesResponse
100
+ */
101
+ clearOperatingObjectFavoritesWithOptions(request: $_model.ClearOperatingObjectFavoritesRequest, headers: {
102
+ [key: string]: string;
103
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ClearOperatingObjectFavoritesResponse>;
104
+ /**
105
+ * Clears all follows of a specific object type for a digital employee.
106
+ *
107
+ * @remarks
108
+ * Clears all persisted follows for the current calling user across three independent dimensions: graphName, operatingObjectName, and objectType. This includes historical records, MISSING records, and permission-hidden records that are not visible in the list. The operation does not return invisible object IDs and verifies that the remaining physical record count is zero within the same transaction.
109
+ *
110
+ * @param request - ClearOperatingObjectFavoritesRequest
111
+ * @returns ClearOperatingObjectFavoritesResponse
112
+ */
113
+ clearOperatingObjectFavorites(request: $_model.ClearOperatingObjectFavoritesRequest): Promise<$_model.ClearOperatingObjectFavoritesResponse>;
114
+ /**
115
+ * Creates a service notice.
116
+ *
117
+ * @remarks
118
+ * ## Request description
119
+ * Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
120
+ * - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
121
+ * - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
122
+ * - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
123
+ * - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
124
+ *
125
+ * @param tmpReq - CreateAnnouncementRequest
126
+ * @param headers - map
127
+ * @param runtime - runtime options for this request RuntimeOptions
128
+ * @returns CreateAnnouncementResponse
129
+ */
130
+ createAnnouncementWithOptions(tmpReq: $_model.CreateAnnouncementRequest, headers: {
131
+ [key: string]: string;
132
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAnnouncementResponse>;
133
+ /**
134
+ * Creates a service notice.
135
+ *
136
+ * @remarks
137
+ * ## Request description
138
+ * Creates a service notice. The caller must be mapped to a real platform user in the system O&M tenant and must have announcement management permissions.
139
+ * - `priority`: The importance level of the notice. Valid values: URGENT, IMPORTANT, and GENERAL.
140
+ * - `targetTenantIds` / `targetRoleCodes`: Used only when the corresponding target mode is set to SPECIFIED. Pass values as a JSON array.
141
+ * - `effectiveStart` / `effectiveEnd`: ISO 8601 time with time zone.
142
+ * - `publishNow`: If set to true, the notice is published immediately after creation. Otherwise, it is saved as a draft.
143
+ *
144
+ * @param request - CreateAnnouncementRequest
145
+ * @returns CreateAnnouncementResponse
146
+ */
147
+ createAnnouncement(request: $_model.CreateAnnouncementRequest): Promise<$_model.CreateAnnouncementResponse>;
34
148
  /**
35
149
  * Creates a session.
36
150
  *
@@ -117,6 +231,64 @@ export default class Client extends OpenApi {
117
231
  * @returns CreateGroupAliDingChatResponse
118
232
  */
119
233
  createGroupAliDingChat(request: $_model.CreateGroupAliDingChatRequest): Promise<$_model.CreateGroupAliDingChatResponse>;
234
+ /**
235
+ * Creates knowledge from a standard DingTalk group chat for a group.
236
+ *
237
+ * @remarks
238
+ * ## Request description
239
+ * - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
240
+ * - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
241
+ * - groupId, chatId, and historyStartTime are required.
242
+ * - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
243
+ * - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
244
+ *
245
+ * @param tmpReq - CreateGroupDingtalkChatRequest
246
+ * @param headers - map
247
+ * @param runtime - runtime options for this request RuntimeOptions
248
+ * @returns CreateGroupDingtalkChatResponse
249
+ */
250
+ createGroupDingtalkChatWithOptions(tmpReq: $_model.CreateGroupDingtalkChatRequest, headers: {
251
+ [key: string]: string;
252
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupDingtalkChatResponse>;
253
+ /**
254
+ * Creates knowledge from a standard DingTalk group chat for a group.
255
+ *
256
+ * @remarks
257
+ * ## Request description
258
+ * - Connects a specified standard DingTalk group chat to the group knowledge base that the caller has joined.
259
+ * - The resource type is fixed to DINGTALK, the scope is fixed to GROUP, and the owning user is parsed from the gateway authentication identity.
260
+ * - groupId, chatId, and historyStartTime are required.
261
+ * - updateFrequency can be configured through preset or a five-segment cron expression for subsequent synchronization frequency.
262
+ * - The server verifies the caller\\"s group member identity and target group directory permissions. The same group chat can be created as different Sources.
263
+ *
264
+ * @param request - CreateGroupDingtalkChatRequest
265
+ * @returns CreateGroupDingtalkChatResponse
266
+ */
267
+ createGroupDingtalkChat(request: $_model.CreateGroupDingtalkChatRequest): Promise<$_model.CreateGroupDingtalkChatResponse>;
268
+ /**
269
+ * Creates a group knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
270
+ *
271
+ * @remarks
272
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + GROUP`. `groupId` is required. If `directoryId` is omitted, the root directory of the group knowledge base is used. Group membership and directory write permissions are verified by the backend.
273
+ *
274
+ * @param tmpReq - CreateGroupFeishuDocRequest
275
+ * @param headers - map
276
+ * @param runtime - runtime options for this request RuntimeOptions
277
+ * @returns CreateGroupFeishuDocResponse
278
+ */
279
+ createGroupFeishuDocWithOptions(tmpReq: $_model.CreateGroupFeishuDocRequest, headers: {
280
+ [key: string]: string;
281
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGroupFeishuDocResponse>;
282
+ /**
283
+ * Creates a group knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
284
+ *
285
+ * @remarks
286
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + GROUP`. `groupId` is required. If `directoryId` is omitted, the root directory of the group knowledge base is used. Group membership and directory write permissions are verified by the backend.
287
+ *
288
+ * @param request - CreateGroupFeishuDocRequest
289
+ * @returns CreateGroupFeishuDocResponse
290
+ */
291
+ createGroupFeishuDoc(request: $_model.CreateGroupFeishuDocRequest): Promise<$_model.CreateGroupFeishuDocResponse>;
120
292
  /**
121
293
  * Uploads an AliDing online document to the enterprise knowledge base. Management permissions are required.
122
294
  *
@@ -189,6 +361,30 @@ export default class Client extends OpenApi {
189
361
  * @returns CreateKnowledgeBaseDirectoryResponse
190
362
  */
191
363
  createKnowledgeBaseDirectory(request: $_model.CreateKnowledgeBaseDirectoryRequest): Promise<$_model.CreateKnowledgeBaseDirectoryResponse>;
364
+ /**
365
+ * Creates a single Lark online document in the enterprise knowledge base using the current user\\"s Lark authorization.
366
+ *
367
+ * @remarks
368
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + TENANT`. `directoryId` is required. The invoker must have the enterprise knowledge base feature permission and knowledge base management permission on the target knowledge base.
369
+ *
370
+ * @param tmpReq - CreateKnowledgeBaseFeishuDocRequest
371
+ * @param headers - map
372
+ * @param runtime - runtime options for this request RuntimeOptions
373
+ * @returns CreateKnowledgeBaseFeishuDocResponse
374
+ */
375
+ createKnowledgeBaseFeishuDocWithOptions(tmpReq: $_model.CreateKnowledgeBaseFeishuDocRequest, headers: {
376
+ [key: string]: string;
377
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateKnowledgeBaseFeishuDocResponse>;
378
+ /**
379
+ * Creates a single Lark online document in the enterprise knowledge base using the current user\\"s Lark authorization.
380
+ *
381
+ * @remarks
382
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + TENANT`. `directoryId` is required. The invoker must have the enterprise knowledge base feature permission and knowledge base management permission on the target knowledge base.
383
+ *
384
+ * @param request - CreateKnowledgeBaseFeishuDocRequest
385
+ * @returns CreateKnowledgeBaseFeishuDocResponse
386
+ */
387
+ createKnowledgeBaseFeishuDoc(request: $_model.CreateKnowledgeBaseFeishuDocRequest): Promise<$_model.CreateKnowledgeBaseFeishuDocResponse>;
192
388
  /**
193
389
  * Uploads a specified file to the enterprise knowledge base. Management permissions are required.
194
390
  *
@@ -409,6 +605,40 @@ export default class Client extends OpenApi {
409
605
  * @returns CreatePersonalAlidingKnowledgeBaseResponse
410
606
  */
411
607
  createPersonalAlidingKnowledgeBase(request: $_model.CreatePersonalAlidingKnowledgeBaseRequest): Promise<$_model.CreatePersonalAlidingKnowledgeBaseResponse>;
608
+ /**
609
+ * Creates a personal DingTalk group chat knowledge source.
610
+ *
611
+ * @remarks
612
+ * ## Operation description
613
+ * - Connects a specified DingTalk group chat to the personal knowledge base of the current user.
614
+ * - The resource type is fixed to DINGTALK, the scope is fixed to PERSONAL, and the owning user is parsed from the gateway authentication identity.
615
+ * - historyStartTime is required and supports YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format.
616
+ * - updateFrequency can be configured with a preset or a five-field cron expression for subsequent synchronization frequency.
617
+ * - The same group chat can be created as different sources. Each source is isolated by sourceId.
618
+ *
619
+ * @param tmpReq - CreatePersonalDingtalkChatRequest
620
+ * @param headers - map
621
+ * @param runtime - runtime options for this request RuntimeOptions
622
+ * @returns CreatePersonalDingtalkChatResponse
623
+ */
624
+ createPersonalDingtalkChatWithOptions(tmpReq: $_model.CreatePersonalDingtalkChatRequest, headers: {
625
+ [key: string]: string;
626
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalDingtalkChatResponse>;
627
+ /**
628
+ * Creates a personal DingTalk group chat knowledge source.
629
+ *
630
+ * @remarks
631
+ * ## Operation description
632
+ * - Connects a specified DingTalk group chat to the personal knowledge base of the current user.
633
+ * - The resource type is fixed to DINGTALK, the scope is fixed to PERSONAL, and the owning user is parsed from the gateway authentication identity.
634
+ * - historyStartTime is required and supports YYYY-MM-DD or YYYY-MM-DD HH:MM:SS format.
635
+ * - updateFrequency can be configured with a preset or a five-field cron expression for subsequent synchronization frequency.
636
+ * - The same group chat can be created as different sources. Each source is isolated by sourceId.
637
+ *
638
+ * @param request - CreatePersonalDingtalkChatRequest
639
+ * @returns CreatePersonalDingtalkChatResponse
640
+ */
641
+ createPersonalDingtalkChat(request: $_model.CreatePersonalDingtalkChatRequest): Promise<$_model.CreatePersonalDingtalkChatResponse>;
412
642
  /**
413
643
  * Uploads a DingTalk meeting to the personal resource library of the current digital employee.
414
644
  *
@@ -489,9 +719,9 @@ export default class Client extends OpenApi {
489
719
  * @remarks
490
720
  * ## Request description
491
721
  * - This API is used to create a personal folder (category) under "My Resources".
492
- * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital human as the parent folder.
493
- * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital human.
494
- * - `tenant_id` and `user_id` are derived from the authentication identity only. These fields are ignored if included in the request body.
722
+ * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
723
+ * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
724
+ * - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
495
725
  *
496
726
  * @param request - CreatePersonalDirectoryRequest
497
727
  * @param headers - map
@@ -507,9 +737,9 @@ export default class Client extends OpenApi {
507
737
  * @remarks
508
738
  * ## Request description
509
739
  * - This API is used to create a personal folder (category) under "My Resources".
510
- * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital human as the parent folder.
511
- * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital human.
512
- * - `tenant_id` and `user_id` are derived from the authentication identity only. These fields are ignored if included in the request body.
740
+ * - If `parentDirectoryId` is not specified, the system automatically uses or creates the default root folder of the current digital employee as the parent folder.
741
+ * - If `parentDirectoryId` is specified, it must be an existing personal folder of the current user under the current digital employee.
742
+ * - `tenant_id` and `user_id` are derived from the authenticated identity only. These fields are ignored if passed in the request body.
513
743
  *
514
744
  * @param request - CreatePersonalDirectoryRequest
515
745
  * @returns CreatePersonalDirectoryResponse
@@ -553,6 +783,30 @@ export default class Client extends OpenApi {
553
783
  * @returns CreatePersonalFeishuChatResponse
554
784
  */
555
785
  createPersonalFeishuChat(request: $_model.CreatePersonalFeishuChatRequest): Promise<$_model.CreatePersonalFeishuChatResponse>;
786
+ /**
787
+ * Creates a personal knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
788
+ *
789
+ * @remarks
790
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + PERSONAL`. The Lark connector user is determined by the trusted OpenAPI identity. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
791
+ *
792
+ * @param tmpReq - CreatePersonalFeishuDocRequest
793
+ * @param headers - map
794
+ * @param runtime - runtime options for this request RuntimeOptions
795
+ * @returns CreatePersonalFeishuDocResponse
796
+ */
797
+ createPersonalFeishuDocWithOptions(tmpReq: $_model.CreatePersonalFeishuDocRequest, headers: {
798
+ [key: string]: string;
799
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreatePersonalFeishuDocResponse>;
800
+ /**
801
+ * Creates a personal knowledge resource from a single Lark online document using the current user\\"s Lark authorization.
802
+ *
803
+ * @remarks
804
+ * ## Request description\\n\\nFixed as `ONLINE_DOC + FEISHU + PERSONAL`. The Lark connector user is determined by the trusted OpenAPI identity. If `directoryId` is omitted, the current user\\"s default personal root directory is used.
805
+ *
806
+ * @param request - CreatePersonalFeishuDocRequest
807
+ * @returns CreatePersonalFeishuDocResponse
808
+ */
809
+ createPersonalFeishuDoc(request: $_model.CreatePersonalFeishuDocRequest): Promise<$_model.CreatePersonalFeishuDocResponse>;
556
810
  /**
557
811
  * Uploads a Lark Minutes meeting file to the personal resource library of the current digital employee.
558
812
  *
@@ -750,11 +1004,11 @@ export default class Client extends OpenApi {
750
1004
  *
751
1005
  * @remarks
752
1006
  * ## Request description
753
- * - This API is used to create a new enterprise knowledge base directory under a specified tenant.
754
- * - You can specify the parent directory of the new directory by setting the `parentId` parameter. If this parameter is not specified, the directory is created as a root directory by default.
755
- * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent directory.
1007
+ * - This API is used to create a new enterprise knowledge base folder under a specified tenant.
1008
+ * - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
1009
+ * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
756
1010
  * - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
757
- * - After the directory is created, the related information of the new directory is returned, such as the directory ID and name.
1011
+ * - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
758
1012
  *
759
1013
  * @param request - CreateTenantDirectoryRequest
760
1014
  * @param headers - map
@@ -769,11 +1023,11 @@ export default class Client extends OpenApi {
769
1023
  *
770
1024
  * @remarks
771
1025
  * ## Request description
772
- * - This API is used to create a new enterprise knowledge base directory under a specified tenant.
773
- * - You can specify the parent directory of the new directory by setting the `parentId` parameter. If this parameter is not specified, the directory is created as a root directory by default.
774
- * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent directory.
1026
+ * - This API is used to create a new enterprise knowledge base folder under a specified tenant.
1027
+ * - You can set the `parentId` parameter to specify the parent folder of the new folder. If this parameter is not specified, the folder is created as a root folder by default.
1028
+ * - The `path` parameter is optional. If this parameter is not specified, the system automatically calculates the path based on the parent folder.
775
1029
  * - Calling this operation requires the corresponding permissions. Multiple authentication methods are supported, including AK, BearerToken, and APP authentication.
776
- * - After the directory is created, the related information of the new directory is returned, such as the directory ID and name.
1030
+ * - After the folder is created, the related information about the new folder is returned, such as the folder ID and name.
777
1031
  *
778
1032
  * @param request - CreateTenantDirectoryRequest
779
1033
  * @returns CreateTenantDirectoryResponse
@@ -785,12 +1039,12 @@ export default class Client extends OpenApi {
785
1039
  * @remarks
786
1040
  * Creates a user by using OpenAPI.
787
1041
  * Business orchestration:
788
- * 1. Parses roleCodes → role_ids (validates against system role enumerations).
1042
+ * 1. Parses roleCodes into role_ids (validates against system role enumerations).
789
1043
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
790
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed in as an RSA ciphertext by the caller).
1044
+ * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
791
1045
  * 4. Returns the creation result (including the isNewUser flag).
792
1046
  * Error codes:
793
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
1047
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
794
1048
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
795
1049
  * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
796
1050
  *
@@ -808,12 +1062,12 @@ export default class Client extends OpenApi {
808
1062
  * @remarks
809
1063
  * Creates a user by using OpenAPI.
810
1064
  * Business orchestration:
811
- * 1. Parses roleCodes → role_ids (validates against system role enumerations).
1065
+ * 1. Parses roleCodes into role_ids (validates against system role enumerations).
812
1066
  * 2. Checks whether the user already exists (used to return the isNewUser flag).
813
- * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed in as an RSA ciphertext by the caller).
1067
+ * 3. Calls UserManagementService.add_tenant_member to create or add the user (the password must be passed by the caller as an RSA ciphertext).
814
1068
  * 4. Returns the creation result (including the isNewUser flag).
815
1069
  * Error codes:
816
- * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to resume the user.
1070
+ * - ERR.User.DeactivatedInTenant: The user is deactivated in the tenant. Use updateUser to restore the user.
817
1071
  * - ERR.User.AlreadyInTenant: The user is already an active member of the tenant.
818
1072
  * - ERR.User.DisplayNameDuplicateInTenant: The display name is duplicate within the tenant.
819
1073
  *
@@ -821,6 +1075,70 @@ export default class Client extends OpenApi {
821
1075
  * @returns CreateUserResponse
822
1076
  */
823
1077
  createUser(request: $_model.CreateUserRequest): Promise<$_model.CreateUserResponse>;
1078
+ /**
1079
+ * Creates a user group under the tenant to which the authenticated identity belongs.
1080
+ *
1081
+ * @remarks
1082
+ * WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
1083
+ *
1084
+ * @param request - CreateUserGroupRequest
1085
+ * @param headers - map
1086
+ * @param runtime - runtime options for this request RuntimeOptions
1087
+ * @returns CreateUserGroupResponse
1088
+ */
1089
+ createUserGroupWithOptions(request: $_model.CreateUserGroupRequest, headers: {
1090
+ [key: string]: string;
1091
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserGroupResponse>;
1092
+ /**
1093
+ * Creates a user group under the tenant to which the authenticated identity belongs.
1094
+ *
1095
+ * @remarks
1096
+ * WinNexo user management OpenAPI: Creates a user group. The tenant identity is derived from the authentication context.
1097
+ *
1098
+ * @param request - CreateUserGroupRequest
1099
+ * @returns CreateUserGroupResponse
1100
+ */
1101
+ createUserGroup(request: $_model.CreateUserGroupRequest): Promise<$_model.CreateUserGroupResponse>;
1102
+ /**
1103
+ * Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
1104
+ *
1105
+ * @remarks
1106
+ * ## Request description
1107
+ * - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
1108
+ * - The `accountId` parameter serves as the logon account for the user and must be unique.
1109
+ * - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
1110
+ * - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
1111
+ * - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
1112
+ * - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
1113
+ * - This operation supports calls over HTTPS and requires the request body in JSON format.
1114
+ * - For security authentication, AK, BearerToken, and APP are supported.
1115
+ *
1116
+ * @param tmpReq - CreateUserWithGroupsRequest
1117
+ * @param headers - map
1118
+ * @param runtime - runtime options for this request RuntimeOptions
1119
+ * @returns CreateUserWithGroupsResponse
1120
+ */
1121
+ createUserWithGroupsWithOptions(tmpReq: $_model.CreateUserWithGroupsRequest, headers: {
1122
+ [key: string]: string;
1123
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserWithGroupsResponse>;
1124
+ /**
1125
+ * Creates a WINNEXO user in the current tenant and assigns roles and user groups to the user.
1126
+ *
1127
+ * @remarks
1128
+ * ## Request description
1129
+ * - This operation creates a WINNEXO user under a specified tenant and optionally assigns system roles and user groups to the user.
1130
+ * - The `accountId` parameter serves as the logon account for the user and must be unique.
1131
+ * - The `displayName` parameter specifies the display name of the user, which must also be unique within the tenant and cannot exceed 100 characters in length.
1132
+ * - The optional `roleCodes` parameter specifies a list of roles for the user. By default, the `APPLICATION_USER` role is assigned.
1133
+ * - The `userGroupIds` parameter allows you to add up to 100 user group IDs to the new user. Make sure that all specified user groups belong to the same tenant.
1134
+ * - The password must be encrypted by using the RSA-OAEP-SHA256 algorithm and submitted in Base64 format.
1135
+ * - This operation supports calls over HTTPS and requires the request body in JSON format.
1136
+ * - For security authentication, AK, BearerToken, and APP are supported.
1137
+ *
1138
+ * @param request - CreateUserWithGroupsRequest
1139
+ * @returns CreateUserWithGroupsResponse
1140
+ */
1141
+ createUserWithGroups(request: $_model.CreateUserWithGroupsRequest): Promise<$_model.CreateUserWithGroupsResponse>;
824
1142
  /**
825
1143
  * Deletes a session.
826
1144
  *
@@ -829,8 +1147,8 @@ export default class Client extends OpenApi {
829
1147
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
830
1148
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
831
1149
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
832
- * - If the target directory ID (`directoryId`) is not specified, the file is automatically attached to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the personal directory of the caller.
833
- * - Security authentication is supported through multiple methods (AK, BearerToken, APP).
1150
+ * - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
1151
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
834
1152
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
835
1153
  *
836
1154
  * @param request - DeleteChatSessionRequest
@@ -849,8 +1167,8 @@ export default class Client extends OpenApi {
849
1167
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
850
1168
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
851
1169
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
852
- * - If the target directory ID (`directoryId`) is not specified, the file is automatically attached to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the personal directory of the caller.
853
- * - Security authentication is supported through multiple methods (AK, BearerToken, APP).
1170
+ * - If the target directory ID (`directoryId`) is not specified, the file is automatically bound to the default root directory of the current digital employee. If specified, ensure that the directory belongs to the caller\\"s personal directory.
1171
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported for security authentication.
854
1172
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
855
1173
  *
856
1174
  * @param request - DeleteChatSessionRequest
@@ -1004,7 +1322,7 @@ export default class Client extends OpenApi {
1004
1322
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
1005
1323
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
1006
1324
  * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1007
- * - Security verification is supported through multiple authenticate methods (AK, BearerToken, APP).
1325
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
1008
1326
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
1009
1327
  *
1010
1328
  * @param request - GetChatSessionRequest
@@ -1024,7 +1342,7 @@ export default class Client extends OpenApi {
1024
1342
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
1025
1343
  * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
1026
1344
  * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
1027
- * - Security verification is supported through multiple authenticate methods (AK, BearerToken, APP).
1345
+ * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
1028
1346
  * - The operation type is write (`write`), and operation logs are recorded for subsequent auditing.
1029
1347
  *
1030
1348
  * @param request - GetChatSessionRequest
@@ -1032,7 +1350,7 @@ export default class Client extends OpenApi {
1032
1350
  */
1033
1351
  getChatSession(request: $_model.GetChatSessionRequest): Promise<$_model.GetChatSessionResponse>;
1034
1352
  /**
1035
- * Retrieves the active Graph Schema that is readable by the current user.
1353
+ * Retrieves the active Graph Schema readable by the current user.
1036
1354
  *
1037
1355
  * @remarks
1038
1356
  * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
@@ -1046,7 +1364,7 @@ export default class Client extends OpenApi {
1046
1364
  [key: string]: string;
1047
1365
  }, runtime: $dara.RuntimeOptions): Promise<$_model.GetGraphSchemaResponse>;
1048
1366
  /**
1049
- * Retrieves the active Graph Schema that is readable by the current user.
1367
+ * Retrieves the active Graph Schema readable by the current user.
1050
1368
  *
1051
1369
  * @remarks
1052
1370
  * Reads the active schema_content and securely trims it based on the token user\\"s semantic resource READ permissions.
@@ -1203,16 +1521,40 @@ export default class Client extends OpenApi {
1203
1521
  * @returns GetScheduledTaskExecutionRecordsResponse
1204
1522
  */
1205
1523
  getScheduledTaskExecutionRecords(request: $_model.GetScheduledTaskExecutionRecordsRequest): Promise<$_model.GetScheduledTaskExecutionRecordsResponse>;
1524
+ /**
1525
+ * Retrieves the push configuration options for scheduled tasks.
1526
+ *
1527
+ * @remarks
1528
+ * Queries the channels and methods available to the current user for scheduled task push notifications.
1529
+ *
1530
+ * @param request - GetScheduledTaskPushOptionsRequest
1531
+ * @param headers - map
1532
+ * @param runtime - runtime options for this request RuntimeOptions
1533
+ * @returns GetScheduledTaskPushOptionsResponse
1534
+ */
1535
+ getScheduledTaskPushOptionsWithOptions(request: $_model.GetScheduledTaskPushOptionsRequest, headers: {
1536
+ [key: string]: string;
1537
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledTaskPushOptionsResponse>;
1538
+ /**
1539
+ * Retrieves the push configuration options for scheduled tasks.
1540
+ *
1541
+ * @remarks
1542
+ * Queries the channels and methods available to the current user for scheduled task push notifications.
1543
+ *
1544
+ * @param request - GetScheduledTaskPushOptionsRequest
1545
+ * @returns GetScheduledTaskPushOptionsResponse
1546
+ */
1547
+ getScheduledTaskPushOptions(request: $_model.GetScheduledTaskPushOptionsRequest): Promise<$_model.GetScheduledTaskPushOptionsResponse>;
1206
1548
  /**
1207
1549
  * Retrieves the details of scheduled task understanding.
1208
1550
  *
1209
1551
  * @remarks
1210
- * ## Request description
1552
+ * ## Operation description
1211
1553
  * - This operation uploads a file to the enterprise knowledge base.
1212
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
1213
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1214
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
1215
- * - 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.
1554
+ * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1555
+ * - The OSS persistent address (`filePath`) of the file must be provided during upload.
1556
+ * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1557
+ * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
1216
1558
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1217
1559
  * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1218
1560
  *
@@ -1230,12 +1572,12 @@ export default class Client extends OpenApi {
1230
1572
  * Retrieves the details of scheduled task understanding.
1231
1573
  *
1232
1574
  * @remarks
1233
- * ## Request description
1575
+ * ## Operation description
1234
1576
  * - This operation uploads a file to the enterprise knowledge base.
1235
- * - You must have the `DEVELOPMENT_KB_MANAGE` permission to call this API operation.
1236
- * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1237
- * - Optional parameters include the public access URL of the file and the original file name to enhance the completeness of file information.
1238
- * - 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.
1577
+ * - The `DEVELOPMENT_KB_MANAGE` feature permission is required to call this API.
1578
+ * - The OSS persistent address (`filePath`) of the file must be provided during upload.
1579
+ * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1580
+ * - If `directoryId` is specified, the file is placed in the corresponding enterprise knowledge base directory. Otherwise, the file is bound to the default root directory of the current digital employee.
1239
1581
  * - You can add tags to the resource by using `sourceTags` for subsequent management and retrieval.
1240
1582
  * - This operation initiates a billing item (UNSTRUCTURED_PARSE). Ensure that your account balance is sufficient.
1241
1583
  *
@@ -1379,6 +1721,46 @@ export default class Client extends OpenApi {
1379
1721
  * @returns GetSourceUploadSignatureResponse
1380
1722
  */
1381
1723
  getSourceUploadSignature(request: $_model.GetSourceUploadSignatureRequest): Promise<$_model.GetSourceUploadSignatureResponse>;
1724
+ /**
1725
+ * Retrieves an API token and ensures that it is active.
1726
+ *
1727
+ * @remarks
1728
+ * Retrieves the INSTANCE token for a user and ensures that it is in an active state (idempotent).
1729
+ * Business logic:
1730
+ * 1. Obtains user_id from identity (caller_type=user is enforced).
1731
+ * 2. Constructs an AuthContext and delegates permission verification to UserTokenAuthorizedService.
1732
+ * 3. Calls ensure_active_token:
1733
+ * - If an ACTIVE token exists, returns the token in plaintext as-is (no reset, no key rotation).
1734
+ * - If an INACTIVE token exists, automatically re-enables it and returns the plaintext.
1735
+ * - If no token exists (or only expired RESET records exist), creates a new token and returns the plaintext.
1736
+ * Difference from EnableToken: When an ACTIVE token already exists, EnableToken returns only the masked value. This operation guarantees that a usable plaintext credential is returned without destroying the existing token.
1737
+ *
1738
+ * @param request - GetTokenEnsureEnableRequest
1739
+ * @param headers - map
1740
+ * @param runtime - runtime options for this request RuntimeOptions
1741
+ * @returns GetTokenEnsureEnableResponse
1742
+ */
1743
+ getTokenEnsureEnableWithOptions(request: $_model.GetTokenEnsureEnableRequest, headers: {
1744
+ [key: string]: string;
1745
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetTokenEnsureEnableResponse>;
1746
+ /**
1747
+ * Retrieves an API token and ensures that it is active.
1748
+ *
1749
+ * @remarks
1750
+ * Retrieves the INSTANCE token for a user and ensures that it is in an active state (idempotent).
1751
+ * Business logic:
1752
+ * 1. Obtains user_id from identity (caller_type=user is enforced).
1753
+ * 2. Constructs an AuthContext and delegates permission verification to UserTokenAuthorizedService.
1754
+ * 3. Calls ensure_active_token:
1755
+ * - If an ACTIVE token exists, returns the token in plaintext as-is (no reset, no key rotation).
1756
+ * - If an INACTIVE token exists, automatically re-enables it and returns the plaintext.
1757
+ * - If no token exists (or only expired RESET records exist), creates a new token and returns the plaintext.
1758
+ * Difference from EnableToken: When an ACTIVE token already exists, EnableToken returns only the masked value. This operation guarantees that a usable plaintext credential is returned without destroying the existing token.
1759
+ *
1760
+ * @param request - GetTokenEnsureEnableRequest
1761
+ * @returns GetTokenEnsureEnableResponse
1762
+ */
1763
+ getTokenEnsureEnable(request: $_model.GetTokenEnsureEnableRequest): Promise<$_model.GetTokenEnsureEnableResponse>;
1382
1764
  /**
1383
1765
  * Queries the token status of a user.
1384
1766
  *
@@ -1489,6 +1871,42 @@ export default class Client extends OpenApi {
1489
1871
  * @returns GetUserCreditUsageResponse
1490
1872
  */
1491
1873
  getUserCreditUsage(request: $_model.GetUserCreditUsageRequest): Promise<$_model.GetUserCreditUsageResponse>;
1874
+ /**
1875
+ * Queries the details of a specified user group, including its parent group, child groups, and members.
1876
+ *
1877
+ * @remarks
1878
+ * ## Operation description
1879
+ * - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
1880
+ * - `userGroupId` is a required parameter that must be provided in the request body.
1881
+ * - `tenantId` is an optional parameter that can be passed through the query string.
1882
+ * - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
1883
+ * - The content type for both requests and responses is `application/json`.
1884
+ * - Ensure that you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
1885
+ *
1886
+ * @param request - GetUserGroupRequest
1887
+ * @param headers - map
1888
+ * @param runtime - runtime options for this request RuntimeOptions
1889
+ * @returns GetUserGroupResponse
1890
+ */
1891
+ getUserGroupWithOptions(request: $_model.GetUserGroupRequest, headers: {
1892
+ [key: string]: string;
1893
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserGroupResponse>;
1894
+ /**
1895
+ * Queries the details of a specified user group, including its parent group, child groups, and members.
1896
+ *
1897
+ * @remarks
1898
+ * ## Operation description
1899
+ * - This operation retrieves the details of a specified user group, including the basic information of the user group, parent user group information, direct child user group list, and direct member list.
1900
+ * - `userGroupId` is a required parameter that must be provided in the request body.
1901
+ * - `tenantId` is an optional parameter that can be passed through the query string.
1902
+ * - The operation supports multiple authentication methods, including AK, BearerToken, and APP authentication.
1903
+ * - The content type for both requests and responses is `application/json`.
1904
+ * - Ensure that you have the required permissions (such as `winnexo:GetUserGroup`) before calling this operation.
1905
+ *
1906
+ * @param request - GetUserGroupRequest
1907
+ * @returns GetUserGroupResponse
1908
+ */
1909
+ getUserGroup(request: $_model.GetUserGroupRequest): Promise<$_model.GetUserGroupResponse>;
1492
1910
  /**
1493
1911
  * Retrieves the complete information of the authenticated user through OpenAPI, including basic information and tenant list.
1494
1912
  *
@@ -1561,6 +1979,32 @@ export default class Client extends OpenApi {
1561
1979
  * @returns GrantAgentUsersResponse
1562
1980
  */
1563
1981
  grantAgentUsers(request: $_model.GrantAgentUsersRequest): Promise<$_model.GrantAgentUsersResponse>;
1982
+ /**
1983
+ * Queries currently effective service notices.
1984
+ *
1985
+ * @remarks
1986
+ * ## Operation description
1987
+ * Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant who has the permission to view announcements.
1988
+ *
1989
+ * @param request - ListActiveAnnouncementsRequest
1990
+ * @param headers - map
1991
+ * @param runtime - runtime options for this request RuntimeOptions
1992
+ * @returns ListActiveAnnouncementsResponse
1993
+ */
1994
+ listActiveAnnouncementsWithOptions(request: $_model.ListActiveAnnouncementsRequest, headers: {
1995
+ [key: string]: string;
1996
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListActiveAnnouncementsResponse>;
1997
+ /**
1998
+ * Queries currently effective service notices.
1999
+ *
2000
+ * @remarks
2001
+ * ## Operation description
2002
+ * Performs a paging query for published platform announcements that are effective within the current database time window. The caller must be a real user in the system O&M tenant who has the permission to view announcements.
2003
+ *
2004
+ * @param request - ListActiveAnnouncementsRequest
2005
+ * @returns ListActiveAnnouncementsResponse
2006
+ */
2007
+ listActiveAnnouncements(request: $_model.ListActiveAnnouncementsRequest): Promise<$_model.ListActiveAnnouncementsResponse>;
1564
2008
  /**
1565
2009
  * Queries or drills down into the enterprise knowledge base list of a tenant.
1566
2010
  *
@@ -1743,12 +2187,12 @@ export default class Client extends OpenApi {
1743
2187
  * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
1744
2188
  *
1745
2189
  * @remarks
1746
- * ## Operation description
2190
+ * ## Request description
1747
2191
  * - This operation queries the bill list based on specified conditions.
1748
2192
  * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
1749
2193
  * - Returns bill data in pages. The default page size is 20 records.
1750
2194
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
1751
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required in the request.
2195
+ * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
1752
2196
  *
1753
2197
  * @param request - ListBillingRequest
1754
2198
  * @param headers - map
@@ -1762,12 +2206,12 @@ export default class Client extends OpenApi {
1762
2206
  * Queries and filters the bill list through OpenAPI with support for multiple filter conditions.
1763
2207
  *
1764
2208
  * @remarks
1765
- * ## Operation description
2209
+ * ## Request description
1766
2210
  * - This operation queries the bill list based on specified conditions.
1767
2211
  * - Supports filtering by tenant, user, operation type, status, time range, business source, and other conditions.
1768
2212
  * - Returns bill data in pages. The default page size is 20 records.
1769
2213
  * - You can choose whether to filter out bills with zero credit consumption. By default, such bills are filtered out.
1770
- * - Authentication information (such as AK, BearerToken, or APP authentication) is required in the request.
2214
+ * - Authentication information (such as AK, BearerToken, or APP authentication) is required for the request.
1771
2215
  *
1772
2216
  * @param request - ListBillingRequest
1773
2217
  * @returns ListBillingResponse
@@ -1866,17 +2310,41 @@ export default class Client extends OpenApi {
1866
2310
  */
1867
2311
  listKnowledgeBaseDirectories(request: $_model.ListKnowledgeBaseDirectoriesRequest): Promise<$_model.ListKnowledgeBaseDirectoriesResponse>;
1868
2312
  /**
1869
- * Queries the output list of the current user with support for conditional filtering and pagination.
2313
+ * Queries the precise object type follows of a digital employee by page.
2314
+ *
2315
+ * @remarks
2316
+ * Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
2317
+ *
2318
+ * @param request - ListOperatingObjectFavoritesRequest
2319
+ * @param headers - map
2320
+ * @param runtime - runtime options for this request RuntimeOptions
2321
+ * @returns ListOperatingObjectFavoritesResponse
2322
+ */
2323
+ listOperatingObjectFavoritesWithOptions(request: $_model.ListOperatingObjectFavoritesRequest, headers: {
2324
+ [key: string]: string;
2325
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListOperatingObjectFavoritesResponse>;
2326
+ /**
2327
+ * Queries the precise object type follows of a digital employee by page.
2328
+ *
2329
+ * @remarks
2330
+ * Queries follows by three independent dimensions: graphName, operatingObjectName, and objectType. Supports primary objects and explicit first-level associated objects. Uses opaque cursor pagination and is not limited by the 1000-item display window of the follow panel.
2331
+ *
2332
+ * @param request - ListOperatingObjectFavoritesRequest
2333
+ * @returns ListOperatingObjectFavoritesResponse
2334
+ */
2335
+ listOperatingObjectFavorites(request: $_model.ListOperatingObjectFavoritesRequest): Promise<$_model.ListOperatingObjectFavoritesResponse>;
2336
+ /**
2337
+ * Queries the output list of the current user, with support for conditional filtering and pagination.
1870
2338
  *
1871
2339
  * @remarks
1872
2340
  * ## Operation description
1873
- * - This API operation queries the output list of the current logon user.
1874
- * - `tenantId` is a common parameter. If this parameter is not specified, the default tenant of the caller is used.
1875
- * - You can filter results by using parameters such as `operatingObjectName`, `itemType`, and `keyword`.
1876
- * - Set `sharedOnly` to `true` to display only shared outputs.
1877
- * - Pagination is controlled by `page` (page number) and `pageSize` (number of entries per page). By default, the first page is returned with 20 records per page.
2341
+ * - This API operation queries the output list of the current logged-in user.
2342
+ * - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
2343
+ * - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
2344
+ * - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
2345
+ * - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, results start from page 1 with 20 records per page.
1878
2346
  * - Results are sorted by update time in descending order by default.
1879
- * - The `tenant_id` or `user_id` values passed in the request body are ignored. This information is obtained only from the authenticated identity.
2347
+ * - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
1880
2348
  *
1881
2349
  * @param request - ListOutputFilesRequest
1882
2350
  * @param headers - map
@@ -1887,17 +2355,17 @@ export default class Client extends OpenApi {
1887
2355
  [key: string]: string;
1888
2356
  }, runtime: $dara.RuntimeOptions): Promise<$_model.ListOutputFilesResponse>;
1889
2357
  /**
1890
- * Queries the output list of the current user with support for conditional filtering and pagination.
2358
+ * Queries the output list of the current user, with support for conditional filtering and pagination.
1891
2359
  *
1892
2360
  * @remarks
1893
2361
  * ## Operation description
1894
- * - This API operation queries the output list of the current logon user.
1895
- * - `tenantId` is a common parameter. If this parameter is not specified, the default tenant of the caller is used.
1896
- * - You can filter results by using parameters such as `operatingObjectName`, `itemType`, and `keyword`.
1897
- * - Set `sharedOnly` to `true` to display only shared outputs.
1898
- * - Pagination is controlled by `page` (page number) and `pageSize` (number of entries per page). By default, the first page is returned with 20 records per page.
2362
+ * - This API operation queries the output list of the current logged-in user.
2363
+ * - `tenantId` is a common parameter. If not specified, the default tenant of the caller is used.
2364
+ * - Supports filtering by parameters such as `operatingObjectName`, `itemType`, and `keyword`.
2365
+ * - Set `sharedOnly` to `true` to display only outputs with sharing enabled.
2366
+ * - Pagination is controlled by `page` (page number) and `pageSize` (number of items per page). By default, results start from page 1 with 20 records per page.
1899
2367
  * - Results are sorted by update time in descending order by default.
1900
- * - The `tenant_id` or `user_id` values passed in the request body are ignored. This information is obtained only from the authenticated identity.
2368
+ * - The `tenant_id` or `user_id` passed in the request body by the caller is ignored. This information is derived only from the authenticated identity.
1901
2369
  *
1902
2370
  * @param request - ListOutputFilesRequest
1903
2371
  * @returns ListOutputFilesResponse
@@ -1981,7 +2449,7 @@ export default class Client extends OpenApi {
1981
2449
  * @remarks
1982
2450
  * ## Operation description
1983
2451
  * - This operation uploads a file to an enterprise knowledge base.
1984
- * - The `DEVELOPMENT_KB_MANAGE` permission is required to call this API.
2452
+ * - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
1985
2453
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
1986
2454
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
1987
2455
  * - 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.
@@ -2002,7 +2470,7 @@ export default class Client extends OpenApi {
2002
2470
  * @remarks
2003
2471
  * ## Operation description
2004
2472
  * - This operation uploads a file to an enterprise knowledge base.
2005
- * - The `DEVELOPMENT_KB_MANAGE` permission is required to call this API.
2473
+ * - The DEVELOPMENT_KB_MANAGE permission is required to call this operation.
2006
2474
  * - You must provide the OSS persistent address (`filePath`) of the file when uploading.
2007
2475
  * - Optional parameters include the public access URL and original file name to enhance the completeness of file information.
2008
2476
  * - 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.
@@ -2018,15 +2486,15 @@ export default class Client extends OpenApi {
2018
2486
  *
2019
2487
  * @remarks
2020
2488
  * ## Request description
2021
- * 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.
2489
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
2022
2490
  * ### Request parameters
2023
2491
  * - **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.
2024
2492
  * - **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`.
2025
- * - **Tags**: Optional. Filters by tags. A match occurs if any tag in the array is hit.
2026
- * - **Keyword**: Optional. Performs fuzzy matching by skill name or description.
2493
+ * - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
2494
+ * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
2027
2495
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
2028
- * - **PageSize**: Optional. The number of entries per page. Value range: 1 to 100. Default value: 20.
2029
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, filters by binding relationship. Must be used together with `BindStatus`.
2496
+ * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
2497
+ * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2030
2498
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
2031
2499
  * ### Response parameters
2032
2500
  * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
@@ -2044,15 +2512,15 @@ export default class Client extends OpenApi {
2044
2512
  *
2045
2513
  * @remarks
2046
2514
  * ## Request description
2047
- * 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.
2515
+ * This API retrieves all visible skills under the current tenant. It supports filtering by digital employee binding relationship, skill source, tags, and keywords, and supports pagination.
2048
2516
  * ### Request parameters
2049
2517
  * - **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.
2050
2518
  * - **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`.
2051
- * - **Tags**: Optional. Filters by tags. A match occurs if any tag in the array is hit.
2052
- * - **Keyword**: Optional. Performs fuzzy matching by skill name or description.
2519
+ * - **Tags**: Optional. Filters by tags. A match is returned if any tag in the array is hit.
2520
+ * - **Keyword**: Optional. Performs a fuzzy match on the skill name or description.
2053
2521
  * - **Page**: Optional. The page number. Minimum value: 1. Default value: 1.
2054
- * - **PageSize**: Optional. The number of entries per page. Value range: 1 to 100. Default value: 20.
2055
- * - **OperatingObjectName**: Optional. The digital employee name. If specified, filters by binding relationship. Must be used together with `BindStatus`.
2522
+ * - **PageSize**: Optional. The number of entries per page. Valid values: 1 to 100. Default value: 20.
2523
+ * - **OperatingObjectName**: Optional. The digital employee name. If specified, results are filtered by binding relationship. Must be used together with `BindStatus`.
2056
2524
  * - **BindStatus**: Optional. The binding status. Valid values: `BOUND` (bound), `UNBOUND` (unbound global skills).
2057
2525
  * ### Response parameters
2058
2526
  * The response contains the skill list `items`, total count `total`, current page `page`, and page size `pageSize`.
@@ -2095,6 +2563,38 @@ export default class Client extends OpenApi {
2095
2563
  * @returns ListTenantDirectoryResponse
2096
2564
  */
2097
2565
  listTenantDirectory(request: $_model.ListTenantDirectoryRequest): Promise<$_model.ListTenantDirectoryResponse>;
2566
+ /**
2567
+ * Returns the multi-level user group tree for the current tenant.
2568
+ *
2569
+ * @remarks
2570
+ * ## Request description
2571
+ * This API is used to query the complete user group hierarchy under a specified tenant, including the basic information of each user group and its direct child user group list. Use the `tenantId` parameter to specify the tenant ID to query. If this parameter is not provided, the caller\\"s tenant ID is used by default.
2572
+ * ### Precautions
2573
+ * - This operation returns only the direct member count and direct child user group count. It does not include information about indirect members or child groups.
2574
+ * - The external synchronization status field is empty when data is normal. It is populated with relevant information only when data is out of sync between an external system (such as WeCom) and the internal system.
2575
+ *
2576
+ * @param request - ListUserGroupsRequest
2577
+ * @param headers - map
2578
+ * @param runtime - runtime options for this request RuntimeOptions
2579
+ * @returns ListUserGroupsResponse
2580
+ */
2581
+ listUserGroupsWithOptions(request: $_model.ListUserGroupsRequest, headers: {
2582
+ [key: string]: string;
2583
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.ListUserGroupsResponse>;
2584
+ /**
2585
+ * Returns the multi-level user group tree for the current tenant.
2586
+ *
2587
+ * @remarks
2588
+ * ## Request description
2589
+ * This API is used to query the complete user group hierarchy under a specified tenant, including the basic information of each user group and its direct child user group list. Use the `tenantId` parameter to specify the tenant ID to query. If this parameter is not provided, the caller\\"s tenant ID is used by default.
2590
+ * ### Precautions
2591
+ * - This operation returns only the direct member count and direct child user group count. It does not include information about indirect members or child groups.
2592
+ * - The external synchronization status field is empty when data is normal. It is populated with relevant information only when data is out of sync between an external system (such as WeCom) and the internal system.
2593
+ *
2594
+ * @param request - ListUserGroupsRequest
2595
+ * @returns ListUserGroupsResponse
2596
+ */
2597
+ listUserGroups(request: $_model.ListUserGroupsRequest): Promise<$_model.ListUserGroupsResponse>;
2098
2598
  /**
2099
2599
  * Queries the knowledge base directory content visible to the current OpenAPI user.
2100
2600
  *
@@ -2335,6 +2835,34 @@ export default class Client extends OpenApi {
2335
2835
  * @returns MoveResourceResponse
2336
2836
  */
2337
2837
  moveResource(request: $_model.MoveResourceRequest): Promise<$_model.MoveResourceResponse>;
2838
+ /**
2839
+ * Takes a service notice offline.
2840
+ *
2841
+ * @remarks
2842
+ * ## Operation description
2843
+ * Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
2844
+ * The caller must belong to the system operations tenant and have announcement management permissions.
2845
+ *
2846
+ * @param request - OfflineAnnouncementRequest
2847
+ * @param headers - map
2848
+ * @param runtime - runtime options for this request RuntimeOptions
2849
+ * @returns OfflineAnnouncementResponse
2850
+ */
2851
+ offlineAnnouncementWithOptions(request: $_model.OfflineAnnouncementRequest, headers: {
2852
+ [key: string]: string;
2853
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.OfflineAnnouncementResponse>;
2854
+ /**
2855
+ * Takes a service notice offline.
2856
+ *
2857
+ * @remarks
2858
+ * ## Operation description
2859
+ * Idempotently takes a platform announcement offline by announcement ID. Returns `changed=true` when a PUBLISHED announcement is taken offline for the first time. Returns `changed=false` when the announcement is already offline or expired.
2860
+ * The caller must belong to the system operations tenant and have announcement management permissions.
2861
+ *
2862
+ * @param request - OfflineAnnouncementRequest
2863
+ * @returns OfflineAnnouncementResponse
2864
+ */
2865
+ offlineAnnouncement(request: $_model.OfflineAnnouncementRequest): Promise<$_model.OfflineAnnouncementResponse>;
2338
2866
  /**
2339
2867
  * Previews the knowledge content in a specified enterprise knowledge base.
2340
2868
  *
@@ -2400,15 +2928,15 @@ export default class Client extends OpenApi {
2400
2928
  */
2401
2929
  previewPersonalSource(request: $_model.PreviewPersonalSourceRequest): Promise<$_model.PreviewPersonalSourceResponse>;
2402
2930
  /**
2403
- * Queries primary object data by operating object name with paging support, including filtering and search.
2931
+ * Queries primary object data by operating object name with pagination, and supports filtering and searching.
2404
2932
  *
2405
2933
  * @remarks
2406
- * ## Operation description
2407
- * - This API queries primary object data by a specified operating object name (such as `customer_1`) with paging.
2408
- * - Keyword-based search is supported. You can set whether to return only objects marked as favorites in Settings.
2409
- * - Complex filter conditions can be used to further narrow results, including but not limited to equal to, not equal to, greater than, and less than operators.
2934
+ * ## Request description
2935
+ * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
2936
+ * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
2937
+ * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
2410
2938
  * - If no primary object type is configured, an empty result set is returned.
2411
- * - Data in the request undergoes authentication and filtering to ensure security and accuracy.
2939
+ * - Data included in the request undergoes authentication and filtering to ensure security and accuracy.
2412
2940
  *
2413
2941
  * @param request - QueryPrimaryObjectDataRequest
2414
2942
  * @param headers - map
@@ -2419,15 +2947,15 @@ export default class Client extends OpenApi {
2419
2947
  [key: string]: string;
2420
2948
  }, runtime: $dara.RuntimeOptions): Promise<$_model.QueryPrimaryObjectDataResponse>;
2421
2949
  /**
2422
- * Queries primary object data by operating object name with paging support, including filtering and search.
2950
+ * Queries primary object data by operating object name with pagination, and supports filtering and searching.
2423
2951
  *
2424
2952
  * @remarks
2425
- * ## Operation description
2426
- * - This API queries primary object data by a specified operating object name (such as `customer_1`) with paging.
2427
- * - Keyword-based search is supported. You can set whether to return only objects marked as favorites in Settings.
2428
- * - Complex filter conditions can be used to further narrow results, including but not limited to equal to, not equal to, greater than, and less than operators.
2953
+ * ## Request description
2954
+ * - This API queries primary object data with pagination based on a specified operating object name (such as `customer_1`).
2955
+ * - Supports keyword-based searching and allows you to specify whether to return only objects marked as favorites.
2956
+ * - Complex filter conditions can be used to further refine results, including but not limited to logical operators such as equal to, not equal to, greater than, and less than.
2429
2957
  * - If no primary object type is configured, an empty result set is returned.
2430
- * - Data in the request undergoes authentication and filtering to ensure security and accuracy.
2958
+ * - Data included in the request undergoes authentication and filtering to ensure security and accuracy.
2431
2959
  *
2432
2960
  * @param request - QueryPrimaryObjectDataRequest
2433
2961
  * @returns QueryPrimaryObjectDataResponse
@@ -2573,6 +3101,40 @@ export default class Client extends OpenApi {
2573
3101
  * @returns RemoveUserResponse
2574
3102
  */
2575
3103
  removeUser(request: $_model.RemoveUserRequest): Promise<$_model.RemoveUserResponse>;
3104
+ /**
3105
+ * Removes direct member relationships in bulk from a specified user group.
3106
+ *
3107
+ * @remarks
3108
+ * ## Request description
3109
+ * - This operation supports batch removal of direct member relationships between users and a specified user group by providing the user group ID and one or more user IDs.
3110
+ * - The `userIds` parameter accepts an integer array that represents the list of platform user IDs to be removed.
3111
+ * - If a user you attempt to remove is not a direct member of the user group, the final result count is not affected.
3112
+ * - After a successful call, the response returns information such as the number of members actually removed and the number of members before the request was processed.
3113
+ * - This operation requires appropriate permission authentication and is recorded in operation logs.
3114
+ *
3115
+ * @param tmpReq - RemoveUserGroupMembersRequest
3116
+ * @param headers - map
3117
+ * @param runtime - runtime options for this request RuntimeOptions
3118
+ * @returns RemoveUserGroupMembersResponse
3119
+ */
3120
+ removeUserGroupMembersWithOptions(tmpReq: $_model.RemoveUserGroupMembersRequest, headers: {
3121
+ [key: string]: string;
3122
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveUserGroupMembersResponse>;
3123
+ /**
3124
+ * Removes direct member relationships in bulk from a specified user group.
3125
+ *
3126
+ * @remarks
3127
+ * ## Request description
3128
+ * - This operation supports batch removal of direct member relationships between users and a specified user group by providing the user group ID and one or more user IDs.
3129
+ * - The `userIds` parameter accepts an integer array that represents the list of platform user IDs to be removed.
3130
+ * - If a user you attempt to remove is not a direct member of the user group, the final result count is not affected.
3131
+ * - After a successful call, the response returns information such as the number of members actually removed and the number of members before the request was processed.
3132
+ * - This operation requires appropriate permission authentication and is recorded in operation logs.
3133
+ *
3134
+ * @param request - RemoveUserGroupMembersRequest
3135
+ * @returns RemoveUserGroupMembersResponse
3136
+ */
3137
+ removeUserGroupMembers(request: $_model.RemoveUserGroupMembersRequest): Promise<$_model.RemoveUserGroupMembersResponse>;
2576
3138
  /**
2577
3139
  * Renames a data source in a specified enterprise knowledge base.
2578
3140
  *
@@ -2863,7 +3425,7 @@ export default class Client extends OpenApi {
2863
3425
  * - Ensure that `tenantId` and `userId` come from verified identity information.
2864
3426
  * ### Precautions
2865
3427
  * - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
2866
- * - If `tenantId` is not provided, the tenant ID of the caller is used by default.
3428
+ * - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
2867
3429
  * - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
2868
3430
  *
2869
3431
  * @param request - RetryDirectoryFailedSourcesRequest
@@ -2886,7 +3448,7 @@ export default class Client extends OpenApi {
2886
3448
  * - Ensure that `tenantId` and `userId` come from verified identity information.
2887
3449
  * ### Precautions
2888
3450
  * - `directoryId` is a required parameter that specifies the target folder in which to check and retry failed data sources.
2889
- * - If `tenantId` is not provided, the tenant ID of the caller is used by default.
3451
+ * - If `tenantId` is not provided, the caller\\"s tenant ID is used by default.
2890
3452
  * - The API supports multiple authentication methods, including AccessKey, BearerToken, and APP authentication.
2891
3453
  *
2892
3454
  * @param request - RetryDirectoryFailedSourcesRequest
@@ -2894,15 +3456,15 @@ export default class Client extends OpenApi {
2894
3456
  */
2895
3457
  retryDirectoryFailedSources(request: $_model.RetryDirectoryFailedSourcesRequest): Promise<$_model.RetryDirectoryFailedSourcesResponse>;
2896
3458
  /**
2897
- * Retries all data sources in failed status under a specified directory in batch.
3459
+ * Retries all data sources in failed status under a specified directory in batches.
2898
3460
  *
2899
3461
  * @remarks
2900
- * ## Request description
3462
+ * ## Operation description
2901
3463
  * 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.
2902
3464
  * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
2903
3465
  * - **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.
2904
3466
  * - **Parameters**:
2905
- * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
3467
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
2906
3468
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
2907
3469
  * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
2908
3470
  *
@@ -2915,15 +3477,15 @@ export default class Client extends OpenApi {
2915
3477
  [key: string]: string;
2916
3478
  }, runtime: $dara.RuntimeOptions): Promise<$_model.RetryKnowledgeBaseFailedSourcesResponse>;
2917
3479
  /**
2918
- * Retries all data sources in failed status under a specified directory in batch.
3480
+ * Retries all data sources in failed status under a specified directory in batches.
2919
3481
  *
2920
3482
  * @remarks
2921
- * ## Request description
3483
+ * ## Operation description
2922
3484
  * 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.
2923
3485
  * - **Authentication**: In addition to basic authentication, the `DEVELOPMENT_KB_MANAGE` permission is required.
2924
3486
  * - **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.
2925
3487
  * - **Parameters**:
2926
- * - `directoryId` (required): The ID of the enterprise knowledge base directory for which to check and retry failed data sources.
3488
+ * - `directoryId` (required): The ID of the enterprise knowledge base directory to check and retry failed data sources.
2927
3489
  * - `tenantId` (optional): The tenant ID. The default tenant of the caller is used if this parameter is not specified.
2928
3490
  * - **Response**: On success, returns the number of data sources enqueued for retry and related details.
2929
3491
  *
@@ -3003,6 +3565,78 @@ export default class Client extends OpenApi {
3003
3565
  * @returns RunSkillResponse
3004
3566
  */
3005
3567
  runSkill(request: $_model.RunSkillRequest): Promise<$_model.RunSkillResponse>;
3568
+ /**
3569
+ * Saves group outputs in batches to the collaboration group repository.
3570
+ *
3571
+ * @remarks
3572
+ * ## Request description
3573
+ * - Saves specified group outputs to the repository directory of the same collaboration group.
3574
+ * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
3575
+ * - 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.
3576
+ * - If `directoryId` is not specified, the default repository directory of the target group is used.
3577
+ * - 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.
3578
+ * - 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.
3579
+ *
3580
+ * @param tmpReq - SaveGroupOutputFileToGroupResourceRequest
3581
+ * @param headers - map
3582
+ * @param runtime - runtime options for this request RuntimeOptions
3583
+ * @returns SaveGroupOutputFileToGroupResourceResponse
3584
+ */
3585
+ saveGroupOutputFileToGroupResourceWithOptions(tmpReq: $_model.SaveGroupOutputFileToGroupResourceRequest, headers: {
3586
+ [key: string]: string;
3587
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGroupOutputFileToGroupResourceResponse>;
3588
+ /**
3589
+ * Saves group outputs in batches to the collaboration group repository.
3590
+ *
3591
+ * @remarks
3592
+ * ## Request description
3593
+ * - Saves specified group outputs to the repository directory of the same collaboration group.
3594
+ * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
3595
+ * - 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.
3596
+ * - If `directoryId` is not specified, the default repository directory of the target group is used.
3597
+ * - 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.
3598
+ * - 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.
3599
+ *
3600
+ * @param request - SaveGroupOutputFileToGroupResourceRequest
3601
+ * @returns SaveGroupOutputFileToGroupResourceResponse
3602
+ */
3603
+ saveGroupOutputFileToGroupResource(request: $_model.SaveGroupOutputFileToGroupResourceRequest): Promise<$_model.SaveGroupOutputFileToGroupResourceResponse>;
3604
+ /**
3605
+ * Batch saves group outputs to the current operator\\"s personal knowledge base.
3606
+ *
3607
+ * @remarks
3608
+ * ## Request description
3609
+ * - Saves specified group outputs to the current operator\\"s personal knowledge base.
3610
+ * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
3611
+ * - The caller must be a member of the target group who is associated with a platform user. Regular members can only archive outputs they created, while group administrators can archive visible outputs from other members. Personal ownership is always derived from the gateway authentication identity.
3612
+ * - If `directoryId` is not specified, the current operator\\"s default personal directory is used.
3613
+ * - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. The entire batch fails if any entry does not exist, is not visible, or cannot be operated on.
3614
+ * - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
3615
+ *
3616
+ * @param tmpReq - SaveGroupOutputFileToPersonalResourceRequest
3617
+ * @param headers - map
3618
+ * @param runtime - runtime options for this request RuntimeOptions
3619
+ * @returns SaveGroupOutputFileToPersonalResourceResponse
3620
+ */
3621
+ saveGroupOutputFileToPersonalResourceWithOptions(tmpReq: $_model.SaveGroupOutputFileToPersonalResourceRequest, headers: {
3622
+ [key: string]: string;
3623
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
3624
+ /**
3625
+ * Batch saves group outputs to the current operator\\"s personal knowledge base.
3626
+ *
3627
+ * @remarks
3628
+ * ## Request description
3629
+ * - Saves specified group outputs to the current operator\\"s personal knowledge base.
3630
+ * - Supports two modes: `link` (maintains output association) and `copy` (creates an independent snapshot).
3631
+ * - The caller must be a member of the target group who is associated with a platform user. Regular members can only archive outputs they created, while group administrators can archive visible outputs from other members. Personal ownership is always derived from the gateway authentication identity.
3632
+ * - If `directoryId` is not specified, the current operator\\"s default personal directory is used.
3633
+ * - A maximum of 50 outputs can be processed per batch. All entries are validated before saving. The entire batch fails if any entry does not exist, is not visible, or cannot be operated on.
3634
+ * - After unified validation passes, entries are saved one by one. The response results maintain the same order as `itemIds`. A failure to save a single entry does not affect other entries.
3635
+ *
3636
+ * @param request - SaveGroupOutputFileToPersonalResourceRequest
3637
+ * @returns SaveGroupOutputFileToPersonalResourceResponse
3638
+ */
3639
+ saveGroupOutputFileToPersonalResource(request: $_model.SaveGroupOutputFileToPersonalResourceRequest): Promise<$_model.SaveGroupOutputFileToPersonalResourceResponse>;
3006
3640
  /**
3007
3641
  * Saves output details in batch as personal resources. Supports link or copy mode.
3008
3642
  *
@@ -3069,11 +3703,11 @@ export default class Client extends OpenApi {
3069
3703
  * Sends a message.
3070
3704
  *
3071
3705
  * @remarks
3072
- * ## Operation description
3706
+ * ## Request description
3073
3707
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
3074
3708
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3075
- * - 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.
3076
- * - 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.
3709
+ * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3710
+ * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3077
3711
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3078
3712
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
3079
3713
  *
@@ -3089,11 +3723,11 @@ export default class Client extends OpenApi {
3089
3723
  * Sends a message.
3090
3724
  *
3091
3725
  * @remarks
3092
- * ## Operation description
3726
+ * ## Request description
3093
3727
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
3094
3728
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3095
- * - 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.
3096
- * - 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.
3729
+ * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3730
+ * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3097
3731
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3098
3732
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
3099
3733
  *
@@ -3109,11 +3743,11 @@ export default class Client extends OpenApi {
3109
3743
  * Sends a message.
3110
3744
  *
3111
3745
  * @remarks
3112
- * ## Operation description
3746
+ * ## Request description
3113
3747
  * - This API is used to upload a file to the "My Resources" section of a specified digital employee.
3114
3748
  * - `source_type` is fixed to `FILE`, `scope` is fixed to `PERSONAL`, and `platform` is fixed to `LOCAL`.
3115
- * - 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.
3116
- * - 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.
3749
+ * - The file must include an OSS persistent address (`filePath`). Other information such as the public access URL and original file name is optional.
3750
+ * - If no target folder ID (`directoryId`) is specified, the file is automatically attached to the default root folder of the current digital employee. If specified, ensure that the folder belongs to the invoker\\"s personal folder.
3117
3751
  * - Multiple authentication methods (AK, BearerToken, APP) are supported to authenticate requests.
3118
3752
  * - The operation type is write, and operation logs are recorded for subsequent auditing.
3119
3753
  *
@@ -3589,6 +4223,30 @@ export default class Client extends OpenApi {
3589
4223
  * @returns UpdateUserResponse
3590
4224
  */
3591
4225
  updateUser(request: $_model.UpdateUserRequest): Promise<$_model.UpdateUserResponse>;
4226
+ /**
4227
+ * Updates the name, description, and parent relationship of a specified user group.
4228
+ *
4229
+ * @remarks
4230
+ * WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
4231
+ *
4232
+ * @param request - UpdateUserGroupRequest
4233
+ * @param headers - map
4234
+ * @param runtime - runtime options for this request RuntimeOptions
4235
+ * @returns UpdateUserGroupResponse
4236
+ */
4237
+ updateUserGroupWithOptions(request: $_model.UpdateUserGroupRequest, headers: {
4238
+ [key: string]: string;
4239
+ }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateUserGroupResponse>;
4240
+ /**
4241
+ * Updates the name, description, and parent relationship of a specified user group.
4242
+ *
4243
+ * @remarks
4244
+ * WinNexo user management OpenAPI: updates a user group. The tenant identity is obtained from the authentication context.
4245
+ *
4246
+ * @param request - UpdateUserGroupRequest
4247
+ * @returns UpdateUserGroupResponse
4248
+ */
4249
+ updateUserGroup(request: $_model.UpdateUserGroupRequest): Promise<$_model.UpdateUserGroupResponse>;
3592
4250
  /**
3593
4251
  * Updates partial fields of the current user information and returns the complete user information.
3594
4252
  *
@@ -3626,21 +4284,21 @@ export default class Client extends OpenApi {
3626
4284
  */
3627
4285
  updateUserInfo(request: $_model.UpdateUserInfoRequest): Promise<$_model.UpdateUserInfoResponse>;
3628
4286
  /**
3629
- * Uploads a local file in a session.
4287
+ * Uploads a local file for a session.
3630
4288
  *
3631
4289
  * @remarks
3632
4290
  * ## Operation description
3633
- * This API is used to upload a session temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted through the request body of this API. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS, and creates a session temporary file record.
3634
- * ### Call methods
3635
- * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl`.
3636
- * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then directly call this API with the `FileUrl` parameter.
4291
+ * This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
4292
+ * ### How to call
4293
+ * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
4294
+ * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
3637
4295
  * ### Request parameters
3638
- * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
3639
- * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
4296
+ * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
4297
+ * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
3640
4298
  * - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
3641
- * - **OperatingObjectName**: Optional. The Agent namespace identifier that determines the file storage path.
4299
+ * - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
3642
4300
  * ### Response parameters
3643
- * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the public access address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
4301
+ * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
3644
4302
  *
3645
4303
  * @param request - UploadChatFileRequest
3646
4304
  * @param headers - map
@@ -3651,21 +4309,21 @@ export default class Client extends OpenApi {
3651
4309
  [key: string]: string;
3652
4310
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UploadChatFileResponse>;
3653
4311
  /**
3654
- * Uploads a local file in a session.
4312
+ * Uploads a local file for a session.
3655
4313
  *
3656
4314
  * @remarks
3657
4315
  * ## Operation description
3658
- * This API is used to upload a session temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted through the request body of this API. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS, and creates a session temporary file record.
3659
- * ### Call methods
3660
- * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates `FileUrl`.
3661
- * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then directly call this API with the `FileUrl` parameter.
4316
+ * This API operation uploads a temporary temporary file by using the **file transfer upload** mode (`fileTransfer`). The file binary data is not transmitted in the request body of this API operation. Instead, the file is first uploaded to Object Storage Service (OSS), and then the OSS address is passed to the backend through the `FileUrl` parameter. The backend retrieves the bytes from that address, writes them to its own OSS bucket, and creates a temporary temporary file record.
4317
+ * ### How to call
4318
+ * - **Recommended**: Use the `UploadChatFileAdvance` method generated by the SDK. Pass in the local file stream, and the SDK automatically completes the transfer upload and populates the `FileUrl` parameter.
4319
+ * - **Direct upload**: Upload the file to an OSS address accessible by the server, and then call this API operation directly with the `FileUrl` parameter.
3662
4320
  * ### Request parameters
3663
- * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually assign a value.
3664
- * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
4321
+ * - **FileUrl**: Required. The OSS address of the file. When you use the Advance method, the SDK automatically populates this parameter. You do not need to manually set it.
4322
+ * - **FileName**: Required. The original file name including the extension, such as `report.pdf`. The OSS address generated during the transfer does not carry the original file name. The backend uses this parameter to determine the file extension and display name. Therefore, you must explicitly pass in this parameter.
3665
4323
  * - **ContentType**: Optional. The MIME type of the file. If this parameter is not specified, `application/octet-stream` is used.
3666
- * - **OperatingObjectName**: Optional. The Agent namespace identifier that determines the file storage path.
4324
+ * - **OperatingObjectName**: Optional. The agent namespace identifier that determines the file storage path.
3667
4325
  * ### Response parameters
3668
- * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the public access address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
4326
+ * The response includes the OSS object path `objectName`, the storage address `fileUrl`, the publicly accessible address `filePublicUrl` (valid for 1 hour), and the file record ID `fileRecordId`. The `uploadSignatureUrl` parameter is always empty in this mode.
3669
4327
  *
3670
4328
  * @param request - UploadChatFileRequest
3671
4329
  * @returns UploadChatFileResponse