n8n-nodes-wecom 0.1.7 → 0.1.9

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 (332) hide show
  1. package/README.md +148 -82
  2. package/dist/nodes/WeCom/WeCom.node.js +43 -8
  3. package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
  4. package/dist/nodes/WeCom/resources/appChat/createAppChat.d.ts +2 -0
  5. package/dist/nodes/WeCom/resources/appChat/createAppChat.js +55 -0
  6. package/dist/nodes/WeCom/resources/appChat/createAppChat.js.map +1 -0
  7. package/dist/nodes/WeCom/resources/appChat/execute.d.ts +2 -0
  8. package/dist/nodes/WeCom/resources/appChat/execute.js +180 -0
  9. package/dist/nodes/WeCom/resources/appChat/execute.js.map +1 -0
  10. package/dist/nodes/WeCom/resources/appChat/getAppChat.d.ts +2 -0
  11. package/dist/nodes/WeCom/resources/appChat/getAppChat.js +22 -0
  12. package/dist/nodes/WeCom/resources/appChat/getAppChat.js.map +1 -0
  13. package/dist/nodes/WeCom/resources/appChat/index.d.ts +2 -0
  14. package/dist/nodes/WeCom/resources/appChat/index.js +85 -0
  15. package/dist/nodes/WeCom/resources/appChat/index.js.map +1 -0
  16. package/dist/nodes/WeCom/resources/appChat/sendFile.d.ts +2 -0
  17. package/dist/nodes/WeCom/resources/appChat/sendFile.js +84 -0
  18. package/dist/nodes/WeCom/resources/appChat/sendFile.js.map +1 -0
  19. package/dist/nodes/WeCom/resources/appChat/sendImage.d.ts +2 -0
  20. package/dist/nodes/WeCom/resources/appChat/sendImage.js +84 -0
  21. package/dist/nodes/WeCom/resources/appChat/sendImage.js.map +1 -0
  22. package/dist/nodes/WeCom/resources/appChat/sendMarkdown.d.ts +2 -0
  23. package/dist/nodes/WeCom/resources/appChat/sendMarkdown.js +37 -0
  24. package/dist/nodes/WeCom/resources/appChat/sendMarkdown.js.map +1 -0
  25. package/dist/nodes/WeCom/resources/appChat/sendNews.d.ts +2 -0
  26. package/dist/nodes/WeCom/resources/appChat/sendNews.js +79 -0
  27. package/dist/nodes/WeCom/resources/appChat/sendNews.js.map +1 -0
  28. package/dist/nodes/WeCom/resources/appChat/sendText.d.ts +2 -0
  29. package/dist/nodes/WeCom/resources/appChat/sendText.js +48 -0
  30. package/dist/nodes/WeCom/resources/appChat/sendText.js.map +1 -0
  31. package/dist/nodes/WeCom/resources/appChat/updateAppChat.d.ts +2 -0
  32. package/dist/nodes/WeCom/resources/appChat/updateAppChat.js +111 -0
  33. package/dist/nodes/WeCom/resources/appChat/updateAppChat.js.map +1 -0
  34. package/dist/nodes/WeCom/resources/contact/addTagUsers.d.ts +2 -0
  35. package/dist/nodes/WeCom/resources/contact/addTagUsers.js +44 -0
  36. package/dist/nodes/WeCom/resources/contact/addTagUsers.js.map +1 -0
  37. package/dist/nodes/WeCom/resources/contact/batchDeleteUser.d.ts +2 -0
  38. package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js +22 -0
  39. package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js.map +1 -0
  40. package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.d.ts +2 -0
  41. package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.js +33 -0
  42. package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.js.map +1 -0
  43. package/dist/nodes/WeCom/resources/contact/batchReplaceUser.d.ts +2 -0
  44. package/dist/nodes/WeCom/resources/contact/batchReplaceUser.js +33 -0
  45. package/dist/nodes/WeCom/resources/contact/batchReplaceUser.js.map +1 -0
  46. package/dist/nodes/WeCom/resources/contact/batchSyncUser.d.ts +2 -0
  47. package/dist/nodes/WeCom/resources/contact/batchSyncUser.js +33 -0
  48. package/dist/nodes/WeCom/resources/contact/batchSyncUser.js.map +1 -0
  49. package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.d.ts +2 -0
  50. package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.js +22 -0
  51. package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.js.map +1 -0
  52. package/dist/nodes/WeCom/resources/contact/createDepartment.d.ts +2 -0
  53. package/dist/nodes/WeCom/resources/contact/createDepartment.js +67 -0
  54. package/dist/nodes/WeCom/resources/contact/createDepartment.js.map +1 -0
  55. package/dist/nodes/WeCom/resources/contact/createTag.d.ts +2 -0
  56. package/dist/nodes/WeCom/resources/contact/createTag.js +33 -0
  57. package/dist/nodes/WeCom/resources/contact/createTag.js.map +1 -0
  58. package/dist/nodes/WeCom/resources/contact/createUser.d.ts +2 -0
  59. package/dist/nodes/WeCom/resources/contact/createUser.js +203 -0
  60. package/dist/nodes/WeCom/resources/contact/createUser.js.map +1 -0
  61. package/dist/nodes/WeCom/resources/contact/delTagUsers.d.ts +2 -0
  62. package/dist/nodes/WeCom/resources/contact/delTagUsers.js +44 -0
  63. package/dist/nodes/WeCom/resources/contact/delTagUsers.js.map +1 -0
  64. package/dist/nodes/WeCom/resources/contact/deleteDepartment.d.ts +2 -0
  65. package/dist/nodes/WeCom/resources/contact/deleteDepartment.js +22 -0
  66. package/dist/nodes/WeCom/resources/contact/deleteDepartment.js.map +1 -0
  67. package/dist/nodes/WeCom/resources/contact/deleteTag.d.ts +2 -0
  68. package/dist/nodes/WeCom/resources/contact/deleteTag.js +22 -0
  69. package/dist/nodes/WeCom/resources/contact/deleteTag.js.map +1 -0
  70. package/dist/nodes/WeCom/resources/contact/deleteUser.d.ts +2 -0
  71. package/dist/nodes/WeCom/resources/contact/deleteUser.js +22 -0
  72. package/dist/nodes/WeCom/resources/contact/deleteUser.js.map +1 -0
  73. package/dist/nodes/WeCom/resources/contact/execute.js +305 -0
  74. package/dist/nodes/WeCom/resources/contact/execute.js.map +1 -1
  75. package/dist/nodes/WeCom/resources/contact/exportDepartment.d.ts +2 -0
  76. package/dist/nodes/WeCom/resources/contact/exportDepartment.js +32 -0
  77. package/dist/nodes/WeCom/resources/contact/exportDepartment.js.map +1 -0
  78. package/dist/nodes/WeCom/resources/contact/exportSimpleUser.d.ts +2 -0
  79. package/dist/nodes/WeCom/resources/contact/exportSimpleUser.js +32 -0
  80. package/dist/nodes/WeCom/resources/contact/exportSimpleUser.js.map +1 -0
  81. package/dist/nodes/WeCom/resources/contact/exportTagUser.d.ts +2 -0
  82. package/dist/nodes/WeCom/resources/contact/exportTagUser.js +44 -0
  83. package/dist/nodes/WeCom/resources/contact/exportTagUser.js.map +1 -0
  84. package/dist/nodes/WeCom/resources/contact/exportUser.d.ts +2 -0
  85. package/dist/nodes/WeCom/resources/contact/exportUser.js +32 -0
  86. package/dist/nodes/WeCom/resources/contact/exportUser.js.map +1 -0
  87. package/dist/nodes/WeCom/resources/contact/getAsyncResult.d.ts +2 -0
  88. package/dist/nodes/WeCom/resources/contact/getAsyncResult.js +22 -0
  89. package/dist/nodes/WeCom/resources/contact/getAsyncResult.js.map +1 -0
  90. package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.d.ts +2 -0
  91. package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.js +22 -0
  92. package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.js.map +1 -0
  93. package/dist/nodes/WeCom/resources/contact/getExportResult.d.ts +2 -0
  94. package/dist/nodes/WeCom/resources/contact/getExportResult.js +22 -0
  95. package/dist/nodes/WeCom/resources/contact/getExportResult.js.map +1 -0
  96. package/dist/nodes/WeCom/resources/contact/getJoinQrCode.d.ts +2 -0
  97. package/dist/nodes/WeCom/resources/contact/getJoinQrCode.js +39 -0
  98. package/dist/nodes/WeCom/resources/contact/getJoinQrCode.js.map +1 -0
  99. package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.d.ts +2 -0
  100. package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.js +21 -0
  101. package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.js.map +1 -0
  102. package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.d.ts +2 -0
  103. package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.js +44 -0
  104. package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.js.map +1 -0
  105. package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.d.ts +2 -0
  106. package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.js +22 -0
  107. package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.js.map +1 -0
  108. package/dist/nodes/WeCom/resources/contact/index.js +217 -3
  109. package/dist/nodes/WeCom/resources/contact/index.js.map +1 -1
  110. package/dist/nodes/WeCom/resources/contact/inviteUser.d.ts +2 -0
  111. package/dist/nodes/WeCom/resources/contact/inviteUser.js +43 -0
  112. package/dist/nodes/WeCom/resources/contact/inviteUser.js.map +1 -0
  113. package/dist/nodes/WeCom/resources/contact/updateDepartment.d.ts +2 -0
  114. package/dist/nodes/WeCom/resources/contact/updateDepartment.js +66 -0
  115. package/dist/nodes/WeCom/resources/contact/updateDepartment.js.map +1 -0
  116. package/dist/nodes/WeCom/resources/contact/updateTag.d.ts +2 -0
  117. package/dist/nodes/WeCom/resources/contact/updateTag.js +34 -0
  118. package/dist/nodes/WeCom/resources/contact/updateTag.js.map +1 -0
  119. package/dist/nodes/WeCom/resources/contact/updateUser.d.ts +2 -0
  120. package/dist/nodes/WeCom/resources/contact/updateUser.js +190 -0
  121. package/dist/nodes/WeCom/resources/contact/updateUser.js.map +1 -0
  122. package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.d.ts +2 -0
  123. package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js +46 -0
  124. package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js.map +1 -0
  125. package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.d.ts +2 -0
  126. package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.js +34 -0
  127. package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.js.map +1 -0
  128. package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.d.ts +2 -0
  129. package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.js +34 -0
  130. package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.js.map +1 -0
  131. package/dist/nodes/WeCom/resources/linkedcorp/execute.d.ts +2 -0
  132. package/dist/nodes/WeCom/resources/linkedcorp/execute.js +185 -0
  133. package/dist/nodes/WeCom/resources/linkedcorp/execute.js.map +1 -0
  134. package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.d.ts +2 -0
  135. package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js +32 -0
  136. package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js.map +1 -0
  137. package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.d.ts +2 -0
  138. package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.js +22 -0
  139. package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.js.map +1 -0
  140. package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.d.ts +2 -0
  141. package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js +21 -0
  142. package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js.map +1 -0
  143. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.d.ts +2 -0
  144. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.js +34 -0
  145. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.js.map +1 -0
  146. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.d.ts +2 -0
  147. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.js +22 -0
  148. package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.js.map +1 -0
  149. package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.d.ts +2 -0
  150. package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.js +34 -0
  151. package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.js.map +1 -0
  152. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.d.ts +2 -0
  153. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js +55 -0
  154. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js.map +1 -0
  155. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.d.ts +2 -0
  156. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js +55 -0
  157. package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js.map +1 -0
  158. package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.d.ts +2 -0
  159. package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.js +67 -0
  160. package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.js.map +1 -0
  161. package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.d.ts +2 -0
  162. package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.js +22 -0
  163. package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.js.map +1 -0
  164. package/dist/nodes/WeCom/resources/linkedcorp/index.d.ts +2 -0
  165. package/dist/nodes/WeCom/resources/linkedcorp/index.js +50 -0
  166. package/dist/nodes/WeCom/resources/linkedcorp/index.js.map +1 -0
  167. package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.d.ts +2 -0
  168. package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.js +34 -0
  169. package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.js.map +1 -0
  170. package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.d.ts +2 -0
  171. package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.js +56 -0
  172. package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.js.map +1 -0
  173. package/dist/nodes/WeCom/resources/material/execute.js +70 -6
  174. package/dist/nodes/WeCom/resources/material/execute.js.map +1 -1
  175. package/dist/nodes/WeCom/resources/material/getHighQualityVoice.d.ts +2 -0
  176. package/dist/nodes/WeCom/resources/material/getHighQualityVoice.js +22 -0
  177. package/dist/nodes/WeCom/resources/material/getHighQualityVoice.js.map +1 -0
  178. package/dist/nodes/WeCom/resources/material/getPermanent.js +2 -2
  179. package/dist/nodes/WeCom/resources/material/getTemp.js +2 -2
  180. package/dist/nodes/WeCom/resources/material/index.js +8 -26
  181. package/dist/nodes/WeCom/resources/material/index.js.map +1 -1
  182. package/dist/nodes/WeCom/resources/material/uploadImage.d.ts +2 -0
  183. package/dist/nodes/WeCom/resources/material/uploadImage.js +33 -0
  184. package/dist/nodes/WeCom/resources/material/uploadImage.js.map +1 -0
  185. package/dist/nodes/WeCom/resources/material/uploadTempAsync.d.ts +2 -0
  186. package/dist/nodes/WeCom/resources/material/uploadTempAsync.js +74 -0
  187. package/dist/nodes/WeCom/resources/material/uploadTempAsync.js.map +1 -0
  188. package/dist/nodes/WeCom/resources/message/execute.js +47 -8
  189. package/dist/nodes/WeCom/resources/message/execute.js.map +1 -1
  190. package/dist/nodes/WeCom/resources/message/index.js +4 -87
  191. package/dist/nodes/WeCom/resources/message/index.js.map +1 -1
  192. package/dist/nodes/WeCom/resources/message/sendFile.js +1 -1
  193. package/dist/nodes/WeCom/resources/message/sendImage.js +1 -1
  194. package/dist/nodes/WeCom/resources/message/sendMpNews.js +2 -2
  195. package/dist/nodes/WeCom/resources/message/sendSchoolNotice.d.ts +2 -0
  196. package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js +100 -0
  197. package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js.map +1 -0
  198. package/dist/nodes/WeCom/resources/message/sendVideo.js +2 -2
  199. package/dist/nodes/WeCom/resources/message/sendVoice.js +2 -2
  200. package/dist/nodes/WeCom/resources/pushMessage/execute.js +2 -2
  201. package/dist/nodes/WeCom/resources/pushMessage/sendFile.js +1 -1
  202. package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js +2 -2
  203. package/dist/nodes/WeCom/resources/pushMessage/sendVoice.js +1 -1
  204. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.d.ts +2 -0
  205. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.js +10 -0
  206. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.js.map +1 -0
  207. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.d.ts +2 -0
  208. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.js +10 -0
  209. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.js.map +1 -0
  210. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.d.ts +2 -0
  211. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.js +9 -0
  212. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.js.map +1 -0
  213. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.d.ts +2 -0
  214. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.js +10 -0
  215. package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.js.map +1 -0
  216. package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.d.ts +2 -0
  217. package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.js +8 -0
  218. package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.js.map +1 -0
  219. package/dist/nodes/WeCom/resources/wedoc/createDoc.d.ts +2 -0
  220. package/dist/nodes/WeCom/resources/wedoc/createDoc.js +59 -0
  221. package/dist/nodes/WeCom/resources/wedoc/createDoc.js.map +1 -0
  222. package/dist/nodes/WeCom/resources/wedoc/createForm.d.ts +2 -0
  223. package/dist/nodes/WeCom/resources/wedoc/createForm.js +10 -0
  224. package/dist/nodes/WeCom/resources/wedoc/createForm.js.map +1 -0
  225. package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.d.ts +2 -0
  226. package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.js +8 -0
  227. package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.js.map +1 -0
  228. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.d.ts +2 -0
  229. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.js +10 -0
  230. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.js.map +1 -0
  231. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.d.ts +2 -0
  232. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.js +10 -0
  233. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.js.map +1 -0
  234. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.d.ts +2 -0
  235. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.js +9 -0
  236. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.js.map +1 -0
  237. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.d.ts +2 -0
  238. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.js +10 -0
  239. package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.js.map +1 -0
  240. package/dist/nodes/WeCom/resources/wedoc/deleteDoc.d.ts +2 -0
  241. package/dist/nodes/WeCom/resources/wedoc/deleteDoc.js +22 -0
  242. package/dist/nodes/WeCom/resources/wedoc/deleteDoc.js.map +1 -0
  243. package/dist/nodes/WeCom/resources/wedoc/execute.d.ts +2 -0
  244. package/dist/nodes/WeCom/resources/wedoc/execute.js +385 -0
  245. package/dist/nodes/WeCom/resources/wedoc/execute.js.map +1 -0
  246. package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.d.ts +2 -0
  247. package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.js +12 -0
  248. package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.js.map +1 -0
  249. package/dist/nodes/WeCom/resources/wedoc/getDocAuth.d.ts +2 -0
  250. package/dist/nodes/WeCom/resources/wedoc/getDocAuth.js +8 -0
  251. package/dist/nodes/WeCom/resources/wedoc/getDocAuth.js.map +1 -0
  252. package/dist/nodes/WeCom/resources/wedoc/getDocData.d.ts +2 -0
  253. package/dist/nodes/WeCom/resources/wedoc/getDocData.js +8 -0
  254. package/dist/nodes/WeCom/resources/wedoc/getDocData.js.map +1 -0
  255. package/dist/nodes/WeCom/resources/wedoc/getDocInfo.d.ts +2 -0
  256. package/dist/nodes/WeCom/resources/wedoc/getDocInfo.js +22 -0
  257. package/dist/nodes/WeCom/resources/wedoc/getDocInfo.js.map +1 -0
  258. package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.d.ts +2 -0
  259. package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.js +13 -0
  260. package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.js.map +1 -0
  261. package/dist/nodes/WeCom/resources/wedoc/getFormInfo.d.ts +2 -0
  262. package/dist/nodes/WeCom/resources/wedoc/getFormInfo.js +8 -0
  263. package/dist/nodes/WeCom/resources/wedoc/getFormInfo.js.map +1 -0
  264. package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.d.ts +2 -0
  265. package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.js +8 -0
  266. package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.js.map +1 -0
  267. package/dist/nodes/WeCom/resources/wedoc/getSheetData.d.ts +2 -0
  268. package/dist/nodes/WeCom/resources/wedoc/getSheetData.js +9 -0
  269. package/dist/nodes/WeCom/resources/wedoc/getSheetData.js.map +1 -0
  270. package/dist/nodes/WeCom/resources/wedoc/getSheetRange.d.ts +2 -0
  271. package/dist/nodes/WeCom/resources/wedoc/getSheetRange.js +8 -0
  272. package/dist/nodes/WeCom/resources/wedoc/getSheetRange.js.map +1 -0
  273. package/dist/nodes/WeCom/resources/wedoc/index.d.ts +2 -0
  274. package/dist/nodes/WeCom/resources/wedoc/index.js +336 -0
  275. package/dist/nodes/WeCom/resources/wedoc/index.js.map +1 -0
  276. package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.d.ts +2 -0
  277. package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.js +10 -0
  278. package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.js.map +1 -0
  279. package/dist/nodes/WeCom/resources/wedoc/modDocContent.d.ts +2 -0
  280. package/dist/nodes/WeCom/resources/wedoc/modDocContent.js +34 -0
  281. package/dist/nodes/WeCom/resources/wedoc/modDocContent.js.map +1 -0
  282. package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.d.ts +2 -0
  283. package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.js +9 -0
  284. package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.js.map +1 -0
  285. package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.d.ts +2 -0
  286. package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.js +9 -0
  287. package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.js.map +1 -0
  288. package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.d.ts +2 -0
  289. package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.js +9 -0
  290. package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.js.map +1 -0
  291. package/dist/nodes/WeCom/resources/wedoc/modForm.d.ts +2 -0
  292. package/dist/nodes/WeCom/resources/wedoc/modForm.js +9 -0
  293. package/dist/nodes/WeCom/resources/wedoc/modForm.js.map +1 -0
  294. package/dist/nodes/WeCom/resources/wedoc/modSheetContent.d.ts +2 -0
  295. package/dist/nodes/WeCom/resources/wedoc/modSheetContent.js +34 -0
  296. package/dist/nodes/WeCom/resources/wedoc/modSheetContent.js.map +1 -0
  297. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.d.ts +2 -0
  298. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.js +9 -0
  299. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.js.map +1 -0
  300. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.d.ts +2 -0
  301. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.js +11 -0
  302. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.js.map +1 -0
  303. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.d.ts +2 -0
  304. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.js +8 -0
  305. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.js.map +1 -0
  306. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.d.ts +2 -0
  307. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.js +9 -0
  308. package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.js.map +1 -0
  309. package/dist/nodes/WeCom/resources/wedoc/renameDoc.d.ts +2 -0
  310. package/dist/nodes/WeCom/resources/wedoc/renameDoc.js +34 -0
  311. package/dist/nodes/WeCom/resources/wedoc/renameDoc.js.map +1 -0
  312. package/dist/nodes/WeCom/resources/wedoc/shareDoc.d.ts +2 -0
  313. package/dist/nodes/WeCom/resources/wedoc/shareDoc.js +22 -0
  314. package/dist/nodes/WeCom/resources/wedoc/shareDoc.js.map +1 -0
  315. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.d.ts +2 -0
  316. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.js +11 -0
  317. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.js.map +1 -0
  318. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.d.ts +2 -0
  319. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.js +10 -0
  320. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.js.map +1 -0
  321. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.d.ts +2 -0
  322. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.js +10 -0
  323. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.js.map +1 -0
  324. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.d.ts +2 -0
  325. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.js +11 -0
  326. package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.js.map +1 -0
  327. package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.d.ts +2 -0
  328. package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.js +10 -0
  329. package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.js.map +1 -0
  330. package/dist/package.json +1 -1
  331. package/dist/tsconfig.tsbuildinfo +1 -1
  332. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addTagUsersDescription = void 0;
