@liselvins/lark-mcp 0.1.0

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