n8n-nodes-wecom 0.1.49 → 0.2.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.
- package/LICENSE.md +19 -19
- package/README.md +762 -762
- package/dist/nodes/WeCom/resources/appChat/createAppChat.js +8 -3
- package/dist/nodes/WeCom/resources/appChat/createAppChat.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/getAppChat.js +2 -1
- package/dist/nodes/WeCom/resources/appChat/getAppChat.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/sendFile.js +8 -5
- package/dist/nodes/WeCom/resources/appChat/sendFile.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/sendImage.js +8 -5
- package/dist/nodes/WeCom/resources/appChat/sendImage.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/sendMarkdown.js +4 -2
- package/dist/nodes/WeCom/resources/appChat/sendMarkdown.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/sendNews.js +11 -6
- package/dist/nodes/WeCom/resources/appChat/sendNews.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/sendText.js +5 -3
- package/dist/nodes/WeCom/resources/appChat/sendText.js.map +1 -1
- package/dist/nodes/WeCom/resources/appChat/updateAppChat.js +11 -6
- package/dist/nodes/WeCom/resources/appChat/updateAppChat.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/createApprovalTemplate.js +1 -1
- package/dist/nodes/WeCom/resources/approval/createApprovalTemplate.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/getApprovalDetail.js +2 -2
- package/dist/nodes/WeCom/resources/approval/getApprovalDetail.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/getApprovalSpNoList.js +5 -5
- package/dist/nodes/WeCom/resources/approval/getApprovalSpNoList.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/getTemplateDetail.js +2 -2
- package/dist/nodes/WeCom/resources/approval/getTemplateDetail.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/getVacationConfig.js +1 -1
- package/dist/nodes/WeCom/resources/approval/getVacationConfig.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/getVacationQuota.js +1 -1
- package/dist/nodes/WeCom/resources/approval/getVacationQuota.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/index.js +9 -9
- package/dist/nodes/WeCom/resources/approval/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/setVacationQuota.js +4 -4
- package/dist/nodes/WeCom/resources/approval/setVacationQuota.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/submitApproval.js +2 -2
- package/dist/nodes/WeCom/resources/approval/submitApproval.js.map +1 -1
- package/dist/nodes/WeCom/resources/approval/updateApprovalTemplate.js +2 -2
- package/dist/nodes/WeCom/resources/approval/updateApprovalTemplate.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/addScheduleAttendees.js +2 -2
- package/dist/nodes/WeCom/resources/calendar/addScheduleAttendees.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/cancelSchedule.js +1 -1
- package/dist/nodes/WeCom/resources/calendar/cancelSchedule.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/createCalendar.js +9 -10
- package/dist/nodes/WeCom/resources/calendar/createCalendar.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/createSchedule.js +7 -4
- package/dist/nodes/WeCom/resources/calendar/createSchedule.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/deleteCalendar.js +1 -1
- package/dist/nodes/WeCom/resources/calendar/deleteCalendar.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/deleteScheduleAttendees.js +2 -2
- package/dist/nodes/WeCom/resources/calendar/deleteScheduleAttendees.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/getCalendar.js +1 -1
- package/dist/nodes/WeCom/resources/calendar/getCalendar.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/getSchedule.js +2 -2
- package/dist/nodes/WeCom/resources/calendar/getSchedule.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/index.js +12 -12
- package/dist/nodes/WeCom/resources/calendar/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/listCalendarSchedules.js +3 -3
- package/dist/nodes/WeCom/resources/calendar/listCalendarSchedules.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/updateCalendar.js +5 -5
- package/dist/nodes/WeCom/resources/calendar/updateCalendar.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/updateRecurringSchedule.js +2 -2
- package/dist/nodes/WeCom/resources/calendar/updateRecurringSchedule.js.map +1 -1
- package/dist/nodes/WeCom/resources/calendar/updateSchedule.js +4 -4
- package/dist/nodes/WeCom/resources/calendar/updateSchedule.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/addCheckin.js +3 -3
- package/dist/nodes/WeCom/resources/checkin/addCheckin.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/addCheckinRecord.js +1 -1
- package/dist/nodes/WeCom/resources/checkin/addCheckinRecord.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/addFaceInfo.js +2 -2
- package/dist/nodes/WeCom/resources/checkin/addFaceInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getCheckinData.js +16 -11
- package/dist/nodes/WeCom/resources/checkin/getCheckinData.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getCorporationRules.js +1 -1
- package/dist/nodes/WeCom/resources/checkin/getCorporationRules.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getDailyReport.js +3 -3
- package/dist/nodes/WeCom/resources/checkin/getDailyReport.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getDeviceCheckinData.js +3 -3
- package/dist/nodes/WeCom/resources/checkin/getDeviceCheckinData.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getMonthlyReport.js +2 -2
- package/dist/nodes/WeCom/resources/checkin/getMonthlyReport.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getScheduleList.js +3 -3
- package/dist/nodes/WeCom/resources/checkin/getScheduleList.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/getUserRules.js +2 -2
- package/dist/nodes/WeCom/resources/checkin/getUserRules.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/index.js +12 -12
- package/dist/nodes/WeCom/resources/checkin/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/manageRules.js +2 -2
- package/dist/nodes/WeCom/resources/checkin/manageRules.js.map +1 -1
- package/dist/nodes/WeCom/resources/checkin/setScheduleList.js +1 -1
- package/dist/nodes/WeCom/resources/checkin/setScheduleList.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/addTagUsers.js +9 -6
- package/dist/nodes/WeCom/resources/contact/addTagUsers.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js +3 -2
- package/dist/nodes/WeCom/resources/contact/batchDeleteUser.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/convertToOpenid.js +1 -1
- package/dist/nodes/WeCom/resources/contact/convertToOpenid.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/createDepartment.js +12 -10
- package/dist/nodes/WeCom/resources/contact/createDepartment.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/createTag.js +5 -4
- package/dist/nodes/WeCom/resources/contact/createTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/createUser.js +37 -32
- package/dist/nodes/WeCom/resources/contact/createUser.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/delTagUsers.js +9 -6
- package/dist/nodes/WeCom/resources/contact/delTagUsers.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/deleteDepartment.js +3 -2
- package/dist/nodes/WeCom/resources/contact/deleteDepartment.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/deleteTag.js +3 -2
- package/dist/nodes/WeCom/resources/contact/deleteTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/deleteUser.js +3 -2
- package/dist/nodes/WeCom/resources/contact/deleteUser.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/getDepartment.js +2 -2
- package/dist/nodes/WeCom/resources/contact/getDepartment.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/getTag.js +1 -1
- package/dist/nodes/WeCom/resources/contact/getTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/getUser.js +2 -2
- package/dist/nodes/WeCom/resources/contact/getUser.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/listUserIds.js +1 -1
- package/dist/nodes/WeCom/resources/contact/listUserIds.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/listUsers.js +4 -4
- package/dist/nodes/WeCom/resources/contact/listUsers.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/listUsersDetail.js +4 -4
- package/dist/nodes/WeCom/resources/contact/listUsersDetail.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/updateDepartment.js +12 -10
- package/dist/nodes/WeCom/resources/contact/updateDepartment.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/updateTag.js +5 -4
- package/dist/nodes/WeCom/resources/contact/updateTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/contact/updateUser.js +34 -30
- package/dist/nodes/WeCom/resources/contact/updateUser.js.map +1 -1
- package/dist/nodes/WeCom/resources/emergency/getCallStatus.js +2 -2
- package/dist/nodes/WeCom/resources/emergency/getCallStatus.js.map +1 -1
- package/dist/nodes/WeCom/resources/emergency/index.js +2 -2
- package/dist/nodes/WeCom/resources/emergency/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/emergency/makeVoiceCall.js +4 -4
- package/dist/nodes/WeCom/resources/emergency/makeVoiceCall.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addContactWay.js +17 -12
- package/dist/nodes/WeCom/resources/externalContact/addContactWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addCorpTag.js +10 -5
- package/dist/nodes/WeCom/resources/externalContact/addCorpTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addGroupWelcomeTemplate.js +7 -6
- package/dist/nodes/WeCom/resources/externalContact/addGroupWelcomeTemplate.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addInterceptRule.js +3 -0
- package/dist/nodes/WeCom/resources/externalContact/addInterceptRule.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addJoinWay.js +5 -4
- package/dist/nodes/WeCom/resources/externalContact/addJoinWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/addMsgTemplate.js +12 -7
- package/dist/nodes/WeCom/resources/externalContact/addMsgTemplate.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/batchGetExternalContact.js +8 -5
- package/dist/nodes/WeCom/resources/externalContact/batchGetExternalContact.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/createCustomerAcquisitionLink.js +3 -3
- package/dist/nodes/WeCom/resources/externalContact/createCustomerAcquisitionLink.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/delContactWay.js +2 -1
- package/dist/nodes/WeCom/resources/externalContact/delContactWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/delCorpTag.js +6 -4
- package/dist/nodes/WeCom/resources/externalContact/delCorpTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/editCorpTag.js +7 -5
- package/dist/nodes/WeCom/resources/externalContact/editCorpTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getContactWay.js +2 -1
- package/dist/nodes/WeCom/resources/externalContact/getContactWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getCorpTagList.js +6 -4
- package/dist/nodes/WeCom/resources/externalContact/getCorpTagList.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getExternalContact.js +6 -4
- package/dist/nodes/WeCom/resources/externalContact/getExternalContact.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getExternalContactList.js +2 -1
- package/dist/nodes/WeCom/resources/externalContact/getExternalContactList.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getFollowUserList.js +1 -0
- package/dist/nodes/WeCom/resources/externalContact/getFollowUserList.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getGroupChat.js +4 -1
- package/dist/nodes/WeCom/resources/externalContact/getGroupChat.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getGroupChatList.js +11 -8
- package/dist/nodes/WeCom/resources/externalContact/getGroupChatList.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/getGroupChatStatistic.js +7 -6
- package/dist/nodes/WeCom/resources/externalContact/getGroupChatStatistic.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/markTag.js +12 -7
- package/dist/nodes/WeCom/resources/externalContact/markTag.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/resignedTransferCustomer.js +9 -6
- package/dist/nodes/WeCom/resources/externalContact/resignedTransferCustomer.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/sendWelcomeMsg.js +6 -4
- package/dist/nodes/WeCom/resources/externalContact/sendWelcomeMsg.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/transferCustomer.js +12 -8
- package/dist/nodes/WeCom/resources/externalContact/transferCustomer.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/updateContactWay.js +11 -8
- package/dist/nodes/WeCom/resources/externalContact/updateContactWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/updateExternalContactRemark.js +20 -12
- package/dist/nodes/WeCom/resources/externalContact/updateExternalContactRemark.js.map +1 -1
- package/dist/nodes/WeCom/resources/externalContact/updateJoinWay.js +3 -3
- package/dist/nodes/WeCom/resources/externalContact/updateJoinWay.js.map +1 -1
- package/dist/nodes/WeCom/resources/hr/getFieldList.js +1 -2
- package/dist/nodes/WeCom/resources/hr/getFieldList.js.map +1 -1
- package/dist/nodes/WeCom/resources/hr/getStaffInfo.js +2 -2
- package/dist/nodes/WeCom/resources/hr/getStaffInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/hr/index.js +3 -3
- package/dist/nodes/WeCom/resources/hr/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/hr/updateStaffInfo.js +4 -4
- package/dist/nodes/WeCom/resources/hr/updateStaffInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/invoice/batchGetInvoiceInfo.js +2 -2
- package/dist/nodes/WeCom/resources/invoice/batchGetInvoiceInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/invoice/batchUpdateInvoiceStatus.js +8 -6
- package/dist/nodes/WeCom/resources/invoice/batchUpdateInvoiceStatus.js.map +1 -1
- package/dist/nodes/WeCom/resources/invoice/getInvoiceInfo.js +4 -4
- package/dist/nodes/WeCom/resources/invoice/getInvoiceInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/invoice/updateInvoiceStatus.js +8 -6
- package/dist/nodes/WeCom/resources/invoice/updateInvoiceStatus.js.map +1 -1
- package/dist/nodes/WeCom/resources/journal/downloadFile.js +2 -2
- package/dist/nodes/WeCom/resources/journal/downloadFile.js.map +1 -1
- package/dist/nodes/WeCom/resources/journal/getRecordDetail.js +2 -2
- package/dist/nodes/WeCom/resources/journal/getRecordDetail.js.map +1 -1
- package/dist/nodes/WeCom/resources/journal/getRecordList.js +9 -10
- package/dist/nodes/WeCom/resources/journal/getRecordList.js.map +1 -1
- package/dist/nodes/WeCom/resources/journal/getStatistics.js +7 -8
- package/dist/nodes/WeCom/resources/journal/getStatistics.js.map +1 -1
- package/dist/nodes/WeCom/resources/journal/index.js +4 -4
- package/dist/nodes/WeCom/resources/journal/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/addKfAccount.js +4 -0
- package/dist/nodes/WeCom/resources/kf/addKfAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/addServicer.js +5 -2
- package/dist/nodes/WeCom/resources/kf/addServicer.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/delKfAccount.js +3 -2
- package/dist/nodes/WeCom/resources/kf/delKfAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/delServicer.js +5 -2
- package/dist/nodes/WeCom/resources/kf/delServicer.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/getCorpStatistic.js +8 -3
- package/dist/nodes/WeCom/resources/kf/getCorpStatistic.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/getCustomerInfo.js +5 -2
- package/dist/nodes/WeCom/resources/kf/getCustomerInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/getKfAccountLink.js +5 -2
- package/dist/nodes/WeCom/resources/kf/getKfAccountLink.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/getServicerStatistic.js +11 -4
- package/dist/nodes/WeCom/resources/kf/getServicerStatistic.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/listKfAccount.js +6 -3
- package/dist/nodes/WeCom/resources/kf/listKfAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/listServicer.js +2 -1
- package/dist/nodes/WeCom/resources/kf/listServicer.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/manageKnowledgeGroup.js +9 -2
- package/dist/nodes/WeCom/resources/kf/manageKnowledgeGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/manageKnowledgeIntent.js +9 -2
- package/dist/nodes/WeCom/resources/kf/manageKnowledgeIntent.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/sendKfEventMsg.js +24 -24
- package/dist/nodes/WeCom/resources/kf/sendKfEventMsg.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/sendKfMsg.js +24 -24
- package/dist/nodes/WeCom/resources/kf/sendKfMsg.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/setUpgradeService.js +5 -2
- package/dist/nodes/WeCom/resources/kf/setUpgradeService.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/syncMsg.js +14 -10
- package/dist/nodes/WeCom/resources/kf/syncMsg.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/transServiceState.js +12 -6
- package/dist/nodes/WeCom/resources/kf/transServiceState.js.map +1 -1
- package/dist/nodes/WeCom/resources/kf/updateKfAccount.js +9 -4
- package/dist/nodes/WeCom/resources/kf/updateKfAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js +6 -6
- package/dist/nodes/WeCom/resources/linkedcorp/addChainRule.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js +4 -4
- package/dist/nodes/WeCom/resources/linkedcorp/getAppShareInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js +2 -2
- package/dist/nodes/WeCom/resources/linkedcorp/getChainInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js +5 -5
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCorpToken.js.map +1 -1
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js +5 -5
- package/dist/nodes/WeCom/resources/linkedcorp/getLinkedCustomer.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/allocateMailAdvancedAccount.js +2 -2
- package/dist/nodes/WeCom/resources/mail/allocateMailAdvancedAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/createMailGroup.js +7 -7
- package/dist/nodes/WeCom/resources/mail/createMailGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/createPublicMailbox.js +8 -7
- package/dist/nodes/WeCom/resources/mail/createPublicMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/deallocateMailAdvancedAccount.js +2 -2
- package/dist/nodes/WeCom/resources/mail/deallocateMailAdvancedAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/deleteClientPassword.js +4 -3
- package/dist/nodes/WeCom/resources/mail/deleteClientPassword.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/deleteMailGroup.js +2 -2
- package/dist/nodes/WeCom/resources/mail/deleteMailGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/deletePublicMailbox.js +2 -2
- package/dist/nodes/WeCom/resources/mail/deletePublicMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getAppMailbox.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getAppMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getClientPasswordList.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getClientPasswordList.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getMailAdvancedAccountList.js +3 -4
- package/dist/nodes/WeCom/resources/mail/getMailAdvancedAccountList.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getMailContent.js +4 -2
- package/dist/nodes/WeCom/resources/mail/getMailContent.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getMailGroup.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getMailGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getMailList.js +9 -10
- package/dist/nodes/WeCom/resources/mail/getMailList.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getMailUnreadCount.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getMailUnreadCount.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getPublicMailbox.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getPublicMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/getUserMailAttribute.js +2 -2
- package/dist/nodes/WeCom/resources/mail/getUserMailAttribute.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/searchMailGroup.js +5 -6
- package/dist/nodes/WeCom/resources/mail/searchMailGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/searchPublicMailbox.js +5 -6
- package/dist/nodes/WeCom/resources/mail/searchPublicMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/sendMail.js +10 -9
- package/dist/nodes/WeCom/resources/mail/sendMail.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/sendMeetingMail.js +10 -9
- package/dist/nodes/WeCom/resources/mail/sendMeetingMail.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/sendScheduleMail.js +10 -9
- package/dist/nodes/WeCom/resources/mail/sendScheduleMail.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/toggleMailboxStatus.js +3 -4
- package/dist/nodes/WeCom/resources/mail/toggleMailboxStatus.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/updateAppMailbox.js +6 -4
- package/dist/nodes/WeCom/resources/mail/updateAppMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/updateMailGroup.js +7 -7
- package/dist/nodes/WeCom/resources/mail/updateMailGroup.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/updatePublicMailbox.js +8 -7
- package/dist/nodes/WeCom/resources/mail/updatePublicMailbox.js.map +1 -1
- package/dist/nodes/WeCom/resources/mail/updateUserMailAttribute.js +4 -3
- package/dist/nodes/WeCom/resources/mail/updateUserMailAttribute.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/getTemp.js +1 -1
- package/dist/nodes/WeCom/resources/material/getTemp.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/uploadImage.js +2 -2
- package/dist/nodes/WeCom/resources/material/uploadImage.js.map +1 -1
- package/dist/nodes/WeCom/resources/material/uploadTemp.js +1 -1
- package/dist/nodes/WeCom/resources/material/uploadTemp.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/allocateMeetingAdvancedAccount.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/allocateMeetingAdvancedAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/cancelMeeting.js +2 -2
- package/dist/nodes/WeCom/resources/meeting/cancelMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/createAdvancedMeeting.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/createAdvancedMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/createMeeting.js +17 -12
- package/dist/nodes/WeCom/resources/meeting/createMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/deallocateMeetingAdvancedAccount.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/deallocateMeetingAdvancedAccount.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/endMeeting.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/endMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getLiveParticipants.js +3 -3
- package/dist/nodes/WeCom/resources/meeting/getLiveParticipants.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getMeetingInfo.js +2 -2
- package/dist/nodes/WeCom/resources/meeting/getMeetingInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getMeetingInvitees.js +3 -3
- package/dist/nodes/WeCom/resources/meeting/getMeetingInvitees.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getMeetingRecords.js +5 -5
- package/dist/nodes/WeCom/resources/meeting/getMeetingRecords.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getParticipants.js +3 -3
- package/dist/nodes/WeCom/resources/meeting/getParticipants.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getRecordingAddress.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/getRecordingAddress.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/getUserMeetings.js +3 -3
- package/dist/nodes/WeCom/resources/meeting/getUserMeetings.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/index.js +19 -20
- package/dist/nodes/WeCom/resources/meeting/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/listRecordings.js +1 -1
- package/dist/nodes/WeCom/resources/meeting/listRecordings.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/muteMember.js +3 -3
- package/dist/nodes/WeCom/resources/meeting/muteMember.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/removeMember.js +2 -2
- package/dist/nodes/WeCom/resources/meeting/removeMember.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/updateAdvancedMeeting.js +2 -2
- package/dist/nodes/WeCom/resources/meeting/updateAdvancedMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/updateMeeting.js +14 -8
- package/dist/nodes/WeCom/resources/meeting/updateMeeting.js.map +1 -1
- package/dist/nodes/WeCom/resources/meeting/updateMeetingInvitees.js +2 -2
- package/dist/nodes/WeCom/resources/meeting/updateMeetingInvitees.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/getApplicationDetail.js +2 -2
- package/dist/nodes/WeCom/resources/meetingroom/getApplicationDetail.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/getApplicationList.js +7 -8
- package/dist/nodes/WeCom/resources/meetingroom/getApplicationList.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/index.js +5 -5
- package/dist/nodes/WeCom/resources/meetingroom/index.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/manageBooking.js +3 -4
- package/dist/nodes/WeCom/resources/meetingroom/manageBooking.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/manageMeetingroom.js +3 -4
- package/dist/nodes/WeCom/resources/meetingroom/manageMeetingroom.js.map +1 -1
- package/dist/nodes/WeCom/resources/meetingroom/setApprovalInfo.js +5 -6
- package/dist/nodes/WeCom/resources/meetingroom/setApprovalInfo.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/commonFields.js +22 -11
- package/dist/nodes/WeCom/resources/message/commonFields.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/recallMessage.js +3 -1
- package/dist/nodes/WeCom/resources/message/recallMessage.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendFile.js +8 -4
- package/dist/nodes/WeCom/resources/message/sendFile.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendImage.js +8 -4
- package/dist/nodes/WeCom/resources/message/sendImage.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendMarkdown.js +2 -1
- package/dist/nodes/WeCom/resources/message/sendMarkdown.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendMiniprogramNotice.js +30 -13
- package/dist/nodes/WeCom/resources/message/sendMiniprogramNotice.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendMpNews.js +30 -23
- package/dist/nodes/WeCom/resources/message/sendMpNews.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendNews.js +12 -8
- package/dist/nodes/WeCom/resources/message/sendNews.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js +23 -10
- package/dist/nodes/WeCom/resources/message/sendSchoolNotice.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTaskCard.js +38 -20
- package/dist/nodes/WeCom/resources/message/sendTaskCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js +55 -22
- package/dist/nodes/WeCom/resources/message/sendTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendText.js +12 -6
- package/dist/nodes/WeCom/resources/message/sendText.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendTextCard.js +11 -7
- package/dist/nodes/WeCom/resources/message/sendTextCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendVideo.js +24 -16
- package/dist/nodes/WeCom/resources/message/sendVideo.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/sendVoice.js +20 -14
- package/dist/nodes/WeCom/resources/message/sendVoice.js.map +1 -1
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js +50 -20
- package/dist/nodes/WeCom/resources/message/updateTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendFile.js +3 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendFile.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendImage.js +7 -5
- package/dist/nodes/WeCom/resources/pushMessage/sendImage.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendMarkdown.js +3 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendMarkdown.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendMarkdownV2.js +3 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendMarkdownV2.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendNews.js +12 -8
- package/dist/nodes/WeCom/resources/pushMessage/sendNews.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js +52 -32
- package/dist/nodes/WeCom/resources/pushMessage/sendTemplateCard.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendText.js +3 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendText.js.map +1 -1
- package/dist/nodes/WeCom/resources/pushMessage/sendVoice.js +3 -2
- package/dist/nodes/WeCom/resources/pushMessage/sendVoice.js.map +1 -1
- package/dist/nodes/WeCom/resources/wefile/createSpace.js +2 -2
- package/dist/nodes/WeCom/resources/wefile/createSpace.js.map +1 -1
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js +4 -4
- package/dist/nodes/WeCom/resources/wefile/uploadFile.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +74 -74
|
@@ -21,55 +21,62 @@ exports.sendMpNewsDescription = [
|
|
|
21
21
|
displayOptions: {
|
|
22
22
|
show: showOnlySendMpNews,
|
|
23
23
|
},
|
|
24
|
-
description: 'Mpnews类型的图文消息,一个图文消息支持1到8
|
|
24
|
+
description: 'Mpnews类型的图文消息,一个图文消息支持1到8条图文。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
25
25
|
options: [
|
|
26
26
|
{
|
|
27
27
|
displayName: '图文',
|
|
28
28
|
name: 'article',
|
|
29
29
|
values: [
|
|
30
30
|
{
|
|
31
|
-
displayName: '
|
|
32
|
-
name: '
|
|
31
|
+
displayName: '作者',
|
|
32
|
+
name: 'author',
|
|
33
33
|
type: 'string',
|
|
34
|
-
required: true,
|
|
35
34
|
default: '',
|
|
36
|
-
|
|
35
|
+
placeholder: '请输入作者名称',
|
|
36
|
+
description: '可选。图文消息的作者,不超过64个字节。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
|
-
displayName: '
|
|
40
|
-
name: '
|
|
39
|
+
displayName: '图文消息的内容',
|
|
40
|
+
name: 'content',
|
|
41
41
|
type: 'string',
|
|
42
|
+
required: true,
|
|
42
43
|
default: '',
|
|
43
|
-
|
|
44
|
+
placeholder: '请输入图文内容(支持HTML)',
|
|
45
|
+
description: '图文消息的内容,支持html标签,不超过666 K个字节。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
44
46
|
},
|
|
45
47
|
{
|
|
46
|
-
displayName: '
|
|
47
|
-
name: '
|
|
48
|
+
displayName: '图文消息的描述',
|
|
49
|
+
name: 'digest',
|
|
48
50
|
type: 'string',
|
|
49
|
-
required: true,
|
|
50
51
|
default: '',
|
|
51
|
-
|
|
52
|
+
placeholder: '请输入图文摘要',
|
|
53
|
+
description: '可选。图文消息的描述,不超过512个字节,超过会自动截断。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
52
54
|
},
|
|
53
55
|
{
|
|
54
|
-
displayName: '
|
|
55
|
-
name: '
|
|
56
|
+
displayName: '标题',
|
|
57
|
+
name: 'title',
|
|
56
58
|
type: 'string',
|
|
59
|
+
required: true,
|
|
57
60
|
default: '',
|
|
61
|
+
placeholder: '请输入图文标题',
|
|
62
|
+
description: '标题,不超过128个字节,超过会自动截断。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
58
63
|
},
|
|
59
64
|
{
|
|
60
|
-
displayName: '
|
|
65
|
+
displayName: '缩略图Media ID',
|
|
61
66
|
name: 'thumb_media_ID',
|
|
62
67
|
type: 'string',
|
|
63
68
|
required: true,
|
|
64
69
|
default: '',
|
|
65
|
-
|
|
70
|
+
placeholder: '请输入缩略图的Media ID',
|
|
71
|
+
description: '图文消息缩略图的media_ID,可以在上传多媒体文件接口中获得。此处thumb_media_ID即上传接口返回的media_ID。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
66
72
|
},
|
|
67
73
|
{
|
|
68
|
-
displayName: '
|
|
69
|
-
name: '
|
|
74
|
+
displayName: '阅读原文链接',
|
|
75
|
+
name: 'content_source_url',
|
|
70
76
|
type: 'string',
|
|
71
77
|
default: '',
|
|
72
|
-
|
|
78
|
+
placeholder: 'https://example.com',
|
|
79
|
+
description: '可选。图文消息点击"阅读原文"之后的页面链接。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
73
80
|
},
|
|
74
81
|
],
|
|
75
82
|
},
|
|
@@ -84,7 +91,7 @@ exports.sendMpNewsDescription = [
|
|
|
84
91
|
show: showOnlySendMpNews,
|
|
85
92
|
},
|
|
86
93
|
hint: '保密消息,开启后消息不可转发、复制等',
|
|
87
|
-
description: '
|
|
94
|
+
description: '可选。表示是否是保密消息,0表示可对外分享,1表示不能分享且内容显示水印,默认为0。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
88
95
|
},
|
|
89
96
|
{
|
|
90
97
|
displayName: '是否开启ID转译',
|
|
@@ -95,7 +102,7 @@ exports.sendMpNewsDescription = [
|
|
|
95
102
|
show: showOnlySendMpNews,
|
|
96
103
|
},
|
|
97
104
|
hint: '开启后会将消息中的userid转为@对应成员',
|
|
98
|
-
description: '
|
|
105
|
+
description: '可选。表示是否开启ID转译,0表示否,1表示是,默认0。开启后会将消息中的userid转为@对应成员显示。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
99
106
|
},
|
|
100
107
|
{
|
|
101
108
|
displayName: '是否开启重复消息检查',
|
|
@@ -106,7 +113,7 @@ exports.sendMpNewsDescription = [
|
|
|
106
113
|
show: showOnlySendMpNews,
|
|
107
114
|
},
|
|
108
115
|
hint: '开启后在时间间隔内相同内容的消息不会重复发送',
|
|
109
|
-
description: '
|
|
116
|
+
description: '可选。表示是否开启重复消息检查,0表示否,1表示是,默认0。开启后相同内容的消息在时间间隔内不会重复发送。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
110
117
|
},
|
|
111
118
|
{
|
|
112
119
|
displayName: '重复消息检查时间',
|
|
@@ -119,7 +126,7 @@ exports.sendMpNewsDescription = [
|
|
|
119
126
|
enable_duplicate_check: [true],
|
|
120
127
|
},
|
|
121
128
|
},
|
|
122
|
-
description: '
|
|
129
|
+
description: '可选。表示是否重复消息检查的时间间隔,默认1800s,最大不超过4小时。<a href="https://developer.work.weixin.qq.com/document/path/90236#mpnews消息" target="_blank">官方文档</a>',
|
|
123
130
|
},
|
|
124
131
|
];
|
|
125
132
|
//# sourceMappingURL=sendMpNews.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendMpNews.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendMpNews.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AAEpD,MAAM,kBAAkB,GAAG;IAC1B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,YAAY,CAAC;CACzB,CAAC;AAEW,QAAA,qBAAqB,GAAsB;IACvD,GAAG,IAAA,iCAAkB,EAAC,YAAY,CAAC;IACnC;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE;YACf,IAAI,EAAE,kBAAkB;SACxB;QACD,WAAW,
|
|
1
|
+
{"version":3,"file":"sendMpNews.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendMpNews.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AAEpD,MAAM,kBAAkB,GAA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,EACV,0IAA0I;KAC3I;CACD,CAAC"}
|
|
@@ -21,7 +21,7 @@ exports.sendNewsDescription = [
|
|
|
21
21
|
displayOptions: {
|
|
22
22
|
show: showOnlySendNews,
|
|
23
23
|
},
|
|
24
|
-
description: '图文消息,一个图文消息支持1到8
|
|
24
|
+
description: '图文消息,一个图文消息支持1到8条图文。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
25
25
|
options: [
|
|
26
26
|
{
|
|
27
27
|
displayName: '图文',
|
|
@@ -33,7 +33,8 @@ exports.sendNewsDescription = [
|
|
|
33
33
|
type: 'string',
|
|
34
34
|
required: true,
|
|
35
35
|
default: '',
|
|
36
|
-
|
|
36
|
+
placeholder: '请输入图文标题',
|
|
37
|
+
description: '标题,不超过128个字节,超过会自动截断。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
37
38
|
},
|
|
38
39
|
{
|
|
39
40
|
displayName: '描述',
|
|
@@ -43,7 +44,8 @@ exports.sendNewsDescription = [
|
|
|
43
44
|
rows: 2,
|
|
44
45
|
},
|
|
45
46
|
default: '',
|
|
46
|
-
|
|
47
|
+
placeholder: '请输入图文描述',
|
|
48
|
+
description: '可选。描述,不超过512个字节,超过会自动截断。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
47
49
|
},
|
|
48
50
|
{
|
|
49
51
|
displayName: '跳转链接',
|
|
@@ -51,14 +53,16 @@ exports.sendNewsDescription = [
|
|
|
51
53
|
type: 'string',
|
|
52
54
|
required: true,
|
|
53
55
|
default: '',
|
|
54
|
-
|
|
56
|
+
placeholder: 'https://example.com',
|
|
57
|
+
description: '点击后跳转的链接。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
55
58
|
},
|
|
56
59
|
{
|
|
57
60
|
displayName: '图片链接',
|
|
58
61
|
name: 'picurl',
|
|
59
62
|
type: 'string',
|
|
60
63
|
default: '',
|
|
61
|
-
|
|
64
|
+
placeholder: 'https://example.com/image.jpg',
|
|
65
|
+
description: '可选。图文消息的图片链接,支持JPG、PNG格式,较好的效果为大图 1068*455,小图150*150。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
62
66
|
},
|
|
63
67
|
],
|
|
64
68
|
},
|
|
@@ -73,7 +77,7 @@ exports.sendNewsDescription = [
|
|
|
73
77
|
show: showOnlySendNews,
|
|
74
78
|
},
|
|
75
79
|
hint: '开启后会将消息中的userid转为@对应成员',
|
|
76
|
-
description: '
|
|
80
|
+
description: '可选。表示是否开启ID转译,0表示否,1表示是,默认0。开启后会将消息中的userid转为@对应成员显示。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
77
81
|
},
|
|
78
82
|
{
|
|
79
83
|
displayName: '是否开启重复消息检查',
|
|
@@ -84,7 +88,7 @@ exports.sendNewsDescription = [
|
|
|
84
88
|
show: showOnlySendNews,
|
|
85
89
|
},
|
|
86
90
|
hint: '开启后在时间间隔内相同内容的消息不会重复发送',
|
|
87
|
-
description: '
|
|
91
|
+
description: '可选。表示是否开启重复消息检查,0表示否,1表示是,默认0。开启后相同内容的消息在时间间隔内不会重复发送。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
88
92
|
},
|
|
89
93
|
{
|
|
90
94
|
displayName: '重复消息检查时间',
|
|
@@ -97,7 +101,7 @@ exports.sendNewsDescription = [
|
|
|
97
101
|
enable_duplicate_check: [true],
|
|
98
102
|
},
|
|
99
103
|
},
|
|
100
|
-
description: '
|
|
104
|
+
description: '可选。表示是否重复消息检查的时间间隔,默认1800s,最大不超过4小时。<a href="https://developer.work.weixin.qq.com/document/path/90236#图文消息" target="_blank">官方文档</a>',
|
|
101
105
|
},
|
|
102
106
|
];
|
|
103
107
|
//# sourceMappingURL=sendNews.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendNews.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendNews.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AAEpD,MAAM,gBAAgB,GAAG;IACxB,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,UAAU,CAAC;CACvB,CAAC;AAEW,QAAA,mBAAmB,GAAsB;IACrD,GAAG,IAAA,iCAAkB,EAAC,UAAU,CAAC;IACjC;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE;YACf,IAAI,EAAE,gBAAgB;SACtB;QACD,WAAW,
|
|
1
|
+
{"version":3,"file":"sendNews.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendNews.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AAEpD,MAAM,gBAAgB,GAAG;IACxB,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,UAAU,CAAC;CACvB,CAAC;AAEW,QAAA,mBAAmB,GAAsB;IACrD,GAAG,IAAA,iCAAkB,EAAC,UAAU,CAAC;IACjC;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,WAAW,EAAE;YACZ,cAAc,EAAE,IAAI;SACpB;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE;YACf,IAAI,EAAE,gBAAgB;SACtB;QACD,WAAW,EACV,sHAAsH;QACvH,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,IAAI;gBACjB,IAAI,EAAE,SAAS;gBACf,MAAM,EAAE;oBACP;wBACC,WAAW,EA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A0B;QAChC,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,IAAI;QACb,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,gBAAgB;gBACnB,sBAAsB,EAAE,CAAC,IAAI,CAAC;aAC9B;SACD;QACD,WAAW,EACV,sIAAsI;KACvI;CACD,CAAC"}
|
|
@@ -14,7 +14,8 @@ exports.sendSchoolNoticeDescription = [
|
|
|
14
14
|
show: showOnlyForSchoolNotice,
|
|
15
15
|
},
|
|
16
16
|
default: '',
|
|
17
|
-
|
|
17
|
+
placeholder: 'user1|user2|user3 或 @all',
|
|
18
|
+
description: '可选。指定接收消息的成员,成员ID列表(多个接收者用|分隔,最多支持1000个)。特殊情况:指定为@all,则向该企业应用的全部成员发送。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
18
19
|
hint: '成员ID列表,用|分隔',
|
|
19
20
|
},
|
|
20
21
|
{
|
|
@@ -25,7 +26,8 @@ exports.sendSchoolNoticeDescription = [
|
|
|
25
26
|
show: showOnlyForSchoolNotice,
|
|
26
27
|
},
|
|
27
28
|
default: '',
|
|
28
|
-
|
|
29
|
+
placeholder: '1|2|3',
|
|
30
|
+
description: '可选。指定接收消息的部门,部门ID列表,多个接收者用|分隔,最多支持100个。当touser为@all时忽略本参数。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
29
31
|
hint: '部门ID列表,用|分隔',
|
|
30
32
|
},
|
|
31
33
|
{
|
|
@@ -36,7 +38,8 @@ exports.sendSchoolNoticeDescription = [
|
|
|
36
38
|
show: showOnlyForSchoolNotice,
|
|
37
39
|
},
|
|
38
40
|
default: '',
|
|
39
|
-
|
|
41
|
+
placeholder: 'tag1|tag2',
|
|
42
|
+
description: '可选。指定接收消息的标签,标签ID列表,多个接收者用|分隔,最多支持100个。当touser为@all时忽略本参数。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
40
43
|
hint: '标签ID列表,用|分隔',
|
|
41
44
|
},
|
|
42
45
|
{
|
|
@@ -48,20 +51,25 @@ exports.sendSchoolNoticeDescription = [
|
|
|
48
51
|
show: showOnlyForSchoolNotice,
|
|
49
52
|
},
|
|
50
53
|
default: '',
|
|
51
|
-
|
|
52
|
-
|
|
54
|
+
placeholder: '请输入通知标题',
|
|
55
|
+
description: '消息标题,最多64个字节。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
56
|
+
hint: '最多64个字节',
|
|
53
57
|
},
|
|
54
58
|
{
|
|
55
59
|
displayName: '消息内容',
|
|
56
60
|
name: 'description',
|
|
57
61
|
type: 'string',
|
|
62
|
+
typeOptions: {
|
|
63
|
+
rows: 4,
|
|
64
|
+
},
|
|
58
65
|
required: true,
|
|
59
66
|
displayOptions: {
|
|
60
67
|
show: showOnlyForSchoolNotice,
|
|
61
68
|
},
|
|
62
69
|
default: '',
|
|
63
|
-
|
|
64
|
-
|
|
70
|
+
placeholder: '请输入通知内容',
|
|
71
|
+
description: '消息内容,最多600个字节。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
72
|
+
hint: '最多600个字节',
|
|
65
73
|
},
|
|
66
74
|
{
|
|
67
75
|
displayName: '点击后跳转的链接',
|
|
@@ -71,7 +79,8 @@ exports.sendSchoolNoticeDescription = [
|
|
|
71
79
|
show: showOnlyForSchoolNotice,
|
|
72
80
|
},
|
|
73
81
|
default: '',
|
|
74
|
-
|
|
82
|
+
placeholder: 'https://example.com',
|
|
83
|
+
description: '可选。点击后跳转的链接。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
75
84
|
hint: '跳转链接',
|
|
76
85
|
},
|
|
77
86
|
{
|
|
@@ -82,18 +91,22 @@ exports.sendSchoolNoticeDescription = [
|
|
|
82
91
|
show: showOnlyForSchoolNotice,
|
|
83
92
|
},
|
|
84
93
|
default: false,
|
|
85
|
-
description: '
|
|
94
|
+
description: '可选。是否放大第一个card样式。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
86
95
|
hint: '是否放大第一项',
|
|
87
96
|
},
|
|
88
97
|
{
|
|
89
98
|
displayName: '内容区域',
|
|
90
99
|
name: 'content_item',
|
|
91
100
|
type: 'json',
|
|
101
|
+
typeOptions: {
|
|
102
|
+
rows: 4,
|
|
103
|
+
},
|
|
92
104
|
displayOptions: {
|
|
93
105
|
show: showOnlyForSchoolNotice,
|
|
94
106
|
},
|
|
95
107
|
default: '[]',
|
|
96
|
-
|
|
108
|
+
placeholder: '[{"key": "课程", "value": "数学"}, {"key": "时间", "value": "9:00-10:00"}]',
|
|
109
|
+
description: '可选。内容区,card_action和content_item至少要有一个,JSON数组格式。<a href="https://developer.work.weixin.qq.com/document/path/91609" target="_blank">官方文档</a>',
|
|
97
110
|
hint: '内容项JSON数组',
|
|
98
111
|
},
|
|
99
112
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendSchoolNotice.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendSchoolNotice.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,MAAM;QACnB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"sendSchoolNotice.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendSchoolNotice.ts"],"names":[],"mappings":";;;AAEA,MAAM,uBAAuB,GAAG;IAC/B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,kBAAkB,CAA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AAW,EACV,2GAA2G;QAC5G,IAAI,EAAE,UAAU;KAChB;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qBAAqB;QAClC,WAAW,EACV,yGAAyG;QAC1G,IAAI,EAAE,MAAM;KACZ;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EACV,8GAA8G;QAC/G,IAAI,EAAE,SAAS;KACf;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,cAAc,EAAE;YACf,IAAI,EAAE,uBAAuB;SAC7B;QACD,OAAO,EAAE,IAAI;QACb,WAAW,EAAE,sEAAsE;QACnF,WAAW,EACV,4IAA4I;QAC7I,IAAI,EAAE,WAAW;KACjB;CACD,CAAC"}
|
|
@@ -14,10 +14,12 @@ exports.sendTaskCardDescription = [
|
|
|
14
14
|
type: 'string',
|
|
15
15
|
required: true,
|
|
16
16
|
default: '',
|
|
17
|
+
placeholder: '请输入标题',
|
|
17
18
|
displayOptions: {
|
|
18
19
|
show: showOnlySendTaskCard,
|
|
19
20
|
},
|
|
20
|
-
|
|
21
|
+
hint: '不超过128个字节',
|
|
22
|
+
description: '标题,不超过128个字节,超过会自动截断(支持ID转译)。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
21
23
|
},
|
|
22
24
|
{
|
|
23
25
|
displayName: '描述',
|
|
@@ -28,20 +30,24 @@ exports.sendTaskCardDescription = [
|
|
|
28
30
|
},
|
|
29
31
|
required: true,
|
|
30
32
|
default: '',
|
|
33
|
+
placeholder: '请输入描述',
|
|
31
34
|
displayOptions: {
|
|
32
35
|
show: showOnlySendTaskCard,
|
|
33
36
|
},
|
|
34
|
-
|
|
37
|
+
hint: '不超过512个字节',
|
|
38
|
+
description: '描述,不超过512个字节,超过会自动截断(支持ID转译)。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
35
39
|
},
|
|
36
40
|
{
|
|
37
41
|
displayName: '跳转链接',
|
|
38
42
|
name: 'url',
|
|
39
43
|
type: 'string',
|
|
40
44
|
default: '',
|
|
45
|
+
placeholder: 'https://example.com',
|
|
41
46
|
displayOptions: {
|
|
42
47
|
show: showOnlySendTaskCard,
|
|
43
48
|
},
|
|
44
|
-
|
|
49
|
+
hint: '小程序或者URL必须填写一个',
|
|
50
|
+
description: '可选。点击后跳转的链接。最长2048字节,请确保包含了协议头(http/https)。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
45
51
|
},
|
|
46
52
|
{
|
|
47
53
|
displayName: '任务ID',
|
|
@@ -49,10 +55,12 @@ exports.sendTaskCardDescription = [
|
|
|
49
55
|
type: 'string',
|
|
50
56
|
required: true,
|
|
51
57
|
default: '',
|
|
58
|
+
placeholder: 'task_001',
|
|
52
59
|
displayOptions: {
|
|
53
60
|
show: showOnlySendTaskCard,
|
|
54
61
|
},
|
|
55
|
-
|
|
62
|
+
hint: '只能由数字、字母和"_-@"组成,最长128字节',
|
|
63
|
+
description: '任务 ID,同一个应用发送的任务卡片消息的任务 ID 不能重复。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
56
64
|
},
|
|
57
65
|
{
|
|
58
66
|
displayName: '按钮列表',
|
|
@@ -67,18 +75,30 @@ exports.sendTaskCardDescription = [
|
|
|
67
75
|
displayOptions: {
|
|
68
76
|
show: showOnlySendTaskCard,
|
|
69
77
|
},
|
|
70
|
-
description: '按钮列表,按钮个数为1~2
|
|
78
|
+
description: '按钮列表,按钮个数为1~2个。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
71
79
|
options: [
|
|
72
80
|
{
|
|
73
81
|
displayName: '按钮',
|
|
74
82
|
name: 'button',
|
|
75
83
|
values: [
|
|
84
|
+
{
|
|
85
|
+
displayName: '按钮Key值',
|
|
86
|
+
name: 'key',
|
|
87
|
+
type: 'string',
|
|
88
|
+
required: true,
|
|
89
|
+
default: '',
|
|
90
|
+
placeholder: 'btn_agree',
|
|
91
|
+
hint: '只能由数字、字母和\'_-@\'组成,最长128字节',
|
|
92
|
+
description: '按钮key值,用户点击后,会产生任务卡片回调事件,回调事件会将本参数作为EventKey返回。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
93
|
+
},
|
|
76
94
|
{
|
|
77
95
|
displayName: '按钮名称',
|
|
78
96
|
name: 'name',
|
|
79
97
|
type: 'string',
|
|
80
98
|
required: true,
|
|
81
99
|
default: '',
|
|
100
|
+
placeholder: '同意',
|
|
101
|
+
description: '按钮显示的名称。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
82
102
|
},
|
|
83
103
|
{
|
|
84
104
|
displayName: '按钮字体是否加粗',
|
|
@@ -86,7 +106,7 @@ exports.sendTaskCardDescription = [
|
|
|
86
106
|
type: 'boolean',
|
|
87
107
|
default: false,
|
|
88
108
|
hint: '按钮字体加粗,默认为否',
|
|
89
|
-
description: '
|
|
109
|
+
description: '可选。按钮字体是否加粗。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
90
110
|
},
|
|
91
111
|
{
|
|
92
112
|
displayName: '按钮字体颜色',
|
|
@@ -103,22 +123,15 @@ exports.sendTaskCardDescription = [
|
|
|
103
123
|
},
|
|
104
124
|
],
|
|
105
125
|
default: 'blue',
|
|
106
|
-
description: '
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
displayName: '按钮Key值',
|
|
110
|
-
name: 'key',
|
|
111
|
-
type: 'string',
|
|
112
|
-
required: true,
|
|
113
|
-
default: '',
|
|
114
|
-
description: '按钮key值,用户点击后,会产生任务卡片回调事件,回调事件会将本参数作为EventKey返回,只能由数字、字母和\'_-@\'组成,最长支持128字节',
|
|
126
|
+
description: '可选。按钮字体颜色,可选red或者blue,默认为blue。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
115
127
|
},
|
|
116
128
|
{
|
|
117
129
|
displayName: '点击按钮后替换文案',
|
|
118
130
|
name: 'replace_name',
|
|
119
131
|
type: 'string',
|
|
120
132
|
default: '',
|
|
121
|
-
|
|
133
|
+
placeholder: '已同意',
|
|
134
|
+
description: '可选。点击按钮后显示的名称,默认为\'已处理\'。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
122
135
|
},
|
|
123
136
|
],
|
|
124
137
|
},
|
|
@@ -133,7 +146,7 @@ exports.sendTaskCardDescription = [
|
|
|
133
146
|
show: showOnlySendTaskCard,
|
|
134
147
|
},
|
|
135
148
|
hint: '开启后会将消息中的userid转为@对应成员',
|
|
136
|
-
description: '
|
|
149
|
+
description: '可选。表示是否开启ID转译,0表示否,1表示是,默认0。开启后,消息中的userid会转译为@对应成员。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
137
150
|
},
|
|
138
151
|
{
|
|
139
152
|
displayName: '是否开启重复消息检查',
|
|
@@ -144,10 +157,10 @@ exports.sendTaskCardDescription = [
|
|
|
144
157
|
show: showOnlySendTaskCard,
|
|
145
158
|
},
|
|
146
159
|
hint: '开启后在时间间隔内相同内容的消息不会重复发送',
|
|
147
|
-
description: '
|
|
160
|
+
description: '可选。表示是否开启重复消息检查,0表示否,1表示是,默认0。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
148
161
|
},
|
|
149
162
|
{
|
|
150
|
-
displayName: '
|
|
163
|
+
displayName: '重复消息检查时间间隔',
|
|
151
164
|
name: 'duplicate_check_interval',
|
|
152
165
|
type: 'number',
|
|
153
166
|
default: 1800,
|
|
@@ -157,7 +170,12 @@ exports.sendTaskCardDescription = [
|
|
|
157
170
|
enable_duplicate_check: [true],
|
|
158
171
|
},
|
|
159
172
|
},
|
|
160
|
-
|
|
173
|
+
typeOptions: {
|
|
174
|
+
minValue: 0,
|
|
175
|
+
maxValue: 14400,
|
|
176
|
+
},
|
|
177
|
+
hint: '默认1800秒,最大不超过4小时(14400秒)',
|
|
178
|
+
description: '可选。表示是否重复消息检查的时间间隔,默认1800秒,最大不超过4小时。<a href="https://developer.work.weixin.qq.com/document/path/90236#任务卡片消息" target="_blank">官方文档</a>',
|
|
161
179
|
},
|
|
162
180
|
];
|
|
163
181
|
//# sourceMappingURL=sendTaskCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sendTaskCard.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendTaskCard.ts"],"names":[],"mappings":";;;AACA,iDAAoD;AAEpD,MAAM,oBAAoB,GAAG;IAC5B,QAAQ,EAAE,CAAC,SAAS,CAAC;IACrB,SAAS,EAAE,CAAC,cAAc,CAAC;CAC3B,CAAC;AAEW,QAAA,uBAAuB,GAAsB;IACzD,GAAG,IAAA,iCAAkB,EAAC,cAAc,CAAC;IACrC;QACC,WAAW,EAAE,IAAI;QACjB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE,oBAAoB;SAC1B;QACD,
|
|
1
|
+
{"version":3,"file":"sendTaskCard.js","sourceRoot":"","sources":["../../../../../nodes/WeCom/resources/message/sendTask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