4
+ const showOnlyForAddTagUsers = {
5
+ resource: ['contact'],
6
+ operation: ['addTagUsers'],
7
+ };
8
+ exports.addTagUsersDescription = [
9
+ {
10
+ displayName: '标签ID',
11
+ name: 'tagid',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForAddTagUsers,
16
+ },
17
+ default: '',
18
+ description: '标签ID。',
19
+ hint: '标签ID',
20
+ },
21
+ {
22
+ displayName: 'UserID列表',
23
+ name: 'userlist',
24
+ type: 'string',
25
+ displayOptions: {
26
+ show: showOnlyForAddTagUsers,
27
+ },
28
+ default: '',
29
+ description: '企业成员ID列表,多个成员ID用逗号分隔,注意:userlist、partylist不能同时为空。',
30
+ hint: 'UserID列表,用逗号分隔',
31
+ },
32
+ {
33
+ displayName: '部门ID列表',
34
+ name: 'partylist',
35
+ type: 'string',
36
+ displayOptions: {
37
+ show: showOnlyForAddTagUsers,
38
+ },
39
+ default: '',
40
+ description: '企业部门ID列表,多个部门ID用逗号分隔,注意:userlist、partylist不能同时为空。',
41
+ hint: '部门ID列表,用逗号分隔',
42
+ },
43
+ ];
44
+ //# sourceMappingURL=addTagUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"addTagUsers.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/addTagUsers.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,aAAa,CAAC;CAC1B,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,gBAAgB;KACtB;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,cAAc;KACpB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const batchDeleteUserDescription: INodeProperties[];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.batchDeleteUserDescription = void 0;
4
+ const showOnlyForBatchDelete = {
5
+ resource: ['contact'],
6
+ operation: ['batchDeleteUser'],
7
+ };
8
+ exports.batchDeleteUserDescription = [
9
+ {
10
+ displayName: 'UserID列表',
11
+ name: 'useridlist',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForBatchDelete,
16
+ },
17
+ default: '',
18
+ description: '成员UserID列表,多个UserID用逗号分隔。最多支持200个。',
19
+ hint: 'UserID列表,用逗号分隔',
20
+ },
21
+ ];
22
+ //# sourceMappingURL=batchDeleteUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchDeleteUser.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/batchDeleteUser.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,iBAAiB,CAAC;CAC9B,CAAC;AAEW,QAAA,0BAA0B,GAAsB;IAC5D;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oCAAoC;QACjD,IAAI,EAAE,gBAAgB;KACtB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const batchReplaceDepartmentDescription: INodeProperties[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.batchReplaceDepartmentDescription = void 0;
4
+ const showOnlyForBatchReplaceParty = {
5
+ resource: ['contact'],
6
+ operation: ['batchReplaceDepartment'],
7
+ };
8
+ exports.batchReplaceDepartmentDescription = [
9
+ {
10
+ displayName: 'Media ID',
11
+ name: 'media_ID',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForBatchReplaceParty,
16
+ },
17
+ default: '',
18
+ description: '上传的csv文件的media_ID,通过素材管理接口上传文件获得。',
19
+ hint: '素材Media ID',
20
+ },
21
+ {
22
+ displayName: '回调信息',
23
+ name: 'callback',
24
+ type: 'json',
25
+ displayOptions: {
26
+ show: showOnlyForBatchReplaceParty,
27
+ },
28
+ default: '{}',
29
+ description: '回调信息。如填写该项则任务完成后,通过callback推送事件给企业。',
30
+ hint: '回调配置JSON',
31
+ },
32
+ ];
33
+ //# sourceMappingURL=batchReplaceDepartment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchReplaceDepartment.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/batchReplaceDepartment.ts"],"names":[],"mappings":";;;AAEA,MAAM,4BAA4B,GAAG;IACpC,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,wBAAwB,CAAC;CACrC,CAAC;AAEW,QAAA,iCAAiC,GAAsB;IACnE;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,4BAA4B;SAClC;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,YAAY;KAClB;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,cAAc,EAAE;YACf,IAAI,EAAE,4BAA4B;SAClC;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const batchReplaceUserDescription: INodeProperties[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.batchReplaceUserDescription = void 0;
4
+ const showOnlyForBatchReplace = {
5
+ resource: ['contact'],
6
+ operation: ['batchReplaceUser'],
7
+ };
8
+ exports.batchReplaceUserDescription = [
9
+ {
10
+ displayName: 'Media ID',
11
+ name: 'media_ID',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForBatchReplace,
16
+ },
17
+ default: '',
18
+ description: '上传的csv文件的media_ID,通过素材管理接口上传文件获得。',
19
+ hint: '素材Media ID',
20
+ },
21
+ {
22
+ displayName: '回调信息',
23
+ name: 'callback',
24
+ type: 'json',
25
+ displayOptions: {
26
+ show: showOnlyForBatchReplace,
27
+ },
28
+ default: '{}',
29
+ description: '回调信息。如填写该项则任务完成后,通过callback推送事件给企业。',
30
+ hint: '回调配置JSON',
31
+ },
32
+ ];
33
+ //# sourceMappingURL=batchReplaceUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchReplaceUser.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/batchReplaceUser.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAC/B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,kBAAkB,CAAC;CAC/B,CAAC;AAEW,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,YAAY;KAClB;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const batchSyncUserDescription: INodeProperties[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.batchSyncUserDescription = void 0;
4
+ const showOnlyForBatchSync = {
5
+ resource: ['contact'],
6
+ operation: ['batchSyncUser'],
7
+ };
8
+ exports.batchSyncUserDescription = [
9
+ {
10
+ displayName: 'Media ID',
11
+ name: 'media_ID',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForBatchSync,
16
+ },
17
+ default: '',
18
+ description: '上传的csv文件的media_ID,通过素材管理接口上传文件获得。',
19
+ hint: '素材Media ID',
20
+ },
21
+ {
22
+ displayName: '回调信息',
23
+ name: 'callback',
24
+ type: 'json',
25
+ displayOptions: {
26
+ show: showOnlyForBatchSync,
27
+ },
28
+ default: '{}',
29
+ description: '回调信息。如填写该项则任务完成后,通过callback推送事件给企业。',
30
+ hint: '回调配置JSON',
31
+ },
32
+ ];
33
+ //# sourceMappingURL=batchSyncUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"batchSyncUser.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/batchSyncUser.ts"],"names":[],"mappings":";;;AAEA,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,eAAe,CAAC;CAC5B,CAAC;AAEW,QAAA,wBAAwB,GAAsB;IAC1D;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,YAAY;KAClB;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,MAAM;QACZ,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const convertTmpExternalUserIdDescription: INodeProperties[];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.convertTmpExternalUserIdDescription = void 0;
4
+ const showOnlyForConvertTmp = {
5
+ resource: ['contact'],
6
+ operation: ['convertTmpExternalUserId'],
7
+ };
8
+ exports.convertTmpExternalUserIdDescription = [
9
+ {
10
+ displayName: '临时外部联系人ID',
11
+ name: 'tmp_external_userid',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForConvertTmp,
16
+ },
17
+ default: '',
18
+ description: '临时外部联系人的userid,由用户在微信上使用客户联系功能产生。',
19
+ hint: '临时外部联系人ID',
20
+ },
21
+ ];
22
+ //# sourceMappingURL=convertTmpExternalUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertTmpExternalUserId.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/convertTmpExternalUserId.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,0BAA0B,CAAC;CACvC,CAAC;AAEW,QAAA,mCAAmC,GAAsB;IACrE;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,IAAI,EAAE,WAAW;KACjB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createDepartmentDescription: INodeProperties[];
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createDepartmentDescription = void 0;
4
+ const showOnlyForCreateDept = {
5
+ resource: ['contact'],
6
+ operation: ['createDepartment'],
7
+ };
8
+ exports.createDepartmentDescription = [
9
+ {
10
+ displayName: '部门名称',
11
+ name: 'name',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForCreateDept,
16
+ },
17
+ default: '',
18
+ description: '部门名称。长度限制为1~64个utf8字符,字符不能包括\\:*?"<>|。',
19
+ hint: '部门名称',
20
+ },
21
+ {
22
+ displayName: '英文名称',
23
+ name: 'name_en',
24
+ type: 'string',
25
+ displayOptions: {
26
+ show: showOnlyForCreateDept,
27
+ },
28
+ default: '',
29
+ description: '英文名称。长度限制为1~64个字符,字符不能包括\\:*?"<>|。',
30
+ hint: '英文名称',
31
+ },
32
+ {
33
+ displayName: '父部门ID',
34
+ name: 'parentid',
35
+ type: 'string',
36
+ required: true,
37
+ displayOptions: {
38
+ show: showOnlyForCreateDept,
39
+ },
40
+ default: '1',
41
+ description: '父部门ID,32位整型。',
42
+ hint: '父部门ID',
43
+ },
44
+ {
45
+ displayName: '在父部门中的次序值',
46
+ name: 'order',
47
+ type: 'number',
48
+ displayOptions: {
49
+ show: showOnlyForCreateDept,
50
+ },
51
+ default: 1,
52
+ description: '在父部门中的次序值。order值大的排序靠前。有效的值范围是[0, 2^32)。',
53
+ hint: '排序值',
54
+ },
55
+ {
56
+ displayName: '部门ID',
57
+ name: 'id',
58
+ type: 'string',
59
+ displayOptions: {
60
+ show: showOnlyForCreateDept,
61
+ },
62
+ default: '',
63
+ description: '部门ID,32位整型,指定时必须大于1。若不填该参数,将自动生成ID。',
64
+ hint: '部门ID(可选)',
65
+ },
66
+ ];
67
+ //# sourceMappingURL=createDepartment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDepartment.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/createDepartment.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,kBAAkB,CAAC;CAC/B,CAAC;AAEW,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8CAA8C;QAC3D,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,GAAG;QACZ,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,OAAO;KACb;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,0CAA0C;QACvD,IAAI,EAAE,KAAK;KACX;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qCAAqC;QAClD,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createTagDescription: INodeProperties[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createTagDescription = void 0;
4
+ const showOnlyForCreateTag = {
5
+ resource: ['contact'],
6
+ operation: ['createTag'],
7
+ };
8
+ exports.createTagDescription = [
9
+ {
10
+ displayName: '标签名称',
11
+ name: 'tagname',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForCreateTag,
16
+ },
17
+ default: '',
18
+ description: '标签名称,长度限制为32个字以内(汉字或英文字母)。',
19
+ hint: '标签名称',
20
+ },
21
+ {
22
+ displayName: '标签ID',
23
+ name: 'tagid',
24
+ type: 'string',
25
+ displayOptions: {
26
+ show: showOnlyForCreateTag,
27
+ },
28
+ default: '',
29
+ description: '标签ID,非负整型,指定此参数时新增的标签会生成对应的标签ID,不指定时则以目前最大的ID自增。',
30
+ hint: '标签ID(可选)',
31
+ },
32
+ ];
33
+ //# sourceMappingURL=createTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTag.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/createTag.ts"],"names":[],"mappings":";;;AAEA,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,WAAW,CAAC;CACxB,CAAC;AAEW,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kDAAkD;QAC/D,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const createUserDescription: INodeProperties[];
@@ -0,0 +1,203 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createUserDescription = void 0;
4
+ const showOnlyForCreate = {
5
+ resource: ['contact'],
6
+ operation: ['createUser'],
7
+ };
8
+ exports.createUserDescription = [
9
+ {
10
+ displayName: 'UserID',
11
+ name: 'userid',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForCreate,
16
+ },
17
+ default: '',
18
+ description: '成员UserID。企业内必须唯一。长度为1~64个字节。只能由数字、字母和"_-@."四种字符组成,且第一个字符必须是字母或数字。',
19
+ hint: '成员UserID',
20
+ },
21
+ {
22
+ displayName: '姓名',
23
+ name: 'name',
24
+ type: 'string',
25
+ required: true,
26
+ displayOptions: {
27
+ show: showOnlyForCreate,
28
+ },
29
+ default: '',
30
+ description: '成员名称。长度为1~64个utf8字符。',
31
+ hint: '成员姓名',
32
+ },
33
+ {
34
+ displayName: '手机号',
35
+ name: 'mobile',
36
+ type: 'string',
37
+ displayOptions: {
38
+ show: showOnlyForCreate,
39
+ },
40
+ default: '',
41
+ description: '手机号码。企业内必须唯一,mobile/email二者不能同时为空。',
42
+ hint: '手机号码',
43
+ },
44
+ {
45
+ displayName: '所属部门',
46
+ name: 'department',
47
+ type: 'string',
48
+ required: true,
49
+ displayOptions: {
50
+ show: showOnlyForCreate,
51
+ },
52
+ default: '',
53
+ description: '成员所属部门ID列表,多个部门用逗号分隔。不超过100个。',
54
+ hint: '部门ID列表,用逗号分隔',
55
+ },
56
+ {
57
+ displayName: '职务信息',
58
+ name: 'position',
59
+ type: 'string',
60
+ displayOptions: {
61
+ show: showOnlyForCreate,
62
+ },
63
+ default: '',
64
+ description: '职务信息。长度为0~128个字符。',
65
+ hint: '职务信息',
66
+ },
67
+ {
68
+ displayName: '性别',
69
+ name: 'gender',
70
+ type: 'options',
71
+ displayOptions: {
72
+ show: showOnlyForCreate,
73
+ },
74
+ options: [
75
+ {
76
+ name: '保密',
77
+ value: '0',
78
+ },
79
+ {
80
+ name: '男',
81
+ value: '1',
82
+ },
83
+ {
84
+ name: '女',
85
+ value: '2',
86
+ },
87
+ ],
88
+ default: '0',
89
+ description: '性别。0表示未定义,1表示男性,2表示女性。',
90
+ hint: '性别',
91
+ },
92
+ {
93
+ displayName: '邮箱',
94
+ name: 'email',
95
+ type: 'string',
96
+ placeholder: 'name@email.com',
97
+ displayOptions: {
98
+ show: showOnlyForCreate,
99
+ },
100
+ default: '',
101
+ description: '邮箱。长度6~64个字节,且为有效的email格式。企业内必须唯一,mobile/email二者不能同时为空。',
102
+ hint: '邮箱地址',
103
+ },
104
+ {
105
+ displayName: '企业邮箱',
106
+ name: 'biz_mail',
107
+ type: 'string',
108
+ displayOptions: {
109
+ show: showOnlyForCreate,
110
+ },
111
+ default: '',
112
+ description: '企业邮箱,仅对开通企业邮箱的企业有效。长度6~64个字节,且为有效的企业邮箱格式。',
113
+ hint: '企业邮箱',
114
+ },
115
+ {
116
+ displayName: '个数地址',
117
+ name: 'address',
118
+ type: 'string',
119
+ displayOptions: {
120
+ show: showOnlyForCreate,
121
+ },
122
+ default: '',
123
+ description: '地址。长度最大128个字符。',
124
+ hint: '地址',
125
+ },
126
+ {
127
+ displayName: '别名',
128
+ name: 'alias',
129
+ type: 'string',
130
+ displayOptions: {
131
+ show: showOnlyForCreate,
132
+ },
133
+ default: '',
134
+ description: '成员别名。长度1~64个utf8字符。',
135
+ hint: '别名',
136
+ },
137
+ {
138
+ displayName: '座机',
139
+ name: 'telephone',
140
+ type: 'string',
141
+ displayOptions: {
142
+ show: showOnlyForCreate,
143
+ },
144
+ default: '',
145
+ description: '座机。32字节以内,由纯数字、"-"、"+"或","组成。',
146
+ hint: '座机号码',
147
+ },
148
+ {
149
+ displayName: '启用状态',
150
+ name: 'enable',
151
+ type: 'options',
152
+ displayOptions: {
153
+ show: showOnlyForCreate,
154
+ },
155
+ options: [
156
+ {
157
+ name: '启用',
158
+ value: 1,
159
+ },
160
+ {
161
+ name: '禁用',
162
+ value: 0,
163
+ },
164
+ ],
165
+ default: 1,
166
+ description: 'Whether to enable this member',
167
+ hint: '启用状态',
168
+ },
169
+ {
170
+ displayName: '头像MediaID',
171
+ name: 'avatar_mediaid',
172
+ type: 'string',
173
+ displayOptions: {
174
+ show: showOnlyForCreate,
175
+ },
176
+ default: '',
177
+ description: '成员头像的mediaid,通过素材管理接口上传图片获得的mediaid。',
178
+ hint: '头像MediaID',
179
+ },
180
+ {
181
+ displayName: '成员对外属性',
182
+ name: 'external_profile',
183
+ type: 'json',
184
+ displayOptions: {
185
+ show: showOnlyForCreate,
186
+ },
187
+ default: '{}',
188
+ description: '成员对外属性,字段详情参见对外属性。',
189
+ hint: '对外属性JSON',
190
+ },
191
+ {
192
+ displayName: '是否邀请该成员使用企业微信',
193
+ name: 'to_invite',
194
+ type: 'boolean',
195
+ displayOptions: {
196
+ show: showOnlyForCreate,
197
+ },
198
+ default: true,
199
+ description: 'Whether to invite the member to use WeCom',
200
+ hint: '是否邀请使用',
201
+ },
202
+ ];
203
+ //# sourceMappingURL=createUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createUser.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/createUser.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const delTagUsersDescription: INodeProperties[];
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.delTagUsersDescription = void 0;
4
+ const showOnlyForDelTagUsers = {
5
+ resource: ['contact'],
6
+ operation: ['delTagUsers'],
7
+ };
8
+ exports.delTagUsersDescription = [
9
+ {
10
+ displayName: '标签ID',
11
+ name: 'tagid',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForDelTagUsers,
16
+ },
17
+ default: '',
18
+ description: '标签ID。',
19
+ hint: '标签ID',
20
+ },
21
+ {
22
+ displayName: 'UserID列表',
23
+ name: 'userlist',
24
+ type: 'string',
25
+ displayOptions: {
26
+ show: showOnlyForDelTagUsers,
27
+ },
28
+ default: '',
29
+ description: '企业成员ID列表,多个成员ID用逗号分隔,注意:userlist、partylist不能同时为空。',
30
+ hint: 'UserID列表,用逗号分隔',
31
+ },
32
+ {
33
+ displayName: '部门ID列表',
34
+ name: 'partylist',
35
+ type: 'string',
36
+ displayOptions: {
37
+ show: showOnlyForDelTagUsers,
38
+ },
39
+ default: '',
40
+ description: '企业部门ID列表,多个部门ID用逗号分隔,注意:userlist、partylist不能同时为空。',
41
+ hint: '部门ID列表,用逗号分隔',
42
+ },
43
+ ];
44
+ //# sourceMappingURL=delTagUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delTagUsers.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/delTagUsers.ts"],"names":[],"mappings":";;;AAEA,MAAM,sBAAsB,GAAG;IAC9B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,aAAa,CAAC;CAC1B,CAAC;AAEW,QAAA,sBAAsB,GAAsB;IACxD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,gBAAgB;KACtB;IACD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,sBAAsB;SAC5B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;QAChE,IAAI,EAAE,cAAc;KACpB;CACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const deleteDepartmentDescription: INodeProperties[];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.deleteDepartmentDescription = void 0;
4
+ const showOnlyForDeleteDept = {
5
+ resource: ['contact'],
6
+ operation: ['deleteDepartment'],
7
+ };
8
+ exports.deleteDepartmentDescription = [
9
+ {
10
+ displayName: '部门ID',
11
+ name: 'id',
12
+ type: 'string',
13
+ required: true,
14
+ displayOptions: {
15
+ show: showOnlyForDeleteDept,
16
+ },
17
+ default: '',
18
+ description: '部门ID。(注:不能删除根部门;不能删除含有子部门、成员的部门)',
19
+ hint: '要删除的部门ID',
20
+ },
21
+ ];
22
+ //# sourceMappingURL=deleteDepartment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteDepartment.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/deleteDepartment.ts"],"names":[],"mappings":";;;AAEA,MAAM,qBAAqB,GAAG;IAC7B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,kBAAkB,CAAC;CAC/B,CAAC;AAEW,QAAA,2BAA2B,GAAsB;IAC7D;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,qBAAqB;SAC3B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kCAAkC;QAC/C,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}