@liselvins/lark-mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/LICENSE +9 -0
  3. package/README.md +215 -0
  4. package/README_ZH.md +212 -0
  5. package/dist/auth/config.d.ts +12 -0
  6. package/dist/auth/config.js +15 -0
  7. package/dist/auth/handler/handler-local.d.ts +21 -0
  8. package/dist/auth/handler/handler-local.js +123 -0
  9. package/dist/auth/handler/handler.d.ts +38 -0
  10. package/dist/auth/handler/handler.js +123 -0
  11. package/dist/auth/handler/index.d.ts +2 -0
  12. package/dist/auth/handler/index.js +18 -0
  13. package/dist/auth/index.d.ts +4 -0
  14. package/dist/auth/index.js +20 -0
  15. package/dist/auth/provider/index.d.ts +3 -0
  16. package/dist/auth/provider/index.js +19 -0
  17. package/dist/auth/provider/oauth.d.ts +18 -0
  18. package/dist/auth/provider/oauth.js +147 -0
  19. package/dist/auth/provider/oidc.d.ts +18 -0
  20. package/dist/auth/provider/oidc.js +172 -0
  21. package/dist/auth/provider/types.d.ts +8 -0
  22. package/dist/auth/provider/types.js +2 -0
  23. package/dist/auth/store.d.ts +39 -0
  24. package/dist/auth/store.js +213 -0
  25. package/dist/auth/types.d.ts +13 -0
  26. package/dist/auth/types.js +2 -0
  27. package/dist/auth/utils/encryption.d.ts +7 -0
  28. package/dist/auth/utils/encryption.js +40 -0
  29. package/dist/auth/utils/index.d.ts +3 -0
  30. package/dist/auth/utils/index.js +19 -0
  31. package/dist/auth/utils/is-token-valid.d.ts +7 -0
  32. package/dist/auth/utils/is-token-valid.js +28 -0
  33. package/dist/auth/utils/pkce.d.ts +6 -0
  34. package/dist/auth/utils/pkce.js +20 -0
  35. package/dist/auth/utils/storage-manager.d.ts +17 -0
  36. package/dist/auth/utils/storage-manager.js +159 -0
  37. package/dist/cli/index.d.ts +1 -0
  38. package/dist/cli/index.js +5 -0
  39. package/dist/cli/login-handler.d.ts +19 -0
  40. package/dist/cli/login-handler.js +288 -0
  41. package/dist/cli.d.ts +4 -0
  42. package/dist/cli.js +124 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.js +19 -0
  45. package/dist/mcp-server/index.d.ts +2 -0
  46. package/dist/mcp-server/index.js +18 -0
  47. package/dist/mcp-server/shared/index.d.ts +2 -0
  48. package/dist/mcp-server/shared/index.js +18 -0
  49. package/dist/mcp-server/shared/init.d.ts +10 -0
  50. package/dist/mcp-server/shared/init.js +121 -0
  51. package/dist/mcp-server/shared/types.d.ts +44 -0
  52. package/dist/mcp-server/shared/types.js +10 -0
  53. package/dist/mcp-server/transport/index.d.ts +3 -0
  54. package/dist/mcp-server/transport/index.js +19 -0
  55. package/dist/mcp-server/transport/sse.d.ts +2 -0
  56. package/dist/mcp-server/transport/sse.js +75 -0
  57. package/dist/mcp-server/transport/stdio.d.ts +2 -0
  58. package/dist/mcp-server/transport/stdio.js +36 -0
  59. package/dist/mcp-server/transport/streamable.d.ts +2 -0
  60. package/dist/mcp-server/transport/streamable.js +86 -0
  61. package/dist/mcp-server/transport/utils.d.ts +16 -0
  62. package/dist/mcp-server/transport/utils.js +34 -0
  63. package/dist/mcp-tool/constants.d.ts +54 -0
  64. package/dist/mcp-tool/constants.js +141 -0
  65. package/dist/mcp-tool/document-tool/index.d.ts +1 -0
  66. package/dist/mcp-tool/document-tool/index.js +17 -0
  67. package/dist/mcp-tool/document-tool/recall/index.d.ts +2 -0
  68. package/dist/mcp-tool/document-tool/recall/index.js +39 -0
  69. package/dist/mcp-tool/document-tool/recall/request.d.ts +2 -0
  70. package/dist/mcp-tool/document-tool/recall/request.js +25 -0
  71. package/dist/mcp-tool/document-tool/recall/type.d.ts +19 -0
  72. package/dist/mcp-tool/document-tool/recall/type.js +2 -0
  73. package/dist/mcp-tool/index.d.ts +5 -0
  74. package/dist/mcp-tool/index.js +21 -0
  75. package/dist/mcp-tool/mcp-tool.d.ts +52 -0
  76. package/dist/mcp-tool/mcp-tool.js +198 -0
  77. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-factory.d.ts +99 -0
  78. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-factory.js +266 -0
  79. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-tools.d.ts +10 -0
  80. package/dist/mcp-tool/tools/en/builtin-tools/docx/block-tools.js +686 -0
  81. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.d.ts +6 -0
  82. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.js +220 -0
  83. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.d.ts +4 -0
  84. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.js +63 -0
  85. package/dist/mcp-tool/tools/en/builtin-tools/index.d.ts +4 -0
  86. package/dist/mcp-tool/tools/en/builtin-tools/index.js +6 -0
  87. package/dist/mcp-tool/tools/en/gen-tools/index.d.ts +113 -0
  88. package/dist/mcp-tool/tools/en/gen-tools/index.js +127 -0
  89. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.d.ts +562 -0
  90. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.js +264 -0
  91. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.d.ts +912 -0
  92. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.js +449 -0
  93. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.d.ts +1213 -0
  94. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.js +560 -0
  95. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.d.ts +2530 -0
  96. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.js +949 -0
  97. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.d.ts +80 -0
  98. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.js +53 -0
  99. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.d.ts +1008 -0
  100. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.js +775 -0
  101. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.d.ts +3928 -0
  102. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.js +1602 -0
  103. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.d.ts +6043 -0
  104. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.js +1857 -0
  105. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.d.ts +151 -0
  106. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.js +71 -0
  107. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.d.ts +26 -0
  108. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.js +17 -0
  109. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.d.ts +2174 -0
  110. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.js +594 -0
  111. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.d.ts +755 -0
  112. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.js +234 -0
  113. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.d.ts +3541 -0
  114. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.js +1786 -0
  115. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.d.ts +40 -0
  116. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.js +18 -0
  117. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.d.ts +2075 -0
  118. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.js +1594 -0
  119. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.d.ts +528 -0
  120. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.js +260 -0
  121. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.d.ts +189 -0
  122. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.js +132 -0
  123. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.d.ts +4274 -0
  124. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.js +2583 -0
  125. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.d.ts +16873 -0
  126. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.js +5045 -0
  127. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.d.ts +29387 -0
  128. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.js +7787 -0
  129. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.d.ts +4274 -0
  130. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.js +1367 -0
  131. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.d.ts +58 -0
  132. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.js +28 -0
  133. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.d.ts +93466 -0
  134. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.js +14350 -0
  135. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.d.ts +3251 -0
  136. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.js +1422 -0
  137. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.d.ts +174 -0
  138. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.js +117 -0
  139. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.d.ts +86 -0
  140. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.js +48 -0
  141. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.d.ts +44 -0
  142. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.js +17 -0
  143. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  144. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.js +285 -0
  145. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.d.ts +10076 -0
  146. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.js +6065 -0
  147. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.d.ts +158 -0
  148. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.js +61 -0
  149. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  150. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.js +27 -0
  151. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.d.ts +3043 -0
  152. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.js +1869 -0
  153. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.d.ts +2176 -0
  154. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.js +460 -0
  155. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.d.ts +2301 -0
  156. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.js +669 -0
  157. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.d.ts +2462 -0
  158. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.js +1655 -0
  159. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.d.ts +104 -0
  160. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.js +45 -0
  161. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.d.ts +329 -0
  162. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.js +78 -0
  163. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.d.ts +92 -0
  164. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.js +62 -0
  165. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.d.ts +52 -0
  166. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.js +24 -0
  167. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.d.ts +1628 -0
  168. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.js +434 -0
  169. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  170. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  171. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.d.ts +131 -0
  172. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.js +59 -0
  173. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.d.ts +333 -0
  174. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.js +176 -0
  175. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.d.ts +309 -0
  176. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.js +178 -0
  177. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.d.ts +1177 -0
  178. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.js +559 -0
  179. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  180. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.js +303 -0
  181. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.d.ts +192 -0
  182. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.js +71 -0
  183. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.d.ts +1695 -0
  184. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.js +446 -0
  185. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  186. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.js +32 -0
  187. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.d.ts +979 -0
  188. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.js +721 -0
  189. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  190. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.js +65 -0
  191. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.d.ts +1161 -0
  192. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.js +672 -0
  193. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.d.ts +6051 -0
  194. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.js +1970 -0
  195. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.d.ts +31 -0
  196. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.js +24 -0
  197. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.d.ts +80 -0
  198. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.js +37 -0
  199. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.d.ts +182 -0
  200. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.js +141 -0
  201. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.d.ts +5725 -0
  202. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.js +1751 -0
  203. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.d.ts +21 -0
  204. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.js +14 -0
  205. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.d.ts +72 -0
  206. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.js +19 -0
  207. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.d.ts +843 -0
  208. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.js +381 -0
  209. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.d.ts +116 -0
  210. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.js +77 -0
  211. package/dist/mcp-tool/tools/index.d.ts +104 -0
  212. package/dist/mcp-tool/tools/index.js +9 -0
  213. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-factory.d.ts +1 -0
  214. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-factory.js +18 -0
  215. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-tools.d.ts +4 -0
  216. package/dist/mcp-tool/tools/zh/builtin-tools/docx/block-tools.js +18 -0
  217. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.d.ts +6 -0
  218. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.js +199 -0
  219. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.d.ts +4 -0
  220. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.js +63 -0
  221. package/dist/mcp-tool/tools/zh/builtin-tools/index.d.ts +4 -0
  222. package/dist/mcp-tool/tools/zh/builtin-tools/index.js +6 -0
  223. package/dist/mcp-tool/tools/zh/gen-tools/index.d.ts +113 -0
  224. package/dist/mcp-tool/tools/zh/gen-tools/index.js +127 -0
  225. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.d.ts +562 -0
  226. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.js +277 -0
  227. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.d.ts +912 -0
  228. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.js +430 -0
  229. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.d.ts +1213 -0
  230. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.js +541 -0
  231. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.d.ts +2530 -0
  232. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.js +885 -0
  233. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.d.ts +80 -0
  234. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.js +59 -0
  235. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.d.ts +1007 -0
  236. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.js +721 -0
  237. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.d.ts +3928 -0
  238. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.js +1532 -0
  239. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.d.ts +6043 -0
  240. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.js +1620 -0
  241. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.d.ts +151 -0
  242. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.js +87 -0
  243. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.d.ts +26 -0
  244. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.js +17 -0
  245. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.d.ts +2174 -0
  246. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.js +574 -0
  247. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.d.ts +755 -0
  248. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.js +270 -0
  249. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.d.ts +3541 -0
  250. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.js +1864 -0
  251. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.d.ts +40 -0
  252. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.js +18 -0
  253. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.d.ts +2075 -0
  254. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.js +1533 -0
  255. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.d.ts +528 -0
  256. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.js +248 -0
  257. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.d.ts +189 -0
  258. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.js +130 -0
  259. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.d.ts +4274 -0
  260. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.js +2394 -0
  261. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.d.ts +16957 -0
  262. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.js +4753 -0
  263. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.d.ts +29869 -0
  264. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.js +7902 -0
  265. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.d.ts +4324 -0
  266. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.js +1340 -0
  267. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.d.ts +58 -0
  268. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.js +26 -0
  269. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.d.ts +116719 -0
  270. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.js +14949 -0
  271. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.d.ts +3251 -0
  272. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.js +1395 -0
  273. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.d.ts +174 -0
  274. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.js +115 -0
  275. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.d.ts +86 -0
  276. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.js +48 -0
  277. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.d.ts +44 -0
  278. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.js +25 -0
  279. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  280. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.js +279 -0
  281. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.d.ts +10085 -0
  282. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.js +5787 -0
  283. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.d.ts +158 -0
  284. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.js +64 -0
  285. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  286. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.js +27 -0
  287. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.d.ts +3043 -0
  288. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.js +1812 -0
  289. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.d.ts +2176 -0
  290. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.js +454 -0
  291. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.d.ts +2301 -0
  292. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.js +650 -0
  293. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.d.ts +2465 -0
  294. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.js +1467 -0
  295. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.d.ts +104 -0
  296. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.js +45 -0
  297. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.d.ts +329 -0
  298. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.js +76 -0
  299. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.d.ts +92 -0
  300. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.js +62 -0
  301. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.d.ts +52 -0
  302. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.js +20 -0
  303. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.d.ts +1664 -0
  304. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.js +455 -0
  305. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  306. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  307. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.d.ts +131 -0
  308. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.js +53 -0
  309. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.d.ts +609 -0
  310. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.js +321 -0
  311. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.d.ts +309 -0
  312. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.js +165 -0
  313. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.d.ts +1177 -0
  314. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.js +525 -0
  315. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  316. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.js +295 -0
  317. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.d.ts +194 -0
  318. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.js +72 -0
  319. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.d.ts +1695 -0
  320. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.js +556 -0
  321. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  322. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.js +32 -0
  323. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.d.ts +979 -0
  324. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.js +821 -0
  325. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  326. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.js +65 -0
  327. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.d.ts +1161 -0
  328. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.js +647 -0
  329. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.d.ts +6077 -0
  330. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.js +1894 -0
  331. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.d.ts +31 -0
  332. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.js +24 -0
  333. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.d.ts +80 -0
  334. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.js +37 -0
  335. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.d.ts +182 -0
  336. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.js +137 -0
  337. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.d.ts +5725 -0
  338. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.js +1640 -0
  339. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.d.ts +21 -0
  340. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.js +14 -0
  341. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.d.ts +72 -0
  342. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.js +34 -0
  343. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.d.ts +843 -0
  344. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.js +376 -0
  345. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.d.ts +116 -0
  346. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.js +77 -0
  347. package/dist/mcp-tool/types/index.d.ts +53 -0
  348. package/dist/mcp-tool/types/index.js +9 -0
  349. package/dist/mcp-tool/utils/case-transf.d.ts +2 -0
  350. package/dist/mcp-tool/utils/case-transf.js +15 -0
  351. package/dist/mcp-tool/utils/filter-tools.d.ts +2 -0
  352. package/dist/mcp-tool/utils/filter-tools.js +27 -0
  353. package/dist/mcp-tool/utils/get-should-use-uat.d.ts +2 -0
  354. package/dist/mcp-tool/utils/get-should-use-uat.js +18 -0
  355. package/dist/mcp-tool/utils/handler.d.ts +2 -0
  356. package/dist/mcp-tool/utils/handler.js +92 -0
  357. package/dist/mcp-tool/utils/index.d.ts +4 -0
  358. package/dist/mcp-tool/utils/index.js +20 -0
  359. package/dist/utils/clean-env-args.d.ts +1 -0
  360. package/dist/utils/clean-env-args.js +12 -0
  361. package/dist/utils/constants.d.ts +18 -0
  362. package/dist/utils/constants.js +36 -0
  363. package/dist/utils/http-instance.d.ts +2 -0
  364. package/dist/utils/http-instance.js +21 -0
  365. package/dist/utils/logger.d.ts +22 -0
  366. package/dist/utils/logger.js +97 -0
  367. package/dist/utils/noop.d.ts +1 -0
  368. package/dist/utils/noop.js +6 -0
  369. package/dist/utils/parser-string-array.d.ts +1 -0
  370. package/dist/utils/parser-string-array.js +13 -0
  371. package/dist/utils/safe-json-parse.d.ts +1 -0
  372. package/dist/utils/safe-json-parse.js +14 -0
  373. package/dist/utils/version.d.ts +1 -0
  374. package/dist/utils/version.js +52 -0
  375. package/docs/recall-mcp/README.md +137 -0
  376. package/docs/recall-mcp/README_ZH.md +137 -0
  377. package/docs/reference/cli/cli-zh.md +92 -0
  378. package/docs/reference/cli/cli.md +92 -0
  379. package/docs/reference/tool-presets/presets-zh.md +120 -0
  380. package/docs/reference/tool-presets/presets.md +120 -0
  381. package/docs/reference/tool-presets/tools-en.md +1516 -0
  382. package/docs/reference/tool-presets/tools-zh.md +1533 -0
  383. package/docs/troubleshooting/faq-zh.md +67 -0
  384. package/docs/troubleshooting/faq.md +67 -0
  385. package/docs/usage/configuration/configuration-zh.md +344 -0
  386. package/docs/usage/configuration/configuration.md +344 -0
  387. package/docs/usage/docker/docker-zh.md +101 -0
  388. package/docs/usage/docker/docker.md +106 -0
  389. package/package.json +65 -0
