n8n-nodes-base 1.66.0 → 1.68.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/dist/build.tsbuildinfo +1 -1
- package/dist/credentials/IntercomApi.credentials.d.ts +3 -1
- package/dist/credentials/IntercomApi.credentials.js +16 -0
- package/dist/credentials/IntercomApi.credentials.js.map +1 -1
- package/dist/credentials/OuraApi.credentials.d.ts +3 -1
- package/dist/credentials/OuraApi.credentials.js +14 -0
- package/dist/credentials/OuraApi.credentials.js.map +1 -1
- package/dist/credentials/Rapid7InsightVmApi.credentials.d.ts +18 -0
- package/dist/credentials/Rapid7InsightVmApi.credentials.js +54 -0
- package/dist/credentials/Rapid7InsightVmApi.credentials.js.map +1 -0
- package/dist/credentials/icons/Rapid7InsightVm.svg +14 -0
- package/dist/known/credentials.json +4 -0
- package/dist/nodes/AiTransform/AiTransform.node.js +17 -15
- package/dist/nodes/AiTransform/AiTransform.node.js.map +1 -1
- package/dist/nodes/Airtable/v2/actions/base/getMany.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/base/getSchema.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/create.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/deleteRecord.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/get.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/search.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/update.operation.d.ts +1 -0
- package/dist/nodes/Airtable/v2/actions/record/upsert.operation.d.ts +1 -0
- package/dist/nodes/Code/Code.node.js +1 -1
- package/dist/nodes/Code/Code.node.js.map +1 -1
- package/dist/nodes/Discord/v2/actions/channel/create.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/channel/deleteChannel.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/channel/get.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/channel/getAll.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/channel/update.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/member/getAll.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/member/roleAdd.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/member/roleRemove.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/message/deleteMessage.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/message/get.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/message/getAll.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/message/react.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/message/send.operation.d.ts +1 -0
- package/dist/nodes/Discord/v2/actions/webhook/sendLegacy.operation.d.ts +1 -0
- package/dist/nodes/EditImage/EditImage.node.js +12 -11
- package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
- package/dist/nodes/EmailSend/v2/send.operation.d.ts +1 -0
- package/dist/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.js +4 -1
- package/dist/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.js.map +1 -1
- package/dist/nodes/FacebookLeadAds/GenericFunctions.js +3 -3
- package/dist/nodes/Files/ConvertToFile/actions/spreadsheet.operation.d.ts +1 -0
- package/dist/nodes/Files/ConvertToFile/actions/spreadsheet.operation.js +12 -0
- package/dist/nodes/Files/ConvertToFile/actions/spreadsheet.operation.js.map +1 -1
- package/dist/nodes/Files/ConvertToFile/actions/toBinary.operation.d.ts +1 -0
- package/dist/nodes/Files/ConvertToFile/actions/toJson.operation.d.ts +1 -0
- package/dist/nodes/Files/ConvertToFile/actions/toText.operation.d.ts +1 -0
- package/dist/nodes/Files/ConvertToFile/test/toText.workflow.json +253 -95
- package/dist/nodes/Files/ExtractFromFile/actions/moveTo.operation.d.ts +1 -0
- package/dist/nodes/Files/ExtractFromFile/actions/pdf.operation.d.ts +1 -0
- package/dist/nodes/Files/ReadWriteFile/actions/read.operation.d.ts +1 -0
- package/dist/nodes/Files/ReadWriteFile/actions/write.operation.d.ts +1 -0
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.d.ts +1 -0
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.d.ts +1 -0
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.js +1 -0
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Google/CloudStorage/BucketDescription.js +1 -1
- package/dist/nodes/Google/CloudStorage/BucketDescription.js.map +1 -1
- package/dist/nodes/Google/Drive/test/v2/node/helpers.d.ts +2 -0
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js +19 -0
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js.map +1 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js +4 -6
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js.map +1 -1
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.js +17 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +28 -3
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/Intercom/GenericFunctions.js +2 -5
- package/dist/nodes/Intercom/GenericFunctions.js.map +1 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/append.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/chooseBranch.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/combineAll.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/combineByFields.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/combineByPosition.d.ts +1 -0
- package/dist/nodes/Merge/v3/actions/mode/combineBySql.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/addTable.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/append.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/convertToRange.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/deleteTable.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getColumns.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getRows.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/table/lookup.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/addWorksheet.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/deleteWorkbook.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/append.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/clear.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/deleteWorksheet.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/readRows.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/upsert.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/calendar/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/calendar/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/calendar/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/calendar/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/calendar/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/contact/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/contact/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/contact/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/contact/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/contact/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/draft/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/draft/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/draft/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/draft/send.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/draft/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/event/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/event/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/event/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/event/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/event/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folder/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folder/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folder/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folder/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folder/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/folderMessage/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/delete.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/move.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/reply.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/send.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/message/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/messageAttachment/add.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/messageAttachment/download.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/messageAttachment/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/messageAttachment/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/deleteChannel.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/update.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/task/create.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/task/deleteTask.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/task/get.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/task/update.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/deleteTable.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/insert.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/select.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/update.operation.d.ts +1 -0
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.d.ts +1 -0
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts +1 -0
- package/dist/nodes/Notion/shared/GenericFunctions.js +32 -12
- package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
- package/dist/nodes/Notion/v2/NotionV2.node.js +4 -4
- package/dist/nodes/Notion/v2/NotionV2.node.js.map +1 -1
- package/dist/nodes/Oura/GenericFunctions.js +2 -6
- package/dist/nodes/Oura/GenericFunctions.js.map +1 -1
- package/dist/nodes/Oura/Oura.node.js +47 -38
- package/dist/nodes/Oura/Oura.node.js.map +1 -1
- package/dist/nodes/Oura/test/apiResponses.d.ts +8 -0
- package/dist/nodes/Oura/test/apiResponses.js +12 -0
- package/dist/nodes/Oura/test/apiResponses.js.map +1 -0
- package/dist/nodes/Oura/test/oura_test_workflow.json +86 -0
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.d.ts +1 -0
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.d.ts +1 -0
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.d.ts +1 -0
- package/dist/nodes/Postgres/v2/actions/database/select.operation.d.ts +1 -0
- package/dist/nodes/Postgres/v2/actions/database/update.operation.d.ts +1 -0
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.d.ts +1 -0
- package/dist/nodes/Set/v2/manual.mode.d.ts +1 -0
- package/dist/nodes/Set/v2/raw.mode.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/alert/getMetrics.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/alert/getReport.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/report/create.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/report/deleteReport.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/report/get.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/report/getAll.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/search/create.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/search/deleteJob.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/search/get.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/search/getAll.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/search/getResult.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/user/create.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/user/deleteUser.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/user/get.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts +1 -0
- package/dist/nodes/Splunk/v2/actions/user/update.operation.d.ts +1 -0
- package/dist/nodes/Supabase/Supabase.node.js +3 -6
- package/dist/nodes/Supabase/Supabase.node.js.map +1 -1
- package/dist/nodes/TheHiveProject/actions/alert/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/deleteAlert.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/executeResponder.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/get.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/merge.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/promote.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/status.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/alert/update.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/addAttachment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/deleteAttachment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/deleteCase.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/executeResponder.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/get.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/getAttachment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/getTimeline.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/case/update.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/comment/add.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/comment/deleteComment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/comment/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/comment/update.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/addAttachment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/deleteAttachment.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/deleteLog.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/executeResponder.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/get.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/log/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/deleteObservable.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/executeAnalyzer.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/executeResponder.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/get.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/observable/update.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/page/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/page/deletePage.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/page/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/page/update.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/query/executeQuery.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/create.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/deleteTask.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/executeResponder.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/get.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/search.operation.d.ts +1 -0
- package/dist/nodes/TheHiveProject/actions/task/update.operation.d.ts +1 -0
- package/dist/nodes/Webflow/V2/actions/Item/create.operation.d.ts +1 -0
- package/dist/nodes/Webflow/V2/actions/Item/delete.operation.d.ts +1 -0
- package/dist/nodes/Webflow/V2/actions/Item/get.operation.d.ts +1 -0
- package/dist/nodes/Webflow/V2/actions/Item/getAll.operation.d.ts +1 -0
- package/dist/nodes/Webflow/V2/actions/Item/update.operation.d.ts +1 -0
- package/dist/types/credentials.json +3 -2
- package/dist/types/nodes.json +7 -7
- package/dist/utils/binary.d.ts +1 -0
- package/dist/utils/binary.js +3 -0
- package/dist/utils/binary.js.map +1 -1
- package/dist/utils/sendAndWait/utils.d.ts +1 -0
- package/dist/utils/utilities.d.ts +1 -0
- package/package.json +5 -4
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare class IntercomApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
6
|
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
7
9
|
}
|
|
@@ -15,6 +15,22 @@ class IntercomApi {
|
|
|
15
15
|
default: '',
|
|
16
16
|
},
|
|
17
17
|
];
|
|
18
|
+
this.authenticate = {
|
|
19
|
+
type: 'generic',
|
|
20
|
+
properties: {
|
|
21
|
+
headers: {
|
|
22
|
+
Authorization: '=Bearer {{$credentials.apiKey}}',
|
|
23
|
+
Accept: 'application/json',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
this.test = {
|
|
28
|
+
request: {
|
|
29
|
+
baseURL: 'https://api.intercom.io',
|
|
30
|
+
url: '/me',
|
|
31
|
+
method: 'GET',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
18
34
|
}
|
|
19
35
|
}
|
|
20
36
|
exports.IntercomApi = IntercomApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntercomApi.credentials.js","sourceRoot":"","sources":["../../credentials/IntercomApi.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IntercomApi.credentials.js","sourceRoot":"","sources":["../../credentials/IntercomApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,cAAc,CAAC;QAE7B,qBAAgB,GAAG,UAAU,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,iCAAiC;oBAChD,MAAM,EAAE,kBAAkB;iBAC1B;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,yBAAyB;gBAClC,GAAG,EAAE,KAAK;gBACV,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AAlCD,kCAkCC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare class OuraApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
6
6
|
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
7
9
|
}
|
|
@@ -15,6 +15,20 @@ class OuraApi {
|
|
|
15
15
|
default: '',
|
|
16
16
|
},
|
|
17
17
|
];
|
|
18
|
+
this.authenticate = {
|
|
19
|
+
type: 'generic',
|
|
20
|
+
properties: {
|
|
21
|
+
headers: {
|
|
22
|
+
Authorization: '=Bearer {{$credentials.accessToken}}',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
this.test = {
|
|
27
|
+
request: {
|
|
28
|
+
baseURL: 'https://api.ouraring.com',
|
|
29
|
+
url: '/v2/usercollection/personal_info',
|
|
30
|
+
},
|
|
31
|
+
};
|
|
18
32
|
}
|
|
19
33
|
}
|
|
20
34
|
exports.OuraApi = OuraApi;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OuraApi.credentials.js","sourceRoot":"","sources":["../../credentials/OuraApi.credentials.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"OuraApi.credentials.js","sourceRoot":"","sources":["../../credentials/OuraApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,OAAO;IAApB;QACC,SAAI,GAAG,SAAS,CAAC;QAEjB,gBAAW,GAAG,UAAU,CAAC;QAEzB,qBAAgB,GAAG,MAAM,CAAC;QAE1B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,uBAAuB;gBACpC,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,sCAAsC;iBACrD;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,0BAA0B;gBACnC,GAAG,EAAE,kCAAkC;aACvC;SACD,CAAC;IACH,CAAC;CAAA;AAhCD,0BAgCC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class Rapid7InsightVmApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
icon: {
|
|
7
|
+
readonly light: "file:icons/Rapid7InsightVm.svg";
|
|
8
|
+
readonly dark: "file:icons/Rapid7InsightVm.svg";
|
|
9
|
+
};
|
|
10
|
+
httpRequestNode: {
|
|
11
|
+
name: string;
|
|
12
|
+
docsUrl: string;
|
|
13
|
+
apiBaseUrlPlaceholder: string;
|
|
14
|
+
};
|
|
15
|
+
properties: INodeProperties[];
|
|
16
|
+
authenticate: IAuthenticateGeneric;
|
|
17
|
+
test: ICredentialTestRequest;
|
|
18
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Rapid7InsightVmApi = void 0;
|
|
4
|
+
class Rapid7InsightVmApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'rapid7InsightVmApi';
|
|
7
|
+
this.displayName = 'Rapid7 InsightVM API';
|
|
8
|
+
this.documentationUrl = 'rapid7insightvm';
|
|
9
|
+
this.icon = {
|
|
10
|
+
light: 'file:icons/Rapid7InsightVm.svg',
|
|
11
|
+
dark: 'file:icons/Rapid7InsightVm.svg',
|
|
12
|
+
};
|
|
13
|
+
this.httpRequestNode = {
|
|
14
|
+
name: 'Rapid7 InsightVM',
|
|
15
|
+
docsUrl: 'https://docs.rapid7.com/',
|
|
16
|
+
apiBaseUrlPlaceholder: 'https://insight.rapid7.com/',
|
|
17
|
+
};
|
|
18
|
+
this.properties = [
|
|
19
|
+
{
|
|
20
|
+
displayName: 'URL',
|
|
21
|
+
name: 'url',
|
|
22
|
+
required: true,
|
|
23
|
+
type: 'string',
|
|
24
|
+
default: '',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
displayName: 'API Key',
|
|
28
|
+
name: 'apiKey',
|
|
29
|
+
required: true,
|
|
30
|
+
type: 'string',
|
|
31
|
+
typeOptions: { password: true },
|
|
32
|
+
default: '',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
this.authenticate = {
|
|
36
|
+
type: 'generic',
|
|
37
|
+
properties: {
|
|
38
|
+
headers: {
|
|
39
|
+
'x-api-key': '={{$credentials.apiKey}}',
|
|
40
|
+
Accept: 'application/json',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
};
|
|
44
|
+
this.test = {
|
|
45
|
+
request: {
|
|
46
|
+
baseURL: '={{$credentials.url}}'.replace(/\/$/, ''),
|
|
47
|
+
url: '/validate',
|
|
48
|
+
method: 'GET',
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.Rapid7InsightVmApi = Rapid7InsightVmApi;
|
|
54
|
+
//# sourceMappingURL=Rapid7InsightVmApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Rapid7InsightVmApi.credentials.js","sourceRoot":"","sources":["../../credentials/Rapid7InsightVmApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,kBAAkB;IAA/B;QACC,SAAI,GAAG,oBAAoB,CAAC;QAE5B,gBAAW,GAAG,sBAAsB,CAAC;QAErC,qBAAgB,GAAG,iBAAiB,CAAC;QAErC,SAAI,GAAG;YACN,KAAK,EAAE,gCAAgC;YACvC,IAAI,EAAE,gCAAgC;SAC7B,CAAC;QAEX,oBAAe,GAAG;YACjB,IAAI,EAAE,kBAAkB;YACxB,OAAO,EAAE,0BAA0B;YACnC,qBAAqB,EAAE,6BAA6B;SACpD,CAAC;QAEF,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,WAAW,EAAE,0BAA0B;oBACvC,MAAM,EAAE,kBAAkB;iBAC1B;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,uBAAuB,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC;gBACnD,GAAG,EAAE,WAAW;gBAChB,MAAM,EAAE,KAAK;aACb;SACD,CAAC;IACH,CAAC;CAAA;AArDD,gDAqDC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<svg width="119" height="20" viewBox="0 0 119 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0)">
|
|
3
|
+
<path d="M12.2826 8.94348H7.42609L8.47826 4.18261H12.9696C14.4478 4.18261 15.3174 4.97826 15.3174 6.13913C15.3174 7.66956 14.1957 8.94348 12.2826 8.94348ZM20.2957 5.66957C20.2957 2.4 17.7739 0 13.3652 0H4.3913L0 20H5L6.51304 13.1304H9.43913L12.3478 20H17.3348L14.2348 12.8C17.9522 12.2174 20.2957 9.23478 20.2957 5.66957Z" fill="#231F20"/>
|
|
4
|
+
<path d="M28.9219 12.513L33.2089 5.13913L34.8306 12.513H28.9263H28.9219ZM31.1828 0L19.5654 20H24.5524L26.4959 16.6826H35.748L36.4785 20H41.4654L37.0872 0H31.1828ZM55.7828 8.94348H51.348L52.3915 4.18261H56.2524C57.7741 4.18261 58.7089 4.9087 58.7089 6.13913C58.7089 7.66956 57.5567 8.94348 55.7872 8.94348H55.7828ZM56.7611 0H48.3046L43.9133 20H48.9046L50.4263 13.1217H56.0002C60.7654 13.1217 63.6524 9.53043 63.6524 5.74348C63.6524 2.36957 61.0219 0.00434783 56.7567 0.00434783" fill="#231F20"/>
|
|
5
|
+
<path d="M73.3131 0H68.3131L63.9131 20H68.9131L73.3131 0Z" fill="#231F20"/>
|
|
6
|
+
<path d="M109.122 0H93.3566C93.5958 0.243478 93.8349 0.495652 94.0523 0.76087C95.8175 2.9 96.748 5.58696 96.748 8.54348C96.748 13.1087 94.8262 17.2261 91.7393 20H101.391L105.978 8.6H100.239L101.196 4.17826H112.596L106.609 20H108.957C114.422 20.0348 118.118 15.4957 118.118 9.98261C118.118 4.46956 114.596 0 109.118 0" fill="#E85E26"/>
|
|
7
|
+
<path d="M81.2872 15.8261H78.5263L81.0915 4.18261H83.7002C86.5611 4.18261 88.1654 6.32609 88.1654 9.00869C88.1654 12.6174 85.5915 15.8261 81.2958 15.8261H81.2872ZM91.3045 3.26087C89.5915 1.17391 86.7611 0 83.4219 0H77.0132L72.6089 20H80.6741C83.8045 20 86.2132 19.3043 88.0524 18.1957C91.7915 15.9261 93.1176 11.9348 93.1176 8.54348C93.1176 6.43043 92.4567 4.63913 91.3089 3.26087" fill="#231F20"/>
|
|
8
|
+
</g>
|
|
9
|
+
<defs>
|
|
10
|
+
<clipPath id="clip0">
|
|
11
|
+
<rect width="118.261" height="20" fill="white"/>
|
|
12
|
+
</clipPath>
|
|
13
|
+
</defs>
|
|
14
|
+
</svg>
|
|
@@ -2237,6 +2237,10 @@
|
|
|
2237
2237
|
"raindrop"
|
|
2238
2238
|
]
|
|
2239
2239
|
},
|
|
2240
|
+
"rapid7InsightVmApi": {
|
|
2241
|
+
"className": "Rapid7InsightVmApi",
|
|
2242
|
+
"sourcePath": "dist/credentials/Rapid7InsightVmApi.credentials.js"
|
|
2243
|
+
},
|
|
2240
2244
|
"recordedFutureApi": {
|
|
2241
2245
|
"className": "RecordedFutureApi",
|
|
2242
2246
|
"sourcePath": "dist/credentials/RecordedFutureApi.credentials.js"
|
|
@@ -25,6 +25,13 @@ class AiTransform {
|
|
|
25
25
|
inputs: ["main"],
|
|
26
26
|
outputs: ["main"],
|
|
27
27
|
parameterPane: 'wide',
|
|
28
|
+
hints: [
|
|
29
|
+
{
|
|
30
|
+
message: "This node doesn't have access to the contents of binary files. To use those contents here, use the 'Extract from File' node first.",
|
|
31
|
+
displayCondition: '={{ $input.all().some(i => i.binary) }}',
|
|
32
|
+
location: 'outputPane',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
28
35
|
properties: [
|
|
29
36
|
{
|
|
30
37
|
displayName: 'Instructions',
|
|
@@ -40,34 +47,29 @@ class AiTransform {
|
|
|
40
47
|
inputFieldMaxLength: 500,
|
|
41
48
|
action: {
|
|
42
49
|
type: 'askAiCodeGeneration',
|
|
43
|
-
target:
|
|
50
|
+
target: n8n_workflow_1.AI_TRANSFORM_JS_CODE,
|
|
44
51
|
},
|
|
45
52
|
},
|
|
46
53
|
},
|
|
47
54
|
},
|
|
48
55
|
{
|
|
49
|
-
displayName: '
|
|
50
|
-
name:
|
|
56
|
+
displayName: 'Code Generated For Prompt',
|
|
57
|
+
name: n8n_workflow_1.AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT,
|
|
58
|
+
type: 'hidden',
|
|
59
|
+
default: '',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
displayName: 'Generated JavaScript',
|
|
63
|
+
name: n8n_workflow_1.AI_TRANSFORM_JS_CODE,
|
|
51
64
|
type: 'string',
|
|
52
65
|
typeOptions: {
|
|
53
66
|
editor: 'jsEditor',
|
|
54
67
|
editorIsReadOnly: true,
|
|
55
68
|
},
|
|
56
69
|
default: '',
|
|
57
|
-
|
|
70
|
+
hint: 'Read-only. To edit this code, adjust the instructions or copy and paste it into a Code node.',
|
|
58
71
|
noDataExpression: true,
|
|
59
72
|
},
|
|
60
|
-
{
|
|
61
|
-
displayName: "Click on 'Test step' to run the transformation code. Further executions will use the generated code (and not invoke AI again).",
|
|
62
|
-
name: 'hint',
|
|
63
|
-
type: 'notice',
|
|
64
|
-
default: '',
|
|
65
|
-
displayOptions: {
|
|
66
|
-
show: {
|
|
67
|
-
jsCode: [{ _cnd: { exists: true } }],
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
73
|
],
|
|
72
74
|
};
|
|
73
75
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiTransform.node.js","sourceRoot":"","sources":["../../../nodes/AiTransform/AiTransform.node.ts"],"names":[],"mappings":";;;;;;AAAA,+
|
|
1
|
+
{"version":3,"file":"AiTransform.node.js","sourceRoot":"","sources":["../../../nodes/AiTransform/AiTransform.node.ts"],"names":[],"mappings":";;;;;;AAAA,+CASsB;AAEtB,qDAA6B;AAE7B,iEAA8D;AAC9D,6CAAoD;AACpD,yCAAkD;AAElD,MAAM,EAAE,kB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AAO,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;YACzD,OAAO,CAAC,EAAE,CACT,QAAQ,EACR,YAAY,KAAK,QAAQ;gBACxB,CAAC,CAAC,IAAI,CAAC,eAAe;gBACtB,CAAC,CAAC,kBAAkB,KAAK,MAAM;oBAC9B,CAAC,CAAC,CAAC,GAAG,IAAI,EAAE,EAAE,CACZ,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,YAAY,IAAI,CAAC,IAAI,IAAI,EAAE,GAAG,IAAI,CAAC;oBACpF,CAAC,CAAC,GAAG,EAAE,GAAE,CAAC,CACZ,CAAC;YACF,OAAO,OAAO,CAAC;QAChB,CAAC,CAAC;QAEF,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;QAC7B,IAAI,KAA2B,CAAC;QAChC,IAAI,CAAC;YACJ,KAAK,GAAG,CAAC,MAAM,OAAO,CAAC,eAAe,EAAE,CAAyB,CAAC;QACnE,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC5B,IAAA,aAAG,EAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;gBACzB,MAAM,KAAK,CAAC;YACb,CAAC;YACD,KAAK,GAAG,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QAC9C,CAAC;QAED,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YAC1B,IAAA,yBAAiB,EAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC9B,CAAC;QAED,OAAO,CAAC,KAAK,CAAC,CAAC;IAChB,CAAC;CACD;AAnID,kCAmIC"}
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -98,7 +98,7 @@ class Code {
|
|
|
98
98
|
? this.getNodeParameter('language', 0)
|
|
99
99
|
: 'javaScript';
|
|
100
100
|
const codeParameterName = language === 'python' ? 'pythonCode' : 'jsCode';
|
|
101
|
-
if (
|
|
101
|
+
if (runnersConfig.enabled && language === 'javaScript') {
|
|
102
102
|
const code = this.getNodeParameter(codeParameterName, 0);
|
|
103
103
|
const sandbox = new JsTaskRunnerSandbox_1.JsTaskRunnerSandbox(code, nodeMode, workflowMode, this);
|
|
104
104
|
return nodeMode === 'runOnceForAllItems'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code.node.js","sourceRoot":"","sources":["../../../nodes/Code/Code.node.ts"],"names":[],"mappings":";;;;;;AAAA,wCAAgD;AAChD,qDAA6B;AAU7B,oDAA+B;AAE/B,wFAAqF;AACrF,gFAA6E;AAC7E,2DAAwD;AACxD,+DAA4D;AAC5D,mDAAgD;AAChD,uCAA8C;AAC9C,mCAA4C;AAE5C,MAAM,EAAE,kBAAkB,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC;AAE3C,MAAa,IAAI;IAAjB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,eAAe;YACrB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;YACf,cAAc,EAAE,CAAC;YACjB,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE;gBACT,IAAI,EAAE,MAAM;aACZ;YACD,MAAM,EAAE,QAAyB;YACjC,OAAO,EAAE,QAAyB;YAClC,aAAa,EAAE,MAAM;YACrB,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,MAAM;oBACnB,IAAI,EAAE,MAAM;oBACZ,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,wBAAwB;4BAC9B,KAAK,EAAE,oBAAoB;4BAC3B,WAAW,EAAE,mEAAmE;yBAChF;wBACD;4BACC,IAAI,EAAE,wBAAwB;4BAC9B,KAAK,EAAE,oBAAoB;4BAC3B,WAAW,EAAE,sDAAsD;yBACnE;qBACD;oBACD,OAAO,EAAE,oBAAoB;iBAC7B;gBACD;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,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AI,CAAC;oBACf,IAAI,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE;oBAC9B,UAAU,EAAE;wBACX,IAAI,EAAE,KAAK;qBACX;iBACD,CAAC,CAAC;YACJ,CAAC;YAED,IAAI,MAAM,EAAE,CAAC;gBACZ,UAAU,CAAC,IAAI,CAAC;oBACf,IAAI,EAAE,IAAA,yBAAiB,EAAC,MAAM,CAAC,IAAI,CAAC;oBACpC,UAAU,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;oBAC3B,GAAG,CAAC,MAAM,CAAC,MAAM,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;iBAC/C,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CACD;AArLD,oBAqLC"}
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -8,6 +8,7 @@ export declare const description: {
|
|
|
8
8
|
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
9
|
description?: string;
|
|
10
10
|
hint?: string;
|
|
11
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
11
12
|
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
isNodeSetting?: boolean;
|
|
@@ -794,8 +794,8 @@ class EditImage {
|
|
|
794
794
|
typeOptions: {
|
|
795
795
|
loadOptionsMethod: 'getFonts',
|
|
796
796
|
},
|
|
797
|
-
default: '
|
|
798
|
-
description: 'The font to use. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
797
|
+
default: '',
|
|
798
|
+
description: 'The font to use. Defaults to Arial. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
799
799
|
},
|
|
800
800
|
],
|
|
801
801
|
},
|
|
@@ -833,8 +833,8 @@ class EditImage {
|
|
|
833
833
|
typeOptions: {
|
|
834
834
|
loadOptionsMethod: 'getFonts',
|
|
835
835
|
},
|
|
836
|
-
default: '
|
|
837
|
-
description: 'The font to use. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
836
|
+
default: '',
|
|
837
|
+
description: 'The font to use. Defaults to Arial. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
838
838
|
},
|
|
839
839
|
{
|
|
840
840
|
displayName: 'Format',
|
|
@@ -913,10 +913,6 @@ class EditImage {
|
|
|
913
913
|
}
|
|
914
914
|
return 0;
|
|
915
915
|
});
|
|
916
|
-
returnData.unshift({
|
|
917
|
-
name: 'default',
|
|
918
|
-
value: 'default',
|
|
919
|
-
});
|
|
920
916
|
return returnData;
|
|
921
917
|
},
|
|
922
918
|
},
|
|
@@ -1102,13 +1098,18 @@ class EditImage {
|
|
|
1102
1098
|
currentLine = '';
|
|
1103
1099
|
});
|
|
1104
1100
|
const renderText = lines.join('\n');
|
|
1105
|
-
|
|
1106
|
-
if (font
|
|
1107
|
-
|
|
1101
|
+
let font = (options.font || operationData.font);
|
|
1102
|
+
if (!font) {
|
|
1103
|
+
const fonts = await (0, get_system_fonts_1.default)();
|
|
1104
|
+
font = fonts.find((_font) => _font.includes('Arial.'));
|
|
1105
|
+
}
|
|
1106
|
+
if (!font) {
|
|
1107
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Default font not found. Select a font from the options.');
|
|
1108
1108
|
}
|
|
1109
1109
|
gmInstance = gmInstance
|
|
1110
1110
|
.fill(operationData.fontColor)
|
|
1111
1111
|
.fontSize(operationData.fontSize)
|
|
1112
|
+
.font(font)
|
|
1112
1113
|
.drawText(operationData.positionX, operationData.positionY, renderText);
|
|
1113
1114
|
}
|
|
1114
1115
|
else if (operationData.operation === 'transparent') {
|