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