@danyow/lark-mcp 0.5.1

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 (389) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/LICENSE +9 -0
  3. package/README.md +215 -0
  4. package/README_ZH.md +212 -0
  5. package/dist/auth/config.d.ts +12 -0
  6. package/dist/auth/config.js +15 -0
  7. package/dist/auth/handler/handler-local.d.ts +21 -0
  8. package/dist/auth/handler/handler-local.js +123 -0
  9. package/dist/auth/handler/handler.d.ts +32 -0
  10. package/dist/auth/handler/handler.js +117 -0
  11. package/dist/auth/handler/index.d.ts +2 -0
  12. package/dist/auth/handler/index.js +18 -0
  13. package/dist/auth/index.d.ts +4 -0
  14. package/dist/auth/index.js +20 -0
  15. package/dist/auth/provider/index.d.ts +3 -0
  16. package/dist/auth/provider/index.js +19 -0
  17. package/dist/auth/provider/oauth.d.ts +18 -0
  18. package/dist/auth/provider/oauth.js +147 -0
  19. package/dist/auth/provider/oidc.d.ts +18 -0
  20. package/dist/auth/provider/oidc.js +172 -0
  21. package/dist/auth/provider/types.d.ts +8 -0
  22. package/dist/auth/provider/types.js +2 -0
  23. package/dist/auth/store.d.ts +39 -0
  24. package/dist/auth/store.js +213 -0
  25. package/dist/auth/types.d.ts +13 -0
  26. package/dist/auth/types.js +2 -0
  27. package/dist/auth/utils/encryption.d.ts +7 -0
  28. package/dist/auth/utils/encryption.js +40 -0
  29. package/dist/auth/utils/index.d.ts +3 -0
  30. package/dist/auth/utils/index.js +19 -0
  31. package/dist/auth/utils/is-token-valid.d.ts +7 -0
  32. package/dist/auth/utils/is-token-valid.js +28 -0
  33. package/dist/auth/utils/pkce.d.ts +6 -0
  34. package/dist/auth/utils/pkce.js +20 -0
  35. package/dist/auth/utils/storage-manager.d.ts +17 -0
  36. package/dist/auth/utils/storage-manager.js +135 -0
  37. package/dist/cli/index.d.ts +1 -0
  38. package/dist/cli/index.js +5 -0
  39. package/dist/cli/login-handler.d.ts +16 -0
  40. package/dist/cli/login-handler.js +142 -0
  41. package/dist/cli.d.ts +4 -0
  42. package/dist/cli.js +122 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.js +19 -0
  45. package/dist/mcp-server/index.d.ts +2 -0
  46. package/dist/mcp-server/index.js +18 -0
  47. package/dist/mcp-server/shared/index.d.ts +2 -0
  48. package/dist/mcp-server/shared/index.js +18 -0
  49. package/dist/mcp-server/shared/init.d.ts +10 -0
  50. package/dist/mcp-server/shared/init.js +121 -0
  51. package/dist/mcp-server/shared/types.d.ts +40 -0
  52. package/dist/mcp-server/shared/types.js +10 -0
  53. package/dist/mcp-server/transport/index.d.ts +3 -0
  54. package/dist/mcp-server/transport/index.js +19 -0
  55. package/dist/mcp-server/transport/sse.d.ts +2 -0
  56. package/dist/mcp-server/transport/sse.js +75 -0
  57. package/dist/mcp-server/transport/stdio.d.ts +2 -0
  58. package/dist/mcp-server/transport/stdio.js +36 -0
  59. package/dist/mcp-server/transport/streamable.d.ts +2 -0
  60. package/dist/mcp-server/transport/streamable.js +86 -0
  61. package/dist/mcp-server/transport/utils.d.ts +16 -0
  62. package/dist/mcp-server/transport/utils.js +34 -0
  63. package/dist/mcp-tool/constants.d.ts +49 -0
  64. package/dist/mcp-tool/constants.js +115 -0
  65. package/dist/mcp-tool/document-tool/index.d.ts +1 -0
  66. package/dist/mcp-tool/document-tool/index.js +17 -0
  67. package/dist/mcp-tool/document-tool/recall/index.d.ts +2 -0
  68. package/dist/mcp-tool/document-tool/recall/index.js +39 -0
  69. package/dist/mcp-tool/document-tool/recall/request.d.ts +2 -0
  70. package/dist/mcp-tool/document-tool/recall/request.js +25 -0
  71. package/dist/mcp-tool/document-tool/recall/type.d.ts +19 -0
  72. package/dist/mcp-tool/document-tool/recall/type.js +2 -0
  73. package/dist/mcp-tool/index.d.ts +5 -0
  74. package/dist/mcp-tool/index.js +21 -0
  75. package/dist/mcp-tool/mcp-tool.d.ts +52 -0
  76. package/dist/mcp-tool/mcp-tool.js +198 -0
  77. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.d.ts +5 -0
  78. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.js +219 -0
  79. package/dist/mcp-tool/tools/en/builtin-tools/drive/builtin.d.ts +4 -0
  80. package/dist/mcp-tool/tools/en/builtin-tools/drive/builtin.js +159 -0
  81. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.d.ts +4 -0
  82. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.js +63 -0
  83. package/dist/mcp-tool/tools/en/builtin-tools/index.d.ts +5 -0
  84. package/dist/mcp-tool/tools/en/builtin-tools/index.js +7 -0
  85. package/dist/mcp-tool/tools/en/gen-tools/index.d.ts +114 -0
  86. package/dist/mcp-tool/tools/en/gen-tools/index.js +129 -0
  87. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.d.ts +562 -0
  88. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.js +264 -0
  89. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.d.ts +912 -0
  90. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.js +449 -0
  91. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.d.ts +1213 -0
  92. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.js +560 -0
  93. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.d.ts +2530 -0
  94. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.js +949 -0
  95. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.d.ts +80 -0
  96. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.js +53 -0
  97. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.d.ts +1008 -0
  98. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.js +775 -0
  99. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.d.ts +3928 -0
  100. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.js +1602 -0
  101. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.d.ts +6043 -0
  102. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.js +1857 -0
  103. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.d.ts +151 -0
  104. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.js +71 -0
  105. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.d.ts +26 -0
  106. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.js +17 -0
  107. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.d.ts +2174 -0
  108. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.js +594 -0
  109. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.d.ts +755 -0
  110. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.js +234 -0
  111. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.d.ts +3541 -0
  112. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.js +1786 -0
  113. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.d.ts +40 -0
  114. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.js +18 -0
  115. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.d.ts +2075 -0
  116. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.js +1594 -0
  117. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.d.ts +528 -0
  118. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.js +260 -0
  119. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.d.ts +189 -0
  120. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.js +132 -0
  121. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.d.ts +4274 -0
  122. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.js +2583 -0
  123. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.d.ts +16873 -0
  124. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.js +5045 -0
  125. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.d.ts +29387 -0
  126. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.js +7787 -0
  127. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.d.ts +4274 -0
  128. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.js +1367 -0
  129. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.d.ts +58 -0
  130. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.js +28 -0
  131. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.d.ts +93466 -0
  132. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.js +14350 -0
  133. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.d.ts +3251 -0
  134. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.js +1422 -0
  135. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.d.ts +174 -0
  136. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.js +117 -0
  137. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.d.ts +86 -0
  138. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.js +48 -0
  139. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.d.ts +44 -0
  140. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.js +17 -0
  141. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  142. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.js +285 -0
  143. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.d.ts +10076 -0
  144. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.js +6065 -0
  145. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.d.ts +158 -0
  146. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.js +61 -0
  147. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  148. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.js +27 -0
  149. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.d.ts +3043 -0
  150. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.js +1869 -0
  151. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.d.ts +2176 -0
  152. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.js +460 -0
  153. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.d.ts +2301 -0
  154. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.js +669 -0
  155. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.d.ts +2462 -0
  156. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.js +1655 -0
  157. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.d.ts +104 -0
  158. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.js +45 -0
  159. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.d.ts +329 -0
  160. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.js +78 -0
  161. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.d.ts +92 -0
  162. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.js +62 -0
  163. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.d.ts +52 -0
  164. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.js +24 -0
  165. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.d.ts +1628 -0
  166. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.js +434 -0
  167. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  168. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  169. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.d.ts +131 -0
  170. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.js +59 -0
  171. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.d.ts +333 -0
  172. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.js +176 -0
  173. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.d.ts +309 -0
  174. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.js +178 -0
  175. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.d.ts +1177 -0
  176. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.js +559 -0
  177. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  178. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.js +303 -0
  179. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.d.ts +192 -0
  180. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.js +71 -0
  181. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.d.ts +1695 -0
  182. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.js +446 -0
  183. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  184. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.js +32 -0
  185. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v2.d.ts +523 -0
  186. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v2.js +231 -0
  187. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.d.ts +979 -0
  188. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.js +721 -0
  189. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  190. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.js +65 -0
  191. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.d.ts +1161 -0
  192. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.js +672 -0
  193. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.d.ts +6051 -0
  194. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.js +1970 -0
  195. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.d.ts +31 -0
  196. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.js +24 -0
  197. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.d.ts +80 -0
  198. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.js +37 -0
  199. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.d.ts +182 -0
  200. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.js +141 -0
  201. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.d.ts +5725 -0
  202. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.js +1751 -0
  203. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.d.ts +21 -0
  204. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.js +14 -0
  205. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.d.ts +72 -0
  206. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.js +19 -0
  207. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.d.ts +843 -0
  208. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.js +381 -0
  209. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.d.ts +116 -0
  210. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.js +77 -0
  211. package/dist/mcp-tool/tools/index.d.ts +104 -0
  212. package/dist/mcp-tool/tools/index.js +9 -0
  213. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.d.ts +5 -0
  214. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.js +198 -0
  215. package/dist/mcp-tool/tools/zh/builtin-tools/drive/builtin.d.ts +4 -0
  216. package/dist/mcp-tool/tools/zh/builtin-tools/drive/builtin.js +159 -0
  217. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.d.ts +4 -0
  218. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.js +63 -0
  219. package/dist/mcp-tool/tools/zh/builtin-tools/index.d.ts +5 -0
  220. package/dist/mcp-tool/tools/zh/builtin-tools/index.js +7 -0
  221. package/dist/mcp-tool/tools/zh/gen-tools/index.d.ts +114 -0
  222. package/dist/mcp-tool/tools/zh/gen-tools/index.js +129 -0
  223. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.d.ts +562 -0
  224. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.js +277 -0
  225. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.d.ts +912 -0
  226. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.js +430 -0
  227. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.d.ts +1213 -0
  228. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.js +541 -0
  229. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.d.ts +2530 -0
  230. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.js +885 -0
  231. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.d.ts +80 -0
  232. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.js +59 -0
  233. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.d.ts +1007 -0
  234. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.js +721 -0
  235. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.d.ts +3928 -0
  236. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.js +1532 -0
  237. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.d.ts +6043 -0
  238. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.js +1620 -0
  239. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.d.ts +151 -0
  240. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.js +87 -0
  241. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.d.ts +26 -0
  242. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.js +17 -0
  243. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.d.ts +2174 -0
  244. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.js +574 -0
  245. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.d.ts +755 -0
  246. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.js +270 -0
  247. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.d.ts +3541 -0
  248. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.js +1864 -0
  249. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.d.ts +40 -0
  250. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.js +18 -0
  251. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.d.ts +2075 -0
  252. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.js +1533 -0
  253. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.d.ts +528 -0
  254. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.js +248 -0
  255. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.d.ts +189 -0
  256. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.js +130 -0
  257. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.d.ts +4274 -0
  258. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.js +2394 -0
  259. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.d.ts +16957 -0
  260. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.js +4753 -0
  261. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.d.ts +29869 -0
  262. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.js +7902 -0
  263. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.d.ts +4324 -0
  264. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.js +1340 -0
  265. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.d.ts +58 -0
  266. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.js +26 -0
  267. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.d.ts +116719 -0
  268. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.js +14949 -0
  269. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.d.ts +3251 -0
  270. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.js +1395 -0
  271. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.d.ts +174 -0
  272. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.js +115 -0
  273. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.d.ts +86 -0
  274. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.js +48 -0
  275. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.d.ts +44 -0
  276. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.js +25 -0
  277. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  278. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.js +279 -0
  279. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.d.ts +10085 -0
  280. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.js +5787 -0
  281. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.d.ts +158 -0
  282. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.js +64 -0
  283. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  284. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.js +27 -0
  285. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.d.ts +3043 -0
  286. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.js +1812 -0
  287. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.d.ts +2176 -0
  288. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.js +454 -0
  289. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.d.ts +2301 -0
  290. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.js +650 -0
  291. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.d.ts +2465 -0
  292. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.js +1467 -0
  293. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.d.ts +104 -0
  294. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.js +45 -0
  295. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.d.ts +329 -0
  296. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.js +76 -0
  297. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.d.ts +92 -0
  298. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.js +62 -0
  299. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.d.ts +52 -0
  300. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.js +20 -0
  301. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.d.ts +1664 -0
  302. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.js +455 -0
  303. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  304. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  305. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.d.ts +131 -0
  306. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.js +53 -0
  307. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.d.ts +609 -0
  308. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.js +321 -0
  309. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.d.ts +309 -0
  310. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.js +165 -0
  311. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.d.ts +1177 -0
  312. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.js +525 -0
  313. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  314. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.js +295 -0
  315. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.d.ts +194 -0
  316. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.js +72 -0
  317. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.d.ts +1695 -0
  318. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.js +556 -0
  319. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  320. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.js +32 -0
  321. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v2.d.ts +523 -0
  322. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v2.js +231 -0
  323. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.d.ts +979 -0
  324. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.js +821 -0
  325. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  326. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.js +65 -0
  327. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.d.ts +1161 -0
  328. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.js +647 -0
  329. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.d.ts +6077 -0
  330. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.js +1894 -0
  331. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.d.ts +31 -0
  332. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.js +24 -0
  333. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.d.ts +80 -0
  334. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.js +37 -0
  335. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.d.ts +182 -0
  336. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.js +137 -0
  337. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.d.ts +5725 -0
  338. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.js +1640 -0
  339. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.d.ts +21 -0
  340. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.js +14 -0
  341. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.d.ts +72 -0
  342. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.js +34 -0
  343. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.d.ts +843 -0
  344. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.js +376 -0
  345. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.d.ts +116 -0
  346. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.js +77 -0
  347. package/dist/mcp-tool/types/index.d.ts +53 -0
  348. package/dist/mcp-tool/types/index.js +9 -0
  349. package/dist/mcp-tool/utils/case-transf.d.ts +2 -0
  350. package/dist/mcp-tool/utils/case-transf.js +15 -0
  351. package/dist/mcp-tool/utils/filter-tools.d.ts +2 -0
  352. package/dist/mcp-tool/utils/filter-tools.js +27 -0
  353. package/dist/mcp-tool/utils/get-should-use-uat.d.ts +2 -0
  354. package/dist/mcp-tool/utils/get-should-use-uat.js +18 -0
  355. package/dist/mcp-tool/utils/handler.d.ts +2 -0
  356. package/dist/mcp-tool/utils/handler.js +119 -0
  357. package/dist/mcp-tool/utils/index.d.ts +4 -0
  358. package/dist/mcp-tool/utils/index.js +20 -0
  359. package/dist/utils/clean-env-args.d.ts +1 -0
  360. package/dist/utils/clean-env-args.js +12 -0
  361. package/dist/utils/constants.d.ts +18 -0
  362. package/dist/utils/constants.js +35 -0
  363. package/dist/utils/http-instance.d.ts +2 -0
  364. package/dist/utils/http-instance.js +21 -0
  365. package/dist/utils/logger.d.ts +22 -0
  366. package/dist/utils/logger.js +97 -0
  367. package/dist/utils/noop.d.ts +1 -0
  368. package/dist/utils/noop.js +6 -0
  369. package/dist/utils/parser-string-array.d.ts +1 -0
  370. package/dist/utils/parser-string-array.js +13 -0
  371. package/dist/utils/safe-json-parse.d.ts +1 -0
  372. package/dist/utils/safe-json-parse.js +14 -0
  373. package/dist/utils/version.d.ts +1 -0
  374. package/dist/utils/version.js +52 -0
  375. package/docs/recall-mcp/README.md +137 -0
  376. package/docs/recall-mcp/README_ZH.md +137 -0
  377. package/docs/reference/cli/cli-zh.md +92 -0
  378. package/docs/reference/cli/cli.md +92 -0
  379. package/docs/reference/tool-presets/presets-zh.md +120 -0
  380. package/docs/reference/tool-presets/presets.md +120 -0
  381. package/docs/reference/tool-presets/tools-en.md +1527 -0
  382. package/docs/reference/tool-presets/tools-zh.md +1544 -0
  383. package/docs/troubleshooting/faq-zh.md +67 -0
  384. package/docs/troubleshooting/faq.md +67 -0
  385. package/docs/usage/configuration/configuration-zh.md +344 -0
  386. package/docs/usage/configuration/configuration.md +344 -0
  387. package/docs/usage/docker/docker-zh.md +101 -0
  388. package/docs/usage/docker/docker.md +106 -0
  389. package/package.json +65 -0
