n8n-nodes-base 2.46.0 → 3.0.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/cjs/build.tsbuildinfo +1 -1
- package/dist/credentials/SlackApi.credentials.d.ts.map +1 -1
- package/dist/credentials/SlackApi.credentials.js +1 -11
- package/dist/credentials/SlackApi.credentials.js.map +1 -1
- package/dist/credentials/WebflowOAuth2Api.credentials.js +1 -1
- package/dist/credentials/WebflowOAuth2Api.credentials.js.map +1 -1
- package/dist/known/credentials.json +1 -11
- package/dist/known/nodes.json +0 -64
- package/dist/methods/defined.json +0 -4
- package/dist/methods/referenced.json +0 -4
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/code/v1/mode_run_once_for_all_items.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/code/v1/mode_run_once_for_each_item.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/code/v2/mode_run_once_for_all_items.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/code/v2/mode_run_once_for_each_item.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v1.ts +13 -14
- package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v11.ts +13 -14
- package/dist/node-definitions/nodes/n8n-nodes-base/convertToFile/v12.ts +13 -14
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1.schema.js +1 -3
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v1.ts +1 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11.schema.js +1 -3
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v11.ts +1 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12.schema.js +0 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v12.ts +0 -12
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13.schema.js +0 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v13.ts +0 -12
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14.schema.js +0 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/executeWorkflow/v14.ts +0 -12
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/nodes/Code/descriptions/JavascriptCodeDescription.js +1 -1
- package/dist/nodes/Code/descriptions/JavascriptCodeDescription.js.map +1 -1
- package/dist/nodes/Crypto/v1/CryptoV1.node.d.ts.map +1 -1
- package/dist/nodes/Crypto/v1/CryptoV1.node.js +0 -1
- package/dist/nodes/Crypto/v1/CryptoV1.node.js.map +1 -1
- package/dist/nodes/Crypto/v2/CryptoV2.node.d.ts.map +1 -1
- package/dist/nodes/Crypto/v2/CryptoV2.node.js +0 -1
- package/dist/nodes/Crypto/v2/CryptoV2.node.js.map +1 -1
- package/dist/nodes/DateTime/V1/DateTimeV1.node.js +1 -1
- package/dist/nodes/DateTime/V1/DateTimeV1.node.js.map +1 -1
- package/dist/nodes/DateTime/V2/DateTimeV2.node.js +1 -1
- package/dist/nodes/DateTime/V2/DateTimeV2.node.js.map +1 -1
- package/dist/nodes/EditImage/EditImage.node.d.ts +2 -3
- package/dist/nodes/EditImage/EditImage.node.d.ts.map +1 -1
- package/dist/nodes/EditImage/EditImage.node.js +4 -349
- package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +0 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
- package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js +1 -1
- package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js.map +1 -1
- package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js +1 -1
- package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +0 -56
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.js +3 -33
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/GenericFunctions.js.map +1 -1
- package/dist/nodes/Filter/V1/FilterV1.node.js +1 -1
- package/dist/nodes/Filter/V1/FilterV1.node.js.map +1 -1
- package/dist/nodes/Filter/V2/FilterV2.node.js +1 -1
- package/dist/nodes/Filter/V2/FilterV2.node.js.map +1 -1
- package/dist/nodes/Form/v1/FormTriggerV1.node.d.ts +1 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.d.ts +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +43 -48
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/ICalendar/createEvent.operation.d.ts.map +1 -1
- package/dist/nodes/ICalendar/createEvent.operation.js +31 -177
- package/dist/nodes/ICalendar/createEvent.operation.js.map +1 -1
- package/dist/nodes/If/V1/IfV1.node.js +1 -1
- package/dist/nodes/If/V1/IfV1.node.js.map +1 -1
- package/dist/nodes/If/V2/IfV2.node.js +1 -1
- package/dist/nodes/If/V2/IfV2.node.js.map +1 -1
- package/dist/nodes/Merge/v1/MergeV1.node.js +1 -1
- package/dist/nodes/Merge/v1/MergeV1.node.js.map +1 -1
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Set/v1/SetV1.node.js +1 -1
- package/dist/nodes/Set/v1/SetV1.node.js.map +1 -1
- package/dist/nodes/Simulate/Simulate.node.js +1 -1
- package/dist/nodes/Simulate/Simulate.node.js.map +1 -1
- package/dist/nodes/Simulate/SimulateTrigger.node.js +1 -1
- package/dist/nodes/Simulate/SimulateTrigger.node.js.map +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.js +8 -0
- package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
- package/dist/nodes/Slack/SlackTriggerHelpers.d.ts.map +1 -1
- package/dist/nodes/Slack/SlackTriggerHelpers.js +6 -2
- package/dist/nodes/Slack/SlackTriggerHelpers.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.d.ts +1 -1
- package/dist/nodes/SplitInBatches/v1/SplitInBatchesV1.node.js +1 -1
- package/dist/nodes/SplitInBatches/v1/SplitInBatchesV1.node.js.map +1 -1
- package/dist/nodes/SplitInBatches/v2/SplitInBatchesV2.node.js +1 -1
- package/dist/nodes/SplitInBatches/v2/SplitInBatchesV2.node.js.map +1 -1
- package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js +1 -1
- package/dist/nodes/SpreadsheetFile/v1/SpreadsheetFileV1.node.js.map +1 -1
- package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js +1 -1
- package/dist/nodes/SpreadsheetFile/v2/SpreadsheetFileV2.node.js.map +1 -1
- package/dist/nodes/StickyNote/StickyNote.node.js +1 -1
- package/dist/nodes/StickyNote/StickyNote.node.js.map +1 -1
- package/dist/nodes/Switch/V1/SwitchV1.node.js +1 -1
- package/dist/nodes/Switch/V1/SwitchV1.node.js.map +1 -1
- package/dist/nodes/Switch/V2/SwitchV2.node.js +1 -1
- package/dist/nodes/Switch/V2/SwitchV2.node.js.map +1 -1
- package/dist/nodes/Switch/V3/SwitchV3.node.js +1 -1
- package/dist/nodes/Switch/V3/SwitchV3.node.js.map +1 -1
- package/dist/types/credentials.json +3 -4
- package/dist/types/nodes.json +33 -51
- package/package.json +13 -32
- package/dist/credentials/OrbitApi.credentials.d.ts +0 -8
- package/dist/credentials/OrbitApi.credentials.d.ts.map +0 -1
- package/dist/credentials/OrbitApi.credentials.js +0 -25
- package/dist/credentials/OrbitApi.credentials.js.map +0 -1
- package/dist/nodes/AiTransform/AiTransform.node.d.ts +0 -6
- package/dist/nodes/AiTransform/AiTransform.node.d.ts.map +0 -1
- package/dist/nodes/AiTransform/AiTransform.node.js +0 -101
- package/dist/nodes/AiTransform/AiTransform.node.js.map +0 -1
- package/dist/nodes/AiTransform/AiTransform.node.json +0 -18
- package/dist/nodes/AiTransform/aitransform.svg +0 -10
- package/dist/nodes/Cron/Cron.node.d.ts +0 -6
- package/dist/nodes/Cron/Cron.node.d.ts.map +0 -1
- package/dist/nodes/Cron/Cron.node.js +0 -64
- package/dist/nodes/Cron/Cron.node.js.map +0 -1
- package/dist/nodes/Cron/Cron.node.json +0 -135
- package/dist/nodes/Function/Function.node.d.ts +0 -6
- package/dist/nodes/Function/Function.node.d.ts.map +0 -1
- package/dist/nodes/Function/Function.node.js +0 -184
- package/dist/nodes/Function/Function.node.js.map +0 -1
- package/dist/nodes/Function/Function.node.json +0 -129
- package/dist/nodes/FunctionItem/FunctionItem.node.d.ts +0 -6
- package/dist/nodes/FunctionItem/FunctionItem.node.d.ts.map +0 -1
- package/dist/nodes/FunctionItem/FunctionItem.node.js +0 -206
- package/dist/nodes/FunctionItem/FunctionItem.node.js.map +0 -1
- package/dist/nodes/FunctionItem/FunctionItem.node.json +0 -28
- package/dist/nodes/HtmlExtract/HtmlExtract.node.d.ts +0 -6
- package/dist/nodes/HtmlExtract/HtmlExtract.node.d.ts.map +0 -1
- package/dist/nodes/HtmlExtract/HtmlExtract.node.js +0 -300
- package/dist/nodes/HtmlExtract/HtmlExtract.node.js.map +0 -1
- package/dist/nodes/HtmlExtract/HtmlExtract.node.json +0 -38
- package/dist/nodes/ICalendar/ICalendar.node.d.ts +0 -6
- package/dist/nodes/ICalendar/ICalendar.node.d.ts.map +0 -1
- package/dist/nodes/ICalendar/ICalendar.node.js +0 -84
- package/dist/nodes/ICalendar/ICalendar.node.js.map +0 -1
- package/dist/nodes/ICalendar/ICalendar.node.json +0 -17
- package/dist/nodes/Interval/Interval.node.d.ts +0 -6
- package/dist/nodes/Interval/Interval.node.d.ts.map +0 -1
- package/dist/nodes/Interval/Interval.node.js +0 -97
- package/dist/nodes/Interval/Interval.node.js.map +0 -1
- package/dist/nodes/Interval/Interval.node.json +0 -29
- package/dist/nodes/ItemLists/ItemLists.node.d.ts +0 -5
- package/dist/nodes/ItemLists/ItemLists.node.d.ts.map +0 -1
- package/dist/nodes/ItemLists/ItemLists.node.js +0 -32
- package/dist/nodes/ItemLists/ItemLists.node.js.map +0 -1
- package/dist/nodes/ItemLists/ItemLists.node.json +0 -48
- package/dist/nodes/ItemLists/V1/ItemListsV1.node.d.ts +0 -7
- package/dist/nodes/ItemLists/V1/ItemListsV1.node.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V1/ItemListsV1.node.js +0 -1254
- package/dist/nodes/ItemLists/V1/ItemListsV1.node.js.map +0 -1
- package/dist/nodes/ItemLists/V1/summarize.operation.d.ts +0 -4
- package/dist/nodes/ItemLists/V1/summarize.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V1/summarize.operation.js +0 -468
- package/dist/nodes/ItemLists/V1/summarize.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.d.ts +0 -7
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.js +0 -1287
- package/dist/nodes/ItemLists/V2/ItemListsV2.node.js.map +0 -1
- package/dist/nodes/ItemLists/V2/summarize.operation.d.ts +0 -4
- package/dist/nodes/ItemLists/V2/summarize.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V2/summarize.operation.js +0 -502
- package/dist/nodes/ItemLists/V2/summarize.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts +0 -7
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js +0 -19
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts +0 -3
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js +0 -11
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts +0 -31
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js +0 -351
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts +0 -10
- package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js +0 -107
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts +0 -31
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js +0 -57
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts +0 -31
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js +0 -207
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts +0 -31
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js +0 -240
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts +0 -31
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js +0 -207
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts +0 -32
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js +0 -502
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/node.type.d.ts +0 -7
- package/dist/nodes/ItemLists/V3/actions/node.type.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/node.type.js +0 -3
- package/dist/nodes/ItemLists/V3/actions/node.type.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/router.d.ts +0 -3
- package/dist/nodes/ItemLists/V3/actions/router.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/router.js +0 -57
- package/dist/nodes/ItemLists/V3/actions/router.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts +0 -3
- package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js +0 -70
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js.map +0 -1
- package/dist/nodes/ItemLists/V3/helpers/utils.d.ts +0 -6
- package/dist/nodes/ItemLists/V3/helpers/utils.d.ts.map +0 -1
- package/dist/nodes/ItemLists/V3/helpers/utils.js +0 -100
- package/dist/nodes/ItemLists/V3/helpers/utils.js.map +0 -1
- package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +0 -9
- package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/limit.json +0 -8
- package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/removeDuplicates.json +0 -77
- package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/sort.json +0 -45
- package/dist/nodes/ItemLists/__schema__/v3.1.0/itemList/summarize.json +0 -15
- package/dist/nodes/ItemLists/itemLists.svg +0 -1
- package/dist/nodes/MoveBinaryData/MoveBinaryData.node.d.ts +0 -6
- package/dist/nodes/MoveBinaryData/MoveBinaryData.node.d.ts.map +0 -1
- package/dist/nodes/MoveBinaryData/MoveBinaryData.node.js +0 -443
- package/dist/nodes/MoveBinaryData/MoveBinaryData.node.js.map +0 -1
- package/dist/nodes/MoveBinaryData/MoveBinaryData.node.json +0 -17
- package/dist/nodes/OpenAi/ChatDescription.d.ts +0 -4
- package/dist/nodes/OpenAi/ChatDescription.d.ts.map +0 -1
- package/dist/nodes/OpenAi/ChatDescription.js +0 -396
- package/dist/nodes/OpenAi/ChatDescription.js.map +0 -1
- package/dist/nodes/OpenAi/GenericFunctions.d.ts +0 -3
- package/dist/nodes/OpenAi/GenericFunctions.d.ts.map +0 -1
- package/dist/nodes/OpenAi/GenericFunctions.js +0 -11
- package/dist/nodes/OpenAi/GenericFunctions.js.map +0 -1
- package/dist/nodes/OpenAi/ImageDescription.d.ts +0 -4
- package/dist/nodes/OpenAi/ImageDescription.d.ts.map +0 -1
- package/dist/nodes/OpenAi/ImageDescription.js +0 -392
- package/dist/nodes/OpenAi/ImageDescription.js.map +0 -1
- package/dist/nodes/OpenAi/OpenAi.node.d.ts +0 -5
- package/dist/nodes/OpenAi/OpenAi.node.d.ts.map +0 -1
- package/dist/nodes/OpenAi/OpenAi.node.js +0 -79
- package/dist/nodes/OpenAi/OpenAi.node.js.map +0 -1
- package/dist/nodes/OpenAi/OpenAi.node.json +0 -19
- package/dist/nodes/OpenAi/TextDescription.d.ts +0 -4
- package/dist/nodes/OpenAi/TextDescription.d.ts.map +0 -1
- package/dist/nodes/OpenAi/TextDescription.js +0 -488
- package/dist/nodes/OpenAi/TextDescription.js.map +0 -1
- package/dist/nodes/OpenAi/__schema__/v1.0.0/chat/chat.json +0 -9
- package/dist/nodes/OpenAi/__schema__/v1.0.0/image/create.json +0 -9
- package/dist/nodes/OpenAi/__schema__/v1.1.0/chat/complete.json +0 -57
- package/dist/nodes/OpenAi/__schema__/v1.1.0/text/chat.json +0 -9
- package/dist/nodes/OpenAi/__schema__/v1.1.0/text/complete.json +0 -15
- package/dist/nodes/OpenAi/openAi.dark.svg +0 -3
- package/dist/nodes/OpenAi/openAi.svg +0 -1
- package/dist/nodes/Orbit/ActivityDescription.d.ts +0 -4
- package/dist/nodes/Orbit/ActivityDescription.d.ts.map +0 -1
- package/dist/nodes/Orbit/ActivityDescription.js +0 -213
- package/dist/nodes/Orbit/ActivityDescription.js.map +0 -1
- package/dist/nodes/Orbit/GenericFunctions.d.ts +0 -11
- package/dist/nodes/Orbit/GenericFunctions.d.ts.map +0 -1
- package/dist/nodes/Orbit/GenericFunctions.js +0 -84
- package/dist/nodes/Orbit/GenericFunctions.js.map +0 -1
- package/dist/nodes/Orbit/Interfaces.d.ts +0 -20
- package/dist/nodes/Orbit/Interfaces.d.ts.map +0 -1
- package/dist/nodes/Orbit/Interfaces.js +0 -3
- package/dist/nodes/Orbit/Interfaces.js.map +0 -1
- package/dist/nodes/Orbit/MemberDescription.d.ts +0 -4
- package/dist/nodes/Orbit/MemberDescription.d.ts.map +0 -1
- package/dist/nodes/Orbit/MemberDescription.js +0 -747
- package/dist/nodes/Orbit/MemberDescription.js.map +0 -1
- package/dist/nodes/Orbit/NoteDescription.d.ts +0 -4
- package/dist/nodes/Orbit/NoteDescription.d.ts.map +0 -1
- package/dist/nodes/Orbit/NoteDescription.js +0 -221
- package/dist/nodes/Orbit/NoteDescription.js.map +0 -1
- package/dist/nodes/Orbit/Orbit.node.d.ts +0 -12
- package/dist/nodes/Orbit/Orbit.node.d.ts.map +0 -1
- package/dist/nodes/Orbit/Orbit.node.js +0 -94
- package/dist/nodes/Orbit/Orbit.node.js.map +0 -1
- package/dist/nodes/Orbit/Orbit.node.json +0 -25
- package/dist/nodes/Orbit/PostDescription.d.ts +0 -4
- package/dist/nodes/Orbit/PostDescription.d.ts.map +0 -1
- package/dist/nodes/Orbit/PostDescription.js +0 -227
- package/dist/nodes/Orbit/PostDescription.js.map +0 -1
- package/dist/nodes/Orbit/orbit.dark.svg +0 -7
- package/dist/nodes/Orbit/orbit.svg +0 -7
- package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.d.ts +0 -6
- package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.d.ts.map +0 -1
- package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js +0 -86
- package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.js.map +0 -1
- package/dist/nodes/ReadBinaryFile/ReadBinaryFile.node.json +0 -34
- package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.d.ts +0 -6
- package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.d.ts.map +0 -1
- package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js +0 -62
- package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.js.map +0 -1
- package/dist/nodes/ReadBinaryFiles/ReadBinaryFiles.node.json +0 -17
- package/dist/nodes/ReadPdf/ReadPDF.node.d.ts +0 -6
- package/dist/nodes/ReadPdf/ReadPDF.node.d.ts.map +0 -1
- package/dist/nodes/ReadPdf/ReadPDF.node.js +0 -89
- package/dist/nodes/ReadPdf/ReadPDF.node.js.map +0 -1
- package/dist/nodes/ReadPdf/ReadPDF.node.json +0 -16
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.d.ts +0 -6
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.d.ts.map +0 -1
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js +0 -91
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.js.map +0 -1
- package/dist/nodes/WorkflowTrigger/WorkflowTrigger.node.json +0 -16
- package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.d.ts +0 -6
- package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.d.ts.map +0 -1
- package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js +0 -118
- package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.js.map +0 -1
- package/dist/nodes/WriteBinaryFile/WriteBinaryFile.node.json +0 -24
|
@@ -1,443 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.MoveBinaryData = void 0;
|
|
7
|
-
const iconv_lite_1 = __importDefault(require("iconv-lite"));
|
|
8
|
-
const get_1 = __importDefault(require("lodash/get"));
|
|
9
|
-
const set_1 = __importDefault(require("lodash/set"));
|
|
10
|
-
const unset_1 = __importDefault(require("lodash/unset"));
|
|
11
|
-
const n8n_workflow_1 = require("n8n-workflow");
|
|
12
|
-
iconv_lite_1.default.encodingExists('utf8');
|
|
13
|
-
// Create options for bomAware and encoding
|
|
14
|
-
const bomAware = [];
|
|
15
|
-
const encodeDecodeOptions = [];
|
|
16
|
-
const encodings = iconv_lite_1.default.encodings;
|
|
17
|
-
Object.keys(encodings).forEach((encoding) => {
|
|
18
|
-
if (!(encoding.startsWith('_') || typeof encodings[encoding] === 'string')) {
|
|
19
|
-
// only encodings without direct alias or internals
|
|
20
|
-
if (encodings[encoding].bomAware) {
|
|
21
|
-
bomAware.push(encoding);
|
|
22
|
-
}
|
|
23
|
-
encodeDecodeOptions.push({ name: encoding, value: encoding });
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
encodeDecodeOptions.sort((a, b) => {
|
|
27
|
-
if (a.name < b.name) {
|
|
28
|
-
return -1;
|
|
29
|
-
}
|
|
30
|
-
if (a.name > b.name) {
|
|
31
|
-
return 1;
|
|
32
|
-
}
|
|
33
|
-
return 0;
|
|
34
|
-
});
|
|
35
|
-
class MoveBinaryData {
|
|
36
|
-
description = {
|
|
37
|
-
hidden: true,
|
|
38
|
-
displayName: 'Convert to/from binary data',
|
|
39
|
-
name: 'moveBinaryData',
|
|
40
|
-
icon: 'fa:exchange-alt',
|
|
41
|
-
group: ['transform'],
|
|
42
|
-
version: [1, 1.1],
|
|
43
|
-
subtitle: '={{$parameter["mode"]==="binaryToJson" ? "Binary to JSON" : "JSON to Binary"}}',
|
|
44
|
-
description: 'Move data between binary and JSON properties',
|
|
45
|
-
defaults: {
|
|
46
|
-
name: 'Convert to/from binary data',
|
|
47
|
-
color: '#7722CC',
|
|
48
|
-
},
|
|
49
|
-
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
50
|
-
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
51
|
-
properties: [
|
|
52
|
-
{
|
|
53
|
-
displayName: 'Mode',
|
|
54
|
-
name: 'mode',
|
|
55
|
-
type: 'options',
|
|
56
|
-
options: [
|
|
57
|
-
{
|
|
58
|
-
name: 'Binary to JSON',
|
|
59
|
-
value: 'binaryToJson',
|
|
60
|
-
description: 'Move data from Binary to JSON',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
name: 'JSON to Binary',
|
|
64
|
-
value: 'jsonToBinary',
|
|
65
|
-
description: 'Move data from JSON to Binary',
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
default: 'binaryToJson',
|
|
69
|
-
description: 'From and to where data should be moved',
|
|
70
|
-
},
|
|
71
|
-
// ----------------------------------
|
|
72
|
-
// binaryToJson
|
|
73
|
-
// ----------------------------------
|
|
74
|
-
{
|
|
75
|
-
displayName: 'Set All Data',
|
|
76
|
-
name: 'setAllData',
|
|
77
|
-
type: 'boolean',
|
|
78
|
-
displayOptions: {
|
|
79
|
-
show: {
|
|
80
|
-
mode: ['binaryToJson'],
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
default: true,
|
|
84
|
-
description: 'Whether all JSON data should be replaced with the data retrieved from binary key. Else the data will be written to a single key.',
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
displayName: 'Source Key',
|
|
88
|
-
name: 'sourceKey',
|
|
89
|
-
type: 'string',
|
|
90
|
-
displayOptions: {
|
|
91
|
-
show: {
|
|
92
|
-
mode: ['binaryToJson'],
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
default: 'data',
|
|
96
|
-
required: true,
|
|
97
|
-
placeholder: 'data',
|
|
98
|
-
description: 'The name of the binary key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey".',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
displayName: 'Destination Key',
|
|
102
|
-
name: 'destinationKey',
|
|
103
|
-
type: 'string',
|
|
104
|
-
displayOptions: {
|
|
105
|
-
show: {
|
|
106
|
-
mode: ['binaryToJson'],
|
|
107
|
-
setAllData: [false],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
default: 'data',
|
|
111
|
-
required: true,
|
|
112
|
-
placeholder: '',
|
|
113
|
-
description: 'The name the JSON key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey".',
|
|
114
|
-
},
|
|
115
|
-
// ----------------------------------
|
|
116
|
-
// jsonToBinary
|
|
117
|
-
// ----------------------------------
|
|
118
|
-
{
|
|
119
|
-
displayName: 'Convert All Data',
|
|
120
|
-
name: 'convertAllData',
|
|
121
|
-
type: 'boolean',
|
|
122
|
-
displayOptions: {
|
|
123
|
-
show: {
|
|
124
|
-
mode: ['jsonToBinary'],
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
default: true,
|
|
128
|
-
description: 'Whether all JSON data should be converted to binary. Else only the data of one key will be converted.',
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
displayName: 'Source Key',
|
|
132
|
-
name: 'sourceKey',
|
|
133
|
-
type: 'string',
|
|
134
|
-
displayOptions: {
|
|
135
|
-
show: {
|
|
136
|
-
convertAllData: [false],
|
|
137
|
-
mode: ['jsonToBinary'],
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
default: 'data',
|
|
141
|
-
required: true,
|
|
142
|
-
placeholder: 'data',
|
|
143
|
-
description: 'The name of the JSON key to get data from. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.currentKey".',
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
displayName: 'Destination Key',
|
|
147
|
-
name: 'destinationKey',
|
|
148
|
-
type: 'string',
|
|
149
|
-
displayOptions: {
|
|
150
|
-
show: {
|
|
151
|
-
mode: ['jsonToBinary'],
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
default: 'data',
|
|
155
|
-
required: true,
|
|
156
|
-
placeholder: 'data',
|
|
157
|
-
description: 'The name the binary key to copy data to. It is also possible to define deep keys by using dot-notation like for example: "level1.level2.newKey".',
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
displayName: 'Options',
|
|
161
|
-
name: 'options',
|
|
162
|
-
type: 'collection',
|
|
163
|
-
placeholder: 'Add option',
|
|
164
|
-
default: {},
|
|
165
|
-
options: [
|
|
166
|
-
{
|
|
167
|
-
displayName: 'Add Byte Order Mark (BOM)',
|
|
168
|
-
name: 'addBOM',
|
|
169
|
-
description: 'Whether to add special marker at the start of your text file. This marker helps some programs understand how to read the file correctly.',
|
|
170
|
-
displayOptions: {
|
|
171
|
-
show: {
|
|
172
|
-
'/mode': ['jsonToBinary'],
|
|
173
|
-
encoding: bomAware,
|
|
174
|
-
},
|
|
175
|
-
},
|
|
176
|
-
type: 'boolean',
|
|
177
|
-
default: false,
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
displayName: 'Data Is Base64',
|
|
181
|
-
name: 'dataIsBase64',
|
|
182
|
-
type: 'boolean',
|
|
183
|
-
displayOptions: {
|
|
184
|
-
hide: {
|
|
185
|
-
useRawData: [true],
|
|
186
|
-
},
|
|
187
|
-
show: {
|
|
188
|
-
'/mode': ['jsonToBinary'],
|
|
189
|
-
'/convertAllData': [false],
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
default: false,
|
|
193
|
-
description: 'Whether to keep the binary data as base64 string',
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
displayName: 'Encoding',
|
|
197
|
-
name: 'encoding',
|
|
198
|
-
type: 'options',
|
|
199
|
-
options: encodeDecodeOptions,
|
|
200
|
-
displayOptions: {
|
|
201
|
-
show: {
|
|
202
|
-
'/mode': ['binaryToJson', 'jsonToBinary'],
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
default: 'utf8',
|
|
206
|
-
description: 'Choose the character set to use to encode the data',
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
displayName: 'Strip BOM',
|
|
210
|
-
name: 'stripBOM',
|
|
211
|
-
displayOptions: {
|
|
212
|
-
show: {
|
|
213
|
-
'/mode': ['binaryToJson'],
|
|
214
|
-
encoding: bomAware,
|
|
215
|
-
},
|
|
216
|
-
},
|
|
217
|
-
type: 'boolean',
|
|
218
|
-
default: true,
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
displayName: 'File Name',
|
|
222
|
-
name: 'fileName',
|
|
223
|
-
type: 'string',
|
|
224
|
-
displayOptions: {
|
|
225
|
-
show: {
|
|
226
|
-
'/mode': ['jsonToBinary'],
|
|
227
|
-
},
|
|
228
|
-
},
|
|
229
|
-
default: '',
|
|
230
|
-
placeholder: 'example.json',
|
|
231
|
-
description: 'The file name to set',
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
displayName: 'JSON Parse',
|
|
235
|
-
name: 'jsonParse',
|
|
236
|
-
type: 'boolean',
|
|
237
|
-
displayOptions: {
|
|
238
|
-
hide: {
|
|
239
|
-
keepAsBase64: [true],
|
|
240
|
-
},
|
|
241
|
-
show: {
|
|
242
|
-
'/mode': ['binaryToJson'],
|
|
243
|
-
'/setAllData': [false],
|
|
244
|
-
},
|
|
245
|
-
},
|
|
246
|
-
default: false,
|
|
247
|
-
description: 'Whether to run JSON parse on the data to get proper object data',
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
displayName: 'Keep Source',
|
|
251
|
-
name: 'keepSource',
|
|
252
|
-
type: 'boolean',
|
|
253
|
-
default: false,
|
|
254
|
-
description: 'Whether the source key should be kept. By default it will be deleted.',
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
displayName: 'Keep As Base64',
|
|
258
|
-
name: 'keepAsBase64',
|
|
259
|
-
type: 'boolean',
|
|
260
|
-
displayOptions: {
|
|
261
|
-
hide: {
|
|
262
|
-
jsonParse: [true],
|
|
263
|
-
},
|
|
264
|
-
show: {
|
|
265
|
-
'/mode': ['binaryToJson'],
|
|
266
|
-
'/setAllData': [false],
|
|
267
|
-
},
|
|
268
|
-
},
|
|
269
|
-
default: false,
|
|
270
|
-
description: 'Whether to keep the binary data as base64 string',
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
displayName: 'MIME Type',
|
|
274
|
-
name: 'mimeType',
|
|
275
|
-
type: 'string',
|
|
276
|
-
displayOptions: {
|
|
277
|
-
show: {
|
|
278
|
-
'/mode': ['jsonToBinary'],
|
|
279
|
-
},
|
|
280
|
-
},
|
|
281
|
-
default: 'application/json',
|
|
282
|
-
placeholder: 'application/json',
|
|
283
|
-
description: 'The mime-type to set. By default will the mime-type for JSON be set.',
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
displayName: 'Use Raw Data',
|
|
287
|
-
name: 'useRawData',
|
|
288
|
-
type: 'boolean',
|
|
289
|
-
displayOptions: {
|
|
290
|
-
hide: {
|
|
291
|
-
dataIsBase64: [true],
|
|
292
|
-
},
|
|
293
|
-
show: {
|
|
294
|
-
'/mode': ['jsonToBinary'],
|
|
295
|
-
},
|
|
296
|
-
},
|
|
297
|
-
default: false,
|
|
298
|
-
description: 'Whether to use data as is and do not JSON.stringify it',
|
|
299
|
-
},
|
|
300
|
-
],
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
};
|
|
304
|
-
async execute() {
|
|
305
|
-
const items = this.getInputData();
|
|
306
|
-
const mode = this.getNodeParameter('mode', 0);
|
|
307
|
-
const returnData = [];
|
|
308
|
-
let item;
|
|
309
|
-
let newItem;
|
|
310
|
-
let options;
|
|
311
|
-
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
|
|
312
|
-
item = items[itemIndex];
|
|
313
|
-
options = this.getNodeParameter('options', itemIndex, {});
|
|
314
|
-
// Copy the whole JSON data as data on any level can be renamed
|
|
315
|
-
newItem = {
|
|
316
|
-
json: {},
|
|
317
|
-
pairedItem: {
|
|
318
|
-
item: itemIndex,
|
|
319
|
-
},
|
|
320
|
-
};
|
|
321
|
-
if (mode === 'binaryToJson') {
|
|
322
|
-
const setAllData = this.getNodeParameter('setAllData', itemIndex);
|
|
323
|
-
const sourceKey = this.getNodeParameter('sourceKey', itemIndex);
|
|
324
|
-
const value = (0, get_1.default)(item.binary, sourceKey);
|
|
325
|
-
if (value === undefined) {
|
|
326
|
-
// No data found so skip
|
|
327
|
-
continue;
|
|
328
|
-
}
|
|
329
|
-
const encoding = options.encoding || 'utf8';
|
|
330
|
-
const buffer = await this.helpers.getBinaryDataBuffer(itemIndex, sourceKey);
|
|
331
|
-
let convertedValue;
|
|
332
|
-
if (setAllData) {
|
|
333
|
-
// Set the full data
|
|
334
|
-
convertedValue = iconv_lite_1.default.decode(buffer, encoding, {
|
|
335
|
-
stripBOM: options.stripBOM,
|
|
336
|
-
});
|
|
337
|
-
newItem.json = (0, n8n_workflow_1.jsonParse)(convertedValue);
|
|
338
|
-
}
|
|
339
|
-
else {
|
|
340
|
-
// Does get added to existing data so copy it first
|
|
341
|
-
newItem.json = (0, n8n_workflow_1.deepCopy)(item.json);
|
|
342
|
-
if (options.keepAsBase64 !== true) {
|
|
343
|
-
convertedValue = iconv_lite_1.default.decode(buffer, encoding, {
|
|
344
|
-
stripBOM: options.stripBOM,
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
else {
|
|
348
|
-
convertedValue = Buffer.from(buffer).toString(n8n_workflow_1.BINARY_ENCODING);
|
|
349
|
-
}
|
|
350
|
-
if (options.jsonParse) {
|
|
351
|
-
convertedValue = (0, n8n_workflow_1.jsonParse)(convertedValue);
|
|
352
|
-
}
|
|
353
|
-
const destinationKey = this.getNodeParameter('destinationKey', itemIndex, '');
|
|
354
|
-
(0, set_1.default)(newItem.json, destinationKey, convertedValue);
|
|
355
|
-
}
|
|
356
|
-
if (options.keepSource === true) {
|
|
357
|
-
// Binary data does not get touched so simply reference it
|
|
358
|
-
newItem.binary = item.binary;
|
|
359
|
-
}
|
|
360
|
-
else {
|
|
361
|
-
// Binary data will change so copy it
|
|
362
|
-
newItem.binary = (0, n8n_workflow_1.deepCopy)(item.binary);
|
|
363
|
-
(0, unset_1.default)(newItem.binary, sourceKey);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
else if (mode === 'jsonToBinary') {
|
|
367
|
-
const convertAllData = this.getNodeParameter('convertAllData', itemIndex);
|
|
368
|
-
const destinationKey = this.getNodeParameter('destinationKey', itemIndex);
|
|
369
|
-
const encoding = options.encoding || 'utf8';
|
|
370
|
-
let value = item.json;
|
|
371
|
-
if (!convertAllData) {
|
|
372
|
-
const sourceKey = this.getNodeParameter('sourceKey', itemIndex);
|
|
373
|
-
value = (0, get_1.default)(item.json, sourceKey);
|
|
374
|
-
}
|
|
375
|
-
if (value === undefined) {
|
|
376
|
-
// No data found so skip
|
|
377
|
-
continue;
|
|
378
|
-
}
|
|
379
|
-
if (item.binary !== undefined) {
|
|
380
|
-
// Item already has binary data so copy it
|
|
381
|
-
newItem.binary = (0, n8n_workflow_1.deepCopy)(item.binary);
|
|
382
|
-
}
|
|
383
|
-
else {
|
|
384
|
-
// Item does not have binary data yet so initialize empty
|
|
385
|
-
newItem.binary = {};
|
|
386
|
-
}
|
|
387
|
-
const nodeVersion = this.getNode().typeVersion;
|
|
388
|
-
let mimeType = options.mimeType;
|
|
389
|
-
let data;
|
|
390
|
-
if (options.dataIsBase64 !== true) {
|
|
391
|
-
if (options.useRawData !== true || typeof value === 'object') {
|
|
392
|
-
value = JSON.stringify(value);
|
|
393
|
-
if (!mimeType) {
|
|
394
|
-
mimeType = 'application/json';
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
data = iconv_lite_1.default.encode(value, encoding, { addBOM: options.addBOM });
|
|
398
|
-
}
|
|
399
|
-
else {
|
|
400
|
-
data = Buffer.from(value, n8n_workflow_1.BINARY_ENCODING);
|
|
401
|
-
}
|
|
402
|
-
if (!mimeType && nodeVersion === 1) {
|
|
403
|
-
mimeType = 'application/json';
|
|
404
|
-
}
|
|
405
|
-
const convertedValue = await this.helpers.prepareBinaryData(data, options.fileName, mimeType);
|
|
406
|
-
if (!convertedValue.fileName && nodeVersion > 1) {
|
|
407
|
-
const fileExtension = convertedValue.fileExtension
|
|
408
|
-
? `.${convertedValue.fileExtension}`
|
|
409
|
-
: '';
|
|
410
|
-
convertedValue.fileName = `file${fileExtension}`;
|
|
411
|
-
}
|
|
412
|
-
(0, set_1.default)(newItem.binary, destinationKey, convertedValue);
|
|
413
|
-
if (options.keepSource === true) {
|
|
414
|
-
// JSON data does not get touched so simply reference it
|
|
415
|
-
newItem.json = item.json;
|
|
416
|
-
}
|
|
417
|
-
else {
|
|
418
|
-
// JSON data will change so copy it
|
|
419
|
-
if (convertAllData) {
|
|
420
|
-
// Data should not be kept and all data got converted. So simply set new as empty
|
|
421
|
-
newItem.json = {};
|
|
422
|
-
}
|
|
423
|
-
else {
|
|
424
|
-
// Data should not be kept and only one key has to get removed. So copy all
|
|
425
|
-
// data and then remove the not needed one
|
|
426
|
-
newItem.json = (0, n8n_workflow_1.deepCopy)(item.json);
|
|
427
|
-
const sourceKey = this.getNodeParameter('sourceKey', itemIndex);
|
|
428
|
-
(0, unset_1.default)(newItem.json, sourceKey);
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
else {
|
|
433
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The operation "${mode}" is not known!`, {
|
|
434
|
-
itemIndex,
|
|
435
|
-
});
|
|
436
|
-
}
|
|
437
|
-
returnData.push(newItem);
|
|
438
|
-
}
|
|
439
|
-
return [returnData];
|
|
440
|
-
}
|
|
441
|
-
}
|
|
442
|
-
exports.MoveBinaryData = MoveBinaryData;
|
|
443
|
-
//# sourceMappingURL=MoveBinaryData.node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MoveBinaryData.node.js","sourceRoot":"","sources":["../../../nodes/MoveBinaryData/MoveBinaryData.node.ts"],"names":[],"mappings":";;;;;;AAAA,4DAA+B;AAC/B,qDAA6B;AAC7B,qDAA6B;AAC7B,yDAAiC;AASjC,+CAMsB;AAEtB,oBAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAE7B,2CAA2C;AAC3C,MAAM,QAAQ,GAAa,EAAE,CAAC;AAC9B,MAAM,mBAAmB,GAA2B,EAAE,CAAC;AACvD,MAAM,SAAS,GAAI,oBAAa,CAAC,SAAS,CAAC;AAC3C,MAAM,CAAC,IAAI,CAAC,SAAwB,CAAC,CAAC,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;IAC1D,IAAI,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,OAAO,SAAS,CAAC,QAAQ,CAAC,KAAK,QAAQ,CAAC,EAAE,CAAC;QAC5E,mDAAmD;QACnD,IAAI,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,EAAE,CAAC;YAClC,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzB,CAAC;QACD,mBAAmB,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAC/D,CAAC;AACF,CAAC,CAAC,CAAC;AAEH,mBAAmB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;IACjC,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;QACrB,OAAO,CAAC,CAAC,CAAC;IACX,CAAC;IACD,IAAI,CAAC,CAAC,I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ryData",
|
|
3
|
-
"nodeVersion": "1.0",
|
|
4
|
-
"codexVersion": "1.0",
|
|
5
|
-
"categories": ["Core Nodes"],
|
|
6
|
-
"resources": {
|
|
7
|
-
"primaryDocumentation": [
|
|
8
|
-
{
|
|
9
|
-
"url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.converttofile/"
|
|
10
|
-
}
|
|
11
|
-
]
|
|
12
|
-
},
|
|
13
|
-
"subcategories": {
|
|
14
|
-
"Core Nodes": ["Files"]
|
|
15
|
-
},
|
|
16
|
-
"alias": ["Move Binary Data"]
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChatDescription.d.ts","sourceRoot":"","sources":["../../../nodes/OpenAi/ChatDescription.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,cAAc,CAAC;AAIxE,eAAO,MAAM,cAAc,EAAE,eAAe,EA4B3C,CAAC;AA6WF,eAAO,MAAM,UAAU,EAAE,eAAe,EAUvC,CAAC"}
|