n8n-nodes-wecom 0.1.8 → 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.
- package/README.md +135 -3
- package/dist/nodes/WeCom/WeCom.node.js +26 -2
- package/dist/nodes/WeCom/WeCom.node.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/execute.js +4 -4
- package/dist/nodes/WeCom/resources/appChat/sendFile.js +3 -3
- package/dist/nodes/WeCom/resources/appChat/sendImage.js +3 -3
- package/dist/nodes/WeCom/resources/contact/addTagUsers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/addTagUsers.js +44 -0
- package/dist/nodes/WeCom/resources/contact/addTagUsers.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/batchDeleteUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js +22 -0
- package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.js +33 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceDepartment.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceUser.js +33 -0
- package/dist/nodes/WeCom/resources/contact/batchReplaceUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/batchSyncUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/batchSyncUser.js +33 -0
- package/dist/nodes/WeCom/resources/contact/batchSyncUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.js +22 -0
- package/dist/nodes/WeCom/resources/contact/convertTmpExternalUserId.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/createDepartment.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/createDepartment.js +67 -0
- package/dist/nodes/WeCom/resources/contact/createDepartment.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/createTag.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/createTag.js +33 -0
- package/dist/nodes/WeCom/resources/contact/createTag.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/createUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/createUser.js +203 -0
- package/dist/nodes/WeCom/resources/contact/createUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/delTagUsers.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/delTagUsers.js +44 -0
- package/dist/nodes/WeCom/resources/contact/delTagUsers.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/deleteDepartment.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/deleteDepartment.js +22 -0
- package/dist/nodes/WeCom/resources/contact/deleteDepartment.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/deleteTag.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/deleteTag.js +22 -0
- package/dist/nodes/WeCom/resources/contact/deleteTag.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/deleteUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/deleteUser.js +22 -0
- package/dist/nodes/WeCom/resources/contact/deleteUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/execute.js +305 -0
- package/dist/nodes/WeCom/resources/contact/execute.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/exportDepartment.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/exportDepartment.js +32 -0
- package/dist/nodes/WeCom/resources/contact/exportDepartment.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/exportSimpleUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/exportSimpleUser.js +32 -0
- package/dist/nodes/WeCom/resources/contact/exportSimpleUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/exportTagUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/exportTagUser.js +44 -0
- package/dist/nodes/WeCom/resources/contact/exportTagUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/exportUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/exportUser.js +32 -0
- package/dist/nodes/WeCom/resources/contact/exportUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getAsyncResult.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getAsyncResult.js +22 -0
- package/dist/nodes/WeCom/resources/contact/getAsyncResult.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.js +22 -0
- package/dist/nodes/WeCom/resources/contact/getDepartmentDetail.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getExportResult.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getExportResult.js +22 -0
- package/dist/nodes/WeCom/resources/contact/getExportResult.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getJoinQrCode.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getJoinQrCode.js +39 -0
- package/dist/nodes/WeCom/resources/contact/getJoinQrCode.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.js +21 -0
- package/dist/nodes/WeCom/resources/contact/getSubDepartmentIds.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.js +44 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByEmail.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.js +22 -0
- package/dist/nodes/WeCom/resources/contact/getUserIdByMobile.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/index.js +217 -3
- package/dist/nodes/WeCom/resources/contact/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/inviteUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/inviteUser.js +43 -0
- package/dist/nodes/WeCom/resources/contact/inviteUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/updateDepartment.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/updateDepartment.js +66 -0
- package/dist/nodes/WeCom/resources/contact/updateDepartment.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/updateTag.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/updateTag.js +34 -0
- package/dist/nodes/WeCom/resources/contact/updateTag.js.map +1 -0
- package/dist/nodes/WeCom/resources/contact/updateUser.d.ts +2 -0
- package/dist/nodes/WeCom/resources/contact/updateUser.js +190 -0
- package/dist/nodes/WeCom/resources/contact/updateUser.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js +46 -0
- package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.js +34 -0
- package/dist/nodes/WeCom/resources/linkedcorp/batchImportChainContact.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.js +34 -0
- package/dist/nodes/WeCom/resources/linkedcorp/deleteChainRule.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/execute.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/execute.js +185 -0
- package/dist/nodes/WeCom/resources/linkedcorp/execute.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js +32 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.js +22 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainAsyncResult.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js +21 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.js +34 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleDetail.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.js +22 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getChainRuleList.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.js +34 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getCustomUserId.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js +55 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js +55 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.js +67 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getMiniProgramSession.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.js +22 -0
- package/dist/nodes/WeCom/resources/linkedcorp/getSubCorpChainList.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/index.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/index.js +50 -0
- package/dist/nodes/WeCom/resources/linkedcorp/index.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.js +34 -0
- package/dist/nodes/WeCom/resources/linkedcorp/removeChainCorp.js.map +1 -0
- package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.d.ts +2 -0
- package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.js +56 -0
- package/dist/nodes/WeCom/resources/linkedcorp/updateChainRule.js.map +1 -0
- package/dist/nodes/WeCom/resources/material/execute.js +70 -6
- package/dist/nodes/WeCom/resources/material/execute.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/getHighQualityVoice.d.ts +2 -0
- package/dist/nodes/WeCom/resources/material/getHighQualityVoice.js +22 -0
- package/dist/nodes/WeCom/resources/material/getHighQualityVoice.js.map +1 -0
- package/dist/nodes/WeCom/resources/material/getPermanent.js +2 -2
- package/dist/nodes/WeCom/resources/material/getTemp.js +2 -2
- package/dist/nodes/WeCom/resources/material/index.js +8 -26
- package/dist/nodes/WeCom/resources/material/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/uploadImage.d.ts +2 -0
- package/dist/nodes/WeCom/resources/material/uploadImage.js +33 -0
- package/dist/nodes/WeCom/resources/material/uploadImage.js.map +1 -0
- package/dist/nodes/WeCom/resources/material/uploadTempAsync.d.ts +2 -0
- package/dist/nodes/WeCom/resources/material/uploadTempAsync.js +74 -0
- package/dist/nodes/WeCom/resources/material/uploadTempAsync.js.map +1 -0
- package/dist/nodes/WeCom/resources/message/execute.js +47 -8
- package/dist/nodes/WeCom/resources/message/execute.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/index.js +4 -87
- package/dist/nodes/WeCom/resources/message/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendFile.js +1 -1
- package/dist/nodes/WeCom/resources/message/sendImage.js +1 -1
- package/dist/nodes/WeCom/resources/message/sendMpNews.js +2 -2
- package/dist/nodes/WeCom/resources/message/sendSchoolNotice.d.ts +2 -0
- package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js +100 -0
- package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js.map +1 -0
- package/dist/nodes/WeCom/resources/message/sendVideo.js +2 -2
- package/dist/nodes/WeCom/resources/message/sendVoice.js +2 -2
- package/dist/nodes/WeCom/resources/pushMessage/execute.js +2 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendFile.js +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js +2 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendVoice.js +1 -1
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetField.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetRecord.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetSheet.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/addSmartsheetView.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/allocateAdvancedAccount.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/createDoc.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/createDoc.js +59 -0
- package/dist/nodes/WeCom/resources/wedoc/createDoc.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/createForm.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/createForm.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/createForm.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/deallocateAdvancedAccount.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetField.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetRecord.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetSheet.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/delSmartsheetView.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/deleteDoc.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/deleteDoc.js +22 -0
- package/dist/nodes/WeCom/resources/wedoc/deleteDoc.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/execute.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/execute.js +385 -0
- package/dist/nodes/WeCom/resources/wedoc/execute.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.js +12 -0
- package/dist/nodes/WeCom/resources/wedoc/getAdvancedAccountList.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocAuth.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocAuth.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocAuth.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocData.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocData.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocData.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocInfo.js +22 -0
- package/dist/nodes/WeCom/resources/wedoc/getDocInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.js +13 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormAnswer.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormInfo.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormInfo.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormInfo.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/getFormStatistic.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetData.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetData.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetData.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetRange.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetRange.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/getSheetRange.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/index.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/index.js +336 -0
- package/dist/nodes/WeCom/resources/wedoc/index.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/manageSmartsheetAuth.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocContent.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocContent.js +34 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocContent.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocMemberRule.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocSafeRule.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/modDocShareScope.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modForm.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modForm.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/modForm.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/modSheetContent.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/modSheetContent.js +34 -0
- package/dist/nodes/WeCom/resources/wedoc/modSheetContent.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetField.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.js +11 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetRecord.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.js +8 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetSheet.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.js +9 -0
- package/dist/nodes/WeCom/resources/wedoc/querySmartsheetView.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/renameDoc.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/renameDoc.js +34 -0
- package/dist/nodes/WeCom/resources/wedoc/renameDoc.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/shareDoc.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/shareDoc.js +22 -0
- package/dist/nodes/WeCom/resources/wedoc/shareDoc.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.js +11 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetField.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetRecord.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetSheet.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.js +11 -0
- package/dist/nodes/WeCom/resources/wedoc/updateSmartsheetView.js.map +1 -0
- package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.d.ts +2 -0
- package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.js +10 -0
- package/dist/nodes/WeCom/resources/wedoc/uploadDocImage.js.map +1 -0
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -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,E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|
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,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","s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AAC"}
|
|
@@ -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,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteTagDescription = void 0;
|
|
4
|
+
const showOnlyForDeleteTag = {
|
|
5
|
+
resource: ['contact'],
|
|
6
|
+
operation: ['deleteTag'],
|
|
7
|
+
};
|
|
8
|
+
exports.deleteTagDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: '标签ID',
|
|
11
|
+
name: 'tagid',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
displayOptions: {
|
|
15
|
+
show: showOnlyForDeleteTag,
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: '标签ID。',
|
|
19
|
+
hint: '要删除的标签ID',
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=deleteTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteTag.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/deleteTag.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,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,UAAU;KAChB;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deleteUserDescription = void 0;
|
|
4
|
+
const showOnlyForDelete = {
|
|
5
|
+
resource: ['contact'],
|
|
6
|
+
operation: ['deleteUser'],
|
|
7
|
+
};
|
|
8
|
+
exports.deleteUserDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'UserID',
|
|
11
|
+
name: 'userid',
|
|
12
|
+
type: 'string',
|
|
13
|
+
required: true,
|
|
14
|
+
displayOptions: {
|
|
15
|
+
show: showOnlyForDelete,
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: '成员UserID。对应管理端的账号。',
|
|
19
|
+
hint: '要删除的成员UserID',
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
//# sourceMappingURL=deleteUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteUser.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/contact/deleteUser.ts"],"names":[],"mappings":";;;AAEA,MAAM,iBAAiB,GAAG;IACzB,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,YAAY,CAAC;CACzB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD;QACC,WAAW,EAAE,QAAQ;QACrB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE,iBAAiB;SACvB;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,cAAc;KACpB;CACD,CAAC"}
|