@liselvins/lark-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +38 -0
  10. package/dist/auth/handler/handler.js +123 -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 +159 -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 +19 -0
  40. package/dist/cli/login-handler.js +288 -0
  41. package/dist/cli.d.ts +4 -0
  42. package/dist/cli.js +124 -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 +44 -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 +54 -0
  64. package/dist/mcp-tool/constants.js +141 -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/block-factory.d.ts +99 -0
  78. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-factory.js +266 -0
  79. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-tools.d.ts +10 -0
  80. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-tools.js +686 -0
  81. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.d.ts +6 -0
  82. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.js +220 -0
  83. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.d.ts +4 -0
  84. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.js +63 -0
  85. package/dist/mcp-tool/tools/en/builtin-tools/index.d.ts +4 -0
  86. package/dist/mcp-tool/tools/en/builtin-tools/index.js +6 -0
  87. package/dist/mcp-tool/tools/en/gen-tools/index.d.ts +113 -0
  88. package/dist/mcp-tool/tools/en/gen-tools/index.js +127 -0
  89. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.d.ts +562 -0
  90. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.js +264 -0
  91. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.d.ts +912 -0
  92. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.js +449 -0
  93. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.d.ts +1213 -0
  94. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.js +560 -0
  95. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.d.ts +2530 -0
  96. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.js +949 -0
  97. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.d.ts +80 -0
  98. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.js +53 -0
  99. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.d.ts +1008 -0
  100. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.js +775 -0
  101. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.d.ts +3928 -0
  102. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.js +1602 -0
  103. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.d.ts +6043 -0
  104. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.js +1857 -0
  105. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.d.ts +151 -0
  106. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.js +71 -0
  107. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.d.ts +26 -0
  108. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.js +17 -0
  109. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.d.ts +2174 -0
  110. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.js +594 -0
  111. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.d.ts +755 -0
  112. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.js +234 -0
  113. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.d.ts +3541 -0
  114. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.js +1786 -0
  115. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.d.ts +40 -0
  116. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.js +18 -0
  117. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.d.ts +2075 -0
  118. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.js +1594 -0
  119. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.d.ts +528 -0
  120. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.js +260 -0
  121. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.d.ts +189 -0
  122. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.js +132 -0
  123. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.d.ts +4274 -0
  124. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.js +2583 -0
  125. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.d.ts +16873 -0
  126. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.js +5045 -0
  127. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.d.ts +29387 -0
  128. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.js +7787 -0
  129. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.d.ts +4274 -0
  130. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.js +1367 -0
  131. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.d.ts +58 -0
  132. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.js +28 -0
  133. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.d.ts +93466 -0
  134. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.js +14350 -0
  135. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.d.ts +3251 -0
  136. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.js +1422 -0
  137. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.d.ts +174 -0
  138. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.js +117 -0
  139. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.d.ts +86 -0
  140. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.js +48 -0
  141. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.d.ts +44 -0
  142. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.js +17 -0
  143. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  144. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.js +285 -0
  145. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.d.ts +10076 -0
  146. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.js +6065 -0
  147. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.d.ts +158 -0
  148. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.js +61 -0
  149. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  150. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.js +27 -0
  151. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.d.ts +3043 -0
  152. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.js +1869 -0
  153. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.d.ts +2176 -0
  154. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.js +460 -0
  155. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.d.ts +2301 -0
  156. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.js +669 -0
  157. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.d.ts +2462 -0
  158. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.js +1655 -0
  159. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.d.ts +104 -0
  160. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.js +45 -0
  161. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.d.ts +329 -0
  162. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.js +78 -0
  163. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.d.ts +92 -0
  164. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.js +62 -0
  165. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.d.ts +52 -0
  166. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.js +24 -0
  167. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.d.ts +1628 -0
  168. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.js +434 -0
  169. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  170. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  171. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.d.ts +131 -0
  172. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.js +59 -0
  173. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.d.ts +333 -0
  174. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.js +176 -0
  175. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.d.ts +309 -0
  176. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.js +178 -0
  177. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.d.ts +1177 -0
  178. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.js +559 -0
  179. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  180. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.js +303 -0
  181. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.d.ts +192 -0
  182. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.js +71 -0
  183. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.d.ts +1695 -0
  184. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.js +446 -0
  185. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  186. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.js +32 -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/block-factory.d.ts +1 -0
  214. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-factory.js +18 -0
  215. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-tools.d.ts +4 -0
  216. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-tools.js +18 -0
  217. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.d.ts +6 -0
  218. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.js +199 -0
  219. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.d.ts +4 -0
  220. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.js +63 -0
  221. package/dist/mcp-tool/tools/zh/builtin-tools/index.d.ts +4 -0
  222. package/dist/mcp-tool/tools/zh/builtin-tools/index.js +6 -0
  223. package/dist/mcp-tool/tools/zh/gen-tools/index.d.ts +113 -0
  224. package/dist/mcp-tool/tools/zh/gen-tools/index.js +127 -0
  225. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.d.ts +562 -0
  226. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.js +277 -0
  227. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.d.ts +912 -0
  228. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.js +430 -0
  229. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.d.ts +1213 -0
  230. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.js +541 -0
  231. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.d.ts +2530 -0
  232. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.js +885 -0
  233. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.d.ts +80 -0
  234. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.js +59 -0
  235. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.d.ts +1007 -0
  236. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.js +721 -0
  237. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.d.ts +3928 -0
  238. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.js +1532 -0
  239. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.d.ts +6043 -0
  240. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.js +1620 -0
  241. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.d.ts +151 -0
  242. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.js +87 -0
  243. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.d.ts +26 -0
  244. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.js +17 -0
  245. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.d.ts +2174 -0
  246. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.js +574 -0
  247. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.d.ts +755 -0
  248. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.js +270 -0
  249. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.d.ts +3541 -0
  250. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.js +1864 -0
  251. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.d.ts +40 -0
  252. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.js +18 -0
  253. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.d.ts +2075 -0
  254. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.js +1533 -0
  255. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.d.ts +528 -0
  256. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.js +248 -0
  257. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.d.ts +189 -0
  258. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.js +130 -0
  259. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.d.ts +4274 -0
  260. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.js +2394 -0
  261. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.d.ts +16957 -0
  262. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.js +4753 -0
  263. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.d.ts +29869 -0
  264. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.js +7902 -0
  265. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.d.ts +4324 -0
  266. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.js +1340 -0
  267. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.d.ts +58 -0
  268. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.js +26 -0
  269. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.d.ts +116719 -0
  270. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.js +14949 -0
  271. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.d.ts +3251 -0
  272. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.js +1395 -0
  273. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.d.ts +174 -0
  274. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.js +115 -0
  275. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.d.ts +86 -0
  276. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.js +48 -0
  277. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.d.ts +44 -0
  278. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.js +25 -0
  279. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  280. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.js +279 -0
  281. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.d.ts +10085 -0
  282. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.js +5787 -0
  283. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.d.ts +158 -0
  284. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.js +64 -0
  285. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  286. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.js +27 -0
  287. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.d.ts +3043 -0
  288. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.js +1812 -0
  289. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.d.ts +2176 -0
  290. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.js +454 -0
  291. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.d.ts +2301 -0
  292. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.js +650 -0
  293. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.d.ts +2465 -0
  294. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.js +1467 -0
  295. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.d.ts +104 -0
  296. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.js +45 -0
  297. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.d.ts +329 -0
  298. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.js +76 -0
  299. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.d.ts +92 -0
  300. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.js +62 -0
  301. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.d.ts +52 -0
  302. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.js +20 -0
  303. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.d.ts +1664 -0
  304. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.js +455 -0
  305. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  306. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  307. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.d.ts +131 -0
  308. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.js +53 -0
  309. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.d.ts +609 -0
  310. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.js +321 -0
  311. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.d.ts +309 -0
  312. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.js +165 -0
  313. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.d.ts +1177 -0
  314. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.js +525 -0
  315. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  316. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.js +295 -0
  317. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.d.ts +194 -0
  318. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.js +72 -0
  319. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.d.ts +1695 -0
  320. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.js +556 -0
  321. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  322. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.js +32 -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 +92 -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 +36 -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 +1516 -0
  382. package/docs/reference/tool-presets/tools-zh.md +1533 -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
