@danyow/lark-mcp 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/CHANGELOG.md +62 -0
  2. package/LICENSE +9 -0
  3. package/README.md +215 -0
  4. package/README_ZH.md +212 -0
  5. package/dist/auth/config.d.ts +12 -0
  6. package/dist/auth/config.js +15 -0
  7. package/dist/auth/handler/handler-local.d.ts +21 -0
  8. package/dist/auth/handler/handler-local.js +123 -0
  9. package/dist/auth/handler/handler.d.ts +32 -0
  10. package/dist/auth/handler/handler.js +117 -0
  11. package/dist/auth/handler/index.d.ts +2 -0
  12. package/dist/auth/handler/index.js +18 -0
  13. package/dist/auth/index.d.ts +4 -0
  14. package/dist/auth/index.js +20 -0
  15. package/dist/auth/provider/index.d.ts +3 -0
  16. package/dist/auth/provider/index.js +19 -0
  17. package/dist/auth/provider/oauth.d.ts +18 -0
  18. package/dist/auth/provider/oauth.js +147 -0
  19. package/dist/auth/provider/oidc.d.ts +18 -0
  20. package/dist/auth/provider/oidc.js +172 -0
  21. package/dist/auth/provider/types.d.ts +8 -0
  22. package/dist/auth/provider/types.js +2 -0
  23. package/dist/auth/store.d.ts +39 -0
  24. package/dist/auth/store.js +213 -0
  25. package/dist/auth/types.d.ts +13 -0
  26. package/dist/auth/types.js +2 -0
  27. package/dist/auth/utils/encryption.d.ts +7 -0
  28. package/dist/auth/utils/encryption.js +40 -0
  29. package/dist/auth/utils/index.d.ts +3 -0
  30. package/dist/auth/utils/index.js +19 -0
  31. package/dist/auth/utils/is-token-valid.d.ts +7 -0
  32. package/dist/auth/utils/is-token-valid.js +28 -0
  33. package/dist/auth/utils/pkce.d.ts +6 -0
  34. package/dist/auth/utils/pkce.js +20 -0
  35. package/dist/auth/utils/storage-manager.d.ts +17 -0
  36. package/dist/auth/utils/storage-manager.js +135 -0
  37. package/dist/cli/index.d.ts +1 -0
  38. package/dist/cli/index.js +5 -0
  39. package/dist/cli/login-handler.d.ts +16 -0
  40. package/dist/cli/login-handler.js +142 -0
  41. package/dist/cli.d.ts +4 -0
  42. package/dist/cli.js +122 -0
  43. package/dist/index.d.ts +3 -0
  44. package/dist/index.js +19 -0
  45. package/dist/mcp-server/index.d.ts +2 -0
  46. package/dist/mcp-server/index.js +18 -0
  47. package/dist/mcp-server/shared/index.d.ts +2 -0
  48. package/dist/mcp-server/shared/index.js +18 -0
  49. package/dist/mcp-server/shared/init.d.ts +10 -0
  50. package/dist/mcp-server/shared/init.js +121 -0
  51. package/dist/mcp-server/shared/types.d.ts +40 -0
  52. package/dist/mcp-server/shared/types.js +10 -0
  53. package/dist/mcp-server/transport/index.d.ts +3 -0
  54. package/dist/mcp-server/transport/index.js +19 -0
  55. package/dist/mcp-server/transport/sse.d.ts +2 -0
  56. package/dist/mcp-server/transport/sse.js +75 -0
  57. package/dist/mcp-server/transport/stdio.d.ts +2 -0
  58. package/dist/mcp-server/transport/stdio.js +36 -0
  59. package/dist/mcp-server/transport/streamable.d.ts +2 -0
  60. package/dist/mcp-server/transport/streamable.js +86 -0
  61. package/dist/mcp-server/transport/utils.d.ts +16 -0
  62. package/dist/mcp-server/transport/utils.js +34 -0
  63. package/dist/mcp-tool/constants.d.ts +49 -0
  64. package/dist/mcp-tool/constants.js +115 -0
  65. package/dist/mcp-tool/document-tool/index.d.ts +1 -0
  66. package/dist/mcp-tool/document-tool/index.js +17 -0
  67. package/dist/mcp-tool/document-tool/recall/index.d.ts +2 -0
  68. package/dist/mcp-tool/document-tool/recall/index.js +39 -0
  69. package/dist/mcp-tool/document-tool/recall/request.d.ts +2 -0
  70. package/dist/mcp-tool/document-tool/recall/request.js +25 -0
  71. package/dist/mcp-tool/document-tool/recall/type.d.ts +19 -0
  72. package/dist/mcp-tool/document-tool/recall/type.js +2 -0
  73. package/dist/mcp-tool/index.d.ts +5 -0
  74. package/dist/mcp-tool/index.js +21 -0
  75. package/dist/mcp-tool/mcp-tool.d.ts +52 -0
  76. package/dist/mcp-tool/mcp-tool.js +198 -0
  77. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.d.ts +5 -0
  78. package/dist/mcp-tool/tools/en/builtin-tools/docx/builtin.js +219 -0
  79. package/dist/mcp-tool/tools/en/builtin-tools/drive/builtin.d.ts +4 -0
  80. package/dist/mcp-tool/tools/en/builtin-tools/drive/builtin.js +159 -0
  81. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.d.ts +4 -0
  82. package/dist/mcp-tool/tools/en/builtin-tools/im/buildin.js +63 -0
  83. package/dist/mcp-tool/tools/en/builtin-tools/index.d.ts +5 -0
  84. package/dist/mcp-tool/tools/en/builtin-tools/index.js +7 -0
  85. package/dist/mcp-tool/tools/en/gen-tools/index.d.ts +114 -0
  86. package/dist/mcp-tool/tools/en/gen-tools/index.js +129 -0
  87. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.d.ts +562 -0
  88. package/dist/mcp-tool/tools/en/gen-tools/zod/acs_v1.js +264 -0
  89. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.d.ts +912 -0
  90. package/dist/mcp-tool/tools/en/gen-tools/zod/admin_v1.js +449 -0
  91. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.d.ts +1213 -0
  92. package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.js +560 -0
  93. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.d.ts +2530 -0
  94. package/dist/mcp-tool/tools/en/gen-tools/zod/apaas_v1.js +949 -0
  95. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.d.ts +80 -0
  96. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v5.js +53 -0
  97. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.d.ts +1008 -0
  98. package/dist/mcp-tool/tools/en/gen-tools/zod/application_v6.js +775 -0
  99. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.d.ts +3928 -0
  100. package/dist/mcp-tool/tools/en/gen-tools/zod/approval_v4.js +1602 -0
  101. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.d.ts +6043 -0
  102. package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.js +1857 -0
  103. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.d.ts +151 -0
  104. package/dist/mcp-tool/tools/en/gen-tools/zod/auth_v3.js +71 -0
  105. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.d.ts +26 -0
  106. package/dist/mcp-tool/tools/en/gen-tools/zod/authen_v1.js +17 -0
  107. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.d.ts +2174 -0
  108. package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.js +594 -0
  109. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.d.ts +755 -0
  110. package/dist/mcp-tool/tools/en/gen-tools/zod/base_v2.js +234 -0
  111. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.d.ts +3541 -0
  112. package/dist/mcp-tool/tools/en/gen-tools/zod/bitable_v1.js +1786 -0
  113. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.d.ts +40 -0
  114. package/dist/mcp-tool/tools/en/gen-tools/zod/board_v1.js +18 -0
  115. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.d.ts +2075 -0
  116. package/dist/mcp-tool/tools/en/gen-tools/zod/calendar_v4.js +1594 -0
  117. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.d.ts +528 -0
  118. package/dist/mcp-tool/tools/en/gen-tools/zod/cardkit_v1.js +260 -0
  119. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.d.ts +189 -0
  120. package/dist/mcp-tool/tools/en/gen-tools/zod/compensation_v1.js +132 -0
  121. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.d.ts +4274 -0
  122. package/dist/mcp-tool/tools/en/gen-tools/zod/contact_v3.js +2583 -0
  123. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.d.ts +16873 -0
  124. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v1.js +5045 -0
  125. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.d.ts +29387 -0
  126. package/dist/mcp-tool/tools/en/gen-tools/zod/corehr_v2.js +7787 -0
  127. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.d.ts +4274 -0
  128. package/dist/mcp-tool/tools/en/gen-tools/zod/directory_v1.js +1367 -0
  129. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.d.ts +58 -0
  130. package/dist/mcp-tool/tools/en/gen-tools/zod/docs_v1.js +28 -0
  131. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.d.ts +93466 -0
  132. package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.js +14350 -0
  133. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.d.ts +3251 -0
  134. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v1.js +1422 -0
  135. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.d.ts +174 -0
  136. package/dist/mcp-tool/tools/en/gen-tools/zod/drive_v2.js +117 -0
  137. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.d.ts +86 -0
  138. package/dist/mcp-tool/tools/en/gen-tools/zod/ehr_v1.js +48 -0
  139. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.d.ts +44 -0
  140. package/dist/mcp-tool/tools/en/gen-tools/zod/event_v1.js +17 -0
  141. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  142. package/dist/mcp-tool/tools/en/gen-tools/zod/helpdesk_v1.js +285 -0
  143. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.d.ts +10076 -0
  144. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.js +6065 -0
  145. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.d.ts +158 -0
  146. package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v2.js +61 -0
  147. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  148. package/dist/mcp-tool/tools/en/gen-tools/zod/human_authentication_v1.js +27 -0
  149. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.d.ts +3043 -0
  150. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v1.js +1869 -0
  151. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.d.ts +2176 -0
  152. package/dist/mcp-tool/tools/en/gen-tools/zod/im_v2.js +460 -0
  153. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.d.ts +2301 -0
  154. package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.js +669 -0
  155. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.d.ts +2462 -0
  156. package/dist/mcp-tool/tools/en/gen-tools/zod/mail_v1.js +1655 -0
  157. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.d.ts +104 -0
  158. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v1.js +45 -0
  159. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.d.ts +329 -0
  160. package/dist/mcp-tool/tools/en/gen-tools/zod/mdm_v3.js +78 -0
  161. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.d.ts +92 -0
  162. package/dist/mcp-tool/tools/en/gen-tools/zod/minutes_v1.js +62 -0
  163. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.d.ts +52 -0
  164. package/dist/mcp-tool/tools/en/gen-tools/zod/moments_v1.js +24 -0
  165. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.d.ts +1628 -0
  166. package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.js +434 -0
  167. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  168. package/dist/mcp-tool/tools/en/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  169. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.d.ts +131 -0
  170. package/dist/mcp-tool/tools/en/gen-tools/zod/passport_v1.js +59 -0
  171. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.d.ts +333 -0
  172. package/dist/mcp-tool/tools/en/gen-tools/zod/payroll_v1.js +176 -0
  173. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.d.ts +309 -0
  174. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v1.js +178 -0
  175. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.d.ts +1177 -0
  176. package/dist/mcp-tool/tools/en/gen-tools/zod/performance_v2.js +559 -0
  177. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  178. package/dist/mcp-tool/tools/en/gen-tools/zod/personal_settings_v1.js +303 -0
  179. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.d.ts +192 -0
  180. package/dist/mcp-tool/tools/en/gen-tools/zod/report_v1.js +71 -0
  181. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.d.ts +1695 -0
  182. package/dist/mcp-tool/tools/en/gen-tools/zod/search_v2.js +446 -0
  183. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  184. package/dist/mcp-tool/tools/en/gen-tools/zod/security_and_compliance_v1.js +32 -0
  185. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v2.d.ts +523 -0
  186. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v2.js +231 -0
  187. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.d.ts +979 -0
  188. package/dist/mcp-tool/tools/en/gen-tools/zod/sheets_v3.js +721 -0
  189. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  190. package/dist/mcp-tool/tools/en/gen-tools/zod/speech_to_text_v1.js +65 -0
  191. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.d.ts +1161 -0
  192. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.js +672 -0
  193. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.d.ts +6051 -0
  194. package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.js +1970 -0
  195. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.d.ts +31 -0
  196. package/dist/mcp-tool/tools/en/gen-tools/zod/tenant_v2.js +24 -0
  197. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.d.ts +80 -0
  198. package/dist/mcp-tool/tools/en/gen-tools/zod/translation_v1.js +37 -0
  199. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.d.ts +182 -0
  200. package/dist/mcp-tool/tools/en/gen-tools/zod/trust_party_v1.js +141 -0
  201. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.d.ts +5725 -0
  202. package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.js +1751 -0
  203. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.d.ts +21 -0
  204. package/dist/mcp-tool/tools/en/gen-tools/zod/verification_v1.js +14 -0
  205. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.d.ts +72 -0
  206. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v1.js +19 -0
  207. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.d.ts +843 -0
  208. package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.js +381 -0
  209. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.d.ts +116 -0
  210. package/dist/mcp-tool/tools/en/gen-tools/zod/workplace_v1.js +77 -0
  211. package/dist/mcp-tool/tools/index.d.ts +104 -0
  212. package/dist/mcp-tool/tools/index.js +9 -0
  213. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.d.ts +5 -0
  214. package/dist/mcp-tool/tools/zh/builtin-tools/docx/builtin.js +198 -0
  215. package/dist/mcp-tool/tools/zh/builtin-tools/drive/builtin.d.ts +4 -0
  216. package/dist/mcp-tool/tools/zh/builtin-tools/drive/builtin.js +159 -0
  217. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.d.ts +4 -0
  218. package/dist/mcp-tool/tools/zh/builtin-tools/im/buildin.js +63 -0
  219. package/dist/mcp-tool/tools/zh/builtin-tools/index.d.ts +5 -0
  220. package/dist/mcp-tool/tools/zh/builtin-tools/index.js +7 -0
  221. package/dist/mcp-tool/tools/zh/gen-tools/index.d.ts +114 -0
  222. package/dist/mcp-tool/tools/zh/gen-tools/index.js +129 -0
  223. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.d.ts +562 -0
  224. package/dist/mcp-tool/tools/zh/gen-tools/zod/acs_v1.js +277 -0
  225. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.d.ts +912 -0
  226. package/dist/mcp-tool/tools/zh/gen-tools/zod/admin_v1.js +430 -0
  227. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.d.ts +1213 -0
  228. package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.js +541 -0
  229. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.d.ts +2530 -0
  230. package/dist/mcp-tool/tools/zh/gen-tools/zod/apaas_v1.js +885 -0
  231. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.d.ts +80 -0
  232. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v5.js +59 -0
  233. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.d.ts +1007 -0
  234. package/dist/mcp-tool/tools/zh/gen-tools/zod/application_v6.js +721 -0
  235. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.d.ts +3928 -0
  236. package/dist/mcp-tool/tools/zh/gen-tools/zod/approval_v4.js +1532 -0
  237. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.d.ts +6043 -0
  238. package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.js +1620 -0
  239. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.d.ts +151 -0
  240. package/dist/mcp-tool/tools/zh/gen-tools/zod/auth_v3.js +87 -0
  241. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.d.ts +26 -0
  242. package/dist/mcp-tool/tools/zh/gen-tools/zod/authen_v1.js +17 -0
  243. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.d.ts +2174 -0
  244. package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.js +574 -0
  245. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.d.ts +755 -0
  246. package/dist/mcp-tool/tools/zh/gen-tools/zod/base_v2.js +270 -0
  247. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.d.ts +3541 -0
  248. package/dist/mcp-tool/tools/zh/gen-tools/zod/bitable_v1.js +1864 -0
  249. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.d.ts +40 -0
  250. package/dist/mcp-tool/tools/zh/gen-tools/zod/board_v1.js +18 -0
  251. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.d.ts +2075 -0
  252. package/dist/mcp-tool/tools/zh/gen-tools/zod/calendar_v4.js +1533 -0
  253. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.d.ts +528 -0
  254. package/dist/mcp-tool/tools/zh/gen-tools/zod/cardkit_v1.js +248 -0
  255. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.d.ts +189 -0
  256. package/dist/mcp-tool/tools/zh/gen-tools/zod/compensation_v1.js +130 -0
  257. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.d.ts +4274 -0
  258. package/dist/mcp-tool/tools/zh/gen-tools/zod/contact_v3.js +2394 -0
  259. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.d.ts +16957 -0
  260. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v1.js +4753 -0
  261. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.d.ts +29869 -0
  262. package/dist/mcp-tool/tools/zh/gen-tools/zod/corehr_v2.js +7902 -0
  263. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.d.ts +4324 -0
  264. package/dist/mcp-tool/tools/zh/gen-tools/zod/directory_v1.js +1340 -0
  265. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.d.ts +58 -0
  266. package/dist/mcp-tool/tools/zh/gen-tools/zod/docs_v1.js +26 -0
  267. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.d.ts +116719 -0
  268. package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.js +14949 -0
  269. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.d.ts +3251 -0
  270. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v1.js +1395 -0
  271. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.d.ts +174 -0
  272. package/dist/mcp-tool/tools/zh/gen-tools/zod/drive_v2.js +115 -0
  273. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.d.ts +86 -0
  274. package/dist/mcp-tool/tools/zh/gen-tools/zod/ehr_v1.js +48 -0
  275. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.d.ts +44 -0
  276. package/dist/mcp-tool/tools/zh/gen-tools/zod/event_v1.js +25 -0
  277. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.d.ts +733 -0
  278. package/dist/mcp-tool/tools/zh/gen-tools/zod/helpdesk_v1.js +279 -0
  279. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.d.ts +10085 -0
  280. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.js +5787 -0
  281. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.d.ts +158 -0
  282. package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v2.js +64 -0
  283. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.d.ts +70 -0
  284. package/dist/mcp-tool/tools/zh/gen-tools/zod/human_authentication_v1.js +27 -0
  285. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.d.ts +3043 -0
  286. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v1.js +1812 -0
  287. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.d.ts +2176 -0
  288. package/dist/mcp-tool/tools/zh/gen-tools/zod/im_v2.js +454 -0
  289. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.d.ts +2301 -0
  290. package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.js +650 -0
  291. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.d.ts +2465 -0
  292. package/dist/mcp-tool/tools/zh/gen-tools/zod/mail_v1.js +1467 -0
  293. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.d.ts +104 -0
  294. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v1.js +45 -0
  295. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.d.ts +329 -0
  296. package/dist/mcp-tool/tools/zh/gen-tools/zod/mdm_v3.js +76 -0
  297. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.d.ts +92 -0
  298. package/dist/mcp-tool/tools/zh/gen-tools/zod/minutes_v1.js +62 -0
  299. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.d.ts +52 -0
  300. package/dist/mcp-tool/tools/zh/gen-tools/zod/moments_v1.js +20 -0
  301. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.d.ts +1664 -0
  302. package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.js +455 -0
  303. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.d.ts +38 -0
  304. package/dist/mcp-tool/tools/zh/gen-tools/zod/optical_char_recognition_v1.js +17 -0
  305. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.d.ts +131 -0
  306. package/dist/mcp-tool/tools/zh/gen-tools/zod/passport_v1.js +53 -0
  307. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.d.ts +609 -0
  308. package/dist/mcp-tool/tools/zh/gen-tools/zod/payroll_v1.js +321 -0
  309. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.d.ts +309 -0
  310. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v1.js +165 -0
  311. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.d.ts +1177 -0
  312. package/dist/mcp-tool/tools/zh/gen-tools/zod/performance_v2.js +525 -0
  313. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.d.ts +640 -0
  314. package/dist/mcp-tool/tools/zh/gen-tools/zod/personal_settings_v1.js +295 -0
  315. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.d.ts +194 -0
  316. package/dist/mcp-tool/tools/zh/gen-tools/zod/report_v1.js +72 -0
  317. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.d.ts +1695 -0
  318. package/dist/mcp-tool/tools/zh/gen-tools/zod/search_v2.js +556 -0
  319. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.d.ts +68 -0
  320. package/dist/mcp-tool/tools/zh/gen-tools/zod/security_and_compliance_v1.js +32 -0
  321. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v2.d.ts +523 -0
  322. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v2.js +231 -0
  323. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.d.ts +979 -0
  324. package/dist/mcp-tool/tools/zh/gen-tools/zod/sheets_v3.js +821 -0
  325. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.d.ts +225 -0
  326. package/dist/mcp-tool/tools/zh/gen-tools/zod/speech_to_text_v1.js +65 -0
  327. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.d.ts +1161 -0
  328. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.js +647 -0
  329. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.d.ts +6077 -0
  330. package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.js +1894 -0
  331. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.d.ts +31 -0
  332. package/dist/mcp-tool/tools/zh/gen-tools/zod/tenant_v2.js +24 -0
  333. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.d.ts +80 -0
  334. package/dist/mcp-tool/tools/zh/gen-tools/zod/translation_v1.js +37 -0
  335. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.d.ts +182 -0
  336. package/dist/mcp-tool/tools/zh/gen-tools/zod/trust_party_v1.js +137 -0
  337. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.d.ts +5725 -0
  338. package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.js +1640 -0
  339. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.d.ts +21 -0
  340. package/dist/mcp-tool/tools/zh/gen-tools/zod/verification_v1.js +14 -0
  341. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.d.ts +72 -0
  342. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v1.js +34 -0
  343. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.d.ts +843 -0
  344. package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.js +376 -0
  345. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.d.ts +116 -0
  346. package/dist/mcp-tool/tools/zh/gen-tools/zod/workplace_v1.js +77 -0
  347. package/dist/mcp-tool/types/index.d.ts +53 -0
  348. package/dist/mcp-tool/types/index.js +9 -0
  349. package/dist/mcp-tool/utils/case-transf.d.ts +2 -0
  350. package/dist/mcp-tool/utils/case-transf.js +15 -0
  351. package/dist/mcp-tool/utils/filter-tools.d.ts +2 -0
  352. package/dist/mcp-tool/utils/filter-tools.js +27 -0
  353. package/dist/mcp-tool/utils/get-should-use-uat.d.ts +2 -0
  354. package/dist/mcp-tool/utils/get-should-use-uat.js +18 -0
  355. package/dist/mcp-tool/utils/handler.d.ts +2 -0
  356. package/dist/mcp-tool/utils/handler.js +119 -0
  357. package/dist/mcp-tool/utils/index.d.ts +4 -0
  358. package/dist/mcp-tool/utils/index.js +20 -0
  359. package/dist/utils/clean-env-args.d.ts +1 -0
  360. package/dist/utils/clean-env-args.js +12 -0
  361. package/dist/utils/constants.d.ts +18 -0
  362. package/dist/utils/constants.js +35 -0
  363. package/dist/utils/http-instance.d.ts +2 -0
  364. package/dist/utils/http-instance.js +21 -0
  365. package/dist/utils/logger.d.ts +22 -0
  366. package/dist/utils/logger.js +97 -0
  367. package/dist/utils/noop.d.ts +1 -0
  368. package/dist/utils/noop.js +6 -0
  369. package/dist/utils/parser-string-array.d.ts +1 -0
  370. package/dist/utils/parser-string-array.js +13 -0
  371. package/dist/utils/safe-json-parse.d.ts +1 -0
  372. package/dist/utils/safe-json-parse.js +14 -0
  373. package/dist/utils/version.d.ts +1 -0
  374. package/dist/utils/version.js +52 -0
  375. package/docs/recall-mcp/README.md +137 -0
  376. package/docs/recall-mcp/README_ZH.md +137 -0
  377. package/docs/reference/cli/cli-zh.md +92 -0
  378. package/docs/reference/cli/cli.md +92 -0
  379. package/docs/reference/tool-presets/presets-zh.md +120 -0
  380. package/docs/reference/tool-presets/presets.md +120 -0
  381. package/docs/reference/tool-presets/tools-en.md +1527 -0
  382. package/docs/reference/tool-presets/tools-zh.md +1544 -0
  383. package/docs/troubleshooting/faq-zh.md +67 -0
  384. package/docs/troubleshooting/faq.md +67 -0
  385. package/docs/usage/configuration/configuration-zh.md +344 -0
  386. package/docs/usage/configuration/configuration.md +344 -0
  387. package/docs/usage/docker/docker-zh.md +101 -0
  388. package/docs/usage/docker/docker.md +106 -0
  389. package/package.json +65 -0
