@sdkwork/backend-sdk 1.0.0 → 1.0.2

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 (646) hide show
  1. package/README.md +167 -121
  2. package/dist/api/account-exchange-config.d.ts +12 -0
  3. package/dist/api/account-exchange-config.d.ts.map +1 -0
  4. package/dist/api/agent-chat.d.ts +17 -0
  5. package/dist/api/agent-chat.d.ts.map +1 -0
  6. package/dist/api/{ai-agent-tool-relationship.d.ts → agent-tool-relationship.d.ts} +3 -3
  7. package/dist/api/agent-tool-relationship.d.ts.map +1 -0
  8. package/dist/api/{ai-agent.d.ts → agent.d.ts} +3 -3
  9. package/dist/api/agent.d.ts.map +1 -0
  10. package/dist/api/api-key.d.ts +17 -1
  11. package/dist/api/api-key.d.ts.map +1 -1
  12. package/dist/api/api-security-policy.d.ts +17 -0
  13. package/dist/api/api-security-policy.d.ts.map +1 -0
  14. package/dist/api/app.d.ts +14 -1
  15. package/dist/api/app.d.ts.map +1 -1
  16. package/dist/api/{ai-article.d.ts → article.d.ts} +3 -3
  17. package/dist/api/article.d.ts.map +1 -0
  18. package/dist/api/{ai-audio-effect-generation.d.ts → audio-effect-generation.d.ts} +3 -3
  19. package/dist/api/audio-effect-generation.d.ts.map +1 -0
  20. package/dist/api/{ai-audio-generation.d.ts → audio-generation.d.ts} +3 -3
  21. package/dist/api/audio-generation.d.ts.map +1 -0
  22. package/dist/api/auth.d.ts +52 -0
  23. package/dist/api/auth.d.ts.map +1 -0
  24. package/dist/api/{ai-category.d.ts → category.d.ts} +3 -3
  25. package/dist/api/category.d.ts.map +1 -0
  26. package/dist/api/channel-proxy.d.ts +21 -0
  27. package/dist/api/channel-proxy.d.ts.map +1 -0
  28. package/dist/api/channel.d.ts +21 -0
  29. package/dist/api/channel.d.ts.map +1 -0
  30. package/dist/api/{ai-character-generation.d.ts → character-generation.d.ts} +3 -3
  31. package/dist/api/character-generation.d.ts.map +1 -0
  32. package/dist/api/chat.d.ts +13 -0
  33. package/dist/api/chat.d.ts.map +1 -0
  34. package/dist/api/content-writing.d.ts +40 -0
  35. package/dist/api/content-writing.d.ts.map +1 -0
  36. package/dist/api/{ai-conversation.d.ts → conversation.d.ts} +4 -4
  37. package/dist/api/conversation.d.ts.map +1 -0
  38. package/dist/api/coupon.d.ts +7 -1
  39. package/dist/api/coupon.d.ts.map +1 -1
  40. package/dist/api/datasource.d.ts +2 -2
  41. package/dist/api/datasource.d.ts.map +1 -1
  42. package/dist/api/department.d.ts +11 -1
  43. package/dist/api/department.d.ts.map +1 -1
  44. package/dist/api/file.d.ts +5 -5
  45. package/dist/api/file.d.ts.map +1 -1
  46. package/dist/api/{ai-generation-content.d.ts → generation-content.d.ts} +3 -3
  47. package/dist/api/generation-content.d.ts.map +1 -0
  48. package/dist/api/{ai-generation.d.ts → generation.d.ts} +3 -3
  49. package/dist/api/generation.d.ts.map +1 -0
  50. package/dist/api/im-message.d.ts +4 -2
  51. package/dist/api/im-message.d.ts.map +1 -1
  52. package/dist/api/{ai-image-generation.d.ts → image-generation.d.ts} +3 -3
  53. package/dist/api/image-generation.d.ts.map +1 -0
  54. package/dist/api/index.d.ts +33 -28
  55. package/dist/api/index.d.ts.map +1 -1
  56. package/dist/api/invoice.d.ts +13 -0
  57. package/dist/api/invoice.d.ts.map +1 -0
  58. package/dist/api/knowledge-base-chat.d.ts +3 -2
  59. package/dist/api/knowledge-base-chat.d.ts.map +1 -1
  60. package/dist/api/knowledge-base-file.d.ts +10 -10
  61. package/dist/api/knowledge-base-file.d.ts.map +1 -1
  62. package/dist/api/{ai-model-information.d.ts → model-information.d.ts} +6 -6
  63. package/dist/api/model-information.d.ts.map +1 -0
  64. package/dist/api/{ai-model-price.d.ts → model-price.d.ts} +3 -3
  65. package/dist/api/model-price.d.ts.map +1 -0
  66. package/dist/api/{ai-music-generation.d.ts → music-generation.d.ts} +3 -3
  67. package/dist/api/music-generation.d.ts.map +1 -0
  68. package/dist/api/{host.d.ts → net.d.ts} +3 -3
  69. package/dist/api/net.d.ts.map +1 -0
  70. package/dist/api/notes.d.ts +11 -1
  71. package/dist/api/notes.d.ts.map +1 -1
  72. package/dist/api/order.d.ts +4 -2
  73. package/dist/api/order.d.ts.map +1 -1
  74. package/dist/api/organization-member.d.ts +21 -1
  75. package/dist/api/organization-member.d.ts.map +1 -1
  76. package/dist/api/organization.d.ts +2 -0
  77. package/dist/api/organization.d.ts.map +1 -1
  78. package/dist/api/ppt-template-chat.d.ts +3 -2
  79. package/dist/api/ppt-template-chat.d.ts.map +1 -1
  80. package/dist/api/{ai-prompt.d.ts → prompt.d.ts} +3 -3
  81. package/dist/api/prompt.d.ts.map +1 -0
  82. package/dist/api/rbac-permission.d.ts +17 -0
  83. package/dist/api/rbac-permission.d.ts.map +1 -0
  84. package/dist/api/search-chat.d.ts +3 -2
  85. package/dist/api/search-chat.d.ts.map +1 -1
  86. package/dist/api/skill-package.d.ts +25 -0
  87. package/dist/api/skill-package.d.ts.map +1 -0
  88. package/dist/api/skill.d.ts +41 -0
  89. package/dist/api/skill.d.ts.map +1 -0
  90. package/dist/api/tenant.d.ts +3 -1
  91. package/dist/api/tenant.d.ts.map +1 -1
  92. package/dist/api/{ai-tool.d.ts → tool.d.ts} +3 -3
  93. package/dist/api/tool.d.ts.map +1 -0
  94. package/dist/api/{ai-usage-record.d.ts → usage-record.d.ts} +3 -3
  95. package/dist/api/usage-record.d.ts.map +1 -0
  96. package/dist/api/{ai-video-generation.d.ts → video-generation.d.ts} +3 -3
  97. package/dist/api/video-generation.d.ts.map +1 -0
  98. package/dist/api/{ai-voice-speaker-generation.d.ts → voice-speaker-generation.d.ts} +3 -3
  99. package/dist/api/voice-speaker-generation.d.ts.map +1 -0
  100. package/dist/index.cjs +1 -1
  101. package/dist/index.cjs.map +1 -1
  102. package/dist/index.js +1420 -950
  103. package/dist/index.js.map +1 -1
  104. package/dist/sdk.d.ts +66 -56
  105. package/dist/sdk.d.ts.map +1 -1
  106. package/dist/types/account-exchange-rate-update-form.d.ts +8 -0
  107. package/dist/types/account-exchange-rate-update-form.d.ts.map +1 -0
  108. package/dist/types/account-exchange-rate-vo.d.ts +14 -0
  109. package/dist/types/account-exchange-rate-vo.d.ts.map +1 -0
  110. package/dist/types/agent-execution-context.d.ts +4 -4
  111. package/dist/types/agent-execution-context.d.ts.map +1 -1
  112. package/dist/types/app-config.d.ts +2 -0
  113. package/dist/types/app-config.d.ts.map +1 -1
  114. package/dist/types/app-info-vo.d.ts +8 -0
  115. package/dist/types/app-info-vo.d.ts.map +1 -1
  116. package/dist/types/app-install-config.d.ts +17 -0
  117. package/dist/types/app-install-config.d.ts.map +1 -0
  118. package/dist/types/app-install-package.d.ts +34 -0
  119. package/dist/types/app-install-package.d.ts.map +1 -0
  120. package/dist/types/app-install-skill.d.ts +8 -0
  121. package/dist/types/app-install-skill.d.ts.map +1 -0
  122. package/dist/types/app-publish-config.d.ts +7 -0
  123. package/dist/types/app-publish-config.d.ts.map +1 -0
  124. package/dist/types/app-store-listing-config.d.ts +36 -0
  125. package/dist/types/app-store-listing-config.d.ts.map +1 -0
  126. package/dist/types/booking-order-vo.d.ts +16 -0
  127. package/dist/types/booking-order-vo.d.ts.map +1 -0
  128. package/dist/types/change-password-form.d.ts +2 -2
  129. package/dist/types/change-password-form.d.ts.map +1 -1
  130. package/dist/types/chat-completion-create-form.d.ts +19 -19
  131. package/dist/types/chat-completion-create-form.d.ts.map +1 -1
  132. package/dist/types/chat-options.d.ts +3 -3
  133. package/dist/types/chat-options.d.ts.map +1 -1
  134. package/dist/types/content-stats-vo.d.ts +10 -0
  135. package/dist/types/content-stats-vo.d.ts.map +1 -0
  136. package/dist/types/content-work-vo.d.ts +24 -0
  137. package/dist/types/content-work-vo.d.ts.map +1 -0
  138. package/dist/types/coupon-points-exchange-form.d.ts +6 -0
  139. package/dist/types/coupon-points-exchange-form.d.ts.map +1 -0
  140. package/dist/types/coupon-redeem-form.d.ts +8 -0
  141. package/dist/types/coupon-redeem-form.d.ts.map +1 -0
  142. package/dist/types/coupon-rollback-form.d.ts +6 -0
  143. package/dist/types/coupon-rollback-form.d.ts.map +1 -0
  144. package/dist/types/create-booking-order-form.d.ts +9 -0
  145. package/dist/types/create-booking-order-form.d.ts.map +1 -0
  146. package/dist/types/create-chapter-form.d.ts +14 -0
  147. package/dist/types/create-chapter-form.d.ts.map +1 -0
  148. package/dist/types/create-content-form.d.ts +12 -0
  149. package/dist/types/create-content-form.d.ts.map +1 -0
  150. package/dist/types/create-goods-order-form.d.ts +7 -1
  151. package/dist/types/create-goods-order-form.d.ts.map +1 -1
  152. package/dist/types/create-im-group-order-form.d.ts +7 -1
  153. package/dist/types/create-im-group-order-form.d.ts.map +1 -1
  154. package/dist/types/create-points-order-form.d.ts +9 -1
  155. package/dist/types/create-points-order-form.d.ts.map +1 -1
  156. package/dist/types/create-vip-order-form.d.ts +7 -1
  157. package/dist/types/create-vip-order-form.d.ts.map +1 -1
  158. package/dist/types/create-virtual-order-form.d.ts +7 -1
  159. package/dist/types/create-virtual-order-form.d.ts.map +1 -1
  160. package/dist/types/current-access-token-vo.d.ts +23 -0
  161. package/dist/types/current-access-token-vo.d.ts.map +1 -0
  162. package/dist/types/email-verification-form.d.ts +2 -2
  163. package/dist/types/email-verification-form.d.ts.map +1 -1
  164. package/dist/types/file-item-vo.d.ts +13 -13
  165. package/dist/types/file-item-vo.d.ts.map +1 -1
  166. package/dist/types/file-list-vo.d.ts +3 -3
  167. package/dist/types/file-list-vo.d.ts.map +1 -1
  168. package/dist/types/file-tree-node-vo.d.ts +36 -0
  169. package/dist/types/file-tree-node-vo.d.ts.map +1 -0
  170. package/dist/types/flow.d.ts +1 -1
  171. package/dist/types/flow.d.ts.map +1 -1
  172. package/dist/types/get-all-articles-response.d.ts +3 -0
  173. package/dist/types/get-all-articles-response.d.ts.map +1 -0
  174. package/dist/types/get-all-contents-response.d.ts +3 -0
  175. package/dist/types/get-all-contents-response.d.ts.map +1 -0
  176. package/dist/types/get-all-novels-response.d.ts +3 -0
  177. package/dist/types/get-all-novels-response.d.ts.map +1 -0
  178. package/dist/types/get-all-prose-response.d.ts +3 -0
  179. package/dist/types/get-all-prose-response.d.ts.map +1 -0
  180. package/dist/types/get-all-scripts-response.d.ts +3 -0
  181. package/dist/types/get-all-scripts-response.d.ts.map +1 -0
  182. package/dist/types/get-current-access-token-form.d.ts +8 -0
  183. package/dist/types/get-current-access-token-form.d.ts.map +1 -0
  184. package/dist/types/index.d.ts +105 -7
  185. package/dist/types/index.d.ts.map +1 -1
  186. package/dist/types/mime-type.d.ts +2 -2
  187. package/dist/types/mime-type.d.ts.map +1 -1
  188. package/dist/types/oauth-login-response-vo.d.ts +18 -0
  189. package/dist/types/oauth-login-response-vo.d.ts.map +1 -0
  190. package/dist/types/order-content-item.d.ts +20 -0
  191. package/dist/types/order-content-item.d.ts.map +1 -0
  192. package/dist/types/page-content-vote-vo.d.ts +2 -2
  193. package/dist/types/page-content-vote-vo.d.ts.map +1 -1
  194. package/dist/types/page-invitation-code-vo.d.ts +2 -2
  195. package/dist/types/page-invitation-code-vo.d.ts.map +1 -1
  196. package/dist/types/page-invitation-relation-vo.d.ts +2 -2
  197. package/dist/types/page-invitation-relation-vo.d.ts.map +1 -1
  198. package/dist/types/page-plus-account-history-vo.d.ts +2 -2
  199. package/dist/types/page-plus-account-history-vo.d.ts.map +1 -1
  200. package/dist/types/page-plus-account-vo.d.ts +2 -2
  201. package/dist/types/page-plus-account-vo.d.ts.map +1 -1
  202. package/dist/types/page-plus-agent-skill-package-vo.d.ts +17 -0
  203. package/dist/types/page-plus-agent-skill-package-vo.d.ts.map +1 -0
  204. package/dist/types/page-plus-agent-skill-vo.d.ts +17 -0
  205. package/dist/types/page-plus-agent-skill-vo.d.ts.map +1 -0
  206. package/dist/types/page-plus-ai-agent-tool-vo.d.ts +2 -2
  207. package/dist/types/page-plus-ai-agent-tool-vo.d.ts.map +1 -1
  208. package/dist/types/page-plus-ai-agent-vo.d.ts +2 -2
  209. package/dist/types/page-plus-ai-agent-vo.d.ts.map +1 -1
  210. package/dist/types/page-plus-ai-generation-content-vo.d.ts +2 -2
  211. package/dist/types/page-plus-ai-generation-content-vo.d.ts.map +1 -1
  212. package/dist/types/page-plus-ai-generation-vo.d.ts +2 -2
  213. package/dist/types/page-plus-ai-generation-vo.d.ts.map +1 -1
  214. package/dist/types/page-plus-ai-model-info-vo.d.ts +2 -2
  215. package/dist/types/page-plus-ai-model-info-vo.d.ts.map +1 -1
  216. package/dist/types/page-plus-ai-model-price-vo.d.ts +2 -2
  217. package/dist/types/page-plus-ai-model-price-vo.d.ts.map +1 -1
  218. package/dist/types/page-plus-ai-prompt-vo.d.ts +2 -2
  219. package/dist/types/page-plus-ai-prompt-vo.d.ts.map +1 -1
  220. package/dist/types/page-plus-ai-tool-vo.d.ts +2 -2
  221. package/dist/types/page-plus-ai-tool-vo.d.ts.map +1 -1
  222. package/dist/types/page-plus-api-key-vo.d.ts +2 -2
  223. package/dist/types/page-plus-api-key-vo.d.ts.map +1 -1
  224. package/dist/types/page-plus-api-security-policy-vo.d.ts +17 -0
  225. package/dist/types/page-plus-api-security-policy-vo.d.ts.map +1 -0
  226. package/dist/types/page-plus-app-vo.d.ts +2 -2
  227. package/dist/types/page-plus-app-vo.d.ts.map +1 -1
  228. package/dist/types/page-plus-article-vo.d.ts +2 -2
  229. package/dist/types/page-plus-article-vo.d.ts.map +1 -1
  230. package/dist/types/page-plus-attribute-vo.d.ts +2 -2
  231. package/dist/types/page-plus-attribute-vo.d.ts.map +1 -1
  232. package/dist/types/page-plus-card-template-vo.d.ts +2 -2
  233. package/dist/types/page-plus-card-template-vo.d.ts.map +1 -1
  234. package/dist/types/page-plus-card-vo.d.ts +2 -2
  235. package/dist/types/page-plus-card-vo.d.ts.map +1 -1
  236. package/dist/types/page-plus-category-vo.d.ts +2 -2
  237. package/dist/types/page-plus-category-vo.d.ts.map +1 -1
  238. package/dist/types/page-plus-channel-account-vo.d.ts +2 -2
  239. package/dist/types/page-plus-channel-account-vo.d.ts.map +1 -1
  240. package/dist/types/page-plus-channel-proxy-vo.d.ts +17 -0
  241. package/dist/types/page-plus-channel-proxy-vo.d.ts.map +1 -0
  242. package/dist/types/page-plus-channel-resource-vo.d.ts +2 -2
  243. package/dist/types/page-plus-channel-resource-vo.d.ts.map +1 -1
  244. package/dist/types/page-plus-channel-vo.d.ts +17 -0
  245. package/dist/types/page-plus-channel-vo.d.ts.map +1 -0
  246. package/dist/types/page-plus-character-vo.d.ts +2 -2
  247. package/dist/types/page-plus-character-vo.d.ts.map +1 -1
  248. package/dist/types/page-plus-chat-message-content-vo.d.ts +2 -2
  249. package/dist/types/page-plus-chat-message-content-vo.d.ts.map +1 -1
  250. package/dist/types/page-plus-chat-message-vo.d.ts +2 -2
  251. package/dist/types/page-plus-chat-message-vo.d.ts.map +1 -1
  252. package/dist/types/page-plus-collection-item-vo.d.ts +2 -2
  253. package/dist/types/page-plus-collection-item-vo.d.ts.map +1 -1
  254. package/dist/types/page-plus-collection-vo.d.ts +2 -2
  255. package/dist/types/page-plus-collection-vo.d.ts.map +1 -1
  256. package/dist/types/page-plus-column-vo.d.ts +2 -2
  257. package/dist/types/page-plus-column-vo.d.ts.map +1 -1
  258. package/dist/types/page-plus-comments-vo.d.ts +2 -2
  259. package/dist/types/page-plus-comments-vo.d.ts.map +1 -1
  260. package/dist/types/page-plus-conversation-vo.d.ts +2 -2
  261. package/dist/types/page-plus-conversation-vo.d.ts.map +1 -1
  262. package/dist/types/page-plus-coupon-template-vo.d.ts +2 -2
  263. package/dist/types/page-plus-coupon-template-vo.d.ts.map +1 -1
  264. package/dist/types/page-plus-coupon-vo.d.ts +2 -2
  265. package/dist/types/page-plus-coupon-vo.d.ts.map +1 -1
  266. package/dist/types/page-plus-datasource-vo.d.ts +2 -2
  267. package/dist/types/page-plus-datasource-vo.d.ts.map +1 -1
  268. package/dist/types/page-plus-department-vo.d.ts +2 -2
  269. package/dist/types/page-plus-department-vo.d.ts.map +1 -1
  270. package/dist/types/page-plus-detail-vo.d.ts +2 -2
  271. package/dist/types/page-plus-detail-vo.d.ts.map +1 -1
  272. package/dist/types/page-plus-disk-member-vo.d.ts +2 -2
  273. package/dist/types/page-plus-disk-member-vo.d.ts.map +1 -1
  274. package/dist/types/page-plus-disk-vo.d.ts +2 -2
  275. package/dist/types/page-plus-disk-vo.d.ts.map +1 -1
  276. package/dist/types/page-plus-dns-record-vo.d.ts +2 -2
  277. package/dist/types/page-plus-dns-record-vo.d.ts.map +1 -1
  278. package/dist/types/page-plus-favorite-vo.d.ts +2 -2
  279. package/dist/types/page-plus-favorite-vo.d.ts.map +1 -1
  280. package/dist/types/page-plus-feedback-vo.d.ts +2 -2
  281. package/dist/types/page-plus-feedback-vo.d.ts.map +1 -1
  282. package/dist/types/page-plus-feeds-vo.d.ts +2 -2
  283. package/dist/types/page-plus-feeds-vo.d.ts.map +1 -1
  284. package/dist/types/page-plus-file-content-vo.d.ts +2 -2
  285. package/dist/types/page-plus-file-content-vo.d.ts.map +1 -1
  286. package/dist/types/page-plus-file-part-vo.d.ts +2 -2
  287. package/dist/types/page-plus-file-part-vo.d.ts.map +1 -1
  288. package/dist/types/page-plus-file-vo.d.ts +2 -2
  289. package/dist/types/page-plus-file-vo.d.ts.map +1 -1
  290. package/dist/types/page-plus-host-domain-vo.d.ts +2 -2
  291. package/dist/types/page-plus-host-domain-vo.d.ts.map +1 -1
  292. package/dist/types/page-plus-im-group-vo.d.ts +2 -2
  293. package/dist/types/page-plus-im-group-vo.d.ts.map +1 -1
  294. package/dist/types/page-plus-image-vo.d.ts +2 -2
  295. package/dist/types/page-plus-image-vo.d.ts.map +1 -1
  296. package/dist/types/page-plus-invoke-record-vo.d.ts +2 -2
  297. package/dist/types/page-plus-invoke-record-vo.d.ts.map +1 -1
  298. package/dist/types/page-plus-knowledge-base-vo.d.ts +2 -2
  299. package/dist/types/page-plus-knowledge-base-vo.d.ts.map +1 -1
  300. package/dist/types/page-plus-media-publish-record-dto.d.ts +17 -0
  301. package/dist/types/page-plus-media-publish-record-dto.d.ts.map +1 -0
  302. package/dist/types/page-plus-member-card-vo.d.ts +2 -2
  303. package/dist/types/page-plus-member-card-vo.d.ts.map +1 -1
  304. package/dist/types/page-plus-member-level-vo.d.ts +2 -2
  305. package/dist/types/page-plus-member-level-vo.d.ts.map +1 -1
  306. package/dist/types/page-plus-member-relations-vo.d.ts +2 -2
  307. package/dist/types/page-plus-member-relations-vo.d.ts.map +1 -1
  308. package/dist/types/page-plus-message.d.ts +2 -2
  309. package/dist/types/page-plus-message.d.ts.map +1 -1
  310. package/dist/types/page-plus-music-vo.d.ts +2 -2
  311. package/dist/types/page-plus-music-vo.d.ts.map +1 -1
  312. package/dist/types/page-plus-news-vo.d.ts +2 -2
  313. package/dist/types/page-plus-news-vo.d.ts.map +1 -1
  314. package/dist/types/page-plus-notes-vo.d.ts +2 -2
  315. package/dist/types/page-plus-notes-vo.d.ts.map +1 -1
  316. package/dist/types/page-plus-notification-vo.d.ts +2 -2
  317. package/dist/types/page-plus-notification-vo.d.ts.map +1 -1
  318. package/dist/types/page-plus-order-item-vo.d.ts +2 -2
  319. package/dist/types/page-plus-order-item-vo.d.ts.map +1 -1
  320. package/dist/types/page-plus-order-vo.d.ts +2 -2
  321. package/dist/types/page-plus-order-vo.d.ts.map +1 -1
  322. package/dist/types/page-plus-organization-member-vo.d.ts +2 -2
  323. package/dist/types/page-plus-organization-member-vo.d.ts.map +1 -1
  324. package/dist/types/page-plus-organization-vo.d.ts +2 -2
  325. package/dist/types/page-plus-organization-vo.d.ts.map +1 -1
  326. package/dist/types/page-plus-oss-bucket-vo.d.ts +2 -2
  327. package/dist/types/page-plus-oss-bucket-vo.d.ts.map +1 -1
  328. package/dist/types/page-plus-participant-vo.d.ts +2 -2
  329. package/dist/types/page-plus-participant-vo.d.ts.map +1 -1
  330. package/dist/types/page-plus-partner-vo.d.ts +2 -2
  331. package/dist/types/page-plus-partner-vo.d.ts.map +1 -1
  332. package/dist/types/page-plus-payment-vo.d.ts +2 -2
  333. package/dist/types/page-plus-payment-vo.d.ts.map +1 -1
  334. package/dist/types/page-plus-permission-vo.d.ts +17 -0
  335. package/dist/types/page-plus-permission-vo.d.ts.map +1 -0
  336. package/dist/types/page-plus-position-vo.d.ts +2 -2
  337. package/dist/types/page-plus-position-vo.d.ts.map +1 -1
  338. package/dist/types/page-plus-ppt-template-slide-vo.d.ts +2 -2
  339. package/dist/types/page-plus-ppt-template-slide-vo.d.ts.map +1 -1
  340. package/dist/types/page-plus-ppt-template-vo.d.ts +2 -2
  341. package/dist/types/page-plus-ppt-template-vo.d.ts.map +1 -1
  342. package/dist/types/page-plus-product-vo.d.ts +2 -2
  343. package/dist/types/page-plus-product-vo.d.ts.map +1 -1
  344. package/dist/types/page-plus-project-vo.d.ts +2 -2
  345. package/dist/types/page-plus-project-vo.d.ts.map +1 -1
  346. package/dist/types/page-plus-refund-vo.d.ts +2 -2
  347. package/dist/types/page-plus-refund-vo.d.ts.map +1 -1
  348. package/dist/types/page-plus-role-permission-vo.d.ts +2 -2
  349. package/dist/types/page-plus-role-permission-vo.d.ts.map +1 -1
  350. package/dist/types/page-plus-role-vo.d.ts +2 -2
  351. package/dist/types/page-plus-role-vo.d.ts.map +1 -1
  352. package/dist/types/page-plus-schema-vo.d.ts +2 -2
  353. package/dist/types/page-plus-schema-vo.d.ts.map +1 -1
  354. package/dist/types/page-plus-sharding-key-vo.d.ts +2 -2
  355. package/dist/types/page-plus-sharding-key-vo.d.ts.map +1 -1
  356. package/dist/types/page-plus-share-visit-record-vo.d.ts +2 -2
  357. package/dist/types/page-plus-share-visit-record-vo.d.ts.map +1 -1
  358. package/dist/types/page-plus-share-vo.d.ts +2 -2
  359. package/dist/types/page-plus-share-vo.d.ts.map +1 -1
  360. package/dist/types/page-plus-shop-vo.d.ts +2 -2
  361. package/dist/types/page-plus-shop-vo.d.ts.map +1 -1
  362. package/dist/types/page-plus-shopping-cart-item-vo.d.ts +2 -2
  363. package/dist/types/page-plus-shopping-cart-item-vo.d.ts.map +1 -1
  364. package/dist/types/page-plus-shopping-cart-vo.d.ts +2 -2
  365. package/dist/types/page-plus-shopping-cart-vo.d.ts.map +1 -1
  366. package/dist/types/page-plus-sku-vo.d.ts +2 -2
  367. package/dist/types/page-plus-sku-vo.d.ts.map +1 -1
  368. package/dist/types/page-plus-system-invoice-vo.d.ts +17 -0
  369. package/dist/types/page-plus-system-invoice-vo.d.ts.map +1 -0
  370. package/dist/types/page-plus-table-vo.d.ts +2 -2
  371. package/dist/types/page-plus-table-vo.d.ts.map +1 -1
  372. package/dist/types/page-plus-tenant-audit-log-vo.d.ts +17 -0
  373. package/dist/types/page-plus-tenant-audit-log-vo.d.ts.map +1 -0
  374. package/dist/types/page-plus-tenant-vo.d.ts +2 -2
  375. package/dist/types/page-plus-tenant-vo.d.ts.map +1 -1
  376. package/dist/types/page-plus-user-address-vo.d.ts +2 -2
  377. package/dist/types/page-plus-user-address-vo.d.ts.map +1 -1
  378. package/dist/types/page-plus-user-card-vo.d.ts +2 -2
  379. package/dist/types/page-plus-user-card-vo.d.ts.map +1 -1
  380. package/dist/types/page-plus-user-coupon-vo.d.ts +2 -2
  381. package/dist/types/page-plus-user-coupon-vo.d.ts.map +1 -1
  382. package/dist/types/page-plus-user-oauth-account-vo.d.ts +2 -2
  383. package/dist/types/page-plus-user-oauth-account-vo.d.ts.map +1 -1
  384. package/dist/types/page-plus-user-role-vo.d.ts +2 -2
  385. package/dist/types/page-plus-user-role-vo.d.ts.map +1 -1
  386. package/dist/types/page-plus-user-vo.d.ts +2 -2
  387. package/dist/types/page-plus-user-vo.d.ts.map +1 -1
  388. package/dist/types/page-plus-video-vo.d.ts +2 -2
  389. package/dist/types/page-plus-video-vo.d.ts.map +1 -1
  390. package/dist/types/page-plus-vip-benefit-usage-vo.d.ts +2 -2
  391. package/dist/types/page-plus-vip-benefit-usage-vo.d.ts.map +1 -1
  392. package/dist/types/page-plus-vip-benefit-vo.d.ts +2 -2
  393. package/dist/types/page-plus-vip-benefit-vo.d.ts.map +1 -1
  394. package/dist/types/page-plus-vip-level-benefit-vo.d.ts +2 -2
  395. package/dist/types/page-plus-vip-level-benefit-vo.d.ts.map +1 -1
  396. package/dist/types/page-plus-vip-level-vo.d.ts +2 -2
  397. package/dist/types/page-plus-vip-level-vo.d.ts.map +1 -1
  398. package/dist/types/page-plus-vip-pack-group-vo.d.ts +2 -2
  399. package/dist/types/page-plus-vip-pack-group-vo.d.ts.map +1 -1
  400. package/dist/types/page-plus-vip-pack-vo.d.ts +2 -2
  401. package/dist/types/page-plus-vip-pack-vo.d.ts.map +1 -1
  402. package/dist/types/page-plus-vip-point-change-vo.d.ts +2 -2
  403. package/dist/types/page-plus-vip-point-change-vo.d.ts.map +1 -1
  404. package/dist/types/page-plus-vip-recharge-pack-vo.d.ts +2 -2
  405. package/dist/types/page-plus-vip-recharge-pack-vo.d.ts.map +1 -1
  406. package/dist/types/page-plus-vip-recharge-vo.d.ts +2 -2
  407. package/dist/types/page-plus-vip-recharge-vo.d.ts.map +1 -1
  408. package/dist/types/page-plus-vip-user-vo.d.ts +2 -2
  409. package/dist/types/page-plus-vip-user-vo.d.ts.map +1 -1
  410. package/dist/types/page-plus-visit-history-vo.d.ts +2 -2
  411. package/dist/types/page-plus-visit-history-vo.d.ts.map +1 -1
  412. package/dist/types/page-plus-voice-speaker-vo.d.ts +2 -2
  413. package/dist/types/page-plus-voice-speaker-vo.d.ts.map +1 -1
  414. package/dist/types/page-plus-workspace-vo.d.ts +2 -2
  415. package/dist/types/page-plus-workspace-vo.d.ts.map +1 -1
  416. package/dist/types/page-short-url-vo.d.ts +2 -2
  417. package/dist/types/page-short-url-vo.d.ts.map +1 -1
  418. package/dist/types/page-usage-record-vo.d.ts +2 -2
  419. package/dist/types/page-usage-record-vo.d.ts.map +1 -1
  420. package/dist/types/pageable-object.d.ts +1 -1
  421. package/dist/types/pageable-object.d.ts.map +1 -1
  422. package/dist/types/phone-verification-form.d.ts +2 -2
  423. package/dist/types/phone-verification-form.d.ts.map +1 -1
  424. package/dist/types/plus-agent-skill-batch-review-form.d.ts +8 -0
  425. package/dist/types/plus-agent-skill-batch-review-form.d.ts.map +1 -0
  426. package/dist/types/plus-agent-skill-feature-form.d.ts +8 -0
  427. package/dist/types/plus-agent-skill-feature-form.d.ts.map +1 -0
  428. package/dist/types/plus-agent-skill-form.d.ts +58 -0
  429. package/dist/types/plus-agent-skill-form.d.ts.map +1 -0
  430. package/dist/types/plus-agent-skill-package-form.d.ts +28 -0
  431. package/dist/types/plus-agent-skill-package-form.d.ts.map +1 -0
  432. package/dist/types/plus-agent-skill-package-query-list-form.d.ts +17 -0
  433. package/dist/types/plus-agent-skill-package-query-list-form.d.ts.map +1 -0
  434. package/dist/types/plus-agent-skill-package-vo.d.ts +46 -0
  435. package/dist/types/plus-agent-skill-package-vo.d.ts.map +1 -0
  436. package/dist/types/plus-agent-skill-query-list-form.d.ts +29 -0
  437. package/dist/types/plus-agent-skill-query-list-form.d.ts.map +1 -0
  438. package/dist/types/plus-agent-skill-review-form.d.ts +6 -0
  439. package/dist/types/plus-agent-skill-review-form.d.ts.map +1 -0
  440. package/dist/types/plus-agent-skill-vo.d.ts +98 -0
  441. package/dist/types/plus-agent-skill-vo.d.ts.map +1 -0
  442. package/dist/types/plus-agent.d.ts +12 -12
  443. package/dist/types/plus-agent.d.ts.map +1 -1
  444. package/dist/types/plus-ai-model-info-query-list-form.d.ts +19 -0
  445. package/dist/types/plus-ai-model-info-query-list-form.d.ts.map +1 -0
  446. package/dist/types/plus-api-key-self-create-form.d.ts +12 -0
  447. package/dist/types/plus-api-key-self-create-form.d.ts.map +1 -0
  448. package/dist/types/plus-api-key-self-update-form.d.ts +12 -0
  449. package/dist/types/plus-api-key-self-update-form.d.ts.map +1 -0
  450. package/dist/types/plus-api-key-vo.d.ts +2 -0
  451. package/dist/types/plus-api-key-vo.d.ts.map +1 -1
  452. package/dist/types/plus-api-result-account-exchange-rate-vo.d.ts +19 -0
  453. package/dist/types/plus-api-result-account-exchange-rate-vo.d.ts.map +1 -0
  454. package/dist/types/plus-api-result-booking-order-vo.d.ts +19 -0
  455. package/dist/types/plus-api-result-booking-order-vo.d.ts.map +1 -0
  456. package/dist/types/plus-api-result-current-access-token-vo.d.ts +19 -0
  457. package/dist/types/plus-api-result-current-access-token-vo.d.ts.map +1 -0
  458. package/dist/types/plus-api-result-list-long.d.ts +18 -0
  459. package/dist/types/plus-api-result-list-long.d.ts.map +1 -0
  460. package/dist/types/plus-api-result-list-plus-agent-skill-package-vo.d.ts +19 -0
  461. package/dist/types/plus-api-result-list-plus-agent-skill-package-vo.d.ts.map +1 -0
  462. package/dist/types/plus-api-result-list-plus-agent-skill-vo.d.ts +19 -0
  463. package/dist/types/plus-api-result-list-plus-agent-skill-vo.d.ts.map +1 -0
  464. package/dist/types/plus-api-result-list-plus-api-security-policy-vo.d.ts +19 -0
  465. package/dist/types/plus-api-result-list-plus-api-security-policy-vo.d.ts.map +1 -0
  466. package/dist/types/plus-api-result-list-plus-channel-proxy-vo.d.ts +19 -0
  467. package/dist/types/plus-api-result-list-plus-channel-proxy-vo.d.ts.map +1 -0
  468. package/dist/types/plus-api-result-list-plus-channel-vo.d.ts +19 -0
  469. package/dist/types/plus-api-result-list-plus-channel-vo.d.ts.map +1 -0
  470. package/dist/types/plus-api-result-list-plus-permission-vo.d.ts +19 -0
  471. package/dist/types/plus-api-result-list-plus-permission-vo.d.ts.map +1 -0
  472. package/dist/types/plus-api-result-oauth-login-response-vo.d.ts +19 -0
  473. package/dist/types/plus-api-result-oauth-login-response-vo.d.ts.map +1 -0
  474. package/dist/types/plus-api-result-page-plus-agent-skill-package-vo.d.ts +19 -0
  475. package/dist/types/plus-api-result-page-plus-agent-skill-package-vo.d.ts.map +1 -0
  476. package/dist/types/plus-api-result-page-plus-agent-skill-vo.d.ts +19 -0
  477. package/dist/types/plus-api-result-page-plus-agent-skill-vo.d.ts.map +1 -0
  478. package/dist/types/plus-api-result-page-plus-api-security-policy-vo.d.ts +19 -0
  479. package/dist/types/plus-api-result-page-plus-api-security-policy-vo.d.ts.map +1 -0
  480. package/dist/types/plus-api-result-page-plus-channel-proxy-vo.d.ts +19 -0
  481. package/dist/types/plus-api-result-page-plus-channel-proxy-vo.d.ts.map +1 -0
  482. package/dist/types/plus-api-result-page-plus-channel-vo.d.ts +19 -0
  483. package/dist/types/plus-api-result-page-plus-channel-vo.d.ts.map +1 -0
  484. package/dist/types/plus-api-result-page-plus-media-publish-record-dto.d.ts +19 -0
  485. package/dist/types/plus-api-result-page-plus-media-publish-record-dto.d.ts.map +1 -0
  486. package/dist/types/plus-api-result-page-plus-permission-vo.d.ts +19 -0
  487. package/dist/types/plus-api-result-page-plus-permission-vo.d.ts.map +1 -0
  488. package/dist/types/plus-api-result-page-plus-system-invoice-vo.d.ts +19 -0
  489. package/dist/types/plus-api-result-page-plus-system-invoice-vo.d.ts.map +1 -0
  490. package/dist/types/plus-api-result-page-plus-tenant-audit-log-vo.d.ts +19 -0
  491. package/dist/types/plus-api-result-page-plus-tenant-audit-log-vo.d.ts.map +1 -0
  492. package/dist/types/plus-api-result-plus-agent-skill-package-vo.d.ts +19 -0
  493. package/dist/types/plus-api-result-plus-agent-skill-package-vo.d.ts.map +1 -0
  494. package/dist/types/plus-api-result-plus-agent-skill-vo.d.ts +19 -0
  495. package/dist/types/plus-api-result-plus-agent-skill-vo.d.ts.map +1 -0
  496. package/dist/types/plus-api-result-plus-api-security-policy-vo.d.ts +19 -0
  497. package/dist/types/plus-api-result-plus-api-security-policy-vo.d.ts.map +1 -0
  498. package/dist/types/plus-api-result-plus-channel-proxy-vo.d.ts +19 -0
  499. package/dist/types/plus-api-result-plus-channel-proxy-vo.d.ts.map +1 -0
  500. package/dist/types/plus-api-result-plus-channel-vo.d.ts +19 -0
  501. package/dist/types/plus-api-result-plus-channel-vo.d.ts.map +1 -0
  502. package/dist/types/plus-api-result-plus-media-publish-result-dto.d.ts +19 -0
  503. package/dist/types/plus-api-result-plus-media-publish-result-dto.d.ts.map +1 -0
  504. package/dist/types/plus-api-result-plus-permission-vo.d.ts +19 -0
  505. package/dist/types/plus-api-result-plus-permission-vo.d.ts.map +1 -0
  506. package/dist/types/plus-api-result-plus-system-invoice-vo.d.ts +19 -0
  507. package/dist/types/plus-api-result-plus-system-invoice-vo.d.ts.map +1 -0
  508. package/dist/types/plus-api-result-qr-code-status-vo.d.ts +19 -0
  509. package/dist/types/plus-api-result-qr-code-status-vo.d.ts.map +1 -0
  510. package/dist/types/plus-api-result-qr-code-vo.d.ts +19 -0
  511. package/dist/types/plus-api-result-qr-code-vo.d.ts.map +1 -0
  512. package/dist/types/plus-api-security-policy-form.d.ts +28 -0
  513. package/dist/types/plus-api-security-policy-form.d.ts.map +1 -0
  514. package/dist/types/plus-api-security-policy-vo.d.ts +20 -0
  515. package/dist/types/plus-api-security-policy-vo.d.ts.map +1 -0
  516. package/dist/types/plus-app-form.d.ts +8 -0
  517. package/dist/types/plus-app-form.d.ts.map +1 -1
  518. package/dist/types/plus-app-vo.d.ts +8 -0
  519. package/dist/types/plus-app-vo.d.ts.map +1 -1
  520. package/dist/types/plus-channel-form.d.ts +16 -0
  521. package/dist/types/plus-channel-form.d.ts.map +1 -0
  522. package/dist/types/plus-channel-proxy-form.d.ts +16 -0
  523. package/dist/types/plus-channel-proxy-form.d.ts.map +1 -0
  524. package/dist/types/plus-channel-proxy-vo.d.ts +26 -0
  525. package/dist/types/plus-channel-proxy-vo.d.ts.map +1 -0
  526. package/dist/types/plus-channel-vo.d.ts +26 -0
  527. package/dist/types/plus-channel-vo.d.ts.map +1 -0
  528. package/dist/types/plus-coupon-form.d.ts +9 -1
  529. package/dist/types/plus-coupon-form.d.ts.map +1 -1
  530. package/dist/types/plus-coupon-template-form.d.ts +2 -2
  531. package/dist/types/plus-coupon-template-form.d.ts.map +1 -1
  532. package/dist/types/plus-coupon-template-vo.d.ts +2 -2
  533. package/dist/types/plus-coupon-template-vo.d.ts.map +1 -1
  534. package/dist/types/plus-coupon-vo.d.ts +9 -1
  535. package/dist/types/plus-coupon-vo.d.ts.map +1 -1
  536. package/dist/types/plus-dns-record-vo.d.ts +1 -1
  537. package/dist/types/plus-dns-record-vo.d.ts.map +1 -1
  538. package/dist/types/plus-im-message-mark-read-form.d.ts +6 -0
  539. package/dist/types/plus-im-message-mark-read-form.d.ts.map +1 -0
  540. package/dist/types/plus-im-message-query-form.d.ts +17 -0
  541. package/dist/types/plus-im-message-query-form.d.ts.map +1 -0
  542. package/dist/types/plus-media-publish-item-result-dto.d.ts +14 -0
  543. package/dist/types/plus-media-publish-item-result-dto.d.ts.map +1 -0
  544. package/dist/types/plus-media-publish-record-dto.d.ts +26 -0
  545. package/dist/types/plus-media-publish-record-dto.d.ts.map +1 -0
  546. package/dist/types/plus-media-publish-result-dto.d.ts +15 -0
  547. package/dist/types/plus-media-publish-result-dto.d.ts.map +1 -0
  548. package/dist/types/plus-notes-form.d.ts +2 -0
  549. package/dist/types/plus-notes-form.d.ts.map +1 -1
  550. package/dist/types/plus-notes-media-draft-form.d.ts +13 -0
  551. package/dist/types/plus-notes-media-draft-form.d.ts.map +1 -0
  552. package/dist/types/plus-notes-media-preview-form.d.ts +12 -0
  553. package/dist/types/plus-notes-media-preview-form.d.ts.map +1 -0
  554. package/dist/types/plus-notes-media-publish-draft-form.d.ts +12 -0
  555. package/dist/types/plus-notes-media-publish-draft-form.d.ts.map +1 -0
  556. package/dist/types/plus-notes-publish-article-form.d.ts +26 -0
  557. package/dist/types/plus-notes-publish-article-form.d.ts.map +1 -0
  558. package/dist/types/plus-order-form.d.ts +1 -1
  559. package/dist/types/plus-order-form.d.ts.map +1 -1
  560. package/dist/types/plus-order-vo.d.ts +1 -1
  561. package/dist/types/plus-order-vo.d.ts.map +1 -1
  562. package/dist/types/plus-permission-form.d.ts +18 -0
  563. package/dist/types/plus-permission-form.d.ts.map +1 -0
  564. package/dist/types/plus-permission-vo.d.ts +26 -0
  565. package/dist/types/plus-permission-vo.d.ts.map +1 -0
  566. package/dist/types/plus-project-object.d.ts +6 -6
  567. package/dist/types/plus-project-object.d.ts.map +1 -1
  568. package/dist/types/plus-system-invoice-apply-form.d.ts +18 -0
  569. package/dist/types/plus-system-invoice-apply-form.d.ts.map +1 -0
  570. package/dist/types/plus-system-invoice-vo.d.ts +30 -0
  571. package/dist/types/plus-system-invoice-vo.d.ts.map +1 -0
  572. package/dist/types/plus-temp-session-vo.d.ts +21 -1
  573. package/dist/types/plus-temp-session-vo.d.ts.map +1 -1
  574. package/dist/types/plus-tenant-audit-log-vo.d.ts +26 -0
  575. package/dist/types/plus-tenant-audit-log-vo.d.ts.map +1 -0
  576. package/dist/types/plus-tree-node-plus-category-vo.d.ts +1 -1
  577. package/dist/types/plus-tree-node-plus-category-vo.d.ts.map +1 -1
  578. package/dist/types/plus-tree-node-plus-file-vo.d.ts +1 -1
  579. package/dist/types/plus-tree-node-plus-file-vo.d.ts.map +1 -1
  580. package/dist/types/plus-upload-form.d.ts +13 -1
  581. package/dist/types/plus-upload-form.d.ts.map +1 -1
  582. package/dist/types/plus-user-coupon-form.d.ts +10 -0
  583. package/dist/types/plus-user-coupon-form.d.ts.map +1 -1
  584. package/dist/types/plus-user-coupon-vo.d.ts +10 -0
  585. package/dist/types/plus-user-coupon-vo.d.ts.map +1 -1
  586. package/dist/types/plus-vip-point-change-form.d.ts +1 -1
  587. package/dist/types/plus-vip-point-change-form.d.ts.map +1 -1
  588. package/dist/types/plus-vip-point-change-vo.d.ts +1 -1
  589. package/dist/types/plus-vip-point-change-vo.d.ts.map +1 -1
  590. package/dist/types/plus-workspace-form.d.ts +1 -1
  591. package/dist/types/plus-workspace-form.d.ts.map +1 -1
  592. package/dist/types/plus-workspace-vo.d.ts +1 -1
  593. package/dist/types/plus-workspace-vo.d.ts.map +1 -1
  594. package/dist/types/prompt.d.ts +2 -2
  595. package/dist/types/prompt.d.ts.map +1 -1
  596. package/dist/types/qr-code-confirm-form.d.ts +8 -0
  597. package/dist/types/qr-code-confirm-form.d.ts.map +1 -0
  598. package/dist/types/qr-code-status-vo.d.ts +16 -0
  599. package/dist/types/qr-code-status-vo.d.ts.map +1 -0
  600. package/dist/types/qr-code-vo.d.ts +16 -0
  601. package/dist/types/qr-code-vo.d.ts.map +1 -0
  602. package/dist/types/send-verification-code-form.d.ts +3 -3
  603. package/dist/types/send-verification-code-form.d.ts.map +1 -1
  604. package/dist/types/upload-file-request.d.ts +1 -1
  605. package/dist/types/upload-file-request.d.ts.map +1 -1
  606. package/dist/types/voice-speaker-generation-input.d.ts +1 -1
  607. package/dist/types/voice-speaker-generation-input.d.ts.map +1 -1
  608. package/package.json +1 -1
  609. package/dist/api/ai-agent-chat.d.ts +0 -16
  610. package/dist/api/ai-agent-chat.d.ts.map +0 -1
  611. package/dist/api/ai-agent-tool-relationship.d.ts.map +0 -1
  612. package/dist/api/ai-agent.d.ts.map +0 -1
  613. package/dist/api/ai-article.d.ts.map +0 -1
  614. package/dist/api/ai-audio-effect-generation.d.ts.map +0 -1
  615. package/dist/api/ai-audio-generation.d.ts.map +0 -1
  616. package/dist/api/ai-category.d.ts.map +0 -1
  617. package/dist/api/ai-character-generation.d.ts.map +0 -1
  618. package/dist/api/ai-chat.d.ts +0 -12
  619. package/dist/api/ai-chat.d.ts.map +0 -1
  620. package/dist/api/ai-conversation.d.ts.map +0 -1
  621. package/dist/api/ai-generation-content.d.ts.map +0 -1
  622. package/dist/api/ai-generation.d.ts.map +0 -1
  623. package/dist/api/ai-image-generation.d.ts.map +0 -1
  624. package/dist/api/ai-model-information.d.ts.map +0 -1
  625. package/dist/api/ai-model-price.d.ts.map +0 -1
  626. package/dist/api/ai-music-generation.d.ts.map +0 -1
  627. package/dist/api/ai-prompt.d.ts.map +0 -1
  628. package/dist/api/ai-tool.d.ts.map +0 -1
  629. package/dist/api/ai-usage-record.d.ts.map +0 -1
  630. package/dist/api/ai-video-generation.d.ts.map +0 -1
  631. package/dist/api/ai-voice-speaker-generation.d.ts.map +0 -1
  632. package/dist/api/application.d.ts +0 -21
  633. package/dist/api/application.d.ts.map +0 -1
  634. package/dist/api/authentication.d.ts +0 -24
  635. package/dist/api/authentication.d.ts.map +0 -1
  636. package/dist/api/authorization.d.ts +0 -16
  637. package/dist/api/authorization.d.ts.map +0 -1
  638. package/dist/api/host.d.ts.map +0 -1
  639. package/dist/api/oauth-authentication.d.ts +0 -14
  640. package/dist/api/oauth-authentication.d.ts.map +0 -1
  641. package/dist/api/verification.d.ts +0 -14
  642. package/dist/api/verification.d.ts.map +0 -1
  643. package/dist/types/oauth-login-response.d.ts +0 -7
  644. package/dist/types/oauth-login-response.d.ts.map +0 -1
  645. package/dist/types/token-dto.d.ts +0 -9
  646. package/dist/types/token-dto.d.ts.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@sdkwork/sdk-common"),r=class r extends a.BaseHttpClient{constructor(t){super(t)}getInternalAuthConfig(){const t=this;return t.authConfig=t.authConfig||{},t.authConfig}getInternalHeaders(){const t=this;return t.config=t.config||{},t.config.headers=t.config.headers||{},t.config.headers}setApiKey(t){const n=this.getInternalAuthConfig(),s=this.getInternalHeaders();if(n.apiKey=t,n.tokenManager?.clearTokens?.(),r.API_KEY_HEADER==="Authorization"&&r.API_KEY_USE_BEARER){n.authMode="apikey",delete s["Access-Token"];return}n.authMode="dual-token",s[r.API_KEY_HEADER]=r.API_KEY_USE_BEARER?`Bearer ${t}`:t,r.API_KEY_HEADER.toLowerCase()!=="authorization"&&delete s.Authorization,r.API_KEY_HEADER.toLowerCase()!=="access-token"&&delete s["Access-Token"]}setAuthToken(t){const n=this.getInternalHeaders();r.API_KEY_HEADER.toLowerCase()!=="authorization"&&delete n[r.API_KEY_HEADER],super.setAuthToken(t)}setAccessToken(t){const n=this.getInternalHeaders();r.API_KEY_HEADER.toLowerCase()!=="access-token"&&delete n[r.API_KEY_HEADER],super.setAccessToken(t)}setTokenManager(t){const n=Object.getPrototypeOf(r.prototype);if(typeof n.setTokenManager=="function"){n.setTokenManager.call(this,t);return}this.getInternalAuthConfig().tokenManager=t}async request(t,n={}){const s=this.execute;if(typeof s!="function")throw new Error("BaseHttpClient execute method is not available");return a.withRetry(()=>s.call(this,{url:t,method:n.method??"GET",...n}),{maxRetries:3})}async get(t,n,s){return this.request(t,{method:"GET",params:n,headers:s})}async post(t,n,s,c){return this.request(t,{method:"POST",body:n,params:s,headers:c})}async put(t,n,s,c){return this.request(t,{method:"PUT",body:n,params:s,headers:c})}async delete(t,n,s){return this.request(t,{method:"DELETE",params:n,headers:s})}async patch(t,n,s,c){return this.request(t,{method:"PATCH",body:n,params:s,headers:c})}};r.API_KEY_HEADER="Authorization",r.API_KEY_USE_BEARER=!0;let l=r;function p(i){return new l(i)}const o="/backend/v3/api";function e(i){if(!i)return o;if(/^https?:\/\//i.test(i))return i;const t=o.trim(),n=t?`/${t.replace(/^\/+|\/+$/g,"")}`:"",s=i.startsWith("/")?i:`/${i}`;return!n||n==="/"||s===n||s.startsWith(`${n}/`)?s:`${n}${s}`}class u{constructor(t){this.client=t}async update(t){return this.client.put(e("/workspace"),t)}async create(t){return this.client.post(e("/workspace"),t)}async listByPage(t,n){return this.client.post(e("/workspace/list"),t,n)}async listAllEntities(t){return this.client.post(e("/workspace/list/all"),t)}async getById(t){return this.client.get(e(`/workspace/${t}`))}async delete(t){return this.client.delete(e(`/workspace/${t}`))}}function h(i){return new u(i)}class y{constructor(t){this.client=t}async update(t){return this.client.put(e("/vote"),t)}async create(t){return this.client.post(e("/vote"),t)}async listByPage(t,n){return this.client.post(e("/vote/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vote/list/all"),t)}async getById(t){return this.client.get(e(`/vote/${t}`))}async delete(t){return this.client.delete(e(`/vote/${t}`))}}function d(i){return new y(i)}class A{constructor(t){this.client=t}async update(t){return this.client.put(e("/voice/speaker"),t)}async create(t){return this.client.post(e("/voice/speaker"),t)}async listPublic(t,n){return this.client.post(e("/voice/speaker/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/voice/speaker/list"),t,n)}async listAllEntities(t){return this.client.post(e("/voice/speaker/list/all"),t)}async getById(t){return this.client.get(e(`/voice/speaker/${t}`))}async delete(t){return this.client.delete(e(`/voice/speaker/${t}`))}}function g(i){return new A(i)}class m{constructor(t){this.client=t}async update(t){return this.client.put(e("/visit_history"),t)}async create(t){return this.client.post(e("/visit_history"),t)}async listByPage(t,n){return this.client.post(e("/visit_history/list"),t,n)}async listAllEntities(t){return this.client.post(e("/visit_history/list/all"),t)}async getById(t){return this.client.get(e(`/visit_history/${t}`))}async delete(t){return this.client.delete(e(`/visit_history/${t}`))}}function f(i){return new m(i)}class C{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/user"),t)}async create(t){return this.client.post(e("/vip/user"),t)}async listByPage(t,n){return this.client.post(e("/vip/user/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/user/list/all"),t)}async getCurrentUser(){return this.client.post(e("/vip/user/get_current_user"))}async getById(t){return this.client.get(e(`/vip/user/${t}`))}async delete(t){return this.client.delete(e(`/vip/user/${t}`))}}function B(i){return new C(i)}class ${constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/recharge"),t)}async create(t){return this.client.post(e("/vip/recharge"),t)}async listByPage(t,n){return this.client.post(e("/vip/recharge/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/recharge/list/all"),t)}async getById(t){return this.client.get(e(`/vip/recharge/${t}`))}async delete(t){return this.client.delete(e(`/vip/recharge/${t}`))}}function P(i){return new $(i)}class v{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/recharge/pack"),t)}async create(t){return this.client.post(e("/vip/recharge/pack"),t)}async listByPage(t,n){return this.client.post(e("/vip/recharge/pack/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/recharge/pack/list/all"),t)}async getById(t){return this.client.get(e(`/vip/recharge/pack/${t}`))}async delete(t){return this.client.delete(e(`/vip/recharge/pack/${t}`))}}function k(i){return new v(i)}class b{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/point/change"),t)}async create(t){return this.client.post(e("/vip/point/change"),t)}async listByPage(t,n){return this.client.post(e("/vip/point/change/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/point/change/list/all"),t)}async getById(t){return this.client.get(e(`/vip/point/change/${t}`))}async delete(t){return this.client.delete(e(`/vip/point/change/${t}`))}}function w(i){return new b(i)}class I{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/pack_group"),t)}async create(t){return this.client.post(e("/vip/pack_group"),t)}async listPublic(t,n){return this.client.post(e("/vip/pack_group/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/vip/pack_group/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/pack_group/list/all"),t)}async getById(t){return this.client.get(e(`/vip/pack_group/${t}`))}async delete(t){return this.client.delete(e(`/vip/pack_group/${t}`))}}function E(i){return new I(i)}class _{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/pack"),t)}async create(t){return this.client.post(e("/vip/pack"),t)}async listByPage(t,n){return this.client.post(e("/vip/pack/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/pack/list/all"),t)}async getById(t){return this.client.get(e(`/vip/pack/${t}`))}async delete(t){return this.client.delete(e(`/vip/pack/${t}`))}}function R(i){return new _(i)}class T{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/level"),t)}async create(t){return this.client.post(e("/vip/level"),t)}async listByPage(t,n){return this.client.post(e("/vip/level/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/level/list/all"),t)}async getById(t){return this.client.get(e(`/vip/level/${t}`))}async delete(t){return this.client.delete(e(`/vip/level/${t}`))}}function V(i){return new T(i)}class M{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/level/benefit"),t)}async create(t){return this.client.post(e("/vip/level/benefit"),t)}async listByPage(t,n){return this.client.post(e("/vip/level/benefit/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/level/benefit/list/all"),t)}async getById(t){return this.client.get(e(`/vip/level/benefit/${t}`))}async delete(t){return this.client.delete(e(`/vip/level/benefit/${t}`))}}function S(i){return new M(i)}class U{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/benefit"),t)}async create(t){return this.client.post(e("/vip/benefit"),t)}async listByPage(t,n){return this.client.post(e("/vip/benefit/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/benefit/list/all"),t)}async getById(t){return this.client.get(e(`/vip/benefit/${t}`))}async delete(t){return this.client.delete(e(`/vip/benefit/${t}`))}}function G(i){return new U(i)}class z{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/benefit/usage"),t)}async create(t){return this.client.post(e("/vip/benefit/usage"),t)}async listByPage(t,n){return this.client.post(e("/vip/benefit/usage/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/benefit/usage/list/all"),t)}async getById(t){return this.client.get(e(`/vip/benefit/usage/${t}`))}async delete(t){return this.client.delete(e(`/vip/benefit/usage/${t}`))}}function F(i){return new z(i)}class D{constructor(t){this.client=t}async update(t){return this.client.put(e("/video"),t)}async create(t){return this.client.post(e("/video"),t)}async listByPage(t,n){return this.client.post(e("/video/list"),t,n)}async listAllEntities(t){return this.client.post(e("/video/list/all"),t)}async getById(t){return this.client.get(e(`/video/${t}`))}async delete(t){return this.client.delete(e(`/video/${t}`))}}function O(i){return new D(i)}class K{constructor(t){this.client=t}async update(t){return this.client.put(e("/user"),t)}async create(t){return this.client.post(e("/user"),t)}async listByPage(t,n){return this.client.post(e("/user/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/list/all"),t)}async getById(t){return this.client.get(e(`/user/${t}`))}async delete(t){return this.client.delete(e(`/user/${t}`))}async getProfile(){return this.client.get(e("/user/profile"))}}function H(i){return new K(i)}class L{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/oauth/account"),t)}async create(t){return this.client.post(e("/user/oauth/account"),t)}async listByPage(t,n){return this.client.post(e("/user/oauth/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/oauth/account/list/all"),t)}async getById(t){return this.client.get(e(`/user/oauth/account/${t}`))}async delete(t){return this.client.delete(e(`/user/oauth/account/${t}`))}}function j(i){return new L(i)}class N{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/coupon"),t)}async create(t){return this.client.post(e("/user/coupon"),t)}async listByPage(t,n){return this.client.post(e("/user/coupon/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/coupon/list/all"),t)}async getById(t){return this.client.get(e(`/user/coupon/${t}`))}async delete(t){return this.client.delete(e(`/user/coupon/${t}`))}}function Y(i){return new N(i)}class q{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/card"),t)}async create(t){return this.client.post(e("/user/card"),t)}async listByPage(t,n){return this.client.post(e("/user/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/card/list/all"),t)}async getById(t){return this.client.get(e(`/user/card/${t}`))}async delete(t){return this.client.delete(e(`/user/card/${t}`))}}function x(i){return new q(i)}class W{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/address"),t)}async create(t){return this.client.post(e("/user/address"),t)}async listByPage(t,n){return this.client.post(e("/user/address/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/address/list/all"),t)}async getById(t){return this.client.get(e(`/user/address/${t}`))}async delete(t){return this.client.delete(e(`/user/address/${t}`))}}function X(i){return new W(i)}class J{constructor(t){this.client=t}async update(t){return this.client.put(e("/usage/record"),t)}async create(t){return this.client.post(e("/usage/record"),t)}async listByPage(t,n){return this.client.post(e("/usage/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/usage/record/list/all"),t)}async getById(t){return this.client.get(e(`/usage/record/${t}`))}async delete(t){return this.client.delete(e(`/usage/record/${t}`))}}function Q(i){return new J(i)}class Z{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/shopping/cart"),t)}async create(t){return this.client.post(e("/trade/shopping/cart"),t)}async listByPage(t,n){return this.client.post(e("/trade/shopping/cart/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/shopping/cart/list/all"),t)}async getById(t){return this.client.get(e(`/trade/shopping/cart/${t}`))}async delete(t){return this.client.delete(e(`/trade/shopping/cart/${t}`))}}function tt(i){return new Z(i)}class et{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/shopping/cart/item"),t)}async create(t){return this.client.post(e("/trade/shopping/cart/item"),t)}async listByPage(t,n){return this.client.post(e("/trade/shopping/cart/item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/shopping/cart/item/list/all"),t)}async getById(t){return this.client.get(e(`/trade/shopping/cart/item/${t}`))}async delete(t){return this.client.delete(e(`/trade/shopping/cart/item/${t}`))}}function it(i){return new et(i)}class nt{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/refund"),t)}async create(t){return this.client.post(e("/trade/refund"),t)}async listByPage(t,n){return this.client.post(e("/trade/refund/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/refund/list/all"),t)}async getById(t){return this.client.get(e(`/trade/refund/${t}`))}async delete(t){return this.client.delete(e(`/trade/refund/${t}`))}}function st(i){return new nt(i)}class rt{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/payment"),t)}async create(t){return this.client.post(e("/trade/payment"),t)}async checkPaymentStatus(t){return this.client.post(e("/trade/payment/status"),t)}async refund(t){return this.client.post(e("/trade/payment/refund"),t)}async listByPage(t,n){return this.client.post(e("/trade/payment/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/payment/list/all"),t)}async cancel(t){return this.client.post(e("/trade/payment/cancel"),t)}async getById(t){return this.client.get(e(`/trade/payment/${t}`))}async delete(t){return this.client.delete(e(`/trade/payment/${t}`))}}function ct(i){return new rt(i)}class at{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/order"),t)}async create(t){return this.client.post(e("/trade/order"),t)}async ship(t,n){return this.client.post(e(`/trade/order/${t}/ship`),n)}async confirm(t){return this.client.post(e(`/trade/order/${t}/confirm`))}async complete(t){return this.client.post(e(`/trade/order/${t}/complete`))}async close(t){return this.client.post(e(`/trade/order/${t}/close`))}async cancel(t){return this.client.post(e(`/trade/order/${t}/cancel`))}async createVirtual(t){return this.client.post(e("/trade/order/virtual"),t)}async createVip(t){return this.client.post(e("/trade/order/vip"),t)}async createPoints(t){return this.client.post(e("/trade/order/points"),t)}async listByPage(t,n){return this.client.post(e("/trade/order/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/order/list/all"),t)}async createImGroup(t){return this.client.post(e("/trade/order/im_group"),t)}async createGoods(t){return this.client.post(e("/trade/order/goods"),t)}async getById(t){return this.client.get(e(`/trade/order/${t}`))}async delete(t){return this.client.delete(e(`/trade/order/${t}`))}}function lt(i){return new at(i)}class ot{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/order/item"),t)}async create(t){return this.client.post(e("/trade/order/item"),t)}async listByPage(t,n){return this.client.post(e("/trade/order/item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/order/item/list/all"),t)}async getById(t){return this.client.get(e(`/trade/order/item/${t}`))}async delete(t){return this.client.delete(e(`/trade/order/item/${t}`))}}function pt(i){return new ot(i)}class ut{constructor(t){this.client=t}async update(t){return this.client.put(e("/tool"),t)}async create(t){return this.client.post(e("/tool"),t)}async listByPage(t,n){return this.client.post(e("/tool/list"),t,n)}async listAllEntities(t){return this.client.post(e("/tool/list/all"),t)}async getById(t){return this.client.get(e(`/tool/${t}`))}async delete(t){return this.client.delete(e(`/tool/${t}`))}}function ht(i){return new ut(i)}class yt{constructor(t){this.client=t}async update(t){return this.client.put(e("/tenant"),t)}async create(t){return this.client.post(e("/tenant"),t)}async uninstall(t,n){return this.client.post(e(`/tenant/${t}/uninstall`),n)}async install(t,n){return this.client.post(e(`/tenant/${t}/install`),n)}async listByPage(t,n){return this.client.post(e("/tenant/list"),t,n)}async listAllEntities(t){return this.client.post(e("/tenant/list/all"),t)}async getAccessTokens(t){return this.client.post(e("/tenant/get_access_tokens"),t)}async getById(t){return this.client.get(e(`/tenant/${t}`))}async delete(t){return this.client.delete(e(`/tenant/${t}`))}}function dt(i){return new yt(i)}class At{constructor(t){this.client=t}async update(t){return this.client.put(e("/table"),t)}async create(t){return this.client.post(e("/table"),t)}async listByPage(t,n){return this.client.post(e("/table/list"),t,n)}async listAllEntities(t){return this.client.post(e("/table/list/all"),t)}async getById(t){return this.client.get(e(`/table/${t}`))}async delete(t){return this.client.delete(e(`/table/${t}`))}}function gt(i){return new At(i)}class mt{constructor(t){this.client=t}async update(t){return this.client.put(e("/sku"),t)}async create(t){return this.client.post(e("/sku"),t)}async listByPage(t,n){return this.client.post(e("/sku/list"),t,n)}async listAllEntities(t){return this.client.post(e("/sku/list/all"),t)}async getById(t){return this.client.get(e(`/sku/${t}`))}async delete(t){return this.client.delete(e(`/sku/${t}`))}}function ft(i){return new mt(i)}class Ct{constructor(t){this.client=t}async update(t){return this.client.put(e("/short_url"),t)}async create(t){return this.client.post(e("/short_url"),t)}async listByPage(t,n){return this.client.post(e("/short_url/list"),t,n)}async listAllEntities(t){return this.client.post(e("/short_url/list/all"),t)}async getById(t){return this.client.get(e(`/short_url/${t}`))}async delete(t){return this.client.delete(e(`/short_url/${t}`))}}function Bt(i){return new Ct(i)}class $t{constructor(t){this.client=t}async update(t){return this.client.put(e("/shop"),t)}async create(t){return this.client.post(e("/shop"),t)}async listByPage(t,n){return this.client.post(e("/shop/list"),t,n)}async listAllEntities(t){return this.client.post(e("/shop/list/all"),t)}async getById(t){return this.client.get(e(`/shop/${t}`))}async delete(t){return this.client.delete(e(`/shop/${t}`))}}function Pt(i){return new $t(i)}class vt{constructor(t){this.client=t}async update(t){return this.client.put(e("/share"),t)}async create(t){return this.client.post(e("/share"),t)}async listByPage(t,n){return this.client.post(e("/share/list"),t,n)}async listAllEntities(t){return this.client.post(e("/share/list/all"),t)}async getById(t){return this.client.get(e(`/share/${t}`))}async delete(t){return this.client.delete(e(`/share/${t}`))}}function kt(i){return new vt(i)}class bt{constructor(t){this.client=t}async update(t){return this.client.put(e("/share/visit_record"),t)}async create(t){return this.client.post(e("/share/visit_record"),t)}async listByPage(t,n){return this.client.post(e("/share/visit_record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/share/visit_record/list/all"),t)}async getById(t){return this.client.get(e(`/share/visit_record/${t}`))}async delete(t){return this.client.delete(e(`/share/visit_record/${t}`))}}function wt(i){return new bt(i)}class It{constructor(t){this.client=t}async update(t){return this.client.put(e("/sharding/key"),t)}async create(t){return this.client.post(e("/sharding/key"),t)}async listByPage(t,n){return this.client.post(e("/sharding/key/list"),t,n)}async listAllEntities(t){return this.client.post(e("/sharding/key/list/all"),t)}async getById(t){return this.client.get(e(`/sharding/key/${t}`))}async delete(t){return this.client.delete(e(`/sharding/key/${t}`))}}function Et(i){return new It(i)}class _t{constructor(t){this.client=t}async update(t){return this.client.put(e("/schema"),t)}async create(t){return this.client.post(e("/schema"),t)}async listByPage(t,n){return this.client.post(e("/schema/list"),t,n)}async listAllEntities(t){return this.client.post(e("/schema/list/all"),t)}async getById(t){return this.client.get(e(`/schema/${t}`))}async delete(t){return this.client.delete(e(`/schema/${t}`))}}function Rt(i){return new _t(i)}class Tt{constructor(t){this.client=t}async update(t){return this.client.put(e("/role"),t)}async create(t){return this.client.post(e("/role"),t)}async listByPage(t,n){return this.client.post(e("/role/list"),t,n)}async listAllEntities(t){return this.client.post(e("/role/list/all"),t)}async getById(t){return this.client.get(e(`/role/${t}`))}async delete(t){return this.client.delete(e(`/role/${t}`))}}function Vt(i){return new Tt(i)}class Mt{constructor(t){this.client=t}async update(t){return this.client.put(e("/role/permission"),t)}async create(t){return this.client.post(e("/role/permission"),t)}async listByPage(t,n){return this.client.post(e("/role/permission/list"),t,n)}async listAllEntities(t){return this.client.post(e("/role/permission/list/all"),t)}async getById(t){return this.client.get(e(`/role/permission/${t}`))}async delete(t){return this.client.delete(e(`/role/permission/${t}`))}}function St(i){return new Mt(i)}class Ut{constructor(t){this.client=t}async update(t){return this.client.put(e("/record"),t)}async create(t){return this.client.post(e("/record"),t)}async listByPage(t,n){return this.client.post(e("/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/record/list/all"),t)}async getById(t){return this.client.get(e(`/record/${t}`))}async delete(t){return this.client.delete(e(`/record/${t}`))}}function Gt(i){return new Ut(i)}class zt{constructor(t){this.client=t}async update(t){return this.client.put(e("/rbac/user/role"),t)}async create(t){return this.client.post(e("/rbac/user/role"),t)}async listByPage(t,n){return this.client.post(e("/rbac/user/role/list"),t,n)}async listAllEntities(t){return this.client.post(e("/rbac/user/role/list/all"),t)}async getById(t){return this.client.get(e(`/rbac/user/role/${t}`))}async delete(t){return this.client.delete(e(`/rbac/user/role/${t}`))}}function Ft(i){return new zt(i)}class Dt{constructor(t){this.client=t}async update(t){return this.client.put(e("/prompt"),t)}async create(t){return this.client.post(e("/prompt"),t)}async listByPage(t,n){return this.client.post(e("/prompt/list"),t,n)}async listAllEntities(t){return this.client.post(e("/prompt/list/all"),t)}async getById(t){return this.client.get(e(`/prompt/${t}`))}async delete(t){return this.client.delete(e(`/prompt/${t}`))}}function Ot(i){return new Dt(i)}class Kt{constructor(t){this.client=t}async update(t){return this.client.put(e("/project"),t)}async create(t){return this.client.post(e("/project"),t)}async listByPage(t,n){return this.client.post(e("/project/list"),t,n)}async listAllEntities(t){return this.client.post(e("/project/list/all"),t)}async getById(t){return this.client.get(e(`/project/${t}`))}async delete(t){return this.client.delete(e(`/project/${t}`))}}function Ht(i){return new Kt(i)}class Lt{constructor(t){this.client=t}async update(t){return this.client.put(e("/product"),t)}async create(t){return this.client.post(e("/product"),t)}async mallHome(t){return this.client.post(e("/product/mall_home"),t)}async listByPage(t,n){return this.client.post(e("/product/list"),t,n)}async listAllEntities(t){return this.client.post(e("/product/list/all"),t)}async getById(t){return this.client.get(e(`/product/${t}`))}async delete(t){return this.client.delete(e(`/product/${t}`))}async getDetail(t){return this.client.get(e("/product/detail"),t)}}function jt(i){return new Lt(i)}class Nt{constructor(t){this.client=t}async update(t){return this.client.put(e("/ppt/template"),t)}async create(t){return this.client.post(e("/ppt/template"),t)}async listByPage(t,n){return this.client.post(e("/ppt/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/ppt/template/list/all"),t)}async getById(t){return this.client.get(e(`/ppt/template/${t}`))}async delete(t){return this.client.delete(e(`/ppt/template/${t}`))}}function Yt(i){return new Nt(i)}class qt{constructor(t){this.client=t}async update(t){return this.client.put(e("/ppt/template/slide"),t)}async create(t){return this.client.post(e("/ppt/template/slide"),t)}async listByPage(t,n){return this.client.post(e("/ppt/template/slide/list"),t,n)}async listAllEntities(t){return this.client.post(e("/ppt/template/slide/list/all"),t)}async getById(t){return this.client.get(e(`/ppt/template/slide/${t}`))}async delete(t){return this.client.delete(e(`/ppt/template/slide/${t}`))}}function xt(i){return new qt(i)}class Wt{constructor(t){this.client=t}async update(t){return this.client.put(e("/partner"),t)}async create(t){return this.client.post(e("/partner"),t)}async listByPage(t,n){return this.client.post(e("/partner/list"),t,n)}async listAllEntities(t){return this.client.post(e("/partner/list/all"),t)}async getById(t){return this.client.get(e(`/partner/${t}`))}async delete(t){return this.client.delete(e(`/partner/${t}`))}}function Xt(i){return new Wt(i)}class Jt{constructor(t){this.client=t}async update(t){return this.client.put(e("/participant"),t)}async create(t){return this.client.post(e("/participant"),t)}async listByPage(t,n){return this.client.post(e("/participant/list"),t,n)}async listAllEntities(t){return this.client.post(e("/participant/list/all"),t)}async getById(t){return this.client.get(e(`/participant/${t}`))}async delete(t){return this.client.delete(e(`/participant/${t}`))}}function Qt(i){return new Jt(i)}class Zt{constructor(t){this.client=t}async update(t){return this.client.put(e("/oss/bucket"),t)}async create(t){return this.client.post(e("/oss/bucket"),t)}async listByPage(t,n){return this.client.post(e("/oss/bucket/list"),t,n)}async listAllEntities(t){return this.client.post(e("/oss/bucket/list/all"),t)}async getById(t){return this.client.get(e(`/oss/bucket/${t}`))}async delete(t){return this.client.delete(e(`/oss/bucket/${t}`))}}function te(i){return new Zt(i)}class ee{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization"),t)}async create(t){return this.client.post(e("/organization"),t)}async uninstall(t,n){return this.client.post(e(`/organization/${t}/uninstall`),n)}async install(t,n){return this.client.post(e(`/organization/${t}/install`),n)}async listByPage(t,n){return this.client.post(e("/organization/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/list/all"),t)}async getAccessTokens(t){return this.client.post(e("/organization/get_access_tokens"),t)}async getById(t){return this.client.get(e(`/organization/${t}`))}async delete(t){return this.client.delete(e(`/organization/${t}`))}}function ie(i){return new ee(i)}class ne{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization/position"),t)}async create(t){return this.client.post(e("/organization/position"),t)}async listByPage(t,n){return this.client.post(e("/organization/position/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/position/list/all"),t)}async getById(t){return this.client.get(e(`/organization/position/${t}`))}async delete(t){return this.client.delete(e(`/organization/position/${t}`))}}function se(i){return new ne(i)}class re{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization/member-relations"),t)}async create(t){return this.client.post(e("/organization/member-relations"),t)}async listByPage(t,n){return this.client.post(e("/organization/member-relations/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/member-relations/list/all"),t)}async getById(t){return this.client.get(e(`/organization/member-relations/${t}`))}async delete(t){return this.client.delete(e(`/organization/member-relations/${t}`))}}function ce(i){return new re(i)}class ae{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization-member"),t)}async create(t){return this.client.post(e("/organization-member"),t)}async listByPage(t,n){return this.client.post(e("/organization-member/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization-member/list/all"),t)}async getById(t){return this.client.get(e(`/organization-member/${t}`))}async delete(t){return this.client.delete(e(`/organization-member/${t}`))}}function le(i){return new ae(i)}class oe{constructor(t){this.client=t}async update(t){return this.client.put(e("/notification"),t)}async create(t){return this.client.post(e("/notification"),t)}async listByPage(t,n){return this.client.post(e("/notification/list"),t,n)}async listAllEntities(t){return this.client.post(e("/notification/list/all"),t)}async getById(t){return this.client.get(e(`/notification/${t}`))}async delete(t){return this.client.delete(e(`/notification/${t}`))}}function pe(i){return new oe(i)}class ue{constructor(t){this.client=t}async update(t){return this.client.put(e("/notes"),t)}async create(t){return this.client.post(e("/notes"),t)}async getByUuid(t){return this.client.get(e(`/notes/${t}`))}async search(t){return this.client.get(e("/notes/search"),t)}async pageByUser(t,n){return this.client.get(e(`/notes/page_by_user/${t}`),n)}async pageByTag(t){return this.client.get(e("/notes/page_by_tag"),t)}async pageByCategory(t,n){return this.client.get(e(`/notes/page_by_category/${t}`),n)}async listByPage(t){return this.client.get(e("/notes/page"),t)}async listByUserId(t){return this.client.get(e(`/notes/list_by_user/${t}`))}async listByTag(t){return this.client.get(e("/notes/list_by_tag"),t)}async listByCategoryId(t){return this.client.get(e(`/notes/list_by_category/${t}`))}async getById(t){return this.client.get(e(`/notes/id/${t}`))}async listAll(){return this.client.get(e("/notes/all"))}async delete(t){return this.client.delete(e(`/notes/${t}`))}}function he(i){return new ue(i)}class ye{constructor(t){this.client=t}async update(t){return this.client.put(e("/news"),t)}async create(t){return this.client.post(e("/news"),t)}async listByPage(t,n){return this.client.post(e("/news/list"),t,n)}async listAllEntities(t){return this.client.post(e("/news/list/all"),t)}async getById(t){return this.client.get(e(`/news/${t}`))}async delete(t){return this.client.delete(e(`/news/${t}`))}}function de(i){return new ye(i)}class Ae{constructor(t){this.client=t}async update(t){return this.client.put(e("/net/host/domain"),t)}async create(t){return this.client.post(e("/net/host/domain"),t)}async listByPage(t,n){return this.client.post(e("/net/host/domain/list"),t,n)}async listAllEntities(t){return this.client.post(e("/net/host/domain/list/all"),t)}async getById(t){return this.client.get(e(`/net/host/domain/${t}`))}async delete(t){return this.client.delete(e(`/net/host/domain/${t}`))}}function ge(i){return new Ae(i)}class me{constructor(t){this.client=t}async update(t){return this.client.put(e("/net/dns/record"),t)}async create(t){return this.client.post(e("/net/dns/record"),t)}async listByPage(t,n){return this.client.post(e("/net/dns/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/net/dns/record/list/all"),t)}async getById(t){return this.client.get(e(`/net/dns/record/${t}`))}async delete(t){return this.client.delete(e(`/net/dns/record/${t}`))}}function fe(i){return new me(i)}class Ce{constructor(t){this.client=t}async update(t){return this.client.put(e("/music"),t)}async create(t){return this.client.post(e("/music"),t)}async listByPage(t,n){return this.client.post(e("/music/list"),t,n)}async listAllEntities(t){return this.client.post(e("/music/list/all"),t)}async getById(t){return this.client.get(e(`/music/${t}`))}async delete(t){return this.client.delete(e(`/music/${t}`))}}function Be(i){return new Ce(i)}class $e{constructor(t){this.client=t}async update(t){return this.client.put(e("/model"),t)}async create(t){return this.client.post(e("/model"),t)}async listByPage(t,n){return this.client.post(e("/model/list"),t,n)}async listAllEntities(t){return this.client.post(e("/model/list/all"),t)}async getById(t){return this.client.get(e(`/model/${t}`))}async delete(t){return this.client.delete(e(`/model/${t}`))}}function Pe(i){return new $e(i)}class ve{constructor(t){this.client=t}async update(t){return this.client.put(e("/model/price"),t)}async create(t){return this.client.post(e("/model/price"),t)}async listByPage(t,n){return this.client.post(e("/model/price/list"),t,n)}async listAllEntities(t){return this.client.post(e("/model/price/list/all"),t)}async getById(t){return this.client.get(e(`/model/price/${t}`))}async delete(t){return this.client.delete(e(`/model/price/${t}`))}}function ke(i){return new ve(i)}class be{constructor(t){this.client=t}async update(t){return this.client.put(e("/message"),t)}async create(t){return this.client.post(e("/message"),t)}async updateMessage(t){return this.client.put(e("/chat/message"),t)}async createMessage(t){return this.client.post(e("/chat/message"),t)}async listByPage(t,n){return this.client.post(e("/message/list"),t,n)}async listAllEntities(t){return this.client.post(e("/message/list/all"),t)}async loadMore(t,n){return this.client.post(e("/chat/message/load_more"),t,n)}async createListByPage(t,n){return this.client.post(e("/chat/message/list"),t,n)}async createListAllEntities(t){return this.client.post(e("/chat/message/list/all"),t)}async getById(t){return this.client.get(e(`/message/${t}`))}async delete(t){return this.client.delete(e(`/message/${t}`))}async getByIdMessage(t){return this.client.get(e(`/chat/message/${t}`))}async deleteMessage(t){return this.client.delete(e(`/chat/message/${t}`))}}function we(i){return new be(i)}class Ie{constructor(t){this.client=t}async update(t){return this.client.put(e("/member/level"),t)}async create(t){return this.client.post(e("/member/level"),t)}async listByPage(t,n){return this.client.post(e("/member/level/list"),t,n)}async listAllEntities(t){return this.client.post(e("/member/level/list/all"),t)}async getById(t){return this.client.get(e(`/member/level/${t}`))}async delete(t){return this.client.delete(e(`/member/level/${t}`))}}function Ee(i){return new Ie(i)}class _e{constructor(t){this.client=t}async update(t){return this.client.put(e("/member/card"),t)}async create(t){return this.client.post(e("/member/card"),t)}async listByPage(t,n){return this.client.post(e("/member/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/member/card/list/all"),t)}async getById(t){return this.client.get(e(`/member/card/${t}`))}async delete(t){return this.client.delete(e(`/member/card/${t}`))}}function Re(i){return new _e(i)}class Te{constructor(t){this.client=t}async update(t){return this.client.put(e("/knowledge_base"),t)}async create(t){return this.client.post(e("/knowledge_base"),t)}async listByPage(t,n){return this.client.post(e("/knowledge_base/list"),t,n)}async listAllEntities(t){return this.client.post(e("/knowledge_base/list/all"),t)}async getDetail(t){return this.client.post(e("/knowledge_base/get_detail"),void 0,t)}async getById(t){return this.client.get(e(`/knowledge_base/${t}`))}async delete(t){return this.client.delete(e(`/knowledge_base/${t}`))}}function Ve(i){return new Te(i)}class Me{constructor(t){this.client=t}async update(t){return this.client.put(e("/invitation/relation"),t)}async create(t){return this.client.post(e("/invitation/relation"),t)}async listByPage(t,n){return this.client.post(e("/invitation/relation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/invitation/relation/list/all"),t)}async getById(t){return this.client.get(e(`/invitation/relation/${t}`))}async delete(t){return this.client.delete(e(`/invitation/relation/${t}`))}}function Se(i){return new Me(i)}class Ue{constructor(t){this.client=t}async update(t){return this.client.put(e("/invitation/code"),t)}async create(t){return this.client.post(e("/invitation/code"),t)}async listByPage(t,n){return this.client.post(e("/invitation/code/list"),t,n)}async listAllEntities(t){return this.client.post(e("/invitation/code/list/all"),t)}async getById(t){return this.client.get(e(`/invitation/code/${t}`))}async delete(t){return this.client.delete(e(`/invitation/code/${t}`))}}function Ge(i){return new Ue(i)}class ze{constructor(t){this.client=t}async update(t){return this.client.put(e("/image"),t)}async create(t){return this.client.post(e("/image"),t)}async listByPage(t,n){return this.client.post(e("/image/list"),t,n)}async listAllEntities(t){return this.client.post(e("/image/list/all"),t)}async getById(t){return this.client.get(e(`/image/${t}`))}async delete(t){return this.client.delete(e(`/image/${t}`))}}function Fe(i){return new ze(i)}class De{constructor(t){this.client=t}async update(t){return this.client.put(e("/im/group"),t)}async create(t){return this.client.post(e("/im/group"),t)}async listByPage(t,n){return this.client.post(e("/im/group/list"),t,n)}async listAllEntities(t){return this.client.post(e("/im/group/list/all"),t)}async getById(t){return this.client.get(e(`/im/group/${t}`))}async delete(t){return this.client.delete(e(`/im/group/${t}`))}}function Oe(i){return new De(i)}class Ke{constructor(t){this.client=t}async update(t){return this.client.put(e("/generation"),t)}async create(t){return this.client.post(e("/generation"),t)}async listByPage(t,n){return this.client.post(e("/generation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/generation/list/all"),t)}async getById(t){return this.client.get(e(`/generation/${t}`))}async delete(t){return this.client.delete(e(`/generation/${t}`))}}function He(i){return new Ke(i)}class Le{constructor(t){this.client=t}async update(t){return this.client.put(e("/generation/content"),t)}async create(t){return this.client.post(e("/generation/content"),t)}async listByPage(t,n){return this.client.post(e("/generation/content/list"),t,n)}async listAllEntities(t){return this.client.post(e("/generation/content/list/all"),t)}async getById(t){return this.client.get(e(`/generation/content/${t}`))}async delete(t){return this.client.delete(e(`/generation/content/${t}`))}}function je(i){return new Le(i)}class Ne{constructor(t){this.client=t}async update(t){return this.client.put(e("/file"),t)}async create(t){return this.client.post(e("/file"),t)}async listFiles(t){return this.client.get(e("/oss/files"),t)}async upload(t,n){return this.client.post(e("/oss/files"),t,n)}async getTempSession(t){return this.client.post(e("/oss/files/temp_session"),t)}async getPresignedUrl(t){return this.client.post(e("/oss/files/get_presigned_url"),t)}async createFiles(t){return this.client.post(e("/oss/files/create"),t)}async listByPage(t,n){return this.client.post(e("/file/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/list/all"),t)}async getTree(t,n){return this.client.post(e("/file/get_tree"),t,n)}async getFile(t){return this.client.get(e(`/oss/files/${t}`))}async deleteFile(t){return this.client.delete(e(`/oss/files/${t}`))}async getFileContent(t){return this.client.get(e(`/oss/files/${t}/content`))}async getById(t){return this.client.get(e(`/file/${t}`))}async delete(t){return this.client.delete(e(`/file/${t}`))}}function Ye(i){return new Ne(i)}class qe{constructor(t){this.client=t}async update(t){return this.client.put(e("/file/part"),t)}async create(t){return this.client.post(e("/file/part"),t)}async listByPage(t,n){return this.client.post(e("/file/part/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/part/list/all"),t)}async getById(t){return this.client.get(e(`/file/part/${t}`))}async delete(t){return this.client.delete(e(`/file/part/${t}`))}}function xe(i){return new qe(i)}class We{constructor(t){this.client=t}async update(t){return this.client.put(e("/file/content"),t)}async create(t){return this.client.post(e("/file/content"),t)}async listByPage(t,n){return this.client.post(e("/file/content/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/content/list/all"),t)}async getById(t){return this.client.get(e(`/file/content/${t}`))}async delete(t){return this.client.delete(e(`/file/content/${t}`))}}function Xe(i){return new We(i)}class Je{constructor(t){this.client=t}async update(t){return this.client.put(e("/feeds"),t)}async create(t){return this.client.post(e("/feeds"),t)}async listByPage(t,n){return this.client.post(e("/feeds/list"),t,n)}async listAllEntities(t){return this.client.post(e("/feeds/list/all"),t)}async getById(t){return this.client.get(e(`/feeds/${t}`))}async delete(t){return this.client.delete(e(`/feeds/${t}`))}}function Qe(i){return new Je(i)}class Ze{constructor(t){this.client=t}async update(t){return this.client.put(e("/feedback"),t)}async create(t){return this.client.post(e("/feedback"),t)}async listByPage(t,n){return this.client.post(e("/feedback/list"),t,n)}async listAllEntities(t){return this.client.post(e("/feedback/list/all"),t)}async getById(t){return this.client.get(e(`/feedback/${t}`))}async delete(t){return this.client.delete(e(`/feedback/${t}`))}}function ti(i){return new Ze(i)}class ei{constructor(t){this.client=t}async update(t){return this.client.put(e("/favorite"),t)}async create(t){return this.client.post(e("/favorite"),t)}async listByPage(t,n){return this.client.post(e("/favorite/list"),t,n)}async listAllEntities(t){return this.client.post(e("/favorite/list/all"),t)}async getById(t){return this.client.get(e(`/favorite/${t}`))}async delete(t){return this.client.delete(e(`/favorite/${t}`))}}function ii(i){return new ei(i)}class ni{constructor(t){this.client=t}async update(t){return this.client.put(e("/disk"),t)}async create(t){return this.client.post(e("/disk"),t)}async listByPage(t,n){return this.client.post(e("/disk/list"),t,n)}async listAllEntities(t){return this.client.post(e("/disk/list/all"),t)}async getById(t){return this.client.get(e(`/disk/${t}`))}async delete(t){return this.client.delete(e(`/disk/${t}`))}}function si(i){return new ni(i)}class ri{constructor(t){this.client=t}async update(t){return this.client.put(e("/disk/member"),t)}async create(t){return this.client.post(e("/disk/member"),t)}async listByPage(t,n){return this.client.post(e("/disk/member/list"),t,n)}async listAllEntities(t){return this.client.post(e("/disk/member/list/all"),t)}async getById(t){return this.client.get(e(`/disk/member/${t}`))}async delete(t){return this.client.delete(e(`/disk/member/${t}`))}}function ci(i){return new ri(i)}class ai{constructor(t){this.client=t}async update(t){return this.client.put(e("/detail"),t)}async create(t){return this.client.post(e("/detail"),t)}async listByPage(t,n){return this.client.post(e("/detail/list"),t,n)}async listAllEntities(t){return this.client.post(e("/detail/list/all"),t)}async getById(t){return this.client.get(e(`/detail/${t}`))}async delete(t){return this.client.delete(e(`/detail/${t}`))}}function li(i){return new ai(i)}class oi{constructor(t){this.client=t}async update(t){return this.client.put(e("/department"),t)}async create(t){return this.client.post(e("/department"),t)}async listByPage(t,n){return this.client.post(e("/department/list"),t,n)}async listAllEntities(t){return this.client.post(e("/department/list/all"),t)}async getById(t){return this.client.get(e(`/department/${t}`))}async delete(t){return this.client.delete(e(`/department/${t}`))}}function pi(i){return new oi(i)}class ui{constructor(t){this.client=t}async update(t){return this.client.put(e("/datasource"),t)}async create(t){return this.client.post(e("/datasource"),t)}async stop(t){return this.client.post(e("/datasource/stop"),void 0,void 0,t)}async listByPage(t,n){return this.client.post(e("/datasource/list"),t,n)}async listAllEntities(t){return this.client.post(e("/datasource/list/all"),t)}async createCompletions(t,n){return this.client.post(e("/datasource/chat/completions"),t,void 0,n)}async getById(t){return this.client.get(e(`/datasource/${t}`))}async delete(t){return this.client.delete(e(`/datasource/${t}`))}}function hi(i){return new ui(i)}class yi{constructor(t){this.client=t}async update(t){return this.client.put(e("/coupon"),t)}async create(t){return this.client.post(e("/coupon"),t)}async listByPage(t,n){return this.client.post(e("/coupon/list"),t,n)}async listAllEntities(t){return this.client.post(e("/coupon/list/all"),t)}async getById(t){return this.client.get(e(`/coupon/${t}`))}async delete(t){return this.client.delete(e(`/coupon/${t}`))}}function di(i){return new yi(i)}class Ai{constructor(t){this.client=t}async update(t){return this.client.put(e("/coupon/template"),t)}async create(t){return this.client.post(e("/coupon/template"),t)}async listByPage(t,n){return this.client.post(e("/coupon/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/coupon/template/list/all"),t)}async getById(t){return this.client.get(e(`/coupon/template/${t}`))}async delete(t){return this.client.delete(e(`/coupon/template/${t}`))}}function gi(i){return new Ai(i)}class mi{constructor(t){this.client=t}async update(t){return this.client.put(e("/conversation"),t)}async create(t){return this.client.post(e("/conversation"),t)}async pinConversation(t,n){return this.client.post(e(`/conversation/${t}/pin`),void 0,n)}async open(t){return this.client.post(e("/conversation/open"),t)}async messageFeedback(t){return this.client.post(e("/conversation/message_feedback"),t)}async listByPage(t,n){return this.client.post(e("/conversation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/conversation/list/all"),t)}async getById(t){return this.client.get(e(`/conversation/${t}`))}async delete(t){return this.client.delete(e(`/conversation/${t}`))}}function fi(i){return new mi(i)}class Ci{constructor(t){this.client=t}async update(t){return this.client.put(e("/comments"),t)}async create(t){return this.client.post(e("/comments"),t)}async unlike(t){return this.client.post(e(`/comments/${t}/unlike`))}async reply(t,n){return this.client.post(e(`/comments/${t}/reply`),n)}async like(t){return this.client.post(e(`/comments/${t}/like`))}async listByPage(t,n){return this.client.post(e("/comments/list"),t,n)}async listAllEntities(t){return this.client.post(e("/comments/list/all"),t)}async getById(t){return this.client.get(e(`/comments/${t}`))}async delete(t){return this.client.delete(e(`/comments/${t}`))}}function Bi(i){return new Ci(i)}class $i{constructor(t){this.client=t}async update(t){return this.client.put(e("/column"),t)}async create(t){return this.client.post(e("/column"),t)}async listByPage(t,n){return this.client.post(e("/column/list"),t,n)}async listAllEntities(t){return this.client.post(e("/column/list/all"),t)}async getById(t){return this.client.get(e(`/column/${t}`))}async delete(t){return this.client.delete(e(`/column/${t}`))}}function Pi(i){return new $i(i)}class vi{constructor(t){this.client=t}async update(t){return this.client.put(e("/collection"),t)}async create(t){return this.client.post(e("/collection"),t)}async listByPage(t,n){return this.client.post(e("/collection/list"),t,n)}async listAllEntities(t){return this.client.post(e("/collection/list/all"),t)}async getById(t){return this.client.get(e(`/collection/${t}`))}async delete(t){return this.client.delete(e(`/collection/${t}`))}}function ki(i){return new vi(i)}class bi{constructor(t){this.client=t}async update(t){return this.client.put(e("/collection-item"),t)}async create(t){return this.client.post(e("/collection-item"),t)}async listByPage(t,n){return this.client.post(e("/collection-item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/collection-item/list/all"),t)}async getById(t){return this.client.get(e(`/collection-item/${t}`))}async delete(t){return this.client.delete(e(`/collection-item/${t}`))}}function wi(i){return new bi(i)}class Ii{constructor(t){this.client=t}async update(t){return this.client.put(e("/character"),t)}async create(t){return this.client.post(e("/character"),t)}async listByPage(t,n){return this.client.post(e("/character/list"),t,n)}async listAllEntities(t){return this.client.post(e("/character/list/all"),t)}async getById(t){return this.client.get(e(`/character/${t}`))}async delete(t){return this.client.delete(e(`/character/${t}`))}}function Ei(i){return new Ii(i)}class _i{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel/resource"),t)}async create(t){return this.client.post(e("/channel/resource"),t)}async listByPage(t,n){return this.client.post(e("/channel/resource/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/resource/list/all"),t)}async getById(t){return this.client.get(e(`/channel/resource/${t}`))}async delete(t){return this.client.delete(e(`/channel/resource/${t}`))}}function Ri(i){return new _i(i)}class Ti{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel/account"),t)}async create(t){return this.client.post(e("/channel/account"),t)}async listSms(t){return this.client.post(e("/channel/account/list_sms"),t)}async listPayment(t){return this.client.post(e("/channel/account/list_payment"),t)}async listOss(t){return this.client.post(e("/channel/account/list_oss"),t)}async listOfficialAccount(t){return this.client.post(e("/channel/account/list_official_account"),t)}async listMiniProgram(t){return this.client.post(e("/channel/account/list_mini_program"),t)}async listByPage(t,n){return this.client.post(e("/channel/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/account/list/all"),t)}async getById(t){return this.client.get(e(`/channel/account/${t}`))}async delete(t){return this.client.delete(e(`/channel/account/${t}`))}}function Vi(i){return new Ti(i)}class Mi{constructor(t){this.client=t}async update(t){return this.client.put(e("/category"),t)}async create(t){return this.client.post(e("/category"),t)}async listByPage(t,n){return this.client.post(e("/category/list"),t,n)}async listAllEntities(t){return this.client.post(e("/category/list/all"),t)}async getTree(t,n){return this.client.post(e("/category/get_tree"),t,n)}async getById(t){return this.client.get(e(`/category/${t}`))}async delete(t){return this.client.delete(e(`/category/${t}`))}}function Si(i){return new Mi(i)}class Ui{constructor(t){this.client=t}async update(t){return this.client.put(e("/card"),t)}async create(t){return this.client.post(e("/card"),t)}async listByPage(t,n){return this.client.post(e("/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/card/list/all"),t)}async getById(t){return this.client.get(e(`/card/${t}`))}async delete(t){return this.client.delete(e(`/card/${t}`))}}function Gi(i){return new Ui(i)}class zi{constructor(t){this.client=t}async update(t){return this.client.put(e("/card/template"),t)}async create(t){return this.client.post(e("/card/template"),t)}async listByPage(t,n){return this.client.post(e("/card/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/card/template/list/all"),t)}async getById(t){return this.client.get(e(`/card/template/${t}`))}async delete(t){return this.client.delete(e(`/card/template/${t}`))}}function Fi(i){return new zi(i)}class Di{constructor(t){this.client=t}async update(t){return this.client.put(e("/attribute"),t)}async create(t){return this.client.post(e("/attribute"),t)}async listByPage(t,n){return this.client.post(e("/attribute/list"),t,n)}async listAllEntities(t){return this.client.post(e("/attribute/list/all"),t)}async getById(t){return this.client.get(e(`/attribute/${t}`))}async delete(t){return this.client.delete(e(`/attribute/${t}`))}}function Oi(i){return new Di(i)}class Ki{constructor(t){this.client=t}async update(t){return this.client.put(e("/article"),t)}async create(t){return this.client.post(e("/article"),t)}async listByPage(t,n){return this.client.post(e("/article/list"),t,n)}async listAllEntities(t){return this.client.post(e("/article/list/all"),t)}async getById(t){return this.client.get(e(`/article/${t}`))}async delete(t){return this.client.delete(e(`/article/${t}`))}}function Hi(i){return new Ki(i)}class Li{constructor(t){this.client=t}async update(t){return this.client.put(e("/app"),t)}async create(t){return this.client.post(e("/app"),t)}async listByPage(t,n){return this.client.post(e("/app/list"),t,n)}async listAllEntities(t){return this.client.post(e("/app/list/all"),t)}async getById(t){return this.client.get(e(`/app/${t}`))}async delete(t){return this.client.delete(e(`/app/${t}`))}}function ji(i){return new Li(i)}class Ni{constructor(t){this.client=t}async update(t){return this.client.put(e("/apikey"),t)}async create(t){return this.client.post(e("/apikey"),t)}async listByPage(t,n){return this.client.post(e("/apikey/list"),t,n)}async listAllEntities(t){return this.client.post(e("/apikey/list/all"),t)}async getById(t){return this.client.get(e(`/apikey/${t}`))}async delete(t){return this.client.delete(e(`/apikey/${t}`))}}function Yi(i){return new Ni(i)}class qi{constructor(t){this.client=t}async update(t){return this.client.put(e("/agent"),t)}async create(t){return this.client.post(e("/agent"),t)}async listPublic(t,n){return this.client.post(e("/agent/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/agent/list"),t,n)}async listAllEntities(t){return this.client.post(e("/agent/list/all"),t)}async getById(t){return this.client.get(e(`/agent/${t}`))}async delete(t){return this.client.delete(e(`/agent/${t}`))}}function xi(i){return new qi(i)}class Wi{constructor(t){this.client=t}async update(t){return this.client.put(e("/agent/tool"),t)}async create(t){return this.client.post(e("/agent/tool"),t)}async listByPage(t,n){return this.client.post(e("/agent/tool/list"),t,n)}async listAllEntities(t){return this.client.post(e("/agent/tool/list/all"),t)}async getById(t){return this.client.get(e(`/agent/tool/${t}`))}async delete(t){return this.client.delete(e(`/agent/tool/${t}`))}}function Xi(i){return new Wi(i)}class Ji{constructor(t){this.client=t}async update(t){return this.client.put(e("/account"),t)}async create(t){return this.client.post(e("/account"),t)}async listByPage(t,n){return this.client.post(e("/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/account/list/all"),t)}async getPoints(t){return this.client.post(e("/account/get_points"),t)}async getCash(t){return this.client.post(e("/account/get_cash"),t)}async getById(t){return this.client.get(e(`/account/${t}`))}async delete(t){return this.client.delete(e(`/account/${t}`))}}function Qi(i){return new Ji(i)}class Zi{constructor(t){this.client=t}async update(t){return this.client.put(e("/account/history"),t)}async create(t){return this.client.post(e("/account/history"),t)}async listByPage(t,n){return this.client.post(e("/account/history/list"),t,n)}async listAllEntities(t){return this.client.post(e("/account/history/list/all"),t)}async getById(t){return this.client.get(e(`/account/history/${t}`))}async delete(t){return this.client.delete(e(`/account/history/${t}`))}}function tn(i){return new Zi(i)}class en{constructor(t){this.client=t}async stop(t){return this.client.post(e("/search/chat/stop"),void 0,void 0,t)}async create(t,n){return this.client.post(e("/search/chat/completions"),t,void 0,n)}}function nn(i){return new en(i)}class sn{constructor(t){this.client=t}async render(t){return this.client.post(e("/ppt/template/render"),t)}}function rn(i){return new sn(i)}class cn{constructor(t){this.client=t}async stop(t){return this.client.post(e("/ppt/template/chat/stop"),void 0,void 0,t)}async create(t,n){return this.client.post(e("/ppt/template/chat/completions"),t,void 0,n)}}function an(i){return new cn(i)}class ln{constructor(t){this.client=t}async listFiles(t){return this.client.get(e("/knowledge_base/files"),t)}async uploadFile(t,n){return this.client.post(e("/knowledge_base/files"),t,n)}async getListFiles(t){return this.client.get(e("/disk/files"),t)}async createUploadFile(t,n){return this.client.post(e("/disk/files"),t,n)}async getFile(t){return this.client.get(e(`/knowledge_base/files/${t}`))}async deleteFile(t){return this.client.delete(e(`/knowledge_base/files/${t}`))}async getFileContent(t){return this.client.get(e(`/knowledge_base/files/${t}/content`))}async getFileDisk(t){return this.client.get(e(`/disk/files/${t}`))}async deleteFileDisk(t){return this.client.delete(e(`/disk/files/${t}`))}async getFileContentDisk(t){return this.client.get(e(`/disk/files/${t}/content`))}}function on(i){return new ln(i)}class pn{constructor(t){this.client=t}async stop(t){return this.client.post(e("/knowledge_base/chat/stop"),void 0,void 0,t)}async create(t,n){return this.client.post(e("/knowledge_base/chat/completions"),t,void 0,n)}}function un(i){return new pn(i)}class hn{constructor(t){this.client=t}async listByPage(t,n){return this.client.post(e("/im/message/list"),t,n)}}function yn(i){return new hn(i)}class dn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/voice-speaker/create"),t)}async getResultByTaskId(t){return this.client.get(e(`/generation/voice-speaker/result/${t}`))}}function An(i){return new dn(i)}class gn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/video/create"),t)}async getResult(t){return this.client.get(e(`/generation/video/result/${t}`))}}function mn(i){return new gn(i)}class fn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/music/create"),t)}async getResult(t){return this.client.get(e(`/generation/music/result/${t}`))}}function Cn(i){return new fn(i)}class Bn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/image/create"),t)}async getResult(t){return this.client.get(e(`/generation/image/result/${t}`))}}function $n(i){return new Bn(i)}class Pn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/character/create"),t)}async getResult(t){return this.client.get(e(`/generation/character/result/${t}`))}}function vn(i){return new Pn(i)}class kn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/audio/create"),t)}async getResult(t){return this.client.get(e(`/generation/audio/result/${t}`))}}function bn(i){return new kn(i)}class wn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/audio-effect/create"),t)}async getResult(t){return this.client.get(e(`/generation/audio-effect/result/${t}`))}}function In(i){return new wn(i)}class En{constructor(t){this.client=t}async stop(t){return this.client.post(e("/chat/stop"),void 0,void 0,t)}async create(t,n){return this.client.post(e("/chat/completions"),t,void 0,n)}}function _n(i){return new En(i)}class Rn{constructor(t){this.client=t}async verifyPhone(t){return this.client.post(e("/auth/verification/verify_phone"),t)}async verifyEmail(t){return this.client.post(e("/auth/verification/verify_email"),t)}async sendVerificationCode(t){return this.client.post(e("/auth/verification/send_code"),t)}}function Tn(i){return new Rn(i)}class Vn{constructor(t){this.client=t}async getAuthUrl(t){return this.client.post(e("/auth/oauth/get_auth_url"),t)}async createGetAuthUrl(t){return this.client.post(e("/auth/oauth/authorize"),t)}async handleCallback(t){return this.client.post(e("/auth/oauth/callback"),t)}}function Mn(i){return new Vn(i)}class Sn{constructor(t){this.client=t}async hasRole(t){return this.client.post(e("/auth/authorization/has_role"),t)}async hasPermission(t){return this.client.post(e("/auth/authorization/has_permission"),t)}async getRoles(){return this.client.get(e("/auth/authorization/roles"))}async getPermissions(){return this.client.get(e("/auth/authorization/permissions"))}}function Un(i){return new Sn(i)}class Gn{constructor(t){this.client=t}async resetPassword(t){return this.client.post(e("/auth/authentication/reset_password"),t)}async requestPasswordReset(t){return this.client.post(e("/auth/authentication/request_password_reset"),t)}async register(t){return this.client.post(e("/auth/authentication/register"),t)}async refreshToken(t){return this.client.post(e("/auth/authentication/refresh_token"),t)}async logout(){return this.client.post(e("/auth/authentication/logout"))}async login(t){return this.client.post(e("/auth/authentication/login"),t)}async changePassword(t){return this.client.post(e("/auth/authentication/change_password"),t)}async getCurrentUser(){return this.client.get(e("/auth/authentication/get_current_user"))}}function zn(i){return new Gn(i)}class Fn{constructor(t){this.client=t}async getSdkConfig(t){return this.client.post(e("/app/get_sdk_config"),t)}async getAppInfo(){return this.client.get(e("/app/info"))}}function Dn(i){return new Fn(i)}class On{constructor(t){this.client=t}async withContext(t,n){return this.client.post(e("/agent/chat/with_context"),t,void 0,n)}async stop(t){return this.client.post(e("/agent/chat/stop"),void 0,void 0,t)}async resumeStream(t,n){return this.client.post(e("/agent/chat/resume_stream"),t,void 0,n)}async create(t,n){return this.client.post(e("/agent/chat/completions"),t,void 0,n)}}function Kn(i){return new On(i)}class Hn{constructor(t){this.httpClient=p(t),this.workspace=h(this.httpClient),this.contentVote=d(this.httpClient),this.voiceSpeaker=g(this.httpClient),this.visitHistory=f(this.httpClient),this.vipUser=B(this.httpClient),this.vipRecharge=P(this.httpClient),this.vipRechargePackage=k(this.httpClient),this.vipPointChange=w(this.httpClient),this.vipPackageGroup=E(this.httpClient),this.vipPackage=R(this.httpClient),this.vipLevel=V(this.httpClient),this.vipLevelBenefit=S(this.httpClient),this.vipBenefit=G(this.httpClient),this.vipBenefitUsage=F(this.httpClient),this.video=O(this.httpClient),this.user=H(this.httpClient),this.userOauthAccount=j(this.httpClient),this.userCoupon=Y(this.httpClient),this.userCard=x(this.httpClient),this.userAddress=X(this.httpClient),this.aiUsageRecord=Q(this.httpClient),this.shoppingCart=tt(this.httpClient),this.shoppingCartItem=it(this.httpClient),this.refund=st(this.httpClient),this.payment=ct(this.httpClient),this.order=lt(this.httpClient),this.orderItem=pt(this.httpClient),this.aiTool=ht(this.httpClient),this.tenant=dt(this.httpClient),this.databaseTable=gt(this.httpClient),this.productSku=ft(this.httpClient),this.shortUrl=Bt(this.httpClient),this.shop=Pt(this.httpClient),this.share=kt(this.httpClient),this.shareVisitRecord=wt(this.httpClient),this.shardingKey=Et(this.httpClient),this.schema=Rt(this.httpClient),this.rbacRole=Vt(this.httpClient),this.rolePermission=St(this.httpClient),this.invocationRecord=Gt(this.httpClient),this.rbacUserRole=Ft(this.httpClient),this.aiPrompt=Ot(this.httpClient),this.project=Ht(this.httpClient),this.product=jt(this.httpClient),this.pptTemplate=Yt(this.httpClient),this.pptTemplateSlide=xt(this.httpClient),this.partner=Xt(this.httpClient),this.chatParticipant=Qt(this.httpClient),this.ossBucket=te(this.httpClient),this.organization=ie(this.httpClient),this.position=se(this.httpClient),this.memberRelations=ce(this.httpClient),this.organizationMember=le(this.httpClient),this.notification=pe(this.httpClient),this.notes=he(this.httpClient),this.news=de(this.httpClient),this.host=ge(this.httpClient),this.dnsRecord=fe(this.httpClient),this.music=Be(this.httpClient),this.aiModelInformation=Pe(this.httpClient),this.aiModelPrice=ke(this.httpClient),this.chatMessage=we(this.httpClient),this.memberLevel=Ee(this.httpClient),this.memberCard=Re(this.httpClient),this.knowledgeBase=Ve(this.httpClient),this.invitationRelation=Se(this.httpClient),this.invitationCode=Ge(this.httpClient),this.image=Fe(this.httpClient),this.chatGroup=Oe(this.httpClient),this.aiGeneration=He(this.httpClient),this.aiGenerationContent=je(this.httpClient),this.file=Ye(this.httpClient),this.filePart=xe(this.httpClient),this.fileContent=Xe(this.httpClient),this.feeds=Qe(this.httpClient),this.feedback=ti(this.httpClient),this.favorite=ii(this.httpClient),this.fileDisk=si(this.httpClient),this.diskMember=ci(this.httpClient),this.detail=li(this.httpClient),this.department=pi(this.httpClient),this.datasource=hi(this.httpClient),this.coupon=di(this.httpClient),this.couponTemplate=gi(this.httpClient),this.aiConversation=fi(this.httpClient),this.comment=Bi(this.httpClient),this.column=Pi(this.httpClient),this.collection=ki(this.httpClient),this.collectionItem=wi(this.httpClient),this.character=Ei(this.httpClient),this.channelResource=Ri(this.httpClient),this.channelAccount=Vi(this.httpClient),this.aiCategory=Si(this.httpClient),this.membershipCard=Gi(this.httpClient),this.cardTemplate=Fi(this.httpClient),this.attribute=Oi(this.httpClient),this.aiArticle=Hi(this.httpClient),this.application=ji(this.httpClient),this.apiKey=Yi(this.httpClient),this.aiAgent=xi(this.httpClient),this.aiAgentToolRelationship=Xi(this.httpClient),this.account=Qi(this.httpClient),this.accountHistory=tn(this.httpClient),this.searchChat=nn(this.httpClient),this.pptTemplateRendering=rn(this.httpClient),this.pptTemplateChat=an(this.httpClient),this.knowledgeBaseFile=on(this.httpClient),this.knowledgeBaseChat=un(this.httpClient),this.imMessage=yn(this.httpClient),this.aiVoiceSpeakerGeneration=An(this.httpClient),this.aiVideoGeneration=mn(this.httpClient),this.aiMusicGeneration=Cn(this.httpClient),this.aiImageGeneration=$n(this.httpClient),this.aiCharacterGeneration=vn(this.httpClient),this.aiAudioGeneration=bn(this.httpClient),this.aiAudioEffectGeneration=In(this.httpClient),this.aiChat=_n(this.httpClient),this.verification=Tn(this.httpClient),this.oauthAuthentication=Mn(this.httpClient),this.authorization=Un(this.httpClient),this.authentication=zn(this.httpClient),this.app=Dn(this.httpClient),this.aiAgentChat=Kn(this.httpClient)}setApiKey(t){return this.httpClient.setApiKey(t),this}setAuthToken(t){return this.httpClient.setAuthToken(t),this}setAccessToken(t){return this.httpClient.setAccessToken(t),this}setTokenManager(t){return this.httpClient.setTokenManager(t),this}get http(){return this.httpClient}}function Ln(i){return new Hn(i)}class jn{constructor(t,n){this.http=t,this.basePath=n}async get(t,n,s){return this.http.get(`${this.basePath}${t}`,n,s)}async post(t,n,s,c){return this.http.post(`${this.basePath}${t}`,n,s,c)}async put(t,n,s,c){return this.http.put(`${this.basePath}${t}`,n,s,c)}async delete(t,n,s){return this.http.delete(`${this.basePath}${t}`,n,s)}async patch(t,n,s,c){return this.http.patch(`${this.basePath}${t}`,n,s,c)}}Object.defineProperty(exports,"DEFAULT_TIMEOUT",{enumerable:!0,get:()=>a.DEFAULT_TIMEOUT});Object.defineProperty(exports,"DefaultAuthTokenManager",{enumerable:!0,get:()=>a.DefaultAuthTokenManager});Object.defineProperty(exports,"SUCCESS_CODES",{enumerable:!0,get:()=>a.SUCCESS_CODES});Object.defineProperty(exports,"createTokenManager",{enumerable:!0,get:()=>a.createTokenManager});exports.AccountApi=Ji;exports.AccountHistoryApi=Zi;exports.AiAgentApi=qi;exports.AiAgentChatApi=On;exports.AiAgentToolRelationshipApi=Wi;exports.AiArticleApi=Ki;exports.AiAudioEffectGenerationApi=wn;exports.AiAudioGenerationApi=kn;exports.AiCategoryApi=Mi;exports.AiCharacterGenerationApi=Pn;exports.AiChatApi=En;exports.AiConversationApi=mi;exports.AiGenerationApi=Ke;exports.AiGenerationContentApi=Le;exports.AiImageGenerationApi=Bn;exports.AiModelInformationApi=$e;exports.AiModelPriceApi=ve;exports.AiMusicGenerationApi=fn;exports.AiPromptApi=Dt;exports.AiToolApi=ut;exports.AiUsageRecordApi=J;exports.AiVideoGenerationApi=gn;exports.AiVoiceSpeakerGenerationApi=dn;exports.ApiKeyApi=Ni;exports.AppApi=Fn;exports.ApplicationApi=Li;exports.AttributeApi=Di;exports.AuthenticationApi=Gn;exports.AuthorizationApi=Sn;exports.BaseApi=jn;exports.CardTemplateApi=zi;exports.ChannelAccountApi=Ti;exports.ChannelResourceApi=_i;exports.CharacterApi=Ii;exports.ChatGroupApi=De;exports.ChatMessageApi=be;exports.ChatParticipantApi=Jt;exports.CollectionApi=vi;exports.CollectionItemApi=bi;exports.ColumnApi=$i;exports.CommentApi=Ci;exports.ContentVoteApi=y;exports.CouponApi=yi;exports.CouponTemplateApi=Ai;exports.DatabaseTableApi=At;exports.DatasourceApi=ui;exports.DepartmentApi=oi;exports.DetailApi=ai;exports.DiskMemberApi=ri;exports.DnsRecordApi=me;exports.FavoriteApi=ei;exports.FeedbackApi=Ze;exports.FeedsApi=Je;exports.FileApi=Ne;exports.FileContentApi=We;exports.FileDiskApi=ni;exports.FilePartApi=qe;exports.HostApi=Ae;exports.HttpClient=l;exports.ImMessageApi=hn;exports.ImageApi=ze;exports.InvitationCodeApi=Ue;exports.InvitationRelationApi=Me;exports.InvocationRecordApi=Ut;exports.KnowledgeBaseApi=Te;exports.KnowledgeBaseChatApi=pn;exports.KnowledgeBaseFileApi=ln;exports.MemberCardApi=_e;exports.MemberLevelApi=Ie;exports.MemberRelationsApi=re;exports.MembershipCardApi=Ui;exports.MusicApi=Ce;exports.NewsApi=ye;exports.NotesApi=ue;exports.NotificationApi=oe;exports.OauthAuthenticationApi=Vn;exports.OrderApi=at;exports.OrderItemApi=ot;exports.OrganizationApi=ee;exports.OrganizationMemberApi=ae;exports.OssBucketApi=Zt;exports.PartnerApi=Wt;exports.PaymentApi=rt;exports.PositionApi=ne;exports.PptTemplateApi=Nt;exports.PptTemplateChatApi=cn;exports.PptTemplateRenderingApi=sn;exports.PptTemplateSlideApi=qt;exports.ProductApi=Lt;exports.ProductSkuApi=mt;exports.ProjectApi=Kt;exports.RbacRoleApi=Tt;exports.RbacUserRoleApi=zt;exports.RefundApi=nt;exports.RolePermissionApi=Mt;exports.SchemaApi=_t;exports.SdkworkBackendClient=Hn;exports.SearchChatApi=en;exports.ShardingKeyApi=It;exports.ShareApi=vt;exports.ShareVisitRecordApi=bt;exports.ShopApi=$t;exports.ShoppingCartApi=Z;exports.ShoppingCartItemApi=et;exports.ShortUrlApi=Ct;exports.TenantApi=yt;exports.UserAddressApi=W;exports.UserApi=K;exports.UserCardApi=q;exports.UserCouponApi=N;exports.UserOauthAccountApi=L;exports.VerificationApi=Rn;exports.VideoApi=D;exports.VipBenefitApi=U;exports.VipBenefitUsageApi=z;exports.VipLevelApi=T;exports.VipLevelBenefitApi=M;exports.VipPackageApi=_;exports.VipPackageGroupApi=I;exports.VipPointChangeApi=b;exports.VipRechargeApi=$;exports.VipRechargePackageApi=v;exports.VipUserApi=C;exports.VisitHistoryApi=m;exports.VoiceSpeakerApi=A;exports.WorkspaceApi=u;exports.backendApiPath=e;exports.createAccountApi=Qi;exports.createAccountHistoryApi=tn;exports.createAiAgentApi=xi;exports.createAiAgentChatApi=Kn;exports.createAiAgentToolRelationshipApi=Xi;exports.createAiArticleApi=Hi;exports.createAiAudioEffectGenerationApi=In;exports.createAiAudioGenerationApi=bn;exports.createAiCategoryApi=Si;exports.createAiCharacterGenerationApi=vn;exports.createAiChatApi=_n;exports.createAiConversationApi=fi;exports.createAiGenerationApi=He;exports.createAiGenerationContentApi=je;exports.createAiImageGenerationApi=$n;exports.createAiModelInformationApi=Pe;exports.createAiModelPriceApi=ke;exports.createAiMusicGenerationApi=Cn;exports.createAiPromptApi=Ot;exports.createAiToolApi=ht;exports.createAiUsageRecordApi=Q;exports.createAiVideoGenerationApi=mn;exports.createAiVoiceSpeakerGenerationApi=An;exports.createApiKeyApi=Yi;exports.createAppApi=Dn;exports.createApplicationApi=ji;exports.createAttributeApi=Oi;exports.createAuthenticationApi=zn;exports.createAuthorizationApi=Un;exports.createCardTemplateApi=Fi;exports.createChannelAccountApi=Vi;exports.createChannelResourceApi=Ri;exports.createCharacterApi=Ei;exports.createChatGroupApi=Oe;exports.createChatMessageApi=we;exports.createChatParticipantApi=Qt;exports.createClient=Ln;exports.createCollectionApi=ki;exports.createCollectionItemApi=wi;exports.createColumnApi=Pi;exports.createCommentApi=Bi;exports.createContentVoteApi=d;exports.createCouponApi=di;exports.createCouponTemplateApi=gi;exports.createDatabaseTableApi=gt;exports.createDatasourceApi=hi;exports.createDepartmentApi=pi;exports.createDetailApi=li;exports.createDiskMemberApi=ci;exports.createDnsRecordApi=fe;exports.createFavoriteApi=ii;exports.createFeedbackApi=ti;exports.createFeedsApi=Qe;exports.createFileApi=Ye;exports.createFileContentApi=Xe;exports.createFileDiskApi=si;exports.createFilePartApi=xe;exports.createHostApi=ge;exports.createHttpClient=p;exports.createImMessageApi=yn;exports.createImageApi=Fe;exports.createInvitationCodeApi=Ge;exports.createInvitationRelationApi=Se;exports.createInvocationRecordApi=Gt;exports.createKnowledgeBaseApi=Ve;exports.createKnowledgeBaseChatApi=un;exports.createKnowledgeBaseFileApi=on;exports.createMemberCardApi=Re;exports.createMemberLevelApi=Ee;exports.createMemberRelationsApi=ce;exports.createMembershipCardApi=Gi;exports.createMusicApi=Be;exports.createNewsApi=de;exports.createNotesApi=he;exports.createNotificationApi=pe;exports.createOauthAuthenticationApi=Mn;exports.createOrderApi=lt;exports.createOrderItemApi=pt;exports.createOrganizationApi=ie;exports.createOrganizationMemberApi=le;exports.createOssBucketApi=te;exports.createPartnerApi=Xt;exports.createPaymentApi=ct;exports.createPositionApi=se;exports.createPptTemplateApi=Yt;exports.createPptTemplateChatApi=an;exports.createPptTemplateRenderingApi=rn;exports.createPptTemplateSlideApi=xt;exports.createProductApi=jt;exports.createProductSkuApi=ft;exports.createProjectApi=Ht;exports.createRbacRoleApi=Vt;exports.createRbacUserRoleApi=Ft;exports.createRefundApi=st;exports.createRolePermissionApi=St;exports.createSchemaApi=Rt;exports.createSearchChatApi=nn;exports.createShardingKeyApi=Et;exports.createShareApi=kt;exports.createShareVisitRecordApi=wt;exports.createShopApi=Pt;exports.createShoppingCartApi=tt;exports.createShoppingCartItemApi=it;exports.createShortUrlApi=Bt;exports.createTenantApi=dt;exports.createUserAddressApi=X;exports.createUserApi=H;exports.createUserCardApi=x;exports.createUserCouponApi=Y;exports.createUserOauthAccountApi=j;exports.createVerificationApi=Tn;exports.createVideoApi=O;exports.createVipBenefitApi=G;exports.createVipBenefitUsageApi=F;exports.createVipLevelApi=V;exports.createVipLevelBenefitApi=S;exports.createVipPackageApi=R;exports.createVipPackageGroupApi=E;exports.createVipPointChangeApi=w;exports.createVipRechargeApi=P;exports.createVipRechargePackageApi=k;exports.createVipUserApi=B;exports.createVisitHistoryApi=f;exports.createVoiceSpeakerApi=g;exports.createWorkspaceApi=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@sdkwork/sdk-common"),r=class r extends a.BaseHttpClient{constructor(t){super(t)}getInternalAuthConfig(){const t=this;return t.authConfig=t.authConfig||{},t.authConfig}getInternalHeaders(){const t=this;return t.config=t.config||{},t.config.headers=t.config.headers||{},t.config.headers}setApiKey(t){const n=this.getInternalAuthConfig(),s=this.getInternalHeaders();if(n.apiKey=t,n.tokenManager?.clearTokens?.(),r.API_KEY_HEADER==="Authorization"&&r.API_KEY_USE_BEARER){n.authMode="apikey",delete s["Access-Token"];return}n.authMode="dual-token",s[r.API_KEY_HEADER]=r.API_KEY_USE_BEARER?`Bearer ${t}`:t,r.API_KEY_HEADER.toLowerCase()!=="authorization"&&delete s.Authorization,r.API_KEY_HEADER.toLowerCase()!=="access-token"&&delete s["Access-Token"]}setAuthToken(t){const n=this.getInternalHeaders();r.API_KEY_HEADER.toLowerCase()!=="authorization"&&delete n[r.API_KEY_HEADER],super.setAuthToken(t)}setAccessToken(t){const n=this.getInternalHeaders();r.API_KEY_HEADER.toLowerCase()!=="access-token"&&delete n[r.API_KEY_HEADER],super.setAccessToken(t)}setTokenManager(t){const n=Object.getPrototypeOf(r.prototype);if(typeof n.setTokenManager=="function"){n.setTokenManager.call(this,t);return}this.getInternalAuthConfig().tokenManager=t}async request(t,n={}){const s=this.execute;if(typeof s!="function")throw new Error("BaseHttpClient execute method is not available");return a.withRetry(()=>s.call(this,{url:t,method:n.method??"GET",...n}),{maxRetries:3})}async get(t,n,s){return this.request(t,{method:"GET",params:n,headers:s})}async post(t,n,s,c){return this.request(t,{method:"POST",body:n,params:s,headers:c})}async put(t,n,s,c){return this.request(t,{method:"PUT",body:n,params:s,headers:c})}async delete(t,n,s){return this.request(t,{method:"DELETE",params:n,headers:s})}async patch(t,n,s,c){return this.request(t,{method:"PATCH",body:n,params:s,headers:c})}};r.API_KEY_HEADER="Authorization",r.API_KEY_USE_BEARER=!0;let l=r;function p(i){return new l(i)}const o="/backend/v3/api";function e(i){if(!i)return o;if(/^https?:\/\//i.test(i))return i;const t=o.trim(),n=t?`/${t.replace(/^\/+|\/+$/g,"")}`:"",s=i.startsWith("/")?i:`/${i}`;return!n||n==="/"||s===n||s.startsWith(`${n}/`)?s:`${n}${s}`}class u{constructor(t){this.client=t}async update(t){return this.client.put(e("/workspace"),t)}async create(t){return this.client.post(e("/workspace"),t)}async listByPage(t,n){return this.client.post(e("/workspace/list"),t,n)}async listAllEntities(t){return this.client.post(e("/workspace/list/all"),t)}async getById(t){return this.client.get(e(`/workspace/${t}`))}async delete(t){return this.client.delete(e(`/workspace/${t}`))}}function h(i){return new u(i)}class y{constructor(t){this.client=t}async update(t){return this.client.put(e("/vote"),t)}async create(t){return this.client.post(e("/vote"),t)}async listByPage(t,n){return this.client.post(e("/vote/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vote/list/all"),t)}async getById(t){return this.client.get(e(`/vote/${t}`))}async delete(t){return this.client.delete(e(`/vote/${t}`))}}function d(i){return new y(i)}class g{constructor(t){this.client=t}async update(t){return this.client.put(e("/voice/speaker"),t)}async create(t){return this.client.post(e("/voice/speaker"),t)}async listPublic(t,n){return this.client.post(e("/voice/speaker/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/voice/speaker/list"),t,n)}async listAllEntities(t){return this.client.post(e("/voice/speaker/list/all"),t)}async getById(t){return this.client.get(e(`/voice/speaker/${t}`))}async delete(t){return this.client.delete(e(`/voice/speaker/${t}`))}}function A(i){return new g(i)}class m{constructor(t){this.client=t}async update(t){return this.client.put(e("/visit_history"),t)}async create(t){return this.client.post(e("/visit_history"),t)}async listByPage(t,n){return this.client.post(e("/visit_history/list"),t,n)}async listAllEntities(t){return this.client.post(e("/visit_history/list/all"),t)}async getById(t){return this.client.get(e(`/visit_history/${t}`))}async delete(t){return this.client.delete(e(`/visit_history/${t}`))}}function f(i){return new m(i)}class C{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/user"),t)}async create(t){return this.client.post(e("/vip/user"),t)}async listByPage(t,n){return this.client.post(e("/vip/user/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/user/list/all"),t)}async getCurrentUser(){return this.client.post(e("/vip/user/get_current_user"))}async getById(t){return this.client.get(e(`/vip/user/${t}`))}async delete(t){return this.client.delete(e(`/vip/user/${t}`))}}function $(i){return new C(i)}class B{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/recharge"),t)}async create(t){return this.client.post(e("/vip/recharge"),t)}async listByPage(t,n){return this.client.post(e("/vip/recharge/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/recharge/list/all"),t)}async getById(t){return this.client.get(e(`/vip/recharge/${t}`))}async delete(t){return this.client.delete(e(`/vip/recharge/${t}`))}}function P(i){return new B(i)}class k{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/recharge/pack"),t)}async create(t){return this.client.post(e("/vip/recharge/pack"),t)}async listByPage(t,n){return this.client.post(e("/vip/recharge/pack/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/recharge/pack/list/all"),t)}async getById(t){return this.client.get(e(`/vip/recharge/pack/${t}`))}async delete(t){return this.client.delete(e(`/vip/recharge/pack/${t}`))}}function v(i){return new k(i)}class b{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/point/change"),t)}async create(t){return this.client.post(e("/vip/point/change"),t)}async listByPage(t,n){return this.client.post(e("/vip/point/change/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/point/change/list/all"),t)}async getById(t){return this.client.get(e(`/vip/point/change/${t}`))}async delete(t){return this.client.delete(e(`/vip/point/change/${t}`))}}function w(i){return new b(i)}class I{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/pack_group"),t)}async create(t){return this.client.post(e("/vip/pack_group"),t)}async listPublic(t,n){return this.client.post(e("/vip/pack_group/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/vip/pack_group/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/pack_group/list/all"),t)}async getById(t){return this.client.get(e(`/vip/pack_group/${t}`))}async delete(t){return this.client.delete(e(`/vip/pack_group/${t}`))}}function E(i){return new I(i)}class R{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/pack"),t)}async create(t){return this.client.post(e("/vip/pack"),t)}async listByPage(t,n){return this.client.post(e("/vip/pack/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/pack/list/all"),t)}async getById(t){return this.client.get(e(`/vip/pack/${t}`))}async delete(t){return this.client.delete(e(`/vip/pack/${t}`))}}function _(i){return new R(i)}class T{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/level"),t)}async create(t){return this.client.post(e("/vip/level"),t)}async listByPage(t,n){return this.client.post(e("/vip/level/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/level/list/all"),t)}async getById(t){return this.client.get(e(`/vip/level/${t}`))}async delete(t){return this.client.delete(e(`/vip/level/${t}`))}}function M(i){return new T(i)}class S{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/level/benefit"),t)}async create(t){return this.client.post(e("/vip/level/benefit"),t)}async listByPage(t,n){return this.client.post(e("/vip/level/benefit/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/level/benefit/list/all"),t)}async getById(t){return this.client.get(e(`/vip/level/benefit/${t}`))}async delete(t){return this.client.delete(e(`/vip/level/benefit/${t}`))}}function V(i){return new S(i)}class U{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/benefit"),t)}async create(t){return this.client.post(e("/vip/benefit"),t)}async listByPage(t,n){return this.client.post(e("/vip/benefit/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/benefit/list/all"),t)}async getById(t){return this.client.get(e(`/vip/benefit/${t}`))}async delete(t){return this.client.delete(e(`/vip/benefit/${t}`))}}function z(i){return new U(i)}class D{constructor(t){this.client=t}async update(t){return this.client.put(e("/vip/benefit/usage"),t)}async create(t){return this.client.post(e("/vip/benefit/usage"),t)}async listByPage(t,n){return this.client.post(e("/vip/benefit/usage/list"),t,n)}async listAllEntities(t){return this.client.post(e("/vip/benefit/usage/list/all"),t)}async getById(t){return this.client.get(e(`/vip/benefit/usage/${t}`))}async delete(t){return this.client.delete(e(`/vip/benefit/usage/${t}`))}}function G(i){return new D(i)}class F{constructor(t){this.client=t}async update(t){return this.client.put(e("/video"),t)}async create(t){return this.client.post(e("/video"),t)}async listByPage(t,n){return this.client.post(e("/video/list"),t,n)}async listAllEntities(t){return this.client.post(e("/video/list/all"),t)}async getById(t){return this.client.get(e(`/video/${t}`))}async delete(t){return this.client.delete(e(`/video/${t}`))}}function O(i){return new F(i)}class K{constructor(t){this.client=t}async update(t){return this.client.put(e("/user"),t)}async create(t){return this.client.post(e("/user"),t)}async listByPage(t,n){return this.client.post(e("/user/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/list/all"),t)}async getById(t){return this.client.get(e(`/user/${t}`))}async delete(t){return this.client.delete(e(`/user/${t}`))}async getProfile(){return this.client.get(e("/user/profile"))}}function x(i){return new K(i)}class H{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/oauth/account"),t)}async create(t){return this.client.post(e("/user/oauth/account"),t)}async listByPage(t,n){return this.client.post(e("/user/oauth/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/oauth/account/list/all"),t)}async getById(t){return this.client.get(e(`/user/oauth/account/${t}`))}async delete(t){return this.client.delete(e(`/user/oauth/account/${t}`))}}function L(i){return new H(i)}class j{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/coupon"),t)}async create(t){return this.client.post(e("/user/coupon"),t)}async listByPage(t,n){return this.client.post(e("/user/coupon/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/coupon/list/all"),t)}async getById(t){return this.client.get(e(`/user/coupon/${t}`))}async delete(t){return this.client.delete(e(`/user/coupon/${t}`))}}function N(i){return new j(i)}class q{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/card"),t)}async create(t){return this.client.post(e("/user/card"),t)}async listByPage(t,n){return this.client.post(e("/user/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/card/list/all"),t)}async getById(t){return this.client.get(e(`/user/card/${t}`))}async delete(t){return this.client.delete(e(`/user/card/${t}`))}}function Y(i){return new q(i)}class W{constructor(t){this.client=t}async update(t){return this.client.put(e("/user/address"),t)}async create(t){return this.client.post(e("/user/address"),t)}async listByPage(t,n){return this.client.post(e("/user/address/list"),t,n)}async listAllEntities(t){return this.client.post(e("/user/address/list/all"),t)}async getById(t){return this.client.get(e(`/user/address/${t}`))}async delete(t){return this.client.delete(e(`/user/address/${t}`))}}function Q(i){return new W(i)}class X{constructor(t){this.client=t}async update(t){return this.client.put(e("/usage/record"),t)}async create(t){return this.client.post(e("/usage/record"),t)}async listByPage(t,n){return this.client.post(e("/usage/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/usage/record/list/all"),t)}async getById(t){return this.client.get(e(`/usage/record/${t}`))}async delete(t){return this.client.delete(e(`/usage/record/${t}`))}}function J(i){return new X(i)}class Z{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/shopping/cart"),t)}async create(t){return this.client.post(e("/trade/shopping/cart"),t)}async listByPage(t,n){return this.client.post(e("/trade/shopping/cart/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/shopping/cart/list/all"),t)}async getById(t){return this.client.get(e(`/trade/shopping/cart/${t}`))}async delete(t){return this.client.delete(e(`/trade/shopping/cart/${t}`))}}function tt(i){return new Z(i)}class et{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/shopping/cart/item"),t)}async create(t){return this.client.post(e("/trade/shopping/cart/item"),t)}async listByPage(t,n){return this.client.post(e("/trade/shopping/cart/item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/shopping/cart/item/list/all"),t)}async getById(t){return this.client.get(e(`/trade/shopping/cart/item/${t}`))}async delete(t){return this.client.delete(e(`/trade/shopping/cart/item/${t}`))}}function it(i){return new et(i)}class nt{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/refund"),t)}async create(t){return this.client.post(e("/trade/refund"),t)}async listByPage(t,n){return this.client.post(e("/trade/refund/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/refund/list/all"),t)}async getById(t){return this.client.get(e(`/trade/refund/${t}`))}async delete(t){return this.client.delete(e(`/trade/refund/${t}`))}}function st(i){return new nt(i)}class rt{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/payment"),t)}async create(t){return this.client.post(e("/trade/payment"),t)}async checkPaymentStatus(t){return this.client.post(e("/trade/payment/status"),t)}async refund(t){return this.client.post(e("/trade/payment/refund"),t)}async listByPage(t,n){return this.client.post(e("/trade/payment/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/payment/list/all"),t)}async cancel(t){return this.client.post(e("/trade/payment/cancel"),t)}async getById(t){return this.client.get(e(`/trade/payment/${t}`))}async delete(t){return this.client.delete(e(`/trade/payment/${t}`))}}function ct(i){return new rt(i)}class at{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/order"),t)}async create(t){return this.client.post(e("/trade/order"),t)}async ship(t,n){return this.client.post(e(`/trade/order/${t}/ship`),n)}async confirm(t){return this.client.post(e(`/trade/order/${t}/confirm`))}async complete(t){return this.client.post(e(`/trade/order/${t}/complete`))}async close(t){return this.client.post(e(`/trade/order/${t}/close`))}async cancel(t){return this.client.post(e(`/trade/order/${t}/cancel`))}async createVirtual(t){return this.client.post(e("/trade/order/virtual"),t)}async createVip(t){return this.client.post(e("/trade/order/vip"),t)}async createPoints(t){return this.client.post(e("/trade/order/points"),t)}async listByPage(t,n){return this.client.post(e("/trade/order/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/order/list/all"),t)}async createImGroup(t){return this.client.post(e("/trade/order/im_group"),t)}async createGoods(t){return this.client.post(e("/trade/order/goods"),t)}async createBooking(t){return this.client.post(e("/trade/order/booking"),t)}async getById(t){return this.client.get(e(`/trade/order/${t}`))}async delete(t){return this.client.delete(e(`/trade/order/${t}`))}}function lt(i){return new at(i)}class ot{constructor(t){this.client=t}async update(t){return this.client.put(e("/trade/order/item"),t)}async create(t){return this.client.post(e("/trade/order/item"),t)}async listByPage(t,n){return this.client.post(e("/trade/order/item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/trade/order/item/list/all"),t)}async getById(t){return this.client.get(e(`/trade/order/item/${t}`))}async delete(t){return this.client.delete(e(`/trade/order/item/${t}`))}}function pt(i){return new ot(i)}class ut{constructor(t){this.client=t}async update(t){return this.client.put(e("/tool"),t)}async create(t){return this.client.post(e("/tool"),t)}async listByPage(t,n){return this.client.post(e("/tool/list"),t,n)}async listAllEntities(t){return this.client.post(e("/tool/list/all"),t)}async getById(t){return this.client.get(e(`/tool/${t}`))}async delete(t){return this.client.delete(e(`/tool/${t}`))}}function ht(i){return new ut(i)}class yt{constructor(t){this.client=t}async update(t){return this.client.put(e("/tenant"),t)}async create(t){return this.client.post(e("/tenant"),t)}async uninstall(t,n){return this.client.post(e(`/tenant/${t}/uninstall`),n)}async install(t,n){return this.client.post(e(`/tenant/${t}/install`),n)}async listAuditLogs(t,n){return this.client.post(e(`/tenant/${t}/audit_logs/list`),void 0,n)}async listByPage(t,n){return this.client.post(e("/tenant/list"),t,n)}async listAllEntities(t){return this.client.post(e("/tenant/list/all"),t)}async getAccessTokens(t){return this.client.post(e("/tenant/get_access_tokens"),t)}async getById(t){return this.client.get(e(`/tenant/${t}`))}async delete(t){return this.client.delete(e(`/tenant/${t}`))}}function dt(i){return new yt(i)}class gt{constructor(t){this.client=t}async update(t){return this.client.put(e("/table"),t)}async create(t){return this.client.post(e("/table"),t)}async listByPage(t,n){return this.client.post(e("/table/list"),t,n)}async listAllEntities(t){return this.client.post(e("/table/list/all"),t)}async getById(t){return this.client.get(e(`/table/${t}`))}async delete(t){return this.client.delete(e(`/table/${t}`))}}function At(i){return new gt(i)}class mt{constructor(t){this.client=t}async update(t){return this.client.put(e("/sku"),t)}async create(t){return this.client.post(e("/sku"),t)}async listByPage(t,n){return this.client.post(e("/sku/list"),t,n)}async listAllEntities(t){return this.client.post(e("/sku/list/all"),t)}async getById(t){return this.client.get(e(`/sku/${t}`))}async delete(t){return this.client.delete(e(`/sku/${t}`))}}function ft(i){return new mt(i)}class Ct{constructor(t){this.client=t}async getById(t){return this.client.get(e(`/skill/${t}`))}async update(t,n){return this.client.put(e(`/skill/${t}`),n)}async create(t){return this.client.post(e("/skill"),t)}async submitForReview(t){return this.client.post(e(`/skill/${t}/review/submit`))}async rejectReview(t,n){return this.client.post(e(`/skill/${t}/review/reject`),n)}async approveReview(t,n){return this.client.post(e(`/skill/${t}/review/approve`),n)}async publish(t){return this.client.post(e(`/skill/${t}/publish`))}async offline(t){return this.client.post(e(`/skill/${t}/offline`))}async updateFeature(t,n){return this.client.post(e(`/skill/${t}/feature`),n)}async enable(t){return this.client.post(e(`/skill/${t}/enable`))}async disable(t){return this.client.post(e(`/skill/${t}/disable`))}async listPendingReviewByPage(t,n){return this.client.post(e("/skill/review/pending/list"),t,n)}async batchRejectReview(t){return this.client.post(e("/skill/review/batch/reject"),t)}async batchApproveReview(t){return this.client.post(e("/skill/review/batch/approve"),t)}async listByPage(t,n){return this.client.post(e("/skill/list"),t,n)}async listAll(t){return this.client.post(e("/skill/list/all"),t)}}function $t(i){return new Ct(i)}class Bt{constructor(t){this.client=t}async getById(t){return this.client.get(e(`/skill/package/${t}`))}async update(t,n){return this.client.put(e(`/skill/package/${t}`),n)}async delete(t){return this.client.delete(e(`/skill/package/${t}`))}async create(t){return this.client.post(e("/skill/package"),t)}async enable(t){return this.client.post(e(`/skill/package/${t}/enable`))}async disable(t){return this.client.post(e(`/skill/package/${t}/disable`))}async listByPage(t,n){return this.client.post(e("/skill/package/list"),t,n)}async listAll(t){return this.client.post(e("/skill/package/list/all"),t)}}function Pt(i){return new Bt(i)}class kt{constructor(t){this.client=t}async update(t){return this.client.put(e("/short_url"),t)}async create(t){return this.client.post(e("/short_url"),t)}async listByPage(t,n){return this.client.post(e("/short_url/list"),t,n)}async listAllEntities(t){return this.client.post(e("/short_url/list/all"),t)}async getById(t){return this.client.get(e(`/short_url/${t}`))}async delete(t){return this.client.delete(e(`/short_url/${t}`))}}function vt(i){return new kt(i)}class bt{constructor(t){this.client=t}async update(t){return this.client.put(e("/shop"),t)}async create(t){return this.client.post(e("/shop"),t)}async listByPage(t,n){return this.client.post(e("/shop/list"),t,n)}async listAllEntities(t){return this.client.post(e("/shop/list/all"),t)}async getById(t){return this.client.get(e(`/shop/${t}`))}async delete(t){return this.client.delete(e(`/shop/${t}`))}}function wt(i){return new bt(i)}class It{constructor(t){this.client=t}async update(t){return this.client.put(e("/share"),t)}async create(t){return this.client.post(e("/share"),t)}async listByPage(t,n){return this.client.post(e("/share/list"),t,n)}async listAllEntities(t){return this.client.post(e("/share/list/all"),t)}async getById(t){return this.client.get(e(`/share/${t}`))}async delete(t){return this.client.delete(e(`/share/${t}`))}}function Et(i){return new It(i)}class Rt{constructor(t){this.client=t}async update(t){return this.client.put(e("/share/visit_record"),t)}async create(t){return this.client.post(e("/share/visit_record"),t)}async listByPage(t,n){return this.client.post(e("/share/visit_record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/share/visit_record/list/all"),t)}async getById(t){return this.client.get(e(`/share/visit_record/${t}`))}async delete(t){return this.client.delete(e(`/share/visit_record/${t}`))}}function _t(i){return new Rt(i)}class Tt{constructor(t){this.client=t}async update(t){return this.client.put(e("/sharding/key"),t)}async create(t){return this.client.post(e("/sharding/key"),t)}async listByPage(t,n){return this.client.post(e("/sharding/key/list"),t,n)}async listAllEntities(t){return this.client.post(e("/sharding/key/list/all"),t)}async getById(t){return this.client.get(e(`/sharding/key/${t}`))}async delete(t){return this.client.delete(e(`/sharding/key/${t}`))}}function Mt(i){return new Tt(i)}class St{constructor(t){this.client=t}async update(t){return this.client.put(e("/security/policy"),t)}async create(t){return this.client.post(e("/security/policy"),t)}async listByPage(t,n){return this.client.post(e("/security/policy/list"),t,n)}async listAllEntities(t){return this.client.post(e("/security/policy/list/all"),t)}async getById(t){return this.client.get(e(`/security/policy/${t}`))}async delete(t){return this.client.delete(e(`/security/policy/${t}`))}}function Vt(i){return new St(i)}class Ut{constructor(t){this.client=t}async update(t){return this.client.put(e("/schema"),t)}async create(t){return this.client.post(e("/schema"),t)}async listByPage(t,n){return this.client.post(e("/schema/list"),t,n)}async listAllEntities(t){return this.client.post(e("/schema/list/all"),t)}async getById(t){return this.client.get(e(`/schema/${t}`))}async delete(t){return this.client.delete(e(`/schema/${t}`))}}function zt(i){return new Ut(i)}class Dt{constructor(t){this.client=t}async update(t){return this.client.put(e("/role"),t)}async create(t){return this.client.post(e("/role"),t)}async listByPage(t,n){return this.client.post(e("/role/list"),t,n)}async listAllEntities(t){return this.client.post(e("/role/list/all"),t)}async getById(t){return this.client.get(e(`/role/${t}`))}async delete(t){return this.client.delete(e(`/role/${t}`))}}function Gt(i){return new Dt(i)}class Ft{constructor(t){this.client=t}async update(t){return this.client.put(e("/role/permission"),t)}async create(t){return this.client.post(e("/role/permission"),t)}async listByPage(t,n){return this.client.post(e("/role/permission/list"),t,n)}async listAllEntities(t){return this.client.post(e("/role/permission/list/all"),t)}async getById(t){return this.client.get(e(`/role/permission/${t}`))}async delete(t){return this.client.delete(e(`/role/permission/${t}`))}}function Ot(i){return new Ft(i)}class Kt{constructor(t){this.client=t}async update(t){return this.client.put(e("/record"),t)}async create(t){return this.client.post(e("/record"),t)}async listByPage(t,n){return this.client.post(e("/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/record/list/all"),t)}async getById(t){return this.client.get(e(`/record/${t}`))}async delete(t){return this.client.delete(e(`/record/${t}`))}}function xt(i){return new Kt(i)}class Ht{constructor(t){this.client=t}async update(t){return this.client.put(e("/rbac/user/role"),t)}async create(t){return this.client.post(e("/rbac/user/role"),t)}async listByPage(t,n){return this.client.post(e("/rbac/user/role/list"),t,n)}async listAllEntities(t){return this.client.post(e("/rbac/user/role/list/all"),t)}async getById(t){return this.client.get(e(`/rbac/user/role/${t}`))}async delete(t){return this.client.delete(e(`/rbac/user/role/${t}`))}}function Lt(i){return new Ht(i)}class jt{constructor(t){this.client=t}async update(t){return this.client.put(e("/prompt"),t)}async create(t){return this.client.post(e("/prompt"),t)}async listByPage(t,n){return this.client.post(e("/prompt/list"),t,n)}async listAllEntities(t){return this.client.post(e("/prompt/list/all"),t)}async getById(t){return this.client.get(e(`/prompt/${t}`))}async delete(t){return this.client.delete(e(`/prompt/${t}`))}}function Nt(i){return new jt(i)}class qt{constructor(t){this.client=t}async update(t){return this.client.put(e("/project"),t)}async create(t){return this.client.post(e("/project"),t)}async listByPage(t,n){return this.client.post(e("/project/list"),t,n)}async listAllEntities(t){return this.client.post(e("/project/list/all"),t)}async getById(t){return this.client.get(e(`/project/${t}`))}async delete(t){return this.client.delete(e(`/project/${t}`))}}function Yt(i){return new qt(i)}class Wt{constructor(t){this.client=t}async update(t){return this.client.put(e("/product"),t)}async create(t){return this.client.post(e("/product"),t)}async mallHome(t){return this.client.post(e("/product/mall_home"),t)}async listByPage(t,n){return this.client.post(e("/product/list"),t,n)}async listAllEntities(t){return this.client.post(e("/product/list/all"),t)}async getById(t){return this.client.get(e(`/product/${t}`))}async delete(t){return this.client.delete(e(`/product/${t}`))}async getDetail(t){return this.client.get(e("/product/detail"),t)}}function Qt(i){return new Wt(i)}class Xt{constructor(t){this.client=t}async update(t){return this.client.put(e("/ppt/template"),t)}async create(t){return this.client.post(e("/ppt/template"),t)}async listByPage(t,n){return this.client.post(e("/ppt/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/ppt/template/list/all"),t)}async getById(t){return this.client.get(e(`/ppt/template/${t}`))}async delete(t){return this.client.delete(e(`/ppt/template/${t}`))}}function Jt(i){return new Xt(i)}class Zt{constructor(t){this.client=t}async update(t){return this.client.put(e("/ppt/template/slide"),t)}async create(t){return this.client.post(e("/ppt/template/slide"),t)}async listByPage(t,n){return this.client.post(e("/ppt/template/slide/list"),t,n)}async listAllEntities(t){return this.client.post(e("/ppt/template/slide/list/all"),t)}async getById(t){return this.client.get(e(`/ppt/template/slide/${t}`))}async delete(t){return this.client.delete(e(`/ppt/template/slide/${t}`))}}function te(i){return new Zt(i)}class ee{constructor(t){this.client=t}async update(t){return this.client.put(e("/permission"),t)}async create(t){return this.client.post(e("/permission"),t)}async listByPage(t,n){return this.client.post(e("/permission/list"),t,n)}async listAllEntities(t){return this.client.post(e("/permission/list/all"),t)}async getById(t){return this.client.get(e(`/permission/${t}`))}async delete(t){return this.client.delete(e(`/permission/${t}`))}}function ie(i){return new ee(i)}class ne{constructor(t){this.client=t}async update(t){return this.client.put(e("/partner"),t)}async create(t){return this.client.post(e("/partner"),t)}async listByPage(t,n){return this.client.post(e("/partner/list"),t,n)}async listAllEntities(t){return this.client.post(e("/partner/list/all"),t)}async getById(t){return this.client.get(e(`/partner/${t}`))}async delete(t){return this.client.delete(e(`/partner/${t}`))}}function se(i){return new ne(i)}class re{constructor(t){this.client=t}async update(t){return this.client.put(e("/participant"),t)}async create(t){return this.client.post(e("/participant"),t)}async listByPage(t,n){return this.client.post(e("/participant/list"),t,n)}async listAllEntities(t){return this.client.post(e("/participant/list/all"),t)}async getById(t){return this.client.get(e(`/participant/${t}`))}async delete(t){return this.client.delete(e(`/participant/${t}`))}}function ce(i){return new re(i)}class ae{constructor(t){this.client=t}async update(t){return this.client.put(e("/oss/bucket"),t)}async create(t){return this.client.post(e("/oss/bucket"),t)}async listByPage(t,n){return this.client.post(e("/oss/bucket/list"),t,n)}async listAllEntities(t){return this.client.post(e("/oss/bucket/list/all"),t)}async getById(t){return this.client.get(e(`/oss/bucket/${t}`))}async delete(t){return this.client.delete(e(`/oss/bucket/${t}`))}}function le(i){return new ae(i)}class oe{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization"),t)}async create(t){return this.client.post(e("/organization"),t)}async uninstall(t,n){return this.client.post(e(`/organization/${t}/uninstall`),n)}async install(t,n){return this.client.post(e(`/organization/${t}/install`),n)}async listByPage(t,n){return this.client.post(e("/organization/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/list/all"),t)}async getAccessTokens(t){return this.client.post(e("/organization/get_access_tokens"),t)}async getById(t){return this.client.get(e(`/organization/${t}`))}async delete(t){return this.client.delete(e(`/organization/${t}`))}async getChildren(t){return this.client.get(e(`/organization/${t}/children`))}}function pe(i){return new oe(i)}class ue{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization/position"),t)}async create(t){return this.client.post(e("/organization/position"),t)}async listByPage(t,n){return this.client.post(e("/organization/position/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/position/list/all"),t)}async getById(t){return this.client.get(e(`/organization/position/${t}`))}async delete(t){return this.client.delete(e(`/organization/position/${t}`))}}function he(i){return new ue(i)}class ye{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization/member-relations"),t)}async create(t){return this.client.post(e("/organization/member-relations"),t)}async listByPage(t,n){return this.client.post(e("/organization/member-relations/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization/member-relations/list/all"),t)}async getById(t){return this.client.get(e(`/organization/member-relations/${t}`))}async delete(t){return this.client.delete(e(`/organization/member-relations/${t}`))}}function de(i){return new ye(i)}class ge{constructor(t){this.client=t}async update(t){return this.client.put(e("/organization-member"),t)}async create(t){return this.client.post(e("/organization-member"),t)}async transferPosition(t,n){return this.client.put(e(`/organization-member/${t}/positions/transfer`),void 0,n)}async setPrimaryDepartment(t,n){return this.client.put(e(`/organization-member/${t}/departments/${n}/primary`))}async transferDepartment(t,n){return this.client.put(e(`/organization-member/${t}/departments/transfer`),void 0,n)}async deactivateMember(t){return this.client.put(e(`/organization-member/${t}/deactivate`))}async activateMember(t){return this.client.put(e(`/organization-member/${t}/activate`))}async addToDepartment(t,n,s){return this.client.post(e(`/organization-member/${t}/departments/${n}`),void 0,s)}async removeFromDepartment(t,n){return this.client.delete(e(`/organization-member/${t}/departments/${n}`))}async listByPage(t,n){return this.client.post(e("/organization-member/list"),t,n)}async listAllEntities(t){return this.client.post(e("/organization-member/list/all"),t)}async getById(t){return this.client.get(e(`/organization-member/${t}`))}async delete(t){return this.client.delete(e(`/organization-member/${t}`))}async getMemberRoleIds(t){return this.client.get(e(`/organization-member/${t}/roles`))}async getMemberPositions(t){return this.client.get(e(`/organization-member/${t}/positions`))}async getMemberDepartments(t){return this.client.get(e(`/organization-member/${t}/departments`))}}function Ae(i){return new ge(i)}class me{constructor(t){this.client=t}async update(t){return this.client.put(e("/notification"),t)}async create(t){return this.client.post(e("/notification"),t)}async listByPage(t,n){return this.client.post(e("/notification/list"),t,n)}async listAllEntities(t){return this.client.post(e("/notification/list/all"),t)}async getById(t){return this.client.get(e(`/notification/${t}`))}async delete(t){return this.client.delete(e(`/notification/${t}`))}}function fe(i){return new me(i)}class Ce{constructor(t){this.client=t}async update(t){return this.client.put(e("/notes"),t)}async create(t){return this.client.post(e("/notes"),t)}async publishNotesToMedia(t){return this.client.post(e("/notes/media/publish"),t)}async createMediaDraft(t){return this.client.post(e("/notes/media/drafts"),t)}async publishMediaDraft(t){return this.client.post(e("/notes/media/drafts/publish"),t)}async previewMediaDraft(t){return this.client.post(e("/notes/media/drafts/preview"),t)}async getByUuid(t){return this.client.get(e(`/notes/${t}`))}async search(t){return this.client.get(e("/notes/search"),t)}async pageByUser(t,n){return this.client.get(e(`/notes/page_by_user/${t}`),n)}async pageByTag(t){return this.client.get(e("/notes/page_by_tag"),t)}async pageByCategory(t,n){return this.client.get(e(`/notes/page_by_category/${t}`),n)}async listByPage(t){return this.client.get(e("/notes/page"),t)}async listMediaPublishRecords(t,n){return this.client.get(e(`/notes/media/records/${t}`),n)}async listByUserId(t){return this.client.get(e(`/notes/list_by_user/${t}`))}async listByTag(t){return this.client.get(e("/notes/list_by_tag"),t)}async listByCategoryId(t){return this.client.get(e(`/notes/list_by_category/${t}`))}async getById(t){return this.client.get(e(`/notes/id/${t}`))}async listAll(){return this.client.get(e("/notes/all"))}async delete(t){return this.client.delete(e(`/notes/${t}`))}}function $e(i){return new Ce(i)}class Be{constructor(t){this.client=t}async update(t){return this.client.put(e("/news"),t)}async create(t){return this.client.post(e("/news"),t)}async listByPage(t,n){return this.client.post(e("/news/list"),t,n)}async listAllEntities(t){return this.client.post(e("/news/list/all"),t)}async getById(t){return this.client.get(e(`/news/${t}`))}async delete(t){return this.client.delete(e(`/news/${t}`))}}function Pe(i){return new Be(i)}class ke{constructor(t){this.client=t}async update(t){return this.client.put(e("/net/host/domain"),t)}async create(t){return this.client.post(e("/net/host/domain"),t)}async listByPage(t,n){return this.client.post(e("/net/host/domain/list"),t,n)}async listAllEntities(t){return this.client.post(e("/net/host/domain/list/all"),t)}async getById(t){return this.client.get(e(`/net/host/domain/${t}`))}async delete(t){return this.client.delete(e(`/net/host/domain/${t}`))}}function ve(i){return new ke(i)}class be{constructor(t){this.client=t}async update(t){return this.client.put(e("/net/dns/record"),t)}async create(t){return this.client.post(e("/net/dns/record"),t)}async listByPage(t,n){return this.client.post(e("/net/dns/record/list"),t,n)}async listAllEntities(t){return this.client.post(e("/net/dns/record/list/all"),t)}async getById(t){return this.client.get(e(`/net/dns/record/${t}`))}async delete(t){return this.client.delete(e(`/net/dns/record/${t}`))}}function we(i){return new be(i)}class Ie{constructor(t){this.client=t}async update(t){return this.client.put(e("/music"),t)}async create(t){return this.client.post(e("/music"),t)}async listByPage(t,n){return this.client.post(e("/music/list"),t,n)}async listAllEntities(t){return this.client.post(e("/music/list/all"),t)}async getById(t){return this.client.get(e(`/music/${t}`))}async delete(t){return this.client.delete(e(`/music/${t}`))}}function Ee(i){return new Ie(i)}class Re{constructor(t){this.client=t}async update(t){return this.client.put(e("/model"),t)}async create(t){return this.client.post(e("/model"),t)}async listByPage(t,n){return this.client.post(e("/model/list"),t,n)}async listAllEntities(t){return this.client.post(e("/model/list/all"),t)}async getById(t){return this.client.get(e(`/model/${t}`))}async delete(t){return this.client.delete(e(`/model/${t}`))}}function _e(i){return new Re(i)}class Te{constructor(t){this.client=t}async update(t){return this.client.put(e("/model/price"),t)}async create(t){return this.client.post(e("/model/price"),t)}async listByPage(t,n){return this.client.post(e("/model/price/list"),t,n)}async listAllEntities(t){return this.client.post(e("/model/price/list/all"),t)}async getById(t){return this.client.get(e(`/model/price/${t}`))}async delete(t){return this.client.delete(e(`/model/price/${t}`))}}function Me(i){return new Te(i)}class Se{constructor(t){this.client=t}async update(t){return this.client.put(e("/message"),t)}async create(t){return this.client.post(e("/message"),t)}async updateMessage(t){return this.client.put(e("/chat/message"),t)}async createMessage(t){return this.client.post(e("/chat/message"),t)}async listByPage(t,n){return this.client.post(e("/message/list"),t,n)}async listAllEntities(t){return this.client.post(e("/message/list/all"),t)}async loadMore(t,n){return this.client.post(e("/chat/message/load_more"),t,n)}async createListByPage(t,n){return this.client.post(e("/chat/message/list"),t,n)}async createListAllEntities(t){return this.client.post(e("/chat/message/list/all"),t)}async getById(t){return this.client.get(e(`/message/${t}`))}async delete(t){return this.client.delete(e(`/message/${t}`))}async getByIdMessage(t){return this.client.get(e(`/chat/message/${t}`))}async deleteMessage(t){return this.client.delete(e(`/chat/message/${t}`))}}function Ve(i){return new Se(i)}class Ue{constructor(t){this.client=t}async update(t){return this.client.put(e("/member/level"),t)}async create(t){return this.client.post(e("/member/level"),t)}async listByPage(t,n){return this.client.post(e("/member/level/list"),t,n)}async listAllEntities(t){return this.client.post(e("/member/level/list/all"),t)}async getById(t){return this.client.get(e(`/member/level/${t}`))}async delete(t){return this.client.delete(e(`/member/level/${t}`))}}function ze(i){return new Ue(i)}class De{constructor(t){this.client=t}async update(t){return this.client.put(e("/member/card"),t)}async create(t){return this.client.post(e("/member/card"),t)}async listByPage(t,n){return this.client.post(e("/member/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/member/card/list/all"),t)}async getById(t){return this.client.get(e(`/member/card/${t}`))}async delete(t){return this.client.delete(e(`/member/card/${t}`))}}function Ge(i){return new De(i)}class Fe{constructor(t){this.client=t}async update(t){return this.client.put(e("/knowledge_base"),t)}async create(t){return this.client.post(e("/knowledge_base"),t)}async listByPage(t,n){return this.client.post(e("/knowledge_base/list"),t,n)}async listAllEntities(t){return this.client.post(e("/knowledge_base/list/all"),t)}async getDetail(t){return this.client.post(e("/knowledge_base/get_detail"),void 0,t)}async getById(t){return this.client.get(e(`/knowledge_base/${t}`))}async delete(t){return this.client.delete(e(`/knowledge_base/${t}`))}}function Oe(i){return new Fe(i)}class Ke{constructor(t){this.client=t}async update(t){return this.client.put(e("/invitation/relation"),t)}async create(t){return this.client.post(e("/invitation/relation"),t)}async listByPage(t,n){return this.client.post(e("/invitation/relation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/invitation/relation/list/all"),t)}async getById(t){return this.client.get(e(`/invitation/relation/${t}`))}async delete(t){return this.client.delete(e(`/invitation/relation/${t}`))}}function xe(i){return new Ke(i)}class He{constructor(t){this.client=t}async update(t){return this.client.put(e("/invitation/code"),t)}async create(t){return this.client.post(e("/invitation/code"),t)}async listByPage(t,n){return this.client.post(e("/invitation/code/list"),t,n)}async listAllEntities(t){return this.client.post(e("/invitation/code/list/all"),t)}async getById(t){return this.client.get(e(`/invitation/code/${t}`))}async delete(t){return this.client.delete(e(`/invitation/code/${t}`))}}function Le(i){return new He(i)}class je{constructor(t){this.client=t}async update(t){return this.client.put(e("/image"),t)}async create(t){return this.client.post(e("/image"),t)}async listByPage(t,n){return this.client.post(e("/image/list"),t,n)}async listAllEntities(t){return this.client.post(e("/image/list/all"),t)}async getById(t){return this.client.get(e(`/image/${t}`))}async delete(t){return this.client.delete(e(`/image/${t}`))}}function Ne(i){return new je(i)}class qe{constructor(t){this.client=t}async update(t){return this.client.put(e("/im/group"),t)}async create(t){return this.client.post(e("/im/group"),t)}async listByPage(t,n){return this.client.post(e("/im/group/list"),t,n)}async listAllEntities(t){return this.client.post(e("/im/group/list/all"),t)}async getById(t){return this.client.get(e(`/im/group/${t}`))}async delete(t){return this.client.delete(e(`/im/group/${t}`))}}function Ye(i){return new qe(i)}class We{constructor(t){this.client=t}async update(t){return this.client.put(e("/generation"),t)}async create(t){return this.client.post(e("/generation"),t)}async listByPage(t,n){return this.client.post(e("/generation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/generation/list/all"),t)}async getById(t){return this.client.get(e(`/generation/${t}`))}async delete(t){return this.client.delete(e(`/generation/${t}`))}}function Qe(i){return new We(i)}class Xe{constructor(t){this.client=t}async update(t){return this.client.put(e("/generation/content"),t)}async create(t){return this.client.post(e("/generation/content"),t)}async listByPage(t,n){return this.client.post(e("/generation/content/list"),t,n)}async listAllEntities(t){return this.client.post(e("/generation/content/list/all"),t)}async getById(t){return this.client.get(e(`/generation/content/${t}`))}async delete(t){return this.client.delete(e(`/generation/content/${t}`))}}function Je(i){return new Xe(i)}class Ze{constructor(t){this.client=t}async update(t){return this.client.put(e("/file"),t)}async create(t){return this.client.post(e("/file"),t)}async listFiles(t){return this.client.get(e("/oss/files"),t)}async upload(t,n){return this.client.post(e("/oss/files"),t,n)}async getTempSession(t){return this.client.post(e("/oss/files/temp_session"),t)}async getPresignedUrl(t){return this.client.post(e("/oss/files/get_presigned_url"),t)}async createFiles(t){return this.client.post(e("/oss/files/create"),t)}async listByPage(t,n){return this.client.post(e("/file/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/list/all"),t)}async getTree(t,n){return this.client.post(e("/file/get_tree"),t,n)}async getFile(t){return this.client.get(e(`/oss/files/${t}`))}async deleteFile(t){return this.client.delete(e(`/oss/files/${t}`))}async getFileContent(t){return this.client.get(e(`/oss/files/${t}/content`))}async getById(t){return this.client.get(e(`/file/${t}`))}async delete(t){return this.client.delete(e(`/file/${t}`))}}function ti(i){return new Ze(i)}class ei{constructor(t){this.client=t}async update(t){return this.client.put(e("/file/part"),t)}async create(t){return this.client.post(e("/file/part"),t)}async listByPage(t,n){return this.client.post(e("/file/part/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/part/list/all"),t)}async getById(t){return this.client.get(e(`/file/part/${t}`))}async delete(t){return this.client.delete(e(`/file/part/${t}`))}}function ii(i){return new ei(i)}class ni{constructor(t){this.client=t}async update(t){return this.client.put(e("/file/content"),t)}async create(t){return this.client.post(e("/file/content"),t)}async listByPage(t,n){return this.client.post(e("/file/content/list"),t,n)}async listAllEntities(t){return this.client.post(e("/file/content/list/all"),t)}async getById(t){return this.client.get(e(`/file/content/${t}`))}async delete(t){return this.client.delete(e(`/file/content/${t}`))}}function si(i){return new ni(i)}class ri{constructor(t){this.client=t}async update(t){return this.client.put(e("/feeds"),t)}async create(t){return this.client.post(e("/feeds"),t)}async listByPage(t,n){return this.client.post(e("/feeds/list"),t,n)}async listAllEntities(t){return this.client.post(e("/feeds/list/all"),t)}async getById(t){return this.client.get(e(`/feeds/${t}`))}async delete(t){return this.client.delete(e(`/feeds/${t}`))}}function ci(i){return new ri(i)}class ai{constructor(t){this.client=t}async update(t){return this.client.put(e("/feedback"),t)}async create(t){return this.client.post(e("/feedback"),t)}async listByPage(t,n){return this.client.post(e("/feedback/list"),t,n)}async listAllEntities(t){return this.client.post(e("/feedback/list/all"),t)}async getById(t){return this.client.get(e(`/feedback/${t}`))}async delete(t){return this.client.delete(e(`/feedback/${t}`))}}function li(i){return new ai(i)}class oi{constructor(t){this.client=t}async update(t){return this.client.put(e("/favorite"),t)}async create(t){return this.client.post(e("/favorite"),t)}async listByPage(t,n){return this.client.post(e("/favorite/list"),t,n)}async listAllEntities(t){return this.client.post(e("/favorite/list/all"),t)}async getById(t){return this.client.get(e(`/favorite/${t}`))}async delete(t){return this.client.delete(e(`/favorite/${t}`))}}function pi(i){return new oi(i)}class ui{constructor(t){this.client=t}async update(t){return this.client.put(e("/disk"),t)}async create(t){return this.client.post(e("/disk"),t)}async listByPage(t,n){return this.client.post(e("/disk/list"),t,n)}async listAllEntities(t){return this.client.post(e("/disk/list/all"),t)}async getById(t){return this.client.get(e(`/disk/${t}`))}async delete(t){return this.client.delete(e(`/disk/${t}`))}}function hi(i){return new ui(i)}class yi{constructor(t){this.client=t}async update(t){return this.client.put(e("/disk/member"),t)}async create(t){return this.client.post(e("/disk/member"),t)}async listByPage(t,n){return this.client.post(e("/disk/member/list"),t,n)}async listAllEntities(t){return this.client.post(e("/disk/member/list/all"),t)}async getById(t){return this.client.get(e(`/disk/member/${t}`))}async delete(t){return this.client.delete(e(`/disk/member/${t}`))}}function di(i){return new yi(i)}class gi{constructor(t){this.client=t}async update(t){return this.client.put(e("/detail"),t)}async create(t){return this.client.post(e("/detail"),t)}async listByPage(t,n){return this.client.post(e("/detail/list"),t,n)}async listAllEntities(t){return this.client.post(e("/detail/list/all"),t)}async getById(t){return this.client.get(e(`/detail/${t}`))}async delete(t){return this.client.delete(e(`/detail/${t}`))}}function Ai(i){return new gi(i)}class mi{constructor(t){this.client=t}async update(t){return this.client.put(e("/department"),t)}async create(t){return this.client.post(e("/department"),t)}async move(t,n){return this.client.put(e(`/department/${t}/move`),void 0,n)}async setPrimary(t,n){return this.client.put(e(`/department/${t}/members/${n}/primary`))}async addMemberTo(t,n,s){return this.client.post(e(`/department/${t}/members/${n}`),void 0,s)}async removeMemberFrom(t,n){return this.client.delete(e(`/department/${t}/members/${n}`))}async listByPage(t,n){return this.client.post(e("/department/list"),t,n)}async listAllEntities(t){return this.client.post(e("/department/list/all"),t)}async getById(t){return this.client.get(e(`/department/${t}`))}async delete(t){return this.client.delete(e(`/department/${t}`))}async getDepartmentMembers(t,n){return this.client.get(e(`/department/${t}/members`),n)}}function fi(i){return new mi(i)}class Ci{constructor(t){this.client=t}async update(t){return this.client.put(e("/datasource"),t)}async create(t){return this.client.post(e("/datasource"),t)}async stop(t,n){return this.client.post(e("/datasource/stop"),void 0,t,n)}async listByPage(t,n){return this.client.post(e("/datasource/list"),t,n)}async listAllEntities(t){return this.client.post(e("/datasource/list/all"),t)}async createCompletions(t,n,s){return this.client.post(e("/datasource/chat/completions"),t,n,s)}async getById(t){return this.client.get(e(`/datasource/${t}`))}async delete(t){return this.client.delete(e(`/datasource/${t}`))}}function $i(i){return new Ci(i)}class Bi{constructor(t){this.client=t}async update(t){return this.client.put(e("/coupon"),t)}async create(t){return this.client.post(e("/coupon"),t)}async exchangeByPoints(t,n){return this.client.post(e(`/coupon/${t}/exchange/points`),n)}async redeem(t){return this.client.post(e("/coupon/redeem"),t)}async rollbackPointsExchange(t,n){return this.client.post(e(`/coupon/my/${t}/rollback`),n)}async listByPage(t,n){return this.client.post(e("/coupon/list"),t,n)}async listAllEntities(t){return this.client.post(e("/coupon/list/all"),t)}async getById(t){return this.client.get(e(`/coupon/${t}`))}async delete(t){return this.client.delete(e(`/coupon/${t}`))}}function Pi(i){return new Bi(i)}class ki{constructor(t){this.client=t}async update(t){return this.client.put(e("/coupon/template"),t)}async create(t){return this.client.post(e("/coupon/template"),t)}async listByPage(t,n){return this.client.post(e("/coupon/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/coupon/template/list/all"),t)}async getById(t){return this.client.get(e(`/coupon/template/${t}`))}async delete(t){return this.client.delete(e(`/coupon/template/${t}`))}}function vi(i){return new ki(i)}class bi{constructor(t){this.client=t}async update(t){return this.client.put(e("/conversation"),t)}async create(t){return this.client.post(e("/conversation"),t)}async pin(t,n){return this.client.post(e(`/conversation/${t}/pin`),void 0,n)}async open(t){return this.client.post(e("/conversation/open"),t)}async messageFeedback(t){return this.client.post(e("/conversation/message_feedback"),t)}async listByPage(t,n){return this.client.post(e("/conversation/list"),t,n)}async listAllEntities(t){return this.client.post(e("/conversation/list/all"),t)}async getById(t){return this.client.get(e(`/conversation/${t}`))}async delete(t){return this.client.delete(e(`/conversation/${t}`))}}function wi(i){return new bi(i)}class Ii{constructor(t){this.client=t}async renameChapter(t,n){return this.client.put(e(`/content-writing/chapters/${t}/rename`),n)}async moveChapter(t,n){return this.client.put(e(`/content-writing/chapters/${t}/move`),n)}async getChapterContent(t){return this.client.get(e(`/content-writing/chapters/${t}`))}async updateChapter(t,n){return this.client.put(e(`/content-writing/chapters/${t}`),n)}async deleteChapter(t){return this.client.delete(e(`/content-writing/chapters/${t}`))}async createChapter(t){return this.client.post(e("/content-writing/chapters"),t)}async getAllContents(){return this.client.get(e("/content-writing"))}async createContent(t){return this.client.post(e("/content-writing"),t)}async getContent(t){return this.client.get(e(`/content-writing/${t}`))}async deleteContent(t){return this.client.delete(e(`/content-writing/${t}`))}async getDirectoryTree(t){return this.client.get(e(`/content-writing/${t}/tree`))}async getContentStats(t){return this.client.get(e(`/content-writing/${t}/stats`))}async getAllScripts(){return this.client.get(e("/content-writing/scripts"))}async getAllProse(){return this.client.get(e("/content-writing/prose"))}async getAllNovels(){return this.client.get(e("/content-writing/novels"))}async getAllArticles(){return this.client.get(e("/content-writing/articles"))}}function Ei(i){return new Ii(i)}class Ri{constructor(t){this.client=t}async update(t){return this.client.put(e("/comments"),t)}async create(t){return this.client.post(e("/comments"),t)}async unlike(t){return this.client.post(e(`/comments/${t}/unlike`))}async reply(t,n){return this.client.post(e(`/comments/${t}/reply`),n)}async like(t){return this.client.post(e(`/comments/${t}/like`))}async listByPage(t,n){return this.client.post(e("/comments/list"),t,n)}async listAllEntities(t){return this.client.post(e("/comments/list/all"),t)}async getById(t){return this.client.get(e(`/comments/${t}`))}async delete(t){return this.client.delete(e(`/comments/${t}`))}}function _i(i){return new Ri(i)}class Ti{constructor(t){this.client=t}async update(t){return this.client.put(e("/column"),t)}async create(t){return this.client.post(e("/column"),t)}async listByPage(t,n){return this.client.post(e("/column/list"),t,n)}async listAllEntities(t){return this.client.post(e("/column/list/all"),t)}async getById(t){return this.client.get(e(`/column/${t}`))}async delete(t){return this.client.delete(e(`/column/${t}`))}}function Mi(i){return new Ti(i)}class Si{constructor(t){this.client=t}async update(t){return this.client.put(e("/collection"),t)}async create(t){return this.client.post(e("/collection"),t)}async listByPage(t,n){return this.client.post(e("/collection/list"),t,n)}async listAllEntities(t){return this.client.post(e("/collection/list/all"),t)}async getById(t){return this.client.get(e(`/collection/${t}`))}async delete(t){return this.client.delete(e(`/collection/${t}`))}}function Vi(i){return new Si(i)}class Ui{constructor(t){this.client=t}async update(t){return this.client.put(e("/collection-item"),t)}async create(t){return this.client.post(e("/collection-item"),t)}async listByPage(t,n){return this.client.post(e("/collection-item/list"),t,n)}async listAllEntities(t){return this.client.post(e("/collection-item/list/all"),t)}async getById(t){return this.client.get(e(`/collection-item/${t}`))}async delete(t){return this.client.delete(e(`/collection-item/${t}`))}}function zi(i){return new Ui(i)}class Di{constructor(t){this.client=t}async update(t){return this.client.put(e("/character"),t)}async create(t){return this.client.post(e("/character"),t)}async listByPage(t,n){return this.client.post(e("/character/list"),t,n)}async listAllEntities(t){return this.client.post(e("/character/list/all"),t)}async getById(t){return this.client.get(e(`/character/${t}`))}async delete(t){return this.client.delete(e(`/character/${t}`))}}function Gi(i){return new Di(i)}class Fi{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel"),t)}async create(t){return this.client.post(e("/channel"),t)}async listByPage(t,n){return this.client.post(e("/channel/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/list/all"),t)}async getById(t){return this.client.get(e(`/channel/${t}`))}async delete(t){return this.client.delete(e(`/channel/${t}`))}}function Oi(i){return new Fi(i)}class Ki{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel/resource"),t)}async create(t){return this.client.post(e("/channel/resource"),t)}async listByPage(t,n){return this.client.post(e("/channel/resource/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/resource/list/all"),t)}async getById(t){return this.client.get(e(`/channel/resource/${t}`))}async delete(t){return this.client.delete(e(`/channel/resource/${t}`))}}function xi(i){return new Ki(i)}class Hi{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel/proxy"),t)}async create(t){return this.client.post(e("/channel/proxy"),t)}async listByPage(t,n){return this.client.post(e("/channel/proxy/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/proxy/list/all"),t)}async getById(t){return this.client.get(e(`/channel/proxy/${t}`))}async delete(t){return this.client.delete(e(`/channel/proxy/${t}`))}}function Li(i){return new Hi(i)}class ji{constructor(t){this.client=t}async update(t){return this.client.put(e("/channel/account"),t)}async create(t){return this.client.post(e("/channel/account"),t)}async listSms(t){return this.client.post(e("/channel/account/list_sms"),t)}async listPayment(t){return this.client.post(e("/channel/account/list_payment"),t)}async listOss(t){return this.client.post(e("/channel/account/list_oss"),t)}async listOfficialAccount(t){return this.client.post(e("/channel/account/list_official_account"),t)}async listMiniProgram(t){return this.client.post(e("/channel/account/list_mini_program"),t)}async listByPage(t,n){return this.client.post(e("/channel/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/channel/account/list/all"),t)}async getById(t){return this.client.get(e(`/channel/account/${t}`))}async delete(t){return this.client.delete(e(`/channel/account/${t}`))}}function Ni(i){return new ji(i)}class qi{constructor(t){this.client=t}async update(t){return this.client.put(e("/category"),t)}async create(t){return this.client.post(e("/category"),t)}async listByPage(t,n){return this.client.post(e("/category/list"),t,n)}async listAllEntities(t){return this.client.post(e("/category/list/all"),t)}async getTree(t,n){return this.client.post(e("/category/get_tree"),t,n)}async getById(t){return this.client.get(e(`/category/${t}`))}async delete(t){return this.client.delete(e(`/category/${t}`))}}function Yi(i){return new qi(i)}class Wi{constructor(t){this.client=t}async update(t){return this.client.put(e("/card"),t)}async create(t){return this.client.post(e("/card"),t)}async listByPage(t,n){return this.client.post(e("/card/list"),t,n)}async listAllEntities(t){return this.client.post(e("/card/list/all"),t)}async getById(t){return this.client.get(e(`/card/${t}`))}async delete(t){return this.client.delete(e(`/card/${t}`))}}function Qi(i){return new Wi(i)}class Xi{constructor(t){this.client=t}async update(t){return this.client.put(e("/card/template"),t)}async create(t){return this.client.post(e("/card/template"),t)}async listByPage(t,n){return this.client.post(e("/card/template/list"),t,n)}async listAllEntities(t){return this.client.post(e("/card/template/list/all"),t)}async getById(t){return this.client.get(e(`/card/template/${t}`))}async delete(t){return this.client.delete(e(`/card/template/${t}`))}}function Ji(i){return new Xi(i)}class Zi{constructor(t){this.client=t}async update(t){return this.client.put(e("/attribute"),t)}async create(t){return this.client.post(e("/attribute"),t)}async listByPage(t,n){return this.client.post(e("/attribute/list"),t,n)}async listAllEntities(t){return this.client.post(e("/attribute/list/all"),t)}async getById(t){return this.client.get(e(`/attribute/${t}`))}async delete(t){return this.client.delete(e(`/attribute/${t}`))}}function tn(i){return new Zi(i)}class en{constructor(t){this.client=t}async update(t){return this.client.put(e("/article"),t)}async create(t){return this.client.post(e("/article"),t)}async listByPage(t,n){return this.client.post(e("/article/list"),t,n)}async listAllEntities(t){return this.client.post(e("/article/list/all"),t)}async getById(t){return this.client.get(e(`/article/${t}`))}async delete(t){return this.client.delete(e(`/article/${t}`))}}function nn(i){return new en(i)}class sn{constructor(t){this.client=t}async update(t){return this.client.put(e("/app"),t)}async create(t){return this.client.post(e("/app"),t)}async listByPage(t,n){return this.client.post(e("/app/list"),t,n)}async listAllEntities(t){return this.client.post(e("/app/list/all"),t)}async getSdkConfig(t){return this.client.post(e("/app/get_sdk_config"),t)}async getById(t){return this.client.get(e(`/app/${t}`))}async delete(t){return this.client.delete(e(`/app/${t}`))}async getAppInfo(){return this.client.get(e("/app/info"))}}function rn(i){return new sn(i)}class cn{constructor(t){this.client=t}async update(t){return this.client.put(e("/apikey"),t)}async create(t){return this.client.post(e("/apikey"),t)}async getMy(t){return this.client.get(e(`/apikey/my/${t}`))}async updateMy(t,n){return this.client.put(e(`/apikey/my/${t}`),n)}async deleteMy(t){return this.client.delete(e(`/apikey/my/${t}`))}async createMy(t){return this.client.post(e("/apikey/my"),t)}async rotateMy(t){return this.client.post(e(`/apikey/my/${t}/rotate`))}async enableMy(t){return this.client.post(e(`/apikey/my/${t}/enable`))}async disableMy(t){return this.client.post(e(`/apikey/my/${t}/disable`))}async listByPage(t,n){return this.client.post(e("/apikey/list"),t,n)}async listAllEntities(t){return this.client.post(e("/apikey/list/all"),t)}async getById(t){return this.client.get(e(`/apikey/${t}`))}async delete(t){return this.client.delete(e(`/apikey/${t}`))}async listMyApiKeys(){return this.client.get(e("/apikey/my/list"))}}function an(i){return new cn(i)}class ln{constructor(t){this.client=t}async update(t){return this.client.put(e("/agent"),t)}async create(t){return this.client.post(e("/agent"),t)}async listPublic(t,n){return this.client.post(e("/agent/list_public"),t,n)}async listByPage(t,n){return this.client.post(e("/agent/list"),t,n)}async listAllEntities(t){return this.client.post(e("/agent/list/all"),t)}async getById(t){return this.client.get(e(`/agent/${t}`))}async delete(t){return this.client.delete(e(`/agent/${t}`))}}function on(i){return new ln(i)}class pn{constructor(t){this.client=t}async update(t){return this.client.put(e("/agent/tool"),t)}async create(t){return this.client.post(e("/agent/tool"),t)}async listByPage(t,n){return this.client.post(e("/agent/tool/list"),t,n)}async listAllEntities(t){return this.client.post(e("/agent/tool/list/all"),t)}async getById(t){return this.client.get(e(`/agent/tool/${t}`))}async delete(t){return this.client.delete(e(`/agent/tool/${t}`))}}function un(i){return new pn(i)}class hn{constructor(t){this.client=t}async update(t){return this.client.put(e("/account"),t)}async create(t){return this.client.post(e("/account"),t)}async listByPage(t,n){return this.client.post(e("/account/list"),t,n)}async listAllEntities(t){return this.client.post(e("/account/list/all"),t)}async getPoints(t){return this.client.post(e("/account/get_points"),t)}async getCash(t){return this.client.post(e("/account/get_cash"),t)}async getById(t){return this.client.get(e(`/account/${t}`))}async delete(t){return this.client.delete(e(`/account/${t}`))}}function yn(i){return new hn(i)}class dn{constructor(t){this.client=t}async update(t){return this.client.put(e("/account/history"),t)}async create(t){return this.client.post(e("/account/history"),t)}async listByPage(t,n){return this.client.post(e("/account/history/list"),t,n)}async listAllEntities(t){return this.client.post(e("/account/history/list/all"),t)}async getById(t){return this.client.get(e(`/account/history/${t}`))}async delete(t){return this.client.delete(e(`/account/history/${t}`))}}function gn(i){return new dn(i)}class An{constructor(t){this.client=t}async getPointsToCashRate(){return this.client.get(e("/account/exchange-config/points-cash-rate"))}async updatePointsToCashRate(t){return this.client.put(e("/account/exchange-config/points-cash-rate"),t)}}function mn(i){return new An(i)}class fn{constructor(t){this.client=t}async apply(t){return this.client.post(e("/system/invoice/apply"),t)}async listByPage(t){return this.client.get(e("/system/invoice/page"),t)}}function Cn(i){return new fn(i)}class $n{constructor(t){this.client=t}async stop(t,n){return this.client.post(e("/search/chat/stop"),void 0,t,n)}async create(t,n,s){return this.client.post(e("/search/chat/completions"),t,n,s)}}function Bn(i){return new $n(i)}class Pn{constructor(t){this.client=t}async render(t){return this.client.post(e("/ppt/template/render"),t)}}function kn(i){return new Pn(i)}class vn{constructor(t){this.client=t}async stop(t,n){return this.client.post(e("/ppt/template/chat/stop"),void 0,t,n)}async create(t,n,s){return this.client.post(e("/ppt/template/chat/completions"),t,n,s)}}function bn(i){return new vn(i)}class wn{constructor(t){this.client=t}async listFiles(t){return this.client.get(e("/knowledge_base/files"),t)}async uploadFile(t,n){return this.client.post(e("/knowledge_base/files"),t,n)}async getListFiles(t){return this.client.get(e("/disk/files"),t)}async createUploadFile(t,n){return this.client.post(e("/disk/files"),t,n)}async getFile(t){return this.client.get(e(`/knowledge_base/files/${t}`))}async deleteFile(t){return this.client.delete(e(`/knowledge_base/files/${t}`))}async getFileContent(t){return this.client.get(e(`/knowledge_base/files/${t}/content`))}async getFileDisk(t){return this.client.get(e(`/disk/files/${t}`))}async deleteFileDisk(t){return this.client.delete(e(`/disk/files/${t}`))}async getFileContentDisk(t){return this.client.get(e(`/disk/files/${t}/content`))}}function In(i){return new wn(i)}class En{constructor(t){this.client=t}async stop(t,n){return this.client.post(e("/knowledge_base/chat/stop"),void 0,t,n)}async create(t,n,s){return this.client.post(e("/knowledge_base/chat/completions"),t,n,s)}}function Rn(i){return new En(i)}class _n{constructor(t){this.client=t}async markRead(t){return this.client.post(e("/im/message/mark_read"),t)}async listByPage(t,n){return this.client.post(e("/im/message/list"),t,n)}}function Tn(i){return new _n(i)}class Mn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/voice-speaker/create"),t)}async getResultByTaskId(t){return this.client.get(e(`/generation/voice-speaker/result/${t}`))}}function Sn(i){return new Mn(i)}class Vn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/video/create"),t)}async getResult(t){return this.client.get(e(`/generation/video/result/${t}`))}}function Un(i){return new Vn(i)}class zn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/music/create"),t)}async getResult(t){return this.client.get(e(`/generation/music/result/${t}`))}}function Dn(i){return new zn(i)}class Gn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/image/create"),t)}async getResult(t){return this.client.get(e(`/generation/image/result/${t}`))}}function Fn(i){return new Gn(i)}class On{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/character/create"),t)}async getResult(t){return this.client.get(e(`/generation/character/result/${t}`))}}function Kn(i){return new On(i)}class xn{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/audio/create"),t)}async getResult(t){return this.client.get(e(`/generation/audio/result/${t}`))}}function Hn(i){return new xn(i)}class Ln{constructor(t){this.client=t}async create(t){return this.client.post(e("/generation/audio-effect/create"),t)}async getResult(t){return this.client.get(e(`/generation/audio-effect/result/${t}`))}}function jn(i){return new Ln(i)}class Nn{constructor(t){this.client=t}async stop(t,n){return this.client.post(e("/chat/stop"),void 0,t,n)}async create(t,n,s){return this.client.post(e("/chat/completions"),t,n,s)}}function qn(i){return new Nn(i)}class Yn{constructor(t){this.client=t}async verifyPhone(t){return this.client.post(e("/auth/verification/verify_phone"),t)}async verifyEmail(t){return this.client.post(e("/auth/verification/verify_email"),t)}async sendVerificationCode(t){return this.client.post(e("/auth/verification/send_code"),t)}async generateQrCode(){return this.client.post(e("/auth/qrcode/generate"))}async confirmQrCodeLogin(t){return this.client.post(e("/auth/qrcode/confirm"),t)}async getAuthUrl(t){return this.client.post(e("/auth/oauth/get_auth_url"),t)}async createGetAuthUrl(t){return this.client.post(e("/auth/oauth/authorize"),t)}async handleCallback(t){return this.client.post(e("/auth/oauth/callback"),t)}async hasRole(t){return this.client.post(e("/auth/authorization/has_role"),t)}async hasPermission(t){return this.client.post(e("/auth/authorization/has_permission"),t)}async resetPassword(t){return this.client.post(e("/auth/authentication/reset_password"),t)}async requestPasswordReset(t){return this.client.post(e("/auth/authentication/request_password_reset"),t)}async register(t){return this.client.post(e("/auth/authentication/register"),t)}async refreshToken(t){return this.client.post(e("/auth/authentication/refresh_token"),t)}async logout(){return this.client.post(e("/auth/authentication/logout"))}async login(t){return this.client.post(e("/auth/authentication/login"),t)}async changePassword(t){return this.client.post(e("/auth/authentication/change_password"),t)}async getCurrentAccessToken(t){return this.client.post(e("/auth/access_token/current"),t)}async checkQrCodeStatus(t){return this.client.get(e(`/auth/qrcode/status/${t}`))}async getRoles(){return this.client.get(e("/auth/authorization/roles"))}async getPermissions(){return this.client.get(e("/auth/authorization/permissions"))}async getCurrentUser(){return this.client.get(e("/auth/authentication/get_current_user"))}}function Wn(i){return new Yn(i)}class Qn{constructor(t){this.client=t}async withContext(t,n,s){return this.client.post(e("/agent/chat/with_context"),t,n,s)}async stop(t,n){return this.client.post(e("/agent/chat/stop"),void 0,t,n)}async resumeStream(t,n,s){return this.client.post(e("/agent/chat/resume_stream"),t,n,s)}async create(t,n,s){return this.client.post(e("/agent/chat/completions"),t,n,s)}}function Xn(i){return new Qn(i)}class Jn{constructor(t){this.httpClient=p(t),this.workspace=h(this.httpClient),this.contentVote=d(this.httpClient),this.voiceSpeaker=A(this.httpClient),this.visitHistory=f(this.httpClient),this.vipUser=$(this.httpClient),this.vipRecharge=P(this.httpClient),this.vipRechargePackage=v(this.httpClient),this.vipPointChange=w(this.httpClient),this.vipPackageGroup=E(this.httpClient),this.vipPackage=_(this.httpClient),this.vipLevel=M(this.httpClient),this.vipLevelBenefit=V(this.httpClient),this.vipBenefit=z(this.httpClient),this.vipBenefitUsage=G(this.httpClient),this.video=O(this.httpClient),this.user=x(this.httpClient),this.userOauthAccount=L(this.httpClient),this.userCoupon=N(this.httpClient),this.userCard=Y(this.httpClient),this.userAddress=Q(this.httpClient),this.usageRecord=J(this.httpClient),this.shoppingCart=tt(this.httpClient),this.shoppingCartItem=it(this.httpClient),this.refund=st(this.httpClient),this.payment=ct(this.httpClient),this.order=lt(this.httpClient),this.orderItem=pt(this.httpClient),this.tool=ht(this.httpClient),this.tenant=dt(this.httpClient),this.databaseTable=At(this.httpClient),this.productSku=ft(this.httpClient),this.skill=$t(this.httpClient),this.skillPackage=Pt(this.httpClient),this.shortUrl=vt(this.httpClient),this.shop=wt(this.httpClient),this.share=Et(this.httpClient),this.shareVisitRecord=_t(this.httpClient),this.shardingKey=Mt(this.httpClient),this.apiSecurityPolicy=Vt(this.httpClient),this.schema=zt(this.httpClient),this.rbacRole=Gt(this.httpClient),this.rolePermission=Ot(this.httpClient),this.invocationRecord=xt(this.httpClient),this.rbacUserRole=Lt(this.httpClient),this.prompt=Nt(this.httpClient),this.project=Yt(this.httpClient),this.product=Qt(this.httpClient),this.pptTemplate=Jt(this.httpClient),this.pptTemplateSlide=te(this.httpClient),this.rbacPermission=ie(this.httpClient),this.partner=se(this.httpClient),this.chatParticipant=ce(this.httpClient),this.ossBucket=le(this.httpClient),this.organization=pe(this.httpClient),this.position=he(this.httpClient),this.memberRelations=de(this.httpClient),this.organizationMember=Ae(this.httpClient),this.notification=fe(this.httpClient),this.notes=$e(this.httpClient),this.news=Pe(this.httpClient),this.net=ve(this.httpClient),this.dnsRecord=we(this.httpClient),this.music=Ee(this.httpClient),this.modelInformation=_e(this.httpClient),this.modelPrice=Me(this.httpClient),this.chatMessage=Ve(this.httpClient),this.memberLevel=ze(this.httpClient),this.memberCard=Ge(this.httpClient),this.knowledgeBase=Oe(this.httpClient),this.invitationRelation=xe(this.httpClient),this.invitationCode=Le(this.httpClient),this.image=Ne(this.httpClient),this.chatGroup=Ye(this.httpClient),this.generation=Qe(this.httpClient),this.generationContent=Je(this.httpClient),this.file=ti(this.httpClient),this.filePart=ii(this.httpClient),this.fileContent=si(this.httpClient),this.feeds=ci(this.httpClient),this.feedback=li(this.httpClient),this.favorite=pi(this.httpClient),this.fileDisk=hi(this.httpClient),this.diskMember=di(this.httpClient),this.detail=Ai(this.httpClient),this.department=fi(this.httpClient),this.datasource=$i(this.httpClient),this.coupon=Pi(this.httpClient),this.couponTemplate=vi(this.httpClient),this.conversation=wi(this.httpClient),this.contentWriting=Ei(this.httpClient),this.comment=_i(this.httpClient),this.column=Mi(this.httpClient),this.collection=Vi(this.httpClient),this.collectionItem=zi(this.httpClient),this.character=Gi(this.httpClient),this.channel=Oi(this.httpClient),this.channelResource=xi(this.httpClient),this.channelProxy=Li(this.httpClient),this.channelAccount=Ni(this.httpClient),this.category=Yi(this.httpClient),this.membershipCard=Qi(this.httpClient),this.cardTemplate=Ji(this.httpClient),this.attribute=tn(this.httpClient),this.article=nn(this.httpClient),this.app=rn(this.httpClient),this.apiKey=an(this.httpClient),this.agent=on(this.httpClient),this.agentToolRelationship=un(this.httpClient),this.account=yn(this.httpClient),this.accountHistory=gn(this.httpClient),this.accountExchangeConfig=mn(this.httpClient),this.invoice=Cn(this.httpClient),this.searchChat=Bn(this.httpClient),this.pptTemplateRendering=kn(this.httpClient),this.pptTemplateChat=bn(this.httpClient),this.knowledgeBaseFile=In(this.httpClient),this.knowledgeBaseChat=Rn(this.httpClient),this.imMessage=Tn(this.httpClient),this.voiceSpeakerGeneration=Sn(this.httpClient),this.videoGeneration=Un(this.httpClient),this.musicGeneration=Dn(this.httpClient),this.imageGeneration=Fn(this.httpClient),this.characterGeneration=Kn(this.httpClient),this.audioGeneration=Hn(this.httpClient),this.audioEffectGeneration=jn(this.httpClient),this.chat=qn(this.httpClient),this.auth=Wn(this.httpClient),this.agentChat=Xn(this.httpClient)}setApiKey(t){return this.httpClient.setApiKey(t),this}setAuthToken(t){return this.httpClient.setAuthToken(t),this}setAccessToken(t){return this.httpClient.setAccessToken(t),this}setTokenManager(t){return this.httpClient.setTokenManager(t),this}get http(){return this.httpClient}}function Zn(i){return new Jn(i)}class ts{constructor(t,n){this.http=t,this.basePath=n}async get(t,n,s){return this.http.get(`${this.basePath}${t}`,n,s)}async post(t,n,s,c){return this.http.post(`${this.basePath}${t}`,n,s,c)}async put(t,n,s,c){return this.http.put(`${this.basePath}${t}`,n,s,c)}async delete(t,n,s){return this.http.delete(`${this.basePath}${t}`,n,s)}async patch(t,n,s,c){return this.http.patch(`${this.basePath}${t}`,n,s,c)}}Object.defineProperty(exports,"DEFAULT_TIMEOUT",{enumerable:!0,get:()=>a.DEFAULT_TIMEOUT});Object.defineProperty(exports,"DefaultAuthTokenManager",{enumerable:!0,get:()=>a.DefaultAuthTokenManager});Object.defineProperty(exports,"SUCCESS_CODES",{enumerable:!0,get:()=>a.SUCCESS_CODES});Object.defineProperty(exports,"createTokenManager",{enumerable:!0,get:()=>a.createTokenManager});exports.AccountApi=hn;exports.AccountExchangeConfigApi=An;exports.AccountHistoryApi=dn;exports.AgentApi=ln;exports.AgentChatApi=Qn;exports.AgentToolRelationshipApi=pn;exports.ApiKeyApi=cn;exports.ApiSecurityPolicyApi=St;exports.AppApi=sn;exports.ArticleApi=en;exports.AttributeApi=Zi;exports.AudioEffectGenerationApi=Ln;exports.AudioGenerationApi=xn;exports.AuthApi=Yn;exports.BaseApi=ts;exports.CardTemplateApi=Xi;exports.CategoryApi=qi;exports.ChannelAccountApi=ji;exports.ChannelApi=Fi;exports.ChannelProxyApi=Hi;exports.ChannelResourceApi=Ki;exports.CharacterApi=Di;exports.CharacterGenerationApi=On;exports.ChatApi=Nn;exports.ChatGroupApi=qe;exports.ChatMessageApi=Se;exports.ChatParticipantApi=re;exports.CollectionApi=Si;exports.CollectionItemApi=Ui;exports.ColumnApi=Ti;exports.CommentApi=Ri;exports.ContentVoteApi=y;exports.ContentWritingApi=Ii;exports.ConversationApi=bi;exports.CouponApi=Bi;exports.CouponTemplateApi=ki;exports.DatabaseTableApi=gt;exports.DatasourceApi=Ci;exports.DepartmentApi=mi;exports.DetailApi=gi;exports.DiskMemberApi=yi;exports.DnsRecordApi=be;exports.FavoriteApi=oi;exports.FeedbackApi=ai;exports.FeedsApi=ri;exports.FileApi=Ze;exports.FileContentApi=ni;exports.FileDiskApi=ui;exports.FilePartApi=ei;exports.GenerationApi=We;exports.GenerationContentApi=Xe;exports.HttpClient=l;exports.ImMessageApi=_n;exports.ImageApi=je;exports.ImageGenerationApi=Gn;exports.InvitationCodeApi=He;exports.InvitationRelationApi=Ke;exports.InvocationRecordApi=Kt;exports.InvoiceApi=fn;exports.KnowledgeBaseApi=Fe;exports.KnowledgeBaseChatApi=En;exports.KnowledgeBaseFileApi=wn;exports.MemberCardApi=De;exports.MemberLevelApi=Ue;exports.MemberRelationsApi=ye;exports.MembershipCardApi=Wi;exports.ModelInformationApi=Re;exports.ModelPriceApi=Te;exports.MusicApi=Ie;exports.MusicGenerationApi=zn;exports.NetApi=ke;exports.NewsApi=Be;exports.NotesApi=Ce;exports.NotificationApi=me;exports.OrderApi=at;exports.OrderItemApi=ot;exports.OrganizationApi=oe;exports.OrganizationMemberApi=ge;exports.OssBucketApi=ae;exports.PartnerApi=ne;exports.PaymentApi=rt;exports.PositionApi=ue;exports.PptTemplateApi=Xt;exports.PptTemplateChatApi=vn;exports.PptTemplateRenderingApi=Pn;exports.PptTemplateSlideApi=Zt;exports.ProductApi=Wt;exports.ProductSkuApi=mt;exports.ProjectApi=qt;exports.PromptApi=jt;exports.RbacPermissionApi=ee;exports.RbacRoleApi=Dt;exports.RbacUserRoleApi=Ht;exports.RefundApi=nt;exports.RolePermissionApi=Ft;exports.SchemaApi=Ut;exports.SdkworkBackendClient=Jn;exports.SearchChatApi=$n;exports.ShardingKeyApi=Tt;exports.ShareApi=It;exports.ShareVisitRecordApi=Rt;exports.ShopApi=bt;exports.ShoppingCartApi=Z;exports.ShoppingCartItemApi=et;exports.ShortUrlApi=kt;exports.SkillApi=Ct;exports.SkillPackageApi=Bt;exports.TenantApi=yt;exports.ToolApi=ut;exports.UsageRecordApi=X;exports.UserAddressApi=W;exports.UserApi=K;exports.UserCardApi=q;exports.UserCouponApi=j;exports.UserOauthAccountApi=H;exports.VideoApi=F;exports.VideoGenerationApi=Vn;exports.VipBenefitApi=U;exports.VipBenefitUsageApi=D;exports.VipLevelApi=T;exports.VipLevelBenefitApi=S;exports.VipPackageApi=R;exports.VipPackageGroupApi=I;exports.VipPointChangeApi=b;exports.VipRechargeApi=B;exports.VipRechargePackageApi=k;exports.VipUserApi=C;exports.VisitHistoryApi=m;exports.VoiceSpeakerApi=g;exports.VoiceSpeakerGenerationApi=Mn;exports.WorkspaceApi=u;exports.backendApiPath=e;exports.createAccountApi=yn;exports.createAccountExchangeConfigApi=mn;exports.createAccountHistoryApi=gn;exports.createAgentApi=on;exports.createAgentChatApi=Xn;exports.createAgentToolRelationshipApi=un;exports.createApiKeyApi=an;exports.createApiSecurityPolicyApi=Vt;exports.createAppApi=rn;exports.createArticleApi=nn;exports.createAttributeApi=tn;exports.createAudioEffectGenerationApi=jn;exports.createAudioGenerationApi=Hn;exports.createAuthApi=Wn;exports.createCardTemplateApi=Ji;exports.createCategoryApi=Yi;exports.createChannelAccountApi=Ni;exports.createChannelApi=Oi;exports.createChannelProxyApi=Li;exports.createChannelResourceApi=xi;exports.createCharacterApi=Gi;exports.createCharacterGenerationApi=Kn;exports.createChatApi=qn;exports.createChatGroupApi=Ye;exports.createChatMessageApi=Ve;exports.createChatParticipantApi=ce;exports.createClient=Zn;exports.createCollectionApi=Vi;exports.createCollectionItemApi=zi;exports.createColumnApi=Mi;exports.createCommentApi=_i;exports.createContentVoteApi=d;exports.createContentWritingApi=Ei;exports.createConversationApi=wi;exports.createCouponApi=Pi;exports.createCouponTemplateApi=vi;exports.createDatabaseTableApi=At;exports.createDatasourceApi=$i;exports.createDepartmentApi=fi;exports.createDetailApi=Ai;exports.createDiskMemberApi=di;exports.createDnsRecordApi=we;exports.createFavoriteApi=pi;exports.createFeedbackApi=li;exports.createFeedsApi=ci;exports.createFileApi=ti;exports.createFileContentApi=si;exports.createFileDiskApi=hi;exports.createFilePartApi=ii;exports.createGenerationApi=Qe;exports.createGenerationContentApi=Je;exports.createHttpClient=p;exports.createImMessageApi=Tn;exports.createImageApi=Ne;exports.createImageGenerationApi=Fn;exports.createInvitationCodeApi=Le;exports.createInvitationRelationApi=xe;exports.createInvocationRecordApi=xt;exports.createInvoiceApi=Cn;exports.createKnowledgeBaseApi=Oe;exports.createKnowledgeBaseChatApi=Rn;exports.createKnowledgeBaseFileApi=In;exports.createMemberCardApi=Ge;exports.createMemberLevelApi=ze;exports.createMemberRelationsApi=de;exports.createMembershipCardApi=Qi;exports.createModelInformationApi=_e;exports.createModelPriceApi=Me;exports.createMusicApi=Ee;exports.createMusicGenerationApi=Dn;exports.createNetApi=ve;exports.createNewsApi=Pe;exports.createNotesApi=$e;exports.createNotificationApi=fe;exports.createOrderApi=lt;exports.createOrderItemApi=pt;exports.createOrganizationApi=pe;exports.createOrganizationMemberApi=Ae;exports.createOssBucketApi=le;exports.createPartnerApi=se;exports.createPaymentApi=ct;exports.createPositionApi=he;exports.createPptTemplateApi=Jt;exports.createPptTemplateChatApi=bn;exports.createPptTemplateRenderingApi=kn;exports.createPptTemplateSlideApi=te;exports.createProductApi=Qt;exports.createProductSkuApi=ft;exports.createProjectApi=Yt;exports.createPromptApi=Nt;exports.createRbacPermissionApi=ie;exports.createRbacRoleApi=Gt;exports.createRbacUserRoleApi=Lt;exports.createRefundApi=st;exports.createRolePermissionApi=Ot;exports.createSchemaApi=zt;exports.createSearchChatApi=Bn;exports.createShardingKeyApi=Mt;exports.createShareApi=Et;exports.createShareVisitRecordApi=_t;exports.createShopApi=wt;exports.createShoppingCartApi=tt;exports.createShoppingCartItemApi=it;exports.createShortUrlApi=vt;exports.createSkillApi=$t;exports.createSkillPackageApi=Pt;exports.createTenantApi=dt;exports.createToolApi=ht;exports.createUsageRecordApi=J;exports.createUserAddressApi=Q;exports.createUserApi=x;exports.createUserCardApi=Y;exports.createUserCouponApi=N;exports.createUserOauthAccountApi=L;exports.createVideoApi=O;exports.createVideoGenerationApi=Un;exports.createVipBenefitApi=z;exports.createVipBenefitUsageApi=G;exports.createVipLevelApi=M;exports.createVipLevelBenefitApi=V;exports.createVipPackageApi=_;exports.createVipPackageGroupApi=E;exports.createVipPointChangeApi=w;exports.createVipRechargeApi=P;exports.createVipRechargePackageApi=v;exports.createVipUserApi=$;exports.createVisitHistoryApi=f;exports.createVoiceSpeakerApi=A;exports.createVoiceSpeakerGenerationApi=Sn;exports.createWorkspaceApi=h;
2
2
  //# sourceMappingURL=index.cjs.map