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