@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,4274 @@
1
+ import { z } from 'zod';
2
+ export type contactV3ToolName = 'contact.v3.customAttr.list' | 'contact.v3.department.batch' | 'contact.v3.department.children' | 'contact.v3.department.create' | 'contact.v3.department.delete' | 'contact.v3.department.get' | 'contact.v3.department.list' | 'contact.v3.department.parent' | 'contact.v3.department.patch' | 'contact.v3.department.search' | 'contact.v3.department.unbindDepartmentChat' | 'contact.v3.department.update' | 'contact.v3.department.updateDepartmentId' | 'contact.v3.employeeTypeEnum.create' | 'contact.v3.employeeTypeEnum.delete' | 'contact.v3.employeeTypeEnum.list' | 'contact.v3.employeeTypeEnum.update' | 'contact.v3.functionalRole.create' | 'contact.v3.functionalRole.delete' | 'contact.v3.functionalRoleMember.batchCreate' | 'contact.v3.functionalRoleMember.batchDelete' | 'contact.v3.functionalRoleMember.get' | 'contact.v3.functionalRoleMember.list' | 'contact.v3.functionalRoleMember.scopes' | 'contact.v3.functionalRole.update' | 'contact.v3.group.create' | 'contact.v3.group.delete' | 'contact.v3.group.get' | 'contact.v3.group.memberBelong' | 'contact.v3.groupMember.add' | 'contact.v3.groupMember.batchAdd' | 'contact.v3.groupMember.batchRemove' | 'contact.v3.groupMember.remove' | 'contact.v3.groupMember.simplelist' | 'contact.v3.group.patch' | 'contact.v3.group.simplelist' | 'contact.v3.jobFamily.create' | 'contact.v3.jobFamily.delete' | 'contact.v3.jobFamily.get' | 'contact.v3.jobFamily.list' | 'contact.v3.jobFamily.update' | 'contact.v3.jobLevel.create' | 'contact.v3.jobLevel.delete' | 'contact.v3.jobLevel.get' | 'contact.v3.jobLevel.list' | 'contact.v3.jobLevel.update' | 'contact.v3.jobTitle.get' | 'contact.v3.jobTitle.list' | 'contact.v3.scope.list' | 'contact.v3.unit.bindDepartment' | 'contact.v3.unit.create' | 'contact.v3.unit.delete' | 'contact.v3.unit.get' | 'contact.v3.unit.list' | 'contact.v3.unit.listDepartment' | 'contact.v3.unit.patch' | 'contact.v3.unit.unbindDepartment' | 'contact.v3.user.batch' | 'contact.v3.user.batchGetId' | 'contact.v3.user.create' | 'contact.v3.user.delete' | 'contact.v3.user.findByDepartment' | 'contact.v3.user.get' | 'contact.v3.user.list' | 'contact.v3.user.patch' | 'contact.v3.user.resurrect' | 'contact.v3.user.update' | 'contact.v3.user.updateUserId' | 'contact.v3.workCity.get' | 'contact.v3.workCity.list';
3
+ export declare const contactV3CustomAttrList: {
4
+ project: string;
5
+ name: string;
6
+ sdkName: string;
7
+ path: string;
8
+ httpMethod: string;
9
+ description: string;
10
+ accessTokens: string[];
11
+ schema: {
12
+ params: z.ZodOptional<z.ZodObject<{
13
+ page_size: z.ZodOptional<z.ZodNumber>;
14
+ page_token: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ page_size?: number | undefined;
17
+ page_token?: string | undefined;
18
+ }, {
19
+ page_size?: number | undefined;
20
+ page_token?: string | undefined;
21
+ }>>;
22
+ };
23
+ };
24
+ export declare const contactV3DepartmentBatch: {
25
+ project: string;
26
+ name: string;
27
+ sdkName: string;
28
+ path: string;
29
+ httpMethod: string;
30
+ description: string;
31
+ accessTokens: string[];
32
+ schema: {
33
+ params: z.ZodObject<{
34
+ department_ids: z.ZodArray<z.ZodString, "many">;
35
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
36
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ department_ids: string[];
39
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
40
+ department_id_type?: "department_id" | "open_department_id" | undefined;
41
+ }, {
42
+ department_ids: string[];
43
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
44
+ department_id_type?: "department_id" | "open_department_id" | undefined;
45
+ }>;
46
+ useUAT: z.ZodOptional<z.ZodBoolean>;
47
+ };
48
+ };
49
+ export declare const contactV3DepartmentChildren: {
50
+ project: string;
51
+ name: string;
52
+ sdkName: string;
53
+ path: string;
54
+ httpMethod: string;
55
+ description: string;
56
+ accessTokens: string[];
57
+ schema: {
58
+ params: z.ZodOptional<z.ZodObject<{
59
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
60
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
61
+ fetch_child: z.ZodOptional<z.ZodBoolean>;
62
+ page_size: z.ZodOptional<z.ZodNumber>;
63
+ page_token: z.ZodOptional<z.ZodString>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ page_size?: number | undefined;
66
+ page_token?: string | undefined;
67
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
68
+ department_id_type?: "department_id" | "open_department_id" | undefined;
69
+ fetch_child?: boolean | undefined;
70
+ }, {
71
+ page_size?: number | undefined;
72
+ page_token?: string | undefined;
73
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
74
+ department_id_type?: "department_id" | "open_department_id" | undefined;
75
+ fetch_child?: boolean | undefined;
76
+ }>>;
77
+ path: z.ZodObject<{
78
+ department_id: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ department_id: string;
81
+ }, {
82
+ department_id: string;
83
+ }>;
84
+ useUAT: z.ZodOptional<z.ZodBoolean>;
85
+ };
86
+ };
87
+ export declare const contactV3DepartmentCreate: {
88
+ project: string;
89
+ name: string;
90
+ sdkName: string;
91
+ path: string;
92
+ httpMethod: string;
93
+ description: string;
94
+ accessTokens: string[];
95
+ schema: {
96
+ data: z.ZodObject<{
97
+ name: z.ZodString;
98
+ i18n_name: z.ZodOptional<z.ZodObject<{
99
+ zh_cn: z.ZodOptional<z.ZodString>;
100
+ ja_jp: z.ZodOptional<z.ZodString>;
101
+ en_us: z.ZodOptional<z.ZodString>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ zh_cn?: string | undefined;
104
+ en_us?: string | undefined;
105
+ ja_jp?: string | undefined;
106
+ }, {
107
+ zh_cn?: string | undefined;
108
+ en_us?: string | undefined;
109
+ ja_jp?: string | undefined;
110
+ }>>;
111
+ parent_department_id: z.ZodString;
112
+ department_id: z.ZodOptional<z.ZodString>;
113
+ leader_user_id: z.ZodOptional<z.ZodString>;
114
+ order: z.ZodOptional<z.ZodString>;
115
+ unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
116
+ create_group_chat: z.ZodOptional<z.ZodBoolean>;
117
+ leaders: z.ZodOptional<z.ZodArray<z.ZodObject<{
118
+ leaderType: z.ZodNumber;
119
+ leaderID: z.ZodString;
120
+ }, "strip", z.ZodTypeAny, {
121
+ leaderType: number;
122
+ leaderID: string;
123
+ }, {
124
+ leaderType: number;
125
+ leaderID: string;
126
+ }>, "many">>;
127
+ group_chat_employee_types: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
128
+ department_hrbps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
129
+ }, "strip", z.ZodTypeAny, {
130
+ name: string;
131
+ parent_department_id: string;
132
+ department_id?: string | undefined;
133
+ i18n_name?: {
134
+ zh_cn?: string | undefined;
135
+ en_us?: string | undefined;
136
+ ja_jp?: string | undefined;
137
+ } | undefined;
138
+ order?: string | undefined;
139
+ leader_user_id?: string | undefined;
140
+ unit_ids?: string[] | undefined;
141
+ create_group_chat?: boolean | undefined;
142
+ leaders?: {
143
+ leaderType: number;
144
+ leaderID: string;
145
+ }[] | undefined;
146
+ group_chat_employee_types?: number[] | undefined;
147
+ department_hrbps?: string[] | undefined;
148
+ }, {
149
+ name: string;
150
+ parent_department_id: string;
151
+ department_id?: string | undefined;
152
+ i18n_name?: {
153
+ zh_cn?: string | undefined;
154
+ en_us?: string | undefined;
155
+ ja_jp?: string | undefined;
156
+ } | undefined;
157
+ order?: string | undefined;
158
+ leader_user_id?: string | undefined;
159
+ unit_ids?: string[] | undefined;
160
+ create_group_chat?: boolean | undefined;
161
+ leaders?: {
162
+ leaderType: number;
163
+ leaderID: string;
164
+ }[] | undefined;
165
+ group_chat_employee_types?: number[] | undefined;
166
+ department_hrbps?: string[] | undefined;
167
+ }>;
168
+ params: z.ZodOptional<z.ZodObject<{
169
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
170
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
171
+ client_token: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
174
+ department_id_type?: "department_id" | "open_department_id" | undefined;
175
+ client_token?: string | undefined;
176
+ }, {
177
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
178
+ department_id_type?: "department_id" | "open_department_id" | undefined;
179
+ client_token?: string | undefined;
180
+ }>>;
181
+ };
182
+ };
183
+ export declare const contactV3DepartmentDelete: {
184
+ project: string;
185
+ name: string;
186
+ sdkName: string;
187
+ path: string;
188
+ httpMethod: string;
189
+ description: string;
190
+ accessTokens: string[];
191
+ schema: {
192
+ params: z.ZodOptional<z.ZodObject<{
193
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ department_id_type?: "department_id" | "open_department_id" | undefined;
196
+ }, {
197
+ department_id_type?: "department_id" | "open_department_id" | undefined;
198
+ }>>;
199
+ path: z.ZodOptional<z.ZodObject<{
200
+ department_id: z.ZodOptional<z.ZodString>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ department_id?: string | undefined;
203
+ }, {
204
+ department_id?: string | undefined;
205
+ }>>;
206
+ };
207
+ };
208
+ export declare const contactV3DepartmentGet: {
209
+ project: string;
210
+ name: string;
211
+ sdkName: string;
212
+ path: string;
213
+ httpMethod: string;
214
+ description: string;
215
+ accessTokens: string[];
216
+ schema: {
217
+ params: z.ZodOptional<z.ZodObject<{
218
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
219
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
222
+ department_id_type?: "department_id" | "open_department_id" | undefined;
223
+ }, {
224
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
225
+ department_id_type?: "department_id" | "open_department_id" | undefined;
226
+ }>>;
227
+ path: z.ZodOptional<z.ZodObject<{
228
+ department_id: z.ZodOptional<z.ZodString>;
229
+ }, "strip", z.ZodTypeAny, {
230
+ department_id?: string | undefined;
231
+ }, {
232
+ department_id?: string | undefined;
233
+ }>>;
234
+ useUAT: z.ZodOptional<z.ZodBoolean>;
235
+ };
236
+ };
237
+ export declare const contactV3DepartmentList: {
238
+ project: string;
239
+ name: string;
240
+ sdkName: string;
241
+ path: string;
242
+ httpMethod: string;
243
+ description: string;
244
+ accessTokens: string[];
245
+ schema: {
246
+ params: z.ZodOptional<z.ZodObject<{
247
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
248
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
249
+ parent_department_id: z.ZodOptional<z.ZodString>;
250
+ fetch_child: z.ZodOptional<z.ZodBoolean>;
251
+ page_token: z.ZodOptional<z.ZodString>;
252
+ page_size: z.ZodOptional<z.ZodNumber>;
253
+ }, "strip", z.ZodTypeAny, {
254
+ page_size?: number | undefined;
255
+ page_token?: string | undefined;
256
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
257
+ department_id_type?: "department_id" | "open_department_id" | undefined;
258
+ fetch_child?: boolean | undefined;
259
+ parent_department_id?: string | undefined;
260
+ }, {
261
+ page_size?: number | undefined;
262
+ page_token?: string | undefined;
263
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
264
+ department_id_type?: "department_id" | "open_department_id" | undefined;
265
+ fetch_child?: boolean | undefined;
266
+ parent_department_id?: string | undefined;
267
+ }>>;
268
+ useUAT: z.ZodOptional<z.ZodBoolean>;
269
+ };
270
+ };
271
+ export declare const contactV3DepartmentParent: {
272
+ project: string;
273
+ name: string;
274
+ sdkName: string;
275
+ path: string;
276
+ httpMethod: string;
277
+ description: string;
278
+ accessTokens: string[];
279
+ schema: {
280
+ params: z.ZodObject<{
281
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
282
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
283
+ department_id: z.ZodString;
284
+ page_token: z.ZodOptional<z.ZodString>;
285
+ page_size: z.ZodOptional<z.ZodNumber>;
286
+ }, "strip", z.ZodTypeAny, {
287
+ department_id: string;
288
+ page_size?: number | undefined;
289
+ page_token?: string | undefined;
290
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
291
+ department_id_type?: "department_id" | "open_department_id" | undefined;
292
+ }, {
293
+ department_id: string;
294
+ page_size?: number | undefined;
295
+ page_token?: string | undefined;
296
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
297
+ department_id_type?: "department_id" | "open_department_id" | undefined;
298
+ }>;
299
+ useUAT: z.ZodOptional<z.ZodBoolean>;
300
+ };
301
+ };
302
+ export declare const contactV3DepartmentPatch: {
303
+ project: string;
304
+ name: string;
305
+ sdkName: string;
306
+ path: string;
307
+ httpMethod: string;
308
+ description: string;
309
+ accessTokens: string[];
310
+ schema: {
311
+ data: z.ZodOptional<z.ZodObject<{
312
+ name: z.ZodOptional<z.ZodString>;
313
+ i18n_name: z.ZodOptional<z.ZodObject<{
314
+ zh_cn: z.ZodOptional<z.ZodString>;
315
+ ja_jp: z.ZodOptional<z.ZodString>;
316
+ en_us: z.ZodOptional<z.ZodString>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ zh_cn?: string | undefined;
319
+ en_us?: string | undefined;
320
+ ja_jp?: string | undefined;
321
+ }, {
322
+ zh_cn?: string | undefined;
323
+ en_us?: string | undefined;
324
+ ja_jp?: string | undefined;
325
+ }>>;
326
+ parent_department_id: z.ZodOptional<z.ZodString>;
327
+ leader_user_id: z.ZodOptional<z.ZodString>;
328
+ order: z.ZodOptional<z.ZodString>;
329
+ create_group_chat: z.ZodOptional<z.ZodBoolean>;
330
+ leaders: z.ZodOptional<z.ZodArray<z.ZodObject<{
331
+ leaderType: z.ZodNumber;
332
+ leaderID: z.ZodString;
333
+ }, "strip", z.ZodTypeAny, {
334
+ leaderType: number;
335
+ leaderID: string;
336
+ }, {
337
+ leaderType: number;
338
+ leaderID: string;
339
+ }>, "many">>;
340
+ group_chat_employee_types: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
341
+ department_hrbps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ name?: string | undefined;
344
+ i18n_name?: {
345
+ zh_cn?: string | undefined;
346
+ en_us?: string | undefined;
347
+ ja_jp?: string | undefined;
348
+ } | undefined;
349
+ order?: string | undefined;
350
+ parent_department_id?: string | undefined;
351
+ leader_user_id?: string | undefined;
352
+ create_group_chat?: boolean | undefined;
353
+ leaders?: {
354
+ leaderType: number;
355
+ leaderID: string;
356
+ }[] | undefined;
357
+ group_chat_employee_types?: number[] | undefined;
358
+ department_hrbps?: string[] | undefined;
359
+ }, {
360
+ name?: string | undefined;
361
+ i18n_name?: {
362
+ zh_cn?: string | undefined;
363
+ en_us?: string | undefined;
364
+ ja_jp?: string | undefined;
365
+ } | undefined;
366
+ order?: string | undefined;
367
+ parent_department_id?: string | undefined;
368
+ leader_user_id?: string | undefined;
369
+ create_group_chat?: boolean | undefined;
370
+ leaders?: {
371
+ leaderType: number;
372
+ leaderID: string;
373
+ }[] | undefined;
374
+ group_chat_employee_types?: number[] | undefined;
375
+ department_hrbps?: string[] | undefined;
376
+ }>>;
377
+ params: z.ZodOptional<z.ZodObject<{
378
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
379
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
380
+ }, "strip", z.ZodTypeAny, {
381
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
382
+ department_id_type?: "department_id" | "open_department_id" | undefined;
383
+ }, {
384
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
385
+ department_id_type?: "department_id" | "open_department_id" | undefined;
386
+ }>>;
387
+ path: z.ZodOptional<z.ZodObject<{
388
+ department_id: z.ZodOptional<z.ZodString>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ department_id?: string | undefined;
391
+ }, {
392
+ department_id?: string | undefined;
393
+ }>>;
394
+ };
395
+ };
396
+ export declare const contactV3DepartmentSearch: {
397
+ project: string;
398
+ name: string;
399
+ sdkName: string;
400
+ path: string;
401
+ httpMethod: string;
402
+ description: string;
403
+ accessTokens: string[];
404
+ schema: {
405
+ data: z.ZodObject<{
406
+ query: z.ZodString;
407
+ }, "strip", z.ZodTypeAny, {
408
+ query: string;
409
+ }, {
410
+ query: string;
411
+ }>;
412
+ params: z.ZodOptional<z.ZodObject<{
413
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
414
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
415
+ page_token: z.ZodOptional<z.ZodString>;
416
+ page_size: z.ZodOptional<z.ZodNumber>;
417
+ }, "strip", z.ZodTypeAny, {
418
+ page_size?: number | undefined;
419
+ page_token?: string | undefined;
420
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
421
+ department_id_type?: "department_id" | "open_department_id" | undefined;
422
+ }, {
423
+ page_size?: number | undefined;
424
+ page_token?: string | undefined;
425
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
426
+ department_id_type?: "department_id" | "open_department_id" | undefined;
427
+ }>>;
428
+ useUAT: z.ZodOptional<z.ZodBoolean>;
429
+ };
430
+ };
431
+ export declare const contactV3DepartmentUnbindDepartmentChat: {
432
+ project: string;
433
+ name: string;
434
+ sdkName: string;
435
+ path: string;
436
+ httpMethod: string;
437
+ description: string;
438
+ accessTokens: string[];
439
+ schema: {
440
+ data: z.ZodObject<{
441
+ department_id: z.ZodString;
442
+ }, "strip", z.ZodTypeAny, {
443
+ department_id: string;
444
+ }, {
445
+ department_id: string;
446
+ }>;
447
+ params: z.ZodOptional<z.ZodObject<{
448
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
449
+ }, "strip", z.ZodTypeAny, {
450
+ department_id_type?: "department_id" | "open_department_id" | undefined;
451
+ }, {
452
+ department_id_type?: "department_id" | "open_department_id" | undefined;
453
+ }>>;
454
+ };
455
+ };
456
+ export declare const contactV3DepartmentUpdate: {
457
+ project: string;
458
+ name: string;
459
+ sdkName: string;
460
+ path: string;
461
+ httpMethod: string;
462
+ description: string;
463
+ accessTokens: string[];
464
+ schema: {
465
+ data: z.ZodObject<{
466
+ name: z.ZodString;
467
+ i18n_name: z.ZodOptional<z.ZodObject<{
468
+ zh_cn: z.ZodOptional<z.ZodString>;
469
+ ja_jp: z.ZodOptional<z.ZodString>;
470
+ en_us: z.ZodOptional<z.ZodString>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ zh_cn?: string | undefined;
473
+ en_us?: string | undefined;
474
+ ja_jp?: string | undefined;
475
+ }, {
476
+ zh_cn?: string | undefined;
477
+ en_us?: string | undefined;
478
+ ja_jp?: string | undefined;
479
+ }>>;
480
+ parent_department_id: z.ZodString;
481
+ leader_user_id: z.ZodOptional<z.ZodString>;
482
+ order: z.ZodOptional<z.ZodString>;
483
+ create_group_chat: z.ZodOptional<z.ZodBoolean>;
484
+ leaders: z.ZodOptional<z.ZodArray<z.ZodObject<{
485
+ leaderType: z.ZodNumber;
486
+ leaderID: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ leaderType: number;
489
+ leaderID: string;
490
+ }, {
491
+ leaderType: number;
492
+ leaderID: string;
493
+ }>, "many">>;
494
+ group_chat_employee_types: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
495
+ }, "strip", z.ZodTypeAny, {
496
+ name: string;
497
+ parent_department_id: string;
498
+ i18n_name?: {
499
+ zh_cn?: string | undefined;
500
+ en_us?: string | undefined;
501
+ ja_jp?: string | undefined;
502
+ } | undefined;
503
+ order?: string | undefined;
504
+ leader_user_id?: string | undefined;
505
+ create_group_chat?: boolean | undefined;
506
+ leaders?: {
507
+ leaderType: number;
508
+ leaderID: string;
509
+ }[] | undefined;
510
+ group_chat_employee_types?: number[] | undefined;
511
+ }, {
512
+ name: string;
513
+ parent_department_id: string;
514
+ i18n_name?: {
515
+ zh_cn?: string | undefined;
516
+ en_us?: string | undefined;
517
+ ja_jp?: string | undefined;
518
+ } | undefined;
519
+ order?: string | undefined;
520
+ leader_user_id?: string | undefined;
521
+ create_group_chat?: boolean | undefined;
522
+ leaders?: {
523
+ leaderType: number;
524
+ leaderID: string;
525
+ }[] | undefined;
526
+ group_chat_employee_types?: number[] | undefined;
527
+ }>;
528
+ params: z.ZodOptional<z.ZodObject<{
529
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
530
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
533
+ department_id_type?: "department_id" | "open_department_id" | undefined;
534
+ }, {
535
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
536
+ department_id_type?: "department_id" | "open_department_id" | undefined;
537
+ }>>;
538
+ path: z.ZodOptional<z.ZodObject<{
539
+ department_id: z.ZodOptional<z.ZodString>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ department_id?: string | undefined;
542
+ }, {
543
+ department_id?: string | undefined;
544
+ }>>;
545
+ };
546
+ };
547
+ export declare const contactV3DepartmentUpdateDepartmentId: {
548
+ project: string;
549
+ name: string;
550
+ sdkName: string;
551
+ path: string;
552
+ httpMethod: string;
553
+ description: string;
554
+ accessTokens: string[];
555
+ schema: {
556
+ data: z.ZodObject<{
557
+ new_department_id: z.ZodString;
558
+ }, "strip", z.ZodTypeAny, {
559
+ new_department_id: string;
560
+ }, {
561
+ new_department_id: string;
562
+ }>;
563
+ params: z.ZodOptional<z.ZodObject<{
564
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ department_id_type?: "department_id" | "open_department_id" | undefined;
567
+ }, {
568
+ department_id_type?: "department_id" | "open_department_id" | undefined;
569
+ }>>;
570
+ path: z.ZodOptional<z.ZodObject<{
571
+ department_id: z.ZodOptional<z.ZodString>;
572
+ }, "strip", z.ZodTypeAny, {
573
+ department_id?: string | undefined;
574
+ }, {
575
+ department_id?: string | undefined;
576
+ }>>;
577
+ };
578
+ };
579
+ export declare const contactV3EmployeeTypeEnumCreate: {
580
+ project: string;
581
+ name: string;
582
+ sdkName: string;
583
+ path: string;
584
+ httpMethod: string;
585
+ description: string;
586
+ accessTokens: string[];
587
+ schema: {
588
+ data: z.ZodObject<{
589
+ content: z.ZodString;
590
+ enum_type: z.ZodNumber;
591
+ enum_status: z.ZodNumber;
592
+ i18n_content: z.ZodOptional<z.ZodArray<z.ZodObject<{
593
+ locale: z.ZodOptional<z.ZodString>;
594
+ value: z.ZodOptional<z.ZodString>;
595
+ }, "strip", z.ZodTypeAny, {
596
+ value?: string | undefined;
597
+ locale?: string | undefined;
598
+ }, {
599
+ value?: string | undefined;
600
+ locale?: string | undefined;
601
+ }>, "many">>;
602
+ }, "strip", z.ZodTypeAny, {
603
+ content: string;
604
+ enum_type: number;
605
+ enum_status: number;
606
+ i18n_content?: {
607
+ value?: string | undefined;
608
+ locale?: string | undefined;
609
+ }[] | undefined;
610
+ }, {
611
+ content: string;
612
+ enum_type: number;
613
+ enum_status: number;
614
+ i18n_content?: {
615
+ value?: string | undefined;
616
+ locale?: string | undefined;
617
+ }[] | undefined;
618
+ }>;
619
+ };
620
+ };
621
+ export declare const contactV3EmployeeTypeEnumDelete: {
622
+ project: string;
623
+ name: string;
624
+ sdkName: string;
625
+ path: string;
626
+ httpMethod: string;
627
+ description: string;
628
+ accessTokens: string[];
629
+ schema: {
630
+ path: z.ZodOptional<z.ZodObject<{
631
+ enum_id: z.ZodOptional<z.ZodString>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ enum_id?: string | undefined;
634
+ }, {
635
+ enum_id?: string | undefined;
636
+ }>>;
637
+ };
638
+ };
639
+ export declare const contactV3EmployeeTypeEnumList: {
640
+ project: string;
641
+ name: string;
642
+ sdkName: string;
643
+ path: string;
644
+ httpMethod: string;
645
+ description: string;
646
+ accessTokens: string[];
647
+ schema: {
648
+ params: z.ZodOptional<z.ZodObject<{
649
+ page_token: z.ZodOptional<z.ZodString>;
650
+ page_size: z.ZodOptional<z.ZodNumber>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ page_size?: number | undefined;
653
+ page_token?: string | undefined;
654
+ }, {
655
+ page_size?: number | undefined;
656
+ page_token?: string | undefined;
657
+ }>>;
658
+ };
659
+ };
660
+ export declare const contactV3EmployeeTypeEnumUpdate: {
661
+ project: string;
662
+ name: string;
663
+ sdkName: string;
664
+ path: string;
665
+ httpMethod: string;
666
+ description: string;
667
+ accessTokens: string[];
668
+ schema: {
669
+ data: z.ZodObject<{
670
+ content: z.ZodString;
671
+ enum_type: z.ZodNumber;
672
+ enum_status: z.ZodNumber;
673
+ i18n_content: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
+ locale: z.ZodOptional<z.ZodString>;
675
+ value: z.ZodOptional<z.ZodString>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ value?: string | undefined;
678
+ locale?: string | undefined;
679
+ }, {
680
+ value?: string | undefined;
681
+ locale?: string | undefined;
682
+ }>, "many">>;
683
+ }, "strip", z.ZodTypeAny, {
684
+ content: string;
685
+ enum_type: number;
686
+ enum_status: number;
687
+ i18n_content?: {
688
+ value?: string | undefined;
689
+ locale?: string | undefined;
690
+ }[] | undefined;
691
+ }, {
692
+ content: string;
693
+ enum_type: number;
694
+ enum_status: number;
695
+ i18n_content?: {
696
+ value?: string | undefined;
697
+ locale?: string | undefined;
698
+ }[] | undefined;
699
+ }>;
700
+ path: z.ZodOptional<z.ZodObject<{
701
+ enum_id: z.ZodOptional<z.ZodString>;
702
+ }, "strip", z.ZodTypeAny, {
703
+ enum_id?: string | undefined;
704
+ }, {
705
+ enum_id?: string | undefined;
706
+ }>>;
707
+ };
708
+ };
709
+ export declare const contactV3FunctionalRoleCreate: {
710
+ project: string;
711
+ name: string;
712
+ sdkName: string;
713
+ path: string;
714
+ httpMethod: string;
715
+ description: string;
716
+ accessTokens: string[];
717
+ schema: {
718
+ data: z.ZodObject<{
719
+ role_name: z.ZodString;
720
+ }, "strip", z.ZodTypeAny, {
721
+ role_name: string;
722
+ }, {
723
+ role_name: string;
724
+ }>;
725
+ };
726
+ };
727
+ export declare const contactV3FunctionalRoleDelete: {
728
+ project: string;
729
+ name: string;
730
+ sdkName: string;
731
+ path: string;
732
+ httpMethod: string;
733
+ description: string;
734
+ accessTokens: string[];
735
+ schema: {
736
+ path: z.ZodObject<{
737
+ role_id: z.ZodString;
738
+ }, "strip", z.ZodTypeAny, {
739
+ role_id: string;
740
+ }, {
741
+ role_id: string;
742
+ }>;
743
+ };
744
+ };
745
+ export declare const contactV3FunctionalRoleMemberBatchCreate: {
746
+ project: string;
747
+ name: string;
748
+ sdkName: string;
749
+ path: string;
750
+ httpMethod: string;
751
+ description: string;
752
+ accessTokens: string[];
753
+ schema: {
754
+ data: z.ZodObject<{
755
+ members: z.ZodArray<z.ZodString, "many">;
756
+ }, "strip", z.ZodTypeAny, {
757
+ members: string[];
758
+ }, {
759
+ members: string[];
760
+ }>;
761
+ params: z.ZodOptional<z.ZodObject<{
762
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
763
+ }, "strip", z.ZodTypeAny, {
764
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
765
+ }, {
766
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
767
+ }>>;
768
+ path: z.ZodObject<{
769
+ role_id: z.ZodString;
770
+ }, "strip", z.ZodTypeAny, {
771
+ role_id: string;
772
+ }, {
773
+ role_id: string;
774
+ }>;
775
+ };
776
+ };
777
+ export declare const contactV3FunctionalRoleMemberBatchDelete: {
778
+ project: string;
779
+ name: string;
780
+ sdkName: string;
781
+ path: string;
782
+ httpMethod: string;
783
+ description: string;
784
+ accessTokens: string[];
785
+ schema: {
786
+ data: z.ZodOptional<z.ZodObject<{
787
+ members: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
788
+ }, "strip", z.ZodTypeAny, {
789
+ members?: string[] | undefined;
790
+ }, {
791
+ members?: string[] | undefined;
792
+ }>>;
793
+ params: z.ZodOptional<z.ZodObject<{
794
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
795
+ }, "strip", z.ZodTypeAny, {
796
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
797
+ }, {
798
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
799
+ }>>;
800
+ path: z.ZodObject<{
801
+ role_id: z.ZodString;
802
+ }, "strip", z.ZodTypeAny, {
803
+ role_id: string;
804
+ }, {
805
+ role_id: string;
806
+ }>;
807
+ };
808
+ };
809
+ export declare const contactV3FunctionalRoleMemberGet: {
810
+ project: string;
811
+ name: string;
812
+ sdkName: string;
813
+ path: string;
814
+ httpMethod: string;
815
+ description: string;
816
+ accessTokens: string[];
817
+ schema: {
818
+ params: z.ZodOptional<z.ZodObject<{
819
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
820
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
821
+ }, "strip", z.ZodTypeAny, {
822
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
823
+ department_id_type?: "department_id" | "open_department_id" | undefined;
824
+ }, {
825
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
826
+ department_id_type?: "department_id" | "open_department_id" | undefined;
827
+ }>>;
828
+ path: z.ZodObject<{
829
+ role_id: z.ZodString;
830
+ member_id: z.ZodString;
831
+ }, "strip", z.ZodTypeAny, {
832
+ member_id: string;
833
+ role_id: string;
834
+ }, {
835
+ member_id: string;
836
+ role_id: string;
837
+ }>;
838
+ };
839
+ };
840
+ export declare const contactV3FunctionalRoleMemberList: {
841
+ project: string;
842
+ name: string;
843
+ sdkName: string;
844
+ path: string;
845
+ httpMethod: string;
846
+ description: string;
847
+ accessTokens: string[];
848
+ schema: {
849
+ params: z.ZodOptional<z.ZodObject<{
850
+ page_size: z.ZodOptional<z.ZodNumber>;
851
+ page_token: z.ZodOptional<z.ZodString>;
852
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
853
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
854
+ }, "strip", z.ZodTypeAny, {
855
+ page_size?: number | undefined;
856
+ page_token?: string | undefined;
857
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
858
+ department_id_type?: "department_id" | "open_department_id" | undefined;
859
+ }, {
860
+ page_size?: number | undefined;
861
+ page_token?: string | undefined;
862
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
863
+ department_id_type?: "department_id" | "open_department_id" | undefined;
864
+ }>>;
865
+ path: z.ZodObject<{
866
+ role_id: z.ZodString;
867
+ }, "strip", z.ZodTypeAny, {
868
+ role_id: string;
869
+ }, {
870
+ role_id: string;
871
+ }>;
872
+ };
873
+ };
874
+ export declare const contactV3FunctionalRoleMemberScopes: {
875
+ project: string;
876
+ name: string;
877
+ sdkName: string;
878
+ path: string;
879
+ httpMethod: string;
880
+ description: string;
881
+ accessTokens: string[];
882
+ schema: {
883
+ data: z.ZodObject<{
884
+ members: z.ZodArray<z.ZodString, "many">;
885
+ departments: z.ZodArray<z.ZodString, "many">;
886
+ }, "strip", z.ZodTypeAny, {
887
+ members: string[];
888
+ departments: string[];
889
+ }, {
890
+ members: string[];
891
+ departments: string[];
892
+ }>;
893
+ params: z.ZodOptional<z.ZodObject<{
894
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
895
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
896
+ }, "strip", z.ZodTypeAny, {
897
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
898
+ department_id_type?: "department_id" | "open_department_id" | undefined;
899
+ }, {
900
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
901
+ department_id_type?: "department_id" | "open_department_id" | undefined;
902
+ }>>;
903
+ path: z.ZodObject<{
904
+ role_id: z.ZodString;
905
+ }, "strip", z.ZodTypeAny, {
906
+ role_id: string;
907
+ }, {
908
+ role_id: string;
909
+ }>;
910
+ };
911
+ };
912
+ export declare const contactV3FunctionalRoleUpdate: {
913
+ project: string;
914
+ name: string;
915
+ sdkName: string;
916
+ path: string;
917
+ httpMethod: string;
918
+ description: string;
919
+ accessTokens: string[];
920
+ schema: {
921
+ data: z.ZodObject<{
922
+ role_name: z.ZodString;
923
+ }, "strip", z.ZodTypeAny, {
924
+ role_name: string;
925
+ }, {
926
+ role_name: string;
927
+ }>;
928
+ path: z.ZodObject<{
929
+ role_id: z.ZodString;
930
+ }, "strip", z.ZodTypeAny, {
931
+ role_id: string;
932
+ }, {
933
+ role_id: string;
934
+ }>;
935
+ };
936
+ };
937
+ export declare const contactV3GroupCreate: {
938
+ project: string;
939
+ name: string;
940
+ sdkName: string;
941
+ path: string;
942
+ httpMethod: string;
943
+ description: string;
944
+ accessTokens: string[];
945
+ schema: {
946
+ data: z.ZodObject<{
947
+ name: z.ZodString;
948
+ description: z.ZodOptional<z.ZodString>;
949
+ type: z.ZodOptional<z.ZodNumber>;
950
+ group_id: z.ZodOptional<z.ZodString>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ name: string;
953
+ type?: number | undefined;
954
+ description?: string | undefined;
955
+ group_id?: string | undefined;
956
+ }, {
957
+ name: string;
958
+ type?: number | undefined;
959
+ description?: string | undefined;
960
+ group_id?: string | undefined;
961
+ }>;
962
+ params: z.ZodOptional<z.ZodObject<{
963
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
964
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
967
+ department_id_type?: "department_id" | "open_department_id" | undefined;
968
+ }, {
969
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
970
+ department_id_type?: "department_id" | "open_department_id" | undefined;
971
+ }>>;
972
+ };
973
+ };
974
+ export declare const contactV3GroupDelete: {
975
+ project: string;
976
+ name: string;
977
+ sdkName: string;
978
+ path: string;
979
+ httpMethod: string;
980
+ description: string;
981
+ accessTokens: string[];
982
+ schema: {
983
+ path: z.ZodObject<{
984
+ group_id: z.ZodString;
985
+ }, "strip", z.ZodTypeAny, {
986
+ group_id: string;
987
+ }, {
988
+ group_id: string;
989
+ }>;
990
+ };
991
+ };
992
+ export declare const contactV3GroupGet: {
993
+ project: string;
994
+ name: string;
995
+ sdkName: string;
996
+ path: string;
997
+ httpMethod: string;
998
+ description: string;
999
+ accessTokens: string[];
1000
+ schema: {
1001
+ params: z.ZodOptional<z.ZodObject<{
1002
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1003
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1006
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1007
+ }, {
1008
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1009
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1010
+ }>>;
1011
+ path: z.ZodObject<{
1012
+ group_id: z.ZodString;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ group_id: string;
1015
+ }, {
1016
+ group_id: string;
1017
+ }>;
1018
+ };
1019
+ };
1020
+ export declare const contactV3GroupMemberBelong: {
1021
+ project: string;
1022
+ name: string;
1023
+ sdkName: string;
1024
+ path: string;
1025
+ httpMethod: string;
1026
+ description: string;
1027
+ accessTokens: string[];
1028
+ schema: {
1029
+ params: z.ZodObject<{
1030
+ member_id: z.ZodString;
1031
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1032
+ group_type: z.ZodOptional<z.ZodNumber>;
1033
+ page_size: z.ZodOptional<z.ZodNumber>;
1034
+ page_token: z.ZodOptional<z.ZodString>;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ member_id: string;
1037
+ page_size?: number | undefined;
1038
+ page_token?: string | undefined;
1039
+ group_type?: number | undefined;
1040
+ member_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1041
+ }, {
1042
+ member_id: string;
1043
+ page_size?: number | undefined;
1044
+ page_token?: string | undefined;
1045
+ group_type?: number | undefined;
1046
+ member_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1047
+ }>;
1048
+ };
1049
+ };
1050
+ export declare const contactV3GroupMemberAdd: {
1051
+ project: string;
1052
+ name: string;
1053
+ sdkName: string;
1054
+ path: string;
1055
+ httpMethod: string;
1056
+ description: string;
1057
+ accessTokens: string[];
1058
+ schema: {
1059
+ data: z.ZodObject<{
1060
+ member_type: z.ZodLiteral<"user">;
1061
+ member_id_type: z.ZodEnum<["open_id", "union_id", "user_id"]>;
1062
+ member_id: z.ZodString;
1063
+ }, "strip", z.ZodTypeAny, {
1064
+ member_id: string;
1065
+ member_id_type: "user_id" | "union_id" | "open_id";
1066
+ member_type: "user";
1067
+ }, {
1068
+ member_id: string;
1069
+ member_id_type: "user_id" | "union_id" | "open_id";
1070
+ member_type: "user";
1071
+ }>;
1072
+ path: z.ZodObject<{
1073
+ group_id: z.ZodString;
1074
+ }, "strip", z.ZodTypeAny, {
1075
+ group_id: string;
1076
+ }, {
1077
+ group_id: string;
1078
+ }>;
1079
+ };
1080
+ };
1081
+ export declare const contactV3GroupMemberBatchAdd: {
1082
+ project: string;
1083
+ name: string;
1084
+ sdkName: string;
1085
+ path: string;
1086
+ httpMethod: string;
1087
+ description: string;
1088
+ accessTokens: string[];
1089
+ schema: {
1090
+ data: z.ZodOptional<z.ZodObject<{
1091
+ members: z.ZodOptional<z.ZodArray<z.ZodObject<{
1092
+ member_id: z.ZodString;
1093
+ member_type: z.ZodString;
1094
+ member_id_type: z.ZodOptional<z.ZodString>;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ member_id: string;
1097
+ member_type: string;
1098
+ member_id_type?: string | undefined;
1099
+ }, {
1100
+ member_id: string;
1101
+ member_type: string;
1102
+ member_id_type?: string | undefined;
1103
+ }>, "many">>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ members?: {
1106
+ member_id: string;
1107
+ member_type: string;
1108
+ member_id_type?: string | undefined;
1109
+ }[] | undefined;
1110
+ }, {
1111
+ members?: {
1112
+ member_id: string;
1113
+ member_type: string;
1114
+ member_id_type?: string | undefined;
1115
+ }[] | undefined;
1116
+ }>>;
1117
+ path: z.ZodObject<{
1118
+ group_id: z.ZodString;
1119
+ }, "strip", z.ZodTypeAny, {
1120
+ group_id: string;
1121
+ }, {
1122
+ group_id: string;
1123
+ }>;
1124
+ };
1125
+ };
1126
+ export declare const contactV3GroupMemberBatchRemove: {
1127
+ project: string;
1128
+ name: string;
1129
+ sdkName: string;
1130
+ path: string;
1131
+ httpMethod: string;
1132
+ description: string;
1133
+ accessTokens: string[];
1134
+ schema: {
1135
+ data: z.ZodObject<{
1136
+ members: z.ZodArray<z.ZodObject<{
1137
+ member_id: z.ZodString;
1138
+ member_type: z.ZodString;
1139
+ member_id_type: z.ZodOptional<z.ZodString>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ member_id: string;
1142
+ member_type: string;
1143
+ member_id_type?: string | undefined;
1144
+ }, {
1145
+ member_id: string;
1146
+ member_type: string;
1147
+ member_id_type?: string | undefined;
1148
+ }>, "many">;
1149
+ }, "strip", z.ZodTypeAny, {
1150
+ members: {
1151
+ member_id: string;
1152
+ member_type: string;
1153
+ member_id_type?: string | undefined;
1154
+ }[];
1155
+ }, {
1156
+ members: {
1157
+ member_id: string;
1158
+ member_type: string;
1159
+ member_id_type?: string | undefined;
1160
+ }[];
1161
+ }>;
1162
+ path: z.ZodObject<{
1163
+ group_id: z.ZodString;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ group_id: string;
1166
+ }, {
1167
+ group_id: string;
1168
+ }>;
1169
+ };
1170
+ };
1171
+ export declare const contactV3GroupMemberRemove: {
1172
+ project: string;
1173
+ name: string;
1174
+ sdkName: string;
1175
+ path: string;
1176
+ httpMethod: string;
1177
+ description: string;
1178
+ accessTokens: string[];
1179
+ schema: {
1180
+ data: z.ZodObject<{
1181
+ member_type: z.ZodLiteral<"user">;
1182
+ member_id: z.ZodString;
1183
+ member_id_type: z.ZodEnum<["open_id", "union_id", "user_id"]>;
1184
+ }, "strip", z.ZodTypeAny, {
1185
+ member_id: string;
1186
+ member_id_type: "user_id" | "union_id" | "open_id";
1187
+ member_type: "user";
1188
+ }, {
1189
+ member_id: string;
1190
+ member_id_type: "user_id" | "union_id" | "open_id";
1191
+ member_type: "user";
1192
+ }>;
1193
+ path: z.ZodObject<{
1194
+ group_id: z.ZodString;
1195
+ }, "strip", z.ZodTypeAny, {
1196
+ group_id: string;
1197
+ }, {
1198
+ group_id: string;
1199
+ }>;
1200
+ };
1201
+ };
1202
+ export declare const contactV3GroupMemberSimplelist: {
1203
+ project: string;
1204
+ name: string;
1205
+ sdkName: string;
1206
+ path: string;
1207
+ httpMethod: string;
1208
+ description: string;
1209
+ accessTokens: string[];
1210
+ schema: {
1211
+ params: z.ZodOptional<z.ZodObject<{
1212
+ page_size: z.ZodOptional<z.ZodNumber>;
1213
+ page_token: z.ZodOptional<z.ZodString>;
1214
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id", "department_id"]>>;
1215
+ member_type: z.ZodOptional<z.ZodEnum<["user", "department"]>>;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ page_size?: number | undefined;
1218
+ page_token?: string | undefined;
1219
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | undefined;
1220
+ member_type?: "user" | "department" | undefined;
1221
+ }, {
1222
+ page_size?: number | undefined;
1223
+ page_token?: string | undefined;
1224
+ member_id_type?: "user_id" | "union_id" | "open_id" | "department_id" | undefined;
1225
+ member_type?: "user" | "department" | undefined;
1226
+ }>>;
1227
+ path: z.ZodObject<{
1228
+ group_id: z.ZodString;
1229
+ }, "strip", z.ZodTypeAny, {
1230
+ group_id: string;
1231
+ }, {
1232
+ group_id: string;
1233
+ }>;
1234
+ };
1235
+ };
1236
+ export declare const contactV3GroupPatch: {
1237
+ project: string;
1238
+ name: string;
1239
+ sdkName: string;
1240
+ path: string;
1241
+ httpMethod: string;
1242
+ description: string;
1243
+ accessTokens: string[];
1244
+ schema: {
1245
+ data: z.ZodOptional<z.ZodObject<{
1246
+ name: z.ZodOptional<z.ZodString>;
1247
+ description: z.ZodOptional<z.ZodString>;
1248
+ }, "strip", z.ZodTypeAny, {
1249
+ name?: string | undefined;
1250
+ description?: string | undefined;
1251
+ }, {
1252
+ name?: string | undefined;
1253
+ description?: string | undefined;
1254
+ }>>;
1255
+ params: z.ZodOptional<z.ZodObject<{
1256
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1257
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1260
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1261
+ }, {
1262
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1263
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1264
+ }>>;
1265
+ path: z.ZodObject<{
1266
+ group_id: z.ZodString;
1267
+ }, "strip", z.ZodTypeAny, {
1268
+ group_id: string;
1269
+ }, {
1270
+ group_id: string;
1271
+ }>;
1272
+ };
1273
+ };
1274
+ export declare const contactV3GroupSimplelist: {
1275
+ project: string;
1276
+ name: string;
1277
+ sdkName: string;
1278
+ path: string;
1279
+ httpMethod: string;
1280
+ description: string;
1281
+ accessTokens: string[];
1282
+ schema: {
1283
+ params: z.ZodOptional<z.ZodObject<{
1284
+ page_size: z.ZodOptional<z.ZodNumber>;
1285
+ page_token: z.ZodOptional<z.ZodString>;
1286
+ type: z.ZodOptional<z.ZodNumber>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ type?: number | undefined;
1289
+ page_size?: number | undefined;
1290
+ page_token?: string | undefined;
1291
+ }, {
1292
+ type?: number | undefined;
1293
+ page_size?: number | undefined;
1294
+ page_token?: string | undefined;
1295
+ }>>;
1296
+ };
1297
+ };
1298
+ export declare const contactV3JobFamilyCreate: {
1299
+ project: string;
1300
+ name: string;
1301
+ sdkName: string;
1302
+ path: string;
1303
+ httpMethod: string;
1304
+ description: string;
1305
+ accessTokens: string[];
1306
+ schema: {
1307
+ data: z.ZodObject<{
1308
+ name: z.ZodString;
1309
+ description: z.ZodOptional<z.ZodString>;
1310
+ parent_job_family_id: z.ZodOptional<z.ZodString>;
1311
+ status: z.ZodBoolean;
1312
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
1313
+ locale: z.ZodOptional<z.ZodString>;
1314
+ value: z.ZodOptional<z.ZodString>;
1315
+ }, "strip", z.ZodTypeAny, {
1316
+ value?: string | undefined;
1317
+ locale?: string | undefined;
1318
+ }, {
1319
+ value?: string | undefined;
1320
+ locale?: string | undefined;
1321
+ }>, "many">>;
1322
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
1323
+ locale: z.ZodOptional<z.ZodString>;
1324
+ value: z.ZodOptional<z.ZodString>;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ value?: string | undefined;
1327
+ locale?: string | undefined;
1328
+ }, {
1329
+ value?: string | undefined;
1330
+ locale?: string | undefined;
1331
+ }>, "many">>;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ status: boolean;
1334
+ name: string;
1335
+ i18n_name?: {
1336
+ value?: string | undefined;
1337
+ locale?: string | undefined;
1338
+ }[] | undefined;
1339
+ description?: string | undefined;
1340
+ parent_job_family_id?: string | undefined;
1341
+ i18n_description?: {
1342
+ value?: string | undefined;
1343
+ locale?: string | undefined;
1344
+ }[] | undefined;
1345
+ }, {
1346
+ status: boolean;
1347
+ name: string;
1348
+ i18n_name?: {
1349
+ value?: string | undefined;
1350
+ locale?: string | undefined;
1351
+ }[] | undefined;
1352
+ description?: string | undefined;
1353
+ parent_job_family_id?: string | undefined;
1354
+ i18n_description?: {
1355
+ value?: string | undefined;
1356
+ locale?: string | undefined;
1357
+ }[] | undefined;
1358
+ }>;
1359
+ };
1360
+ };
1361
+ export declare const contactV3JobFamilyDelete: {
1362
+ project: string;
1363
+ name: string;
1364
+ sdkName: string;
1365
+ path: string;
1366
+ httpMethod: string;
1367
+ description: string;
1368
+ accessTokens: string[];
1369
+ schema: {
1370
+ path: z.ZodObject<{
1371
+ job_family_id: z.ZodString;
1372
+ }, "strip", z.ZodTypeAny, {
1373
+ job_family_id: string;
1374
+ }, {
1375
+ job_family_id: string;
1376
+ }>;
1377
+ };
1378
+ };
1379
+ export declare const contactV3JobFamilyGet: {
1380
+ project: string;
1381
+ name: string;
1382
+ sdkName: string;
1383
+ path: string;
1384
+ httpMethod: string;
1385
+ description: string;
1386
+ accessTokens: string[];
1387
+ schema: {
1388
+ path: z.ZodObject<{
1389
+ job_family_id: z.ZodString;
1390
+ }, "strip", z.ZodTypeAny, {
1391
+ job_family_id: string;
1392
+ }, {
1393
+ job_family_id: string;
1394
+ }>;
1395
+ };
1396
+ };
1397
+ export declare const contactV3JobFamilyList: {
1398
+ project: string;
1399
+ name: string;
1400
+ sdkName: string;
1401
+ path: string;
1402
+ httpMethod: string;
1403
+ description: string;
1404
+ accessTokens: string[];
1405
+ schema: {
1406
+ params: z.ZodOptional<z.ZodObject<{
1407
+ page_size: z.ZodOptional<z.ZodNumber>;
1408
+ page_token: z.ZodOptional<z.ZodString>;
1409
+ name: z.ZodOptional<z.ZodString>;
1410
+ }, "strip", z.ZodTypeAny, {
1411
+ page_size?: number | undefined;
1412
+ page_token?: string | undefined;
1413
+ name?: string | undefined;
1414
+ }, {
1415
+ page_size?: number | undefined;
1416
+ page_token?: string | undefined;
1417
+ name?: string | undefined;
1418
+ }>>;
1419
+ };
1420
+ };
1421
+ export declare const contactV3JobFamilyUpdate: {
1422
+ project: string;
1423
+ name: string;
1424
+ sdkName: string;
1425
+ path: string;
1426
+ httpMethod: string;
1427
+ description: string;
1428
+ accessTokens: string[];
1429
+ schema: {
1430
+ data: z.ZodOptional<z.ZodObject<{
1431
+ name: z.ZodOptional<z.ZodString>;
1432
+ description: z.ZodOptional<z.ZodString>;
1433
+ parent_job_family_id: z.ZodOptional<z.ZodString>;
1434
+ status: z.ZodOptional<z.ZodBoolean>;
1435
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
1436
+ locale: z.ZodOptional<z.ZodString>;
1437
+ value: z.ZodOptional<z.ZodString>;
1438
+ }, "strip", z.ZodTypeAny, {
1439
+ value?: string | undefined;
1440
+ locale?: string | undefined;
1441
+ }, {
1442
+ value?: string | undefined;
1443
+ locale?: string | undefined;
1444
+ }>, "many">>;
1445
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
1446
+ locale: z.ZodOptional<z.ZodString>;
1447
+ value: z.ZodOptional<z.ZodString>;
1448
+ }, "strip", z.ZodTypeAny, {
1449
+ value?: string | undefined;
1450
+ locale?: string | undefined;
1451
+ }, {
1452
+ value?: string | undefined;
1453
+ locale?: string | undefined;
1454
+ }>, "many">>;
1455
+ }, "strip", z.ZodTypeAny, {
1456
+ status?: boolean | undefined;
1457
+ name?: string | undefined;
1458
+ i18n_name?: {
1459
+ value?: string | undefined;
1460
+ locale?: string | undefined;
1461
+ }[] | undefined;
1462
+ description?: string | undefined;
1463
+ parent_job_family_id?: string | undefined;
1464
+ i18n_description?: {
1465
+ value?: string | undefined;
1466
+ locale?: string | undefined;
1467
+ }[] | undefined;
1468
+ }, {
1469
+ status?: boolean | undefined;
1470
+ name?: string | undefined;
1471
+ i18n_name?: {
1472
+ value?: string | undefined;
1473
+ locale?: string | undefined;
1474
+ }[] | undefined;
1475
+ description?: string | undefined;
1476
+ parent_job_family_id?: string | undefined;
1477
+ i18n_description?: {
1478
+ value?: string | undefined;
1479
+ locale?: string | undefined;
1480
+ }[] | undefined;
1481
+ }>>;
1482
+ path: z.ZodObject<{
1483
+ job_family_id: z.ZodString;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ job_family_id: string;
1486
+ }, {
1487
+ job_family_id: string;
1488
+ }>;
1489
+ };
1490
+ };
1491
+ export declare const contactV3JobLevelCreate: {
1492
+ project: string;
1493
+ name: string;
1494
+ sdkName: string;
1495
+ path: string;
1496
+ httpMethod: string;
1497
+ description: string;
1498
+ accessTokens: string[];
1499
+ schema: {
1500
+ data: z.ZodObject<{
1501
+ name: z.ZodString;
1502
+ description: z.ZodOptional<z.ZodString>;
1503
+ order: z.ZodOptional<z.ZodNumber>;
1504
+ status: z.ZodBoolean;
1505
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
1506
+ locale: z.ZodOptional<z.ZodString>;
1507
+ value: z.ZodOptional<z.ZodString>;
1508
+ }, "strip", z.ZodTypeAny, {
1509
+ value?: string | undefined;
1510
+ locale?: string | undefined;
1511
+ }, {
1512
+ value?: string | undefined;
1513
+ locale?: string | undefined;
1514
+ }>, "many">>;
1515
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
1516
+ locale: z.ZodOptional<z.ZodString>;
1517
+ value: z.ZodOptional<z.ZodString>;
1518
+ }, "strip", z.ZodTypeAny, {
1519
+ value?: string | undefined;
1520
+ locale?: string | undefined;
1521
+ }, {
1522
+ value?: string | undefined;
1523
+ locale?: string | undefined;
1524
+ }>, "many">>;
1525
+ }, "strip", z.ZodTypeAny, {
1526
+ status: boolean;
1527
+ name: string;
1528
+ i18n_name?: {
1529
+ value?: string | undefined;
1530
+ locale?: string | undefined;
1531
+ }[] | undefined;
1532
+ description?: string | undefined;
1533
+ order?: number | undefined;
1534
+ i18n_description?: {
1535
+ value?: string | undefined;
1536
+ locale?: string | undefined;
1537
+ }[] | undefined;
1538
+ }, {
1539
+ status: boolean;
1540
+ name: string;
1541
+ i18n_name?: {
1542
+ value?: string | undefined;
1543
+ locale?: string | undefined;
1544
+ }[] | undefined;
1545
+ description?: string | undefined;
1546
+ order?: number | undefined;
1547
+ i18n_description?: {
1548
+ value?: string | undefined;
1549
+ locale?: string | undefined;
1550
+ }[] | undefined;
1551
+ }>;
1552
+ };
1553
+ };
1554
+ export declare const contactV3JobLevelDelete: {
1555
+ project: string;
1556
+ name: string;
1557
+ sdkName: string;
1558
+ path: string;
1559
+ httpMethod: string;
1560
+ description: string;
1561
+ accessTokens: string[];
1562
+ schema: {
1563
+ path: z.ZodObject<{
1564
+ job_level_id: z.ZodString;
1565
+ }, "strip", z.ZodTypeAny, {
1566
+ job_level_id: string;
1567
+ }, {
1568
+ job_level_id: string;
1569
+ }>;
1570
+ };
1571
+ };
1572
+ export declare const contactV3JobLevelGet: {
1573
+ project: string;
1574
+ name: string;
1575
+ sdkName: string;
1576
+ path: string;
1577
+ httpMethod: string;
1578
+ description: string;
1579
+ accessTokens: string[];
1580
+ schema: {
1581
+ path: z.ZodObject<{
1582
+ job_level_id: z.ZodString;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ job_level_id: string;
1585
+ }, {
1586
+ job_level_id: string;
1587
+ }>;
1588
+ };
1589
+ };
1590
+ export declare const contactV3JobLevelList: {
1591
+ project: string;
1592
+ name: string;
1593
+ sdkName: string;
1594
+ path: string;
1595
+ httpMethod: string;
1596
+ description: string;
1597
+ accessTokens: string[];
1598
+ schema: {
1599
+ params: z.ZodOptional<z.ZodObject<{
1600
+ page_size: z.ZodOptional<z.ZodNumber>;
1601
+ page_token: z.ZodOptional<z.ZodString>;
1602
+ name: z.ZodOptional<z.ZodString>;
1603
+ }, "strip", z.ZodTypeAny, {
1604
+ page_size?: number | undefined;
1605
+ page_token?: string | undefined;
1606
+ name?: string | undefined;
1607
+ }, {
1608
+ page_size?: number | undefined;
1609
+ page_token?: string | undefined;
1610
+ name?: string | undefined;
1611
+ }>>;
1612
+ };
1613
+ };
1614
+ export declare const contactV3JobLevelUpdate: {
1615
+ project: string;
1616
+ name: string;
1617
+ sdkName: string;
1618
+ path: string;
1619
+ httpMethod: string;
1620
+ description: string;
1621
+ accessTokens: string[];
1622
+ schema: {
1623
+ data: z.ZodOptional<z.ZodObject<{
1624
+ name: z.ZodOptional<z.ZodString>;
1625
+ description: z.ZodOptional<z.ZodString>;
1626
+ order: z.ZodOptional<z.ZodNumber>;
1627
+ status: z.ZodOptional<z.ZodBoolean>;
1628
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
1629
+ locale: z.ZodOptional<z.ZodString>;
1630
+ value: z.ZodOptional<z.ZodString>;
1631
+ }, "strip", z.ZodTypeAny, {
1632
+ value?: string | undefined;
1633
+ locale?: string | undefined;
1634
+ }, {
1635
+ value?: string | undefined;
1636
+ locale?: string | undefined;
1637
+ }>, "many">>;
1638
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
1639
+ locale: z.ZodOptional<z.ZodString>;
1640
+ value: z.ZodOptional<z.ZodString>;
1641
+ }, "strip", z.ZodTypeAny, {
1642
+ value?: string | undefined;
1643
+ locale?: string | undefined;
1644
+ }, {
1645
+ value?: string | undefined;
1646
+ locale?: string | undefined;
1647
+ }>, "many">>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ status?: boolean | undefined;
1650
+ name?: string | undefined;
1651
+ i18n_name?: {
1652
+ value?: string | undefined;
1653
+ locale?: string | undefined;
1654
+ }[] | undefined;
1655
+ description?: string | undefined;
1656
+ order?: number | undefined;
1657
+ i18n_description?: {
1658
+ value?: string | undefined;
1659
+ locale?: string | undefined;
1660
+ }[] | undefined;
1661
+ }, {
1662
+ status?: boolean | undefined;
1663
+ name?: string | undefined;
1664
+ i18n_name?: {
1665
+ value?: string | undefined;
1666
+ locale?: string | undefined;
1667
+ }[] | undefined;
1668
+ description?: string | undefined;
1669
+ order?: number | undefined;
1670
+ i18n_description?: {
1671
+ value?: string | undefined;
1672
+ locale?: string | undefined;
1673
+ }[] | undefined;
1674
+ }>>;
1675
+ path: z.ZodObject<{
1676
+ job_level_id: z.ZodString;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ job_level_id: string;
1679
+ }, {
1680
+ job_level_id: string;
1681
+ }>;
1682
+ };
1683
+ };
1684
+ export declare const contactV3JobTitleGet: {
1685
+ project: string;
1686
+ name: string;
1687
+ sdkName: string;
1688
+ path: string;
1689
+ httpMethod: string;
1690
+ description: string;
1691
+ accessTokens: string[];
1692
+ schema: {
1693
+ path: z.ZodOptional<z.ZodObject<{
1694
+ job_title_id: z.ZodOptional<z.ZodString>;
1695
+ }, "strip", z.ZodTypeAny, {
1696
+ job_title_id?: string | undefined;
1697
+ }, {
1698
+ job_title_id?: string | undefined;
1699
+ }>>;
1700
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1701
+ };
1702
+ };
1703
+ export declare const contactV3JobTitleList: {
1704
+ project: string;
1705
+ name: string;
1706
+ sdkName: string;
1707
+ path: string;
1708
+ httpMethod: string;
1709
+ description: string;
1710
+ accessTokens: string[];
1711
+ schema: {
1712
+ params: z.ZodOptional<z.ZodObject<{
1713
+ page_size: z.ZodOptional<z.ZodNumber>;
1714
+ page_token: z.ZodOptional<z.ZodString>;
1715
+ }, "strip", z.ZodTypeAny, {
1716
+ page_size?: number | undefined;
1717
+ page_token?: string | undefined;
1718
+ }, {
1719
+ page_size?: number | undefined;
1720
+ page_token?: string | undefined;
1721
+ }>>;
1722
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1723
+ };
1724
+ };
1725
+ export declare const contactV3ScopeList: {
1726
+ project: string;
1727
+ name: string;
1728
+ sdkName: string;
1729
+ path: string;
1730
+ httpMethod: string;
1731
+ description: string;
1732
+ accessTokens: string[];
1733
+ schema: {
1734
+ params: z.ZodOptional<z.ZodObject<{
1735
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1736
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
1737
+ page_token: z.ZodOptional<z.ZodString>;
1738
+ page_size: z.ZodOptional<z.ZodNumber>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ page_size?: number | undefined;
1741
+ page_token?: string | undefined;
1742
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1743
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1744
+ }, {
1745
+ page_size?: number | undefined;
1746
+ page_token?: string | undefined;
1747
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1748
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1749
+ }>>;
1750
+ };
1751
+ };
1752
+ export declare const contactV3UnitBindDepartment: {
1753
+ project: string;
1754
+ name: string;
1755
+ sdkName: string;
1756
+ path: string;
1757
+ httpMethod: string;
1758
+ description: string;
1759
+ accessTokens: string[];
1760
+ schema: {
1761
+ data: z.ZodObject<{
1762
+ unit_id: z.ZodString;
1763
+ department_id: z.ZodString;
1764
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ department_id: string;
1767
+ unit_id: string;
1768
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1769
+ }, {
1770
+ department_id: string;
1771
+ unit_id: string;
1772
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1773
+ }>;
1774
+ };
1775
+ };
1776
+ export declare const contactV3UnitCreate: {
1777
+ project: string;
1778
+ name: string;
1779
+ sdkName: string;
1780
+ path: string;
1781
+ httpMethod: string;
1782
+ description: string;
1783
+ accessTokens: string[];
1784
+ schema: {
1785
+ data: z.ZodObject<{
1786
+ unit_id: z.ZodOptional<z.ZodString>;
1787
+ name: z.ZodString;
1788
+ unit_type: z.ZodString;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ name: string;
1791
+ unit_type: string;
1792
+ unit_id?: string | undefined;
1793
+ }, {
1794
+ name: string;
1795
+ unit_type: string;
1796
+ unit_id?: string | undefined;
1797
+ }>;
1798
+ };
1799
+ };
1800
+ export declare const contactV3UnitDelete: {
1801
+ project: string;
1802
+ name: string;
1803
+ sdkName: string;
1804
+ path: string;
1805
+ httpMethod: string;
1806
+ description: string;
1807
+ accessTokens: string[];
1808
+ schema: {
1809
+ path: z.ZodObject<{
1810
+ unit_id: z.ZodString;
1811
+ }, "strip", z.ZodTypeAny, {
1812
+ unit_id: string;
1813
+ }, {
1814
+ unit_id: string;
1815
+ }>;
1816
+ };
1817
+ };
1818
+ export declare const contactV3UnitGet: {
1819
+ project: string;
1820
+ name: string;
1821
+ sdkName: string;
1822
+ path: string;
1823
+ httpMethod: string;
1824
+ description: string;
1825
+ accessTokens: string[];
1826
+ schema: {
1827
+ path: z.ZodObject<{
1828
+ unit_id: z.ZodString;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ unit_id: string;
1831
+ }, {
1832
+ unit_id: string;
1833
+ }>;
1834
+ };
1835
+ };
1836
+ export declare const contactV3UnitList: {
1837
+ project: string;
1838
+ name: string;
1839
+ sdkName: string;
1840
+ path: string;
1841
+ httpMethod: string;
1842
+ description: string;
1843
+ accessTokens: string[];
1844
+ schema: {
1845
+ params: z.ZodOptional<z.ZodObject<{
1846
+ page_size: z.ZodOptional<z.ZodNumber>;
1847
+ page_token: z.ZodOptional<z.ZodString>;
1848
+ }, "strip", z.ZodTypeAny, {
1849
+ page_size?: number | undefined;
1850
+ page_token?: string | undefined;
1851
+ }, {
1852
+ page_size?: number | undefined;
1853
+ page_token?: string | undefined;
1854
+ }>>;
1855
+ };
1856
+ };
1857
+ export declare const contactV3UnitListDepartment: {
1858
+ project: string;
1859
+ name: string;
1860
+ sdkName: string;
1861
+ path: string;
1862
+ httpMethod: string;
1863
+ description: string;
1864
+ accessTokens: string[];
1865
+ schema: {
1866
+ params: z.ZodObject<{
1867
+ unit_id: z.ZodString;
1868
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
1869
+ page_token: z.ZodOptional<z.ZodString>;
1870
+ page_size: z.ZodOptional<z.ZodNumber>;
1871
+ }, "strip", z.ZodTypeAny, {
1872
+ unit_id: string;
1873
+ page_size?: number | undefined;
1874
+ page_token?: string | undefined;
1875
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1876
+ }, {
1877
+ unit_id: string;
1878
+ page_size?: number | undefined;
1879
+ page_token?: string | undefined;
1880
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1881
+ }>;
1882
+ };
1883
+ };
1884
+ export declare const contactV3UnitPatch: {
1885
+ project: string;
1886
+ name: string;
1887
+ sdkName: string;
1888
+ path: string;
1889
+ httpMethod: string;
1890
+ description: string;
1891
+ accessTokens: string[];
1892
+ schema: {
1893
+ data: z.ZodOptional<z.ZodObject<{
1894
+ name: z.ZodOptional<z.ZodString>;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ name?: string | undefined;
1897
+ }, {
1898
+ name?: string | undefined;
1899
+ }>>;
1900
+ path: z.ZodObject<{
1901
+ unit_id: z.ZodString;
1902
+ }, "strip", z.ZodTypeAny, {
1903
+ unit_id: string;
1904
+ }, {
1905
+ unit_id: string;
1906
+ }>;
1907
+ };
1908
+ };
1909
+ export declare const contactV3UnitUnbindDepartment: {
1910
+ project: string;
1911
+ name: string;
1912
+ sdkName: string;
1913
+ path: string;
1914
+ httpMethod: string;
1915
+ description: string;
1916
+ accessTokens: string[];
1917
+ schema: {
1918
+ data: z.ZodObject<{
1919
+ unit_id: z.ZodString;
1920
+ department_id: z.ZodString;
1921
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
1922
+ }, "strip", z.ZodTypeAny, {
1923
+ department_id: string;
1924
+ unit_id: string;
1925
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1926
+ }, {
1927
+ department_id: string;
1928
+ unit_id: string;
1929
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1930
+ }>;
1931
+ };
1932
+ };
1933
+ export declare const contactV3UserBatch: {
1934
+ project: string;
1935
+ name: string;
1936
+ sdkName: string;
1937
+ path: string;
1938
+ httpMethod: string;
1939
+ description: string;
1940
+ accessTokens: string[];
1941
+ schema: {
1942
+ params: z.ZodObject<{
1943
+ user_ids: z.ZodArray<z.ZodString, "many">;
1944
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1945
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
1946
+ }, "strip", z.ZodTypeAny, {
1947
+ user_ids: string[];
1948
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1949
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1950
+ }, {
1951
+ user_ids: string[];
1952
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1953
+ department_id_type?: "department_id" | "open_department_id" | undefined;
1954
+ }>;
1955
+ useUAT: z.ZodOptional<z.ZodBoolean>;
1956
+ };
1957
+ };
1958
+ export declare const contactV3UserBatchGetId: {
1959
+ project: string;
1960
+ name: string;
1961
+ sdkName: string;
1962
+ path: string;
1963
+ httpMethod: string;
1964
+ description: string;
1965
+ accessTokens: string[];
1966
+ schema: {
1967
+ data: z.ZodOptional<z.ZodObject<{
1968
+ emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1969
+ mobiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1970
+ include_resigned: z.ZodOptional<z.ZodBoolean>;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ emails?: string[] | undefined;
1973
+ mobiles?: string[] | undefined;
1974
+ include_resigned?: boolean | undefined;
1975
+ }, {
1976
+ emails?: string[] | undefined;
1977
+ mobiles?: string[] | undefined;
1978
+ include_resigned?: boolean | undefined;
1979
+ }>>;
1980
+ params: z.ZodOptional<z.ZodObject<{
1981
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
1982
+ }, "strip", z.ZodTypeAny, {
1983
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1984
+ }, {
1985
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
1986
+ }>>;
1987
+ };
1988
+ };
1989
+ export declare const contactV3UserCreate: {
1990
+ project: string;
1991
+ name: string;
1992
+ sdkName: string;
1993
+ path: string;
1994
+ httpMethod: string;
1995
+ description: string;
1996
+ accessTokens: string[];
1997
+ schema: {
1998
+ data: z.ZodObject<{
1999
+ user_id: z.ZodOptional<z.ZodString>;
2000
+ name: z.ZodString;
2001
+ en_name: z.ZodOptional<z.ZodString>;
2002
+ nickname: z.ZodOptional<z.ZodString>;
2003
+ email: z.ZodOptional<z.ZodString>;
2004
+ mobile: z.ZodString;
2005
+ mobile_visible: z.ZodOptional<z.ZodBoolean>;
2006
+ gender: z.ZodOptional<z.ZodNumber>;
2007
+ avatar_key: z.ZodOptional<z.ZodString>;
2008
+ department_ids: z.ZodArray<z.ZodString, "many">;
2009
+ leader_user_id: z.ZodOptional<z.ZodString>;
2010
+ city: z.ZodOptional<z.ZodString>;
2011
+ country: z.ZodOptional<z.ZodString>;
2012
+ work_station: z.ZodOptional<z.ZodString>;
2013
+ join_time: z.ZodOptional<z.ZodNumber>;
2014
+ employee_no: z.ZodOptional<z.ZodString>;
2015
+ employee_type: z.ZodNumber;
2016
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
2017
+ department_id: z.ZodOptional<z.ZodString>;
2018
+ user_order: z.ZodOptional<z.ZodNumber>;
2019
+ department_order: z.ZodOptional<z.ZodNumber>;
2020
+ is_primary_dept: z.ZodOptional<z.ZodBoolean>;
2021
+ }, "strip", z.ZodTypeAny, {
2022
+ department_id?: string | undefined;
2023
+ user_order?: number | undefined;
2024
+ department_order?: number | undefined;
2025
+ is_primary_dept?: boolean | undefined;
2026
+ }, {
2027
+ department_id?: string | undefined;
2028
+ user_order?: number | undefined;
2029
+ department_order?: number | undefined;
2030
+ is_primary_dept?: boolean | undefined;
2031
+ }>, "many">>;
2032
+ custom_attrs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2033
+ type: z.ZodOptional<z.ZodString>;
2034
+ id: z.ZodOptional<z.ZodString>;
2035
+ value: z.ZodOptional<z.ZodObject<{
2036
+ text: z.ZodOptional<z.ZodString>;
2037
+ url: z.ZodOptional<z.ZodString>;
2038
+ pc_url: z.ZodOptional<z.ZodString>;
2039
+ option_id: z.ZodOptional<z.ZodString>;
2040
+ generic_user: z.ZodOptional<z.ZodObject<{
2041
+ id: z.ZodString;
2042
+ type: z.ZodNumber;
2043
+ }, "strip", z.ZodTypeAny, {
2044
+ type: number;
2045
+ id: string;
2046
+ }, {
2047
+ type: number;
2048
+ id: string;
2049
+ }>>;
2050
+ }, "strip", z.ZodTypeAny, {
2051
+ text?: string | undefined;
2052
+ url?: string | undefined;
2053
+ pc_url?: string | undefined;
2054
+ option_id?: string | undefined;
2055
+ generic_user?: {
2056
+ type: number;
2057
+ id: string;
2058
+ } | undefined;
2059
+ }, {
2060
+ text?: string | undefined;
2061
+ url?: string | undefined;
2062
+ pc_url?: string | undefined;
2063
+ option_id?: string | undefined;
2064
+ generic_user?: {
2065
+ type: number;
2066
+ id: string;
2067
+ } | undefined;
2068
+ }>>;
2069
+ }, "strip", z.ZodTypeAny, {
2070
+ value?: {
2071
+ text?: string | undefined;
2072
+ url?: string | undefined;
2073
+ pc_url?: string | undefined;
2074
+ option_id?: string | undefined;
2075
+ generic_user?: {
2076
+ type: number;
2077
+ id: string;
2078
+ } | undefined;
2079
+ } | undefined;
2080
+ type?: string | undefined;
2081
+ id?: string | undefined;
2082
+ }, {
2083
+ value?: {
2084
+ text?: string | undefined;
2085
+ url?: string | undefined;
2086
+ pc_url?: string | undefined;
2087
+ option_id?: string | undefined;
2088
+ generic_user?: {
2089
+ type: number;
2090
+ id: string;
2091
+ } | undefined;
2092
+ } | undefined;
2093
+ type?: string | undefined;
2094
+ id?: string | undefined;
2095
+ }>, "many">>;
2096
+ enterprise_email: z.ZodOptional<z.ZodString>;
2097
+ job_title: z.ZodOptional<z.ZodString>;
2098
+ geo: z.ZodOptional<z.ZodString>;
2099
+ job_level_id: z.ZodOptional<z.ZodString>;
2100
+ job_family_id: z.ZodOptional<z.ZodString>;
2101
+ subscription_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2102
+ dotted_line_leader_user_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2103
+ }, "strip", z.ZodTypeAny, {
2104
+ department_ids: string[];
2105
+ name: string;
2106
+ mobile: string;
2107
+ employee_type: number;
2108
+ user_id?: string | undefined;
2109
+ employee_no?: string | undefined;
2110
+ leader_user_id?: string | undefined;
2111
+ job_family_id?: string | undefined;
2112
+ job_level_id?: string | undefined;
2113
+ en_name?: string | undefined;
2114
+ nickname?: string | undefined;
2115
+ email?: string | undefined;
2116
+ mobile_visible?: boolean | undefined;
2117
+ gender?: number | undefined;
2118
+ avatar_key?: string | undefined;
2119
+ city?: string | undefined;
2120
+ country?: string | undefined;
2121
+ work_station?: string | undefined;
2122
+ join_time?: number | undefined;
2123
+ orders?: {
2124
+ department_id?: string | undefined;
2125
+ user_order?: number | undefined;
2126
+ department_order?: number | undefined;
2127
+ is_primary_dept?: boolean | undefined;
2128
+ }[] | undefined;
2129
+ custom_attrs?: {
2130
+ value?: {
2131
+ text?: string | undefined;
2132
+ url?: string | undefined;
2133
+ pc_url?: string | undefined;
2134
+ option_id?: string | undefined;
2135
+ generic_user?: {
2136
+ type: number;
2137
+ id: string;
2138
+ } | undefined;
2139
+ } | undefined;
2140
+ type?: string | undefined;
2141
+ id?: string | undefined;
2142
+ }[] | undefined;
2143
+ enterprise_email?: string | undefined;
2144
+ job_title?: string | undefined;
2145
+ geo?: string | undefined;
2146
+ subscription_ids?: string[] | undefined;
2147
+ dotted_line_leader_user_ids?: string[] | undefined;
2148
+ }, {
2149
+ department_ids: string[];
2150
+ name: string;
2151
+ mobile: string;
2152
+ employee_type: number;
2153
+ user_id?: string | undefined;
2154
+ employee_no?: string | undefined;
2155
+ leader_user_id?: string | undefined;
2156
+ job_family_id?: string | undefined;
2157
+ job_level_id?: string | undefined;
2158
+ en_name?: string | undefined;
2159
+ nickname?: string | undefined;
2160
+ email?: string | undefined;
2161
+ mobile_visible?: boolean | undefined;
2162
+ gender?: number | undefined;
2163
+ avatar_key?: string | undefined;
2164
+ city?: string | undefined;
2165
+ country?: string | undefined;
2166
+ work_station?: string | undefined;
2167
+ join_time?: number | undefined;
2168
+ orders?: {
2169
+ department_id?: string | undefined;
2170
+ user_order?: number | undefined;
2171
+ department_order?: number | undefined;
2172
+ is_primary_dept?: boolean | undefined;
2173
+ }[] | undefined;
2174
+ custom_attrs?: {
2175
+ value?: {
2176
+ text?: string | undefined;
2177
+ url?: string | undefined;
2178
+ pc_url?: string | undefined;
2179
+ option_id?: string | undefined;
2180
+ generic_user?: {
2181
+ type: number;
2182
+ id: string;
2183
+ } | undefined;
2184
+ } | undefined;
2185
+ type?: string | undefined;
2186
+ id?: string | undefined;
2187
+ }[] | undefined;
2188
+ enterprise_email?: string | undefined;
2189
+ job_title?: string | undefined;
2190
+ geo?: string | undefined;
2191
+ subscription_ids?: string[] | undefined;
2192
+ dotted_line_leader_user_ids?: string[] | undefined;
2193
+ }>;
2194
+ params: z.ZodOptional<z.ZodObject<{
2195
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2196
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2197
+ client_token: z.ZodOptional<z.ZodString>;
2198
+ }, "strip", z.ZodTypeAny, {
2199
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2200
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2201
+ client_token?: string | undefined;
2202
+ }, {
2203
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2204
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2205
+ client_token?: string | undefined;
2206
+ }>>;
2207
+ };
2208
+ };
2209
+ export declare const contactV3UserDelete: {
2210
+ project: string;
2211
+ name: string;
2212
+ sdkName: string;
2213
+ path: string;
2214
+ httpMethod: string;
2215
+ description: string;
2216
+ accessTokens: string[];
2217
+ schema: {
2218
+ data: z.ZodOptional<z.ZodObject<{
2219
+ department_chat_acceptor_user_id: z.ZodOptional<z.ZodString>;
2220
+ external_chat_acceptor_user_id: z.ZodOptional<z.ZodString>;
2221
+ docs_acceptor_user_id: z.ZodOptional<z.ZodString>;
2222
+ calendar_acceptor_user_id: z.ZodOptional<z.ZodString>;
2223
+ application_acceptor_user_id: z.ZodOptional<z.ZodString>;
2224
+ minutes_acceptor_user_id: z.ZodOptional<z.ZodString>;
2225
+ survey_acceptor_user_id: z.ZodOptional<z.ZodString>;
2226
+ email_acceptor: z.ZodOptional<z.ZodObject<{
2227
+ processing_type: z.ZodEnum<["1", "2", "3"]>;
2228
+ acceptor_user_id: z.ZodOptional<z.ZodString>;
2229
+ }, "strip", z.ZodTypeAny, {
2230
+ processing_type: "1" | "2" | "3";
2231
+ acceptor_user_id?: string | undefined;
2232
+ }, {
2233
+ processing_type: "1" | "2" | "3";
2234
+ acceptor_user_id?: string | undefined;
2235
+ }>>;
2236
+ anycross_acceptor_user_id: z.ZodOptional<z.ZodString>;
2237
+ }, "strip", z.ZodTypeAny, {
2238
+ department_chat_acceptor_user_id?: string | undefined;
2239
+ external_chat_acceptor_user_id?: string | undefined;
2240
+ docs_acceptor_user_id?: string | undefined;
2241
+ calendar_acceptor_user_id?: string | undefined;
2242
+ application_acceptor_user_id?: string | undefined;
2243
+ minutes_acceptor_user_id?: string | undefined;
2244
+ survey_acceptor_user_id?: string | undefined;
2245
+ email_acceptor?: {
2246
+ processing_type: "1" | "2" | "3";
2247
+ acceptor_user_id?: string | undefined;
2248
+ } | undefined;
2249
+ anycross_acceptor_user_id?: string | undefined;
2250
+ }, {
2251
+ department_chat_acceptor_user_id?: string | undefined;
2252
+ external_chat_acceptor_user_id?: string | undefined;
2253
+ docs_acceptor_user_id?: string | undefined;
2254
+ calendar_acceptor_user_id?: string | undefined;
2255
+ application_acceptor_user_id?: string | undefined;
2256
+ minutes_acceptor_user_id?: string | undefined;
2257
+ survey_acceptor_user_id?: string | undefined;
2258
+ email_acceptor?: {
2259
+ processing_type: "1" | "2" | "3";
2260
+ acceptor_user_id?: string | undefined;
2261
+ } | undefined;
2262
+ anycross_acceptor_user_id?: string | undefined;
2263
+ }>>;
2264
+ params: z.ZodOptional<z.ZodObject<{
2265
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2266
+ }, "strip", z.ZodTypeAny, {
2267
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2268
+ }, {
2269
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2270
+ }>>;
2271
+ path: z.ZodObject<{
2272
+ user_id: z.ZodString;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ user_id: string;
2275
+ }, {
2276
+ user_id: string;
2277
+ }>;
2278
+ };
2279
+ };
2280
+ export declare const contactV3UserFindByDepartment: {
2281
+ project: string;
2282
+ name: string;
2283
+ sdkName: string;
2284
+ path: string;
2285
+ httpMethod: string;
2286
+ description: string;
2287
+ accessTokens: string[];
2288
+ schema: {
2289
+ params: z.ZodObject<{
2290
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2291
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2292
+ department_id: z.ZodString;
2293
+ page_size: z.ZodOptional<z.ZodNumber>;
2294
+ page_token: z.ZodOptional<z.ZodString>;
2295
+ }, "strip", z.ZodTypeAny, {
2296
+ department_id: string;
2297
+ page_size?: number | undefined;
2298
+ page_token?: string | undefined;
2299
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2300
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2301
+ }, {
2302
+ department_id: string;
2303
+ page_size?: number | undefined;
2304
+ page_token?: string | undefined;
2305
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2306
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2307
+ }>;
2308
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2309
+ };
2310
+ };
2311
+ export declare const contactV3UserGet: {
2312
+ project: string;
2313
+ name: string;
2314
+ sdkName: string;
2315
+ path: string;
2316
+ httpMethod: string;
2317
+ description: string;
2318
+ accessTokens: string[];
2319
+ schema: {
2320
+ params: z.ZodOptional<z.ZodObject<{
2321
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2322
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2323
+ }, "strip", z.ZodTypeAny, {
2324
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2325
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2326
+ }, {
2327
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2328
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2329
+ }>>;
2330
+ path: z.ZodObject<{
2331
+ user_id: z.ZodString;
2332
+ }, "strip", z.ZodTypeAny, {
2333
+ user_id: string;
2334
+ }, {
2335
+ user_id: string;
2336
+ }>;
2337
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2338
+ };
2339
+ };
2340
+ export declare const contactV3UserList: {
2341
+ project: string;
2342
+ name: string;
2343
+ sdkName: string;
2344
+ path: string;
2345
+ httpMethod: string;
2346
+ description: string;
2347
+ accessTokens: string[];
2348
+ schema: {
2349
+ params: z.ZodOptional<z.ZodObject<{
2350
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2351
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2352
+ department_id: z.ZodOptional<z.ZodString>;
2353
+ page_token: z.ZodOptional<z.ZodString>;
2354
+ page_size: z.ZodOptional<z.ZodNumber>;
2355
+ }, "strip", z.ZodTypeAny, {
2356
+ page_size?: number | undefined;
2357
+ page_token?: string | undefined;
2358
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2359
+ department_id?: string | undefined;
2360
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2361
+ }, {
2362
+ page_size?: number | undefined;
2363
+ page_token?: string | undefined;
2364
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2365
+ department_id?: string | undefined;
2366
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2367
+ }>>;
2368
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2369
+ };
2370
+ };
2371
+ export declare const contactV3UserPatch: {
2372
+ project: string;
2373
+ name: string;
2374
+ sdkName: string;
2375
+ path: string;
2376
+ httpMethod: string;
2377
+ description: string;
2378
+ accessTokens: string[];
2379
+ schema: {
2380
+ data: z.ZodOptional<z.ZodObject<{
2381
+ name: z.ZodOptional<z.ZodString>;
2382
+ en_name: z.ZodOptional<z.ZodString>;
2383
+ nickname: z.ZodOptional<z.ZodString>;
2384
+ email: z.ZodOptional<z.ZodString>;
2385
+ mobile: z.ZodOptional<z.ZodString>;
2386
+ mobile_visible: z.ZodOptional<z.ZodBoolean>;
2387
+ gender: z.ZodOptional<z.ZodNumber>;
2388
+ avatar_key: z.ZodOptional<z.ZodString>;
2389
+ department_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2390
+ leader_user_id: z.ZodOptional<z.ZodString>;
2391
+ city: z.ZodOptional<z.ZodString>;
2392
+ country: z.ZodOptional<z.ZodString>;
2393
+ work_station: z.ZodOptional<z.ZodString>;
2394
+ join_time: z.ZodOptional<z.ZodNumber>;
2395
+ employee_no: z.ZodOptional<z.ZodString>;
2396
+ employee_type: z.ZodOptional<z.ZodNumber>;
2397
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
2398
+ department_id: z.ZodOptional<z.ZodString>;
2399
+ user_order: z.ZodOptional<z.ZodNumber>;
2400
+ department_order: z.ZodOptional<z.ZodNumber>;
2401
+ is_primary_dept: z.ZodOptional<z.ZodBoolean>;
2402
+ }, "strip", z.ZodTypeAny, {
2403
+ department_id?: string | undefined;
2404
+ user_order?: number | undefined;
2405
+ department_order?: number | undefined;
2406
+ is_primary_dept?: boolean | undefined;
2407
+ }, {
2408
+ department_id?: string | undefined;
2409
+ user_order?: number | undefined;
2410
+ department_order?: number | undefined;
2411
+ is_primary_dept?: boolean | undefined;
2412
+ }>, "many">>;
2413
+ custom_attrs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2414
+ type: z.ZodOptional<z.ZodString>;
2415
+ id: z.ZodOptional<z.ZodString>;
2416
+ value: z.ZodOptional<z.ZodObject<{
2417
+ text: z.ZodOptional<z.ZodString>;
2418
+ url: z.ZodOptional<z.ZodString>;
2419
+ pc_url: z.ZodOptional<z.ZodString>;
2420
+ option_id: z.ZodOptional<z.ZodString>;
2421
+ generic_user: z.ZodOptional<z.ZodObject<{
2422
+ id: z.ZodString;
2423
+ type: z.ZodNumber;
2424
+ }, "strip", z.ZodTypeAny, {
2425
+ type: number;
2426
+ id: string;
2427
+ }, {
2428
+ type: number;
2429
+ id: string;
2430
+ }>>;
2431
+ }, "strip", z.ZodTypeAny, {
2432
+ text?: string | undefined;
2433
+ url?: string | undefined;
2434
+ pc_url?: string | undefined;
2435
+ option_id?: string | undefined;
2436
+ generic_user?: {
2437
+ type: number;
2438
+ id: string;
2439
+ } | undefined;
2440
+ }, {
2441
+ text?: string | undefined;
2442
+ url?: string | undefined;
2443
+ pc_url?: string | undefined;
2444
+ option_id?: string | undefined;
2445
+ generic_user?: {
2446
+ type: number;
2447
+ id: string;
2448
+ } | undefined;
2449
+ }>>;
2450
+ }, "strip", z.ZodTypeAny, {
2451
+ value?: {
2452
+ text?: string | undefined;
2453
+ url?: string | undefined;
2454
+ pc_url?: string | undefined;
2455
+ option_id?: string | undefined;
2456
+ generic_user?: {
2457
+ type: number;
2458
+ id: string;
2459
+ } | undefined;
2460
+ } | undefined;
2461
+ type?: string | undefined;
2462
+ id?: string | undefined;
2463
+ }, {
2464
+ value?: {
2465
+ text?: string | undefined;
2466
+ url?: string | undefined;
2467
+ pc_url?: string | undefined;
2468
+ option_id?: string | undefined;
2469
+ generic_user?: {
2470
+ type: number;
2471
+ id: string;
2472
+ } | undefined;
2473
+ } | undefined;
2474
+ type?: string | undefined;
2475
+ id?: string | undefined;
2476
+ }>, "many">>;
2477
+ enterprise_email: z.ZodOptional<z.ZodString>;
2478
+ job_title: z.ZodOptional<z.ZodString>;
2479
+ is_frozen: z.ZodOptional<z.ZodBoolean>;
2480
+ job_level_id: z.ZodOptional<z.ZodString>;
2481
+ job_family_id: z.ZodOptional<z.ZodString>;
2482
+ subscription_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2483
+ dotted_line_leader_user_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2484
+ }, "strip", z.ZodTypeAny, {
2485
+ department_ids?: string[] | undefined;
2486
+ name?: string | undefined;
2487
+ mobile?: string | undefined;
2488
+ employee_type?: number | undefined;
2489
+ employee_no?: string | undefined;
2490
+ leader_user_id?: string | undefined;
2491
+ job_family_id?: string | undefined;
2492
+ job_level_id?: string | undefined;
2493
+ en_name?: string | undefined;
2494
+ nickname?: string | undefined;
2495
+ email?: string | undefined;
2496
+ mobile_visible?: boolean | undefined;
2497
+ gender?: number | undefined;
2498
+ avatar_key?: string | undefined;
2499
+ city?: string | undefined;
2500
+ country?: string | undefined;
2501
+ work_station?: string | undefined;
2502
+ join_time?: number | undefined;
2503
+ orders?: {
2504
+ department_id?: string | undefined;
2505
+ user_order?: number | undefined;
2506
+ department_order?: number | undefined;
2507
+ is_primary_dept?: boolean | undefined;
2508
+ }[] | undefined;
2509
+ custom_attrs?: {
2510
+ value?: {
2511
+ text?: string | undefined;
2512
+ url?: string | undefined;
2513
+ pc_url?: string | undefined;
2514
+ option_id?: string | undefined;
2515
+ generic_user?: {
2516
+ type: number;
2517
+ id: string;
2518
+ } | undefined;
2519
+ } | undefined;
2520
+ type?: string | undefined;
2521
+ id?: string | undefined;
2522
+ }[] | undefined;
2523
+ enterprise_email?: string | undefined;
2524
+ job_title?: string | undefined;
2525
+ subscription_ids?: string[] | undefined;
2526
+ dotted_line_leader_user_ids?: string[] | undefined;
2527
+ is_frozen?: boolean | undefined;
2528
+ }, {
2529
+ department_ids?: string[] | undefined;
2530
+ name?: string | undefined;
2531
+ mobile?: string | undefined;
2532
+ employee_type?: number | undefined;
2533
+ employee_no?: string | undefined;
2534
+ leader_user_id?: string | undefined;
2535
+ job_family_id?: string | undefined;
2536
+ job_level_id?: string | undefined;
2537
+ en_name?: string | undefined;
2538
+ nickname?: string | undefined;
2539
+ email?: string | undefined;
2540
+ mobile_visible?: boolean | undefined;
2541
+ gender?: number | undefined;
2542
+ avatar_key?: string | undefined;
2543
+ city?: string | undefined;
2544
+ country?: string | undefined;
2545
+ work_station?: string | undefined;
2546
+ join_time?: number | undefined;
2547
+ orders?: {
2548
+ department_id?: string | undefined;
2549
+ user_order?: number | undefined;
2550
+ department_order?: number | undefined;
2551
+ is_primary_dept?: boolean | undefined;
2552
+ }[] | undefined;
2553
+ custom_attrs?: {
2554
+ value?: {
2555
+ text?: string | undefined;
2556
+ url?: string | undefined;
2557
+ pc_url?: string | undefined;
2558
+ option_id?: string | undefined;
2559
+ generic_user?: {
2560
+ type: number;
2561
+ id: string;
2562
+ } | undefined;
2563
+ } | undefined;
2564
+ type?: string | undefined;
2565
+ id?: string | undefined;
2566
+ }[] | undefined;
2567
+ enterprise_email?: string | undefined;
2568
+ job_title?: string | undefined;
2569
+ subscription_ids?: string[] | undefined;
2570
+ dotted_line_leader_user_ids?: string[] | undefined;
2571
+ is_frozen?: boolean | undefined;
2572
+ }>>;
2573
+ params: z.ZodOptional<z.ZodObject<{
2574
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2575
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2578
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2579
+ }, {
2580
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2581
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2582
+ }>>;
2583
+ path: z.ZodObject<{
2584
+ user_id: z.ZodString;
2585
+ }, "strip", z.ZodTypeAny, {
2586
+ user_id: string;
2587
+ }, {
2588
+ user_id: string;
2589
+ }>;
2590
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2591
+ };
2592
+ };
2593
+ export declare const contactV3UserResurrect: {
2594
+ project: string;
2595
+ name: string;
2596
+ sdkName: string;
2597
+ path: string;
2598
+ httpMethod: string;
2599
+ description: string;
2600
+ accessTokens: string[];
2601
+ schema: {
2602
+ data: z.ZodOptional<z.ZodObject<{
2603
+ departments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2604
+ department_id: z.ZodString;
2605
+ user_order: z.ZodOptional<z.ZodNumber>;
2606
+ department_order: z.ZodOptional<z.ZodNumber>;
2607
+ }, "strip", z.ZodTypeAny, {
2608
+ department_id: string;
2609
+ user_order?: number | undefined;
2610
+ department_order?: number | undefined;
2611
+ }, {
2612
+ department_id: string;
2613
+ user_order?: number | undefined;
2614
+ department_order?: number | undefined;
2615
+ }>, "many">>;
2616
+ subscription_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2617
+ }, "strip", z.ZodTypeAny, {
2618
+ departments?: {
2619
+ department_id: string;
2620
+ user_order?: number | undefined;
2621
+ department_order?: number | undefined;
2622
+ }[] | undefined;
2623
+ subscription_ids?: string[] | undefined;
2624
+ }, {
2625
+ departments?: {
2626
+ department_id: string;
2627
+ user_order?: number | undefined;
2628
+ department_order?: number | undefined;
2629
+ }[] | undefined;
2630
+ subscription_ids?: string[] | undefined;
2631
+ }>>;
2632
+ params: z.ZodOptional<z.ZodObject<{
2633
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2634
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2637
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2638
+ }, {
2639
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2640
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2641
+ }>>;
2642
+ path: z.ZodObject<{
2643
+ user_id: z.ZodString;
2644
+ }, "strip", z.ZodTypeAny, {
2645
+ user_id: string;
2646
+ }, {
2647
+ user_id: string;
2648
+ }>;
2649
+ };
2650
+ };
2651
+ export declare const contactV3UserUpdate: {
2652
+ project: string;
2653
+ name: string;
2654
+ sdkName: string;
2655
+ path: string;
2656
+ httpMethod: string;
2657
+ description: string;
2658
+ accessTokens: string[];
2659
+ schema: {
2660
+ data: z.ZodObject<{
2661
+ name: z.ZodString;
2662
+ en_name: z.ZodOptional<z.ZodString>;
2663
+ nickname: z.ZodOptional<z.ZodString>;
2664
+ email: z.ZodOptional<z.ZodString>;
2665
+ mobile: z.ZodString;
2666
+ mobile_visible: z.ZodOptional<z.ZodBoolean>;
2667
+ gender: z.ZodOptional<z.ZodNumber>;
2668
+ avatar_key: z.ZodOptional<z.ZodString>;
2669
+ department_ids: z.ZodArray<z.ZodString, "many">;
2670
+ leader_user_id: z.ZodOptional<z.ZodString>;
2671
+ city: z.ZodOptional<z.ZodString>;
2672
+ country: z.ZodOptional<z.ZodString>;
2673
+ work_station: z.ZodOptional<z.ZodString>;
2674
+ join_time: z.ZodOptional<z.ZodNumber>;
2675
+ employee_no: z.ZodOptional<z.ZodString>;
2676
+ employee_type: z.ZodNumber;
2677
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
2678
+ department_id: z.ZodOptional<z.ZodString>;
2679
+ user_order: z.ZodOptional<z.ZodNumber>;
2680
+ department_order: z.ZodOptional<z.ZodNumber>;
2681
+ is_primary_dept: z.ZodOptional<z.ZodBoolean>;
2682
+ }, "strip", z.ZodTypeAny, {
2683
+ department_id?: string | undefined;
2684
+ user_order?: number | undefined;
2685
+ department_order?: number | undefined;
2686
+ is_primary_dept?: boolean | undefined;
2687
+ }, {
2688
+ department_id?: string | undefined;
2689
+ user_order?: number | undefined;
2690
+ department_order?: number | undefined;
2691
+ is_primary_dept?: boolean | undefined;
2692
+ }>, "many">>;
2693
+ custom_attrs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2694
+ type: z.ZodOptional<z.ZodString>;
2695
+ id: z.ZodOptional<z.ZodString>;
2696
+ value: z.ZodOptional<z.ZodObject<{
2697
+ text: z.ZodOptional<z.ZodString>;
2698
+ url: z.ZodOptional<z.ZodString>;
2699
+ pc_url: z.ZodOptional<z.ZodString>;
2700
+ option_id: z.ZodOptional<z.ZodString>;
2701
+ generic_user: z.ZodOptional<z.ZodObject<{
2702
+ id: z.ZodString;
2703
+ type: z.ZodNumber;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ type: number;
2706
+ id: string;
2707
+ }, {
2708
+ type: number;
2709
+ id: string;
2710
+ }>>;
2711
+ }, "strip", z.ZodTypeAny, {
2712
+ text?: string | undefined;
2713
+ url?: string | undefined;
2714
+ pc_url?: string | undefined;
2715
+ option_id?: string | undefined;
2716
+ generic_user?: {
2717
+ type: number;
2718
+ id: string;
2719
+ } | undefined;
2720
+ }, {
2721
+ text?: string | undefined;
2722
+ url?: string | undefined;
2723
+ pc_url?: string | undefined;
2724
+ option_id?: string | undefined;
2725
+ generic_user?: {
2726
+ type: number;
2727
+ id: string;
2728
+ } | undefined;
2729
+ }>>;
2730
+ }, "strip", z.ZodTypeAny, {
2731
+ value?: {
2732
+ text?: string | undefined;
2733
+ url?: string | undefined;
2734
+ pc_url?: string | undefined;
2735
+ option_id?: string | undefined;
2736
+ generic_user?: {
2737
+ type: number;
2738
+ id: string;
2739
+ } | undefined;
2740
+ } | undefined;
2741
+ type?: string | undefined;
2742
+ id?: string | undefined;
2743
+ }, {
2744
+ value?: {
2745
+ text?: string | undefined;
2746
+ url?: string | undefined;
2747
+ pc_url?: string | undefined;
2748
+ option_id?: string | undefined;
2749
+ generic_user?: {
2750
+ type: number;
2751
+ id: string;
2752
+ } | undefined;
2753
+ } | undefined;
2754
+ type?: string | undefined;
2755
+ id?: string | undefined;
2756
+ }>, "many">>;
2757
+ enterprise_email: z.ZodOptional<z.ZodString>;
2758
+ job_title: z.ZodOptional<z.ZodString>;
2759
+ is_frozen: z.ZodOptional<z.ZodBoolean>;
2760
+ }, "strip", z.ZodTypeAny, {
2761
+ department_ids: string[];
2762
+ name: string;
2763
+ mobile: string;
2764
+ employee_type: number;
2765
+ employee_no?: string | undefined;
2766
+ leader_user_id?: string | undefined;
2767
+ en_name?: string | undefined;
2768
+ nickname?: string | undefined;
2769
+ email?: string | undefined;
2770
+ mobile_visible?: boolean | undefined;
2771
+ gender?: number | undefined;
2772
+ avatar_key?: string | undefined;
2773
+ city?: string | undefined;
2774
+ country?: string | undefined;
2775
+ work_station?: string | undefined;
2776
+ join_time?: number | undefined;
2777
+ orders?: {
2778
+ department_id?: string | undefined;
2779
+ user_order?: number | undefined;
2780
+ department_order?: number | undefined;
2781
+ is_primary_dept?: boolean | undefined;
2782
+ }[] | undefined;
2783
+ custom_attrs?: {
2784
+ value?: {
2785
+ text?: string | undefined;
2786
+ url?: string | undefined;
2787
+ pc_url?: string | undefined;
2788
+ option_id?: string | undefined;
2789
+ generic_user?: {
2790
+ type: number;
2791
+ id: string;
2792
+ } | undefined;
2793
+ } | undefined;
2794
+ type?: string | undefined;
2795
+ id?: string | undefined;
2796
+ }[] | undefined;
2797
+ enterprise_email?: string | undefined;
2798
+ job_title?: string | undefined;
2799
+ is_frozen?: boolean | undefined;
2800
+ }, {
2801
+ department_ids: string[];
2802
+ name: string;
2803
+ mobile: string;
2804
+ employee_type: number;
2805
+ employee_no?: string | undefined;
2806
+ leader_user_id?: string | undefined;
2807
+ en_name?: string | undefined;
2808
+ nickname?: string | undefined;
2809
+ email?: string | undefined;
2810
+ mobile_visible?: boolean | undefined;
2811
+ gender?: number | undefined;
2812
+ avatar_key?: string | undefined;
2813
+ city?: string | undefined;
2814
+ country?: string | undefined;
2815
+ work_station?: string | undefined;
2816
+ join_time?: number | undefined;
2817
+ orders?: {
2818
+ department_id?: string | undefined;
2819
+ user_order?: number | undefined;
2820
+ department_order?: number | undefined;
2821
+ is_primary_dept?: boolean | undefined;
2822
+ }[] | undefined;
2823
+ custom_attrs?: {
2824
+ value?: {
2825
+ text?: string | undefined;
2826
+ url?: string | undefined;
2827
+ pc_url?: string | undefined;
2828
+ option_id?: string | undefined;
2829
+ generic_user?: {
2830
+ type: number;
2831
+ id: string;
2832
+ } | undefined;
2833
+ } | undefined;
2834
+ type?: string | undefined;
2835
+ id?: string | undefined;
2836
+ }[] | undefined;
2837
+ enterprise_email?: string | undefined;
2838
+ job_title?: string | undefined;
2839
+ is_frozen?: boolean | undefined;
2840
+ }>;
2841
+ params: z.ZodOptional<z.ZodObject<{
2842
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2843
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2846
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2847
+ }, {
2848
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2849
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2850
+ }>>;
2851
+ path: z.ZodObject<{
2852
+ user_id: z.ZodString;
2853
+ }, "strip", z.ZodTypeAny, {
2854
+ user_id: string;
2855
+ }, {
2856
+ user_id: string;
2857
+ }>;
2858
+ };
2859
+ };
2860
+ export declare const contactV3UserUpdateUserId: {
2861
+ project: string;
2862
+ name: string;
2863
+ sdkName: string;
2864
+ path: string;
2865
+ httpMethod: string;
2866
+ description: string;
2867
+ accessTokens: string[];
2868
+ schema: {
2869
+ data: z.ZodObject<{
2870
+ new_user_id: z.ZodString;
2871
+ }, "strip", z.ZodTypeAny, {
2872
+ new_user_id: string;
2873
+ }, {
2874
+ new_user_id: string;
2875
+ }>;
2876
+ params: z.ZodOptional<z.ZodObject<{
2877
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2878
+ }, "strip", z.ZodTypeAny, {
2879
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2880
+ }, {
2881
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2882
+ }>>;
2883
+ path: z.ZodObject<{
2884
+ user_id: z.ZodString;
2885
+ }, "strip", z.ZodTypeAny, {
2886
+ user_id: string;
2887
+ }, {
2888
+ user_id: string;
2889
+ }>;
2890
+ };
2891
+ };
2892
+ export declare const contactV3WorkCityGet: {
2893
+ project: string;
2894
+ name: string;
2895
+ sdkName: string;
2896
+ path: string;
2897
+ httpMethod: string;
2898
+ description: string;
2899
+ accessTokens: string[];
2900
+ schema: {
2901
+ path: z.ZodOptional<z.ZodObject<{
2902
+ work_city_id: z.ZodOptional<z.ZodString>;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ work_city_id?: string | undefined;
2905
+ }, {
2906
+ work_city_id?: string | undefined;
2907
+ }>>;
2908
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2909
+ };
2910
+ };
2911
+ export declare const contactV3WorkCityList: {
2912
+ project: string;
2913
+ name: string;
2914
+ sdkName: string;
2915
+ path: string;
2916
+ httpMethod: string;
2917
+ description: string;
2918
+ accessTokens: string[];
2919
+ schema: {
2920
+ params: z.ZodOptional<z.ZodObject<{
2921
+ page_size: z.ZodOptional<z.ZodNumber>;
2922
+ page_token: z.ZodOptional<z.ZodString>;
2923
+ }, "strip", z.ZodTypeAny, {
2924
+ page_size?: number | undefined;
2925
+ page_token?: string | undefined;
2926
+ }, {
2927
+ page_size?: number | undefined;
2928
+ page_token?: string | undefined;
2929
+ }>>;
2930
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2931
+ };
2932
+ };
2933
+ export declare const contactV3Tools: ({
2934
+ project: string;
2935
+ name: string;
2936
+ sdkName: string;
2937
+ path: string;
2938
+ httpMethod: string;
2939
+ description: string;
2940
+ accessTokens: string[];
2941
+ schema: {
2942
+ params: z.ZodOptional<z.ZodObject<{
2943
+ page_size: z.ZodOptional<z.ZodNumber>;
2944
+ page_token: z.ZodOptional<z.ZodString>;
2945
+ }, "strip", z.ZodTypeAny, {
2946
+ page_size?: number | undefined;
2947
+ page_token?: string | undefined;
2948
+ }, {
2949
+ page_size?: number | undefined;
2950
+ page_token?: string | undefined;
2951
+ }>>;
2952
+ };
2953
+ } | {
2954
+ project: string;
2955
+ name: string;
2956
+ sdkName: string;
2957
+ path: string;
2958
+ httpMethod: string;
2959
+ description: string;
2960
+ accessTokens: string[];
2961
+ schema: {
2962
+ params: z.ZodObject<{
2963
+ department_ids: z.ZodArray<z.ZodString, "many">;
2964
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
2965
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
2966
+ }, "strip", z.ZodTypeAny, {
2967
+ department_ids: string[];
2968
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2969
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2970
+ }, {
2971
+ department_ids: string[];
2972
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
2973
+ department_id_type?: "department_id" | "open_department_id" | undefined;
2974
+ }>;
2975
+ useUAT: z.ZodOptional<z.ZodBoolean>;
2976
+ };
2977
+ } | {
2978
+ project: string;
2979
+ name: string;
2980
+ sdkName: string;
2981
+ path: string;
2982
+ httpMethod: string;
2983
+ description: string;
2984
+ accessTokens: string[];
2985
+ schema: {
2986
+ data: z.ZodObject<{
2987
+ name: z.ZodString;
2988
+ i18n_name: z.ZodOptional<z.ZodObject<{
2989
+ zh_cn: z.ZodOptional<z.ZodString>;
2990
+ ja_jp: z.ZodOptional<z.ZodString>;
2991
+ en_us: z.ZodOptional<z.ZodString>;
2992
+ }, "strip", z.ZodTypeAny, {
2993
+ zh_cn?: string | undefined;
2994
+ en_us?: string | undefined;
2995
+ ja_jp?: string | undefined;
2996
+ }, {
2997
+ zh_cn?: string | undefined;
2998
+ en_us?: string | undefined;
2999
+ ja_jp?: string | undefined;
3000
+ }>>;
3001
+ parent_department_id: z.ZodString;
3002
+ department_id: z.ZodOptional<z.ZodString>;
3003
+ leader_user_id: z.ZodOptional<z.ZodString>;
3004
+ order: z.ZodOptional<z.ZodString>;
3005
+ unit_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3006
+ create_group_chat: z.ZodOptional<z.ZodBoolean>;
3007
+ leaders: z.ZodOptional<z.ZodArray<z.ZodObject<{
3008
+ leaderType: z.ZodNumber;
3009
+ leaderID: z.ZodString;
3010
+ }, "strip", z.ZodTypeAny, {
3011
+ leaderType: number;
3012
+ leaderID: string;
3013
+ }, {
3014
+ leaderType: number;
3015
+ leaderID: string;
3016
+ }>, "many">>;
3017
+ group_chat_employee_types: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
3018
+ department_hrbps: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3019
+ }, "strip", z.ZodTypeAny, {
3020
+ name: string;
3021
+ parent_department_id: string;
3022
+ department_id?: string | undefined;
3023
+ i18n_name?: {
3024
+ zh_cn?: string | undefined;
3025
+ en_us?: string | undefined;
3026
+ ja_jp?: string | undefined;
3027
+ } | undefined;
3028
+ order?: string | undefined;
3029
+ leader_user_id?: string | undefined;
3030
+ unit_ids?: string[] | undefined;
3031
+ create_group_chat?: boolean | undefined;
3032
+ leaders?: {
3033
+ leaderType: number;
3034
+ leaderID: string;
3035
+ }[] | undefined;
3036
+ group_chat_employee_types?: number[] | undefined;
3037
+ department_hrbps?: string[] | undefined;
3038
+ }, {
3039
+ name: string;
3040
+ parent_department_id: string;
3041
+ department_id?: string | undefined;
3042
+ i18n_name?: {
3043
+ zh_cn?: string | undefined;
3044
+ en_us?: string | undefined;
3045
+ ja_jp?: string | undefined;
3046
+ } | undefined;
3047
+ order?: string | undefined;
3048
+ leader_user_id?: string | undefined;
3049
+ unit_ids?: string[] | undefined;
3050
+ create_group_chat?: boolean | undefined;
3051
+ leaders?: {
3052
+ leaderType: number;
3053
+ leaderID: string;
3054
+ }[] | undefined;
3055
+ group_chat_employee_types?: number[] | undefined;
3056
+ department_hrbps?: string[] | undefined;
3057
+ }>;
3058
+ params: z.ZodOptional<z.ZodObject<{
3059
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3060
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3061
+ client_token: z.ZodOptional<z.ZodString>;
3062
+ }, "strip", z.ZodTypeAny, {
3063
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3064
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3065
+ client_token?: string | undefined;
3066
+ }, {
3067
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3068
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3069
+ client_token?: string | undefined;
3070
+ }>>;
3071
+ };
3072
+ } | {
3073
+ project: string;
3074
+ name: string;
3075
+ sdkName: string;
3076
+ path: string;
3077
+ httpMethod: string;
3078
+ description: string;
3079
+ accessTokens: string[];
3080
+ schema: {
3081
+ params: z.ZodOptional<z.ZodObject<{
3082
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3083
+ }, "strip", z.ZodTypeAny, {
3084
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3085
+ }, {
3086
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3087
+ }>>;
3088
+ path: z.ZodOptional<z.ZodObject<{
3089
+ department_id: z.ZodOptional<z.ZodString>;
3090
+ }, "strip", z.ZodTypeAny, {
3091
+ department_id?: string | undefined;
3092
+ }, {
3093
+ department_id?: string | undefined;
3094
+ }>>;
3095
+ };
3096
+ } | {
3097
+ project: string;
3098
+ name: string;
3099
+ sdkName: string;
3100
+ path: string;
3101
+ httpMethod: string;
3102
+ description: string;
3103
+ accessTokens: string[];
3104
+ schema: {
3105
+ params: z.ZodObject<{
3106
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3107
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3108
+ department_id: z.ZodString;
3109
+ page_token: z.ZodOptional<z.ZodString>;
3110
+ page_size: z.ZodOptional<z.ZodNumber>;
3111
+ }, "strip", z.ZodTypeAny, {
3112
+ department_id: string;
3113
+ page_size?: number | undefined;
3114
+ page_token?: string | undefined;
3115
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3116
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3117
+ }, {
3118
+ department_id: string;
3119
+ page_size?: number | undefined;
3120
+ page_token?: string | undefined;
3121
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3122
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3123
+ }>;
3124
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3125
+ };
3126
+ } | {
3127
+ project: string;
3128
+ name: string;
3129
+ sdkName: string;
3130
+ path: string;
3131
+ httpMethod: string;
3132
+ description: string;
3133
+ accessTokens: string[];
3134
+ schema: {
3135
+ data: z.ZodObject<{
3136
+ department_id: z.ZodString;
3137
+ }, "strip", z.ZodTypeAny, {
3138
+ department_id: string;
3139
+ }, {
3140
+ department_id: string;
3141
+ }>;
3142
+ params: z.ZodOptional<z.ZodObject<{
3143
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3144
+ }, "strip", z.ZodTypeAny, {
3145
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3146
+ }, {
3147
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3148
+ }>>;
3149
+ };
3150
+ } | {
3151
+ project: string;
3152
+ name: string;
3153
+ sdkName: string;
3154
+ path: string;
3155
+ httpMethod: string;
3156
+ description: string;
3157
+ accessTokens: string[];
3158
+ schema: {
3159
+ data: z.ZodObject<{
3160
+ content: z.ZodString;
3161
+ enum_type: z.ZodNumber;
3162
+ enum_status: z.ZodNumber;
3163
+ i18n_content: z.ZodOptional<z.ZodArray<z.ZodObject<{
3164
+ locale: z.ZodOptional<z.ZodString>;
3165
+ value: z.ZodOptional<z.ZodString>;
3166
+ }, "strip", z.ZodTypeAny, {
3167
+ value?: string | undefined;
3168
+ locale?: string | undefined;
3169
+ }, {
3170
+ value?: string | undefined;
3171
+ locale?: string | undefined;
3172
+ }>, "many">>;
3173
+ }, "strip", z.ZodTypeAny, {
3174
+ content: string;
3175
+ enum_type: number;
3176
+ enum_status: number;
3177
+ i18n_content?: {
3178
+ value?: string | undefined;
3179
+ locale?: string | undefined;
3180
+ }[] | undefined;
3181
+ }, {
3182
+ content: string;
3183
+ enum_type: number;
3184
+ enum_status: number;
3185
+ i18n_content?: {
3186
+ value?: string | undefined;
3187
+ locale?: string | undefined;
3188
+ }[] | undefined;
3189
+ }>;
3190
+ };
3191
+ } | {
3192
+ project: string;
3193
+ name: string;
3194
+ sdkName: string;
3195
+ path: string;
3196
+ httpMethod: string;
3197
+ description: string;
3198
+ accessTokens: string[];
3199
+ schema: {
3200
+ path: z.ZodOptional<z.ZodObject<{
3201
+ enum_id: z.ZodOptional<z.ZodString>;
3202
+ }, "strip", z.ZodTypeAny, {
3203
+ enum_id?: string | undefined;
3204
+ }, {
3205
+ enum_id?: string | undefined;
3206
+ }>>;
3207
+ };
3208
+ } | {
3209
+ project: string;
3210
+ name: string;
3211
+ sdkName: string;
3212
+ path: string;
3213
+ httpMethod: string;
3214
+ description: string;
3215
+ accessTokens: string[];
3216
+ schema: {
3217
+ data: z.ZodObject<{
3218
+ role_name: z.ZodString;
3219
+ }, "strip", z.ZodTypeAny, {
3220
+ role_name: string;
3221
+ }, {
3222
+ role_name: string;
3223
+ }>;
3224
+ };
3225
+ } | {
3226
+ project: string;
3227
+ name: string;
3228
+ sdkName: string;
3229
+ path: string;
3230
+ httpMethod: string;
3231
+ description: string;
3232
+ accessTokens: string[];
3233
+ schema: {
3234
+ path: z.ZodObject<{
3235
+ role_id: z.ZodString;
3236
+ }, "strip", z.ZodTypeAny, {
3237
+ role_id: string;
3238
+ }, {
3239
+ role_id: string;
3240
+ }>;
3241
+ };
3242
+ } | {
3243
+ project: string;
3244
+ name: string;
3245
+ sdkName: string;
3246
+ path: string;
3247
+ httpMethod: string;
3248
+ description: string;
3249
+ accessTokens: string[];
3250
+ schema: {
3251
+ data: z.ZodObject<{
3252
+ name: z.ZodString;
3253
+ description: z.ZodOptional<z.ZodString>;
3254
+ type: z.ZodOptional<z.ZodNumber>;
3255
+ group_id: z.ZodOptional<z.ZodString>;
3256
+ }, "strip", z.ZodTypeAny, {
3257
+ name: string;
3258
+ type?: number | undefined;
3259
+ description?: string | undefined;
3260
+ group_id?: string | undefined;
3261
+ }, {
3262
+ name: string;
3263
+ type?: number | undefined;
3264
+ description?: string | undefined;
3265
+ group_id?: string | undefined;
3266
+ }>;
3267
+ params: z.ZodOptional<z.ZodObject<{
3268
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3269
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
3270
+ }, "strip", z.ZodTypeAny, {
3271
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3272
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3273
+ }, {
3274
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3275
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3276
+ }>>;
3277
+ };
3278
+ } | {
3279
+ project: string;
3280
+ name: string;
3281
+ sdkName: string;
3282
+ path: string;
3283
+ httpMethod: string;
3284
+ description: string;
3285
+ accessTokens: string[];
3286
+ schema: {
3287
+ path: z.ZodObject<{
3288
+ group_id: z.ZodString;
3289
+ }, "strip", z.ZodTypeAny, {
3290
+ group_id: string;
3291
+ }, {
3292
+ group_id: string;
3293
+ }>;
3294
+ };
3295
+ } | {
3296
+ project: string;
3297
+ name: string;
3298
+ sdkName: string;
3299
+ path: string;
3300
+ httpMethod: string;
3301
+ description: string;
3302
+ accessTokens: string[];
3303
+ schema: {
3304
+ params: z.ZodObject<{
3305
+ member_id: z.ZodString;
3306
+ member_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3307
+ group_type: z.ZodOptional<z.ZodNumber>;
3308
+ page_size: z.ZodOptional<z.ZodNumber>;
3309
+ page_token: z.ZodOptional<z.ZodString>;
3310
+ }, "strip", z.ZodTypeAny, {
3311
+ member_id: string;
3312
+ page_size?: number | undefined;
3313
+ page_token?: string | undefined;
3314
+ group_type?: number | undefined;
3315
+ member_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3316
+ }, {
3317
+ member_id: string;
3318
+ page_size?: number | undefined;
3319
+ page_token?: string | undefined;
3320
+ group_type?: number | undefined;
3321
+ member_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3322
+ }>;
3323
+ };
3324
+ } | {
3325
+ project: string;
3326
+ name: string;
3327
+ sdkName: string;
3328
+ path: string;
3329
+ httpMethod: string;
3330
+ description: string;
3331
+ accessTokens: string[];
3332
+ schema: {
3333
+ data: z.ZodObject<{
3334
+ name: z.ZodString;
3335
+ description: z.ZodOptional<z.ZodString>;
3336
+ parent_job_family_id: z.ZodOptional<z.ZodString>;
3337
+ status: z.ZodBoolean;
3338
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
3339
+ locale: z.ZodOptional<z.ZodString>;
3340
+ value: z.ZodOptional<z.ZodString>;
3341
+ }, "strip", z.ZodTypeAny, {
3342
+ value?: string | undefined;
3343
+ locale?: string | undefined;
3344
+ }, {
3345
+ value?: string | undefined;
3346
+ locale?: string | undefined;
3347
+ }>, "many">>;
3348
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
3349
+ locale: z.ZodOptional<z.ZodString>;
3350
+ value: z.ZodOptional<z.ZodString>;
3351
+ }, "strip", z.ZodTypeAny, {
3352
+ value?: string | undefined;
3353
+ locale?: string | undefined;
3354
+ }, {
3355
+ value?: string | undefined;
3356
+ locale?: string | undefined;
3357
+ }>, "many">>;
3358
+ }, "strip", z.ZodTypeAny, {
3359
+ status: boolean;
3360
+ name: string;
3361
+ i18n_name?: {
3362
+ value?: string | undefined;
3363
+ locale?: string | undefined;
3364
+ }[] | undefined;
3365
+ description?: string | undefined;
3366
+ parent_job_family_id?: string | undefined;
3367
+ i18n_description?: {
3368
+ value?: string | undefined;
3369
+ locale?: string | undefined;
3370
+ }[] | undefined;
3371
+ }, {
3372
+ status: boolean;
3373
+ name: string;
3374
+ i18n_name?: {
3375
+ value?: string | undefined;
3376
+ locale?: string | undefined;
3377
+ }[] | undefined;
3378
+ description?: string | undefined;
3379
+ parent_job_family_id?: string | undefined;
3380
+ i18n_description?: {
3381
+ value?: string | undefined;
3382
+ locale?: string | undefined;
3383
+ }[] | undefined;
3384
+ }>;
3385
+ };
3386
+ } | {
3387
+ project: string;
3388
+ name: string;
3389
+ sdkName: string;
3390
+ path: string;
3391
+ httpMethod: string;
3392
+ description: string;
3393
+ accessTokens: string[];
3394
+ schema: {
3395
+ path: z.ZodObject<{
3396
+ job_family_id: z.ZodString;
3397
+ }, "strip", z.ZodTypeAny, {
3398
+ job_family_id: string;
3399
+ }, {
3400
+ job_family_id: string;
3401
+ }>;
3402
+ };
3403
+ } | {
3404
+ project: string;
3405
+ name: string;
3406
+ sdkName: string;
3407
+ path: string;
3408
+ httpMethod: string;
3409
+ description: string;
3410
+ accessTokens: string[];
3411
+ schema: {
3412
+ data: z.ZodObject<{
3413
+ name: z.ZodString;
3414
+ description: z.ZodOptional<z.ZodString>;
3415
+ order: z.ZodOptional<z.ZodNumber>;
3416
+ status: z.ZodBoolean;
3417
+ i18n_name: z.ZodOptional<z.ZodArray<z.ZodObject<{
3418
+ locale: z.ZodOptional<z.ZodString>;
3419
+ value: z.ZodOptional<z.ZodString>;
3420
+ }, "strip", z.ZodTypeAny, {
3421
+ value?: string | undefined;
3422
+ locale?: string | undefined;
3423
+ }, {
3424
+ value?: string | undefined;
3425
+ locale?: string | undefined;
3426
+ }>, "many">>;
3427
+ i18n_description: z.ZodOptional<z.ZodArray<z.ZodObject<{
3428
+ locale: z.ZodOptional<z.ZodString>;
3429
+ value: z.ZodOptional<z.ZodString>;
3430
+ }, "strip", z.ZodTypeAny, {
3431
+ value?: string | undefined;
3432
+ locale?: string | undefined;
3433
+ }, {
3434
+ value?: string | undefined;
3435
+ locale?: string | undefined;
3436
+ }>, "many">>;
3437
+ }, "strip", z.ZodTypeAny, {
3438
+ status: boolean;
3439
+ name: string;
3440
+ i18n_name?: {
3441
+ value?: string | undefined;
3442
+ locale?: string | undefined;
3443
+ }[] | undefined;
3444
+ description?: string | undefined;
3445
+ order?: number | undefined;
3446
+ i18n_description?: {
3447
+ value?: string | undefined;
3448
+ locale?: string | undefined;
3449
+ }[] | undefined;
3450
+ }, {
3451
+ status: boolean;
3452
+ name: string;
3453
+ i18n_name?: {
3454
+ value?: string | undefined;
3455
+ locale?: string | undefined;
3456
+ }[] | undefined;
3457
+ description?: string | undefined;
3458
+ order?: number | undefined;
3459
+ i18n_description?: {
3460
+ value?: string | undefined;
3461
+ locale?: string | undefined;
3462
+ }[] | undefined;
3463
+ }>;
3464
+ };
3465
+ } | {
3466
+ project: string;
3467
+ name: string;
3468
+ sdkName: string;
3469
+ path: string;
3470
+ httpMethod: string;
3471
+ description: string;
3472
+ accessTokens: string[];
3473
+ schema: {
3474
+ path: z.ZodObject<{
3475
+ job_level_id: z.ZodString;
3476
+ }, "strip", z.ZodTypeAny, {
3477
+ job_level_id: string;
3478
+ }, {
3479
+ job_level_id: string;
3480
+ }>;
3481
+ };
3482
+ } | {
3483
+ project: string;
3484
+ name: string;
3485
+ sdkName: string;
3486
+ path: string;
3487
+ httpMethod: string;
3488
+ description: string;
3489
+ accessTokens: string[];
3490
+ schema: {
3491
+ path: z.ZodOptional<z.ZodObject<{
3492
+ job_title_id: z.ZodOptional<z.ZodString>;
3493
+ }, "strip", z.ZodTypeAny, {
3494
+ job_title_id?: string | undefined;
3495
+ }, {
3496
+ job_title_id?: string | undefined;
3497
+ }>>;
3498
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3499
+ };
3500
+ } | {
3501
+ project: string;
3502
+ name: string;
3503
+ sdkName: string;
3504
+ path: string;
3505
+ httpMethod: string;
3506
+ description: string;
3507
+ accessTokens: string[];
3508
+ schema: {
3509
+ data: z.ZodObject<{
3510
+ unit_id: z.ZodString;
3511
+ department_id: z.ZodString;
3512
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3513
+ }, "strip", z.ZodTypeAny, {
3514
+ department_id: string;
3515
+ unit_id: string;
3516
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3517
+ }, {
3518
+ department_id: string;
3519
+ unit_id: string;
3520
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3521
+ }>;
3522
+ };
3523
+ } | {
3524
+ project: string;
3525
+ name: string;
3526
+ sdkName: string;
3527
+ path: string;
3528
+ httpMethod: string;
3529
+ description: string;
3530
+ accessTokens: string[];
3531
+ schema: {
3532
+ data: z.ZodObject<{
3533
+ unit_id: z.ZodOptional<z.ZodString>;
3534
+ name: z.ZodString;
3535
+ unit_type: z.ZodString;
3536
+ }, "strip", z.ZodTypeAny, {
3537
+ name: string;
3538
+ unit_type: string;
3539
+ unit_id?: string | undefined;
3540
+ }, {
3541
+ name: string;
3542
+ unit_type: string;
3543
+ unit_id?: string | undefined;
3544
+ }>;
3545
+ };
3546
+ } | {
3547
+ project: string;
3548
+ name: string;
3549
+ sdkName: string;
3550
+ path: string;
3551
+ httpMethod: string;
3552
+ description: string;
3553
+ accessTokens: string[];
3554
+ schema: {
3555
+ path: z.ZodObject<{
3556
+ unit_id: z.ZodString;
3557
+ }, "strip", z.ZodTypeAny, {
3558
+ unit_id: string;
3559
+ }, {
3560
+ unit_id: string;
3561
+ }>;
3562
+ };
3563
+ } | {
3564
+ project: string;
3565
+ name: string;
3566
+ sdkName: string;
3567
+ path: string;
3568
+ httpMethod: string;
3569
+ description: string;
3570
+ accessTokens: string[];
3571
+ schema: {
3572
+ params: z.ZodObject<{
3573
+ unit_id: z.ZodString;
3574
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3575
+ page_token: z.ZodOptional<z.ZodString>;
3576
+ page_size: z.ZodOptional<z.ZodNumber>;
3577
+ }, "strip", z.ZodTypeAny, {
3578
+ unit_id: string;
3579
+ page_size?: number | undefined;
3580
+ page_token?: string | undefined;
3581
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3582
+ }, {
3583
+ unit_id: string;
3584
+ page_size?: number | undefined;
3585
+ page_token?: string | undefined;
3586
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3587
+ }>;
3588
+ };
3589
+ } | {
3590
+ project: string;
3591
+ name: string;
3592
+ sdkName: string;
3593
+ path: string;
3594
+ httpMethod: string;
3595
+ description: string;
3596
+ accessTokens: string[];
3597
+ schema: {
3598
+ params: z.ZodObject<{
3599
+ user_ids: z.ZodArray<z.ZodString, "many">;
3600
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3601
+ department_id_type: z.ZodOptional<z.ZodEnum<["open_department_id", "department_id"]>>;
3602
+ }, "strip", z.ZodTypeAny, {
3603
+ user_ids: string[];
3604
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3605
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3606
+ }, {
3607
+ user_ids: string[];
3608
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3609
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3610
+ }>;
3611
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3612
+ };
3613
+ } | {
3614
+ project: string;
3615
+ name: string;
3616
+ sdkName: string;
3617
+ path: string;
3618
+ httpMethod: string;
3619
+ description: string;
3620
+ accessTokens: string[];
3621
+ schema: {
3622
+ data: z.ZodOptional<z.ZodObject<{
3623
+ emails: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3624
+ mobiles: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3625
+ include_resigned: z.ZodOptional<z.ZodBoolean>;
3626
+ }, "strip", z.ZodTypeAny, {
3627
+ emails?: string[] | undefined;
3628
+ mobiles?: string[] | undefined;
3629
+ include_resigned?: boolean | undefined;
3630
+ }, {
3631
+ emails?: string[] | undefined;
3632
+ mobiles?: string[] | undefined;
3633
+ include_resigned?: boolean | undefined;
3634
+ }>>;
3635
+ params: z.ZodOptional<z.ZodObject<{
3636
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3637
+ }, "strip", z.ZodTypeAny, {
3638
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3639
+ }, {
3640
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3641
+ }>>;
3642
+ };
3643
+ } | {
3644
+ project: string;
3645
+ name: string;
3646
+ sdkName: string;
3647
+ path: string;
3648
+ httpMethod: string;
3649
+ description: string;
3650
+ accessTokens: string[];
3651
+ schema: {
3652
+ data: z.ZodObject<{
3653
+ user_id: z.ZodOptional<z.ZodString>;
3654
+ name: z.ZodString;
3655
+ en_name: z.ZodOptional<z.ZodString>;
3656
+ nickname: z.ZodOptional<z.ZodString>;
3657
+ email: z.ZodOptional<z.ZodString>;
3658
+ mobile: z.ZodString;
3659
+ mobile_visible: z.ZodOptional<z.ZodBoolean>;
3660
+ gender: z.ZodOptional<z.ZodNumber>;
3661
+ avatar_key: z.ZodOptional<z.ZodString>;
3662
+ department_ids: z.ZodArray<z.ZodString, "many">;
3663
+ leader_user_id: z.ZodOptional<z.ZodString>;
3664
+ city: z.ZodOptional<z.ZodString>;
3665
+ country: z.ZodOptional<z.ZodString>;
3666
+ work_station: z.ZodOptional<z.ZodString>;
3667
+ join_time: z.ZodOptional<z.ZodNumber>;
3668
+ employee_no: z.ZodOptional<z.ZodString>;
3669
+ employee_type: z.ZodNumber;
3670
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
3671
+ department_id: z.ZodOptional<z.ZodString>;
3672
+ user_order: z.ZodOptional<z.ZodNumber>;
3673
+ department_order: z.ZodOptional<z.ZodNumber>;
3674
+ is_primary_dept: z.ZodOptional<z.ZodBoolean>;
3675
+ }, "strip", z.ZodTypeAny, {
3676
+ department_id?: string | undefined;
3677
+ user_order?: number | undefined;
3678
+ department_order?: number | undefined;
3679
+ is_primary_dept?: boolean | undefined;
3680
+ }, {
3681
+ department_id?: string | undefined;
3682
+ user_order?: number | undefined;
3683
+ department_order?: number | undefined;
3684
+ is_primary_dept?: boolean | undefined;
3685
+ }>, "many">>;
3686
+ custom_attrs: z.ZodOptional<z.ZodArray<z.ZodObject<{
3687
+ type: z.ZodOptional<z.ZodString>;
3688
+ id: z.ZodOptional<z.ZodString>;
3689
+ value: z.ZodOptional<z.ZodObject<{
3690
+ text: z.ZodOptional<z.ZodString>;
3691
+ url: z.ZodOptional<z.ZodString>;
3692
+ pc_url: z.ZodOptional<z.ZodString>;
3693
+ option_id: z.ZodOptional<z.ZodString>;
3694
+ generic_user: z.ZodOptional<z.ZodObject<{
3695
+ id: z.ZodString;
3696
+ type: z.ZodNumber;
3697
+ }, "strip", z.ZodTypeAny, {
3698
+ type: number;
3699
+ id: string;
3700
+ }, {
3701
+ type: number;
3702
+ id: string;
3703
+ }>>;
3704
+ }, "strip", z.ZodTypeAny, {
3705
+ text?: string | undefined;
3706
+ url?: string | undefined;
3707
+ pc_url?: string | undefined;
3708
+ option_id?: string | undefined;
3709
+ generic_user?: {
3710
+ type: number;
3711
+ id: string;
3712
+ } | undefined;
3713
+ }, {
3714
+ text?: string | undefined;
3715
+ url?: string | undefined;
3716
+ pc_url?: string | undefined;
3717
+ option_id?: string | undefined;
3718
+ generic_user?: {
3719
+ type: number;
3720
+ id: string;
3721
+ } | undefined;
3722
+ }>>;
3723
+ }, "strip", z.ZodTypeAny, {
3724
+ value?: {
3725
+ text?: string | undefined;
3726
+ url?: string | undefined;
3727
+ pc_url?: string | undefined;
3728
+ option_id?: string | undefined;
3729
+ generic_user?: {
3730
+ type: number;
3731
+ id: string;
3732
+ } | undefined;
3733
+ } | undefined;
3734
+ type?: string | undefined;
3735
+ id?: string | undefined;
3736
+ }, {
3737
+ value?: {
3738
+ text?: string | undefined;
3739
+ url?: string | undefined;
3740
+ pc_url?: string | undefined;
3741
+ option_id?: string | undefined;
3742
+ generic_user?: {
3743
+ type: number;
3744
+ id: string;
3745
+ } | undefined;
3746
+ } | undefined;
3747
+ type?: string | undefined;
3748
+ id?: string | undefined;
3749
+ }>, "many">>;
3750
+ enterprise_email: z.ZodOptional<z.ZodString>;
3751
+ job_title: z.ZodOptional<z.ZodString>;
3752
+ geo: z.ZodOptional<z.ZodString>;
3753
+ job_level_id: z.ZodOptional<z.ZodString>;
3754
+ job_family_id: z.ZodOptional<z.ZodString>;
3755
+ subscription_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3756
+ dotted_line_leader_user_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3757
+ }, "strip", z.ZodTypeAny, {
3758
+ department_ids: string[];
3759
+ name: string;
3760
+ mobile: string;
3761
+ employee_type: number;
3762
+ user_id?: string | undefined;
3763
+ employee_no?: string | undefined;
3764
+ leader_user_id?: string | undefined;
3765
+ job_family_id?: string | undefined;
3766
+ job_level_id?: string | undefined;
3767
+ en_name?: string | undefined;
3768
+ nickname?: string | undefined;
3769
+ email?: string | undefined;
3770
+ mobile_visible?: boolean | undefined;
3771
+ gender?: number | undefined;
3772
+ avatar_key?: string | undefined;
3773
+ city?: string | undefined;
3774
+ country?: string | undefined;
3775
+ work_station?: string | undefined;
3776
+ join_time?: number | undefined;
3777
+ orders?: {
3778
+ department_id?: string | undefined;
3779
+ user_order?: number | undefined;
3780
+ department_order?: number | undefined;
3781
+ is_primary_dept?: boolean | undefined;
3782
+ }[] | undefined;
3783
+ custom_attrs?: {
3784
+ value?: {
3785
+ text?: string | undefined;
3786
+ url?: string | undefined;
3787
+ pc_url?: string | undefined;
3788
+ option_id?: string | undefined;
3789
+ generic_user?: {
3790
+ type: number;
3791
+ id: string;
3792
+ } | undefined;
3793
+ } | undefined;
3794
+ type?: string | undefined;
3795
+ id?: string | undefined;
3796
+ }[] | undefined;
3797
+ enterprise_email?: string | undefined;
3798
+ job_title?: string | undefined;
3799
+ geo?: string | undefined;
3800
+ subscription_ids?: string[] | undefined;
3801
+ dotted_line_leader_user_ids?: string[] | undefined;
3802
+ }, {
3803
+ department_ids: string[];
3804
+ name: string;
3805
+ mobile: string;
3806
+ employee_type: number;
3807
+ user_id?: string | undefined;
3808
+ employee_no?: string | undefined;
3809
+ leader_user_id?: string | undefined;
3810
+ job_family_id?: string | undefined;
3811
+ job_level_id?: string | undefined;
3812
+ en_name?: string | undefined;
3813
+ nickname?: string | undefined;
3814
+ email?: string | undefined;
3815
+ mobile_visible?: boolean | undefined;
3816
+ gender?: number | undefined;
3817
+ avatar_key?: string | undefined;
3818
+ city?: string | undefined;
3819
+ country?: string | undefined;
3820
+ work_station?: string | undefined;
3821
+ join_time?: number | undefined;
3822
+ orders?: {
3823
+ department_id?: string | undefined;
3824
+ user_order?: number | undefined;
3825
+ department_order?: number | undefined;
3826
+ is_primary_dept?: boolean | undefined;
3827
+ }[] | undefined;
3828
+ custom_attrs?: {
3829
+ value?: {
3830
+ text?: string | undefined;
3831
+ url?: string | undefined;
3832
+ pc_url?: string | undefined;
3833
+ option_id?: string | undefined;
3834
+ generic_user?: {
3835
+ type: number;
3836
+ id: string;
3837
+ } | undefined;
3838
+ } | undefined;
3839
+ type?: string | undefined;
3840
+ id?: string | undefined;
3841
+ }[] | undefined;
3842
+ enterprise_email?: string | undefined;
3843
+ job_title?: string | undefined;
3844
+ geo?: string | undefined;
3845
+ subscription_ids?: string[] | undefined;
3846
+ dotted_line_leader_user_ids?: string[] | undefined;
3847
+ }>;
3848
+ params: z.ZodOptional<z.ZodObject<{
3849
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3850
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3851
+ client_token: z.ZodOptional<z.ZodString>;
3852
+ }, "strip", z.ZodTypeAny, {
3853
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3854
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3855
+ client_token?: string | undefined;
3856
+ }, {
3857
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3858
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3859
+ client_token?: string | undefined;
3860
+ }>>;
3861
+ };
3862
+ } | {
3863
+ project: string;
3864
+ name: string;
3865
+ sdkName: string;
3866
+ path: string;
3867
+ httpMethod: string;
3868
+ description: string;
3869
+ accessTokens: string[];
3870
+ schema: {
3871
+ data: z.ZodOptional<z.ZodObject<{
3872
+ department_chat_acceptor_user_id: z.ZodOptional<z.ZodString>;
3873
+ external_chat_acceptor_user_id: z.ZodOptional<z.ZodString>;
3874
+ docs_acceptor_user_id: z.ZodOptional<z.ZodString>;
3875
+ calendar_acceptor_user_id: z.ZodOptional<z.ZodString>;
3876
+ application_acceptor_user_id: z.ZodOptional<z.ZodString>;
3877
+ minutes_acceptor_user_id: z.ZodOptional<z.ZodString>;
3878
+ survey_acceptor_user_id: z.ZodOptional<z.ZodString>;
3879
+ email_acceptor: z.ZodOptional<z.ZodObject<{
3880
+ processing_type: z.ZodEnum<["1", "2", "3"]>;
3881
+ acceptor_user_id: z.ZodOptional<z.ZodString>;
3882
+ }, "strip", z.ZodTypeAny, {
3883
+ processing_type: "1" | "2" | "3";
3884
+ acceptor_user_id?: string | undefined;
3885
+ }, {
3886
+ processing_type: "1" | "2" | "3";
3887
+ acceptor_user_id?: string | undefined;
3888
+ }>>;
3889
+ anycross_acceptor_user_id: z.ZodOptional<z.ZodString>;
3890
+ }, "strip", z.ZodTypeAny, {
3891
+ department_chat_acceptor_user_id?: string | undefined;
3892
+ external_chat_acceptor_user_id?: string | undefined;
3893
+ docs_acceptor_user_id?: string | undefined;
3894
+ calendar_acceptor_user_id?: string | undefined;
3895
+ application_acceptor_user_id?: string | undefined;
3896
+ minutes_acceptor_user_id?: string | undefined;
3897
+ survey_acceptor_user_id?: string | undefined;
3898
+ email_acceptor?: {
3899
+ processing_type: "1" | "2" | "3";
3900
+ acceptor_user_id?: string | undefined;
3901
+ } | undefined;
3902
+ anycross_acceptor_user_id?: string | undefined;
3903
+ }, {
3904
+ department_chat_acceptor_user_id?: string | undefined;
3905
+ external_chat_acceptor_user_id?: string | undefined;
3906
+ docs_acceptor_user_id?: string | undefined;
3907
+ calendar_acceptor_user_id?: string | undefined;
3908
+ application_acceptor_user_id?: string | undefined;
3909
+ minutes_acceptor_user_id?: string | undefined;
3910
+ survey_acceptor_user_id?: string | undefined;
3911
+ email_acceptor?: {
3912
+ processing_type: "1" | "2" | "3";
3913
+ acceptor_user_id?: string | undefined;
3914
+ } | undefined;
3915
+ anycross_acceptor_user_id?: string | undefined;
3916
+ }>>;
3917
+ params: z.ZodOptional<z.ZodObject<{
3918
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3919
+ }, "strip", z.ZodTypeAny, {
3920
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3921
+ }, {
3922
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3923
+ }>>;
3924
+ path: z.ZodObject<{
3925
+ user_id: z.ZodString;
3926
+ }, "strip", z.ZodTypeAny, {
3927
+ user_id: string;
3928
+ }, {
3929
+ user_id: string;
3930
+ }>;
3931
+ };
3932
+ } | {
3933
+ project: string;
3934
+ name: string;
3935
+ sdkName: string;
3936
+ path: string;
3937
+ httpMethod: string;
3938
+ description: string;
3939
+ accessTokens: string[];
3940
+ schema: {
3941
+ params: z.ZodOptional<z.ZodObject<{
3942
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
3943
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
3944
+ }, "strip", z.ZodTypeAny, {
3945
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3946
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3947
+ }, {
3948
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
3949
+ department_id_type?: "department_id" | "open_department_id" | undefined;
3950
+ }>>;
3951
+ path: z.ZodObject<{
3952
+ user_id: z.ZodString;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ user_id: string;
3955
+ }, {
3956
+ user_id: string;
3957
+ }>;
3958
+ useUAT: z.ZodOptional<z.ZodBoolean>;
3959
+ };
3960
+ } | {
3961
+ project: string;
3962
+ name: string;
3963
+ sdkName: string;
3964
+ path: string;
3965
+ httpMethod: string;
3966
+ description: string;
3967
+ accessTokens: string[];
3968
+ schema: {
3969
+ data: z.ZodOptional<z.ZodObject<{
3970
+ departments: z.ZodOptional<z.ZodArray<z.ZodObject<{
3971
+ department_id: z.ZodString;
3972
+ user_order: z.ZodOptional<z.ZodNumber>;
3973
+ department_order: z.ZodOptional<z.ZodNumber>;
3974
+ }, "strip", z.ZodTypeAny, {
3975
+ department_id: string;
3976
+ user_order?: number | undefined;
3977
+ department_order?: number | undefined;
3978
+ }, {
3979
+ department_id: string;
3980
+ user_order?: number | undefined;
3981
+ department_order?: number | undefined;
3982
+ }>, "many">>;
3983
+ subscription_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3984
+ }, "strip", z.ZodTypeAny, {
3985
+ departments?: {
3986
+ department_id: string;
3987
+ user_order?: number | undefined;
3988
+ department_order?: number | undefined;
3989
+ }[] | undefined;
3990
+ subscription_ids?: string[] | undefined;
3991
+ }, {
3992
+ departments?: {
3993
+ department_id: string;
3994
+ user_order?: number | undefined;
3995
+ department_order?: number | undefined;
3996
+ }[] | undefined;
3997
+ subscription_ids?: string[] | undefined;
3998
+ }>>;
3999
+ params: z.ZodOptional<z.ZodObject<{
4000
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
4001
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
4002
+ }, "strip", z.ZodTypeAny, {
4003
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4004
+ department_id_type?: "department_id" | "open_department_id" | undefined;
4005
+ }, {
4006
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4007
+ department_id_type?: "department_id" | "open_department_id" | undefined;
4008
+ }>>;
4009
+ path: z.ZodObject<{
4010
+ user_id: z.ZodString;
4011
+ }, "strip", z.ZodTypeAny, {
4012
+ user_id: string;
4013
+ }, {
4014
+ user_id: string;
4015
+ }>;
4016
+ };
4017
+ } | {
4018
+ project: string;
4019
+ name: string;
4020
+ sdkName: string;
4021
+ path: string;
4022
+ httpMethod: string;
4023
+ description: string;
4024
+ accessTokens: string[];
4025
+ schema: {
4026
+ data: z.ZodObject<{
4027
+ name: z.ZodString;
4028
+ en_name: z.ZodOptional<z.ZodString>;
4029
+ nickname: z.ZodOptional<z.ZodString>;
4030
+ email: z.ZodOptional<z.ZodString>;
4031
+ mobile: z.ZodString;
4032
+ mobile_visible: z.ZodOptional<z.ZodBoolean>;
4033
+ gender: z.ZodOptional<z.ZodNumber>;
4034
+ avatar_key: z.ZodOptional<z.ZodString>;
4035
+ department_ids: z.ZodArray<z.ZodString, "many">;
4036
+ leader_user_id: z.ZodOptional<z.ZodString>;
4037
+ city: z.ZodOptional<z.ZodString>;
4038
+ country: z.ZodOptional<z.ZodString>;
4039
+ work_station: z.ZodOptional<z.ZodString>;
4040
+ join_time: z.ZodOptional<z.ZodNumber>;
4041
+ employee_no: z.ZodOptional<z.ZodString>;
4042
+ employee_type: z.ZodNumber;
4043
+ orders: z.ZodOptional<z.ZodArray<z.ZodObject<{
4044
+ department_id: z.ZodOptional<z.ZodString>;
4045
+ user_order: z.ZodOptional<z.ZodNumber>;
4046
+ department_order: z.ZodOptional<z.ZodNumber>;
4047
+ is_primary_dept: z.ZodOptional<z.ZodBoolean>;
4048
+ }, "strip", z.ZodTypeAny, {
4049
+ department_id?: string | undefined;
4050
+ user_order?: number | undefined;
4051
+ department_order?: number | undefined;
4052
+ is_primary_dept?: boolean | undefined;
4053
+ }, {
4054
+ department_id?: string | undefined;
4055
+ user_order?: number | undefined;
4056
+ department_order?: number | undefined;
4057
+ is_primary_dept?: boolean | undefined;
4058
+ }>, "many">>;
4059
+ custom_attrs: z.ZodOptional<z.ZodArray<z.ZodObject<{
4060
+ type: z.ZodOptional<z.ZodString>;
4061
+ id: z.ZodOptional<z.ZodString>;
4062
+ value: z.ZodOptional<z.ZodObject<{
4063
+ text: z.ZodOptional<z.ZodString>;
4064
+ url: z.ZodOptional<z.ZodString>;
4065
+ pc_url: z.ZodOptional<z.ZodString>;
4066
+ option_id: z.ZodOptional<z.ZodString>;
4067
+ generic_user: z.ZodOptional<z.ZodObject<{
4068
+ id: z.ZodString;
4069
+ type: z.ZodNumber;
4070
+ }, "strip", z.ZodTypeAny, {
4071
+ type: number;
4072
+ id: string;
4073
+ }, {
4074
+ type: number;
4075
+ id: string;
4076
+ }>>;
4077
+ }, "strip", z.ZodTypeAny, {
4078
+ text?: string | undefined;
4079
+ url?: string | undefined;
4080
+ pc_url?: string | undefined;
4081
+ option_id?: string | undefined;
4082
+ generic_user?: {
4083
+ type: number;
4084
+ id: string;
4085
+ } | undefined;
4086
+ }, {
4087
+ text?: string | undefined;
4088
+ url?: string | undefined;
4089
+ pc_url?: string | undefined;
4090
+ option_id?: string | undefined;
4091
+ generic_user?: {
4092
+ type: number;
4093
+ id: string;
4094
+ } | undefined;
4095
+ }>>;
4096
+ }, "strip", z.ZodTypeAny, {
4097
+ value?: {
4098
+ text?: string | undefined;
4099
+ url?: string | undefined;
4100
+ pc_url?: string | undefined;
4101
+ option_id?: string | undefined;
4102
+ generic_user?: {
4103
+ type: number;
4104
+ id: string;
4105
+ } | undefined;
4106
+ } | undefined;
4107
+ type?: string | undefined;
4108
+ id?: string | undefined;
4109
+ }, {
4110
+ value?: {
4111
+ text?: string | undefined;
4112
+ url?: string | undefined;
4113
+ pc_url?: string | undefined;
4114
+ option_id?: string | undefined;
4115
+ generic_user?: {
4116
+ type: number;
4117
+ id: string;
4118
+ } | undefined;
4119
+ } | undefined;
4120
+ type?: string | undefined;
4121
+ id?: string | undefined;
4122
+ }>, "many">>;
4123
+ enterprise_email: z.ZodOptional<z.ZodString>;
4124
+ job_title: z.ZodOptional<z.ZodString>;
4125
+ is_frozen: z.ZodOptional<z.ZodBoolean>;
4126
+ }, "strip", z.ZodTypeAny, {
4127
+ department_ids: string[];
4128
+ name: string;
4129
+ mobile: string;
4130
+ employee_type: number;
4131
+ employee_no?: string | undefined;
4132
+ leader_user_id?: string | undefined;
4133
+ en_name?: string | undefined;
4134
+ nickname?: string | undefined;
4135
+ email?: string | undefined;
4136
+ mobile_visible?: boolean | undefined;
4137
+ gender?: number | undefined;
4138
+ avatar_key?: string | undefined;
4139
+ city?: string | undefined;
4140
+ country?: string | undefined;
4141
+ work_station?: string | undefined;
4142
+ join_time?: number | undefined;
4143
+ orders?: {
4144
+ department_id?: string | undefined;
4145
+ user_order?: number | undefined;
4146
+ department_order?: number | undefined;
4147
+ is_primary_dept?: boolean | undefined;
4148
+ }[] | undefined;
4149
+ custom_attrs?: {
4150
+ value?: {
4151
+ text?: string | undefined;
4152
+ url?: string | undefined;
4153
+ pc_url?: string | undefined;
4154
+ option_id?: string | undefined;
4155
+ generic_user?: {
4156
+ type: number;
4157
+ id: string;
4158
+ } | undefined;
4159
+ } | undefined;
4160
+ type?: string | undefined;
4161
+ id?: string | undefined;
4162
+ }[] | undefined;
4163
+ enterprise_email?: string | undefined;
4164
+ job_title?: string | undefined;
4165
+ is_frozen?: boolean | undefined;
4166
+ }, {
4167
+ department_ids: string[];
4168
+ name: string;
4169
+ mobile: string;
4170
+ employee_type: number;
4171
+ employee_no?: string | undefined;
4172
+ leader_user_id?: string | undefined;
4173
+ en_name?: string | undefined;
4174
+ nickname?: string | undefined;
4175
+ email?: string | undefined;
4176
+ mobile_visible?: boolean | undefined;
4177
+ gender?: number | undefined;
4178
+ avatar_key?: string | undefined;
4179
+ city?: string | undefined;
4180
+ country?: string | undefined;
4181
+ work_station?: string | undefined;
4182
+ join_time?: number | undefined;
4183
+ orders?: {
4184
+ department_id?: string | undefined;
4185
+ user_order?: number | undefined;
4186
+ department_order?: number | undefined;
4187
+ is_primary_dept?: boolean | undefined;
4188
+ }[] | undefined;
4189
+ custom_attrs?: {
4190
+ value?: {
4191
+ text?: string | undefined;
4192
+ url?: string | undefined;
4193
+ pc_url?: string | undefined;
4194
+ option_id?: string | undefined;
4195
+ generic_user?: {
4196
+ type: number;
4197
+ id: string;
4198
+ } | undefined;
4199
+ } | undefined;
4200
+ type?: string | undefined;
4201
+ id?: string | undefined;
4202
+ }[] | undefined;
4203
+ enterprise_email?: string | undefined;
4204
+ job_title?: string | undefined;
4205
+ is_frozen?: boolean | undefined;
4206
+ }>;
4207
+ params: z.ZodOptional<z.ZodObject<{
4208
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
4209
+ department_id_type: z.ZodOptional<z.ZodEnum<["department_id", "open_department_id"]>>;
4210
+ }, "strip", z.ZodTypeAny, {
4211
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4212
+ department_id_type?: "department_id" | "open_department_id" | undefined;
4213
+ }, {
4214
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4215
+ department_id_type?: "department_id" | "open_department_id" | undefined;
4216
+ }>>;
4217
+ path: z.ZodObject<{
4218
+ user_id: z.ZodString;
4219
+ }, "strip", z.ZodTypeAny, {
4220
+ user_id: string;
4221
+ }, {
4222
+ user_id: string;
4223
+ }>;
4224
+ };
4225
+ } | {
4226
+ project: string;
4227
+ name: string;
4228
+ sdkName: string;
4229
+ path: string;
4230
+ httpMethod: string;
4231
+ description: string;
4232
+ accessTokens: string[];
4233
+ schema: {
4234
+ data: z.ZodObject<{
4235
+ new_user_id: z.ZodString;
4236
+ }, "strip", z.ZodTypeAny, {
4237
+ new_user_id: string;
4238
+ }, {
4239
+ new_user_id: string;
4240
+ }>;
4241
+ params: z.ZodOptional<z.ZodObject<{
4242
+ user_id_type: z.ZodOptional<z.ZodEnum<["open_id", "union_id", "user_id"]>>;
4243
+ }, "strip", z.ZodTypeAny, {
4244
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4245
+ }, {
4246
+ user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
4247
+ }>>;
4248
+ path: z.ZodObject<{
4249
+ user_id: z.ZodString;
4250
+ }, "strip", z.ZodTypeAny, {
4251
+ user_id: string;
4252
+ }, {
4253
+ user_id: string;
4254
+ }>;
4255
+ };
4256
+ } | {
4257
+ project: string;
4258
+ name: string;
4259
+ sdkName: string;
4260
+ path: string;
4261
+ httpMethod: string;
4262
+ description: string;
4263
+ accessTokens: string[];
4264
+ schema: {
4265
+ path: z.ZodOptional<z.ZodObject<{
4266
+ work_city_id: z.ZodOptional<z.ZodString>;
4267
+ }, "strip", z.ZodTypeAny, {
4268
+ work_city_id?: string | undefined;
4269
+ }, {
4270
+ work_city_id?: string | undefined;
4271
+ }>>;
4272
+ useUAT: z.ZodOptional<z.ZodBoolean>;
4273
+ };
4274
+ })[];