@@ -0,0 +1,3541 @@
1
+ import { z } from 'zod';
2
+ export type bitableV1ToolName = 'bitable.v1.app.copy' | 'bitable.v1.app.create' | 'bitable.v1.appDashboard.copy' | 'bitable.v1.appDashboard.list' | 'bitable.v1.app.get' | 'bitable.v1.appRole.create' | 'bitable.v1.appRole.delete' | 'bitable.v1.appRole.list' | 'bitable.v1.appRoleMember.batchCreate' | 'bitable.v1.appRoleMember.batchDelete' | 'bitable.v1.appRoleMember.create' | 'bitable.v1.appRoleMember.delete' | 'bitable.v1.appRoleMember.list' | 'bitable.v1.appRole.update' | 'bitable.v1.appTable.batchCreate' | 'bitable.v1.appTable.batchDelete' | 'bitable.v1.appTable.create' | 'bitable.v1.appTable.delete' | 'bitable.v1.appTableField.create' | 'bitable.v1.appTableField.delete' | 'bitable.v1.appTableField.list' | 'bitable.v1.appTableField.update' | 'bitable.v1.appTableFormField.list' | 'bitable.v1.appTableFormField.patch' | 'bitable.v1.appTableForm.get' | 'bitable.v1.appTableForm.patch' | 'bitable.v1.appTable.list' | 'bitable.v1.appTable.patch' | 'bitable.v1.appTableRecord.batchCreate' | 'bitable.v1.appTableRecord.batchDelete' | 'bitable.v1.appTableRecord.batchGet' | 'bitable.v1.appTableRecord.batchUpdate' | 'bitable.v1.appTableRecord.create' | 'bitable.v1.appTableRecord.delete' | 'bitable.v1.appTableRecord.get' | 'bitable.v1.appTableRecord.list' | 'bitable.v1.appTableRecord.search' | 'bitable.v1.appTableRecord.update' | 'bitable.v1.appTableView.create' | 'bitable.v1.appTableView.delete' | 'bitable.v1.appTableView.get' | 'bitable.v1.appTableView.list' | 'bitable.v1.appTableView.patch' | 'bitable.v1.app.update' | 'bitable.v1.appWorkflow.list' | 'bitable.v1.appWorkflow.update';
3
+ export declare const bitableV1AppCopy: {
4
+ project: string;
5
+ name: string;
6
+ sdkName: string;
7
+ path: string;
8
+ httpMethod: string;
9
+ description: string;
10
+ accessTokens: string[];
11
+ schema: {
12
+ data: z.ZodOptional<z.ZodObject<{
13
+ name: z.ZodOptional<z.ZodString>;
14
+ folder_token: z.ZodOptional<z.ZodString>;
15
+ without_content: z.ZodOptional<z.ZodBoolean>;
16
+ time_zone: z.ZodOptional<z.ZodString>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ name?: string | undefined;
19
+ time_zone?: string | undefined;
20
+ folder_token?: string | undefined;
21
+ without_content?: boolean | undefined;
22
+ }, {
23
+ name?: string | undefined;
24
+ time_zone?: string | undefined;
25
+ folder_token?: string | undefined;
26
+ without_content?: boolean | undefined;
27
+ }>>;
28
+ path: z.ZodObject<{
29
+ app_token: z.ZodString;
30
+ }, "strip", z.ZodTypeAny, {
31
+ app_token: string;
32
+ }, {
33
+ app_token: string;
34
+ }>;
35
+ useUAT: z.ZodOptional<z.ZodBoolean>;
36
+ };
37
+ };
38
+ export declare const bitableV1AppCreate: {
39
+ project: string;
40
+ name: string;
41
+ sdkName: string;
42
+ path: string;
43
+ httpMethod: string;
44
+ description: string;
45
+ accessTokens: string[];
46
+ schema: {
47
+ data: z.ZodOptional<z.ZodObject<{
48
+ name: z.ZodOptional<z.ZodString>;
49
+ folder_token: z.ZodOptional<z.ZodString>;
50
+ time_zone: z.ZodOptional<z.ZodString>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ name?: string | undefined;
53
+ time_zone?: string | undefined;
54
+ folder_token?: string | undefined;
55
+ }, {
56
+ name?: string | undefined;
57
+ time_zone?: string | undefined;
58
+ folder_token?: string | undefined;
59
+ }>>;
60
+ useUAT: z.ZodOptional<z.ZodBoolean>;
61
+ };
62
+ };
63
+ export declare const bitableV1AppDashboardCopy: {
64
+ project: string;
65
+ name: string;
66
+ sdkName: string;
67
+ path: string;
68
+ httpMethod: string;
69
+ description: string;
70
+ accessTokens: string[];
71
+ schema: {
72
+ data: z.ZodObject<{
73
+ name: z.ZodString;
74
+ }, "strip", z.ZodTypeAny, {
75
+ name: string;
76
+ }, {
77
+ name: string;
78
+ }>;
79
+ path: z.ZodObject<{
80
+ app_token: z.ZodString;
81
+ block_id: z.ZodString;
82
+ }, "strip", z.ZodTypeAny, {
83
+ block_id: string;
84
+ app_token: string;
85
+ }, {
86
+ block_id: string;
87
+ app_token: string;
88
+ }>;
89
+ useUAT: z.ZodOptional<z.ZodBoolean>;
90
+ };
91
+ };
92
+ export declare const bitableV1AppDashboardList: {
93
+ project: string;
94
+ name: string;
95
+ sdkName: string;
96
+ path: string;
97
+ httpMethod: string;
98
+ description: string;
99
+ accessTokens: string[];
100
+ schema: {
101
+ params: z.ZodOptional<z.ZodObject<{
102
+ page_size: z.ZodOptional<z.ZodNumber>;
103
+ page_token: z.ZodOptional<z.ZodString>;
104
+ }, "strip", z.ZodTypeAny, {
105
+ page_size?: number | undefined;
106
+ page_token?: string | undefined;
107
+ }, {
108
+ page_size?: number | undefined;
109
+ page_token?: string | undefined;
110
+ }>>;
111
+ path: z.ZodObject<{
112
+ app_token: z.ZodString;
113
+ }, "strip", z.ZodTypeAny, {
114
+ app_token: string;
115
+ }, {
116
+ app_token: string;
117
+ }>;
118
+ useUAT: z.ZodOptional<z.ZodBoolean>;
119
+ };
120
+ };
121
+ export declare const bitableV1AppGet: {
122
+ project: string;
123
+ name: string;
124
+ sdkName: string;
125
+ path: string;
126
+ httpMethod: string;
127
+ description: string;
128
+ accessTokens: string[];
129
+ schema: {
130
+ path: z.ZodObject<{
131
+ app_token: z.ZodString;
132
+ }, "strip", z.ZodTypeAny, {
133
+ app_token: string;
134
+ }, {
135
+ app_token: string;
136
+ }>;
137
+ useUAT: z.ZodOptional<z.ZodBoolean>;
138
+ };
139
+ };
140
+ export declare const bitableV1AppRoleCreate: {
141
+ project: string;
142
+ name: string;
143
+ sdkName: string;
144
+ path: string;
145
+ httpMethod: string;
146
+ description: string;
147
+ accessTokens: string[];
148
+ schema: {
149
+ data: z.ZodObject<{
150
+ role_name: z.ZodString;
151
+ table_roles: z.ZodArray<z.ZodObject<{
152
+ table_perm: z.ZodNumber;
153
+ table_name: z.ZodOptional<z.ZodString>;
154
+ table_id: z.ZodOptional<z.ZodString>;
155
+ rec_rule: z.ZodOptional<z.ZodObject<{
156
+ conditions: z.ZodArray<z.ZodObject<{
157
+ field_name: z.ZodString;
158
+ operator: z.ZodOptional<z.ZodEnum<["is", "isNot", "contains", "doesNotContain", "isEmpty", "isNotEmpty"]>>;
159
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
160
+ }, "strip", z.ZodTypeAny, {
161
+ field_name: string;
162
+ value?: string[] | undefined;
163
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
164
+ }, {
165
+ field_name: string;
166
+ value?: string[] | undefined;
167
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
168
+ }>, "many">;
169
+ conjunction: z.ZodOptional<z.ZodEnum<["and", "or"]>>;
170
+ other_perm: z.ZodOptional<z.ZodNumber>;
171
+ }, "strip", z.ZodTypeAny, {
172
+ conditions: {
173
+ field_name: string;
174
+ value?: string[] | undefined;
175
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
176
+ }[];
177
+ conjunction?: "and" | "or" | undefined;
178
+ other_perm?: number | undefined;
179
+ }, {
180
+ conditions: {
181
+ field_name: string;
182
+ value?: string[] | undefined;
183
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
184
+ }[];
185
+ conjunction?: "and" | "or" | undefined;
186
+ other_perm?: number | undefined;
187
+ }>>;
188
+ field_perm: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
189
+ allow_add_record: z.ZodOptional<z.ZodBoolean>;
190
+ allow_delete_record: z.ZodOptional<z.ZodBoolean>;
191
+ }, "strip", z.ZodTypeAny, {
192
+ table_perm: number;
193
+ table_name?: string | undefined;
194
+ table_id?: string | undefined;
195
+ rec_rule?: {
196
+ conditions: {
197
+ field_name: string;
198
+ value?: string[] | undefined;
199
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
200
+ }[];
201
+ conjunction?: "and" | "or" | undefined;
202
+ other_perm?: number | undefined;
203
+ } | undefined;
204
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
205
+ allow_add_record?: boolean | undefined;
206
+ allow_delete_record?: boolean | undefined;
207
+ }, {
208
+ table_perm: number;
209
+ table_name?: string | undefined;
210
+ table_id?: string | undefined;
211
+ rec_rule?: {
212
+ conditions: {
213
+ field_name: string;
214
+ value?: string[] | undefined;
215
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
216
+ }[];
217
+ conjunction?: "and" | "or" | undefined;
218
+ other_perm?: number | undefined;
219
+ } | undefined;
220
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
221
+ allow_add_record?: boolean | undefined;
222
+ allow_delete_record?: boolean | undefined;
223
+ }>, "many">;
224
+ block_roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
225
+ block_id: z.ZodString;
226
+ block_perm: z.ZodNumber;
227
+ }, "strip", z.ZodTypeAny, {
228
+ block_id: string;
229
+ block_perm: number;
230
+ }, {
231
+ block_id: string;
232
+ block_perm: number;
233
+ }>, "many">>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ role_name: string;
236
+ table_roles: {
237
+ table_perm: number;
238
+ table_name?: string | undefined;
239
+ table_id?: string | undefined;
240
+ rec_rule?: {
241
+ conditions: {
242
+ field_name: string;
243
+ value?: string[] | undefined;
244
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
245
+ }[];
246
+ conjunction?: "and" | "or" | undefined;
247
+ other_perm?: number | undefined;
248
+ } | undefined;
249
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
250
+ allow_add_record?: boolean | undefined;
251
+ allow_delete_record?: boolean | undefined;
252
+ }[];
253
+ block_roles?: {
254
+ block_id: string;
255
+ block_perm: number;
256
+ }[] | undefined;
257
+ }, {
258
+ role_name: string;
259
+ table_roles: {
260
+ table_perm: number;
261
+ table_name?: string | undefined;
262
+ table_id?: string | undefined;
263
+ rec_rule?: {
264
+ conditions: {
265
+ field_name: string;
266
+ value?: string[] | undefined;
267
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
268
+ }[];
269
+ conjunction?: "and" | "or" | undefined;
270
+ other_perm?: number | undefined;
271
+ } | undefined;
272
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
273
+ allow_add_record?: boolean | undefined;
274
+ allow_delete_record?: boolean | undefined;
275
+ }[];
276
+ block_roles?: {
277
+ block_id: string;
278
+ block_perm: number;
279
+ }[] | undefined;
280
+ }>;
281
+ path: z.ZodOptional<z.ZodObject<{
282
+ app_token: z.ZodOptional<z.ZodString>;
283
+ }, "strip", z.ZodTypeAny, {
284
+ app_token?: string | undefined;
285
+ }, {
286
+ app_token?: string | undefined;
287
+ }>>;
288
+ useUAT: z.ZodOptional<z.ZodBoolean>;
289
+ };
290
+ };
291
+ export declare const bitableV1AppRoleDelete: {
292
+ project: string;
293
+ name: string;
294
+ sdkName: string;
295
+ path: string;
296
+ httpMethod: string;
297
+ description: string;
298
+ accessTokens: string[];
299
+ schema: {
300
+ path: z.ZodOptional<z.ZodObject<{
301
+ app_token: z.ZodOptional<z.ZodString>;
302
+ role_id: z.ZodOptional<z.ZodString>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ app_token?: string | undefined;
305
+ role_id?: string | undefined;
306
+ }, {
307
+ app_token?: string | undefined;
308
+ role_id?: string | undefined;
309
+ }>>;
310
+ useUAT: z.ZodOptional<z.ZodBoolean>;
311
+ };
312
+ };
313
+ export declare const bitableV1AppRoleList: {
314
+ project: string;
315
+ name: string;
316
+ sdkName: string;
317
+ path: string;
318
+ httpMethod: string;
319
+ description: string;
320
+ accessTokens: string[];
321
+ schema: {
322
+ params: z.ZodOptional<z.ZodObject<{
323
+ page_size: z.ZodOptional<z.ZodNumber>;
324
+ page_token: z.ZodOptional<z.ZodString>;
325
+ }, "strip", z.ZodTypeAny, {
326
+ page_size?: number | undefined;
327
+ page_token?: string | undefined;
328
+ }, {
329
+ page_size?: number | undefined;
330
+ page_token?: string | undefined;
331
+ }>>;
332
+ path: z.ZodOptional<z.ZodObject<{
333
+ app_token: z.ZodOptional<z.ZodString>;
334
+ }, "strip", z.ZodTypeAny, {
335
+ app_token?: string | undefined;
336
+ }, {
337
+ app_token?: string | undefined;
338
+ }>>;
339
+ useUAT: z.ZodOptional<z.ZodBoolean>;
340
+ };
341
+ };
342
+ export declare const bitableV1AppRoleMemberBatchCreate: {
343
+ project: string;
344
+ name: string;
345
+ sdkName: string;
346
+ path: string;
347
+ httpMethod: string;
348
+ description: string;
349
+ accessTokens: string[];
350
+ schema: {
351
+ data: z.ZodObject<{
352
+ member_list: z.ZodArray<z.ZodObject<{
353
+ type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "chat_id", "department_id", "open_department_id"]>>;
354
+ id: z.ZodString;
355
+ }, "strip", z.ZodTypeAny, {
356
+ id: string;
357
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
358
+ }, {
359
+ id: string;
360
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
361
+ }>, "many">;
362
+ }, "strip", z.ZodTypeAny, {
363
+ member_list: {
364
+ id: string;
365
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
366
+ }[];
367
+ }, {
368
+ member_list: {
369
+ id: string;
370
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
371
+ }[];
372
+ }>;
373
+ path: z.ZodObject<{
374
+ app_token: z.ZodString;
375
+ role_id: z.ZodString;
376
+ }, "strip", z.ZodTypeAny, {
377
+ app_token: string;
378
+ role_id: string;
379
+ }, {
380
+ app_token: string;
381
+ role_id: string;
382
+ }>;
383
+ useUAT: z.ZodOptional<z.ZodBoolean>;
384
+ };
385
+ };
386
+ export declare const bitableV1AppRoleMemberBatchDelete: {
387
+ project: string;
388
+ name: string;
389
+ sdkName: string;
390
+ path: string;
391
+ httpMethod: string;
392
+ description: string;
393
+ accessTokens: string[];
394
+ schema: {
395
+ data: z.ZodObject<{
396
+ member_list: z.ZodArray<z.ZodObject<{
397
+ type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "chat_id", "department_id", "open_department_id"]>>;
398
+ id: z.ZodString;
399
+ }, "strip", z.ZodTypeAny, {
400
+ id: string;
401
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
402
+ }, {
403
+ id: string;
404
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
405
+ }>, "many">;
406
+ }, "strip", z.ZodTypeAny, {
407
+ member_list: {
408
+ id: string;
409
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
410
+ }[];
411
+ }, {
412
+ member_list: {
413
+ id: string;
414
+ type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
415
+ }[];
416
+ }>;
417
+ path: z.ZodObject<{
418
+ app_token: z.ZodString;
419
+ role_id: z.ZodString;
420
+ }, "strip", z.ZodTypeAny, {
421
+ app_token: string;
422
+ role_id: string;
423
+ }, {
424
+ app_token: string;
425
+ role_id: string;
426
+ }>;
427
+ useUAT: z.ZodOptional<z.ZodBoolean>;
428
+ };
429
+ };
430
+ export declare const bitableV1AppRoleMemberCreate: {
431
+ project: string;
432
+ name: string;
433
+ sdkName: string;
434
+ path: string;
435
+ httpMethod: string;
436
+ description: string;
437
+ accessTokens: string[];
438
+ schema: {
439
+ data: z.ZodObject<{
440
+ member_id: z.ZodString;
441
+ }, "strip", z.ZodTypeAny, {
442
+ member_id: string;
443
+ }, {
444
+ member_id: string;
445
+ }>;
446
+ params: z.ZodOptional<z.ZodObject<{
447
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "chat_id", "department_id", "open_department_id"]>>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
450
+ }, {
451
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
452
+ }>>;
453
+ path: z.ZodOptional<z.ZodObject<{
454
+ app_token: z.ZodOptional<z.ZodString>;
455
+ role_id: z.ZodOptional<z.ZodString>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ app_token?: string | undefined;
458
+ role_id?: string | undefined;
459
+ }, {
460
+ app_token?: string | undefined;
461
+ role_id?: string | undefined;
462
+ }>>;
463
+ useUAT: z.ZodOptional<z.ZodBoolean>;
464
+ };
465
+ };
466
+ export declare const bitableV1AppRoleMemberDelete: {
467
+ project: string;
468
+ name: string;
469
+ sdkName: string;
470
+ path: string;
471
+ httpMethod: string;
472
+ description: string;
473
+ accessTokens: string[];
474
+ schema: {
475
+ params: z.ZodOptional<z.ZodObject<{
476
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "chat_id", "department_id", "open_department_id"]>>;
477
+ }, "strip", z.ZodTypeAny, {
478
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
479
+ }, {
480
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
481
+ }>>;
482
+ path: z.ZodObject<{
483
+ app_token: z.ZodOptional<z.ZodString>;
484
+ role_id: z.ZodOptional<z.ZodString>;
485
+ member_id: z.ZodString;
486
+ }, "strip", z.ZodTypeAny, {
487
+ member_id: string;
488
+ app_token?: string | undefined;
489
+ role_id?: string | undefined;
490
+ }, {
491
+ member_id: string;
492
+ app_token?: string | undefined;
493
+ role_id?: string | undefined;
494
+ }>;
495
+ useUAT: z.ZodOptional<z.ZodBoolean>;
496
+ };
497
+ };
498
+ export declare const bitableV1AppRoleMemberList: {
499
+ project: string;
500
+ name: string;
501
+ sdkName: string;
502
+ path: string;
503
+ httpMethod: string;
504
+ description: string;
505
+ accessTokens: string[];
506
+ schema: {
507
+ params: z.ZodOptional<z.ZodObject<{
508
+ page_size: z.ZodOptional<z.ZodNumber>;
509
+ page_token: z.ZodOptional<z.ZodString>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ page_size?: number | undefined;
512
+ page_token?: string | undefined;
513
+ }, {
514
+ page_size?: number | undefined;
515
+ page_token?: string | undefined;
516
+ }>>;
517
+ path: z.ZodObject<{
518
+ app_token: z.ZodString;
519
+ role_id: z.ZodString;
520
+ }, "strip", z.ZodTypeAny, {
521
+ app_token: string;
522
+ role_id: string;
523
+ }, {
524
+ app_token: string;
525
+ role_id: string;
526
+ }>;
527
+ useUAT: z.ZodOptional<z.ZodBoolean>;
528
+ };
529
+ };
530
+ export declare const bitableV1AppRoleUpdate: {
531
+ project: string;
532
+ name: string;
533
+ sdkName: string;
534
+ path: string;
535
+ httpMethod: string;
536
+ description: string;
537
+ accessTokens: string[];
538
+ schema: {
539
+ data: z.ZodObject<{
540
+ role_name: z.ZodString;
541
+ table_roles: z.ZodArray<z.ZodObject<{
542
+ table_perm: z.ZodNumber;
543
+ table_name: z.ZodOptional<z.ZodString>;
544
+ table_id: z.ZodOptional<z.ZodString>;
545
+ rec_rule: z.ZodOptional<z.ZodObject<{
546
+ conditions: z.ZodArray<z.ZodObject<{
547
+ field_name: z.ZodString;
548
+ operator: z.ZodOptional<z.ZodEnum<["is", "isNot", "contains", "doesNotContain", "isEmpty", "isNotEmpty"]>>;
549
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
550
+ }, "strip", z.ZodTypeAny, {
551
+ field_name: string;
552
+ value?: string[] | undefined;
553
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
554
+ }, {
555
+ field_name: string;
556
+ value?: string[] | undefined;
557
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
558
+ }>, "many">;
559
+ conjunction: z.ZodOptional<z.ZodEnum<["and", "or"]>>;
560
+ other_perm: z.ZodOptional<z.ZodNumber>;
561
+ }, "strip", z.ZodTypeAny, {
562
+ conditions: {
563
+ field_name: string;
564
+ value?: string[] | undefined;
565
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
566
+ }[];
567
+ conjunction?: "and" | "or" | undefined;
568
+ other_perm?: number | undefined;
569
+ }, {
570
+ conditions: {
571
+ field_name: string;
572
+ value?: string[] | undefined;
573
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
574
+ }[];
575
+ conjunction?: "and" | "or" | undefined;
576
+ other_perm?: number | undefined;
577
+ }>>;
578
+ field_perm: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
579
+ allow_add_record: z.ZodOptional<z.ZodBoolean>;
580
+ allow_delete_record: z.ZodOptional<z.ZodBoolean>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ table_perm: number;
583
+ table_name?: string | undefined;
584
+ table_id?: string | undefined;
585
+ rec_rule?: {
586
+ conditions: {
587
+ field_name: string;
588
+ value?: string[] | undefined;
589
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
590
+ }[];
591
+ conjunction?: "and" | "or" | undefined;
592
+ other_perm?: number | undefined;
593
+ } | undefined;
594
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
595
+ allow_add_record?: boolean | undefined;
596
+ allow_delete_record?: boolean | undefined;
597
+ }, {
598
+ table_perm: number;
599
+ table_name?: string | undefined;
600
+ table_id?: string | undefined;
601
+ rec_rule?: {
602
+ conditions: {
603
+ field_name: string;
604
+ value?: string[] | undefined;
605
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
606
+ }[];
607
+ conjunction?: "and" | "or" | undefined;
608
+ other_perm?: number | undefined;
609
+ } | undefined;
610
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
611
+ allow_add_record?: boolean | undefined;
612
+ allow_delete_record?: boolean | undefined;
613
+ }>, "many">;
614
+ block_roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
615
+ block_id: z.ZodString;
616
+ block_perm: z.ZodNumber;
617
+ }, "strip", z.ZodTypeAny, {
618
+ block_id: string;
619
+ block_perm: number;
620
+ }, {
621
+ block_id: string;
622
+ block_perm: number;
623
+ }>, "many">>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ role_name: string;
626
+ table_roles: {
627
+ table_perm: number;
628
+ table_name?: string | undefined;
629
+ table_id?: string | undefined;
630
+ rec_rule?: {
631
+ conditions: {
632
+ field_name: string;
633
+ value?: string[] | undefined;
634
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
635
+ }[];
636
+ conjunction?: "and" | "or" | undefined;
637
+ other_perm?: number | undefined;
638
+ } | undefined;
639
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
640
+ allow_add_record?: boolean | undefined;
641
+ allow_delete_record?: boolean | undefined;
642
+ }[];
643
+ block_roles?: {
644
+ block_id: string;
645
+ block_perm: number;
646
+ }[] | undefined;
647
+ }, {
648
+ role_name: string;
649
+ table_roles: {
650
+ table_perm: number;
651
+ table_name?: string | undefined;
652
+ table_id?: string | undefined;
653
+ rec_rule?: {
654
+ conditions: {
655
+ field_name: string;
656
+ value?: string[] | undefined;
657
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
658
+ }[];
659
+ conjunction?: "and" | "or" | undefined;
660
+ other_perm?: number | undefined;
661
+ } | undefined;
662
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
663
+ allow_add_record?: boolean | undefined;
664
+ allow_delete_record?: boolean | undefined;
665
+ }[];
666
+ block_roles?: {
667
+ block_id: string;
668
+ block_perm: number;
669
+ }[] | undefined;
670
+ }>;
671
+ path: z.ZodOptional<z.ZodObject<{
672
+ app_token: z.ZodOptional<z.ZodString>;
673
+ role_id: z.ZodOptional<z.ZodString>;
674
+ }, "strip", z.ZodTypeAny, {
675
+ app_token?: string | undefined;
676
+ role_id?: string | undefined;
677
+ }, {
678
+ app_token?: string | undefined;
679
+ role_id?: string | undefined;
680
+ }>>;
681
+ useUAT: z.ZodOptional<z.ZodBoolean>;
682
+ };
683
+ };
684
+ export declare const bitableV1AppTableBatchCreate: {
685
+ project: string;
686
+ name: string;
687
+ sdkName: string;
688
+ path: string;
689
+ httpMethod: string;
690
+ description: string;
691
+ accessTokens: string[];
692
+ schema: {
693
+ data: z.ZodOptional<z.ZodObject<{
694
+ tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
695
+ name: z.ZodOptional<z.ZodString>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ name?: string | undefined;
698
+ }, {
699
+ name?: string | undefined;
700
+ }>, "many">>;
701
+ }, "strip", z.ZodTypeAny, {
702
+ tables?: {
703
+ name?: string | undefined;
704
+ }[] | undefined;
705
+ }, {
706
+ tables?: {
707
+ name?: string | undefined;
708
+ }[] | undefined;
709
+ }>>;
710
+ params: z.ZodOptional<z.ZodObject<{
711
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
714
+ }, {
715
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
716
+ }>>;
717
+ path: z.ZodObject<{
718
+ app_token: z.ZodString;
719
+ }, "strip", z.ZodTypeAny, {
720
+ app_token: string;
721
+ }, {
722
+ app_token: string;
723
+ }>;
724
+ useUAT: z.ZodOptional<z.ZodBoolean>;
725
+ };
726
+ };
727
+ export declare const bitableV1AppTableBatchDelete: {
728
+ project: string;
729
+ name: string;
730
+ sdkName: string;
731
+ path: string;
732
+ httpMethod: string;
733
+ description: string;
734
+ accessTokens: string[];
735
+ schema: {
736
+ data: z.ZodOptional<z.ZodObject<{
737
+ table_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
738
+ }, "strip", z.ZodTypeAny, {
739
+ table_ids?: string[] | undefined;
740
+ }, {
741
+ table_ids?: string[] | undefined;
742
+ }>>;
743
+ path: z.ZodObject<{
744
+ app_token: z.ZodString;
745
+ }, "strip", z.ZodTypeAny, {
746
+ app_token: string;
747
+ }, {
748
+ app_token: string;
749
+ }>;
750
+ useUAT: z.ZodOptional<z.ZodBoolean>;
751
+ };
752
+ };
753
+ export declare const bitableV1AppTableCreate: {
754
+ project: string;
755
+ name: string;
756
+ sdkName: string;
757
+ path: string;
758
+ httpMethod: string;
759
+ description: string;
760
+ accessTokens: string[];
761
+ schema: {
762
+ data: z.ZodOptional<z.ZodObject<{
763
+ table: z.ZodOptional<z.ZodObject<{
764
+ name: z.ZodOptional<z.ZodString>;
765
+ default_view_name: z.ZodOptional<z.ZodString>;
766
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
767
+ field_name: z.ZodString;
768
+ type: z.ZodNumber;
769
+ ui_type: z.ZodOptional<z.ZodEnum<["Text", "Barcode", "Number", "Progress", "Currency", "Rating", "SingleSelect", "MultiSelect", "DateTime", "Checkbox", "User", "GroupChat", "Phone", "Url", "Attachment", "SingleLink", "Formula", "DuplexLink", "Location", "CreatedTime", "ModifiedTime", "CreatedUser", "ModifiedUser", "AutoNumber"]>>;
770
+ property: z.ZodOptional<z.ZodObject<{
771
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
772
+ name: z.ZodOptional<z.ZodString>;
773
+ id: z.ZodOptional<z.ZodString>;
774
+ color: z.ZodOptional<z.ZodNumber>;
775
+ }, "strip", z.ZodTypeAny, {
776
+ id?: string | undefined;
777
+ name?: string | undefined;
778
+ color?: number | undefined;
779
+ }, {
780
+ id?: string | undefined;
781
+ name?: string | undefined;
782
+ color?: number | undefined;
783
+ }>, "many">>;
784
+ formatter: z.ZodOptional<z.ZodString>;
785
+ date_formatter: z.ZodOptional<z.ZodString>;
786
+ auto_fill: z.ZodOptional<z.ZodBoolean>;
787
+ multiple: z.ZodOptional<z.ZodBoolean>;
788
+ table_id: z.ZodOptional<z.ZodString>;
789
+ table_name: z.ZodOptional<z.ZodString>;
790
+ back_field_name: z.ZodOptional<z.ZodString>;
791
+ auto_serial: z.ZodOptional<z.ZodObject<{
792
+ type: z.ZodEnum<["custom", "auto_increment_number"]>;
793
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
794
+ type: z.ZodEnum<["system_number", "fixed_text", "created_time"]>;
795
+ value: z.ZodString;
796
+ }, "strip", z.ZodTypeAny, {
797
+ value: string;
798
+ type: "system_number" | "fixed_text" | "created_time";
799
+ }, {
800
+ value: string;
801
+ type: "system_number" | "fixed_text" | "created_time";
802
+ }>, "many">>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ type: "custom" | "auto_increment_number";
805
+ options?: {
806
+ value: string;
807
+ type: "system_number" | "fixed_text" | "created_time";
808
+ }[] | undefined;
809
+ }, {
810
+ type: "custom" | "auto_increment_number";
811
+ options?: {
812
+ value: string;
813
+ type: "system_number" | "fixed_text" | "created_time";
814
+ }[] | undefined;
815
+ }>>;
816
+ location: z.ZodOptional<z.ZodObject<{
817
+ input_type: z.ZodEnum<["only_mobile", "not_limit"]>;
818
+ }, "strip", z.ZodTypeAny, {
819
+ input_type: "only_mobile" | "not_limit";
820
+ }, {
821
+ input_type: "only_mobile" | "not_limit";
822
+ }>>;
823
+ formula_expression: z.ZodOptional<z.ZodString>;
824
+ allowed_edit_modes: z.ZodOptional<z.ZodObject<{
825
+ manual: z.ZodOptional<z.ZodBoolean>;
826
+ scan: z.ZodOptional<z.ZodBoolean>;
827
+ }, "strip", z.ZodTypeAny, {
828
+ manual?: boolean | undefined;
829
+ scan?: boolean | undefined;
830
+ }, {
831
+ manual?: boolean | undefined;
832
+ scan?: boolean | undefined;
833
+ }>>;
834
+ min: z.ZodOptional<z.ZodNumber>;
835
+ max: z.ZodOptional<z.ZodNumber>;
836
+ range_customize: z.ZodOptional<z.ZodBoolean>;
837
+ currency_code: z.ZodOptional<z.ZodString>;
838
+ rating: z.ZodOptional<z.ZodObject<{
839
+ symbol: z.ZodOptional<z.ZodString>;
840
+ }, "strip", z.ZodTypeAny, {
841
+ symbol?: string | undefined;
842
+ }, {
843
+ symbol?: string | undefined;
844
+ }>>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ options?: {
847
+ id?: string | undefined;
848
+ name?: string | undefined;
849
+ color?: number | undefined;
850
+ }[] | undefined;
851
+ table_name?: string | undefined;
852
+ table_id?: string | undefined;
853
+ formatter?: string | undefined;
854
+ date_formatter?: string | undefined;
855
+ auto_fill?: boolean | undefined;
856
+ multiple?: boolean | undefined;
857
+ back_field_name?: string | undefined;
858
+ auto_serial?: {
859
+ type: "custom" | "auto_increment_number";
860
+ options?: {
861
+ value: string;
862
+ type: "system_number" | "fixed_text" | "created_time";
863
+ }[] | undefined;
864
+ } | undefined;
865
+ location?: {
866
+ input_type: "only_mobile" | "not_limit";
867
+ } | undefined;
868
+ formula_expression?: string | undefined;
869
+ allowed_edit_modes?: {
870
+ manual?: boolean | undefined;
871
+ scan?: boolean | undefined;
872
+ } | undefined;
873
+ min?: number | undefined;
874
+ max?: number | undefined;
875
+ range_customize?: boolean | undefined;
876
+ currency_code?: string | undefined;
877
+ rating?: {
878
+ symbol?: string | undefined;
879
+ } | undefined;
880
+ }, {
881
+ options?: {
882
+ id?: string | undefined;
883
+ name?: string | undefined;
884
+ color?: number | undefined;
885
+ }[] | undefined;
886
+ table_name?: string | undefined;
887
+ table_id?: string | undefined;
888
+ formatter?: string | undefined;
889
+ date_formatter?: string | undefined;
890
+ auto_fill?: boolean | undefined;
891
+ multiple?: boolean | undefined;
892
+ back_field_name?: string | undefined;
893
+ auto_serial?: {
894
+ type: "custom" | "auto_increment_number";
895
+ options?: {
896
+ value: string;
897
+ type: "system_number" | "fixed_text" | "created_time";
898
+ }[] | undefined;
899
+ } | undefined;
900
+ location?: {
901
+ input_type: "only_mobile" | "not_limit";
902
+ } | undefined;
903
+ formula_expression?: string | undefined;
904
+ allowed_edit_modes?: {
905
+ manual?: boolean | undefined;
906
+ scan?: boolean | undefined;
907
+ } | undefined;
908
+ min?: number | undefined;
909
+ max?: number | undefined;
910
+ range_customize?: boolean | undefined;
911
+ currency_code?: string | undefined;
912
+ rating?: {
913
+ symbol?: string | undefined;
914
+ } | undefined;
915
+ }>>;
916
+ description: z.ZodOptional<z.ZodObject<{
917
+ disable_sync: z.ZodOptional<z.ZodBoolean>;
918
+ text: z.ZodOptional<z.ZodString>;
919
+ }, "strip", z.ZodTypeAny, {
920
+ text?: string | undefined;
921
+ disable_sync?: boolean | undefined;
922
+ }, {
923
+ text?: string | undefined;
924
+ disable_sync?: boolean | undefined;
925
+ }>>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ type: number;
928
+ field_name: string;
929
+ description?: {
930
+ text?: string | undefined;
931
+ disable_sync?: boolean | undefined;
932
+ } | undefined;
933
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
934
+ property?: {
935
+ options?: {
936
+ id?: string | undefined;
937
+ name?: string | undefined;
938
+ color?: number | undefined;
939
+ }[] | undefined;
940
+ table_name?: string | undefined;
941
+ table_id?: string | undefined;
942
+ formatter?: string | undefined;
943
+ date_formatter?: string | undefined;
944
+ auto_fill?: boolean | undefined;
945
+ multiple?: boolean | undefined;
946
+ back_field_name?: string | undefined;
947
+ auto_serial?: {
948
+ type: "custom" | "auto_increment_number";
949
+ options?: {
950
+ value: string;
951
+ type: "system_number" | "fixed_text" | "created_time";
952
+ }[] | undefined;
953
+ } | undefined;
954
+ location?: {
955
+ input_type: "only_mobile" | "not_limit";
956
+ } | undefined;
957
+ formula_expression?: string | undefined;
958
+ allowed_edit_modes?: {
959
+ manual?: boolean | undefined;
960
+ scan?: boolean | undefined;
961
+ } | undefined;
962
+ min?: number | undefined;
963
+ max?: number | undefined;
964
+ range_customize?: boolean | undefined;
965
+ currency_code?: string | undefined;
966
+ rating?: {
967
+ symbol?: string | undefined;
968
+ } | undefined;
969
+ } | undefined;
970
+ }, {
971
+ type: number;
972
+ field_name: string;
973
+ description?: {
974
+ text?: string | undefined;
975
+ disable_sync?: boolean | undefined;
976
+ } | undefined;
977
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
978
+ property?: {
979
+ options?: {
980
+ id?: string | undefined;
981
+ name?: string | undefined;
982
+ color?: number | undefined;
983
+ }[] | undefined;
984
+ table_name?: string | undefined;
985
+ table_id?: string | undefined;
986
+ formatter?: string | undefined;
987
+ date_formatter?: string | undefined;
988
+ auto_fill?: boolean | undefined;
989
+ multiple?: boolean | undefined;
990
+ back_field_name?: string | undefined;
991
+ auto_serial?: {
992
+ type: "custom" | "auto_increment_number";
993
+ options?: {
994
+ value: string;
995
+ type: "system_number" | "fixed_text" | "created_time";
996
+ }[] | undefined;
997
+ } | undefined;
998
+ location?: {
999
+ input_type: "only_mobile" | "not_limit";
1000
+ } | undefined;
1001
+ formula_expression?: string | undefined;
1002
+ allowed_edit_modes?: {
1003
+ manual?: boolean | undefined;
1004
+ scan?: boolean | undefined;
1005
+ } | undefined;
1006
+ min?: number | undefined;
1007
+ max?: number | undefined;
1008
+ range_customize?: boolean | undefined;
1009
+ currency_code?: string | undefined;
1010
+ rating?: {
1011
+ symbol?: string | undefined;
1012
+ } | undefined;
1013
+ } | undefined;
1014
+ }>, "many">>;
1015
+ }, "strip", z.ZodTypeAny, {
1016
+ name?: string | undefined;
1017
+ default_view_name?: string | undefined;
1018
+ fields?: {
1019
+ type: number;
1020
+ field_name: string;
1021
+ description?: {
1022
+ text?: string | undefined;
1023
+ disable_sync?: boolean | undefined;
1024
+ } | undefined;
1025
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
1026
+ property?: {
1027
+ options?: {
1028
+ id?: string | undefined;
1029
+ name?: string | undefined;
1030
+ color?: number | undefined;
1031
+ }[] | undefined;
1032
+ table_name?: string | undefined;
1033
+ table_id?: string | undefined;
1034
+ formatter?: string | undefined;
1035
+ date_formatter?: string | undefined;
1036
+ auto_fill?: boolean | undefined;
1037
+ multiple?: boolean | undefined;
1038
+ back_field_name?: string | undefined;
1039
+ auto_serial?: {
1040
+ type: "custom" | "auto_increment_number";
1041
+ options?: {
1042
+ value: string;
1043
+ type: "system_number" | "fixed_text" | "created_time";
1044
+ }[] | undefined;
1045
+ } | undefined;
1046
+ location?: {
1047
+ input_type: "only_mobile" | "not_limit";
1048
+ } | undefined;
1049
+ formula_expression?: string | undefined;
1050
+ allowed_edit_modes?: {
1051
+ manual?: boolean | undefined;
1052
+ scan?: boolean | undefined;
1053
+ } | undefined;
1054
+ min?: number | undefined;
1055
+ max?: number | undefined;
1056
+ range_customize?: boolean | undefined;
1057
+ currency_code?: string | undefined;
1058
+ rating?: {
1059
+ symbol?: string | undefined;
1060
+ } | undefined;
1061
+ } | undefined;
1062
+ }[] | undefined;
1063
+ }, {
1064
+ name?: string | undefined;
1065
+ default_view_name?: string | undefined;
1066
+ fields?: {
1067
+ type: number;
1068
+ field_name: string;
1069
+ description?: {
1070
+ text?: string | undefined;
1071
+ disable_sync?: boolean | undefined;
1072
+ } | undefined;
1073
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
1074
+ property?: {
1075
+ options?: {
1076
+ id?: string | undefined;
1077
+ name?: string | undefined;
1078
+ color?: number | undefined;
1079
+ }[] | undefined;
1080
+ table_name?: string | undefined;
1081
+ table_id?: string | undefined;
1082
+ formatter?: string | undefined;
1083
+ date_formatter?: string | undefined;
1084
+ auto_fill?: boolean | undefined;
1085
+ multiple?: boolean | undefined;
1086
+ back_field_name?: string | undefined;
1087
+ auto_serial?: {
1088
+ type: "custom" | "auto_increment_number";
1089
+ options?: {
1090
+ value: string;
1091
+ type: "system_number" | "fixed_text" | "created_time";
1092
+ }[] | undefined;
1093
+ } | undefined;
1094
+ location?: {
1095
+ input_type: "only_mobile" | "not_limit";
1096
+ } | undefined;
1097
+ formula_expression?: string | undefined;
1098
+ allowed_edit_modes?: {
1099
+ manual?: boolean | undefined;
1100
+ scan?: boolean | undefined;
1101
+ } | undefined;
1102
+ min?: number | undefined;
1103
+ max?: number | undefined;
1104
+ range_customize?: boolean | undefined;
1105
+ currency_code?: string | undefined;
1106
+ rating?: {
1107
+ symbol?: string | undefined;
1108
+ } | undefined;
1109
+ } | undefined;
1110
+ }[] | undefined;
1111
+ }>>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ table?: {
1114
+ name?: string | undefined;
1115
+ default_view_name?: string | undefined;
1116
+ fields?: {
1117
+ type: number;
1118
+ field_name: string;
1119
+ description?: {
1120
+ text?: string | undefined;
1121
+ disable_sync?: boolean | undefined;
1122
+ } | undefined;
1123
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
1124
+ property?: {
1125
+ options?: {
1126
+ id?: string | undefined;
1127
+ name?: string | undefined;
1128
+ color?: number | undefined;
1129
+ }[] | undefined;
1130
+ table_name?: string | undefined;
1131
+ table_id?: string | undefined;
1132
+ formatter?: string | undefined;
1133
+ date_formatter?: string | undefined;
1134
+ auto_fill?: boolean | undefined;
1135
+ multiple?: boolean | undefined;
1136
+ back_field_name?: string | undefined;
1137
+ auto_serial?: {
1138
+ type: "custom" | "auto_increment_number";
1139
+ options?: {
1140
+ value: string;
1141
+ type: "system_number" | "fixed_text" | "created_time";
1142
+ }[] | undefined;
1143
+ } | undefined;
1144
+ location?: {
1145
+ input_type: "only_mobile" | "not_limit";
1146
+ } | undefined;
1147
+ formula_expression?: string | undefined;
1148
+ allowed_edit_modes?: {
1149
+ manual?: boolean | undefined;
1150
+ scan?: boolean | undefined;
1151
+ } | undefined;
1152
+ min?: number | undefined;
1153
+ max?: number | undefined;
1154
+ range_customize?: boolean | undefined;
1155
+ currency_code?: string | undefined;
1156
+ rating?: {
1157
+ symbol?: string | undefined;
1158
+ } | undefined;
1159
+ } | undefined;
1160
+ }[] | undefined;
1161
+ } | undefined;
1162
+ }, {
1163
+ table?: {
1164
+ name?: string | undefined;
1165
+ default_view_name?: string | undefined;
1166
+ fields?: {
1167
+ type: number;
1168
+ field_name: string;
1169
+ description?: {
1170
+ text?: string | undefined;
1171
+ disable_sync?: boolean | undefined;
1172
+ } | undefined;
1173
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | undefined;
1174
+ property?: {
1175
+ options?: {
1176
+ id?: string | undefined;
1177
+ name?: string | undefined;
1178
+ color?: number | undefined;
1179
+ }[] | undefined;
1180
+ table_name?: string | undefined;
1181
+ table_id?: string | undefined;
1182
+ formatter?: string | undefined;
1183
+ date_formatter?: string | undefined;
1184
+ auto_fill?: boolean | undefined;
1185
+ multiple?: boolean | undefined;
1186
+ back_field_name?: string | undefined;
1187
+ auto_serial?: {
1188
+ type: "custom" | "auto_increment_number";
1189
+ options?: {
1190
+ value: string;
1191
+ type: "system_number" | "fixed_text" | "created_time";
1192
+ }[] | undefined;
1193
+ } | undefined;
1194
+ location?: {
1195
+ input_type: "only_mobile" | "not_limit";
1196
+ } | undefined;
1197
+ formula_expression?: string | undefined;
1198
+ allowed_edit_modes?: {
1199
+ manual?: boolean | undefined;
1200
+ scan?: boolean | undefined;
1201
+ } | undefined;
1202
+ min?: number | undefined;
1203
+ max?: number | undefined;
1204
+ range_customize?: boolean | undefined;
1205
+ currency_code?: string | undefined;
1206
+ rating?: {
1207
+ symbol?: string | undefined;
1208
+ } | undefined;
1209
+ } | undefined;
1210
+ }[] | undefined;
1211
+ } | undefined;
1212
+ }>>;
1213
+ path: z.ZodObject<{
1214
+ app_token: z.ZodString;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ app_token: string;
1217
+ }, {
1218
+ app_token: string;
1219
+ }>;
1220
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1221
+ };
1222
+ };
1223
+ export declare const bitableV1AppTableDelete: {
1224
+ project: string;
1225
+ name: string;
1226
+ sdkName: string;
1227
+ path: string;
1228
+ httpMethod: string;
1229
+ description: string;
1230
+ accessTokens: string[];
1231
+ schema: {
1232
+ path: z.ZodObject<{
1233
+ app_token: z.ZodString;
1234
+ table_id: z.ZodString;
1235
+ }, "strip", z.ZodTypeAny, {
1236
+ table_id: string;
1237
+ app_token: string;
1238
+ }, {
1239
+ table_id: string;
1240
+ app_token: string;
1241
+ }>;
1242
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1243
+ };
1244
+ };
1245
+ export declare const bitableV1AppTableFieldCreate: {
1246
+ project: string;
1247
+ name: string;
1248
+ sdkName: string;
1249
+ path: string;
1250
+ httpMethod: string;
1251
+ description: string;
1252
+ accessTokens: string[];
1253
+ schema: {
1254
+ data: z.ZodObject<{
1255
+ field_name: z.ZodString;
1256
+ type: z.ZodNumber;
1257
+ property: z.ZodOptional<z.ZodObject<{
1258
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1259
+ name: z.ZodOptional<z.ZodString>;
1260
+ id: z.ZodOptional<z.ZodString>;
1261
+ color: z.ZodOptional<z.ZodNumber>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ id?: string | undefined;
1264
+ name?: string | undefined;
1265
+ color?: number | undefined;
1266
+ }, {
1267
+ id?: string | undefined;
1268
+ name?: string | undefined;
1269
+ color?: number | undefined;
1270
+ }>, "many">>;
1271
+ formatter: z.ZodOptional<z.ZodString>;
1272
+ date_formatter: z.ZodOptional<z.ZodString>;
1273
+ auto_fill: z.ZodOptional<z.ZodBoolean>;
1274
+ multiple: z.ZodOptional<z.ZodBoolean>;
1275
+ table_id: z.ZodOptional<z.ZodString>;
1276
+ back_field_name: z.ZodOptional<z.ZodString>;
1277
+ auto_serial: z.ZodOptional<z.ZodObject<{
1278
+ type: z.ZodEnum<["custom", "auto_increment_number"]>;
1279
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1280
+ type: z.ZodEnum<["system_number", "fixed_text", "created_time"]>;
1281
+ value: z.ZodString;
1282
+ }, "strip", z.ZodTypeAny, {
1283
+ value: string;
1284
+ type: "system_number" | "fixed_text" | "created_time";
1285
+ }, {
1286
+ value: string;
1287
+ type: "system_number" | "fixed_text" | "created_time";
1288
+ }>, "many">>;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ type: "custom" | "auto_increment_number";
1291
+ options?: {
1292
+ value: string;
1293
+ type: "system_number" | "fixed_text" | "created_time";
1294
+ }[] | undefined;
1295
+ }, {
1296
+ type: "custom" | "auto_increment_number";
1297
+ options?: {
1298
+ value: string;
1299
+ type: "system_number" | "fixed_text" | "created_time";
1300
+ }[] | undefined;
1301
+ }>>;
1302
+ location: z.ZodOptional<z.ZodObject<{
1303
+ input_type: z.ZodEnum<["only_mobile", "not_limit"]>;
1304
+ }, "strip", z.ZodTypeAny, {
1305
+ input_type: "only_mobile" | "not_limit";
1306
+ }, {
1307
+ input_type: "only_mobile" | "not_limit";
1308
+ }>>;
1309
+ formula_expression: z.ZodOptional<z.ZodString>;
1310
+ allowed_edit_modes: z.ZodOptional<z.ZodObject<{
1311
+ manual: z.ZodOptional<z.ZodBoolean>;
1312
+ scan: z.ZodOptional<z.ZodBoolean>;
1313
+ }, "strip", z.ZodTypeAny, {
1314
+ manual?: boolean | undefined;
1315
+ scan?: boolean | undefined;
1316
+ }, {
1317
+ manual?: boolean | undefined;
1318
+ scan?: boolean | undefined;
1319
+ }>>;
1320
+ min: z.ZodOptional<z.ZodNumber>;
1321
+ max: z.ZodOptional<z.ZodNumber>;
1322
+ range_customize: z.ZodOptional<z.ZodBoolean>;
1323
+ currency_code: z.ZodOptional<z.ZodString>;
1324
+ rating: z.ZodOptional<z.ZodObject<{
1325
+ symbol: z.ZodOptional<z.ZodString>;
1326
+ }, "strip", z.ZodTypeAny, {
1327
+ symbol?: string | undefined;
1328
+ }, {
1329
+ symbol?: string | undefined;
1330
+ }>>;
1331
+ type: z.ZodOptional<z.ZodObject<{
1332
+ data_type: z.ZodNumber;
1333
+ ui_property: z.ZodOptional<z.ZodObject<{
1334
+ currency_code: z.ZodOptional<z.ZodString>;
1335
+ formatter: z.ZodOptional<z.ZodString>;
1336
+ range_customize: z.ZodOptional<z.ZodBoolean>;
1337
+ min: z.ZodOptional<z.ZodNumber>;
1338
+ max: z.ZodOptional<z.ZodNumber>;
1339
+ date_formatter: z.ZodOptional<z.ZodString>;
1340
+ rating: z.ZodOptional<z.ZodObject<{
1341
+ symbol: z.ZodOptional<z.ZodString>;
1342
+ }, "strip", z.ZodTypeAny, {
1343
+ symbol?: string | undefined;
1344
+ }, {
1345
+ symbol?: string | undefined;
1346
+ }>>;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ formatter?: string | undefined;
1349
+ date_formatter?: string | undefined;
1350
+ min?: number | undefined;
1351
+ max?: number | undefined;
1352
+ range_customize?: boolean | undefined;
1353
+ currency_code?: string | undefined;
1354
+ rating?: {
1355
+ symbol?: string | undefined;
1356
+ } | undefined;
1357
+ }, {
1358
+ formatter?: string | undefined;
1359
+ date_formatter?: string | undefined;
1360
+ min?: number | undefined;
1361
+ max?: number | undefined;
1362
+ range_customize?: boolean | undefined;
1363
+ currency_code?: string | undefined;
1364
+ rating?: {
1365
+ symbol?: string | undefined;
1366
+ } | undefined;
1367
+ }>>;
1368
+ ui_type: z.ZodOptional<z.ZodEnum<["Number", "Progress", "Currency", "Rating", "DateTime"]>>;
1369
+ }, "strip", z.ZodTypeAny, {
1370
+ data_type: number;
1371
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1372
+ ui_property?: {
1373
+ formatter?: string | undefined;
1374
+ date_formatter?: string | undefined;
1375
+ min?: number | undefined;
1376
+ max?: number | undefined;
1377
+ range_customize?: boolean | undefined;
1378
+ currency_code?: string | undefined;
1379
+ rating?: {
1380
+ symbol?: string | undefined;
1381
+ } | undefined;
1382
+ } | undefined;
1383
+ }, {
1384
+ data_type: number;
1385
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1386
+ ui_property?: {
1387
+ formatter?: string | undefined;
1388
+ date_formatter?: string | undefined;
1389
+ min?: number | undefined;
1390
+ max?: number | undefined;
1391
+ range_customize?: boolean | undefined;
1392
+ currency_code?: string | undefined;
1393
+ rating?: {
1394
+ symbol?: string | undefined;
1395
+ } | undefined;
1396
+ } | undefined;
1397
+ }>>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ options?: {
1400
+ id?: string | undefined;
1401
+ name?: string | undefined;
1402
+ color?: number | undefined;
1403
+ }[] | undefined;
1404
+ type?: {
1405
+ data_type: number;
1406
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1407
+ ui_property?: {
1408
+ formatter?: string | undefined;
1409
+ date_formatter?: string | undefined;
1410
+ min?: number | undefined;
1411
+ max?: number | undefined;
1412
+ range_customize?: boolean | undefined;
1413
+ currency_code?: string | undefined;
1414
+ rating?: {
1415
+ symbol?: string | undefined;
1416
+ } | undefined;
1417
+ } | undefined;
1418
+ } | undefined;
1419
+ table_id?: string | undefined;
1420
+ formatter?: string | undefined;
1421
+ date_formatter?: string | undefined;
1422
+ auto_fill?: boolean | undefined;
1423
+ multiple?: boolean | undefined;
1424
+ back_field_name?: string | undefined;
1425
+ auto_serial?: {
1426
+ type: "custom" | "auto_increment_number";
1427
+ options?: {
1428
+ value: string;
1429
+ type: "system_number" | "fixed_text" | "created_time";
1430
+ }[] | undefined;
1431
+ } | undefined;
1432
+ location?: {
1433
+ input_type: "only_mobile" | "not_limit";
1434
+ } | undefined;
1435
+ formula_expression?: string | undefined;
1436
+ allowed_edit_modes?: {
1437
+ manual?: boolean | undefined;
1438
+ scan?: boolean | undefined;
1439
+ } | undefined;
1440
+ min?: number | undefined;
1441
+ max?: number | undefined;
1442
+ range_customize?: boolean | undefined;
1443
+ currency_code?: string | undefined;
1444
+ rating?: {
1445
+ symbol?: string | undefined;
1446
+ } | undefined;
1447
+ }, {
1448
+ options?: {
1449
+ id?: string | undefined;
1450
+ name?: string | undefined;
1451
+ color?: number | undefined;
1452
+ }[] | undefined;
1453
+ type?: {
1454
+ data_type: number;
1455
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1456
+ ui_property?: {
1457
+ formatter?: string | undefined;
1458
+ date_formatter?: string | undefined;
1459
+ min?: number | undefined;
1460
+ max?: number | undefined;
1461
+ range_customize?: boolean | undefined;
1462
+ currency_code?: string | undefined;
1463
+ rating?: {
1464
+ symbol?: string | undefined;
1465
+ } | undefined;
1466
+ } | undefined;
1467
+ } | undefined;
1468
+ table_id?: string | undefined;
1469
+ formatter?: string | undefined;
1470
+ date_formatter?: string | undefined;
1471
+ auto_fill?: boolean | undefined;
1472
+ multiple?: boolean | undefined;
1473
+ back_field_name?: string | undefined;
1474
+ auto_serial?: {
1475
+ type: "custom" | "auto_increment_number";
1476
+ options?: {
1477
+ value: string;
1478
+ type: "system_number" | "fixed_text" | "created_time";
1479
+ }[] | undefined;
1480
+ } | undefined;
1481
+ location?: {
1482
+ input_type: "only_mobile" | "not_limit";
1483
+ } | undefined;
1484
+ formula_expression?: string | undefined;
1485
+ allowed_edit_modes?: {
1486
+ manual?: boolean | undefined;
1487
+ scan?: boolean | undefined;
1488
+ } | undefined;
1489
+ min?: number | undefined;
1490
+ max?: number | undefined;
1491
+ range_customize?: boolean | undefined;
1492
+ currency_code?: string | undefined;
1493
+ rating?: {
1494
+ symbol?: string | undefined;
1495
+ } | undefined;
1496
+ }>>;
1497
+ description: z.ZodOptional<z.ZodObject<{
1498
+ disable_sync: z.ZodOptional<z.ZodBoolean>;
1499
+ text: z.ZodOptional<z.ZodString>;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ text?: string | undefined;
1502
+ disable_sync?: boolean | undefined;
1503
+ }, {
1504
+ text?: string | undefined;
1505
+ disable_sync?: boolean | undefined;
1506
+ }>>;
1507
+ ui_type: z.ZodOptional<z.ZodEnum<["Text", "Email", "Barcode", "Number", "Progress", "Currency", "Rating", "SingleSelect", "MultiSelect", "DateTime", "Checkbox", "User", "GroupChat", "Phone", "Url", "Attachment", "SingleLink", "Formula", "DuplexLink", "Location", "CreatedTime", "ModifiedTime", "CreatedUser", "ModifiedUser", "AutoNumber"]>>;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ type: number;
1510
+ field_name: string;
1511
+ description?: {
1512
+ text?: string | undefined;
1513
+ disable_sync?: boolean | undefined;
1514
+ } | undefined;
1515
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | "Email" | undefined;
1516
+ property?: {
1517
+ options?: {
1518
+ id?: string | undefined;
1519
+ name?: string | undefined;
1520
+ color?: number | undefined;
1521
+ }[] | undefined;
1522
+ type?: {
1523
+ data_type: number;
1524
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1525
+ ui_property?: {
1526
+ formatter?: string | undefined;
1527
+ date_formatter?: string | undefined;
1528
+ min?: number | undefined;
1529
+ max?: number | undefined;
1530
+ range_customize?: boolean | undefined;
1531
+ currency_code?: string | undefined;
1532
+ rating?: {
1533
+ symbol?: string | undefined;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ } | undefined;
1537
+ table_id?: string | undefined;
1538
+ formatter?: string | undefined;
1539
+ date_formatter?: string | undefined;
1540
+ auto_fill?: boolean | undefined;
1541
+ multiple?: boolean | undefined;
1542
+ back_field_name?: string | undefined;
1543
+ auto_serial?: {
1544
+ type: "custom" | "auto_increment_number";
1545
+ options?: {
1546
+ value: string;
1547
+ type: "system_number" | "fixed_text" | "created_time";
1548
+ }[] | undefined;
1549
+ } | undefined;
1550
+ location?: {
1551
+ input_type: "only_mobile" | "not_limit";
1552
+ } | undefined;
1553
+ formula_expression?: string | undefined;
1554
+ allowed_edit_modes?: {
1555
+ manual?: boolean | undefined;
1556
+ scan?: boolean | undefined;
1557
+ } | undefined;
1558
+ min?: number | undefined;
1559
+ max?: number | undefined;
1560
+ range_customize?: boolean | undefined;
1561
+ currency_code?: string | undefined;
1562
+ rating?: {
1563
+ symbol?: string | undefined;
1564
+ } | undefined;
1565
+ } | undefined;
1566
+ }, {
1567
+ type: number;
1568
+ field_name: string;
1569
+ description?: {
1570
+ text?: string | undefined;
1571
+ disable_sync?: boolean | undefined;
1572
+ } | undefined;
1573
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | "Email" | undefined;
1574
+ property?: {
1575
+ options?: {
1576
+ id?: string | undefined;
1577
+ name?: string | undefined;
1578
+ color?: number | undefined;
1579
+ }[] | undefined;
1580
+ type?: {
1581
+ data_type: number;
1582
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1583
+ ui_property?: {
1584
+ formatter?: string | undefined;
1585
+ date_formatter?: string | undefined;
1586
+ min?: number | undefined;
1587
+ max?: number | undefined;
1588
+ range_customize?: boolean | undefined;
1589
+ currency_code?: string | undefined;
1590
+ rating?: {
1591
+ symbol?: string | undefined;
1592
+ } | undefined;
1593
+ } | undefined;
1594
+ } | undefined;
1595
+ table_id?: string | undefined;
1596
+ formatter?: string | undefined;
1597
+ date_formatter?: string | undefined;
1598
+ auto_fill?: boolean | undefined;
1599
+ multiple?: boolean | undefined;
1600
+ back_field_name?: string | undefined;
1601
+ auto_serial?: {
1602
+ type: "custom" | "auto_increment_number";
1603
+ options?: {
1604
+ value: string;
1605
+ type: "system_number" | "fixed_text" | "created_time";
1606
+ }[] | undefined;
1607
+ } | undefined;
1608
+ location?: {
1609
+ input_type: "only_mobile" | "not_limit";
1610
+ } | undefined;
1611
+ formula_expression?: string | undefined;
1612
+ allowed_edit_modes?: {
1613
+ manual?: boolean | undefined;
1614
+ scan?: boolean | undefined;
1615
+ } | undefined;
1616
+ min?: number | undefined;
1617
+ max?: number | undefined;
1618
+ range_customize?: boolean | undefined;
1619
+ currency_code?: string | undefined;
1620
+ rating?: {
1621
+ symbol?: string | undefined;
1622
+ } | undefined;
1623
+ } | undefined;
1624
+ }>;
1625
+ params: z.ZodOptional<z.ZodObject<{
1626
+ client_token: z.ZodOptional<z.ZodString>;
1627
+ }, "strip", z.ZodTypeAny, {
1628
+ client_token?: string | undefined;
1629
+ }, {
1630
+ client_token?: string | undefined;
1631
+ }>>;
1632
+ path: z.ZodObject<{
1633
+ app_token: z.ZodString;
1634
+ table_id: z.ZodString;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ table_id: string;
1637
+ app_token: string;
1638
+ }, {
1639
+ table_id: string;
1640
+ app_token: string;
1641
+ }>;
1642
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1643
+ };
1644
+ };
1645
+ export declare const bitableV1AppTableFieldDelete: {
1646
+ project: string;
1647
+ name: string;
1648
+ sdkName: string;
1649
+ path: string;
1650
+ httpMethod: string;
1651
+ description: string;
1652
+ accessTokens: string[];
1653
+ schema: {
1654
+ path: z.ZodObject<{
1655
+ app_token: z.ZodString;
1656
+ table_id: z.ZodString;
1657
+ field_id: z.ZodString;
1658
+ }, "strip", z.ZodTypeAny, {
1659
+ table_id: string;
1660
+ app_token: string;
1661
+ field_id: string;
1662
+ }, {
1663
+ table_id: string;
1664
+ app_token: string;
1665
+ field_id: string;
1666
+ }>;
1667
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1668
+ };
1669
+ };
1670
+ export declare const bitableV1AppTableFieldList: {
1671
+ project: string;
1672
+ name: string;
1673
+ sdkName: string;
1674
+ path: string;
1675
+ httpMethod: string;
1676
+ description: string;
1677
+ accessTokens: string[];
1678
+ schema: {
1679
+ params: z.ZodOptional<z.ZodObject<{
1680
+ view_id: z.ZodOptional<z.ZodString>;
1681
+ text_field_as_array: z.ZodOptional<z.ZodBoolean>;
1682
+ page_token: z.ZodOptional<z.ZodString>;
1683
+ page_size: z.ZodOptional<z.ZodNumber>;
1684
+ }, "strip", z.ZodTypeAny, {
1685
+ page_size?: number | undefined;
1686
+ page_token?: string | undefined;
1687
+ view_id?: string | undefined;
1688
+ text_field_as_array?: boolean | undefined;
1689
+ }, {
1690
+ page_size?: number | undefined;
1691
+ page_token?: string | undefined;
1692
+ view_id?: string | undefined;
1693
+ text_field_as_array?: boolean | undefined;
1694
+ }>>;
1695
+ path: z.ZodObject<{
1696
+ app_token: z.ZodString;
1697
+ table_id: z.ZodString;
1698
+ }, "strip", z.ZodTypeAny, {
1699
+ table_id: string;
1700
+ app_token: string;
1701
+ }, {
1702
+ table_id: string;
1703
+ app_token: string;
1704
+ }>;
1705
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1706
+ };
1707
+ };
1708
+ export declare const bitableV1AppTableFieldUpdate: {
1709
+ project: string;
1710
+ name: string;
1711
+ sdkName: string;
1712
+ path: string;
1713
+ httpMethod: string;
1714
+ description: string;
1715
+ accessTokens: string[];
1716
+ schema: {
1717
+ data: z.ZodObject<{
1718
+ field_name: z.ZodString;
1719
+ type: z.ZodNumber;
1720
+ property: z.ZodOptional<z.ZodObject<{
1721
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1722
+ name: z.ZodOptional<z.ZodString>;
1723
+ id: z.ZodOptional<z.ZodString>;
1724
+ color: z.ZodOptional<z.ZodNumber>;
1725
+ }, "strip", z.ZodTypeAny, {
1726
+ id?: string | undefined;
1727
+ name?: string | undefined;
1728
+ color?: number | undefined;
1729
+ }, {
1730
+ id?: string | undefined;
1731
+ name?: string | undefined;
1732
+ color?: number | undefined;
1733
+ }>, "many">>;
1734
+ formatter: z.ZodOptional<z.ZodString>;
1735
+ date_formatter: z.ZodOptional<z.ZodString>;
1736
+ auto_fill: z.ZodOptional<z.ZodBoolean>;
1737
+ multiple: z.ZodOptional<z.ZodBoolean>;
1738
+ table_id: z.ZodOptional<z.ZodString>;
1739
+ table_name: z.ZodOptional<z.ZodString>;
1740
+ back_field_name: z.ZodOptional<z.ZodString>;
1741
+ auto_serial: z.ZodOptional<z.ZodObject<{
1742
+ type: z.ZodEnum<["custom", "auto_increment_number"]>;
1743
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1744
+ type: z.ZodEnum<["system_number", "fixed_text", "created_time"]>;
1745
+ value: z.ZodString;
1746
+ }, "strip", z.ZodTypeAny, {
1747
+ value: string;
1748
+ type: "system_number" | "fixed_text" | "created_time";
1749
+ }, {
1750
+ value: string;
1751
+ type: "system_number" | "fixed_text" | "created_time";
1752
+ }>, "many">>;
1753
+ }, "strip", z.ZodTypeAny, {
1754
+ type: "custom" | "auto_increment_number";
1755
+ options?: {
1756
+ value: string;
1757
+ type: "system_number" | "fixed_text" | "created_time";
1758
+ }[] | undefined;
1759
+ }, {
1760
+ type: "custom" | "auto_increment_number";
1761
+ options?: {
1762
+ value: string;
1763
+ type: "system_number" | "fixed_text" | "created_time";
1764
+ }[] | undefined;
1765
+ }>>;
1766
+ location: z.ZodOptional<z.ZodObject<{
1767
+ input_type: z.ZodEnum<["only_mobile", "not_limit"]>;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ input_type: "only_mobile" | "not_limit";
1770
+ }, {
1771
+ input_type: "only_mobile" | "not_limit";
1772
+ }>>;
1773
+ formula_expression: z.ZodOptional<z.ZodString>;
1774
+ allowed_edit_modes: z.ZodOptional<z.ZodObject<{
1775
+ manual: z.ZodOptional<z.ZodBoolean>;
1776
+ scan: z.ZodOptional<z.ZodBoolean>;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ manual?: boolean | undefined;
1779
+ scan?: boolean | undefined;
1780
+ }, {
1781
+ manual?: boolean | undefined;
1782
+ scan?: boolean | undefined;
1783
+ }>>;
1784
+ min: z.ZodOptional<z.ZodNumber>;
1785
+ max: z.ZodOptional<z.ZodNumber>;
1786
+ range_customize: z.ZodOptional<z.ZodBoolean>;
1787
+ currency_code: z.ZodOptional<z.ZodString>;
1788
+ rating: z.ZodOptional<z.ZodObject<{
1789
+ symbol: z.ZodOptional<z.ZodString>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ symbol?: string | undefined;
1792
+ }, {
1793
+ symbol?: string | undefined;
1794
+ }>>;
1795
+ type: z.ZodOptional<z.ZodObject<{
1796
+ data_type: z.ZodNumber;
1797
+ ui_property: z.ZodOptional<z.ZodObject<{
1798
+ currency_code: z.ZodOptional<z.ZodString>;
1799
+ formatter: z.ZodOptional<z.ZodString>;
1800
+ range_customize: z.ZodOptional<z.ZodBoolean>;
1801
+ min: z.ZodOptional<z.ZodNumber>;
1802
+ max: z.ZodOptional<z.ZodNumber>;
1803
+ date_formatter: z.ZodOptional<z.ZodString>;
1804
+ rating: z.ZodOptional<z.ZodObject<{
1805
+ symbol: z.ZodOptional<z.ZodString>;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ symbol?: string | undefined;
1808
+ }, {
1809
+ symbol?: string | undefined;
1810
+ }>>;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ formatter?: string | undefined;
1813
+ date_formatter?: string | undefined;
1814
+ min?: number | undefined;
1815
+ max?: number | undefined;
1816
+ range_customize?: boolean | undefined;
1817
+ currency_code?: string | undefined;
1818
+ rating?: {
1819
+ symbol?: string | undefined;
1820
+ } | undefined;
1821
+ }, {
1822
+ formatter?: string | undefined;
1823
+ date_formatter?: string | undefined;
1824
+ min?: number | undefined;
1825
+ max?: number | undefined;
1826
+ range_customize?: boolean | undefined;
1827
+ currency_code?: string | undefined;
1828
+ rating?: {
1829
+ symbol?: string | undefined;
1830
+ } | undefined;
1831
+ }>>;
1832
+ ui_type: z.ZodOptional<z.ZodEnum<["Number", "Progress", "Currency", "Rating", "DateTime"]>>;
1833
+ }, "strip", z.ZodTypeAny, {
1834
+ data_type: number;
1835
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1836
+ ui_property?: {
1837
+ formatter?: string | undefined;
1838
+ date_formatter?: string | undefined;
1839
+ min?: number | undefined;
1840
+ max?: number | undefined;
1841
+ range_customize?: boolean | undefined;
1842
+ currency_code?: string | undefined;
1843
+ rating?: {
1844
+ symbol?: string | undefined;
1845
+ } | undefined;
1846
+ } | undefined;
1847
+ }, {
1848
+ data_type: number;
1849
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1850
+ ui_property?: {
1851
+ formatter?: string | undefined;
1852
+ date_formatter?: string | undefined;
1853
+ min?: number | undefined;
1854
+ max?: number | undefined;
1855
+ range_customize?: boolean | undefined;
1856
+ currency_code?: string | undefined;
1857
+ rating?: {
1858
+ symbol?: string | undefined;
1859
+ } | undefined;
1860
+ } | undefined;
1861
+ }>>;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ options?: {
1864
+ id?: string | undefined;
1865
+ name?: string | undefined;
1866
+ color?: number | undefined;
1867
+ }[] | undefined;
1868
+ type?: {
1869
+ data_type: number;
1870
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1871
+ ui_property?: {
1872
+ formatter?: string | undefined;
1873
+ date_formatter?: string | undefined;
1874
+ min?: number | undefined;
1875
+ max?: number | undefined;
1876
+ range_customize?: boolean | undefined;
1877
+ currency_code?: string | undefined;
1878
+ rating?: {
1879
+ symbol?: string | undefined;
1880
+ } | undefined;
1881
+ } | undefined;
1882
+ } | undefined;
1883
+ table_name?: string | undefined;
1884
+ table_id?: string | undefined;
1885
+ formatter?: string | undefined;
1886
+ date_formatter?: string | undefined;
1887
+ auto_fill?: boolean | undefined;
1888
+ multiple?: boolean | undefined;
1889
+ back_field_name?: string | undefined;
1890
+ auto_serial?: {
1891
+ type: "custom" | "auto_increment_number";
1892
+ options?: {
1893
+ value: string;
1894
+ type: "system_number" | "fixed_text" | "created_time";
1895
+ }[] | undefined;
1896
+ } | undefined;
1897
+ location?: {
1898
+ input_type: "only_mobile" | "not_limit";
1899
+ } | undefined;
1900
+ formula_expression?: string | undefined;
1901
+ allowed_edit_modes?: {
1902
+ manual?: boolean | undefined;
1903
+ scan?: boolean | undefined;
1904
+ } | undefined;
1905
+ min?: number | undefined;
1906
+ max?: number | undefined;
1907
+ range_customize?: boolean | undefined;
1908
+ currency_code?: string | undefined;
1909
+ rating?: {
1910
+ symbol?: string | undefined;
1911
+ } | undefined;
1912
+ }, {
1913
+ options?: {
1914
+ id?: string | undefined;
1915
+ name?: string | undefined;
1916
+ color?: number | undefined;
1917
+ }[] | undefined;
1918
+ type?: {
1919
+ data_type: number;
1920
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1921
+ ui_property?: {
1922
+ formatter?: string | undefined;
1923
+ date_formatter?: string | undefined;
1924
+ min?: number | undefined;
1925
+ max?: number | undefined;
1926
+ range_customize?: boolean | undefined;
1927
+ currency_code?: string | undefined;
1928
+ rating?: {
1929
+ symbol?: string | undefined;
1930
+ } | undefined;
1931
+ } | undefined;
1932
+ } | undefined;
1933
+ table_name?: string | undefined;
1934
+ table_id?: string | undefined;
1935
+ formatter?: string | undefined;
1936
+ date_formatter?: string | undefined;
1937
+ auto_fill?: boolean | undefined;
1938
+ multiple?: boolean | undefined;
1939
+ back_field_name?: string | undefined;
1940
+ auto_serial?: {
1941
+ type: "custom" | "auto_increment_number";
1942
+ options?: {
1943
+ value: string;
1944
+ type: "system_number" | "fixed_text" | "created_time";
1945
+ }[] | undefined;
1946
+ } | undefined;
1947
+ location?: {
1948
+ input_type: "only_mobile" | "not_limit";
1949
+ } | undefined;
1950
+ formula_expression?: string | undefined;
1951
+ allowed_edit_modes?: {
1952
+ manual?: boolean | undefined;
1953
+ scan?: boolean | undefined;
1954
+ } | undefined;
1955
+ min?: number | undefined;
1956
+ max?: number | undefined;
1957
+ range_customize?: boolean | undefined;
1958
+ currency_code?: string | undefined;
1959
+ rating?: {
1960
+ symbol?: string | undefined;
1961
+ } | undefined;
1962
+ }>>;
1963
+ description: z.ZodOptional<z.ZodObject<{
1964
+ disable_sync: z.ZodOptional<z.ZodBoolean>;
1965
+ text: z.ZodOptional<z.ZodString>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ text?: string | undefined;
1968
+ disable_sync?: boolean | undefined;
1969
+ }, {
1970
+ text?: string | undefined;
1971
+ disable_sync?: boolean | undefined;
1972
+ }>>;
1973
+ ui_type: z.ZodOptional<z.ZodEnum<["Text", "Email", "Barcode", "Number", "Progress", "Currency", "Rating", "SingleSelect", "MultiSelect", "DateTime", "Checkbox", "User", "GroupChat", "Phone", "Url", "Attachment", "SingleLink", "Formula", "DuplexLink", "Location", "CreatedTime", "ModifiedTime", "CreatedUser", "ModifiedUser", "AutoNumber"]>>;
1974
+ }, "strip", z.ZodTypeAny, {
1975
+ type: number;
1976
+ field_name: string;
1977
+ description?: {
1978
+ text?: string | undefined;
1979
+ disable_sync?: boolean | undefined;
1980
+ } | undefined;
1981
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | "Email" | undefined;
1982
+ property?: {
1983
+ options?: {
1984
+ id?: string | undefined;
1985
+ name?: string | undefined;
1986
+ color?: number | undefined;
1987
+ }[] | undefined;
1988
+ type?: {
1989
+ data_type: number;
1990
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
1991
+ ui_property?: {
1992
+ formatter?: string | undefined;
1993
+ date_formatter?: string | undefined;
1994
+ min?: number | undefined;
1995
+ max?: number | undefined;
1996
+ range_customize?: boolean | undefined;
1997
+ currency_code?: string | undefined;
1998
+ rating?: {
1999
+ symbol?: string | undefined;
2000
+ } | undefined;
2001
+ } | undefined;
2002
+ } | undefined;
2003
+ table_name?: string | undefined;
2004
+ table_id?: string | undefined;
2005
+ formatter?: string | undefined;
2006
+ date_formatter?: string | undefined;
2007
+ auto_fill?: boolean | undefined;
2008
+ multiple?: boolean | undefined;
2009
+ back_field_name?: string | undefined;
2010
+ auto_serial?: {
2011
+ type: "custom" | "auto_increment_number";
2012
+ options?: {
2013
+ value: string;
2014
+ type: "system_number" | "fixed_text" | "created_time";
2015
+ }[] | undefined;
2016
+ } | undefined;
2017
+ location?: {
2018
+ input_type: "only_mobile" | "not_limit";
2019
+ } | undefined;
2020
+ formula_expression?: string | undefined;
2021
+ allowed_edit_modes?: {
2022
+ manual?: boolean | undefined;
2023
+ scan?: boolean | undefined;
2024
+ } | undefined;
2025
+ min?: number | undefined;
2026
+ max?: number | undefined;
2027
+ range_customize?: boolean | undefined;
2028
+ currency_code?: string | undefined;
2029
+ rating?: {
2030
+ symbol?: string | undefined;
2031
+ } | undefined;
2032
+ } | undefined;
2033
+ }, {
2034
+ type: number;
2035
+ field_name: string;
2036
+ description?: {
2037
+ text?: string | undefined;
2038
+ disable_sync?: boolean | undefined;
2039
+ } | undefined;
2040
+ ui_type?: "Text" | "Barcode" | "Number" | "Progress" | "Currency" | "Rating" | "SingleSelect" | "MultiSelect" | "DateTime" | "Checkbox" | "User" | "GroupChat" | "Phone" | "Url" | "Attachment" | "SingleLink" | "Formula" | "DuplexLink" | "Location" | "CreatedTime" | "ModifiedTime" | "CreatedUser" | "ModifiedUser" | "AutoNumber" | "Email" | undefined;
2041
+ property?: {
2042
+ options?: {
2043
+ id?: string | undefined;
2044
+ name?: string | undefined;
2045
+ color?: number | undefined;
2046
+ }[] | undefined;
2047
+ type?: {
2048
+ data_type: number;
2049
+ ui_type?: "Number" | "Progress" | "Currency" | "Rating" | "DateTime" | undefined;
2050
+ ui_property?: {
2051
+ formatter?: string | undefined;
2052
+ date_formatter?: string | undefined;
2053
+ min?: number | undefined;
2054
+ max?: number | undefined;
2055
+ range_customize?: boolean | undefined;
2056
+ currency_code?: string | undefined;
2057
+ rating?: {
2058
+ symbol?: string | undefined;
2059
+ } | undefined;
2060
+ } | undefined;
2061
+ } | undefined;
2062
+ table_name?: string | undefined;
2063
+ table_id?: string | undefined;
2064
+ formatter?: string | undefined;
2065
+ date_formatter?: string | undefined;
2066
+ auto_fill?: boolean | undefined;
2067
+ multiple?: boolean | undefined;
2068
+ back_field_name?: string | undefined;
2069
+ auto_serial?: {
2070
+ type: "custom" | "auto_increment_number";
2071
+ options?: {
2072
+ value: string;
2073
+ type: "system_number" | "fixed_text" | "created_time";
2074
+ }[] | undefined;
2075
+ } | undefined;
2076
+ location?: {
2077
+ input_type: "only_mobile" | "not_limit";
2078
+ } | undefined;
2079
+ formula_expression?: string | undefined;
2080
+ allowed_edit_modes?: {
2081
+ manual?: boolean | undefined;
2082
+ scan?: boolean | undefined;
2083
+ } | undefined;
2084
+ min?: number | undefined;
2085
+ max?: number | undefined;
2086
+ range_customize?: boolean | undefined;
2087
+ currency_code?: string | undefined;
2088
+ rating?: {
2089
+ symbol?: string | undefined;
2090
+ } | undefined;
2091
+ } | undefined;
2092
+ }>;
2093
+ path: z.ZodObject<{
2094
+ app_token: z.ZodString;
2095
+ table_id: z.ZodString;
2096
+ field_id: z.ZodString;
2097
+ }, "strip", z.ZodTypeAny, {
2098
+ table_id: string;
2099
+ app_token: string;
2100
+ field_id: string;
2101
+ }, {
2102
+ table_id: string;
2103
+ app_token: string;
2104
+ field_id: string;
2105
+ }>;
2106
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2107
+ };
2108
+ };
2109
+ export declare const bitableV1AppTableFormFieldList: {
2110
+ project: string;
2111
+ name: string;
2112
+ sdkName: string;
2113
+ path: string;
2114
+ httpMethod: string;
2115
+ description: string;
2116
+ accessTokens: string[];
2117
+ schema: {
2118
+ params: z.ZodOptional<z.ZodObject<{
2119
+ page_size: z.ZodOptional<z.ZodNumber>;
2120
+ page_token: z.ZodOptional<z.ZodString>;
2121
+ }, "strip", z.ZodTypeAny, {
2122
+ page_size?: number | undefined;
2123
+ page_token?: string | undefined;
2124
+ }, {
2125
+ page_size?: number | undefined;
2126
+ page_token?: string | undefined;
2127
+ }>>;
2128
+ path: z.ZodObject<{
2129
+ app_token: z.ZodString;
2130
+ table_id: z.ZodString;
2131
+ form_id: z.ZodString;
2132
+ }, "strip", z.ZodTypeAny, {
2133
+ table_id: string;
2134
+ app_token: string;
2135
+ form_id: string;
2136
+ }, {
2137
+ table_id: string;
2138
+ app_token: string;
2139
+ form_id: string;
2140
+ }>;
2141
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2142
+ };
2143
+ };
2144
+ export declare const bitableV1AppTableFormFieldPatch: {
2145
+ project: string;
2146
+ name: string;
2147
+ sdkName: string;
2148
+ path: string;
2149
+ httpMethod: string;
2150
+ description: string;
2151
+ accessTokens: string[];
2152
+ schema: {
2153
+ data: z.ZodOptional<z.ZodObject<{
2154
+ pre_field_id: z.ZodOptional<z.ZodString>;
2155
+ title: z.ZodOptional<z.ZodString>;
2156
+ description: z.ZodOptional<z.ZodString>;
2157
+ required: z.ZodOptional<z.ZodBoolean>;
2158
+ visible: z.ZodOptional<z.ZodBoolean>;
2159
+ }, "strip", z.ZodTypeAny, {
2160
+ title?: string | undefined;
2161
+ description?: string | undefined;
2162
+ pre_field_id?: string | undefined;
2163
+ required?: boolean | undefined;
2164
+ visible?: boolean | undefined;
2165
+ }, {
2166
+ title?: string | undefined;
2167
+ description?: string | undefined;
2168
+ pre_field_id?: string | undefined;
2169
+ required?: boolean | undefined;
2170
+ visible?: boolean | undefined;
2171
+ }>>;
2172
+ path: z.ZodObject<{
2173
+ app_token: z.ZodString;
2174
+ table_id: z.ZodString;
2175
+ form_id: z.ZodString;
2176
+ field_id: z.ZodString;
2177
+ }, "strip", z.ZodTypeAny, {
2178
+ table_id: string;
2179
+ app_token: string;
2180
+ field_id: string;
2181
+ form_id: string;
2182
+ }, {
2183
+ table_id: string;
2184
+ app_token: string;
2185
+ field_id: string;
2186
+ form_id: string;
2187
+ }>;
2188
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2189
+ };
2190
+ };
2191
+ export declare const bitableV1AppTableFormGet: {
2192
+ project: string;
2193
+ name: string;
2194
+ sdkName: string;
2195
+ path: string;
2196
+ httpMethod: string;
2197
+ description: string;
2198
+ accessTokens: string[];
2199
+ schema: {
2200
+ path: z.ZodObject<{
2201
+ app_token: z.ZodString;
2202
+ table_id: z.ZodString;
2203
+ form_id: z.ZodString;
2204
+ }, "strip", z.ZodTypeAny, {
2205
+ table_id: string;
2206
+ app_token: string;
2207
+ form_id: string;
2208
+ }, {
2209
+ table_id: string;
2210
+ app_token: string;
2211
+ form_id: string;
2212
+ }>;
2213
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2214
+ };
2215
+ };
2216
+ export declare const bitableV1AppTableFormPatch: {
2217
+ project: string;
2218
+ name: string;
2219
+ sdkName: string;
2220
+ path: string;
2221
+ httpMethod: string;
2222
+ description: string;
2223
+ accessTokens: string[];
2224
+ schema: {
2225
+ data: z.ZodOptional<z.ZodObject<{
2226
+ name: z.ZodOptional<z.ZodString>;
2227
+ description: z.ZodOptional<z.ZodString>;
2228
+ shared: z.ZodOptional<z.ZodBoolean>;
2229
+ shared_limit: z.ZodOptional<z.ZodEnum<["off", "tenant_editable", "anyone_editable"]>>;
2230
+ submit_limit_once: z.ZodOptional<z.ZodBoolean>;
2231
+ }, "strip", z.ZodTypeAny, {
2232
+ name?: string | undefined;
2233
+ description?: string | undefined;
2234
+ shared?: boolean | undefined;
2235
+ shared_limit?: "off" | "tenant_editable" | "anyone_editable" | undefined;
2236
+ submit_limit_once?: boolean | undefined;
2237
+ }, {
2238
+ name?: string | undefined;
2239
+ description?: string | undefined;
2240
+ shared?: boolean | undefined;
2241
+ shared_limit?: "off" | "tenant_editable" | "anyone_editable" | undefined;
2242
+ submit_limit_once?: boolean | undefined;
2243
+ }>>;
2244
+ path: z.ZodObject<{
2245
+ app_token: z.ZodString;
2246
+ table_id: z.ZodString;
2247
+ form_id: z.ZodString;
2248
+ }, "strip", z.ZodTypeAny, {
2249
+ table_id: string;
2250
+ app_token: string;
2251
+ form_id: string;
2252
+ }, {
2253
+ table_id: string;
2254
+ app_token: string;
2255
+ form_id: string;
2256
+ }>;
2257
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2258
+ };
2259
+ };
2260
+ export declare const bitableV1AppTableList: {
2261
+ project: string;
2262
+ name: string;
2263
+ sdkName: string;
2264
+ path: string;
2265
+ httpMethod: string;
2266
+ description: string;
2267
+ accessTokens: string[];
2268
+ schema: {
2269
+ params: z.ZodOptional<z.ZodObject<{
2270
+ page_token: z.ZodOptional<z.ZodString>;
2271
+ page_size: z.ZodOptional<z.ZodNumber>;
2272
+ }, "strip", z.ZodTypeAny, {
2273
+ page_size?: number | undefined;
2274
+ page_token?: string | undefined;
2275
+ }, {
2276
+ page_size?: number | undefined;
2277
+ page_token?: string | undefined;
2278
+ }>>;
2279
+ path: z.ZodObject<{
2280
+ app_token: z.ZodString;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ app_token: string;
2283
+ }, {
2284
+ app_token: string;
2285
+ }>;
2286
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2287
+ };
2288
+ };
2289
+ export declare const bitableV1AppTablePatch: {
2290
+ project: string;
2291
+ name: string;
2292
+ sdkName: string;
2293
+ path: string;
2294
+ httpMethod: string;
2295
+ description: string;
2296
+ accessTokens: string[];
2297
+ schema: {
2298
+ data: z.ZodOptional<z.ZodObject<{
2299
+ name: z.ZodOptional<z.ZodString>;
2300
+ }, "strip", z.ZodTypeAny, {
2301
+ name?: string | undefined;
2302
+ }, {
2303
+ name?: string | undefined;
2304
+ }>>;
2305
+ path: z.ZodObject<{
2306
+ app_token: z.ZodString;
2307
+ table_id: z.ZodString;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ table_id: string;
2310
+ app_token: string;
2311
+ }, {
2312
+ table_id: string;
2313
+ app_token: string;
2314
+ }>;
2315
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2316
+ };
2317
+ };
2318
+ export declare const bitableV1AppTableRecordBatchCreate: {
2319
+ project: string;
2320
+ name: string;
2321
+ sdkName: string;
2322
+ path: string;
2323
+ httpMethod: string;
2324
+ description: string;
2325
+ accessTokens: string[];
2326
+ schema: {
2327
+ data: z.ZodObject<{
2328
+ records: z.ZodArray<z.ZodObject<{
2329
+ fields: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
2330
+ shared_url: z.ZodOptional<z.ZodString>;
2331
+ record_url: z.ZodOptional<z.ZodString>;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ fields: {} & {
2334
+ [k: string]: any;
2335
+ };
2336
+ shared_url?: string | undefined;
2337
+ record_url?: string | undefined;
2338
+ }, {
2339
+ fields: {} & {
2340
+ [k: string]: any;
2341
+ };
2342
+ shared_url?: string | undefined;
2343
+ record_url?: string | undefined;
2344
+ }>, "many">;
2345
+ }, "strip", z.ZodTypeAny, {
2346
+ records: {
2347
+ fields: {} & {
2348
+ [k: string]: any;
2349
+ };
2350
+ shared_url?: string | undefined;
2351
+ record_url?: string | undefined;
2352
+ }[];
2353
+ }, {
2354
+ records: {
2355
+ fields: {} & {
2356
+ [k: string]: any;
2357
+ };
2358
+ shared_url?: string | undefined;
2359
+ record_url?: string | undefined;
2360
+ }[];
2361
+ }>;
2362
+ params: z.ZodOptional<z.ZodObject<{
2363
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2364
+ client_token: z.ZodOptional<z.ZodString>;
2365
+ ignore_consistency_check: z.ZodOptional<z.ZodBoolean>;
2366
+ }, "strip", z.ZodTypeAny, {
2367
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2368
+ client_token?: string | undefined;
2369
+ ignore_consistency_check?: boolean | undefined;
2370
+ }, {
2371
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2372
+ client_token?: string | undefined;
2373
+ ignore_consistency_check?: boolean | undefined;
2374
+ }>>;
2375
+ path: z.ZodObject<{
2376
+ app_token: z.ZodString;
2377
+ table_id: z.ZodString;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ table_id: string;
2380
+ app_token: string;
2381
+ }, {
2382
+ table_id: string;
2383
+ app_token: string;
2384
+ }>;
2385
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2386
+ };
2387
+ };
2388
+ export declare const bitableV1AppTableRecordBatchDelete: {
2389
+ project: string;
2390
+ name: string;
2391
+ sdkName: string;
2392
+ path: string;
2393
+ httpMethod: string;
2394
+ description: string;
2395
+ accessTokens: string[];
2396
+ schema: {
2397
+ data: z.ZodObject<{
2398
+ records: z.ZodArray<z.ZodString, "many">;
2399
+ }, "strip", z.ZodTypeAny, {
2400
+ records: string[];
2401
+ }, {
2402
+ records: string[];
2403
+ }>;
2404
+ path: z.ZodObject<{
2405
+ app_token: z.ZodString;
2406
+ table_id: z.ZodString;
2407
+ }, "strip", z.ZodTypeAny, {
2408
+ table_id: string;
2409
+ app_token: string;
2410
+ }, {
2411
+ table_id: string;
2412
+ app_token: string;
2413
+ }>;
2414
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2415
+ };
2416
+ };
2417
+ export declare const bitableV1AppTableRecordBatchGet: {
2418
+ project: string;
2419
+ name: string;
2420
+ sdkName: string;
2421
+ path: string;
2422
+ httpMethod: string;
2423
+ description: string;
2424
+ accessTokens: string[];
2425
+ schema: {
2426
+ data: z.ZodObject<{
2427
+ record_ids: z.ZodArray<z.ZodString, "many">;
2428
+ user_id_type: z.ZodOptional<z.ZodEnum<["user_id", "union_id", "open_id"]>>;
2429
+ with_shared_url: z.ZodOptional<z.ZodBoolean>;
2430
+ automatic_fields: z.ZodOptional<z.ZodBoolean>;
2431
+ }, "strip", z.ZodTypeAny, {
2432
+ record_ids: string[];
2433
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2434
+ with_shared_url?: boolean | undefined;
2435
+ automatic_fields?: boolean | undefined;
2436
+ }, {
2437
+ record_ids: string[];
2438
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2439
+ with_shared_url?: boolean | undefined;
2440
+ automatic_fields?: boolean | undefined;
2441
+ }>;
2442
+ path: z.ZodObject<{
2443
+ app_token: z.ZodString;
2444
+ table_id: z.ZodString;
2445
+ }, "strip", z.ZodTypeAny, {
2446
+ table_id: string;
2447
+ app_token: string;
2448
+ }, {
2449
+ table_id: string;
2450
+ app_token: string;
2451
+ }>;
2452
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2453
+ };
2454
+ };
2455
+ export declare const bitableV1AppTableRecordBatchUpdate: {
2456
+ project: string;
2457
+ name: string;
2458
+ sdkName: string;
2459
+ path: string;
2460
+ httpMethod: string;
2461
+ description: string;
2462
+ accessTokens: string[];
2463
+ schema: {
2464
+ data: z.ZodObject<{
2465
+ records: z.ZodArray<z.ZodObject<{
2466
+ fields: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
2467
+ record_id: z.ZodOptional<z.ZodString>;
2468
+ shared_url: z.ZodOptional<z.ZodString>;
2469
+ record_url: z.ZodOptional<z.ZodString>;
2470
+ }, "strip", z.ZodTypeAny, {
2471
+ fields: {} & {
2472
+ [k: string]: any;
2473
+ };
2474
+ record_id?: string | undefined;
2475
+ shared_url?: string | undefined;
2476
+ record_url?: string | undefined;
2477
+ }, {
2478
+ fields: {} & {
2479
+ [k: string]: any;
2480
+ };
2481
+ record_id?: string | undefined;
2482
+ shared_url?: string | undefined;
2483
+ record_url?: string | undefined;
2484
+ }>, "many">;
2485
+ }, "strip", z.ZodTypeAny, {
2486
+ records: {
2487
+ fields: {} & {
2488
+ [k: string]: any;
2489
+ };
2490
+ record_id?: string | undefined;
2491
+ shared_url?: string | undefined;
2492
+ record_url?: string | undefined;
2493
+ }[];
2494
+ }, {
2495
+ records: {
2496
+ fields: {} & {
2497
+ [k: string]: any;
2498
+ };
2499
+ record_id?: string | undefined;
2500
+ shared_url?: string | undefined;
2501
+ record_url?: string | undefined;
2502
+ }[];
2503
+ }>;
2504
+ params: z.ZodOptional<z.ZodObject<{
2505
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2506
+ ignore_consistency_check: z.ZodOptional<z.ZodBoolean>;
2507
+ }, "strip", z.ZodTypeAny, {
2508
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2509
+ ignore_consistency_check?: boolean | undefined;
2510
+ }, {
2511
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2512
+ ignore_consistency_check?: boolean | undefined;
2513
+ }>>;
2514
+ path: z.ZodObject<{
2515
+ app_token: z.ZodString;
2516
+ table_id: z.ZodString;
2517
+ }, "strip", z.ZodTypeAny, {
2518
+ table_id: string;
2519
+ app_token: string;
2520
+ }, {
2521
+ table_id: string;
2522
+ app_token: string;
2523
+ }>;
2524
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2525
+ };
2526
+ };
2527
+ export declare const bitableV1AppTableRecordCreate: {
2528
+ project: string;
2529
+ name: string;
2530
+ sdkName: string;
2531
+ path: string;
2532
+ httpMethod: string;
2533
+ description: string;
2534
+ accessTokens: string[];
2535
+ schema: {
2536
+ data: z.ZodObject<{
2537
+ fields: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
2538
+ }, "strip", z.ZodTypeAny, {
2539
+ fields: {} & {
2540
+ [k: string]: any;
2541
+ };
2542
+ }, {
2543
+ fields: {} & {
2544
+ [k: string]: any;
2545
+ };
2546
+ }>;
2547
+ params: z.ZodOptional<z.ZodObject<{
2548
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2549
+ client_token: z.ZodOptional<z.ZodString>;
2550
+ ignore_consistency_check: z.ZodOptional<z.ZodBoolean>;
2551
+ }, "strip", z.ZodTypeAny, {
2552
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2553
+ client_token?: string | undefined;
2554
+ ignore_consistency_check?: boolean | undefined;
2555
+ }, {
2556
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2557
+ client_token?: string | undefined;
2558
+ ignore_consistency_check?: boolean | undefined;
2559
+ }>>;
2560
+ path: z.ZodObject<{
2561
+ app_token: z.ZodString;
2562
+ table_id: z.ZodString;
2563
+ }, "strip", z.ZodTypeAny, {
2564
+ table_id: string;
2565
+ app_token: string;
2566
+ }, {
2567
+ table_id: string;
2568
+ app_token: string;
2569
+ }>;
2570
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2571
+ };
2572
+ };
2573
+ export declare const bitableV1AppTableRecordDelete: {
2574
+ project: string;
2575
+ name: string;
2576
+ sdkName: string;
2577
+ path: string;
2578
+ httpMethod: string;
2579
+ description: string;
2580
+ accessTokens: string[];
2581
+ schema: {
2582
+ path: z.ZodObject<{
2583
+ app_token: z.ZodString;
2584
+ table_id: z.ZodString;
2585
+ record_id: z.ZodString;
2586
+ }, "strip", z.ZodTypeAny, {
2587
+ record_id: string;
2588
+ table_id: string;
2589
+ app_token: string;
2590
+ }, {
2591
+ record_id: string;
2592
+ table_id: string;
2593
+ app_token: string;
2594
+ }>;
2595
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2596
+ };
2597
+ };
2598
+ export declare const bitableV1AppTableRecordGet: {
2599
+ project: string;
2600
+ name: string;
2601
+ sdkName: string;
2602
+ path: string;
2603
+ httpMethod: string;
2604
+ description: string;
2605
+ accessTokens: string[];
2606
+ schema: {
2607
+ params: z.ZodOptional<z.ZodObject<{
2608
+ text_field_as_array: z.ZodOptional<z.ZodBoolean>;
2609
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2610
+ display_formula_ref: z.ZodOptional<z.ZodBoolean>;
2611
+ with_shared_url: z.ZodOptional<z.ZodBoolean>;
2612
+ automatic_fields: z.ZodOptional<z.ZodBoolean>;
2613
+ }, "strip", z.ZodTypeAny, {
2614
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2615
+ text_field_as_array?: boolean | undefined;
2616
+ with_shared_url?: boolean | undefined;
2617
+ automatic_fields?: boolean | undefined;
2618
+ display_formula_ref?: boolean | undefined;
2619
+ }, {
2620
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2621
+ text_field_as_array?: boolean | undefined;
2622
+ with_shared_url?: boolean | undefined;
2623
+ automatic_fields?: boolean | undefined;
2624
+ display_formula_ref?: boolean | undefined;
2625
+ }>>;
2626
+ path: z.ZodObject<{
2627
+ app_token: z.ZodString;
2628
+ table_id: z.ZodString;
2629
+ record_id: z.ZodString;
2630
+ }, "strip", z.ZodTypeAny, {
2631
+ record_id: string;
2632
+ table_id: string;
2633
+ app_token: string;
2634
+ }, {
2635
+ record_id: string;
2636
+ table_id: string;
2637
+ app_token: string;
2638
+ }>;
2639
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2640
+ };
2641
+ };
2642
+ export declare const bitableV1AppTableRecordList: {
2643
+ project: string;
2644
+ name: string;
2645
+ sdkName: string;
2646
+ path: string;
2647
+ httpMethod: string;
2648
+ description: string;
2649
+ accessTokens: string[];
2650
+ schema: {
2651
+ params: z.ZodOptional<z.ZodObject<{
2652
+ view_id: z.ZodOptional<z.ZodString>;
2653
+ filter: z.ZodOptional<z.ZodString>;
2654
+ sort: z.ZodOptional<z.ZodString>;
2655
+ field_names: z.ZodOptional<z.ZodString>;
2656
+ text_field_as_array: z.ZodOptional<z.ZodBoolean>;
2657
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2658
+ display_formula_ref: z.ZodOptional<z.ZodBoolean>;
2659
+ automatic_fields: z.ZodOptional<z.ZodBoolean>;
2660
+ page_token: z.ZodOptional<z.ZodString>;
2661
+ page_size: z.ZodOptional<z.ZodNumber>;
2662
+ }, "strip", z.ZodTypeAny, {
2663
+ sort?: string | undefined;
2664
+ filter?: string | undefined;
2665
+ page_size?: number | undefined;
2666
+ page_token?: string | undefined;
2667
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2668
+ view_id?: string | undefined;
2669
+ text_field_as_array?: boolean | undefined;
2670
+ automatic_fields?: boolean | undefined;
2671
+ display_formula_ref?: boolean | undefined;
2672
+ field_names?: string | undefined;
2673
+ }, {
2674
+ sort?: string | undefined;
2675
+ filter?: string | undefined;
2676
+ page_size?: number | undefined;
2677
+ page_token?: string | undefined;
2678
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2679
+ view_id?: string | undefined;
2680
+ text_field_as_array?: boolean | undefined;
2681
+ automatic_fields?: boolean | undefined;
2682
+ display_formula_ref?: boolean | undefined;
2683
+ field_names?: string | undefined;
2684
+ }>>;
2685
+ path: z.ZodObject<{
2686
+ app_token: z.ZodString;
2687
+ table_id: z.ZodString;
2688
+ }, "strip", z.ZodTypeAny, {
2689
+ table_id: string;
2690
+ app_token: string;
2691
+ }, {
2692
+ table_id: string;
2693
+ app_token: string;
2694
+ }>;
2695
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2696
+ };
2697
+ };
2698
+ export declare const bitableV1AppTableRecordSearch: {
2699
+ project: string;
2700
+ name: string;
2701
+ sdkName: string;
2702
+ path: string;
2703
+ httpMethod: string;
2704
+ description: string;
2705
+ accessTokens: string[];
2706
+ schema: {
2707
+ data: z.ZodOptional<z.ZodObject<{
2708
+ view_id: z.ZodOptional<z.ZodString>;
2709
+ field_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2710
+ sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
2711
+ field_name: z.ZodOptional<z.ZodString>;
2712
+ desc: z.ZodOptional<z.ZodBoolean>;
2713
+ }, "strip", z.ZodTypeAny, {
2714
+ desc?: boolean | undefined;
2715
+ field_name?: string | undefined;
2716
+ }, {
2717
+ desc?: boolean | undefined;
2718
+ field_name?: string | undefined;
2719
+ }>, "many">>;
2720
+ filter: z.ZodOptional<z.ZodObject<{
2721
+ conjunction: z.ZodOptional<z.ZodEnum<["and", "or"]>>;
2722
+ conditions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2723
+ field_name: z.ZodString;
2724
+ operator: z.ZodEnum<["is", "isNot", "contains", "doesNotContain", "isEmpty", "isNotEmpty", "isGreater", "isGreaterEqual", "isLess", "isLessEqual", "like", "in"]>;
2725
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2726
+ }, "strip", z.ZodTypeAny, {
2727
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2728
+ field_name: string;
2729
+ value?: string[] | undefined;
2730
+ }, {
2731
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2732
+ field_name: string;
2733
+ value?: string[] | undefined;
2734
+ }>, "many">>;
2735
+ }, "strip", z.ZodTypeAny, {
2736
+ conditions?: {
2737
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2738
+ field_name: string;
2739
+ value?: string[] | undefined;
2740
+ }[] | undefined;
2741
+ conjunction?: "and" | "or" | undefined;
2742
+ }, {
2743
+ conditions?: {
2744
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2745
+ field_name: string;
2746
+ value?: string[] | undefined;
2747
+ }[] | undefined;
2748
+ conjunction?: "and" | "or" | undefined;
2749
+ }>>;
2750
+ automatic_fields: z.ZodOptional<z.ZodBoolean>;
2751
+ }, "strip", z.ZodTypeAny, {
2752
+ sort?: {
2753
+ desc?: boolean | undefined;
2754
+ field_name?: string | undefined;
2755
+ }[] | undefined;
2756
+ filter?: {
2757
+ conditions?: {
2758
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2759
+ field_name: string;
2760
+ value?: string[] | undefined;
2761
+ }[] | undefined;
2762
+ conjunction?: "and" | "or" | undefined;
2763
+ } | undefined;
2764
+ view_id?: string | undefined;
2765
+ automatic_fields?: boolean | undefined;
2766
+ field_names?: string[] | undefined;
2767
+ }, {
2768
+ sort?: {
2769
+ desc?: boolean | undefined;
2770
+ field_name?: string | undefined;
2771
+ }[] | undefined;
2772
+ filter?: {
2773
+ conditions?: {
2774
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual" | "like" | "in";
2775
+ field_name: string;
2776
+ value?: string[] | undefined;
2777
+ }[] | undefined;
2778
+ conjunction?: "and" | "or" | undefined;
2779
+ } | undefined;
2780
+ view_id?: string | undefined;
2781
+ automatic_fields?: boolean | undefined;
2782
+ field_names?: string[] | undefined;
2783
+ }>>;
2784
+ params: z.ZodOptional<z.ZodObject<{
2785
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2786
+ page_token: z.ZodOptional<z.ZodString>;
2787
+ page_size: z.ZodOptional<z.ZodNumber>;
2788
+ }, "strip", z.ZodTypeAny, {
2789
+ page_size?: number | undefined;
2790
+ page_token?: string | undefined;
2791
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2792
+ }, {
2793
+ page_size?: number | undefined;
2794
+ page_token?: string | undefined;
2795
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2796
+ }>>;
2797
+ path: z.ZodObject<{
2798
+ app_token: z.ZodString;
2799
+ table_id: z.ZodString;
2800
+ }, "strip", z.ZodTypeAny, {
2801
+ table_id: string;
2802
+ app_token: string;
2803
+ }, {
2804
+ table_id: string;
2805
+ app_token: string;
2806
+ }>;
2807
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2808
+ };
2809
+ };
2810
+ export declare const bitableV1AppTableRecordUpdate: {
2811
+ project: string;
2812
+ name: string;
2813
+ sdkName: string;
2814
+ path: string;
2815
+ httpMethod: string;
2816
+ description: string;
2817
+ accessTokens: string[];
2818
+ schema: {
2819
+ data: z.ZodObject<{
2820
+ fields: z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>;
2821
+ }, "strip", z.ZodTypeAny, {
2822
+ fields: {} & {
2823
+ [k: string]: any;
2824
+ };
2825
+ }, {
2826
+ fields: {} & {
2827
+ [k: string]: any;
2828
+ };
2829
+ }>;
2830
+ params: z.ZodOptional<z.ZodObject<{
2831
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2832
+ ignore_consistency_check: z.ZodOptional<z.ZodBoolean>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2835
+ ignore_consistency_check?: boolean | undefined;
2836
+ }, {
2837
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2838
+ ignore_consistency_check?: boolean | undefined;
2839
+ }>>;
2840
+ path: z.ZodObject<{
2841
+ app_token: z.ZodString;
2842
+ table_id: z.ZodString;
2843
+ record_id: z.ZodString;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ record_id: string;
2846
+ table_id: string;
2847
+ app_token: string;
2848
+ }, {
2849
+ record_id: string;
2850
+ table_id: string;
2851
+ app_token: string;
2852
+ }>;
2853
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2854
+ };
2855
+ };
2856
+ export declare const bitableV1AppTableViewCreate: {
2857
+ project: string;
2858
+ name: string;
2859
+ sdkName: string;
2860
+ path: string;
2861
+ httpMethod: string;
2862
+ description: string;
2863
+ accessTokens: string[];
2864
+ schema: {
2865
+ data: z.ZodObject<{
2866
+ view_name: z.ZodString;
2867
+ view_type: z.ZodOptional<z.ZodEnum<["grid", "kanban", "gallery", "gantt", "form"]>>;
2868
+ }, "strip", z.ZodTypeAny, {
2869
+ view_name: string;
2870
+ view_type?: "form" | "grid" | "kanban" | "gallery" | "gantt" | undefined;
2871
+ }, {
2872
+ view_name: string;
2873
+ view_type?: "form" | "grid" | "kanban" | "gallery" | "gantt" | undefined;
2874
+ }>;
2875
+ path: z.ZodOptional<z.ZodObject<{
2876
+ app_token: z.ZodOptional<z.ZodString>;
2877
+ table_id: z.ZodOptional<z.ZodString>;
2878
+ }, "strip", z.ZodTypeAny, {
2879
+ table_id?: string | undefined;
2880
+ app_token?: string | undefined;
2881
+ }, {
2882
+ table_id?: string | undefined;
2883
+ app_token?: string | undefined;
2884
+ }>>;
2885
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2886
+ };
2887
+ };
2888
+ export declare const bitableV1AppTableViewDelete: {
2889
+ project: string;
2890
+ name: string;
2891
+ sdkName: string;
2892
+ path: string;
2893
+ httpMethod: string;
2894
+ description: string;
2895
+ accessTokens: string[];
2896
+ schema: {
2897
+ path: z.ZodOptional<z.ZodObject<{
2898
+ app_token: z.ZodOptional<z.ZodString>;
2899
+ table_id: z.ZodOptional<z.ZodString>;
2900
+ view_id: z.ZodOptional<z.ZodString>;
2901
+ }, "strip", z.ZodTypeAny, {
2902
+ view_id?: string | undefined;
2903
+ table_id?: string | undefined;
2904
+ app_token?: string | undefined;
2905
+ }, {
2906
+ view_id?: string | undefined;
2907
+ table_id?: string | undefined;
2908
+ app_token?: string | undefined;
2909
+ }>>;
2910
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2911
+ };
2912
+ };
2913
+ export declare const bitableV1AppTableViewGet: {
2914
+ project: string;
2915
+ name: string;
2916
+ sdkName: string;
2917
+ path: string;
2918
+ httpMethod: string;
2919
+ description: string;
2920
+ accessTokens: string[];
2921
+ schema: {
2922
+ path: z.ZodOptional<z.ZodObject<{
2923
+ app_token: z.ZodOptional<z.ZodString>;
2924
+ table_id: z.ZodOptional<z.ZodString>;
2925
+ view_id: z.ZodOptional<z.ZodString>;
2926
+ }, "strip", z.ZodTypeAny, {
2927
+ view_id?: string | undefined;
2928
+ table_id?: string | undefined;
2929
+ app_token?: string | undefined;
2930
+ }, {
2931
+ view_id?: string | undefined;
2932
+ table_id?: string | undefined;
2933
+ app_token?: string | undefined;
2934
+ }>>;
2935
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2936
+ };
2937
+ };
2938
+ export declare const bitableV1AppTableViewList: {
2939
+ project: string;
2940
+ name: string;
2941
+ sdkName: string;
2942
+ path: string;
2943
+ httpMethod: string;
2944
+ description: string;
2945
+ accessTokens: string[];
2946
+ schema: {
2947
+ params: z.ZodOptional<z.ZodObject<{
2948
+ page_size: z.ZodOptional<z.ZodNumber>;
2949
+ page_token: z.ZodOptional<z.ZodString>;
2950
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2951
+ }, "strip", z.ZodTypeAny, {
2952
+ page_size?: number | undefined;
2953
+ page_token?: string | undefined;
2954
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2955
+ }, {
2956
+ page_size?: number | undefined;
2957
+ page_token?: string | undefined;
2958
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2959
+ }>>;
2960
+ path: z.ZodOptional<z.ZodObject<{
2961
+ app_token: z.ZodOptional<z.ZodString>;
2962
+ table_id: z.ZodOptional<z.ZodString>;
2963
+ }, "strip", z.ZodTypeAny, {
2964
+ table_id?: string | undefined;
2965
+ app_token?: string | undefined;
2966
+ }, {
2967
+ table_id?: string | undefined;
2968
+ app_token?: string | undefined;
2969
+ }>>;
2970
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2971
+ };
2972
+ };
2973
+ export declare const bitableV1AppTableViewPatch: {
2974
+ project: string;
2975
+ name: string;
2976
+ sdkName: string;
2977
+ path: string;
2978
+ httpMethod: string;
2979
+ description: string;
2980
+ accessTokens: string[];
2981
+ schema: {
2982
+ data: z.ZodOptional<z.ZodObject<{
2983
+ view_name: z.ZodOptional<z.ZodString>;
2984
+ property: z.ZodOptional<z.ZodObject<{
2985
+ filter_info: z.ZodOptional<z.ZodObject<{
2986
+ conjunction: z.ZodEnum<["and", "or"]>;
2987
+ conditions: z.ZodArray<z.ZodObject<{
2988
+ field_id: z.ZodString;
2989
+ operator: z.ZodEnum<["is", "isNot", "contains", "doesNotContain", "isEmpty", "isNotEmpty", "isGreater", "isGreaterEqual", "isLess", "isLessEqual"]>;
2990
+ value: z.ZodOptional<z.ZodString>;
2991
+ }, "strip", z.ZodTypeAny, {
2992
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
2993
+ field_id: string;
2994
+ value?: string | undefined;
2995
+ }, {
2996
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
2997
+ field_id: string;
2998
+ value?: string | undefined;
2999
+ }>, "many">;
3000
+ }, "strip", z.ZodTypeAny, {
3001
+ conditions: {
3002
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3003
+ field_id: string;
3004
+ value?: string | undefined;
3005
+ }[];
3006
+ conjunction: "and" | "or";
3007
+ }, {
3008
+ conditions: {
3009
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3010
+ field_id: string;
3011
+ value?: string | undefined;
3012
+ }[];
3013
+ conjunction: "and" | "or";
3014
+ }>>;
3015
+ hidden_fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3016
+ hierarchy_config: z.ZodOptional<z.ZodObject<{
3017
+ field_id: z.ZodOptional<z.ZodString>;
3018
+ }, "strip", z.ZodTypeAny, {
3019
+ field_id?: string | undefined;
3020
+ }, {
3021
+ field_id?: string | undefined;
3022
+ }>>;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ filter_info?: {
3025
+ conditions: {
3026
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3027
+ field_id: string;
3028
+ value?: string | undefined;
3029
+ }[];
3030
+ conjunction: "and" | "or";
3031
+ } | undefined;
3032
+ hidden_fields?: string[] | undefined;
3033
+ hierarchy_config?: {
3034
+ field_id?: string | undefined;
3035
+ } | undefined;
3036
+ }, {
3037
+ filter_info?: {
3038
+ conditions: {
3039
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3040
+ field_id: string;
3041
+ value?: string | undefined;
3042
+ }[];
3043
+ conjunction: "and" | "or";
3044
+ } | undefined;
3045
+ hidden_fields?: string[] | undefined;
3046
+ hierarchy_config?: {
3047
+ field_id?: string | undefined;
3048
+ } | undefined;
3049
+ }>>;
3050
+ }, "strip", z.ZodTypeAny, {
3051
+ property?: {
3052
+ filter_info?: {
3053
+ conditions: {
3054
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3055
+ field_id: string;
3056
+ value?: string | undefined;
3057
+ }[];
3058
+ conjunction: "and" | "or";
3059
+ } | undefined;
3060
+ hidden_fields?: string[] | undefined;
3061
+ hierarchy_config?: {
3062
+ field_id?: string | undefined;
3063
+ } | undefined;
3064
+ } | undefined;
3065
+ view_name?: string | undefined;
3066
+ }, {
3067
+ property?: {
3068
+ filter_info?: {
3069
+ conditions: {
3070
+ operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreaterEqual" | "isLess" | "isLessEqual";
3071
+ field_id: string;
3072
+ value?: string | undefined;
3073
+ }[];
3074
+ conjunction: "and" | "or";
3075
+ } | undefined;
3076
+ hidden_fields?: string[] | undefined;
3077
+ hierarchy_config?: {
3078
+ field_id?: string | undefined;
3079
+ } | undefined;
3080
+ } | undefined;
3081
+ view_name?: string | undefined;
3082
+ }>>;
3083
+ path: z.ZodOptional<z.ZodObject<{
3084
+ app_token: z.ZodOptional<z.ZodString>;
3085
+ table_id: z.ZodOptional<z.ZodString>;
3086
+ view_id: z.ZodOptional<z.ZodString>;
3087
+ }, "strip", z.ZodTypeAny, {
3088
+ view_id?: string | undefined;
3089
+ table_id?: string | undefined;
3090
+ app_token?: string | undefined;
3091
+ }, {
3092
+ view_id?: string | undefined;
3093
+ table_id?: string | undefined;
3094
+ app_token?: string | undefined;
3095
+ }>>;
3096
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3097
+ };
3098
+ };
3099
+ export declare const bitableV1AppUpdate: {
3100
+ project: string;
3101
+ name: string;
3102
+ sdkName: string;
3103
+ path: string;
3104
+ httpMethod: string;
3105
+ description: string;
3106
+ accessTokens: string[];
3107
+ schema: {
3108
+ data: z.ZodOptional<z.ZodObject<{
3109
+ name: z.ZodOptional<z.ZodString>;
3110
+ is_advanced: z.ZodOptional<z.ZodBoolean>;
3111
+ }, "strip", z.ZodTypeAny, {
3112
+ name?: string | undefined;
3113
+ is_advanced?: boolean | undefined;
3114
+ }, {
3115
+ name?: string | undefined;
3116
+ is_advanced?: boolean | undefined;
3117
+ }>>;
3118
+ path: z.ZodObject<{
3119
+ app_token: z.ZodString;
3120
+ }, "strip", z.ZodTypeAny, {
3121
+ app_token: string;
3122
+ }, {
3123
+ app_token: string;
3124
+ }>;
3125
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3126
+ };
3127
+ };
3128
+ export declare const bitableV1AppWorkflowList: {
3129
+ project: string;
3130
+ name: string;
3131
+ sdkName: string;
3132
+ path: string;
3133
+ httpMethod: string;
3134
+ description: string;
3135
+ accessTokens: string[];
3136
+ schema: {
3137
+ params: z.ZodOptional<z.ZodObject<{
3138
+ page_token: z.ZodOptional<z.ZodString>;
3139
+ page_size: z.ZodOptional<z.ZodNumber>;
3140
+ }, "strip", z.ZodTypeAny, {
3141
+ page_size?: number | undefined;
3142
+ page_token?: string | undefined;
3143
+ }, {
3144
+ page_size?: number | undefined;
3145
+ page_token?: string | undefined;
3146
+ }>>;
3147
+ path: z.ZodOptional<z.ZodObject<{
3148
+ app_token: z.ZodOptional<z.ZodString>;
3149
+ }, "strip", z.ZodTypeAny, {
3150
+ app_token?: string | undefined;
3151
+ }, {
3152
+ app_token?: string | undefined;
3153
+ }>>;
3154
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3155
+ };
3156
+ };
3157
+ export declare const bitableV1AppWorkflowUpdate: {
3158
+ project: string;
3159
+ name: string;
3160
+ sdkName: string;
3161
+ path: string;
3162
+ httpMethod: string;
3163
+ description: string;
3164
+ accessTokens: string[];
3165
+ schema: {
3166
+ data: z.ZodObject<{
3167
+ status: z.ZodString;
3168
+ }, "strip", z.ZodTypeAny, {
3169
+ status: string;
3170
+ }, {
3171
+ status: string;
3172
+ }>;
3173
+ path: z.ZodObject<{
3174
+ app_token: z.ZodOptional<z.ZodString>;
3175
+ workflow_id: z.ZodString;
3176
+ }, "strip", z.ZodTypeAny, {
3177
+ workflow_id: string;
3178
+ app_token?: string | undefined;
3179
+ }, {
3180
+ workflow_id: string;
3181
+ app_token?: string | undefined;
3182
+ }>;
3183
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3184
+ };
3185
+ };
3186
+ export declare const bitableV1Tools: ({
3187
+ project: string;
3188
+ name: string;
3189
+ sdkName: string;
3190
+ path: string;
3191
+ httpMethod: string;
3192
+ description: string;
3193
+ accessTokens: string[];
3194
+ schema: {
3195
+ data: z.ZodOptional<z.ZodObject<{
3196
+ name: z.ZodOptional<z.ZodString>;
3197
+ folder_token: z.ZodOptional<z.ZodString>;
3198
+ time_zone: z.ZodOptional<z.ZodString>;
3199
+ }, "strip", z.ZodTypeAny, {
3200
+ name?: string | undefined;
3201
+ time_zone?: string | undefined;
3202
+ folder_token?: string | undefined;
3203
+ }, {
3204
+ name?: string | undefined;
3205
+ time_zone?: string | undefined;
3206
+ folder_token?: string | undefined;
3207
+ }>>;
3208
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3209
+ };
3210
+ } | {
3211
+ project: string;
3212
+ name: string;
3213
+ sdkName: string;
3214
+ path: string;
3215
+ httpMethod: string;
3216
+ description: string;
3217
+ accessTokens: string[];
3218
+ schema: {
3219
+ path: z.ZodObject<{
3220
+ app_token: z.ZodString;
3221
+ }, "strip", z.ZodTypeAny, {
3222
+ app_token: string;
3223
+ }, {
3224
+ app_token: string;
3225
+ }>;
3226
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3227
+ };
3228
+ } | {
3229
+ project: string;
3230
+ name: string;
3231
+ sdkName: string;
3232
+ path: string;
3233
+ httpMethod: string;
3234
+ description: string;
3235
+ accessTokens: string[];
3236
+ schema: {
3237
+ data: z.ZodObject<{
3238
+ role_name: z.ZodString;
3239
+ table_roles: z.ZodArray<z.ZodObject<{
3240
+ table_perm: z.ZodNumber;
3241
+ table_name: z.ZodOptional<z.ZodString>;
3242
+ table_id: z.ZodOptional<z.ZodString>;
3243
+ rec_rule: z.ZodOptional<z.ZodObject<{
3244
+ conditions: z.ZodArray<z.ZodObject<{
3245
+ field_name: z.ZodString;
3246
+ operator: z.ZodOptional<z.ZodEnum<["is", "isNot", "contains", "doesNotContain", "isEmpty", "isNotEmpty"]>>;
3247
+ value: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3248
+ }, "strip", z.ZodTypeAny, {
3249
+ field_name: string;
3250
+ value?: string[] | undefined;
3251
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3252
+ }, {
3253
+ field_name: string;
3254
+ value?: string[] | undefined;
3255
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3256
+ }>, "many">;
3257
+ conjunction: z.ZodOptional<z.ZodEnum<["and", "or"]>>;
3258
+ other_perm: z.ZodOptional<z.ZodNumber>;
3259
+ }, "strip", z.ZodTypeAny, {
3260
+ conditions: {
3261
+ field_name: string;
3262
+ value?: string[] | undefined;
3263
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3264
+ }[];
3265
+ conjunction?: "and" | "or" | undefined;
3266
+ other_perm?: number | undefined;
3267
+ }, {
3268
+ conditions: {
3269
+ field_name: string;
3270
+ value?: string[] | undefined;
3271
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3272
+ }[];
3273
+ conjunction?: "and" | "or" | undefined;
3274
+ other_perm?: number | undefined;
3275
+ }>>;
3276
+ field_perm: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodAny, z.objectOutputType<{}, z.ZodAny, "strip">, z.objectInputType<{}, z.ZodAny, "strip">>>;
3277
+ allow_add_record: z.ZodOptional<z.ZodBoolean>;
3278
+ allow_delete_record: z.ZodOptional<z.ZodBoolean>;
3279
+ }, "strip", z.ZodTypeAny, {
3280
+ table_perm: number;
3281
+ table_name?: string | undefined;
3282
+ table_id?: string | undefined;
3283
+ rec_rule?: {
3284
+ conditions: {
3285
+ field_name: string;
3286
+ value?: string[] | undefined;
3287
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3288
+ }[];
3289
+ conjunction?: "and" | "or" | undefined;
3290
+ other_perm?: number | undefined;
3291
+ } | undefined;
3292
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
3293
+ allow_add_record?: boolean | undefined;
3294
+ allow_delete_record?: boolean | undefined;
3295
+ }, {
3296
+ table_perm: number;
3297
+ table_name?: string | undefined;
3298
+ table_id?: string | undefined;
3299
+ rec_rule?: {
3300
+ conditions: {
3301
+ field_name: string;
3302
+ value?: string[] | undefined;
3303
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3304
+ }[];
3305
+ conjunction?: "and" | "or" | undefined;
3306
+ other_perm?: number | undefined;
3307
+ } | undefined;
3308
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
3309
+ allow_add_record?: boolean | undefined;
3310
+ allow_delete_record?: boolean | undefined;
3311
+ }>, "many">;
3312
+ block_roles: z.ZodOptional<z.ZodArray<z.ZodObject<{
3313
+ block_id: z.ZodString;
3314
+ block_perm: z.ZodNumber;
3315
+ }, "strip", z.ZodTypeAny, {
3316
+ block_id: string;
3317
+ block_perm: number;
3318
+ }, {
3319
+ block_id: string;
3320
+ block_perm: number;
3321
+ }>, "many">>;
3322
+ }, "strip", z.ZodTypeAny, {
3323
+ role_name: string;
3324
+ table_roles: {
3325
+ table_perm: number;
3326
+ table_name?: string | undefined;
3327
+ table_id?: string | undefined;
3328
+ rec_rule?: {
3329
+ conditions: {
3330
+ field_name: string;
3331
+ value?: string[] | undefined;
3332
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3333
+ }[];
3334
+ conjunction?: "and" | "or" | undefined;
3335
+ other_perm?: number | undefined;
3336
+ } | undefined;
3337
+ field_perm?: z.objectOutputType<{}, z.ZodAny, "strip"> | undefined;
3338
+ allow_add_record?: boolean | undefined;
3339
+ allow_delete_record?: boolean | undefined;
3340
+ }[];
3341
+ block_roles?: {
3342
+ block_id: string;
3343
+ block_perm: number;
3344
+ }[] | undefined;
3345
+ }, {
3346
+ role_name: string;
3347
+ table_roles: {
3348
+ table_perm: number;
3349
+ table_name?: string | undefined;
3350
+ table_id?: string | undefined;
3351
+ rec_rule?: {
3352
+ conditions: {
3353
+ field_name: string;
3354
+ value?: string[] | undefined;
3355
+ operator?: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | undefined;
3356
+ }[];
3357
+ conjunction?: "and" | "or" | undefined;
3358
+ other_perm?: number | undefined;
3359
+ } | undefined;
3360
+ field_perm?: z.objectInputType<{}, z.ZodAny, "strip"> | undefined;
3361
+ allow_add_record?: boolean | undefined;
3362
+ allow_delete_record?: boolean | undefined;
3363
+ }[];
3364
+ block_roles?: {
3365
+ block_id: string;
3366
+ block_perm: number;
3367
+ }[] | undefined;
3368
+ }>;
3369
+ path: z.ZodOptional<z.ZodObject<{
3370
+ app_token: z.ZodOptional<z.ZodString>;
3371
+ }, "strip", z.ZodTypeAny, {
3372
+ app_token?: string | undefined;
3373
+ }, {
3374
+ app_token?: string | undefined;
3375
+ }>>;
3376
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3377
+ };
3378
+ } | {
3379
+ project: string;
3380
+ name: string;
3381
+ sdkName: string;
3382
+ path: string;
3383
+ httpMethod: string;
3384
+ description: string;
3385
+ accessTokens: string[];
3386
+ schema: {
3387
+ path: z.ZodOptional<z.ZodObject<{
3388
+ app_token: z.ZodOptional<z.ZodString>;
3389
+ role_id: z.ZodOptional<z.ZodString>;
3390
+ }, "strip", z.ZodTypeAny, {
3391
+ app_token?: string | undefined;
3392
+ role_id?: string | undefined;
3393
+ }, {
3394
+ app_token?: string | undefined;
3395
+ role_id?: string | undefined;
3396
+ }>>;
3397
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3398
+ };
3399
+ } | {
3400
+ project: string;
3401
+ name: string;
3402
+ sdkName: string;
3403
+ path: string;
3404
+ httpMethod: string;
3405
+ description: string;
3406
+ accessTokens: string[];
3407
+ schema: {
3408
+ params: z.ZodOptional<z.ZodObject<{
3409
+ page_size: z.ZodOptional<z.ZodNumber>;
3410
+ page_token: z.ZodOptional<z.ZodString>;
3411
+ }, "strip", z.ZodTypeAny, {
3412
+ page_size?: number | undefined;
3413
+ page_token?: string | undefined;
3414
+ }, {
3415
+ page_size?: number | undefined;
3416
+ page_token?: string | undefined;
3417
+ }>>;
3418
+ path: z.ZodOptional<z.ZodObject<{
3419
+ app_token: z.ZodOptional<z.ZodString>;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ app_token?: string | undefined;
3422
+ }, {
3423
+ app_token?: string | undefined;
3424
+ }>>;
3425
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3426
+ };
3427
+ } | {
3428
+ project: string;
3429
+ name: string;
3430
+ sdkName: string;
3431
+ path: string;
3432
+ httpMethod: string;
3433
+ description: string;
3434
+ accessTokens: string[];
3435
+ schema: {
3436
+ params: z.ZodOptional<z.ZodObject<{
3437
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "chat_id", "department_id", "open_department_id"]>>;
3438
+ }, "strip", z.ZodTypeAny, {
3439
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
3440
+ }, {
3441
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | "open_department_id" | "chat_id" | undefined;
3442
+ }>>;
3443
+ path: z.ZodObject<{
3444
+ app_token: z.ZodOptional<z.ZodString>;
3445
+ role_id: z.ZodOptional<z.ZodString>;
3446
+ member_id: z.ZodString;
3447
+ }, "strip", z.ZodTypeAny, {
3448
+ member_id: string;
3449
+ app_token?: string | undefined;
3450
+ role_id?: string | undefined;
3451
+ }, {
3452
+ member_id: string;
3453
+ app_token?: string | undefined;
3454
+ role_id?: string | undefined;
3455
+ }>;
3456
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3457
+ };
3458
+ } | {
3459
+ project: string;
3460
+ name: string;
3461
+ sdkName: string;
3462
+ path: string;
3463
+ httpMethod: string;
3464
+ description: string;
3465
+ accessTokens: string[];
3466
+ schema: {
3467
+ data: z.ZodObject<{
3468
+ view_name: z.ZodString;
3469
+ view_type: z.ZodOptional<z.ZodEnum<["grid", "kanban", "gallery", "gantt", "form"]>>;
3470
+ }, "strip", z.ZodTypeAny, {
3471
+ view_name: string;
3472
+ view_type?: "form" | "grid" | "kanban" | "gallery" | "gantt" | undefined;
3473
+ }, {
3474
+ view_name: string;
3475
+ view_type?: "form" | "grid" | "kanban" | "gallery" | "gantt" | undefined;
3476
+ }>;
3477
+ path: z.ZodOptional<z.ZodObject<{
3478
+ app_token: z.ZodOptional<z.ZodString>;
3479
+ table_id: z.ZodOptional<z.ZodString>;
3480
+ }, "strip", z.ZodTypeAny, {
3481
+ table_id?: string | undefined;
3482
+ app_token?: string | undefined;
3483
+ }, {
3484
+ table_id?: string | undefined;
3485
+ app_token?: string | undefined;
3486
+ }>>;
3487
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3488
+ };
3489
+ } | {
3490
+ project: string;
3491
+ name: string;
3492
+ sdkName: string;
3493
+ path: string;
3494
+ httpMethod: string;
3495
+ description: string;
3496
+ accessTokens: string[];
3497
+ schema: {
3498
+ path: z.ZodOptional<z.ZodObject<{
3499
+ app_token: z.ZodOptional<z.ZodString>;
3500
+ table_id: z.ZodOptional<z.ZodString>;
3501
+ view_id: z.ZodOptional<z.ZodString>;
3502
+ }, "strip", z.ZodTypeAny, {
3503
+ view_id?: string | undefined;
3504
+ table_id?: string | undefined;
3505
+ app_token?: string | undefined;
3506
+ }, {
3507
+ view_id?: string | undefined;
3508
+ table_id?: string | undefined;
3509
+ app_token?: string | undefined;
3510
+ }>>;
3511
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3512
+ };
3513
+ } | {
3514
+ project: string;
3515
+ name: string;
3516
+ sdkName: string;
3517
+ path: string;
3518
+ httpMethod: string;
3519
+ description: string;
3520
+ accessTokens: string[];
3521
+ schema: {
3522
+ data: z.ZodObject<{
3523
+ status: z.ZodString;
3524
+ }, "strip", z.ZodTypeAny, {
3525
+ status: string;
3526
+ }, {
3527
+ status: string;
3528
+ }>;
3529
+ path: z.ZodObject<{
3530
+ app_token: z.ZodOptional<z.ZodString>;
3531
+ workflow_id: z.ZodString;
3532
+ }, "strip", z.ZodTypeAny, {
3533
+ workflow_id: string;
3534
+ app_token?: string | undefined;
3535
+ }, {
3536
+ workflow_id: string;
3537
+ app_token?: string | undefined;
3538
+ }>;
3539
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3540
+ };
3541
+ })[];