@@ -0,0 +1,1751 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vcV1RoomList = exports.vcV1RoomGet = exports.vcV1RoomDelete = exports.vcV1RoomCreate = exports.vcV1RoomLevelSearch = exports.vcV1RoomLevelPatch = exports.vcV1RoomLevelMget = exports.vcV1RoomLevelList = exports.vcV1RoomLevelGet = exports.vcV1RoomLevelDel = exports.vcV1RoomLevelCreate = exports.vcV1RoomConfigSetRoomAccessCode = exports.vcV1RoomConfigSetCheckboardAccessCode = exports.vcV1RoomConfigSet = exports.vcV1RoomConfigQuery = exports.vcV1ResourceReservationListGet = exports.vcV1ReserveUpdate = exports.vcV1ReserveGetActiveMeeting = exports.vcV1ReserveGet = exports.vcV1ReserveDelete = exports.vcV1ReserveApply = exports.vcV1ReserveConfigReserveScope = exports.vcV1ReserveConfigPatch = exports.vcV1ReserveConfigFormPatch = exports.vcV1ReserveConfigFormGet = exports.vcV1ReserveConfigDisableInformPatch = exports.vcV1ReserveConfigDisableInformGet = exports.vcV1ReserveConfigAdminPatch = exports.vcV1ReserveConfigAdminGet = exports.vcV1ReportGetTopUser = exports.vcV1ReportGetDaily = exports.vcV1ParticipantQualityListGet = exports.vcV1ParticipantListGet = exports.vcV1MeetingSetHost = exports.vcV1MeetingRecordingStop = exports.vcV1MeetingRecordingStart = exports.vcV1MeetingRecordingSetPermission = exports.vcV1MeetingRecordingGet = exports.vcV1MeetingListByNo = exports.vcV1MeetingKickout = exports.vcV1MeetingInvite = exports.vcV1MeetingGet = exports.vcV1MeetingEnd = exports.vcV1MeetingListGet = exports.vcV1ExportResourceReservationList = exports.vcV1ExportParticipantQualityList = exports.vcV1ExportParticipantList = exports.vcV1ExportMeetingList = exports.vcV1ExportGet = exports.vcV1AlertList = void 0;
4
+ exports.vcV1Tools = exports.vcV1ScopeConfigGet = exports.vcV1ScopeConfigCreate = exports.vcV1RoomSearch = exports.vcV1RoomPatch = exports.vcV1RoomMget = void 0;
5
+ const zod_1 = require("zod");
6
+ exports.vcV1AlertList = {
7
+ project: 'vc',
8
+ name: 'vc.v1.alert.list',
9
+ sdkName: 'vc.v1.alert.list',
10
+ path: '/open-apis/vc/v1/alerts',
11
+ httpMethod: 'GET',
12
+ description: "[Feishu/Lark]-Video Conferencing-Alert center-Get alert center history-Get tenant's equipment warning record under specific conditions",
13
+ accessTokens: ['tenant'],
14
+ schema: {
15
+ params: zod_1.z.object({
16
+ start_time: zod_1.z.string().describe('Start time (UNIX time, unit SEC)'),
17
+ end_time: zod_1.z.string().describe('End time (UNIX time, unit SEC)'),
18
+ query_type: zod_1.z.number().describe('Query object type Options:1(room Rooms),2(erc),3(sip)').optional(),
19
+ query_value: zod_1.z.string().describe('Query object ID').optional(),
20
+ page_size: zod_1.z.number().optional(),
21
+ page_token: zod_1.z
22
+ .string()
23
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
24
+ .optional(),
25
+ }),
26
+ },
27
+ };
28
+ exports.vcV1ExportGet = {
29
+ project: 'vc',
30
+ name: 'vc.v1.export.get',
31
+ sdkName: 'vc.v1.export.get',
32
+ path: '/open-apis/vc/v1/exports/:task_id',
33
+ httpMethod: 'GET',
34
+ description: '[Feishu/Lark]-Video Conferencing-Export-Query export task results-View the progress of asynchronous export',
35
+ accessTokens: ['tenant', 'user'],
36
+ schema: {
37
+ path: zod_1.z.object({ task_id: zod_1.z.string().describe('Task id').optional() }).optional(),
38
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
39
+ },
40
+ };
41
+ exports.vcV1ExportMeetingList = {
42
+ project: 'vc',
43
+ name: 'vc.v1.export.meetingList',
44
+ sdkName: 'vc.v1.export.meetingList',
45
+ path: '/open-apis/vc/v1/exports/meeting_list',
46
+ httpMethod: 'POST',
47
+ description: '[Feishu/Lark]-Video Conferencing-Export-Export meeting details-Export meeting details. For specific permission requirements, please refer to "Resource introduction"',
48
+ accessTokens: ['tenant', 'user'],
49
+ schema: {
50
+ data: zod_1.z.object({
51
+ start_time: zod_1.z.string().describe('Query start time (unix time, unit sec)'),
52
+ end_time: zod_1.z.string().describe('Query end time (unix time, unit sec)'),
53
+ meeting_status: zod_1.z
54
+ .number()
55
+ .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)')
56
+ .optional(),
57
+ meeting_no: zod_1.z.string().describe('Filter by 9-digit meeting number (up to one filter)').optional(),
58
+ user_id: zod_1.z.string().describe('Filter by participating Lark users (up to one filter)').optional(),
59
+ room_id: zod_1.z.string().describe('Filter by Rooms (maximum one filter)').optional(),
60
+ meeting_type: zod_1.z
61
+ .number()
62
+ .describe('Filter by meeting type (up to one filter) Options:1(all All types (default)),2(meeting video conferencing),3(share_screen share screen)')
63
+ .optional(),
64
+ }),
65
+ params: zod_1.z
66
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
67
+ .optional(),
68
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
69
+ },
70
+ };
71
+ exports.vcV1ExportParticipantList = {
72
+ project: 'vc',
73
+ name: 'vc.v1.export.participantList',
74
+ sdkName: 'vc.v1.export.participantList',
75
+ path: '/open-apis/vc/v1/exports/participant_list',
76
+ httpMethod: 'POST',
77
+ description: '[Feishu/Lark]-Video Conferencing-Export-Export participant details-Export a list of participant details for a conference.For specific permission requirements, please refer to "Resource introduction"',
78
+ accessTokens: ['tenant', 'user'],
79
+ schema: {
80
+ data: zod_1.z.object({
81
+ meeting_start_time: zod_1.z.string().describe('Meeting start time (unix time,unit second)'),
82
+ meeting_end_time: zod_1.z
83
+ .string()
84
+ .describe('Meeting end time (Unix time, unit sec, if the meeting is in progress, fill in the current time, otherwise fill in the accurate meeting end time)'),
85
+ meeting_status: zod_1.z
86
+ .number()
87
+ .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)')
88
+ .optional(),
89
+ meeting_no: zod_1.z.string().describe('9-Digit conference number'),
90
+ user_id: zod_1.z.string().describe('Filter by participating Lark users (up to one filter)').optional(),
91
+ room_id: zod_1.z.string().describe('Filter by Rooms (maximum one filter)').optional(),
92
+ }),
93
+ params: zod_1.z
94
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
95
+ .optional(),
96
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
97
+ },
98
+ };
99
+ exports.vcV1ExportParticipantQualityList = {
100
+ project: 'vc',
101
+ name: 'vc.v1.export.participantQualityList',
102
+ sdkName: 'vc.v1.export.participantQualityList',
103
+ path: '/open-apis/vc/v1/exports/participant_quality_list',
104
+ httpMethod: 'POST',
105
+ description: '[Feishu/Lark]-Video Conferencing-Export-Export participant meeting quality data-Export audio and video & share quality data of a participant in a conference,(Only supports ended meetings.) please refer to "Resource introduction" for specific permission requirements',
106
+ accessTokens: ['tenant', 'user'],
107
+ schema: {
108
+ data: zod_1.z.object({
109
+ meeting_start_time: zod_1.z
110
+ .string()
111
+ .describe('Meeting start time (need to be accurate to the minute,unix time,unit second)'),
112
+ meeting_end_time: zod_1.z.string().describe('Meeting end time (unix time, unit sec)'),
113
+ meeting_no: zod_1.z.string().describe('9-Digit conference number'),
114
+ join_time: zod_1.z
115
+ .string()
116
+ .describe('Entry time of participants (unix time, unit sec).It can be obtained from the results returned by "Participant Details"'),
117
+ user_id: zod_1.z
118
+ .string()
119
+ .describe('Fill in when the participant is a Lark user, and room_id and user_id must be filled in only one')
120
+ .optional(),
121
+ room_id: zod_1.z
122
+ .string()
123
+ .describe('Fill in when the participant is a Room, and room_id and user_id must be filled in only one')
124
+ .optional(),
125
+ }),
126
+ params: zod_1.z
127
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
128
+ .optional(),
129
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
130
+ },
131
+ };
132
+ exports.vcV1ExportResourceReservationList = {
133
+ project: 'vc',
134
+ name: 'vc.v1.export.resourceReservationList',
135
+ sdkName: 'vc.v1.export.resourceReservationList',
136
+ path: '/open-apis/vc/v1/exports/resource_reservation_list',
137
+ httpMethod: 'POST',
138
+ description: '[Feishu/Lark]-Video Conferencing-Export-Export meeting room reservation data-Export meeting room reservation data. For specific permission requirements, please refer to "Resource introduction"',
139
+ accessTokens: ['tenant', 'user'],
140
+ schema: {
141
+ data: zod_1.z.object({
142
+ room_level_id: zod_1.z.string().describe('room level id'),
143
+ need_topic: zod_1.z.boolean().describe('Whether to show the conference theme').optional(),
144
+ start_time: zod_1.z.string().describe('Query start time (unix time, unit sec)'),
145
+ end_time: zod_1.z.string().describe('Query end time (unix time, unit sec)'),
146
+ room_ids: zod_1.z.array(zod_1.z.string()).describe('List of meeting room ids to filter').optional(),
147
+ is_exclude: zod_1.z
148
+ .boolean()
149
+ .describe('If true, it means that the conference room outside the scope of the export room_ids, the default is false')
150
+ .optional(),
151
+ }),
152
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
153
+ },
154
+ };
155
+ exports.vcV1MeetingListGet = {
156
+ project: 'vc',
157
+ name: 'vc.v1.meetingList.get',
158
+ sdkName: 'vc.v1.meetingList.get',
159
+ path: '/open-apis/vc/v1/meeting_list',
160
+ httpMethod: 'GET',
161
+ description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get meeting details-Get meeting details.For specific permission requirements, please refer to "Resource introduction"',
162
+ accessTokens: ['tenant', 'user'],
163
+ schema: {
164
+ params: zod_1.z.object({
165
+ start_time: zod_1.z.string().describe('Start time (unix time, in sec)'),
166
+ end_time: zod_1.z.string().describe('End time (unix time, in sec)'),
167
+ meeting_status: zod_1.z
168
+ .number()
169
+ .describe('meeting status(defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held. This enumeration value is read-only and does not support selection during request.)')
170
+ .optional(),
171
+ meeting_no: zod_1.z.string().describe('Filter by 9-digit meeting number (at most one filter)').optional(),
172
+ user_id: zod_1.z.string().describe('Filter by participating Lark users (at most one filter)').optional(),
173
+ room_id: zod_1.z.string().describe('Filter by Participating Rooms (at most one filter)').optional(),
174
+ meeting_type: zod_1.z
175
+ .number()
176
+ .describe('Filter by meeting type (up to one filter) Options:1(all All types (default)),2(meeting video conferencing),3(share_screen share screen)')
177
+ .optional(),
178
+ page_size: zod_1.z.number().describe('paging size').optional(),
179
+ page_token: zod_1.z
180
+ .string()
181
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
182
+ .optional(),
183
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
184
+ }),
185
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
186
+ },
187
+ };
188
+ exports.vcV1MeetingEnd = {
189
+ project: 'vc',
190
+ name: 'vc.v1.meeting.end',
191
+ sdkName: 'vc.v1.meeting.end',
192
+ path: '/open-apis/vc/v1/meetings/:meeting_id/end',
193
+ httpMethod: 'PATCH',
194
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-End a meeting-Ends an ongoing meeting',
195
+ accessTokens: ['user'],
196
+ schema: {
197
+ path: zod_1.z
198
+ .object({
199
+ meeting_id: zod_1.z
200
+ .string()
201
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
202
+ .optional(),
203
+ })
204
+ .optional(),
205
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
206
+ },
207
+ };
208
+ exports.vcV1MeetingGet = {
209
+ project: 'vc',
210
+ name: 'vc.v1.meeting.get',
211
+ sdkName: 'vc.v1.meeting.get',
212
+ path: '/open-apis/vc/v1/meetings/:meeting_id',
213
+ httpMethod: 'GET',
214
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-Obtain meeting details-Obtains the detailed data of a meeting',
215
+ accessTokens: ['tenant', 'user'],
216
+ schema: {
217
+ params: zod_1.z
218
+ .object({
219
+ with_participants: zod_1.z.boolean().describe('Indicates whether the participant list is required').optional(),
220
+ with_meeting_ability: zod_1.z
221
+ .boolean()
222
+ .describe('Indicates whether individual statistics is required in the meeting (only for tenant_access_token)')
223
+ .optional(),
224
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
225
+ })
226
+ .optional(),
227
+ path: zod_1.z
228
+ .object({
229
+ meeting_id: zod_1.z
230
+ .string()
231
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
232
+ .optional(),
233
+ })
234
+ .optional(),
235
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
236
+ },
237
+ };
238
+ exports.vcV1MeetingInvite = {
239
+ project: 'vc',
240
+ name: 'vc.v1.meeting.invite',
241
+ sdkName: 'vc.v1.meeting.invite',
242
+ path: '/open-apis/vc/v1/meetings/:meeting_id/invite',
243
+ httpMethod: 'PATCH',
244
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-Invite participants-Invites participants to a meeting',
245
+ accessTokens: ['user'],
246
+ schema: {
247
+ data: zod_1.z.object({
248
+ invitees: zod_1.z
249
+ .array(zod_1.z.object({
250
+ id: zod_1.z.string().describe('User ID').optional(),
251
+ user_type: zod_1.z
252
+ .number()
253
+ .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)')
254
+ .optional(),
255
+ }))
256
+ .describe('List of invited users [Up to 10 people can be invited at one time]'),
257
+ }),
258
+ params: zod_1.z
259
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
260
+ .optional(),
261
+ path: zod_1.z
262
+ .object({
263
+ meeting_id: zod_1.z
264
+ .string()
265
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
266
+ .optional(),
267
+ })
268
+ .optional(),
269
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
270
+ },
271
+ };
272
+ exports.vcV1MeetingKickout = {
273
+ project: 'vc',
274
+ name: 'vc.v1.meeting.kickout',
275
+ sdkName: 'vc.v1.meeting.kickout',
276
+ path: '/open-apis/vc/v1/meetings/:meeting_id/kickout',
277
+ httpMethod: 'POST',
278
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-Remove participants-Removes participants from a meeting',
279
+ accessTokens: ['tenant'],
280
+ schema: {
281
+ data: zod_1.z.object({
282
+ kickout_users: zod_1.z
283
+ .array(zod_1.z.object({
284
+ id: zod_1.z.string().describe('User ID').optional(),
285
+ user_type: zod_1.z
286
+ .number()
287
+ .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)')
288
+ .optional(),
289
+ }))
290
+ .describe('List of users to be removed'),
291
+ }),
292
+ params: zod_1.z
293
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
294
+ .optional(),
295
+ path: zod_1.z.object({ meeting_id: zod_1.z.string().describe('Meeting ID').optional() }).optional(),
296
+ },
297
+ };
298
+ exports.vcV1MeetingListByNo = {
299
+ project: 'vc',
300
+ name: 'vc.v1.meeting.listByNo',
301
+ sdkName: 'vc.v1.meeting.listByNo',
302
+ path: '/open-apis/vc/v1/meetings/list_by_no',
303
+ httpMethod: 'GET',
304
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-List meetings of same meeting number-Obtains the meeting brief list associated with the meeting number for a specified time period (within 90 days)',
305
+ accessTokens: ['tenant', 'user'],
306
+ schema: {
307
+ params: zod_1.z.object({
308
+ meeting_no: zod_1.z.string().describe('9-digit meeting number'),
309
+ start_time: zod_1.z.string().describe('Query start time (unix time in sec)'),
310
+ end_time: zod_1.z.string().describe('Query end time (unix time in sec)'),
311
+ page_token: zod_1.z
312
+ .string()
313
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
314
+ .optional(),
315
+ page_size: zod_1.z.number().optional(),
316
+ }),
317
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
318
+ },
319
+ };
320
+ exports.vcV1MeetingRecordingGet = {
321
+ project: 'vc',
322
+ name: 'vc.v1.meetingRecording.get',
323
+ sdkName: 'vc.v1.meetingRecording.get',
324
+ path: '/open-apis/vc/v1/meetings/:meeting_id/recording',
325
+ httpMethod: 'GET',
326
+ description: '[Feishu/Lark]-Video Conferencing-Meeting record-Obtain recording files-Obtain recording files of a meeting.',
327
+ accessTokens: ['tenant', 'user'],
328
+ schema: {
329
+ path: zod_1.z
330
+ .object({
331
+ meeting_id: zod_1.z
332
+ .string()
333
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
334
+ .optional(),
335
+ })
336
+ .optional(),
337
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
338
+ },
339
+ };
340
+ exports.vcV1MeetingRecordingSetPermission = {
341
+ project: 'vc',
342
+ name: 'vc.v1.meetingRecording.setPermission',
343
+ sdkName: 'vc.v1.meetingRecording.setPermission',
344
+ path: '/open-apis/vc/v1/meetings/:meeting_id/recording/set_permission',
345
+ httpMethod: 'PATCH',
346
+ description: "[Feishu/Lark]-Video Conferencing-Meeting record-Authorize recording files-Authorizes a meeting's recording files to an organization/user or makes them public to the public network",
347
+ accessTokens: ['user'],
348
+ schema: {
349
+ data: zod_1.z.object({
350
+ permission_objects: zod_1.z
351
+ .array(zod_1.z.object({
352
+ id: zod_1.z.string().describe('Authorization object ID').optional(),
353
+ type: zod_1.z
354
+ .number()
355
+ .describe('Authorization object type Options:1(User User authorization (fill in the user ID in the id field)),2(Group Group authorization (fill in the group open_chat_id in the id field)),3(Tenant In-tenant authorization (id field not filled in)),4(Public Public network authorization (id field is not filled in))'),
356
+ permission: zod_1.z.number().describe('permission Options:1(View)'),
357
+ }))
358
+ .describe('List of authorized objects'),
359
+ action_type: zod_1.z
360
+ .number()
361
+ .describe('Authorize or cancel authorization, default authorization Options:0(authorize authorization),1(revoke Cancel authorization)')
362
+ .optional(),
363
+ }),
364
+ params: zod_1.z
365
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
366
+ .optional(),
367
+ path: zod_1.z
368
+ .object({
369
+ meeting_id: zod_1.z
370
+ .string()
371
+ .describe('Meeting ID (unique identifier of the video conference, which will not be generated until the video conference starts)')
372
+ .optional(),
373
+ })
374
+ .optional(),
375
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
376
+ },
377
+ };
378
+ exports.vcV1MeetingRecordingStart = {
379
+ project: 'vc',
380
+ name: 'vc.v1.meetingRecording.start',
381
+ sdkName: 'vc.v1.meetingRecording.start',
382
+ path: '/open-apis/vc/v1/meetings/:meeting_id/recording/start',
383
+ httpMethod: 'PATCH',
384
+ description: '[Feishu/Lark]-Video Conferencing-Meeting record-Start recording-Start recording in a meeting.',
385
+ accessTokens: ['user'],
386
+ schema: {
387
+ data: zod_1.z
388
+ .object({
389
+ timezone: zod_1.z.number().describe('Time zone used for displaying the file recording time [-12,12]').optional(),
390
+ })
391
+ .optional(),
392
+ path: zod_1.z
393
+ .object({
394
+ meeting_id: zod_1.z
395
+ .string()
396
+ .describe('Meeting ID (Unique identifier of video conference, generated after the conference is started)')
397
+ .optional(),
398
+ })
399
+ .optional(),
400
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
401
+ },
402
+ };
403
+ exports.vcV1MeetingRecordingStop = {
404
+ project: 'vc',
405
+ name: 'vc.v1.meetingRecording.stop',
406
+ sdkName: 'vc.v1.meetingRecording.stop',
407
+ path: '/open-apis/vc/v1/meetings/:meeting_id/recording/stop',
408
+ httpMethod: 'PATCH',
409
+ description: '[Feishu/Lark]-Video Conferencing-Meeting record-Stop recording-Stop recording in the meeting.',
410
+ accessTokens: ['user'],
411
+ schema: {
412
+ path: zod_1.z
413
+ .object({
414
+ meeting_id: zod_1.z
415
+ .string()
416
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
417
+ .optional(),
418
+ })
419
+ .optional(),
420
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
421
+ },
422
+ };
423
+ exports.vcV1MeetingSetHost = {
424
+ project: 'vc',
425
+ name: 'vc.v1.meeting.setHost',
426
+ sdkName: 'vc.v1.meeting.setHost',
427
+ path: '/open-apis/vc/v1/meetings/:meeting_id/set_host',
428
+ httpMethod: 'PATCH',
429
+ description: '[Feishu/Lark]-Video Conferencing-Meeting management-Set meeting host-Sets a host for a meeting',
430
+ accessTokens: ['tenant', 'user'],
431
+ schema: {
432
+ data: zod_1.z.object({
433
+ host_user: zod_1.z
434
+ .object({
435
+ id: zod_1.z.string().describe('User ID').optional(),
436
+ user_type: zod_1.z
437
+ .number()
438
+ .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)')
439
+ .optional(),
440
+ })
441
+ .describe('The user to be set as the host'),
442
+ old_host_user: zod_1.z
443
+ .object({
444
+ id: zod_1.z.string().describe('User ID').optional(),
445
+ user_type: zod_1.z
446
+ .number()
447
+ .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)')
448
+ .optional(),
449
+ })
450
+ .describe('Current host (CAS concurrency security: If this field is inconsistent with the current host in the meeting, the setting will fail. Try again by using the latest returned data.)')
451
+ .optional(),
452
+ }),
453
+ params: zod_1.z
454
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
455
+ .optional(),
456
+ path: zod_1.z
457
+ .object({
458
+ meeting_id: zod_1.z
459
+ .string()
460
+ .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)')
461
+ .optional(),
462
+ })
463
+ .optional(),
464
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
465
+ },
466
+ };
467
+ exports.vcV1ParticipantListGet = {
468
+ project: 'vc',
469
+ name: 'vc.v1.participantList.get',
470
+ sdkName: 'vc.v1.participantList.get',
471
+ path: '/open-apis/vc/v1/participant_list',
472
+ httpMethod: 'GET',
473
+ description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get participant details-Get participant details. For specific permission requirements, please refer to "Resource introduction"',
474
+ accessTokens: ['tenant', 'user'],
475
+ schema: {
476
+ params: zod_1.z.object({
477
+ meeting_start_time: zod_1.z.string().describe('Meeting start time(unix time,unit second)'),
478
+ meeting_end_time: zod_1.z
479
+ .string()
480
+ .describe('Meeting end time (Unix time, unit sec, if the meeting is in progress, fill in the current time, otherwise fill in the accurate meeting end time)'),
481
+ meeting_status: zod_1.z
482
+ .number()
483
+ .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)')
484
+ .optional(),
485
+ meeting_no: zod_1.z.string().describe('Meeting number'),
486
+ user_id: zod_1.z.string().describe('User ID').optional(),
487
+ room_id: zod_1.z.string().describe('Room ID').optional(),
488
+ page_size: zod_1.z.number().describe('paging size').optional(),
489
+ page_token: zod_1.z
490
+ .string()
491
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
492
+ .optional(),
493
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
494
+ }),
495
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
496
+ },
497
+ };
498
+ exports.vcV1ParticipantQualityListGet = {
499
+ project: 'vc',
500
+ name: 'vc.v1.participantQualityList.get',
501
+ sdkName: 'vc.v1.participantQualityList.get',
502
+ path: '/open-apis/vc/v1/participant_quality_list',
503
+ httpMethod: 'GET',
504
+ description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get participant meeting quality data-Get participant meeting quality data.(Only supports ended meetings) For specific permission requirements, please refer to "Resource introduction"',
505
+ accessTokens: ['tenant', 'user'],
506
+ schema: {
507
+ params: zod_1.z.object({
508
+ meeting_start_time: zod_1.z
509
+ .string()
510
+ .describe('Meeting start time(need to be accurate to the minute,unix time,unit second)'),
511
+ meeting_end_time: zod_1.z.string().describe('Meeting end time'),
512
+ meeting_no: zod_1.z.string().describe('Meeting number'),
513
+ join_time: zod_1.z
514
+ .string()
515
+ .describe('Time of joining the meeting.It can be obtained from the results returned by "Participant Details"'),
516
+ user_id: zod_1.z
517
+ .string()
518
+ .describe('User ID.Fill in when the participant is a Lark user, and room_id and user_id must be filled in only one')
519
+ .optional(),
520
+ room_id: zod_1.z
521
+ .string()
522
+ .describe('Room ID.Fill in when the participant is a Room, and room_id and user_id must be filled in only one')
523
+ .optional(),
524
+ page_size: zod_1.z.number().optional(),
525
+ page_token: zod_1.z
526
+ .string()
527
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
528
+ .optional(),
529
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
530
+ }),
531
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
532
+ },
533
+ };
534
+ exports.vcV1ReportGetDaily = {
535
+ project: 'vc',
536
+ name: 'vc.v1.report.getDaily',
537
+ sdkName: 'vc.v1.report.getDaily',
538
+ path: '/open-apis/vc/v1/reports/get_daily',
539
+ httpMethod: 'GET',
540
+ description: "[Feishu/Lark]-Video Conferencing-Meeting report-Obtain meeting reports-Obtains an organizations' daily meeting usage reports for a period of time",
541
+ accessTokens: ['tenant'],
542
+ schema: {
543
+ params: zod_1.z.object({
544
+ start_time: zod_1.z.string().describe('Start time (unix time in sec)'),
545
+ end_time: zod_1.z.string().describe('End time (unix time in sec)'),
546
+ unit: zod_1.z
547
+ .number()
548
+ .describe('Data residency (the premise of parameter transfer is that the tenant has multiple residency data and the query function is enabled) Options:0(CN Chinese mainland),1(VA United States),2(SG Singapore),3(JP Japan)')
549
+ .optional(),
550
+ }),
551
+ },
552
+ };
553
+ exports.vcV1ReportGetTopUser = {
554
+ project: 'vc',
555
+ name: 'vc.v1.report.getTopUser',
556
+ sdkName: 'vc.v1.report.getTopUser',
557
+ path: '/open-apis/vc/v1/reports/get_top_user',
558
+ httpMethod: 'GET',
559
+ description: '[Feishu/Lark]-Video Conferencing-Meeting report-Get top user list-Obtains the list of top users who use the Meetings feature most in an organization for a period of time',
560
+ accessTokens: ['tenant'],
561
+ schema: {
562
+ params: zod_1.z.object({
563
+ start_time: zod_1.z.string().describe('Start time (unix time in sec)'),
564
+ end_time: zod_1.z.string().describe('End time (unix time in sec)'),
565
+ limit: zod_1.z.number().describe('Number of users to be obtained'),
566
+ order_by: zod_1.z
567
+ .number()
568
+ .describe('Sorting criteria (descending) Options:1(meeting_count Number of meetings),2(meeting_duration Meeting duration)'),
569
+ unit: zod_1.z
570
+ .number()
571
+ .describe('Data residency (the premise of parameter transfer is that the tenant has multiple residency data and the query function is enabled) Options:0(CN Chinese mainland),1(VA United States),2(SG Singapore),3(JP Japan)')
572
+ .optional(),
573
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
574
+ }),
575
+ },
576
+ };
577
+ exports.vcV1ReserveConfigAdminGet = {
578
+ project: 'vc',
579
+ name: 'vc.v1.reserveConfigAdmin.get',
580
+ sdkName: 'vc.v1.reserveConfigAdmin.get',
581
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/admin',
582
+ httpMethod: 'GET',
583
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve admin-Get reserve admin',
584
+ accessTokens: ['tenant'],
585
+ schema: {
586
+ params: zod_1.z.object({
587
+ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'),
588
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
589
+ }),
590
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room ID or room level ID').optional() }).optional(),
591
+ },
592
+ };
593
+ exports.vcV1ReserveConfigAdminPatch = {
594
+ project: 'vc',
595
+ name: 'vc.v1.reserveConfigAdmin.patch',
596
+ sdkName: 'vc.v1.reserveConfigAdmin.patch',
597
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/admin',
598
+ httpMethod: 'PATCH',
599
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve admin-Update reserve admin',
600
+ accessTokens: ['tenant'],
601
+ schema: {
602
+ data: zod_1.z.object({
603
+ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'),
604
+ reserve_admin_config: zod_1.z
605
+ .object({
606
+ depts: zod_1.z
607
+ .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') }))
608
+ .describe('Reserve admin departments')
609
+ .optional(),
610
+ users: zod_1.z
611
+ .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') }))
612
+ .describe('Reserve admin users')
613
+ .optional(),
614
+ })
615
+ .describe('Reserve admin configuration'),
616
+ }),
617
+ params: zod_1.z
618
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
619
+ .optional(),
620
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room level ID or Room ID').optional() }).optional(),
621
+ },
622
+ };
623
+ exports.vcV1ReserveConfigDisableInformGet = {
624
+ project: 'vc',
625
+ name: 'vc.v1.reserveConfigDisableInform.get',
626
+ sdkName: 'vc.v1.reserveConfigDisableInform.get',
627
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/disable_inform',
628
+ httpMethod: 'GET',
629
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get disable status change notifications-Get disable status change notifications',
630
+ accessTokens: ['tenant'],
631
+ schema: {
632
+ params: zod_1.z.object({
633
+ scope_type: zod_1.z.number().describe('1 means level, 2 means room'),
634
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
635
+ }),
636
+ path: zod_1.z.object({
637
+ reserve_config_id: zod_1.z
638
+ .string()
639
+ .describe('Room or level ID which can be obtained by room or level related query interface'),
640
+ }),
641
+ },
642
+ };
643
+ exports.vcV1ReserveConfigDisableInformPatch = {
644
+ project: 'vc',
645
+ name: 'vc.v1.reserveConfigDisableInform.patch',
646
+ sdkName: 'vc.v1.reserveConfigDisableInform.patch',
647
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/disable_inform',
648
+ httpMethod: 'PATCH',
649
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update disable status change notifications-Update disable status change notifications',
650
+ accessTokens: ['tenant'],
651
+ schema: {
652
+ data: zod_1.z.object({
653
+ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'),
654
+ disable_inform: zod_1.z
655
+ .object({
656
+ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(),
657
+ if_inform: zod_1.z.boolean().describe('Disable status change notification switch'),
658
+ informed_users: zod_1.z
659
+ .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') }))
660
+ .describe('Notify member list')
661
+ .optional(),
662
+ informed_depts: zod_1.z
663
+ .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') }))
664
+ .describe('Notification departments list')
665
+ .optional(),
666
+ })
667
+ .describe('Configuration for disable status change notifications'),
668
+ }),
669
+ params: zod_1.z
670
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
671
+ .optional(),
672
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room or level ID') }),
673
+ },
674
+ };
675
+ exports.vcV1ReserveConfigFormGet = {
676
+ project: 'vc',
677
+ name: 'vc.v1.reserveConfigForm.get',
678
+ sdkName: 'vc.v1.reserveConfigForm.get',
679
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/form',
680
+ httpMethod: 'GET',
681
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve form-Get reserve form',
682
+ accessTokens: ['tenant'],
683
+ schema: {
684
+ params: zod_1.z.object({
685
+ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'),
686
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
687
+ }),
688
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('room or room level ID').optional() }).optional(),
689
+ },
690
+ };
691
+ exports.vcV1ReserveConfigFormPatch = {
692
+ project: 'vc',
693
+ name: 'vc.v1.reserveConfigForm.patch',
694
+ sdkName: 'vc.v1.reserveConfigForm.patch',
695
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/form',
696
+ httpMethod: 'PATCH',
697
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve form-Update reserve form',
698
+ accessTokens: ['tenant'],
699
+ schema: {
700
+ data: zod_1.z.object({
701
+ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'),
702
+ reserve_form_config: zod_1.z
703
+ .object({
704
+ if_cover_child_scope: zod_1.z.boolean().describe('need cover child scope').optional(),
705
+ reserve_form: zod_1.z.boolean().describe('Reserve form switch, true means open, false means close'),
706
+ notified_users: zod_1.z
707
+ .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') }))
708
+ .describe('List of notifiers')
709
+ .optional(),
710
+ notified_time: zod_1.z
711
+ .number()
712
+ .describe('notified_time that no later than the start of the meeting when receiving the notification (unit: minute/hour/day)')
713
+ .optional(),
714
+ time_unit: zod_1.z.number().describe('Time unit, 1 is minute; 2 is hour; 3 is day, default is day').optional(),
715
+ })
716
+ .describe('Reserve form configuration'),
717
+ }),
718
+ params: zod_1.z
719
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
720
+ .optional(),
721
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room ID or room level ID').optional() }).optional(),
722
+ },
723
+ };
724
+ exports.vcV1ReserveConfigPatch = {
725
+ project: 'vc',
726
+ name: 'vc.v1.reserveConfig.patch',
727
+ sdkName: 'vc.v1.reserveConfig.patch',
728
+ path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id',
729
+ httpMethod: 'PATCH',
730
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve limitation-Update reserve limitation',
731
+ accessTokens: ['tenant'],
732
+ schema: {
733
+ data: zod_1.z.object({
734
+ scope_type: zod_1.z.string().describe('1 means level, 2 means room'),
735
+ approval_config: zod_1.z
736
+ .object({
737
+ approval_switch: zod_1.z
738
+ .number()
739
+ .describe('approval_switch: 0 means closed, 1 means open.<b>Note</b>: 1. If the value is not set, the value of the original switch will not be updated, but the approval_condition is required at this time2. When the value is set to 1, approval_condition is required3. When the value is set to 0, other fields of the entire approval_config can be omitted')
740
+ .optional(),
741
+ approval_condition: zod_1.z
742
+ .number()
743
+ .describe('approval_condition: 0 means that all reservations require approval, 1 means that approval is required for those that meet the conditions<b>Note</b>: meeting_duration is required when approval_condition is 1')
744
+ .optional(),
745
+ meeting_duration: zod_1.z
746
+ .number()
747
+ .describe('bookings exceeding meeting_duration need to be approved (unit: hour, value range [0.1-99])<b>Note</b>: 1. When the approval_condition is 0, if the value is not set when updating, the default update is 99.2. If the incoming value exceeds 2 decimal places, it will be automatically rounded to the nearest 2 digits')
748
+ .optional(),
749
+ approvers: zod_1.z
750
+ .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') }))
751
+ .describe('Approvers list, when the approval_switch is 1, at least one approver needs to be set')
752
+ .optional(),
753
+ })
754
+ .describe('reservation approval settings')
755
+ .optional(),
756
+ time_config: zod_1.z
757
+ .object({
758
+ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(),
759
+ time_switch: zod_1.z.number().describe('reservation time switch: 0 for off, 1 for on'),
760
+ days_in_advance: zod_1.z
761
+ .number()
762
+ .describe('the earliest time when the conference room can be reserved in advance (unit: day, value range [1-730])<b>Note</b>: When not filled in, the default update is 365')
763
+ .optional(),
764
+ opening_hour: zod_1.z
765
+ .string()
766
+ .describe('You can start booking from opening_hour on the opening day (unit: second, value range [0,86400])<b>Note</b>: 1. If not filled in, it will be updated to 28800 by default2. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60')
767
+ .optional(),
768
+ start_time: zod_1.z
769
+ .string()
770
+ .describe('The start time of the daily scheduled time range (unit: second, value range [0,86400])<b>Note</b>: 1. When not filled in, it will be updated to 0 by default, and the end_time filled in at this time must not be less than 30.2. When both start_time and end_time are filled in, end_time should be at least 30 times longer than start_time.3. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60')
771
+ .optional(),
772
+ end_time: zod_1.z
773
+ .string()
774
+ .describe('End time of daily pre-determinable time range (unit: second, value range [0,86400])<b>Note</b>: 1. When not filled in, the default update is 86400, and the start_time filled in at this time must not be greater than or equal to 86370.2. When both start_time and end_time are filled in, end_time must be at least 30 longer than start_time.3. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60')
775
+ .optional(),
776
+ max_duration: zod_1.z
777
+ .number()
778
+ .describe('The upper limit of the duration of a single conference room reservation (unit: hour, value range [1,99])<b>Note</b>: The default update is 2 when not filled in')
779
+ .optional(),
780
+ })
781
+ .describe('reservation time settings')
782
+ .optional(),
783
+ reserve_scope_config: zod_1.z
784
+ .object({
785
+ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(),
786
+ allow_all_users: zod_1.z
787
+ .number()
788
+ .describe('The range of members that can book conference: 0 for some members, 1 for all members.<b>Note</b>: 1. This value is required.2. When set to 0, at least 1 reservation department or reservation person is required')
789
+ .optional(),
790
+ allow_users: zod_1.z
791
+ .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') }))
792
+ .describe('List of available members')
793
+ .optional(),
794
+ allow_depts: zod_1.z
795
+ .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') }))
796
+ .describe('List of available departments')
797
+ .optional(),
798
+ })
799
+ .describe('reservation range settings')
800
+ .optional(),
801
+ }),
802
+ params: zod_1.z
803
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
804
+ .optional(),
805
+ path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('room id or room level id') }),
806
+ },
807
+ };
808
+ exports.vcV1ReserveConfigReserveScope = {
809
+ project: 'vc',
810
+ name: 'vc.v1.reserveConfig.reserveScope',
811
+ sdkName: 'vc.v1.reserveConfig.reserveScope',
812
+ path: '/open-apis/vc/v1/reserve_configs/reserve_scope',
813
+ httpMethod: 'GET',
814
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve limitation-Get reserve limitation',
815
+ accessTokens: ['tenant'],
816
+ schema: {
817
+ params: zod_1.z.object({
818
+ scope_id: zod_1.z.string().describe('room id or room level id'),
819
+ scope_type: zod_1.z.string().describe('1 means room level, 2 means room'),
820
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
821
+ }),
822
+ },
823
+ };
824
+ exports.vcV1ReserveApply = {
825
+ project: 'vc',
826
+ name: 'vc.v1.reserve.apply',
827
+ sdkName: 'vc.v1.reserve.apply',
828
+ path: '/open-apis/vc/v1/reserves/apply',
829
+ httpMethod: 'POST',
830
+ description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Schedule a meeting-Creates a meeting scheduling',
831
+ accessTokens: ['tenant', 'user'],
832
+ schema: {
833
+ data: zod_1.z.object({
834
+ end_time: zod_1.z
835
+ .string()
836
+ .describe('Expiration time (Unix time in seconds), which is required for multi-person meetings')
837
+ .optional(),
838
+ owner_id: zod_1.z
839
+ .string()
840
+ .describe('Assign meeting owner (Only take effect when using tenant_access_token. Will not take effect when using user_access_token). Must assign user with the same tenant')
841
+ .optional(),
842
+ meeting_settings: zod_1.z
843
+ .object({
844
+ topic: zod_1.z.string().describe('Meeting topic').optional(),
845
+ action_permissions: zod_1.z
846
+ .array(zod_1.z.object({
847
+ permission: zod_1.z
848
+ .number()
849
+ .describe('Permission options Options:1(can_be_host Whether a participant can be a host),2(can_invite Whether a participant can invite other participants),3(can_join Whether a participant can join a meeting)'),
850
+ permission_checkers: zod_1.z
851
+ .array(zod_1.z.object({
852
+ check_field: zod_1.z
853
+ .number()
854
+ .describe('Type of the fields to be checked Options:1(user_id User ID (check_list fill in the user ID)),2(user_type User type (check_list optional values are"1": lark user,"2": rooms users,"6": pstn users,"7": sip user)),3(tenant_id Tenant ID (check_list fill in the tenant_key))'),
855
+ check_mode: zod_1.z
856
+ .number()
857
+ .describe('Check method Options:1(within Being in the check_list indicates that the participant has the permission (allowlist)),2(without Not being in the check_list indicates that the participant has the permission (blocklist))'),
858
+ check_list: zod_1.z
859
+ .array(zod_1.z.string())
860
+ .describe('Check the list of fields (fill in the corresponding content according to the type of check_field)'),
861
+ }))
862
+ .describe('List of permission checkers. The relationship between permission checkers is "Logical OR" (that is, the permission is obtained if any one of them is true)'),
863
+ }))
864
+ .describe('List of permission configurations for a meeting. If the same configuration option exists, the relationship between them is "Logical OR" (that is, the permission is obtained if any one of them is true)')
865
+ .optional(),
866
+ meeting_initial_type: zod_1.z
867
+ .number()
868
+ .describe('Initial type of meeting Options:1(group_meeting Multi-person meeting),2(call 1v1 calling(Only support PSTN))')
869
+ .optional(),
870
+ meeting_connect: zod_1.z
871
+ .boolean()
872
+ .describe('Whether the meeting supports interoperability and does not support updates (Note: This field is in closed beta)')
873
+ .optional(),
874
+ call_setting: zod_1.z
875
+ .object({
876
+ callee: zod_1.z
877
+ .object({
878
+ id: zod_1.z.string().describe('User ID').optional(),
879
+ user_type: zod_1.z
880
+ .number()
881
+ .describe('User type. Only user type 6 (PSTN user) is supported. Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)'),
882
+ pstn_sip_info: zod_1.z
883
+ .object({
884
+ nickname: zod_1.z.string().describe('Temporary nickname set for a PSTN/SIP user').optional(),
885
+ main_address: zod_1.z
886
+ .string()
887
+ .describe('PSTN/SIP host number, in the format of [International Access Code]-[Area Code][Phone Number]. Only domestic mobile numbers and fixed-line telephone numbers are supported'),
888
+ })
889
+ .describe('PSTN/SIP information')
890
+ .optional(),
891
+ })
892
+ .describe('User being called'),
893
+ })
894
+ .describe('1v1 calling related parameters')
895
+ .optional(),
896
+ auto_record: zod_1.z
897
+ .boolean()
898
+ .describe('Whether to enable automatic recording when using Feishu video conference, the default is false')
899
+ .optional(),
900
+ assign_host_list: zod_1.z
901
+ .array(zod_1.z.object({
902
+ user_type: zod_1.z.number().describe('User type Options:1(lark_user Lark user)').optional(),
903
+ id: zod_1.z.string().describe('User ID').optional(),
904
+ }))
905
+ .describe('Assign host list params')
906
+ .optional(),
907
+ password: zod_1.z
908
+ .string()
909
+ .describe("Set the meeting password. If you don't pass it, it will decide whether to use the password and assign a random password according to your personal settings. If you pass it empty, it will not use the password. If you pass 4-9 digits, it will set the password")
910
+ .optional(),
911
+ })
912
+ .describe('Meeting settings'),
913
+ }),
914
+ params: zod_1.z
915
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
916
+ .optional(),
917
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
918
+ },
919
+ };
920
+ exports.vcV1ReserveDelete = {
921
+ project: 'vc',
922
+ name: 'vc.v1.reserve.delete',
923
+ sdkName: 'vc.v1.reserve.delete',
924
+ path: '/open-apis/vc/v1/reserves/:reserve_id',
925
+ httpMethod: 'DELETE',
926
+ description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Delete a schedule-Deletes a schedule',
927
+ accessTokens: ['tenant', 'user'],
928
+ schema: {
929
+ path: zod_1.z
930
+ .object({ reserve_id: zod_1.z.string().describe('Schedule ID (unique identifier for a schedule)').optional() })
931
+ .optional(),
932
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
933
+ },
934
+ };
935
+ exports.vcV1ReserveGet = {
936
+ project: 'vc',
937
+ name: 'vc.v1.reserve.get',
938
+ sdkName: 'vc.v1.reserve.get',
939
+ path: '/open-apis/vc/v1/reserves/:reserve_id',
940
+ httpMethod: 'GET',
941
+ description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Obtain a schedule-Obtains details about a schedule',
942
+ accessTokens: ['tenant', 'user'],
943
+ schema: {
944
+ params: zod_1.z
945
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
946
+ .optional(),
947
+ path: zod_1.z
948
+ .object({ reserve_id: zod_1.z.string().describe('Schedule ID (unique identifier of a schedule)').optional() })
949
+ .optional(),
950
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
951
+ },
952
+ };
953
+ exports.vcV1ReserveGetActiveMeeting = {
954
+ project: 'vc',
955
+ name: 'vc.v1.reserve.getActiveMeeting',
956
+ sdkName: 'vc.v1.reserve.getActiveMeeting',
957
+ path: '/open-apis/vc/v1/reserves/:reserve_id/get_active_meeting',
958
+ httpMethod: 'GET',
959
+ description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Obtain an active meeting-Obtains a scheduled meeting that is currently active',
960
+ accessTokens: ['tenant', 'user'],
961
+ schema: {
962
+ params: zod_1.z
963
+ .object({
964
+ with_participants: zod_1.z
965
+ .boolean()
966
+ .describe('Whether the participant list is required. The default value is false')
967
+ .optional(),
968
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
969
+ })
970
+ .optional(),
971
+ path: zod_1.z
972
+ .object({ reserve_id: zod_1.z.string().describe('Schedule ID (unique identifier for a schedule)').optional() })
973
+ .optional(),
974
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
975
+ },
976
+ };
977
+ exports.vcV1ReserveUpdate = {
978
+ project: 'vc',
979
+ name: 'vc.v1.reserve.update',
980
+ sdkName: 'vc.v1.reserve.update',
981
+ path: '/open-apis/vc/v1/reserves/:reserve_id',
982
+ httpMethod: 'PUT',
983
+ description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Update a schedule-Updates a schedule',
984
+ accessTokens: ['tenant', 'user'],
985
+ schema: {
986
+ data: zod_1.z
987
+ .object({
988
+ end_time: zod_1.z.string().describe('Expiration time (Unix time in seconds)').optional(),
989
+ meeting_settings: zod_1.z
990
+ .object({
991
+ topic: zod_1.z.string().describe('Meeting topic').optional(),
992
+ action_permissions: zod_1.z
993
+ .array(zod_1.z.object({
994
+ permission: zod_1.z
995
+ .number()
996
+ .describe('Permission options Options:1(can_be_host Whether a participant can be a host),2(can_invite Whether a participant can invite other participants),3(can_join Whether a participant can join a meeting)'),
997
+ permission_checkers: zod_1.z
998
+ .array(zod_1.z.object({
999
+ check_field: zod_1.z
1000
+ .number()
1001
+ .describe('Type of the fields to be checked Options:1(user_id User ID (check_list fill in the user ID)),2(user_type User type (check_list optional values are"1": lark user,"2": rooms users,"6": pstn users,"7": sip user)),3(tenant_id Tenant ID (check_list fill in the tenant_key))'),
1002
+ check_mode: zod_1.z
1003
+ .number()
1004
+ .describe('Check method Options:1(within Being in the check_list indicates that the participant has the permission (allowlist)),2(without Not being in the check_list indicates that the participant has the permission (blocklist))'),
1005
+ check_list: zod_1.z
1006
+ .array(zod_1.z.string())
1007
+ .describe('Check the list of fields (fill in the corresponding content according to the type of check_field)'),
1008
+ }))
1009
+ .describe('List of permission checkers. The relationship between permission checkers is "Logical OR" (that is, the permission is obtained if any one of them is true)'),
1010
+ }))
1011
+ .describe('List of permission configurations for a meeting. If the same configuration option exists, the relationship between them is "Logical OR" (that is, the permission is obtained if any one of them is true)')
1012
+ .optional(),
1013
+ meeting_initial_type: zod_1.z
1014
+ .number()
1015
+ .describe('Initial type of meeting Options:1(group_meeting Multi-person meeting),2(call 1v1 calling)')
1016
+ .optional(),
1017
+ meeting_connect: zod_1.z
1018
+ .boolean()
1019
+ .describe('Whether the meeting supports interoperability and does not support updates (Note: This field is in closed beta)')
1020
+ .optional(),
1021
+ call_setting: zod_1.z
1022
+ .object({
1023
+ callee: zod_1.z
1024
+ .object({
1025
+ id: zod_1.z.string().describe('User ID').optional(),
1026
+ user_type: zod_1.z
1027
+ .number()
1028
+ .describe('User type. Only user type 6 (PSTN user) is supported. Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)'),
1029
+ pstn_sip_info: zod_1.z
1030
+ .object({
1031
+ nickname: zod_1.z.string().describe('Temporary nickname set for a PSTN/SIP user').optional(),
1032
+ main_address: zod_1.z
1033
+ .string()
1034
+ .describe('PSTN/SIP host number, in the format of [International Access Code]-[Area Code][Phone Number]. Only domestic mobile numbers and fixed-line telephone numbers are supported'),
1035
+ })
1036
+ .describe('PSTN/SIP information')
1037
+ .optional(),
1038
+ })
1039
+ .describe('User being called'),
1040
+ })
1041
+ .describe('1v1 calling related parameters')
1042
+ .optional(),
1043
+ auto_record: zod_1.z
1044
+ .boolean()
1045
+ .describe('Whether to enable automatic recording when using Feishu video conference, the default is false')
1046
+ .optional(),
1047
+ assign_host_list: zod_1.z
1048
+ .array(zod_1.z.object({
1049
+ user_type: zod_1.z.number().describe('User type Options:1(lark_user Lark user)').optional(),
1050
+ id: zod_1.z.string().describe('User ID').optional(),
1051
+ }))
1052
+ .describe('Assign host list params')
1053
+ .optional(),
1054
+ password: zod_1.z
1055
+ .string()
1056
+ .describe("Set the meeting password. If you don't pass it, it will decide whether to use the password and assign a random password according to your personal settings. If you pass it empty, it will not use the password. If you pass 4-9 digits, it will set the password")
1057
+ .optional(),
1058
+ })
1059
+ .describe('Meeting settings')
1060
+ .optional(),
1061
+ })
1062
+ .optional(),
1063
+ params: zod_1.z
1064
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1065
+ .optional(),
1066
+ path: zod_1.z
1067
+ .object({ reserve_id: zod_1.z.string().describe('Schedule ID (unique identifier of a schedule)').optional() })
1068
+ .optional(),
1069
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
1070
+ },
1071
+ };
1072
+ exports.vcV1ResourceReservationListGet = {
1073
+ project: 'vc',
1074
+ name: 'vc.v1.resourceReservationList.get',
1075
+ sdkName: 'vc.v1.resourceReservationList.get',
1076
+ path: '/open-apis/vc/v1/resource_reservation_list',
1077
+ httpMethod: 'GET',
1078
+ description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get meeting room reservation data-Get meeting room reservation data. For specific permission requirements, please refer to "Resource introduction"',
1079
+ accessTokens: ['tenant', 'user'],
1080
+ schema: {
1081
+ params: zod_1.z.object({
1082
+ room_level_id: zod_1.z
1083
+ .string()
1084
+ .describe('Room level ID, if pass an exception ID that is not prefixed with omb, the tenant level will be used by default for evasion'),
1085
+ need_topic: zod_1.z.boolean().describe('Whether the response returns meeting topic').optional(),
1086
+ start_time: zod_1.z.string().describe('Start time'),
1087
+ end_time: zod_1.z.string().describe('End time'),
1088
+ room_ids: zod_1.z
1089
+ .array(zod_1.z.string())
1090
+ .describe('List of meeting room IDs. list. If multiple conference room IDs need to be passed, they need to be passed in the form of room_ids=aaaa&room_ids=bbbb&room_ids=cccc'),
1091
+ is_exclude: zod_1.z
1092
+ .boolean()
1093
+ .describe('Whether exclude the list of meeting room IDs, the default is false; if it is false, the room list reservation data passed in the room_ids field is obtained; if it is true, the room list under the level is obtained based on the room_level_id field, and the rooms in the room_ids range are filtered out to obtain the remaining rooms schedule data')
1094
+ .optional(),
1095
+ page_size: zod_1.z.number().optional(),
1096
+ page_token: zod_1.z
1097
+ .string()
1098
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
1099
+ .optional(),
1100
+ }),
1101
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
1102
+ },
1103
+ };
1104
+ exports.vcV1RoomConfigQuery = {
1105
+ project: 'vc',
1106
+ name: 'vc.v1.roomConfig.query',
1107
+ sdkName: 'vc.v1.roomConfig.query',
1108
+ path: '/open-apis/vc/v1/room_configs/query',
1109
+ httpMethod: 'GET',
1110
+ description: '[Feishu/Lark]-Deprecated Version (Not Recommended)-Rooms-Rooms configuration-Query meeting room configuration-Queries room configurations within a scope',
1111
+ accessTokens: ['tenant'],
1112
+ schema: {
1113
+ params: zod_1.z.object({
1114
+ scope: zod_1.z
1115
+ .number()
1116
+ .describe('Query node scope Options:1(tenant ),2(country_district ),3(city ),4(building ),5(floor ),6(room )'),
1117
+ country_id: zod_1.z
1118
+ .string()
1119
+ .describe('The parameter is required when the country/region ID scope is 2 or 3')
1120
+ .optional(),
1121
+ district_id: zod_1.z.string().describe('The parameter is required when the city ID scope is 3').optional(),
1122
+ building_id: zod_1.z.string().describe('The parameter is required when the building ID scope is 4 or 5').optional(),
1123
+ floor_name: zod_1.z.string().describe('The parameter is required when the floor scope is 5').optional(),
1124
+ room_id: zod_1.z.string().describe('The parameter is required when the room ID scope is 6').optional(),
1125
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
1126
+ }),
1127
+ },
1128
+ };
1129
+ exports.vcV1RoomConfigSet = {
1130
+ project: 'vc',
1131
+ name: 'vc.v1.roomConfig.set',
1132
+ sdkName: 'vc.v1.roomConfig.set',
1133
+ path: '/open-apis/vc/v1/room_configs/set',
1134
+ httpMethod: 'POST',
1135
+ description: '[Feishu/Lark]-Deprecated Version (Not Recommended)-Rooms-Rooms configuration-Set up meeting room configuration-Sets room configurations within a scope',
1136
+ accessTokens: ['tenant'],
1137
+ schema: {
1138
+ data: zod_1.z.object({
1139
+ scope: zod_1.z
1140
+ .number()
1141
+ .describe('Set node scope Options:1(tenant),2(country_district Country/region),3(city),4(building),5(floor),6(room)'),
1142
+ country_id: zod_1.z
1143
+ .string()
1144
+ .describe('The parameter is required when the country/region ID scope is 2 or 3')
1145
+ .optional(),
1146
+ district_id: zod_1.z.string().describe('The parameter is required when the city ID scope is 3').optional(),
1147
+ building_id: zod_1.z.string().describe('The parameter is required when the building ID scope is 4 or 5').optional(),
1148
+ floor_name: zod_1.z.string().describe('The parameter is required when the floor scope is 5').optional(),
1149
+ room_id: zod_1.z.string().describe('The parameter is required when the room ID scope is 6').optional(),
1150
+ room_config: zod_1.z
1151
+ .object({
1152
+ room_background: zod_1.z.string().describe('Feishu room background').optional(),
1153
+ display_background: zod_1.z.string().describe('Feishu sign board background').optional(),
1154
+ digital_signage: zod_1.z
1155
+ .object({
1156
+ enable: zod_1.z.boolean().describe('Enable digital label function or not').optional(),
1157
+ mute: zod_1.z.boolean().describe('Whether to mute the video').optional(),
1158
+ start_display: zod_1.z
1159
+ .number()
1160
+ .describe('Start playing n min after the meeting ends,should be between 1~720.(Only available for Feishu room digital labels)')
1161
+ .optional(),
1162
+ stop_display: zod_1.z
1163
+ .number()
1164
+ .describe('End playing n min before the meeting starts, should be between 1~720.(Only available for Feishu room digital labels)')
1165
+ .optional(),
1166
+ materials: zod_1.z
1167
+ .array(zod_1.z.object({
1168
+ id: zod_1.z
1169
+ .string()
1170
+ .describe('Material ID. When uploading a new material, the material ID needs to be set to empty')
1171
+ .optional(),
1172
+ name: zod_1.z.string().describe('Material name').optional(),
1173
+ material_type: zod_1.z.number().describe('Material type Options:1(pic Image),2(video),3(gif)').optional(),
1174
+ url: zod_1.z.string().describe('Material URL').optional(),
1175
+ duration: zod_1.z.number().describe('Play duration (in sec), should be between 1~43200').optional(),
1176
+ cover: zod_1.z.string().describe('Material cover URL').optional(),
1177
+ md5: zod_1.z.string().describe('Material file md5').optional(),
1178
+ vid: zod_1.z.string().describe('Material file vid').optional(),
1179
+ size: zod_1.z.string().describe('Material desc').optional(),
1180
+ }))
1181
+ .describe('Material list')
1182
+ .optional(),
1183
+ })
1184
+ .describe('Feishu room digital labels')
1185
+ .optional(),
1186
+ room_box_digital_signage: zod_1.z
1187
+ .object({
1188
+ enable: zod_1.z.boolean().describe('Enable digital label function or not').optional(),
1189
+ mute: zod_1.z.boolean().describe('Whether to mute the video').optional(),
1190
+ start_display: zod_1.z
1191
+ .number()
1192
+ .describe('Start playing n min after the meeting ends,should be between 1~720.(Only available for Feishu room digital labels)')
1193
+ .optional(),
1194
+ stop_display: zod_1.z
1195
+ .number()
1196
+ .describe('End playing n min before the meeting starts, should be between 1~720.(Only available for Feishu room digital labels)')
1197
+ .optional(),
1198
+ materials: zod_1.z
1199
+ .array(zod_1.z.object({
1200
+ id: zod_1.z
1201
+ .string()
1202
+ .describe('Material ID. When uploading a new material, the material ID needs to be set to empty')
1203
+ .optional(),
1204
+ name: zod_1.z.string().describe('Material name').optional(),
1205
+ material_type: zod_1.z.number().describe('Material type Options:1(pic Image),2(video),3(gif)').optional(),
1206
+ url: zod_1.z.string().describe('Material URL').optional(),
1207
+ duration: zod_1.z.number().describe('Play duration (in sec), should be between 1~43200').optional(),
1208
+ cover: zod_1.z.string().describe('Material cover URL').optional(),
1209
+ md5: zod_1.z.string().describe('Material file md5').optional(),
1210
+ vid: zod_1.z.string().describe('Material file vid').optional(),
1211
+ size: zod_1.z.string().describe('Material desc').optional(),
1212
+ }))
1213
+ .describe('Material list')
1214
+ .optional(),
1215
+ })
1216
+ .describe('Feishu room box digital signage')
1217
+ .optional(),
1218
+ room_status: zod_1.z
1219
+ .object({
1220
+ status: zod_1.z.boolean().describe('Available status of room'),
1221
+ disable_start_time: zod_1.z.string().describe('Room disable start time').optional(),
1222
+ disable_end_time: zod_1.z.string().describe('Room disable end time').optional(),
1223
+ disable_reason: zod_1.z.string().describe('Room disable reason').optional(),
1224
+ contact_ids: zod_1.z.array(zod_1.z.string()).describe('Contact user ID').optional(),
1225
+ disable_notice: zod_1.z.boolean().describe('Notice content sent to users when room disabled').optional(),
1226
+ resume_notice: zod_1.z.boolean().describe('Notice content sent to contact users when room resumed').optional(),
1227
+ })
1228
+ .describe('Room status')
1229
+ .optional(),
1230
+ })
1231
+ .describe('Room settings'),
1232
+ }),
1233
+ params: zod_1.z
1234
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1235
+ .optional(),
1236
+ },
1237
+ };
1238
+ exports.vcV1RoomConfigSetCheckboardAccessCode = {
1239
+ project: 'vc',
1240
+ name: 'vc.v1.roomConfig.setCheckboardAccessCode',
1241
+ sdkName: 'vc.v1.roomConfig.setCheckboardAccessCode',
1242
+ path: '/open-apis/vc/v1/room_configs/set_checkboard_access_code',
1243
+ httpMethod: 'POST',
1244
+ description: '[Feishu/Lark]-Deprecated Version (Not Recommended)-Rooms-Rooms configuration-set_checkboard_access_code-Create a scoped checkboard access code',
1245
+ accessTokens: ['tenant'],
1246
+ schema: {
1247
+ data: zod_1.z.object({
1248
+ scope: zod_1.z
1249
+ .number()
1250
+ .describe('set node scope Options:1(tenant),2(country_district Country/region),3(city),4(building),5(floor),6(room)'),
1251
+ country_id: zod_1.z.string().describe('This parameter is required when country ID scope is 2, 3').optional(),
1252
+ district_id: zod_1.z.string().describe('This parameter is required when the city ID scope is 3').optional(),
1253
+ building_id: zod_1.z.string().describe('This parameter is required when the building ID scope is 4 and 5').optional(),
1254
+ floor_name: zod_1.z.string().describe('This parameter is required when the floor scope is 5').optional(),
1255
+ room_id: zod_1.z.string().describe('This parameter is required when the meeting room ID scope is 6').optional(),
1256
+ valid_day: zod_1.z.number().describe('valid date Options:1(day 1 day),7(week 7 days),30(month 30 days)'),
1257
+ }),
1258
+ },
1259
+ };
1260
+ exports.vcV1RoomConfigSetRoomAccessCode = {
1261
+ project: 'vc',
1262
+ name: 'vc.v1.roomConfig.setRoomAccessCode',
1263
+ sdkName: 'vc.v1.roomConfig.setRoomAccessCode',
1264
+ path: '/open-apis/vc/v1/room_configs/set_room_access_code',
1265
+ httpMethod: 'POST',
1266
+ description: '[Feishu/Lark]-Deprecated Version (Not Recommended)-Rooms-Rooms configuration-set_room_access_code-Create a range of meeting room access codes',
1267
+ accessTokens: ['tenant'],
1268
+ schema: {
1269
+ data: zod_1.z.object({
1270
+ scope: zod_1.z
1271
+ .number()
1272
+ .describe('Set node range Options:1(tenant),2(country_district Country/region),3(city),4(building),5(floor),6(room)'),
1273
+ country_id: zod_1.z.string().describe('This parameter is required when the country ID scope is 2, 3').optional(),
1274
+ district_id: zod_1.z.string().describe('This parameter is required when the city ID scope is 3').optional(),
1275
+ building_id: zod_1.z.string().describe('This parameter is required when the building ID scope is 4, 5').optional(),
1276
+ floor_name: zod_1.z.string().describe('This parameter is required when the floor scope is 5').optional(),
1277
+ room_id: zod_1.z.string().describe('This parameter is required when the conference room ID scope is 6').optional(),
1278
+ valid_day: zod_1.z.number().describe('Effective days Options:1(day 1 day),7(week 7 days),30(month 30 days)'),
1279
+ }),
1280
+ },
1281
+ };
1282
+ exports.vcV1RoomLevelCreate = {
1283
+ project: 'vc',
1284
+ name: 'vc.v1.roomLevel.create',
1285
+ sdkName: 'vc.v1.roomLevel.create',
1286
+ path: '/open-apis/vc/v1/room_levels',
1287
+ httpMethod: 'POST',
1288
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Create room level-This API is used to create meeting room level',
1289
+ accessTokens: ['tenant'],
1290
+ schema: {
1291
+ data: zod_1.z.object({
1292
+ name: zod_1.z.string().describe('Room level name'),
1293
+ parent_id: zod_1.z
1294
+ .string()
1295
+ .describe('Parent room level ID**Note**: If you need to create a meeting room level at the tenant level (i.e. the root level), you can first call the [Query room level details] interface and pass the path parameter `room_level_id` to `0` for query. The `room_level_id` value in the returned result is the root level ID'),
1296
+ custom_group_id: zod_1.z.string().describe('Custom room level ID').optional(),
1297
+ }),
1298
+ },
1299
+ };
1300
+ exports.vcV1RoomLevelDel = {
1301
+ project: 'vc',
1302
+ name: 'vc.v1.roomLevel.del',
1303
+ sdkName: 'vc.v1.roomLevel.del',
1304
+ path: '/open-apis/vc/v1/room_levels/del',
1305
+ httpMethod: 'POST',
1306
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Delete room level-This API is used to delete a specified meeting room level',
1307
+ accessTokens: ['tenant'],
1308
+ schema: {
1309
+ data: zod_1.z.object({
1310
+ room_level_id: zod_1.z.string().describe('Room level ID'),
1311
+ delete_child: zod_1.z.boolean().describe('Whether delete child room levels').optional(),
1312
+ }),
1313
+ },
1314
+ };
1315
+ exports.vcV1RoomLevelGet = {
1316
+ project: 'vc',
1317
+ name: 'vc.v1.roomLevel.get',
1318
+ sdkName: 'vc.v1.roomLevel.get',
1319
+ path: '/open-apis/vc/v1/room_levels/:room_level_id',
1320
+ httpMethod: 'GET',
1321
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Query room level details-This API is used to query a specified meeting room level details by room level ID',
1322
+ accessTokens: ['tenant'],
1323
+ schema: {
1324
+ path: zod_1.z.object({ room_level_id: zod_1.z.string().describe('Queries the ID of specifed meeting room level') }),
1325
+ },
1326
+ };
1327
+ exports.vcV1RoomLevelList = {
1328
+ project: 'vc',
1329
+ name: 'vc.v1.roomLevel.list',
1330
+ sdkName: 'vc.v1.roomLevel.list',
1331
+ path: '/open-apis/vc/v1/room_levels',
1332
+ httpMethod: 'GET',
1333
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Query room level list-This API is used to query meeting room level list at a specified meeting room level',
1334
+ accessTokens: ['tenant'],
1335
+ schema: {
1336
+ params: zod_1.z
1337
+ .object({
1338
+ room_level_id: zod_1.z.string().describe('Queries the ID of specifed meeting room level').optional(),
1339
+ page_size: zod_1.z.number().optional(),
1340
+ page_token: zod_1.z
1341
+ .string()
1342
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
1343
+ .optional(),
1344
+ })
1345
+ .optional(),
1346
+ },
1347
+ };
1348
+ exports.vcV1RoomLevelMget = {
1349
+ project: 'vc',
1350
+ name: 'vc.v1.roomLevel.mget',
1351
+ sdkName: 'vc.v1.roomLevel.mget',
1352
+ path: '/open-apis/vc/v1/room_levels/mget',
1353
+ httpMethod: 'POST',
1354
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Batch query room level details-This API is used to query multi specified meeting room level details by room level IDs',
1355
+ accessTokens: ['tenant'],
1356
+ schema: {
1357
+ data: zod_1.z.object({ level_ids: zod_1.z.array(zod_1.z.string()).describe('Room level IDs') }),
1358
+ },
1359
+ };
1360
+ exports.vcV1RoomLevelPatch = {
1361
+ project: 'vc',
1362
+ name: 'vc.v1.roomLevel.patch',
1363
+ sdkName: 'vc.v1.roomLevel.patch',
1364
+ path: '/open-apis/vc/v1/room_levels/:room_level_id',
1365
+ httpMethod: 'PATCH',
1366
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Update room level-This API is used to update a specified meeting room level details',
1367
+ accessTokens: ['tenant'],
1368
+ schema: {
1369
+ data: zod_1.z.object({
1370
+ name: zod_1.z.string().describe('Room level name'),
1371
+ parent_id: zod_1.z.string().describe('Parent room level ID'),
1372
+ custom_group_id: zod_1.z.string().describe('Custom room level ID').optional(),
1373
+ }),
1374
+ path: zod_1.z.object({ room_level_id: zod_1.z.string().describe('Room level ID') }),
1375
+ },
1376
+ };
1377
+ exports.vcV1RoomLevelSearch = {
1378
+ project: 'vc',
1379
+ name: 'vc.v1.roomLevel.search',
1380
+ sdkName: 'vc.v1.roomLevel.search',
1381
+ path: '/open-apis/vc/v1/room_levels/search',
1382
+ httpMethod: 'GET',
1383
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room level-Search room level-This API is used to search meeting room level. Support custom room level ID to search',
1384
+ accessTokens: ['tenant'],
1385
+ schema: {
1386
+ params: zod_1.z.object({ custom_level_ids: zod_1.z.string().describe('Custom room level IDs') }),
1387
+ },
1388
+ };
1389
+ exports.vcV1RoomCreate = {
1390
+ project: 'vc',
1391
+ name: 'vc.v1.room.create',
1392
+ sdkName: 'vc.v1.room.create',
1393
+ path: '/open-apis/vc/v1/rooms',
1394
+ httpMethod: 'POST',
1395
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Create meeting room-This API is used to create meeting room',
1396
+ accessTokens: ['tenant'],
1397
+ schema: {
1398
+ data: zod_1.z.object({
1399
+ name: zod_1.z.string().describe('Room name'),
1400
+ capacity: zod_1.z.number().describe('Room capacity'),
1401
+ description: zod_1.z.string().describe('Room description').optional(),
1402
+ custom_room_id: zod_1.z.string().describe('Custom room ID').optional(),
1403
+ room_level_id: zod_1.z.string().describe('Parent room level ID'),
1404
+ room_status: zod_1.z
1405
+ .object({
1406
+ status: zod_1.z.boolean().describe('Available status of room'),
1407
+ schedule_status: zod_1.z
1408
+ .boolean()
1409
+ .describe('Future available status of room(Please ignore, this field is used to query the return value of the interface)')
1410
+ .optional(),
1411
+ disable_start_time: zod_1.z.string().describe('Room disable start time').optional(),
1412
+ disable_end_time: zod_1.z.string().describe('Room disable end time').optional(),
1413
+ disable_reason: zod_1.z.string().describe('Room disable reason').optional(),
1414
+ contact_ids: zod_1.z.array(zod_1.z.string()).describe('Contact user ID').optional(),
1415
+ disable_notice: zod_1.z.boolean().describe('Notice content sent to users when room disabled').optional(),
1416
+ resume_notice: zod_1.z.boolean().describe('Notice content sent to contact users when room resumed').optional(),
1417
+ })
1418
+ .describe('Room status')
1419
+ .optional(),
1420
+ device: zod_1.z
1421
+ .array(zod_1.z.object({ name: zod_1.z.string().describe('device name') }))
1422
+ .describe('device information')
1423
+ .optional(),
1424
+ }),
1425
+ params: zod_1.z
1426
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1427
+ .optional(),
1428
+ },
1429
+ };
1430
+ exports.vcV1RoomDelete = {
1431
+ project: 'vc',
1432
+ name: 'vc.v1.room.delete',
1433
+ sdkName: 'vc.v1.room.delete',
1434
+ path: '/open-apis/vc/v1/rooms/:room_id',
1435
+ httpMethod: 'DELETE',
1436
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Delete meeting room-This API is used to delete a specified meeting room',
1437
+ accessTokens: ['tenant'],
1438
+ schema: {
1439
+ path: zod_1.z.object({ room_id: zod_1.z.string().describe('Room ID') }),
1440
+ },
1441
+ };
1442
+ exports.vcV1RoomGet = {
1443
+ project: 'vc',
1444
+ name: 'vc.v1.room.get',
1445
+ sdkName: 'vc.v1.room.get',
1446
+ path: '/open-apis/vc/v1/rooms/:room_id',
1447
+ httpMethod: 'GET',
1448
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Query meeting room details-This API is used to query a specified meeting room details by room ID',
1449
+ accessTokens: ['tenant'],
1450
+ schema: {
1451
+ params: zod_1.z
1452
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1453
+ .optional(),
1454
+ path: zod_1.z.object({ room_id: zod_1.z.string().describe('Room ID') }),
1455
+ },
1456
+ };
1457
+ exports.vcV1RoomList = {
1458
+ project: 'vc',
1459
+ name: 'vc.v1.room.list',
1460
+ sdkName: 'vc.v1.room.list',
1461
+ path: '/open-apis/vc/v1/rooms',
1462
+ httpMethod: 'GET',
1463
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Query meeting room list-This API is used to query meeting room list at a specified meeting room level',
1464
+ accessTokens: ['tenant'],
1465
+ schema: {
1466
+ params: zod_1.z
1467
+ .object({
1468
+ page_size: zod_1.z.number().optional(),
1469
+ page_token: zod_1.z
1470
+ .string()
1471
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
1472
+ .optional(),
1473
+ room_level_id: zod_1.z.string().describe('Queries the ID of specifed meeting room level').optional(),
1474
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
1475
+ })
1476
+ .optional(),
1477
+ },
1478
+ };
1479
+ exports.vcV1RoomMget = {
1480
+ project: 'vc',
1481
+ name: 'vc.v1.room.mget',
1482
+ sdkName: 'vc.v1.room.mget',
1483
+ path: '/open-apis/vc/v1/rooms/mget',
1484
+ httpMethod: 'POST',
1485
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Batch query meeting room details-This API is used to query multi specified meeting room details by room IDs',
1486
+ accessTokens: ['tenant'],
1487
+ schema: {
1488
+ data: zod_1.z.object({ room_ids: zod_1.z.array(zod_1.z.string()).describe('Room IDs') }),
1489
+ params: zod_1.z
1490
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1491
+ .optional(),
1492
+ },
1493
+ };
1494
+ exports.vcV1RoomPatch = {
1495
+ project: 'vc',
1496
+ name: 'vc.v1.room.patch',
1497
+ sdkName: 'vc.v1.room.patch',
1498
+ path: '/open-apis/vc/v1/rooms/:room_id',
1499
+ httpMethod: 'PATCH',
1500
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Update meeting room-This API is used to update a specified meeting room details',
1501
+ accessTokens: ['tenant'],
1502
+ schema: {
1503
+ data: zod_1.z
1504
+ .object({
1505
+ name: zod_1.z.string().describe('Room name').optional(),
1506
+ capacity: zod_1.z.number().describe('Room capacity').optional(),
1507
+ description: zod_1.z.string().describe('Room description').optional(),
1508
+ custom_room_id: zod_1.z.string().describe('Custom room ID').optional(),
1509
+ room_level_id: zod_1.z.string().describe('Parent room level ID').optional(),
1510
+ room_status: zod_1.z
1511
+ .object({
1512
+ status: zod_1.z.boolean().describe('Available status of room'),
1513
+ schedule_status: zod_1.z
1514
+ .boolean()
1515
+ .describe('Future available status of room(Please ignore, this field is used to query the return value of the interface)')
1516
+ .optional(),
1517
+ disable_start_time: zod_1.z.string().describe('Room disable start time').optional(),
1518
+ disable_end_time: zod_1.z.string().describe('Room disable end time').optional(),
1519
+ disable_reason: zod_1.z.string().describe('Room disable reason').optional(),
1520
+ contact_ids: zod_1.z.array(zod_1.z.string()).describe('Contact user ID').optional(),
1521
+ disable_notice: zod_1.z.boolean().describe('Notice content sent to users when room disabled').optional(),
1522
+ resume_notice: zod_1.z.boolean().describe('Notice content sent to contact users when room resumed').optional(),
1523
+ })
1524
+ .describe('Room status')
1525
+ .optional(),
1526
+ device: zod_1.z
1527
+ .array(zod_1.z.object({ name: zod_1.z.string().describe('device name') }))
1528
+ .describe('device information')
1529
+ .optional(),
1530
+ })
1531
+ .optional(),
1532
+ params: zod_1.z
1533
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1534
+ .optional(),
1535
+ path: zod_1.z.object({ room_id: zod_1.z.string().describe('Room ID') }),
1536
+ },
1537
+ };
1538
+ exports.vcV1RoomSearch = {
1539
+ project: 'vc',
1540
+ name: 'vc.v1.room.search',
1541
+ sdkName: 'vc.v1.room.search',
1542
+ path: '/open-apis/vc/v1/rooms/search',
1543
+ httpMethod: 'POST',
1544
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room management-Search meeting room-This API is used to search meeting room. Support keyword or custom room ID to search. This API only returned meeting rooms that user has reserve permission',
1545
+ accessTokens: ['user'],
1546
+ schema: {
1547
+ data: zod_1.z
1548
+ .object({
1549
+ custom_room_ids: zod_1.z.array(zod_1.z.string()).describe('Custom room ID').optional(),
1550
+ keyword: zod_1.z.string().describe('Search keyword(Used when custom room ID is empty)').optional(),
1551
+ room_level_id: zod_1.z
1552
+ .string()
1553
+ .describe('Search room at this room level(Used when custom room ID is empty)')
1554
+ .optional(),
1555
+ search_level_name: zod_1.z
1556
+ .boolean()
1557
+ .describe('Search room that include room level name(Use keyword Parameter to search when custom room ID is empty)')
1558
+ .optional(),
1559
+ page_size: zod_1.z.number().describe('Page size(Used when custom room ID is empty)').optional(),
1560
+ page_token: zod_1.z
1561
+ .string()
1562
+ .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
1563
+ .optional(),
1564
+ })
1565
+ .optional(),
1566
+ params: zod_1.z
1567
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1568
+ .optional(),
1569
+ useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
1570
+ },
1571
+ };
1572
+ exports.vcV1ScopeConfigCreate = {
1573
+ project: 'vc',
1574
+ name: 'vc.v1.scopeConfig.create',
1575
+ sdkName: 'vc.v1.scopeConfig.create',
1576
+ path: '/open-apis/vc/v1/scope_config',
1577
+ httpMethod: 'POST',
1578
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Set room configuration-This API is used to set a scope of room level or a room configuration',
1579
+ accessTokens: ['tenant'],
1580
+ schema: {
1581
+ data: zod_1.z.object({
1582
+ scope_type: zod_1.z.number().describe('Scope type Options:1(RoomLevel Room level),2(Room)'),
1583
+ scope_id: zod_1.z.string().describe('Scope ID'),
1584
+ scope_config: zod_1.z
1585
+ .object({
1586
+ room_background: zod_1.z.string().describe('Feishu room background').optional(),
1587
+ display_background: zod_1.z.string().describe('Feishu sign board background').optional(),
1588
+ digital_signage: zod_1.z
1589
+ .object({
1590
+ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(),
1591
+ enable: zod_1.z.boolean().describe('Enable digital label function or not').optional(),
1592
+ mute: zod_1.z.boolean().describe('Whether to mute the video').optional(),
1593
+ start_display: zod_1.z
1594
+ .number()
1595
+ .describe('Start playing n min after the meeting ends,should be between 1~720.(Only available for Feishu room digital labels)')
1596
+ .optional(),
1597
+ stop_display: zod_1.z
1598
+ .number()
1599
+ .describe('End playing n min before the meeting starts, should be between 1~720.(Only available for Feishu room digital labels)')
1600
+ .optional(),
1601
+ materials: zod_1.z
1602
+ .array(zod_1.z.object({
1603
+ id: zod_1.z
1604
+ .string()
1605
+ .describe('Material ID. When uploading a new material, the material ID needs to be set to empty')
1606
+ .optional(),
1607
+ name: zod_1.z.string().describe('Material name').optional(),
1608
+ material_type: zod_1.z.number().describe('Material type Options:1(pic Image),2(video),3(gif)').optional(),
1609
+ url: zod_1.z.string().describe('Material URL').optional(),
1610
+ duration: zod_1.z.number().describe('Play duration (in sec), should be between 1~43200').optional(),
1611
+ cover: zod_1.z.string().describe('Material cover URL').optional(),
1612
+ md5: zod_1.z.string().describe('Material file md5').optional(),
1613
+ vid: zod_1.z.string().describe('Material file vid').optional(),
1614
+ size: zod_1.z.string().describe('Material desc').optional(),
1615
+ }))
1616
+ .describe('Material list')
1617
+ .optional(),
1618
+ })
1619
+ .describe('Feishu room digital labels')
1620
+ .optional(),
1621
+ room_box_digital_signage: zod_1.z
1622
+ .object({
1623
+ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(),
1624
+ enable: zod_1.z.boolean().describe('Enable digital label function or not').optional(),
1625
+ mute: zod_1.z.boolean().describe('Whether to mute the video').optional(),
1626
+ start_display: zod_1.z
1627
+ .number()
1628
+ .describe('Start playing n min after the meeting ends,should be between 1~720.(Only available for Feishu room digital labels)')
1629
+ .optional(),
1630
+ stop_display: zod_1.z
1631
+ .number()
1632
+ .describe('End playing n min before the meeting starts, should be between 1~720.(Only available for Feishu room digital labels)')
1633
+ .optional(),
1634
+ materials: zod_1.z
1635
+ .array(zod_1.z.object({
1636
+ id: zod_1.z
1637
+ .string()
1638
+ .describe('Material ID. When uploading a new material, the material ID needs to be set to empty')
1639
+ .optional(),
1640
+ name: zod_1.z.string().describe('Material name').optional(),
1641
+ material_type: zod_1.z.number().describe('Material type Options:1(pic Image),2(video),3(gif)').optional(),
1642
+ url: zod_1.z.string().describe('Material URL').optional(),
1643
+ duration: zod_1.z.number().describe('Play duration (in sec), should be between 1~43200').optional(),
1644
+ cover: zod_1.z.string().describe('Material cover URL').optional(),
1645
+ md5: zod_1.z.string().describe('Material file md5').optional(),
1646
+ vid: zod_1.z.string().describe('Material file vid').optional(),
1647
+ size: zod_1.z.string().describe('Material desc').optional(),
1648
+ }))
1649
+ .describe('Material list')
1650
+ .optional(),
1651
+ })
1652
+ .describe('Feishu room box digital signage')
1653
+ .optional(),
1654
+ room_status: zod_1.z
1655
+ .object({
1656
+ status: zod_1.z.boolean().describe('Available status of room'),
1657
+ schedule_status: zod_1.z
1658
+ .boolean()
1659
+ .describe('Future available status of room(Please ignore, this field is used to query the return value of the interface)')
1660
+ .optional(),
1661
+ disable_start_time: zod_1.z.string().describe('Room disable start time').optional(),
1662
+ disable_end_time: zod_1.z.string().describe('Room disable end time').optional(),
1663
+ disable_reason: zod_1.z.string().describe('Room disable reason').optional(),
1664
+ contact_ids: zod_1.z.array(zod_1.z.string()).describe('Contact user ID').optional(),
1665
+ disable_notice: zod_1.z.boolean().describe('Notice content sent to users when room disabled').optional(),
1666
+ resume_notice: zod_1.z.boolean().describe('Notice content sent to contact users when room resumed').optional(),
1667
+ })
1668
+ .describe('Room status')
1669
+ .optional(),
1670
+ })
1671
+ .describe('Room configuration of a scope')
1672
+ .optional(),
1673
+ }),
1674
+ params: zod_1.z
1675
+ .object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() })
1676
+ .optional(),
1677
+ },
1678
+ };
1679
+ exports.vcV1ScopeConfigGet = {
1680
+ project: 'vc',
1681
+ name: 'vc.v1.scopeConfig.get',
1682
+ sdkName: 'vc.v1.scopeConfig.get',
1683
+ path: '/open-apis/vc/v1/scope_config',
1684
+ httpMethod: 'GET',
1685
+ description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Query room configuration-This API is used to query a scope of room level or a room configuration',
1686
+ accessTokens: ['tenant'],
1687
+ schema: {
1688
+ params: zod_1.z.object({
1689
+ scope_type: zod_1.z.number().describe('Scope type Options:1(RoomLevel Room level),2(Room)'),
1690
+ scope_id: zod_1.z.string().describe('Scope ID'),
1691
+ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(),
1692
+ }),
1693
+ },
1694
+ };
1695
+ exports.vcV1Tools = [
1696
+ exports.vcV1AlertList,
1697
+ exports.vcV1ExportGet,
1698
+ exports.vcV1ExportMeetingList,
1699
+ exports.vcV1ExportParticipantList,
1700
+ exports.vcV1ExportParticipantQualityList,
1701
+ exports.vcV1ExportResourceReservationList,
1702
+ exports.vcV1MeetingListGet,
1703
+ exports.vcV1MeetingEnd,
1704
+ exports.vcV1MeetingGet,
1705
+ exports.vcV1MeetingInvite,
1706
+ exports.vcV1MeetingKickout,
1707
+ exports.vcV1MeetingListByNo,
1708
+ exports.vcV1MeetingRecordingGet,
1709
+ exports.vcV1MeetingRecordingSetPermission,
1710
+ exports.vcV1MeetingRecordingStart,
1711
+ exports.vcV1MeetingRecordingStop,
1712
+ exports.vcV1MeetingSetHost,
1713
+ exports.vcV1ParticipantListGet,
1714
+ exports.vcV1ParticipantQualityListGet,
1715
+ exports.vcV1ReportGetDaily,
1716
+ exports.vcV1ReportGetTopUser,
1717
+ exports.vcV1ReserveConfigAdminGet,
1718
+ exports.vcV1ReserveConfigAdminPatch,
1719
+ exports.vcV1ReserveConfigDisableInformGet,
1720
+ exports.vcV1ReserveConfigDisableInformPatch,
1721
+ exports.vcV1ReserveConfigFormGet,
1722
+ exports.vcV1ReserveConfigFormPatch,
1723
+ exports.vcV1ReserveConfigPatch,
1724
+ exports.vcV1ReserveConfigReserveScope,
1725
+ exports.vcV1ReserveApply,
1726
+ exports.vcV1ReserveDelete,
1727
+ exports.vcV1ReserveGet,
1728
+ exports.vcV1ReserveGetActiveMeeting,
1729
+ exports.vcV1ReserveUpdate,
1730
+ exports.vcV1ResourceReservationListGet,
1731
+ exports.vcV1RoomConfigQuery,
1732
+ exports.vcV1RoomConfigSet,
1733
+ exports.vcV1RoomConfigSetCheckboardAccessCode,
1734
+ exports.vcV1RoomConfigSetRoomAccessCode,
1735
+ exports.vcV1RoomLevelCreate,
1736
+ exports.vcV1RoomLevelDel,
1737
+ exports.vcV1RoomLevelGet,
1738
+ exports.vcV1RoomLevelList,
1739
+ exports.vcV1RoomLevelMget,
1740
+ exports.vcV1RoomLevelPatch,
1741
+ exports.vcV1RoomLevelSearch,
1742
+ exports.vcV1RoomCreate,
1743
+ exports.vcV1RoomDelete,
1744
+ exports.vcV1RoomGet,
1745
+ exports.vcV1RoomList,
1746
+ exports.vcV1RoomMget,
1747
+ exports.vcV1RoomPatch,
1748
+ exports.vcV1RoomSearch,
1749
+ exports.vcV1ScopeConfigCreate,
1750
+ exports.vcV1ScopeConfigGet,
1751
+ ];