@@ -0,0 +1,2174 @@
1
+ import { z } from 'zod';
2
+ export type baikeV1ToolName = 'baike.v1.classification.list' | 'baike.v1.draft.create' | 'baike.v1.draft.update' | 'baike.v1.entity.create' | 'baike.v1.entity.extract' | 'baike.v1.entity.get' | 'baike.v1.entity.highlight' | 'baike.v1.entity.list' | 'baike.v1.entity.match' | 'baike.v1.entity.search' | 'baike.v1.entity.update';
3
+ export declare const baikeV1ClassificationList: {
4
+ project: string;
5
+ name: string;
6
+ sdkName: string;
7
+ path: string;
8
+ httpMethod: string;
9
+ description: string;
10
+ accessTokens: string[];
11
+ schema: {
12
+ params: z.ZodOptional<z.ZodObject<{
13
+ page_size: z.ZodOptional<z.ZodNumber>;
14
+ page_token: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ page_size?: number | undefined;
17
+ page_token?: string | undefined;
18
+ }, {
19
+ page_size?: number | undefined;
20
+ page_token?: string | undefined;
21
+ }>>;
22
+ useUAT: z.ZodOptional<z.ZodBoolean>;
23
+ };
24
+ };
25
+ export declare const baikeV1DraftCreate: {
26
+ project: string;
27
+ name: string;
28
+ sdkName: string;
29
+ path: string;
30
+ httpMethod: string;
31
+ description: string;
32
+ accessTokens: string[];
33
+ schema: {
34
+ data: z.ZodObject<{
35
+ id: z.ZodOptional<z.ZodString>;
36
+ main_keys: z.ZodArray<z.ZodObject<{
37
+ key: z.ZodString;
38
+ display_status: z.ZodObject<{
39
+ allow_highlight: z.ZodBoolean;
40
+ allow_search: z.ZodBoolean;
41
+ }, "strip", z.ZodTypeAny, {
42
+ allow_highlight: boolean;
43
+ allow_search: boolean;
44
+ }, {
45
+ allow_highlight: boolean;
46
+ allow_search: boolean;
47
+ }>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ key: string;
50
+ display_status: {
51
+ allow_highlight: boolean;
52
+ allow_search: boolean;
53
+ };
54
+ }, {
55
+ key: string;
56
+ display_status: {
57
+ allow_highlight: boolean;
58
+ allow_search: boolean;
59
+ };
60
+ }>, "many">;
61
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
62
+ key: z.ZodString;
63
+ display_status: z.ZodObject<{
64
+ allow_highlight: z.ZodBoolean;
65
+ allow_search: z.ZodBoolean;
66
+ }, "strip", z.ZodTypeAny, {
67
+ allow_highlight: boolean;
68
+ allow_search: boolean;
69
+ }, {
70
+ allow_highlight: boolean;
71
+ allow_search: boolean;
72
+ }>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ key: string;
75
+ display_status: {
76
+ allow_highlight: boolean;
77
+ allow_search: boolean;
78
+ };
79
+ }, {
80
+ key: string;
81
+ display_status: {
82
+ allow_highlight: boolean;
83
+ allow_search: boolean;
84
+ };
85
+ }>, "many">>;
86
+ description: z.ZodOptional<z.ZodString>;
87
+ related_meta: z.ZodOptional<z.ZodObject<{
88
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
+ id: z.ZodString;
90
+ title: z.ZodOptional<z.ZodString>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: string;
93
+ title?: string | undefined;
94
+ }, {
95
+ id: string;
96
+ title?: string | undefined;
97
+ }>, "many">>;
98
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
+ id: z.ZodString;
100
+ }, "strip", z.ZodTypeAny, {
101
+ id: string;
102
+ }, {
103
+ id: string;
104
+ }>, "many">>;
105
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
106
+ title: z.ZodOptional<z.ZodString>;
107
+ url: z.ZodOptional<z.ZodString>;
108
+ }, "strip", z.ZodTypeAny, {
109
+ title?: string | undefined;
110
+ url?: string | undefined;
111
+ }, {
112
+ title?: string | undefined;
113
+ url?: string | undefined;
114
+ }>, "many">>;
115
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
116
+ id: z.ZodString;
117
+ }, "strip", z.ZodTypeAny, {
118
+ id: string;
119
+ }, {
120
+ id: string;
121
+ }>, "many">>;
122
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ title: z.ZodOptional<z.ZodString>;
124
+ url: z.ZodOptional<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ title?: string | undefined;
127
+ url?: string | undefined;
128
+ }, {
129
+ title?: string | undefined;
130
+ url?: string | undefined;
131
+ }>, "many">>;
132
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
133
+ id: z.ZodOptional<z.ZodString>;
134
+ }, "strip", z.ZodTypeAny, {
135
+ id?: string | undefined;
136
+ }, {
137
+ id?: string | undefined;
138
+ }>, "many">>;
139
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ father_id: z.ZodOptional<z.ZodString>;
142
+ }, "strip", z.ZodTypeAny, {
143
+ id: string;
144
+ father_id?: string | undefined;
145
+ }, {
146
+ id: string;
147
+ father_id?: string | undefined;
148
+ }>, "many">>;
149
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
150
+ token: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ token: string;
153
+ }, {
154
+ token: string;
155
+ }>, "many">>;
156
+ }, "strip", z.ZodTypeAny, {
157
+ users?: {
158
+ id: string;
159
+ title?: string | undefined;
160
+ }[] | undefined;
161
+ links?: {
162
+ title?: string | undefined;
163
+ url?: string | undefined;
164
+ }[] | undefined;
165
+ chats?: {
166
+ id: string;
167
+ }[] | undefined;
168
+ docs?: {
169
+ title?: string | undefined;
170
+ url?: string | undefined;
171
+ }[] | undefined;
172
+ oncalls?: {
173
+ id: string;
174
+ }[] | undefined;
175
+ abbreviations?: {
176
+ id?: string | undefined;
177
+ }[] | undefined;
178
+ classifications?: {
179
+ id: string;
180
+ father_id?: string | undefined;
181
+ }[] | undefined;
182
+ images?: {
183
+ token: string;
184
+ }[] | undefined;
185
+ }, {
186
+ users?: {
187
+ id: string;
188
+ title?: string | undefined;
189
+ }[] | undefined;
190
+ links?: {
191
+ title?: string | undefined;
192
+ url?: string | undefined;
193
+ }[] | undefined;
194
+ chats?: {
195
+ id: string;
196
+ }[] | undefined;
197
+ docs?: {
198
+ title?: string | undefined;
199
+ url?: string | undefined;
200
+ }[] | undefined;
201
+ oncalls?: {
202
+ id: string;
203
+ }[] | undefined;
204
+ abbreviations?: {
205
+ id?: string | undefined;
206
+ }[] | undefined;
207
+ classifications?: {
208
+ id: string;
209
+ father_id?: string | undefined;
210
+ }[] | undefined;
211
+ images?: {
212
+ token: string;
213
+ }[] | undefined;
214
+ }>>;
215
+ outer_info: z.ZodOptional<z.ZodObject<{
216
+ provider: z.ZodString;
217
+ outer_id: z.ZodString;
218
+ }, "strip", z.ZodTypeAny, {
219
+ provider: string;
220
+ outer_id: string;
221
+ }, {
222
+ provider: string;
223
+ outer_id: string;
224
+ }>>;
225
+ rich_text: z.ZodOptional<z.ZodString>;
226
+ }, "strip", z.ZodTypeAny, {
227
+ main_keys: {
228
+ key: string;
229
+ display_status: {
230
+ allow_highlight: boolean;
231
+ allow_search: boolean;
232
+ };
233
+ }[];
234
+ id?: string | undefined;
235
+ description?: string | undefined;
236
+ aliases?: {
237
+ key: string;
238
+ display_status: {
239
+ allow_highlight: boolean;
240
+ allow_search: boolean;
241
+ };
242
+ }[] | undefined;
243
+ related_meta?: {
244
+ users?: {
245
+ id: string;
246
+ title?: string | undefined;
247
+ }[] | undefined;
248
+ links?: {
249
+ title?: string | undefined;
250
+ url?: string | undefined;
251
+ }[] | undefined;
252
+ chats?: {
253
+ id: string;
254
+ }[] | undefined;
255
+ docs?: {
256
+ title?: string | undefined;
257
+ url?: string | undefined;
258
+ }[] | undefined;
259
+ oncalls?: {
260
+ id: string;
261
+ }[] | undefined;
262
+ abbreviations?: {
263
+ id?: string | undefined;
264
+ }[] | undefined;
265
+ classifications?: {
266
+ id: string;
267
+ father_id?: string | undefined;
268
+ }[] | undefined;
269
+ images?: {
270
+ token: string;
271
+ }[] | undefined;
272
+ } | undefined;
273
+ outer_info?: {
274
+ provider: string;
275
+ outer_id: string;
276
+ } | undefined;
277
+ rich_text?: string | undefined;
278
+ }, {
279
+ main_keys: {
280
+ key: string;
281
+ display_status: {
282
+ allow_highlight: boolean;
283
+ allow_search: boolean;
284
+ };
285
+ }[];
286
+ id?: string | undefined;
287
+ description?: string | undefined;
288
+ aliases?: {
289
+ key: string;
290
+ display_status: {
291
+ allow_highlight: boolean;
292
+ allow_search: boolean;
293
+ };
294
+ }[] | undefined;
295
+ related_meta?: {
296
+ users?: {
297
+ id: string;
298
+ title?: string | undefined;
299
+ }[] | undefined;
300
+ links?: {
301
+ title?: string | undefined;
302
+ url?: string | undefined;
303
+ }[] | undefined;
304
+ chats?: {
305
+ id: string;
306
+ }[] | undefined;
307
+ docs?: {
308
+ title?: string | undefined;
309
+ url?: string | undefined;
310
+ }[] | undefined;
311
+ oncalls?: {
312
+ id: string;
313
+ }[] | undefined;
314
+ abbreviations?: {
315
+ id?: string | undefined;
316
+ }[] | undefined;
317
+ classifications?: {
318
+ id: string;
319
+ father_id?: string | undefined;
320
+ }[] | undefined;
321
+ images?: {
322
+ token: string;
323
+ }[] | undefined;
324
+ } | undefined;
325
+ outer_info?: {
326
+ provider: string;
327
+ outer_id: string;
328
+ } | undefined;
329
+ rich_text?: string | undefined;
330
+ }>;
331
+ params: z.ZodOptional<z.ZodObject<{
332
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
335
+ }, {
336
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
337
+ }>>;
338
+ useUAT: z.ZodOptional<z.ZodBoolean>;
339
+ };
340
+ };
341
+ export declare const baikeV1DraftUpdate: {
342
+ project: string;
343
+ name: string;
344
+ sdkName: string;
345
+ path: string;
346
+ httpMethod: string;
347
+ description: string;
348
+ accessTokens: string[];
349
+ schema: {
350
+ data: z.ZodObject<{
351
+ id: z.ZodOptional<z.ZodString>;
352
+ main_keys: z.ZodArray<z.ZodObject<{
353
+ key: z.ZodString;
354
+ display_status: z.ZodObject<{
355
+ allow_highlight: z.ZodBoolean;
356
+ allow_search: z.ZodBoolean;
357
+ }, "strip", z.ZodTypeAny, {
358
+ allow_highlight: boolean;
359
+ allow_search: boolean;
360
+ }, {
361
+ allow_highlight: boolean;
362
+ allow_search: boolean;
363
+ }>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ key: string;
366
+ display_status: {
367
+ allow_highlight: boolean;
368
+ allow_search: boolean;
369
+ };
370
+ }, {
371
+ key: string;
372
+ display_status: {
373
+ allow_highlight: boolean;
374
+ allow_search: boolean;
375
+ };
376
+ }>, "many">;
377
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
378
+ key: z.ZodString;
379
+ display_status: z.ZodObject<{
380
+ allow_highlight: z.ZodBoolean;
381
+ allow_search: z.ZodBoolean;
382
+ }, "strip", z.ZodTypeAny, {
383
+ allow_highlight: boolean;
384
+ allow_search: boolean;
385
+ }, {
386
+ allow_highlight: boolean;
387
+ allow_search: boolean;
388
+ }>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ key: string;
391
+ display_status: {
392
+ allow_highlight: boolean;
393
+ allow_search: boolean;
394
+ };
395
+ }, {
396
+ key: string;
397
+ display_status: {
398
+ allow_highlight: boolean;
399
+ allow_search: boolean;
400
+ };
401
+ }>, "many">>;
402
+ description: z.ZodOptional<z.ZodString>;
403
+ related_meta: z.ZodOptional<z.ZodObject<{
404
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
405
+ id: z.ZodString;
406
+ title: z.ZodOptional<z.ZodString>;
407
+ }, "strip", z.ZodTypeAny, {
408
+ id: string;
409
+ title?: string | undefined;
410
+ }, {
411
+ id: string;
412
+ title?: string | undefined;
413
+ }>, "many">>;
414
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
415
+ id: z.ZodString;
416
+ }, "strip", z.ZodTypeAny, {
417
+ id: string;
418
+ }, {
419
+ id: string;
420
+ }>, "many">>;
421
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
+ title: z.ZodOptional<z.ZodString>;
423
+ url: z.ZodOptional<z.ZodString>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ title?: string | undefined;
426
+ url?: string | undefined;
427
+ }, {
428
+ title?: string | undefined;
429
+ url?: string | undefined;
430
+ }>, "many">>;
431
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
432
+ id: z.ZodString;
433
+ }, "strip", z.ZodTypeAny, {
434
+ id: string;
435
+ }, {
436
+ id: string;
437
+ }>, "many">>;
438
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
439
+ title: z.ZodOptional<z.ZodString>;
440
+ url: z.ZodOptional<z.ZodString>;
441
+ }, "strip", z.ZodTypeAny, {
442
+ title?: string | undefined;
443
+ url?: string | undefined;
444
+ }, {
445
+ title?: string | undefined;
446
+ url?: string | undefined;
447
+ }>, "many">>;
448
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
449
+ id: z.ZodOptional<z.ZodString>;
450
+ }, "strip", z.ZodTypeAny, {
451
+ id?: string | undefined;
452
+ }, {
453
+ id?: string | undefined;
454
+ }>, "many">>;
455
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
456
+ id: z.ZodString;
457
+ father_id: z.ZodOptional<z.ZodString>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ id: string;
460
+ father_id?: string | undefined;
461
+ }, {
462
+ id: string;
463
+ father_id?: string | undefined;
464
+ }>, "many">>;
465
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
466
+ token: z.ZodString;
467
+ }, "strip", z.ZodTypeAny, {
468
+ token: string;
469
+ }, {
470
+ token: string;
471
+ }>, "many">>;
472
+ }, "strip", z.ZodTypeAny, {
473
+ users?: {
474
+ id: string;
475
+ title?: string | undefined;
476
+ }[] | undefined;
477
+ links?: {
478
+ title?: string | undefined;
479
+ url?: string | undefined;
480
+ }[] | undefined;
481
+ chats?: {
482
+ id: string;
483
+ }[] | undefined;
484
+ docs?: {
485
+ title?: string | undefined;
486
+ url?: string | undefined;
487
+ }[] | undefined;
488
+ oncalls?: {
489
+ id: string;
490
+ }[] | undefined;
491
+ abbreviations?: {
492
+ id?: string | undefined;
493
+ }[] | undefined;
494
+ classifications?: {
495
+ id: string;
496
+ father_id?: string | undefined;
497
+ }[] | undefined;
498
+ images?: {
499
+ token: string;
500
+ }[] | undefined;
501
+ }, {
502
+ users?: {
503
+ id: string;
504
+ title?: string | undefined;
505
+ }[] | undefined;
506
+ links?: {
507
+ title?: string | undefined;
508
+ url?: string | undefined;
509
+ }[] | undefined;
510
+ chats?: {
511
+ id: string;
512
+ }[] | undefined;
513
+ docs?: {
514
+ title?: string | undefined;
515
+ url?: string | undefined;
516
+ }[] | undefined;
517
+ oncalls?: {
518
+ id: string;
519
+ }[] | undefined;
520
+ abbreviations?: {
521
+ id?: string | undefined;
522
+ }[] | undefined;
523
+ classifications?: {
524
+ id: string;
525
+ father_id?: string | undefined;
526
+ }[] | undefined;
527
+ images?: {
528
+ token: string;
529
+ }[] | undefined;
530
+ }>>;
531
+ rich_text: z.ZodOptional<z.ZodString>;
532
+ }, "strip", z.ZodTypeAny, {
533
+ main_keys: {
534
+ key: string;
535
+ display_status: {
536
+ allow_highlight: boolean;
537
+ allow_search: boolean;
538
+ };
539
+ }[];
540
+ id?: string | undefined;
541
+ description?: string | undefined;
542
+ aliases?: {
543
+ key: string;
544
+ display_status: {
545
+ allow_highlight: boolean;
546
+ allow_search: boolean;
547
+ };
548
+ }[] | undefined;
549
+ related_meta?: {
550
+ users?: {
551
+ id: string;
552
+ title?: string | undefined;
553
+ }[] | undefined;
554
+ links?: {
555
+ title?: string | undefined;
556
+ url?: string | undefined;
557
+ }[] | undefined;
558
+ chats?: {
559
+ id: string;
560
+ }[] | undefined;
561
+ docs?: {
562
+ title?: string | undefined;
563
+ url?: string | undefined;
564
+ }[] | undefined;
565
+ oncalls?: {
566
+ id: string;
567
+ }[] | undefined;
568
+ abbreviations?: {
569
+ id?: string | undefined;
570
+ }[] | undefined;
571
+ classifications?: {
572
+ id: string;
573
+ father_id?: string | undefined;
574
+ }[] | undefined;
575
+ images?: {
576
+ token: string;
577
+ }[] | undefined;
578
+ } | undefined;
579
+ rich_text?: string | undefined;
580
+ }, {
581
+ main_keys: {
582
+ key: string;
583
+ display_status: {
584
+ allow_highlight: boolean;
585
+ allow_search: boolean;
586
+ };
587
+ }[];
588
+ id?: string | undefined;
589
+ description?: string | undefined;
590
+ aliases?: {
591
+ key: string;
592
+ display_status: {
593
+ allow_highlight: boolean;
594
+ allow_search: boolean;
595
+ };
596
+ }[] | undefined;
597
+ related_meta?: {
598
+ users?: {
599
+ id: string;
600
+ title?: string | undefined;
601
+ }[] | undefined;
602
+ links?: {
603
+ title?: string | undefined;
604
+ url?: string | undefined;
605
+ }[] | undefined;
606
+ chats?: {
607
+ id: string;
608
+ }[] | undefined;
609
+ docs?: {
610
+ title?: string | undefined;
611
+ url?: string | undefined;
612
+ }[] | undefined;
613
+ oncalls?: {
614
+ id: string;
615
+ }[] | undefined;
616
+ abbreviations?: {
617
+ id?: string | undefined;
618
+ }[] | undefined;
619
+ classifications?: {
620
+ id: string;
621
+ father_id?: string | undefined;
622
+ }[] | undefined;
623
+ images?: {
624
+ token: string;
625
+ }[] | undefined;
626
+ } | undefined;
627
+ rich_text?: string | undefined;
628
+ }>;
629
+ params: z.ZodOptional<z.ZodObject<{
630
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
633
+ }, {
634
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
635
+ }>>;
636
+ path: z.ZodObject<{
637
+ draft_id: z.ZodString;
638
+ }, "strip", z.ZodTypeAny, {
639
+ draft_id: string;
640
+ }, {
641
+ draft_id: string;
642
+ }>;
643
+ useUAT: z.ZodOptional<z.ZodBoolean>;
644
+ };
645
+ };
646
+ export declare const baikeV1EntityCreate: {
647
+ project: string;
648
+ name: string;
649
+ sdkName: string;
650
+ path: string;
651
+ httpMethod: string;
652
+ description: string;
653
+ accessTokens: string[];
654
+ schema: {
655
+ data: z.ZodObject<{
656
+ main_keys: z.ZodArray<z.ZodObject<{
657
+ key: z.ZodString;
658
+ display_status: z.ZodObject<{
659
+ allow_highlight: z.ZodBoolean;
660
+ allow_search: z.ZodBoolean;
661
+ }, "strip", z.ZodTypeAny, {
662
+ allow_highlight: boolean;
663
+ allow_search: boolean;
664
+ }, {
665
+ allow_highlight: boolean;
666
+ allow_search: boolean;
667
+ }>;
668
+ }, "strip", z.ZodTypeAny, {
669
+ key: string;
670
+ display_status: {
671
+ allow_highlight: boolean;
672
+ allow_search: boolean;
673
+ };
674
+ }, {
675
+ key: string;
676
+ display_status: {
677
+ allow_highlight: boolean;
678
+ allow_search: boolean;
679
+ };
680
+ }>, "many">;
681
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
682
+ key: z.ZodString;
683
+ display_status: z.ZodObject<{
684
+ allow_highlight: z.ZodBoolean;
685
+ allow_search: z.ZodBoolean;
686
+ }, "strip", z.ZodTypeAny, {
687
+ allow_highlight: boolean;
688
+ allow_search: boolean;
689
+ }, {
690
+ allow_highlight: boolean;
691
+ allow_search: boolean;
692
+ }>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ key: string;
695
+ display_status: {
696
+ allow_highlight: boolean;
697
+ allow_search: boolean;
698
+ };
699
+ }, {
700
+ key: string;
701
+ display_status: {
702
+ allow_highlight: boolean;
703
+ allow_search: boolean;
704
+ };
705
+ }>, "many">>;
706
+ description: z.ZodOptional<z.ZodString>;
707
+ related_meta: z.ZodOptional<z.ZodObject<{
708
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
709
+ id: z.ZodString;
710
+ title: z.ZodOptional<z.ZodString>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ id: string;
713
+ title?: string | undefined;
714
+ }, {
715
+ id: string;
716
+ title?: string | undefined;
717
+ }>, "many">>;
718
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
719
+ id: z.ZodString;
720
+ }, "strip", z.ZodTypeAny, {
721
+ id: string;
722
+ }, {
723
+ id: string;
724
+ }>, "many">>;
725
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
726
+ title: z.ZodOptional<z.ZodString>;
727
+ url: z.ZodOptional<z.ZodString>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ title?: string | undefined;
730
+ url?: string | undefined;
731
+ }, {
732
+ title?: string | undefined;
733
+ url?: string | undefined;
734
+ }>, "many">>;
735
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
736
+ id: z.ZodString;
737
+ }, "strip", z.ZodTypeAny, {
738
+ id: string;
739
+ }, {
740
+ id: string;
741
+ }>, "many">>;
742
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
743
+ title: z.ZodOptional<z.ZodString>;
744
+ url: z.ZodOptional<z.ZodString>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ title?: string | undefined;
747
+ url?: string | undefined;
748
+ }, {
749
+ title?: string | undefined;
750
+ url?: string | undefined;
751
+ }>, "many">>;
752
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
+ id: z.ZodOptional<z.ZodString>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ id?: string | undefined;
756
+ }, {
757
+ id?: string | undefined;
758
+ }>, "many">>;
759
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
+ id: z.ZodString;
761
+ father_id: z.ZodOptional<z.ZodString>;
762
+ }, "strip", z.ZodTypeAny, {
763
+ id: string;
764
+ father_id?: string | undefined;
765
+ }, {
766
+ id: string;
767
+ father_id?: string | undefined;
768
+ }>, "many">>;
769
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
770
+ token: z.ZodString;
771
+ }, "strip", z.ZodTypeAny, {
772
+ token: string;
773
+ }, {
774
+ token: string;
775
+ }>, "many">>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ users?: {
778
+ id: string;
779
+ title?: string | undefined;
780
+ }[] | undefined;
781
+ links?: {
782
+ title?: string | undefined;
783
+ url?: string | undefined;
784
+ }[] | undefined;
785
+ chats?: {
786
+ id: string;
787
+ }[] | undefined;
788
+ docs?: {
789
+ title?: string | undefined;
790
+ url?: string | undefined;
791
+ }[] | undefined;
792
+ oncalls?: {
793
+ id: string;
794
+ }[] | undefined;
795
+ abbreviations?: {
796
+ id?: string | undefined;
797
+ }[] | undefined;
798
+ classifications?: {
799
+ id: string;
800
+ father_id?: string | undefined;
801
+ }[] | undefined;
802
+ images?: {
803
+ token: string;
804
+ }[] | undefined;
805
+ }, {
806
+ users?: {
807
+ id: string;
808
+ title?: string | undefined;
809
+ }[] | undefined;
810
+ links?: {
811
+ title?: string | undefined;
812
+ url?: string | undefined;
813
+ }[] | undefined;
814
+ chats?: {
815
+ id: string;
816
+ }[] | undefined;
817
+ docs?: {
818
+ title?: string | undefined;
819
+ url?: string | undefined;
820
+ }[] | undefined;
821
+ oncalls?: {
822
+ id: string;
823
+ }[] | undefined;
824
+ abbreviations?: {
825
+ id?: string | undefined;
826
+ }[] | undefined;
827
+ classifications?: {
828
+ id: string;
829
+ father_id?: string | undefined;
830
+ }[] | undefined;
831
+ images?: {
832
+ token: string;
833
+ }[] | undefined;
834
+ }>>;
835
+ outer_info: z.ZodOptional<z.ZodObject<{
836
+ provider: z.ZodString;
837
+ outer_id: z.ZodString;
838
+ }, "strip", z.ZodTypeAny, {
839
+ provider: string;
840
+ outer_id: string;
841
+ }, {
842
+ provider: string;
843
+ outer_id: string;
844
+ }>>;
845
+ rich_text: z.ZodOptional<z.ZodString>;
846
+ }, "strip", z.ZodTypeAny, {
847
+ main_keys: {
848
+ key: string;
849
+ display_status: {
850
+ allow_highlight: boolean;
851
+ allow_search: boolean;
852
+ };
853
+ }[];
854
+ description?: string | undefined;
855
+ aliases?: {
856
+ key: string;
857
+ display_status: {
858
+ allow_highlight: boolean;
859
+ allow_search: boolean;
860
+ };
861
+ }[] | undefined;
862
+ related_meta?: {
863
+ users?: {
864
+ id: string;
865
+ title?: string | undefined;
866
+ }[] | undefined;
867
+ links?: {
868
+ title?: string | undefined;
869
+ url?: string | undefined;
870
+ }[] | undefined;
871
+ chats?: {
872
+ id: string;
873
+ }[] | undefined;
874
+ docs?: {
875
+ title?: string | undefined;
876
+ url?: string | undefined;
877
+ }[] | undefined;
878
+ oncalls?: {
879
+ id: string;
880
+ }[] | undefined;
881
+ abbreviations?: {
882
+ id?: string | undefined;
883
+ }[] | undefined;
884
+ classifications?: {
885
+ id: string;
886
+ father_id?: string | undefined;
887
+ }[] | undefined;
888
+ images?: {
889
+ token: string;
890
+ }[] | undefined;
891
+ } | undefined;
892
+ outer_info?: {
893
+ provider: string;
894
+ outer_id: string;
895
+ } | undefined;
896
+ rich_text?: string | undefined;
897
+ }, {
898
+ main_keys: {
899
+ key: string;
900
+ display_status: {
901
+ allow_highlight: boolean;
902
+ allow_search: boolean;
903
+ };
904
+ }[];
905
+ description?: string | undefined;
906
+ aliases?: {
907
+ key: string;
908
+ display_status: {
909
+ allow_highlight: boolean;
910
+ allow_search: boolean;
911
+ };
912
+ }[] | undefined;
913
+ related_meta?: {
914
+ users?: {
915
+ id: string;
916
+ title?: string | undefined;
917
+ }[] | undefined;
918
+ links?: {
919
+ title?: string | undefined;
920
+ url?: string | undefined;
921
+ }[] | undefined;
922
+ chats?: {
923
+ id: string;
924
+ }[] | undefined;
925
+ docs?: {
926
+ title?: string | undefined;
927
+ url?: string | undefined;
928
+ }[] | undefined;
929
+ oncalls?: {
930
+ id: string;
931
+ }[] | undefined;
932
+ abbreviations?: {
933
+ id?: string | undefined;
934
+ }[] | undefined;
935
+ classifications?: {
936
+ id: string;
937
+ father_id?: string | undefined;
938
+ }[] | undefined;
939
+ images?: {
940
+ token: string;
941
+ }[] | undefined;
942
+ } | undefined;
943
+ outer_info?: {
944
+ provider: string;
945
+ outer_id: string;
946
+ } | undefined;
947
+ rich_text?: string | undefined;
948
+ }>;
949
+ params: z.ZodOptional<z.ZodObject<{
950
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
953
+ }, {
954
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
955
+ }>>;
956
+ useUAT: z.ZodOptional<z.ZodBoolean>;
957
+ };
958
+ };
959
+ export declare const baikeV1EntityExtract: {
960
+ project: string;
961
+ name: string;
962
+ sdkName: string;
963
+ path: string;
964
+ httpMethod: string;
965
+ description: string;
966
+ accessTokens: string[];
967
+ schema: {
968
+ data: z.ZodOptional<z.ZodObject<{
969
+ text: z.ZodOptional<z.ZodString>;
970
+ }, "strip", z.ZodTypeAny, {
971
+ text?: string | undefined;
972
+ }, {
973
+ text?: string | undefined;
974
+ }>>;
975
+ useUAT: z.ZodOptional<z.ZodBoolean>;
976
+ };
977
+ };
978
+ export declare const baikeV1EntityGet: {
979
+ project: string;
980
+ name: string;
981
+ sdkName: string;
982
+ path: string;
983
+ httpMethod: string;
984
+ description: string;
985
+ accessTokens: string[];
986
+ schema: {
987
+ params: z.ZodOptional<z.ZodObject<{
988
+ provider: z.ZodOptional<z.ZodString>;
989
+ outer_id: z.ZodOptional<z.ZodString>;
990
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
991
+ }, "strip", z.ZodTypeAny, {
992
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
993
+ provider?: string | undefined;
994
+ outer_id?: string | undefined;
995
+ }, {
996
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
997
+ provider?: string | undefined;
998
+ outer_id?: string | undefined;
999
+ }>>;
1000
+ path: z.ZodOptional<z.ZodObject<{
1001
+ entity_id: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ entity_id?: string | undefined;
1004
+ }, {
1005
+ entity_id?: string | undefined;
1006
+ }>>;
1007
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1008
+ };
1009
+ };
1010
+ export declare const baikeV1EntityHighlight: {
1011
+ project: string;
1012
+ name: string;
1013
+ sdkName: string;
1014
+ path: string;
1015
+ httpMethod: string;
1016
+ description: string;
1017
+ accessTokens: string[];
1018
+ schema: {
1019
+ data: z.ZodObject<{
1020
+ text: z.ZodString;
1021
+ }, "strip", z.ZodTypeAny, {
1022
+ text: string;
1023
+ }, {
1024
+ text: string;
1025
+ }>;
1026
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1027
+ };
1028
+ };
1029
+ export declare const baikeV1EntityList: {
1030
+ project: string;
1031
+ name: string;
1032
+ sdkName: string;
1033
+ path: string;
1034
+ httpMethod: string;
1035
+ description: string;
1036
+ accessTokens: string[];
1037
+ schema: {
1038
+ params: z.ZodOptional<z.ZodObject<{
1039
+ page_size: z.ZodOptional<z.ZodNumber>;
1040
+ page_token: z.ZodOptional<z.ZodString>;
1041
+ provider: z.ZodOptional<z.ZodString>;
1042
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1043
+ }, "strip", z.ZodTypeAny, {
1044
+ page_size?: number | undefined;
1045
+ page_token?: string | undefined;
1046
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1047
+ provider?: string | undefined;
1048
+ }, {
1049
+ page_size?: number | undefined;
1050
+ page_token?: string | undefined;
1051
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1052
+ provider?: string | undefined;
1053
+ }>>;
1054
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1055
+ };
1056
+ };
1057
+ export declare const baikeV1EntityMatch: {
1058
+ project: string;
1059
+ name: string;
1060
+ sdkName: string;
1061
+ path: string;
1062
+ httpMethod: string;
1063
+ description: string;
1064
+ accessTokens: string[];
1065
+ schema: {
1066
+ data: z.ZodObject<{
1067
+ word: z.ZodString;
1068
+ }, "strip", z.ZodTypeAny, {
1069
+ word: string;
1070
+ }, {
1071
+ word: string;
1072
+ }>;
1073
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1074
+ };
1075
+ };
1076
+ export declare const baikeV1EntitySearch: {
1077
+ project: string;
1078
+ name: string;
1079
+ sdkName: string;
1080
+ path: string;
1081
+ httpMethod: string;
1082
+ description: string;
1083
+ accessTokens: string[];
1084
+ schema: {
1085
+ data: z.ZodOptional<z.ZodObject<{
1086
+ query: z.ZodOptional<z.ZodString>;
1087
+ classification_filter: z.ZodOptional<z.ZodObject<{
1088
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1089
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1090
+ }, "strip", z.ZodTypeAny, {
1091
+ include?: string[] | undefined;
1092
+ exclude?: string[] | undefined;
1093
+ }, {
1094
+ include?: string[] | undefined;
1095
+ exclude?: string[] | undefined;
1096
+ }>>;
1097
+ sources: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1098
+ creators: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1099
+ }, "strip", z.ZodTypeAny, {
1100
+ query?: string | undefined;
1101
+ classification_filter?: {
1102
+ include?: string[] | undefined;
1103
+ exclude?: string[] | undefined;
1104
+ } | undefined;
1105
+ sources?: number[] | undefined;
1106
+ creators?: string[] | undefined;
1107
+ }, {
1108
+ query?: string | undefined;
1109
+ classification_filter?: {
1110
+ include?: string[] | undefined;
1111
+ exclude?: string[] | undefined;
1112
+ } | undefined;
1113
+ sources?: number[] | undefined;
1114
+ creators?: string[] | undefined;
1115
+ }>>;
1116
+ params: z.ZodOptional<z.ZodObject<{
1117
+ page_size: z.ZodOptional<z.ZodNumber>;
1118
+ page_token: z.ZodOptional<z.ZodString>;
1119
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1120
+ }, "strip", z.ZodTypeAny, {
1121
+ page_size?: number | undefined;
1122
+ page_token?: string | undefined;
1123
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1124
+ }, {
1125
+ page_size?: number | undefined;
1126
+ page_token?: string | undefined;
1127
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1128
+ }>>;
1129
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1130
+ };
1131
+ };
1132
+ export declare const baikeV1EntityUpdate: {
1133
+ project: string;
1134
+ name: string;
1135
+ sdkName: string;
1136
+ path: string;
1137
+ httpMethod: string;
1138
+ description: string;
1139
+ accessTokens: string[];
1140
+ schema: {
1141
+ data: z.ZodObject<{
1142
+ main_keys: z.ZodArray<z.ZodObject<{
1143
+ key: z.ZodString;
1144
+ display_status: z.ZodObject<{
1145
+ allow_highlight: z.ZodBoolean;
1146
+ allow_search: z.ZodBoolean;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ allow_highlight: boolean;
1149
+ allow_search: boolean;
1150
+ }, {
1151
+ allow_highlight: boolean;
1152
+ allow_search: boolean;
1153
+ }>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ key: string;
1156
+ display_status: {
1157
+ allow_highlight: boolean;
1158
+ allow_search: boolean;
1159
+ };
1160
+ }, {
1161
+ key: string;
1162
+ display_status: {
1163
+ allow_highlight: boolean;
1164
+ allow_search: boolean;
1165
+ };
1166
+ }>, "many">;
1167
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1168
+ key: z.ZodString;
1169
+ display_status: z.ZodObject<{
1170
+ allow_highlight: z.ZodBoolean;
1171
+ allow_search: z.ZodBoolean;
1172
+ }, "strip", z.ZodTypeAny, {
1173
+ allow_highlight: boolean;
1174
+ allow_search: boolean;
1175
+ }, {
1176
+ allow_highlight: boolean;
1177
+ allow_search: boolean;
1178
+ }>;
1179
+ }, "strip", z.ZodTypeAny, {
1180
+ key: string;
1181
+ display_status: {
1182
+ allow_highlight: boolean;
1183
+ allow_search: boolean;
1184
+ };
1185
+ }, {
1186
+ key: string;
1187
+ display_status: {
1188
+ allow_highlight: boolean;
1189
+ allow_search: boolean;
1190
+ };
1191
+ }>, "many">>;
1192
+ description: z.ZodOptional<z.ZodString>;
1193
+ related_meta: z.ZodOptional<z.ZodObject<{
1194
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
1195
+ id: z.ZodString;
1196
+ title: z.ZodOptional<z.ZodString>;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ id: string;
1199
+ title?: string | undefined;
1200
+ }, {
1201
+ id: string;
1202
+ title?: string | undefined;
1203
+ }>, "many">>;
1204
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
1205
+ id: z.ZodString;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ id: string;
1208
+ }, {
1209
+ id: string;
1210
+ }>, "many">>;
1211
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1212
+ title: z.ZodOptional<z.ZodString>;
1213
+ url: z.ZodOptional<z.ZodString>;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ title?: string | undefined;
1216
+ url?: string | undefined;
1217
+ }, {
1218
+ title?: string | undefined;
1219
+ url?: string | undefined;
1220
+ }>, "many">>;
1221
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1222
+ id: z.ZodString;
1223
+ }, "strip", z.ZodTypeAny, {
1224
+ id: string;
1225
+ }, {
1226
+ id: string;
1227
+ }>, "many">>;
1228
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1229
+ title: z.ZodOptional<z.ZodString>;
1230
+ url: z.ZodOptional<z.ZodString>;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ title?: string | undefined;
1233
+ url?: string | undefined;
1234
+ }, {
1235
+ title?: string | undefined;
1236
+ url?: string | undefined;
1237
+ }>, "many">>;
1238
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1239
+ id: z.ZodOptional<z.ZodString>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ id?: string | undefined;
1242
+ }, {
1243
+ id?: string | undefined;
1244
+ }>, "many">>;
1245
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ father_id: z.ZodOptional<z.ZodString>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ id: string;
1250
+ father_id?: string | undefined;
1251
+ }, {
1252
+ id: string;
1253
+ father_id?: string | undefined;
1254
+ }>, "many">>;
1255
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1256
+ token: z.ZodString;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ token: string;
1259
+ }, {
1260
+ token: string;
1261
+ }>, "many">>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ users?: {
1264
+ id: string;
1265
+ title?: string | undefined;
1266
+ }[] | undefined;
1267
+ links?: {
1268
+ title?: string | undefined;
1269
+ url?: string | undefined;
1270
+ }[] | undefined;
1271
+ chats?: {
1272
+ id: string;
1273
+ }[] | undefined;
1274
+ docs?: {
1275
+ title?: string | undefined;
1276
+ url?: string | undefined;
1277
+ }[] | undefined;
1278
+ oncalls?: {
1279
+ id: string;
1280
+ }[] | undefined;
1281
+ abbreviations?: {
1282
+ id?: string | undefined;
1283
+ }[] | undefined;
1284
+ classifications?: {
1285
+ id: string;
1286
+ father_id?: string | undefined;
1287
+ }[] | undefined;
1288
+ images?: {
1289
+ token: string;
1290
+ }[] | undefined;
1291
+ }, {
1292
+ users?: {
1293
+ id: string;
1294
+ title?: string | undefined;
1295
+ }[] | undefined;
1296
+ links?: {
1297
+ title?: string | undefined;
1298
+ url?: string | undefined;
1299
+ }[] | undefined;
1300
+ chats?: {
1301
+ id: string;
1302
+ }[] | undefined;
1303
+ docs?: {
1304
+ title?: string | undefined;
1305
+ url?: string | undefined;
1306
+ }[] | undefined;
1307
+ oncalls?: {
1308
+ id: string;
1309
+ }[] | undefined;
1310
+ abbreviations?: {
1311
+ id?: string | undefined;
1312
+ }[] | undefined;
1313
+ classifications?: {
1314
+ id: string;
1315
+ father_id?: string | undefined;
1316
+ }[] | undefined;
1317
+ images?: {
1318
+ token: string;
1319
+ }[] | undefined;
1320
+ }>>;
1321
+ outer_info: z.ZodOptional<z.ZodObject<{
1322
+ provider: z.ZodString;
1323
+ outer_id: z.ZodString;
1324
+ }, "strip", z.ZodTypeAny, {
1325
+ provider: string;
1326
+ outer_id: string;
1327
+ }, {
1328
+ provider: string;
1329
+ outer_id: string;
1330
+ }>>;
1331
+ rich_text: z.ZodOptional<z.ZodString>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ main_keys: {
1334
+ key: string;
1335
+ display_status: {
1336
+ allow_highlight: boolean;
1337
+ allow_search: boolean;
1338
+ };
1339
+ }[];
1340
+ description?: string | undefined;
1341
+ aliases?: {
1342
+ key: string;
1343
+ display_status: {
1344
+ allow_highlight: boolean;
1345
+ allow_search: boolean;
1346
+ };
1347
+ }[] | undefined;
1348
+ related_meta?: {
1349
+ users?: {
1350
+ id: string;
1351
+ title?: string | undefined;
1352
+ }[] | undefined;
1353
+ links?: {
1354
+ title?: string | undefined;
1355
+ url?: string | undefined;
1356
+ }[] | undefined;
1357
+ chats?: {
1358
+ id: string;
1359
+ }[] | undefined;
1360
+ docs?: {
1361
+ title?: string | undefined;
1362
+ url?: string | undefined;
1363
+ }[] | undefined;
1364
+ oncalls?: {
1365
+ id: string;
1366
+ }[] | undefined;
1367
+ abbreviations?: {
1368
+ id?: string | undefined;
1369
+ }[] | undefined;
1370
+ classifications?: {
1371
+ id: string;
1372
+ father_id?: string | undefined;
1373
+ }[] | undefined;
1374
+ images?: {
1375
+ token: string;
1376
+ }[] | undefined;
1377
+ } | undefined;
1378
+ outer_info?: {
1379
+ provider: string;
1380
+ outer_id: string;
1381
+ } | undefined;
1382
+ rich_text?: string | undefined;
1383
+ }, {
1384
+ main_keys: {
1385
+ key: string;
1386
+ display_status: {
1387
+ allow_highlight: boolean;
1388
+ allow_search: boolean;
1389
+ };
1390
+ }[];
1391
+ description?: string | undefined;
1392
+ aliases?: {
1393
+ key: string;
1394
+ display_status: {
1395
+ allow_highlight: boolean;
1396
+ allow_search: boolean;
1397
+ };
1398
+ }[] | undefined;
1399
+ related_meta?: {
1400
+ users?: {
1401
+ id: string;
1402
+ title?: string | undefined;
1403
+ }[] | undefined;
1404
+ links?: {
1405
+ title?: string | undefined;
1406
+ url?: string | undefined;
1407
+ }[] | undefined;
1408
+ chats?: {
1409
+ id: string;
1410
+ }[] | undefined;
1411
+ docs?: {
1412
+ title?: string | undefined;
1413
+ url?: string | undefined;
1414
+ }[] | undefined;
1415
+ oncalls?: {
1416
+ id: string;
1417
+ }[] | undefined;
1418
+ abbreviations?: {
1419
+ id?: string | undefined;
1420
+ }[] | undefined;
1421
+ classifications?: {
1422
+ id: string;
1423
+ father_id?: string | undefined;
1424
+ }[] | undefined;
1425
+ images?: {
1426
+ token: string;
1427
+ }[] | undefined;
1428
+ } | undefined;
1429
+ outer_info?: {
1430
+ provider: string;
1431
+ outer_id: string;
1432
+ } | undefined;
1433
+ rich_text?: string | undefined;
1434
+ }>;
1435
+ params: z.ZodOptional<z.ZodObject<{
1436
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1437
+ }, "strip", z.ZodTypeAny, {
1438
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1439
+ }, {
1440
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1441
+ }>>;
1442
+ path: z.ZodOptional<z.ZodObject<{
1443
+ entity_id: z.ZodOptional<z.ZodString>;
1444
+ }, "strip", z.ZodTypeAny, {
1445
+ entity_id?: string | undefined;
1446
+ }, {
1447
+ entity_id?: string | undefined;
1448
+ }>>;
1449
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1450
+ };
1451
+ };
1452
+ export declare const baikeV1Tools: ({
1453
+ project: string;
1454
+ name: string;
1455
+ sdkName: string;
1456
+ path: string;
1457
+ httpMethod: string;
1458
+ description: string;
1459
+ accessTokens: string[];
1460
+ schema: {
1461
+ params: z.ZodOptional<z.ZodObject<{
1462
+ page_size: z.ZodOptional<z.ZodNumber>;
1463
+ page_token: z.ZodOptional<z.ZodString>;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ page_size?: number | undefined;
1466
+ page_token?: string | undefined;
1467
+ }, {
1468
+ page_size?: number | undefined;
1469
+ page_token?: string | undefined;
1470
+ }>>;
1471
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1472
+ };
1473
+ } | {
1474
+ project: string;
1475
+ name: string;
1476
+ sdkName: string;
1477
+ path: string;
1478
+ httpMethod: string;
1479
+ description: string;
1480
+ accessTokens: string[];
1481
+ schema: {
1482
+ data: z.ZodObject<{
1483
+ id: z.ZodOptional<z.ZodString>;
1484
+ main_keys: z.ZodArray<z.ZodObject<{
1485
+ key: z.ZodString;
1486
+ display_status: z.ZodObject<{
1487
+ allow_highlight: z.ZodBoolean;
1488
+ allow_search: z.ZodBoolean;
1489
+ }, "strip", z.ZodTypeAny, {
1490
+ allow_highlight: boolean;
1491
+ allow_search: boolean;
1492
+ }, {
1493
+ allow_highlight: boolean;
1494
+ allow_search: boolean;
1495
+ }>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ key: string;
1498
+ display_status: {
1499
+ allow_highlight: boolean;
1500
+ allow_search: boolean;
1501
+ };
1502
+ }, {
1503
+ key: string;
1504
+ display_status: {
1505
+ allow_highlight: boolean;
1506
+ allow_search: boolean;
1507
+ };
1508
+ }>, "many">;
1509
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1510
+ key: z.ZodString;
1511
+ display_status: z.ZodObject<{
1512
+ allow_highlight: z.ZodBoolean;
1513
+ allow_search: z.ZodBoolean;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ allow_highlight: boolean;
1516
+ allow_search: boolean;
1517
+ }, {
1518
+ allow_highlight: boolean;
1519
+ allow_search: boolean;
1520
+ }>;
1521
+ }, "strip", z.ZodTypeAny, {
1522
+ key: string;
1523
+ display_status: {
1524
+ allow_highlight: boolean;
1525
+ allow_search: boolean;
1526
+ };
1527
+ }, {
1528
+ key: string;
1529
+ display_status: {
1530
+ allow_highlight: boolean;
1531
+ allow_search: boolean;
1532
+ };
1533
+ }>, "many">>;
1534
+ description: z.ZodOptional<z.ZodString>;
1535
+ related_meta: z.ZodOptional<z.ZodObject<{
1536
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
1537
+ id: z.ZodString;
1538
+ title: z.ZodOptional<z.ZodString>;
1539
+ }, "strip", z.ZodTypeAny, {
1540
+ id: string;
1541
+ title?: string | undefined;
1542
+ }, {
1543
+ id: string;
1544
+ title?: string | undefined;
1545
+ }>, "many">>;
1546
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
1547
+ id: z.ZodString;
1548
+ }, "strip", z.ZodTypeAny, {
1549
+ id: string;
1550
+ }, {
1551
+ id: string;
1552
+ }>, "many">>;
1553
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1554
+ title: z.ZodOptional<z.ZodString>;
1555
+ url: z.ZodOptional<z.ZodString>;
1556
+ }, "strip", z.ZodTypeAny, {
1557
+ title?: string | undefined;
1558
+ url?: string | undefined;
1559
+ }, {
1560
+ title?: string | undefined;
1561
+ url?: string | undefined;
1562
+ }>, "many">>;
1563
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1564
+ id: z.ZodString;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ id: string;
1567
+ }, {
1568
+ id: string;
1569
+ }>, "many">>;
1570
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1571
+ title: z.ZodOptional<z.ZodString>;
1572
+ url: z.ZodOptional<z.ZodString>;
1573
+ }, "strip", z.ZodTypeAny, {
1574
+ title?: string | undefined;
1575
+ url?: string | undefined;
1576
+ }, {
1577
+ title?: string | undefined;
1578
+ url?: string | undefined;
1579
+ }>, "many">>;
1580
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1581
+ id: z.ZodOptional<z.ZodString>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ id?: string | undefined;
1584
+ }, {
1585
+ id?: string | undefined;
1586
+ }>, "many">>;
1587
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
1588
+ id: z.ZodString;
1589
+ father_id: z.ZodOptional<z.ZodString>;
1590
+ }, "strip", z.ZodTypeAny, {
1591
+ id: string;
1592
+ father_id?: string | undefined;
1593
+ }, {
1594
+ id: string;
1595
+ father_id?: string | undefined;
1596
+ }>, "many">>;
1597
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1598
+ token: z.ZodString;
1599
+ }, "strip", z.ZodTypeAny, {
1600
+ token: string;
1601
+ }, {
1602
+ token: string;
1603
+ }>, "many">>;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ users?: {
1606
+ id: string;
1607
+ title?: string | undefined;
1608
+ }[] | undefined;
1609
+ links?: {
1610
+ title?: string | undefined;
1611
+ url?: string | undefined;
1612
+ }[] | undefined;
1613
+ chats?: {
1614
+ id: string;
1615
+ }[] | undefined;
1616
+ docs?: {
1617
+ title?: string | undefined;
1618
+ url?: string | undefined;
1619
+ }[] | undefined;
1620
+ oncalls?: {
1621
+ id: string;
1622
+ }[] | undefined;
1623
+ abbreviations?: {
1624
+ id?: string | undefined;
1625
+ }[] | undefined;
1626
+ classifications?: {
1627
+ id: string;
1628
+ father_id?: string | undefined;
1629
+ }[] | undefined;
1630
+ images?: {
1631
+ token: string;
1632
+ }[] | undefined;
1633
+ }, {
1634
+ users?: {
1635
+ id: string;
1636
+ title?: string | undefined;
1637
+ }[] | undefined;
1638
+ links?: {
1639
+ title?: string | undefined;
1640
+ url?: string | undefined;
1641
+ }[] | undefined;
1642
+ chats?: {
1643
+ id: string;
1644
+ }[] | undefined;
1645
+ docs?: {
1646
+ title?: string | undefined;
1647
+ url?: string | undefined;
1648
+ }[] | undefined;
1649
+ oncalls?: {
1650
+ id: string;
1651
+ }[] | undefined;
1652
+ abbreviations?: {
1653
+ id?: string | undefined;
1654
+ }[] | undefined;
1655
+ classifications?: {
1656
+ id: string;
1657
+ father_id?: string | undefined;
1658
+ }[] | undefined;
1659
+ images?: {
1660
+ token: string;
1661
+ }[] | undefined;
1662
+ }>>;
1663
+ rich_text: z.ZodOptional<z.ZodString>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ main_keys: {
1666
+ key: string;
1667
+ display_status: {
1668
+ allow_highlight: boolean;
1669
+ allow_search: boolean;
1670
+ };
1671
+ }[];
1672
+ id?: string | undefined;
1673
+ description?: string | undefined;
1674
+ aliases?: {
1675
+ key: string;
1676
+ display_status: {
1677
+ allow_highlight: boolean;
1678
+ allow_search: boolean;
1679
+ };
1680
+ }[] | undefined;
1681
+ related_meta?: {
1682
+ users?: {
1683
+ id: string;
1684
+ title?: string | undefined;
1685
+ }[] | undefined;
1686
+ links?: {
1687
+ title?: string | undefined;
1688
+ url?: string | undefined;
1689
+ }[] | undefined;
1690
+ chats?: {
1691
+ id: string;
1692
+ }[] | undefined;
1693
+ docs?: {
1694
+ title?: string | undefined;
1695
+ url?: string | undefined;
1696
+ }[] | undefined;
1697
+ oncalls?: {
1698
+ id: string;
1699
+ }[] | undefined;
1700
+ abbreviations?: {
1701
+ id?: string | undefined;
1702
+ }[] | undefined;
1703
+ classifications?: {
1704
+ id: string;
1705
+ father_id?: string | undefined;
1706
+ }[] | undefined;
1707
+ images?: {
1708
+ token: string;
1709
+ }[] | undefined;
1710
+ } | undefined;
1711
+ rich_text?: string | undefined;
1712
+ }, {
1713
+ main_keys: {
1714
+ key: string;
1715
+ display_status: {
1716
+ allow_highlight: boolean;
1717
+ allow_search: boolean;
1718
+ };
1719
+ }[];
1720
+ id?: string | undefined;
1721
+ description?: string | undefined;
1722
+ aliases?: {
1723
+ key: string;
1724
+ display_status: {
1725
+ allow_highlight: boolean;
1726
+ allow_search: boolean;
1727
+ };
1728
+ }[] | undefined;
1729
+ related_meta?: {
1730
+ users?: {
1731
+ id: string;
1732
+ title?: string | undefined;
1733
+ }[] | undefined;
1734
+ links?: {
1735
+ title?: string | undefined;
1736
+ url?: string | undefined;
1737
+ }[] | undefined;
1738
+ chats?: {
1739
+ id: string;
1740
+ }[] | undefined;
1741
+ docs?: {
1742
+ title?: string | undefined;
1743
+ url?: string | undefined;
1744
+ }[] | undefined;
1745
+ oncalls?: {
1746
+ id: string;
1747
+ }[] | undefined;
1748
+ abbreviations?: {
1749
+ id?: string | undefined;
1750
+ }[] | undefined;
1751
+ classifications?: {
1752
+ id: string;
1753
+ father_id?: string | undefined;
1754
+ }[] | undefined;
1755
+ images?: {
1756
+ token: string;
1757
+ }[] | undefined;
1758
+ } | undefined;
1759
+ rich_text?: string | undefined;
1760
+ }>;
1761
+ params: z.ZodOptional<z.ZodObject<{
1762
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1765
+ }, {
1766
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1767
+ }>>;
1768
+ path: z.ZodObject<{
1769
+ draft_id: z.ZodString;
1770
+ }, "strip", z.ZodTypeAny, {
1771
+ draft_id: string;
1772
+ }, {
1773
+ draft_id: string;
1774
+ }>;
1775
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1776
+ };
1777
+ } | {
1778
+ project: string;
1779
+ name: string;
1780
+ sdkName: string;
1781
+ path: string;
1782
+ httpMethod: string;
1783
+ description: string;
1784
+ accessTokens: string[];
1785
+ schema: {
1786
+ data: z.ZodObject<{
1787
+ main_keys: z.ZodArray<z.ZodObject<{
1788
+ key: z.ZodString;
1789
+ display_status: z.ZodObject<{
1790
+ allow_highlight: z.ZodBoolean;
1791
+ allow_search: z.ZodBoolean;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ allow_highlight: boolean;
1794
+ allow_search: boolean;
1795
+ }, {
1796
+ allow_highlight: boolean;
1797
+ allow_search: boolean;
1798
+ }>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ key: string;
1801
+ display_status: {
1802
+ allow_highlight: boolean;
1803
+ allow_search: boolean;
1804
+ };
1805
+ }, {
1806
+ key: string;
1807
+ display_status: {
1808
+ allow_highlight: boolean;
1809
+ allow_search: boolean;
1810
+ };
1811
+ }>, "many">;
1812
+ aliases: z.ZodOptional<z.ZodArray<z.ZodObject<{
1813
+ key: z.ZodString;
1814
+ display_status: z.ZodObject<{
1815
+ allow_highlight: z.ZodBoolean;
1816
+ allow_search: z.ZodBoolean;
1817
+ }, "strip", z.ZodTypeAny, {
1818
+ allow_highlight: boolean;
1819
+ allow_search: boolean;
1820
+ }, {
1821
+ allow_highlight: boolean;
1822
+ allow_search: boolean;
1823
+ }>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ key: string;
1826
+ display_status: {
1827
+ allow_highlight: boolean;
1828
+ allow_search: boolean;
1829
+ };
1830
+ }, {
1831
+ key: string;
1832
+ display_status: {
1833
+ allow_highlight: boolean;
1834
+ allow_search: boolean;
1835
+ };
1836
+ }>, "many">>;
1837
+ description: z.ZodOptional<z.ZodString>;
1838
+ related_meta: z.ZodOptional<z.ZodObject<{
1839
+ users: z.ZodOptional<z.ZodArray<z.ZodObject<{
1840
+ id: z.ZodString;
1841
+ title: z.ZodOptional<z.ZodString>;
1842
+ }, "strip", z.ZodTypeAny, {
1843
+ id: string;
1844
+ title?: string | undefined;
1845
+ }, {
1846
+ id: string;
1847
+ title?: string | undefined;
1848
+ }>, "many">>;
1849
+ chats: z.ZodOptional<z.ZodArray<z.ZodObject<{
1850
+ id: z.ZodString;
1851
+ }, "strip", z.ZodTypeAny, {
1852
+ id: string;
1853
+ }, {
1854
+ id: string;
1855
+ }>, "many">>;
1856
+ docs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1857
+ title: z.ZodOptional<z.ZodString>;
1858
+ url: z.ZodOptional<z.ZodString>;
1859
+ }, "strip", z.ZodTypeAny, {
1860
+ title?: string | undefined;
1861
+ url?: string | undefined;
1862
+ }, {
1863
+ title?: string | undefined;
1864
+ url?: string | undefined;
1865
+ }>, "many">>;
1866
+ oncalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
1867
+ id: z.ZodString;
1868
+ }, "strip", z.ZodTypeAny, {
1869
+ id: string;
1870
+ }, {
1871
+ id: string;
1872
+ }>, "many">>;
1873
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1874
+ title: z.ZodOptional<z.ZodString>;
1875
+ url: z.ZodOptional<z.ZodString>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ title?: string | undefined;
1878
+ url?: string | undefined;
1879
+ }, {
1880
+ title?: string | undefined;
1881
+ url?: string | undefined;
1882
+ }>, "many">>;
1883
+ abbreviations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1884
+ id: z.ZodOptional<z.ZodString>;
1885
+ }, "strip", z.ZodTypeAny, {
1886
+ id?: string | undefined;
1887
+ }, {
1888
+ id?: string | undefined;
1889
+ }>, "many">>;
1890
+ classifications: z.ZodOptional<z.ZodArray<z.ZodObject<{
1891
+ id: z.ZodString;
1892
+ father_id: z.ZodOptional<z.ZodString>;
1893
+ }, "strip", z.ZodTypeAny, {
1894
+ id: string;
1895
+ father_id?: string | undefined;
1896
+ }, {
1897
+ id: string;
1898
+ father_id?: string | undefined;
1899
+ }>, "many">>;
1900
+ images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1901
+ token: z.ZodString;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ token: string;
1904
+ }, {
1905
+ token: string;
1906
+ }>, "many">>;
1907
+ }, "strip", z.ZodTypeAny, {
1908
+ users?: {
1909
+ id: string;
1910
+ title?: string | undefined;
1911
+ }[] | undefined;
1912
+ links?: {
1913
+ title?: string | undefined;
1914
+ url?: string | undefined;
1915
+ }[] | undefined;
1916
+ chats?: {
1917
+ id: string;
1918
+ }[] | undefined;
1919
+ docs?: {
1920
+ title?: string | undefined;
1921
+ url?: string | undefined;
1922
+ }[] | undefined;
1923
+ oncalls?: {
1924
+ id: string;
1925
+ }[] | undefined;
1926
+ abbreviations?: {
1927
+ id?: string | undefined;
1928
+ }[] | undefined;
1929
+ classifications?: {
1930
+ id: string;
1931
+ father_id?: string | undefined;
1932
+ }[] | undefined;
1933
+ images?: {
1934
+ token: string;
1935
+ }[] | undefined;
1936
+ }, {
1937
+ users?: {
1938
+ id: string;
1939
+ title?: string | undefined;
1940
+ }[] | undefined;
1941
+ links?: {
1942
+ title?: string | undefined;
1943
+ url?: string | undefined;
1944
+ }[] | undefined;
1945
+ chats?: {
1946
+ id: string;
1947
+ }[] | undefined;
1948
+ docs?: {
1949
+ title?: string | undefined;
1950
+ url?: string | undefined;
1951
+ }[] | undefined;
1952
+ oncalls?: {
1953
+ id: string;
1954
+ }[] | undefined;
1955
+ abbreviations?: {
1956
+ id?: string | undefined;
1957
+ }[] | undefined;
1958
+ classifications?: {
1959
+ id: string;
1960
+ father_id?: string | undefined;
1961
+ }[] | undefined;
1962
+ images?: {
1963
+ token: string;
1964
+ }[] | undefined;
1965
+ }>>;
1966
+ outer_info: z.ZodOptional<z.ZodObject<{
1967
+ provider: z.ZodString;
1968
+ outer_id: z.ZodString;
1969
+ }, "strip", z.ZodTypeAny, {
1970
+ provider: string;
1971
+ outer_id: string;
1972
+ }, {
1973
+ provider: string;
1974
+ outer_id: string;
1975
+ }>>;
1976
+ rich_text: z.ZodOptional<z.ZodString>;
1977
+ }, "strip", z.ZodTypeAny, {
1978
+ main_keys: {
1979
+ key: string;
1980
+ display_status: {
1981
+ allow_highlight: boolean;
1982
+ allow_search: boolean;
1983
+ };
1984
+ }[];
1985
+ description?: string | undefined;
1986
+ aliases?: {
1987
+ key: string;
1988
+ display_status: {
1989
+ allow_highlight: boolean;
1990
+ allow_search: boolean;
1991
+ };
1992
+ }[] | undefined;
1993
+ related_meta?: {
1994
+ users?: {
1995
+ id: string;
1996
+ title?: string | undefined;
1997
+ }[] | undefined;
1998
+ links?: {
1999
+ title?: string | undefined;
2000
+ url?: string | undefined;
2001
+ }[] | undefined;
2002
+ chats?: {
2003
+ id: string;
2004
+ }[] | undefined;
2005
+ docs?: {
2006
+ title?: string | undefined;
2007
+ url?: string | undefined;
2008
+ }[] | undefined;
2009
+ oncalls?: {
2010
+ id: string;
2011
+ }[] | undefined;
2012
+ abbreviations?: {
2013
+ id?: string | undefined;
2014
+ }[] | undefined;
2015
+ classifications?: {
2016
+ id: string;
2017
+ father_id?: string | undefined;
2018
+ }[] | undefined;
2019
+ images?: {
2020
+ token: string;
2021
+ }[] | undefined;
2022
+ } | undefined;
2023
+ outer_info?: {
2024
+ provider: string;
2025
+ outer_id: string;
2026
+ } | undefined;
2027
+ rich_text?: string | undefined;
2028
+ }, {
2029
+ main_keys: {
2030
+ key: string;
2031
+ display_status: {
2032
+ allow_highlight: boolean;
2033
+ allow_search: boolean;
2034
+ };
2035
+ }[];
2036
+ description?: string | undefined;
2037
+ aliases?: {
2038
+ key: string;
2039
+ display_status: {
2040
+ allow_highlight: boolean;
2041
+ allow_search: boolean;
2042
+ };
2043
+ }[] | undefined;
2044
+ related_meta?: {
2045
+ users?: {
2046
+ id: string;
2047
+ title?: string | undefined;
2048
+ }[] | undefined;
2049
+ links?: {
2050
+ title?: string | undefined;
2051
+ url?: string | undefined;
2052
+ }[] | undefined;
2053
+ chats?: {
2054
+ id: string;
2055
+ }[] | undefined;
2056
+ docs?: {
2057
+ title?: string | undefined;
2058
+ url?: string | undefined;
2059
+ }[] | undefined;
2060
+ oncalls?: {
2061
+ id: string;
2062
+ }[] | undefined;
2063
+ abbreviations?: {
2064
+ id?: string | undefined;
2065
+ }[] | undefined;
2066
+ classifications?: {
2067
+ id: string;
2068
+ father_id?: string | undefined;
2069
+ }[] | undefined;
2070
+ images?: {
2071
+ token: string;
2072
+ }[] | undefined;
2073
+ } | undefined;
2074
+ outer_info?: {
2075
+ provider: string;
2076
+ outer_id: string;
2077
+ } | undefined;
2078
+ rich_text?: string | undefined;
2079
+ }>;
2080
+ params: z.ZodOptional<z.ZodObject<{
2081
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2082
+ }, "strip", z.ZodTypeAny, {
2083
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2084
+ }, {
2085
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2086
+ }>>;
2087
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2088
+ };
2089
+ } | {
2090
+ project: string;
2091
+ name: string;
2092
+ sdkName: string;
2093
+ path: string;
2094
+ httpMethod: string;
2095
+ description: string;
2096
+ accessTokens: string[];
2097
+ schema: {
2098
+ data: z.ZodOptional<z.ZodObject<{
2099
+ text: z.ZodOptional<z.ZodString>;
2100
+ }, "strip", z.ZodTypeAny, {
2101
+ text?: string | undefined;
2102
+ }, {
2103
+ text?: string | undefined;
2104
+ }>>;
2105
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2106
+ };
2107
+ } | {
2108
+ project: string;
2109
+ name: string;
2110
+ sdkName: string;
2111
+ path: string;
2112
+ httpMethod: string;
2113
+ description: string;
2114
+ accessTokens: string[];
2115
+ schema: {
2116
+ params: z.ZodOptional<z.ZodObject<{
2117
+ provider: z.ZodOptional<z.ZodString>;
2118
+ outer_id: z.ZodOptional<z.ZodString>;
2119
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2120
+ }, "strip", z.ZodTypeAny, {
2121
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2122
+ provider?: string | undefined;
2123
+ outer_id?: string | undefined;
2124
+ }, {
2125
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2126
+ provider?: string | undefined;
2127
+ outer_id?: string | undefined;
2128
+ }>>;
2129
+ path: z.ZodOptional<z.ZodObject<{
2130
+ entity_id: z.ZodOptional<z.ZodString>;
2131
+ }, "strip", z.ZodTypeAny, {
2132
+ entity_id?: string | undefined;
2133
+ }, {
2134
+ entity_id?: string | undefined;
2135
+ }>>;
2136
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2137
+ };
2138
+ } | {
2139
+ project: string;
2140
+ name: string;
2141
+ sdkName: string;
2142
+ path: string;
2143
+ httpMethod: string;
2144
+ description: string;
2145
+ accessTokens: string[];
2146
+ schema: {
2147
+ data: z.ZodObject<{
2148
+ text: z.ZodString;
2149
+ }, "strip", z.ZodTypeAny, {
2150
+ text: string;
2151
+ }, {
2152
+ text: string;
2153
+ }>;
2154
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2155
+ };
2156
+ } | {
2157
+ project: string;
2158
+ name: string;
2159
+ sdkName: string;
2160
+ path: string;
2161
+ httpMethod: string;
2162
+ description: string;
2163
+ accessTokens: string[];
2164
+ schema: {
2165
+ data: z.ZodObject<{
2166
+ word: z.ZodString;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ word: string;
2169
+ }, {
2170
+ word: string;
2171
+ }>;
2172
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2173
+ };
2174
+ })[];