+ images?: {
158
+ token: string;
159
+ }[] | undefined;
160
+ users?: {
161
+ id: string;
162
+ title?: string | undefined;
163
+ }[] | undefined;
164
+ links?: {
165
+ title?: string | undefined;
166
+ url?: string | undefined;
167
+ }[] | undefined;
168
+ chats?: {
169
+ id: string;
170
+ }[] | undefined;
171
+ docs?: {
172
+ title?: string | undefined;
173
+ url?: string | undefined;
174
+ }[] | undefined;
175
+ oncalls?: {
176
+ id: string;
177
+ }[] | undefined;
178
+ abbreviations?: {
179
+ id?: string | undefined;
180
+ }[] | undefined;
181
+ classifications?: {
182
+ id: string;
183
+ father_id?: string | undefined;
184
+ }[] | undefined;
185
+ }, {
186
+ images?: {
187
+ token: string;
188
+ }[] | undefined;
189
+ users?: {
190
+ id: string;
191
+ title?: string | undefined;
192
+ }[] | undefined;
193
+ links?: {
194
+ title?: string | undefined;
195
+ url?: string | undefined;
196
+ }[] | undefined;
197
+ chats?: {
198
+ id: string;
199
+ }[] | undefined;
200
+ docs?: {
201
+ title?: string | undefined;
202
+ url?: string | undefined;
203
+ }[] | undefined;
204
+ oncalls?: {
205
+ id: string;
206
+ }[] | undefined;
207
+ abbreviations?: {
208
+ id?: string | undefined;
209
+ }[] | undefined;
210
+ classifications?: {
211
+ id: string;
212
+ father_id?: string | undefined;
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
+ images?: {
245
+ token: string;
246
+ }[] | undefined;
247
+ users?: {
248
+ id: string;
249
+ title?: string | undefined;
250
+ }[] | undefined;
251
+ links?: {
252
+ title?: string | undefined;
253
+ url?: string | undefined;
254
+ }[] | undefined;
255
+ chats?: {
256
+ id: string;
257
+ }[] | undefined;
258
+ docs?: {
259
+ title?: string | undefined;
260
+ url?: string | undefined;
261
+ }[] | undefined;
262
+ oncalls?: {
263
+ id: string;
264
+ }[] | undefined;
265
+ abbreviations?: {
266
+ id?: string | undefined;
267
+ }[] | undefined;
268
+ classifications?: {
269
+ id: string;
270
+ father_id?: string | undefined;
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
+ images?: {
297
+ token: string;
298
+ }[] | undefined;
299
+ users?: {
300
+ id: string;
301
+ title?: string | undefined;
302
+ }[] | undefined;
303
+ links?: {
304
+ title?: string | undefined;
305
+ url?: string | undefined;
306
+ }[] | undefined;
307
+ chats?: {
308
+ id: string;
309
+ }[] | undefined;
310
+ docs?: {
311
+ title?: string | undefined;
312
+ url?: string | undefined;
313
+ }[] | undefined;
314
+ oncalls?: {
315
+ id: string;
316
+ }[] | undefined;
317
+ abbreviations?: {
318
+ id?: string | undefined;
319
+ }[] | undefined;
320
+ classifications?: {
321
+ id: string;
322
+ father_id?: string | undefined;
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
+ images?: {
474
+ token: string;
475
+ }[] | undefined;
476
+ users?: {
477
+ id: string;
478
+ title?: string | undefined;
479
+ }[] | undefined;
480
+ links?: {
481
+ title?: string | undefined;
482
+ url?: string | undefined;
483
+ }[] | undefined;
484
+ chats?: {
485
+ id: string;
486
+ }[] | undefined;
487
+ docs?: {
488
+ title?: string | undefined;
489
+ url?: string | undefined;
490
+ }[] | undefined;
491
+ oncalls?: {
492
+ id: string;
493
+ }[] | undefined;
494
+ abbreviations?: {
495
+ id?: string | undefined;
496
+ }[] | undefined;
497
+ classifications?: {
498
+ id: string;
499
+ father_id?: string | undefined;
500
+ }[] | undefined;
501
+ }, {
502
+ images?: {
503
+ token: string;
504
+ }[] | undefined;
505
+ users?: {
506
+ id: string;
507
+ title?: string | undefined;
508
+ }[] | undefined;
509
+ links?: {
510
+ title?: string | undefined;
511
+ url?: string | undefined;
512
+ }[] | undefined;
513
+ chats?: {
514
+ id: string;
515
+ }[] | undefined;
516
+ docs?: {
517
+ title?: string | undefined;
518
+ url?: string | undefined;
519
+ }[] | undefined;
520
+ oncalls?: {
521
+ id: string;
522
+ }[] | undefined;
523
+ abbreviations?: {
524
+ id?: string | undefined;
525
+ }[] | undefined;
526
+ classifications?: {
527
+ id: string;
528
+ father_id?: string | undefined;
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
+ images?: {
551
+ token: string;
552
+ }[] | undefined;
553
+ users?: {
554
+ id: string;
555
+ title?: string | undefined;
556
+ }[] | undefined;
557
+ links?: {
558
+ title?: string | undefined;
559
+ url?: string | undefined;
560
+ }[] | undefined;
561
+ chats?: {
562
+ id: string;
563
+ }[] | undefined;
564
+ docs?: {
565
+ title?: string | undefined;
566
+ url?: string | undefined;
567
+ }[] | undefined;
568
+ oncalls?: {
569
+ id: string;
570
+ }[] | undefined;
571
+ abbreviations?: {
572
+ id?: string | undefined;
573
+ }[] | undefined;
574
+ classifications?: {
575
+ id: string;
576
+ father_id?: string | undefined;
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
+ images?: {
599
+ token: string;
600
+ }[] | undefined;
601
+ users?: {
602
+ id: string;
603
+ title?: string | undefined;
604
+ }[] | undefined;
605
+ links?: {
606
+ title?: string | undefined;
607
+ url?: string | undefined;
608
+ }[] | undefined;
609
+ chats?: {
610
+ id: string;
611
+ }[] | undefined;
612
+ docs?: {
613
+ title?: string | undefined;
614
+ url?: string | undefined;
615
+ }[] | undefined;
616
+ oncalls?: {
617
+ id: string;
618
+ }[] | undefined;
619
+ abbreviations?: {
620
+ id?: string | undefined;
621
+ }[] | undefined;
622
+ classifications?: {
623
+ id: string;
624
+ father_id?: string | undefined;
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
+ images?: {
778
+ token: string;
779
+ }[] | undefined;
780
+ users?: {
781
+ id: string;
782
+ title?: string | undefined;
783
+ }[] | undefined;
784
+ links?: {
785
+ title?: string | undefined;
786
+ url?: string | undefined;
787
+ }[] | undefined;
788
+ chats?: {
789
+ id: string;
790
+ }[] | undefined;
791
+ docs?: {
792
+ title?: string | undefined;
793
+ url?: string | undefined;
794
+ }[] | undefined;
795
+ oncalls?: {
796
+ id: string;
797
+ }[] | undefined;
798
+ abbreviations?: {
799
+ id?: string | undefined;
800
+ }[] | undefined;
801
+ classifications?: {
802
+ id: string;
803
+ father_id?: string | undefined;
804
+ }[] | undefined;
805
+ }, {
806
+ images?: {
807
+ token: string;
808
+ }[] | undefined;
809
+ users?: {
810
+ id: string;
811
+ title?: string | undefined;
812
+ }[] | undefined;
813
+ links?: {
814
+ title?: string | undefined;
815
+ url?: string | undefined;
816
+ }[] | undefined;
817
+ chats?: {
818
+ id: string;
819
+ }[] | undefined;
820
+ docs?: {
821
+ title?: string | undefined;
822
+ url?: string | undefined;
823
+ }[] | undefined;
824
+ oncalls?: {
825
+ id: string;
826
+ }[] | undefined;
827
+ abbreviations?: {
828
+ id?: string | undefined;
829
+ }[] | undefined;
830
+ classifications?: {
831
+ id: string;
832
+ father_id?: string | undefined;
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
+ images?: {
864
+ token: string;
865
+ }[] | undefined;
866
+ users?: {
867
+ id: string;
868
+ title?: string | undefined;
869
+ }[] | undefined;
870
+ links?: {
871
+ title?: string | undefined;
872
+ url?: string | undefined;
873
+ }[] | undefined;
874
+ chats?: {
875
+ id: string;
876
+ }[] | undefined;
877
+ docs?: {
878
+ title?: string | undefined;
879
+ url?: string | undefined;
880
+ }[] | undefined;
881
+ oncalls?: {
882
+ id: string;
883
+ }[] | undefined;
884
+ abbreviations?: {
885
+ id?: string | undefined;
886
+ }[] | undefined;
887
+ classifications?: {
888
+ id: string;
889
+ father_id?: string | undefined;
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
+ images?: {
915
+ token: string;
916
+ }[] | undefined;
917
+ users?: {
918
+ id: string;
919
+ title?: string | undefined;
920
+ }[] | undefined;
921
+ links?: {
922
+ title?: string | undefined;
923
+ url?: string | undefined;
924
+ }[] | undefined;
925
+ chats?: {
926
+ id: string;
927
+ }[] | undefined;
928
+ docs?: {
929
+ title?: string | undefined;
930
+ url?: string | undefined;
931
+ }[] | undefined;
932
+ oncalls?: {
933
+ id: string;
934
+ }[] | undefined;
935
+ abbreviations?: {
936
+ id?: string | undefined;
937
+ }[] | undefined;
938
+ classifications?: {
939
+ id: string;
940
+ father_id?: string | undefined;
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
+ images?: {
1264
+ token: string;
1265
+ }[] | undefined;
1266
+ users?: {
1267
+ id: string;
1268
+ title?: string | undefined;
1269
+ }[] | undefined;
1270
+ links?: {
1271
+ title?: string | undefined;
1272
+ url?: string | undefined;
1273
+ }[] | undefined;
1274
+ chats?: {
1275
+ id: string;
1276
+ }[] | undefined;
1277
+ docs?: {
1278
+ title?: string | undefined;
1279
+ url?: string | undefined;
1280
+ }[] | undefined;
1281
+ oncalls?: {
1282
+ id: string;
1283
+ }[] | undefined;
1284
+ abbreviations?: {
1285
+ id?: string | undefined;
1286
+ }[] | undefined;
1287
+ classifications?: {
1288
+ id: string;
1289
+ father_id?: string | undefined;
1290
+ }[] | undefined;
1291
+ }, {
1292
+ images?: {
1293
+ token: string;
1294
+ }[] | undefined;
1295
+ users?: {
1296
+ id: string;
1297
+ title?: string | undefined;
1298
+ }[] | undefined;
1299
+ links?: {
1300
+ title?: string | undefined;
1301
+ url?: string | undefined;
1302
+ }[] | undefined;
1303
+ chats?: {
1304
+ id: string;
1305
+ }[] | undefined;
1306
+ docs?: {
1307
+ title?: string | undefined;
1308
+ url?: string | undefined;
1309
+ }[] | undefined;
1310
+ oncalls?: {
1311
+ id: string;
1312
+ }[] | undefined;
1313
+ abbreviations?: {
1314
+ id?: string | undefined;
1315
+ }[] | undefined;
1316
+ classifications?: {
1317
+ id: string;
1318
+ father_id?: string | undefined;
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
+ images?: {
1350
+ token: string;
1351
+ }[] | undefined;
1352
+ users?: {
1353
+ id: string;
1354
+ title?: string | undefined;
1355
+ }[] | undefined;
1356
+ links?: {
1357
+ title?: string | undefined;
1358
+ url?: string | undefined;
1359
+ }[] | undefined;
1360
+ chats?: {
1361
+ id: string;
1362
+ }[] | undefined;
1363
+ docs?: {
1364
+ title?: string | undefined;
1365
+ url?: string | undefined;
1366
+ }[] | undefined;
1367
+ oncalls?: {
1368
+ id: string;
1369
+ }[] | undefined;
1370
+ abbreviations?: {
1371
+ id?: string | undefined;
1372
+ }[] | undefined;
1373
+ classifications?: {
1374
+ id: string;
1375
+ father_id?: string | undefined;
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
+ images?: {
1401
+ token: string;
1402
+ }[] | undefined;
1403
+ users?: {
1404
+ id: string;
1405
+ title?: string | undefined;
1406
+ }[] | undefined;
1407
+ links?: {
1408
+ title?: string | undefined;
1409
+ url?: string | undefined;
1410
+ }[] | undefined;
1411
+ chats?: {
1412
+ id: string;
1413
+ }[] | undefined;
1414
+ docs?: {
1415
+ title?: string | undefined;
1416
+ url?: string | undefined;
1417
+ }[] | undefined;
1418
+ oncalls?: {
1419
+ id: string;
1420
+ }[] | undefined;
1421
+ abbreviations?: {
1422
+ id?: string | undefined;
1423
+ }[] | undefined;
1424
+ classifications?: {
1425
+ id: string;
1426
+ father_id?: string | undefined;
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
+ images?: {
1606
+ token: string;
1607
+ }[] | undefined;
1608
+ users?: {
1609
+ id: string;
1610
+ title?: string | undefined;
1611
+ }[] | undefined;
1612
+ links?: {
1613
+ title?: string | undefined;
1614
+ url?: string | undefined;
1615
+ }[] | undefined;
1616
+ chats?: {
1617
+ id: string;
1618
+ }[] | undefined;
1619
+ docs?: {
1620
+ title?: string | undefined;
1621
+ url?: string | undefined;
1622
+ }[] | undefined;
1623
+ oncalls?: {
1624
+ id: string;
1625
+ }[] | undefined;
1626
+ abbreviations?: {
1627
+ id?: string | undefined;
1628
+ }[] | undefined;
1629
+ classifications?: {
1630
+ id: string;
1631
+ father_id?: string | undefined;
1632
+ }[] | undefined;
1633
+ }, {
1634
+ images?: {
1635
+ token: string;
1636
+ }[] | undefined;
1637
+ users?: {
1638
+ id: string;
1639
+ title?: string | undefined;
1640
+ }[] | undefined;
1641
+ links?: {
1642
+ title?: string | undefined;
1643
+ url?: string | undefined;
1644
+ }[] | undefined;
1645
+ chats?: {
1646
+ id: string;
1647
+ }[] | undefined;
1648
+ docs?: {
1649
+ title?: string | undefined;
1650
+ url?: string | undefined;
1651
+ }[] | undefined;
1652
+ oncalls?: {
1653
+ id: string;
1654
+ }[] | undefined;
1655
+ abbreviations?: {
1656
+ id?: string | undefined;
1657
+ }[] | undefined;
1658
+ classifications?: {
1659
+ id: string;
1660
+ father_id?: string | undefined;
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
+ images?: {
1683
+ token: string;
1684
+ }[] | undefined;
1685
+ users?: {
1686
+ id: string;
1687
+ title?: string | undefined;
1688
+ }[] | undefined;
1689
+ links?: {
1690
+ title?: string | undefined;
1691
+ url?: string | undefined;
1692
+ }[] | undefined;
1693
+ chats?: {
1694
+ id: string;
1695
+ }[] | undefined;
1696
+ docs?: {
1697
+ title?: string | undefined;
1698
+ url?: string | undefined;
1699
+ }[] | undefined;
1700
+ oncalls?: {
1701
+ id: string;
1702
+ }[] | undefined;
1703
+ abbreviations?: {
1704
+ id?: string | undefined;
1705
+ }[] | undefined;
1706
+ classifications?: {
1707
+ id: string;
1708
+ father_id?: string | undefined;
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
+ images?: {
1731
+ token: string;
1732
+ }[] | undefined;
1733
+ users?: {
1734
+ id: string;
1735
+ title?: string | undefined;
1736
+ }[] | undefined;
1737
+ links?: {
1738
+ title?: string | undefined;
1739
+ url?: string | undefined;
1740
+ }[] | undefined;
1741
+ chats?: {
1742
+ id: string;
1743
+ }[] | undefined;
1744
+ docs?: {
1745
+ title?: string | undefined;
1746
+ url?: string | undefined;
1747
+ }[] | undefined;
1748
+ oncalls?: {
1749
+ id: string;
1750
+ }[] | undefined;
1751
+ abbreviations?: {
1752
+ id?: string | undefined;
1753
+ }[] | undefined;
1754
+ classifications?: {
1755
+ id: string;
1756
+ father_id?: string | undefined;
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
+ images?: {
1909
+ token: string;
1910
+ }[] | undefined;
1911
+ users?: {
1912
+ id: string;
1913
+ title?: string | undefined;
1914
+ }[] | undefined;
1915
+ links?: {
1916
+ title?: string | undefined;
1917
+ url?: string | undefined;
1918
+ }[] | undefined;
1919
+ chats?: {
1920
+ id: string;
1921
+ }[] | undefined;
1922
+ docs?: {
1923
+ title?: string | undefined;
1924
+ url?: string | undefined;
1925
+ }[] | undefined;
1926
+ oncalls?: {
1927
+ id: string;
1928
+ }[] | undefined;
1929
+ abbreviations?: {
1930
+ id?: string | undefined;
1931
+ }[] | undefined;
1932
+ classifications?: {
1933
+ id: string;
1934
+ father_id?: string | undefined;
1935
+ }[] | undefined;
1936
+ }, {
1937
+ images?: {
1938
+ token: string;
1939
+ }[] | undefined;
1940
+ users?: {
1941
+ id: string;
1942
+ title?: string | undefined;
1943
+ }[] | undefined;
1944
+ links?: {
1945
+ title?: string | undefined;
1946
+ url?: string | undefined;
1947
+ }[] | undefined;
1948
+ chats?: {
1949
+ id: string;
1950
+ }[] | undefined;
1951
+ docs?: {
1952
+ title?: string | undefined;
1953
+ url?: string | undefined;
1954
+ }[] | undefined;
1955
+ oncalls?: {
1956
+ id: string;
1957
+ }[] | undefined;
1958
+ abbreviations?: {
1959
+ id?: string | undefined;
1960
+ }[] | undefined;
1961
+ classifications?: {
1962
+ id: string;
1963
+ father_id?: string | undefined;
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
+ images?: {
1995
+ token: string;
1996
+ }[] | undefined;
1997
+ users?: {
1998
+ id: string;
1999
+ title?: string | undefined;
2000
+ }[] | undefined;
2001
+ links?: {
2002
+ title?: string | undefined;
2003
+ url?: string | undefined;
2004
+ }[] | undefined;
2005
+ chats?: {
2006
+ id: string;
2007
+ }[] | undefined;
2008
+ docs?: {
2009
+ title?: string | undefined;
2010
+ url?: string | undefined;
2011
+ }[] | undefined;
2012
+ oncalls?: {
2013
+ id: string;
2014
+ }[] | undefined;
2015
+ abbreviations?: {
2016
+ id?: string | undefined;
2017
+ }[] | undefined;
2018
+ classifications?: {
2019
+ id: string;
2020
+ father_id?: string | undefined;
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
+ images?: {
2046
+ token: string;
2047
+ }[] | undefined;
2048
+ users?: {
2049
+ id: string;
2050
+ title?: string | undefined;
2051
+ }[] | undefined;
2052
+ links?: {
2053
+ title?: string | undefined;
2054
+ url?: string | undefined;
2055
+ }[] | undefined;
2056
+ chats?: {
2057
+ id: string;
2058
+ }[] | undefined;
2059
+ docs?: {
2060
+ title?: string | undefined;
2061
+ url?: string | undefined;
2062
+ }[] | undefined;
2063
+ oncalls?: {
2064
+ id: string;
2065
+ }[] | undefined;
2066
+ abbreviations?: {
2067
+ id?: string | undefined;
2068
+ }[] | undefined;
2069
+ classifications?: {
2070
+ id: string;
2071
+ father_id?: string | undefined;
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
+ })[];