@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,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
+ images?: {
161
+ token: string;
162
+ }[] | undefined;
163
+ users?: {
164
+ id: string;
165
+ title?: string | undefined;
166
+ }[] | undefined;
167
+ links?: {
168
+ title?: string | undefined;
169
+ url?: string | undefined;
170
+ }[] | undefined;
171
+ chats?: {
172
+ id: string;
173
+ }[] | undefined;
174
+ docs?: {
175
+ title?: string | undefined;
176
+ url?: string | undefined;
177
+ }[] | undefined;
178
+ oncalls?: {
179
+ id: string;
180
+ }[] | undefined;
181
+ abbreviations?: {
182
+ id?: string | undefined;
183
+ }[] | undefined;
184
+ classifications?: {
185
+ id: string;
186
+ father_id?: string | undefined;
187
+ }[] | undefined;
188
+ }, {
189
+ images?: {
190
+ token: string;
191
+ }[] | undefined;
192
+ users?: {
193
+ id: string;
194
+ title?: string | undefined;
195
+ }[] | undefined;
196
+ links?: {
197
+ title?: string | undefined;
198
+ url?: string | undefined;
199
+ }[] | undefined;
200
+ chats?: {
201
+ id: string;
202
+ }[] | undefined;
203
+ docs?: {
204
+ title?: string | undefined;
205
+ url?: string | undefined;
206
+ }[] | undefined;
207
+ oncalls?: {
208
+ id: string;
209
+ }[] | undefined;
210
+ abbreviations?: {
211
+ id?: string | undefined;
212
+ }[] | undefined;
213
+ classifications?: {
214
+ id: string;
215
+ father_id?: string | undefined;
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
+ images?: {
261
+ token: string;
262
+ }[] | undefined;
263
+ users?: {
264
+ id: string;
265
+ title?: string | undefined;
266
+ }[] | undefined;
267
+ links?: {
268
+ title?: string | undefined;
269
+ url?: string | undefined;
270
+ }[] | undefined;
271
+ chats?: {
272
+ id: string;
273
+ }[] | undefined;
274
+ docs?: {
275
+ title?: string | undefined;
276
+ url?: string | undefined;
277
+ }[] | undefined;
278
+ oncalls?: {
279
+ id: string;
280
+ }[] | undefined;
281
+ abbreviations?: {
282
+ id?: string | undefined;
283
+ }[] | undefined;
284
+ classifications?: {
285
+ id: string;
286
+ father_id?: string | undefined;
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
+ images?: {
318
+ token: string;
319
+ }[] | undefined;
320
+ users?: {
321
+ id: string;
322
+ title?: string | undefined;
323
+ }[] | undefined;
324
+ links?: {
325
+ title?: string | undefined;
326
+ url?: string | undefined;
327
+ }[] | undefined;
328
+ chats?: {
329
+ id: string;
330
+ }[] | undefined;
331
+ docs?: {
332
+ title?: string | undefined;
333
+ url?: string | undefined;
334
+ }[] | undefined;
335
+ oncalls?: {
336
+ id: string;
337
+ }[] | undefined;
338
+ abbreviations?: {
339
+ id?: string | undefined;
340
+ }[] | undefined;
341
+ classifications?: {
342
+ id: string;
343
+ father_id?: string | undefined;
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
+ 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
+ images?: {
532
+ token: string;
533
+ }[] | undefined;
534
+ users?: {
535
+ id: string;
536
+ title?: string | undefined;
537
+ }[] | undefined;
538
+ links?: {
539
+ title?: string | undefined;
540
+ url?: string | undefined;
541
+ }[] | undefined;
542
+ chats?: {
543
+ id: string;
544
+ }[] | undefined;
545
+ docs?: {
546
+ title?: string | undefined;
547
+ url?: string | undefined;
548
+ }[] | undefined;
549
+ oncalls?: {
550
+ id: string;
551
+ }[] | undefined;
552
+ abbreviations?: {
553
+ id?: string | undefined;
554
+ }[] | undefined;
555
+ classifications?: {
556
+ id: string;
557
+ father_id?: string | undefined;
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
+ images?: {
593
+ token: string;
594
+ }[] | undefined;
595
+ users?: {
596
+ id: string;
597
+ title?: string | undefined;
598
+ }[] | undefined;
599
+ links?: {
600
+ title?: string | undefined;
601
+ url?: string | undefined;
602
+ }[] | undefined;
603
+ chats?: {
604
+ id: string;
605
+ }[] | undefined;
606
+ docs?: {
607
+ title?: string | undefined;
608
+ url?: string | undefined;
609
+ }[] | undefined;
610
+ oncalls?: {
611
+ id: string;
612
+ }[] | undefined;
613
+ abbreviations?: {
614
+ id?: string | undefined;
615
+ }[] | undefined;
616
+ classifications?: {
617
+ id: string;
618
+ father_id?: string | undefined;
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
+ images?: {
646
+ token: string;
647
+ }[] | undefined;
648
+ users?: {
649
+ id: string;
650
+ title?: string | undefined;
651
+ }[] | undefined;
652
+ links?: {
653
+ title?: string | undefined;
654
+ url?: string | undefined;
655
+ }[] | undefined;
656
+ chats?: {
657
+ id: string;
658
+ }[] | undefined;
659
+ docs?: {
660
+ title?: string | undefined;
661
+ url?: string | undefined;
662
+ }[] | undefined;
663
+ oncalls?: {
664
+ id: string;
665
+ }[] | undefined;
666
+ abbreviations?: {
667
+ id?: string | undefined;
668
+ }[] | undefined;
669
+ classifications?: {
670
+ id: string;
671
+ father_id?: string | undefined;
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
+ images?: {
830
+ token: string;
831
+ }[] | undefined;
832
+ users?: {
833
+ id: string;
834
+ title?: string | undefined;
835
+ }[] | undefined;
836
+ links?: {
837
+ title?: string | undefined;
838
+ url?: string | undefined;
839
+ }[] | undefined;
840
+ chats?: {
841
+ id: string;
842
+ }[] | undefined;
843
+ docs?: {
844
+ title?: string | undefined;
845
+ url?: string | undefined;
846
+ }[] | undefined;
847
+ oncalls?: {
848
+ id: string;
849
+ }[] | undefined;
850
+ abbreviations?: {
851
+ id?: string | undefined;
852
+ }[] | undefined;
853
+ classifications?: {
854
+ id: string;
855
+ father_id?: string | undefined;
856
+ }[] | undefined;
857
+ }, {
858
+ images?: {
859
+ token: string;
860
+ }[] | undefined;
861
+ users?: {
862
+ id: string;
863
+ title?: string | undefined;
864
+ }[] | undefined;
865
+ links?: {
866
+ title?: string | undefined;
867
+ url?: string | undefined;
868
+ }[] | undefined;
869
+ chats?: {
870
+ id: string;
871
+ }[] | undefined;
872
+ docs?: {
873
+ title?: string | undefined;
874
+ url?: string | undefined;
875
+ }[] | undefined;
876
+ oncalls?: {
877
+ id: string;
878
+ }[] | undefined;
879
+ abbreviations?: {
880
+ id?: string | undefined;
881
+ }[] | undefined;
882
+ classifications?: {
883
+ id: string;
884
+ father_id?: string | undefined;
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
+ images?: {
929
+ token: string;
930
+ }[] | undefined;
931
+ users?: {
932
+ id: string;
933
+ title?: string | undefined;
934
+ }[] | undefined;
935
+ links?: {
936
+ title?: string | undefined;
937
+ url?: string | undefined;
938
+ }[] | undefined;
939
+ chats?: {
940
+ id: string;
941
+ }[] | undefined;
942
+ docs?: {
943
+ title?: string | undefined;
944
+ url?: string | undefined;
945
+ }[] | undefined;
946
+ oncalls?: {
947
+ id: string;
948
+ }[] | undefined;
949
+ abbreviations?: {
950
+ id?: string | undefined;
951
+ }[] | undefined;
952
+ classifications?: {
953
+ id: string;
954
+ father_id?: string | undefined;
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
+ images?: {
985
+ token: string;
986
+ }[] | undefined;
987
+ users?: {
988
+ id: string;
989
+ title?: string | undefined;
990
+ }[] | undefined;
991
+ links?: {
992
+ title?: string | undefined;
993
+ url?: string | undefined;
994
+ }[] | undefined;
995
+ chats?: {
996
+ id: string;
997
+ }[] | undefined;
998
+ docs?: {
999
+ title?: string | undefined;
1000
+ url?: string | undefined;
1001
+ }[] | undefined;
1002
+ oncalls?: {
1003
+ id: string;
1004
+ }[] | undefined;
1005
+ abbreviations?: {
1006
+ id?: string | undefined;
1007
+ }[] | undefined;
1008
+ classifications?: {
1009
+ id: string;
1010
+ father_id?: string | undefined;
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
+ images?: {
1363
+ token: string;
1364
+ }[] | undefined;
1365
+ users?: {
1366
+ id: string;
1367
+ title?: string | undefined;
1368
+ }[] | undefined;
1369
+ links?: {
1370
+ title?: string | undefined;
1371
+ url?: string | undefined;
1372
+ }[] | undefined;
1373
+ chats?: {
1374
+ id: string;
1375
+ }[] | undefined;
1376
+ docs?: {
1377
+ title?: string | undefined;
1378
+ url?: string | undefined;
1379
+ }[] | undefined;
1380
+ oncalls?: {
1381
+ id: string;
1382
+ }[] | undefined;
1383
+ abbreviations?: {
1384
+ id?: string | undefined;
1385
+ }[] | undefined;
1386
+ classifications?: {
1387
+ id: string;
1388
+ father_id?: string | undefined;
1389
+ }[] | undefined;
1390
+ }, {
1391
+ images?: {
1392
+ token: string;
1393
+ }[] | undefined;
1394
+ users?: {
1395
+ id: string;
1396
+ title?: string | undefined;
1397
+ }[] | undefined;
1398
+ links?: {
1399
+ title?: string | undefined;
1400
+ url?: string | undefined;
1401
+ }[] | undefined;
1402
+ chats?: {
1403
+ id: string;
1404
+ }[] | undefined;
1405
+ docs?: {
1406
+ title?: string | undefined;
1407
+ url?: string | undefined;
1408
+ }[] | undefined;
1409
+ oncalls?: {
1410
+ id: string;
1411
+ }[] | undefined;
1412
+ abbreviations?: {
1413
+ id?: string | undefined;
1414
+ }[] | undefined;
1415
+ classifications?: {
1416
+ id: string;
1417
+ father_id?: string | undefined;
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
+ images?: {
1462
+ token: string;
1463
+ }[] | undefined;
1464
+ users?: {
1465
+ id: string;
1466
+ title?: string | undefined;
1467
+ }[] | undefined;
1468
+ links?: {
1469
+ title?: string | undefined;
1470
+ url?: string | undefined;
1471
+ }[] | undefined;
1472
+ chats?: {
1473
+ id: string;
1474
+ }[] | undefined;
1475
+ docs?: {
1476
+ title?: string | undefined;
1477
+ url?: string | undefined;
1478
+ }[] | undefined;
1479
+ oncalls?: {
1480
+ id: string;
1481
+ }[] | undefined;
1482
+ abbreviations?: {
1483
+ id?: string | undefined;
1484
+ }[] | undefined;
1485
+ classifications?: {
1486
+ id: string;
1487
+ father_id?: string | undefined;
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
+ images?: {
1518
+ token: string;
1519
+ }[] | undefined;
1520
+ users?: {
1521
+ id: string;
1522
+ title?: string | undefined;
1523
+ }[] | undefined;
1524
+ links?: {
1525
+ title?: string | undefined;
1526
+ url?: string | undefined;
1527
+ }[] | undefined;
1528
+ chats?: {
1529
+ id: string;
1530
+ }[] | undefined;
1531
+ docs?: {
1532
+ title?: string | undefined;
1533
+ url?: string | undefined;
1534
+ }[] | undefined;
1535
+ oncalls?: {
1536
+ id: string;
1537
+ }[] | undefined;
1538
+ abbreviations?: {
1539
+ id?: string | undefined;
1540
+ }[] | undefined;
1541
+ classifications?: {
1542
+ id: string;
1543
+ father_id?: string | undefined;
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
+ images?: {
1717
+ token: string;
1718
+ }[] | undefined;
1719
+ users?: {
1720
+ id: string;
1721
+ title?: string | undefined;
1722
+ }[] | undefined;
1723
+ links?: {
1724
+ title?: string | undefined;
1725
+ url?: string | undefined;
1726
+ }[] | undefined;
1727
+ chats?: {
1728
+ id: string;
1729
+ }[] | undefined;
1730
+ docs?: {
1731
+ title?: string | undefined;
1732
+ url?: string | undefined;
1733
+ }[] | undefined;
1734
+ oncalls?: {
1735
+ id: string;
1736
+ }[] | undefined;
1737
+ abbreviations?: {
1738
+ id?: string | undefined;
1739
+ }[] | undefined;
1740
+ classifications?: {
1741
+ id: string;
1742
+ father_id?: string | undefined;
1743
+ }[] | undefined;
1744
+ }, {
1745
+ images?: {
1746
+ token: string;
1747
+ }[] | undefined;
1748
+ users?: {
1749
+ id: string;
1750
+ title?: string | undefined;
1751
+ }[] | undefined;
1752
+ links?: {
1753
+ title?: string | undefined;
1754
+ url?: string | undefined;
1755
+ }[] | undefined;
1756
+ chats?: {
1757
+ id: string;
1758
+ }[] | undefined;
1759
+ docs?: {
1760
+ title?: string | undefined;
1761
+ url?: string | undefined;
1762
+ }[] | undefined;
1763
+ oncalls?: {
1764
+ id: string;
1765
+ }[] | undefined;
1766
+ abbreviations?: {
1767
+ id?: string | undefined;
1768
+ }[] | undefined;
1769
+ classifications?: {
1770
+ id: string;
1771
+ father_id?: string | undefined;
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
+ images?: {
1816
+ token: string;
1817
+ }[] | undefined;
1818
+ users?: {
1819
+ id: string;
1820
+ title?: string | undefined;
1821
+ }[] | undefined;
1822
+ links?: {
1823
+ title?: string | undefined;
1824
+ url?: string | undefined;
1825
+ }[] | undefined;
1826
+ chats?: {
1827
+ id: string;
1828
+ }[] | undefined;
1829
+ docs?: {
1830
+ title?: string | undefined;
1831
+ url?: string | undefined;
1832
+ }[] | undefined;
1833
+ oncalls?: {
1834
+ id: string;
1835
+ }[] | undefined;
1836
+ abbreviations?: {
1837
+ id?: string | undefined;
1838
+ }[] | undefined;
1839
+ classifications?: {
1840
+ id: string;
1841
+ father_id?: string | undefined;
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
+ images?: {
1872
+ token: string;
1873
+ }[] | undefined;
1874
+ users?: {
1875
+ id: string;
1876
+ title?: string | undefined;
1877
+ }[] | undefined;
1878
+ links?: {
1879
+ title?: string | undefined;
1880
+ url?: string | undefined;
1881
+ }[] | undefined;
1882
+ chats?: {
1883
+ id: string;
1884
+ }[] | undefined;
1885
+ docs?: {
1886
+ title?: string | undefined;
1887
+ url?: string | undefined;
1888
+ }[] | undefined;
1889
+ oncalls?: {
1890
+ id: string;
1891
+ }[] | undefined;
1892
+ abbreviations?: {
1893
+ id?: string | undefined;
1894
+ }[] | undefined;
1895
+ classifications?: {
1896
+ id: string;
1897
+ father_id?: string | undefined;
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
+ images?: {
2081
+ token: string;
2082
+ }[] | undefined;
2083
+ users?: {
2084
+ id: string;
2085
+ title?: string | undefined;
2086
+ }[] | undefined;
2087
+ links?: {
2088
+ title?: string | undefined;
2089
+ url?: string | undefined;
2090
+ }[] | undefined;
2091
+ chats?: {
2092
+ id: string;
2093
+ }[] | undefined;
2094
+ docs?: {
2095
+ title?: string | undefined;
2096
+ url?: string | undefined;
2097
+ }[] | undefined;
2098
+ oncalls?: {
2099
+ id: string;
2100
+ }[] | undefined;
2101
+ abbreviations?: {
2102
+ id?: string | undefined;
2103
+ }[] | undefined;
2104
+ classifications?: {
2105
+ id: string;
2106
+ father_id?: string | undefined;
2107
+ }[] | undefined;
2108
+ }, {
2109
+ images?: {
2110
+ token: string;
2111
+ }[] | undefined;
2112
+ users?: {
2113
+ id: string;
2114
+ title?: string | undefined;
2115
+ }[] | undefined;
2116
+ links?: {
2117
+ title?: string | undefined;
2118
+ url?: string | undefined;
2119
+ }[] | undefined;
2120
+ chats?: {
2121
+ id: string;
2122
+ }[] | undefined;
2123
+ docs?: {
2124
+ title?: string | undefined;
2125
+ url?: string | undefined;
2126
+ }[] | undefined;
2127
+ oncalls?: {
2128
+ id: string;
2129
+ }[] | undefined;
2130
+ abbreviations?: {
2131
+ id?: string | undefined;
2132
+ }[] | undefined;
2133
+ classifications?: {
2134
+ id: string;
2135
+ father_id?: string | undefined;
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
+ images?: {
2180
+ token: string;
2181
+ }[] | undefined;
2182
+ users?: {
2183
+ id: string;
2184
+ title?: string | undefined;
2185
+ }[] | undefined;
2186
+ links?: {
2187
+ title?: string | undefined;
2188
+ url?: string | undefined;
2189
+ }[] | undefined;
2190
+ chats?: {
2191
+ id: string;
2192
+ }[] | undefined;
2193
+ docs?: {
2194
+ title?: string | undefined;
2195
+ url?: string | undefined;
2196
+ }[] | undefined;
2197
+ oncalls?: {
2198
+ id: string;
2199
+ }[] | undefined;
2200
+ abbreviations?: {
2201
+ id?: string | undefined;
2202
+ }[] | undefined;
2203
+ classifications?: {
2204
+ id: string;
2205
+ father_id?: string | undefined;
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
+ images?: {
2236
+ token: string;
2237
+ }[] | undefined;
2238
+ users?: {
2239
+ id: string;
2240
+ title?: string | undefined;
2241
+ }[] | undefined;
2242
+ links?: {
2243
+ title?: string | undefined;
2244
+ url?: string | undefined;
2245
+ }[] | undefined;
2246
+ chats?: {
2247
+ id: string;
2248
+ }[] | undefined;
2249
+ docs?: {
2250
+ title?: string | undefined;
2251
+ url?: string | undefined;
2252
+ }[] | undefined;
2253
+ oncalls?: {
2254
+ id: string;
2255
+ }[] | undefined;
2256
+ abbreviations?: {
2257
+ id?: string | undefined;
2258
+ }[] | undefined;
2259
+ classifications?: {
2260
+ id: string;
2261
+ father_id?: string | undefined;
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
+ })[];