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