n8n-nodes-base 2.45.3 → 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/AsanaOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/AsanaOAuth2Api.credentials.js +2 -1
- package/dist/credentials/AsanaOAuth2Api.credentials.js.map +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 +6 -4
- package/dist/methods/referenced.json +3 -4
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +0 -4
- 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/databricks/v1/index.schema.js +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/index.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/index.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/index.ts +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_delete_rows.schema.js +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_delete_rows.ts +80 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_execute_function.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_execute_function.ts +81 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_get_all.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_get_all.ts +120 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_insert.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_insert.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_update.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_update.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_upsert.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/operation_upsert.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/editImage/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/editImage/v2.schema.js +55 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/editImage/v2.ts +376 -0
- 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/formTrigger/v26.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/formTrigger/v26.ts +2 -2
- 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/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.schema.js +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/index.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_project/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_project/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_project/operation_add_user.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_project/operation_add_user.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v1.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v11.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v11.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v2.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v2.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v21.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v21.ts +7 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v22.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v22.ts +7 -0
- package/dist/nodes/Asana/Asana.node.d.ts.map +1 -1
- package/dist/nodes/Asana/Asana.node.js +5 -2
- package/dist/nodes/Asana/Asana.node.js.map +1 -1
- 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/Databricks/Databricks.node.d.ts.map +1 -1
- package/dist/nodes/Databricks/Databricks.node.js +5 -0
- package/dist/nodes/Databricks/Databricks.node.js.map +1 -1
- package/dist/nodes/Databricks/Databricks.node.json +1 -0
- package/dist/nodes/Databricks/actions/lakebase/Lakebase.resource.d.ts +1 -0
- package/dist/nodes/Databricks/actions/lakebase/Lakebase.resource.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/Lakebase.resource.js +2 -1
- package/dist/nodes/Databricks/actions/lakebase/Lakebase.resource.js.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/executeFunction.operation.d.ts +3 -0
- package/dist/nodes/Databricks/actions/lakebase/executeFunction.operation.d.ts.map +1 -0
- package/dist/nodes/Databricks/actions/lakebase/executeFunction.operation.js +60 -0
- package/dist/nodes/Databricks/actions/lakebase/executeFunction.operation.js.map +1 -0
- package/dist/nodes/Databricks/actions/lakebase/helpers.d.ts +8 -6
- package/dist/nodes/Databricks/actions/lakebase/helpers.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/helpers.js +16 -9
- package/dist/nodes/Databricks/actions/lakebase/helpers.js.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/openApiDocument.d.ts +1 -0
- package/dist/nodes/Databricks/actions/lakebase/openApiDocument.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/openApiDocument.js +2 -1
- package/dist/nodes/Databricks/actions/lakebase/openApiDocument.js.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/schema.d.ts +4 -0
- package/dist/nodes/Databricks/actions/lakebase/schema.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/schema.js +46 -15
- package/dist/nodes/Databricks/actions/lakebase/schema.js.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/upsert.operation.d.ts.map +1 -1
- package/dist/nodes/Databricks/actions/lakebase/upsert.operation.js +53 -16
- package/dist/nodes/Databricks/actions/lakebase/upsert.operation.js.map +1 -1
- package/dist/nodes/Databricks/methods/listSearch.d.ts +1 -0
- package/dist/nodes/Databricks/methods/listSearch.d.ts.map +1 -1
- package/dist/nodes/Databricks/methods/listSearch.js +32 -2
- package/dist/nodes/Databricks/methods/listSearch.js.map +1 -1
- package/dist/nodes/Databricks/methods/loadOptions.js +1 -1
- package/dist/nodes/Databricks/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Databricks/methods/resourceMapping.d.ts +2 -0
- package/dist/nodes/Databricks/methods/resourceMapping.d.ts.map +1 -1
- package/dist/nodes/Databricks/methods/resourceMapping.js +59 -12
- package/dist/nodes/Databricks/methods/resourceMapping.js.map +1 -1
- package/dist/nodes/Databricks/resources/lakebase/operations.d.ts.map +1 -1
- package/dist/nodes/Databricks/resources/lakebase/operations.js +6 -0
- package/dist/nodes/Databricks/resources/lakebase/operations.js.map +1 -1
- package/dist/nodes/Databricks/resources/lakebase/parameters.d.ts.map +1 -1
- package/dist/nodes/Databricks/resources/lakebase/parameters.js +114 -1
- package/dist/nodes/Databricks/resources/lakebase/parameters.js.map +1 -1
- package/dist/nodes/Databricks/transport/index.d.ts +1 -1
- package/dist/nodes/Databricks/transport/index.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/index.js +1 -2
- package/dist/nodes/Databricks/transport/index.js.map +1 -1
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.js +5 -4
- package/dist/nodes/Databricks/transport/lakebaseEndpoint.js.map +1 -1
- package/dist/nodes/Databricks/transport/lakebaseErrors.d.ts +1 -0
- package/dist/nodes/Databricks/transport/lakebaseErrors.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/lakebaseErrors.js +18 -10
- package/dist/nodes/Databricks/transport/lakebaseErrors.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/E2eTest/E2eTestPollingTrigger.node.d.ts.map +1 -1
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.js +1 -0
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.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 +54 -347
- package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
- package/dist/nodes/EditImage/v2/actions/blur.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/blur.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/blur.operation.js +13 -0
- package/dist/nodes/EditImage/v2/actions/blur.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/border.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/border.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/border.operation.js +18 -0
- package/dist/nodes/EditImage/v2/actions/border.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/composite.operation.d.ts +5 -0
- package/dist/nodes/EditImage/v2/actions/composite.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/composite.operation.js +236 -0
- package/dist/nodes/EditImage/v2/actions/composite.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/create.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/create.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/create.operation.js +8 -0
- package/dist/nodes/EditImage/v2/actions/create.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/crop.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/crop.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/crop.operation.js +24 -0
- package/dist/nodes/EditImage/v2/actions/crop.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/draw.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/draw.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/draw.operation.js +36 -0
- package/dist/nodes/EditImage/v2/actions/draw.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/information.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/information.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/information.operation.js +95 -0
- package/dist/nodes/EditImage/v2/actions/information.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/node.type.d.ts +3 -0
- package/dist/nodes/EditImage/v2/actions/node.type.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/node.type.js +19 -0
- package/dist/nodes/EditImage/v2/actions/node.type.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/resize.operation.d.ts +8 -0
- package/dist/nodes/EditImage/v2/actions/resize.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/resize.operation.js +48 -0
- package/dist/nodes/EditImage/v2/actions/resize.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/rotate.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/rotate.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/rotate.operation.js +27 -0
- package/dist/nodes/EditImage/v2/actions/rotate.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/router.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/router.js +163 -0
- package/dist/nodes/EditImage/v2/actions/router.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/shear.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/shear.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/shear.operation.js +29 -0
- package/dist/nodes/EditImage/v2/actions/shear.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/text.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/text.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/text.operation.js +106 -0
- package/dist/nodes/EditImage/v2/actions/text.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/actions/transparent.operation.d.ts +4 -0
- package/dist/nodes/EditImage/v2/actions/transparent.operation.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/actions/transparent.operation.js +24 -0
- package/dist/nodes/EditImage/v2/actions/transparent.operation.js.map +1 -0
- package/dist/nodes/EditImage/v2/helpers.d.ts +28 -0
- package/dist/nodes/EditImage/v2/helpers.d.ts.map +1 -0
- package/dist/nodes/EditImage/v2/helpers.js +269 -0
- package/dist/nodes/EditImage/v2/helpers.js.map +1 -0
- 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/ExecutionData/ExecutionData.node.d.ts.map +1 -1
- package/dist/nodes/ExecutionData/ExecutionData.node.js +4 -2
- package/dist/nodes/ExecutionData/ExecutionData.node.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/v2/FormTriggerV2.node.d.ts +1 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.d.ts.map +1 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.js +4 -1
- package/dist/nodes/Form/v2/FormTriggerV2.node.js.map +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/Google/Sheet/GoogleSheetsTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +8 -0
- package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
- package/dist/nodes/HttpRequest/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/GenericFunctions.js +5 -0
- package/dist/nodes/HttpRequest/GenericFunctions.js.map +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +2 -3
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +2 -3
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +6 -4
- 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/Kafka/utils.d.ts.map +1 -1
- package/dist/nodes/Kafka/utils.js +4 -7
- package/dist/nodes/Kafka/utils.js.map +1 -1
- package/dist/nodes/Kafka/v2/consumer/DataEmitter.d.ts.map +1 -1
- package/dist/nodes/Kafka/v2/consumer/DataEmitter.js +6 -21
- package/dist/nodes/Kafka/v2/consumer/DataEmitter.js.map +1 -1
- package/dist/nodes/Lemlist/LemlistTrigger.node.d.ts +4 -1
- package/dist/nodes/Lemlist/LemlistTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Lemlist/LemlistTrigger.node.js +2 -5
- package/dist/nodes/Lemlist/LemlistTrigger.node.js.map +1 -1
- package/dist/nodes/Lemlist/v1/LemlistV1.node.d.ts +4 -1
- package/dist/nodes/Lemlist/v1/LemlistV1.node.d.ts.map +1 -1
- package/dist/nodes/Lemlist/v1/LemlistV1.node.js +2 -5
- package/dist/nodes/Lemlist/v1/LemlistV1.node.js.map +1 -1
- package/dist/nodes/Lemlist/v2/LemlistV2.node.d.ts +4 -1
- package/dist/nodes/Lemlist/v2/LemlistV2.node.d.ts.map +1 -1
- package/dist/nodes/Lemlist/v2/LemlistV2.node.js +2 -5
- package/dist/nodes/Lemlist/v2/LemlistV2.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/Microsoft/SharePoint/v1/descriptions/item/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v1/descriptions/item/getAll.operation.js +2 -0
- package/dist/nodes/Microsoft/SharePoint/v1/descriptions/item/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +5 -4
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts +50 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js +63 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js.map +1 -1
- package/dist/nodes/MySql/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/MySql/v2/transport/index.js +6 -1
- package/dist/nodes/MySql/v2/transport/index.js.map +1 -1
- package/dist/nodes/N8n/N8n.node.d.ts.map +1 -1
- package/dist/nodes/N8n/N8n.node.js +7 -1
- package/dist/nodes/N8n/N8n.node.js.map +1 -1
- package/dist/nodes/N8n/ProjectDescription.d.ts +4 -0
- package/dist/nodes/N8n/ProjectDescription.d.ts.map +1 -0
- package/dist/nodes/N8n/ProjectDescription.js +112 -0
- package/dist/nodes/N8n/ProjectDescription.js.map +1 -0
- package/dist/nodes/N8nTrigger/N8nTrigger.node.d.ts.map +1 -1
- package/dist/nodes/N8nTrigger/N8nTrigger.node.js +0 -1
- package/dist/nodes/N8nTrigger/N8nTrigger.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/Postgres/transport/index.d.ts.map +1 -1
- package/dist/nodes/Postgres/transport/index.js +23 -10
- package/dist/nodes/Postgres/transport/index.js.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/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/Strava/StravaTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Strava/StravaTrigger.node.js +10 -7
- package/dist/nodes/Strava/StravaTrigger.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/nodes/Transform/Summarize/utils.d.ts.map +1 -1
- package/dist/nodes/Transform/Summarize/utils.js +5 -0
- package/dist/nodes/Transform/Summarize/utils.js.map +1 -1
- package/dist/nodes/Wait/Wait.node.d.ts +1 -1
- package/dist/nodes/Webhook/Webhook.node.d.ts +6 -0
- package/dist/nodes/Webhook/Webhook.node.d.ts.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.js +10 -1
- package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
- package/dist/nodes/Webhook/description.d.ts +1 -0
- package/dist/nodes/Webhook/description.d.ts.map +1 -1
- package/dist/nodes/Webhook/description.js +17 -1
- package/dist/nodes/Webhook/description.js.map +1 -1
- package/dist/nodes/Workable/WorkableTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Workable/WorkableTrigger.node.js +14 -0
- package/dist/nodes/Workable/WorkableTrigger.node.js.map +1 -1
- package/dist/types/credentials.json +5 -6
- package/dist/types/nodes.json +42 -60
- package/dist/utils/trusted-source.d.ts +5 -0
- package/dist/utils/trusted-source.d.ts.map +1 -1
- package/dist/utils/trusted-source.js +13 -5
- package/dist/utils/trusted-source.js.map +1 -1
- package/package.json +24 -37
- 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/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/index.ts +0 -12
- package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.schema.js +0 -25
- package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.ts +0 -73
- 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 -189
- 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 -211
- 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.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/N8n/n8n.svg +0 -1
- package/dist/nodes/N8nTrigger/n8nTrigger.svg +0 -1
- 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
- /package/dist/nodes/{ItemLists/V3 → EditImage/v2}/actions/router.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeV2.node.js","sourceRoot":"","sources":["../../../../nodes/DateTime/V2/DateTimeV2.node.ts"],"names":[],"mappings":";;;AACA,iCAAiC;AACjC,+CAAuE;AASvE,iEAA8D;AAC9D,qEAAkE;AAClE,qEAAkE;AAClE,mEAAgE;AAChE,yDAA+C;AAC/C,+DAAuE;AACvE,iEAA8D;AAC9D,+EAA4E;AAE5E;IACC,WAAW,CAAuB;IAElC,YAAY,eAAyC;QACpD,IAAI,CAAC,WAAW,GAAG;YAClB,GAAG,eAAe;YAClB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE;gBACT,IAAI,EAAE,aAAa;
|
|
1
|
+
{"version":3,"file":"DateTimeV2.node.js","sourceRoot":"","sources":["../../../../nodes/DateTime/V2/DateTimeV2.node.ts"],"names":[],"mappings":";;;AACA,iCAAiC;AACjC,+CAAuE;AASvE,iEAA8D;AAC9D,qEAAkE;AAClE,qEAAkE;AAClE,mEAAgE;AAChE,yDAA+C;AAC/C,+DAAuE;AACvE,iEAA8D;AAC9D,+EAA4E;AAE5E;IACC,WAAW,CAAuB;IAElC,YAAY,eAAyC;QACpD,IAAI,CAAC,WAAW,GAAG;YAClB,GAAG,eAAe;YAClB,OAAO,EAAE,CAAC;YACV,SAAS,EAAE,OAAO;YAClB,QAAQ,EAAE;gBACT,IAAI,EAAE,aAAa;aACnB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE,iCAAiC;YAC9C,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,eAAe;4BACrB,KAAK,EAAE,WA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,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,MAAM,cAAc,CAAC;AAYtB,qBAAa,qBAAsB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"E2eTestPollingTrigger.node.d.ts","sourceRoot":"","sources":["../../../nodes/E2eTest/E2eTestPollingTrigger.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAIN,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,MAAM,cAAc,CAAC;AAYtB,qBAAa,qBAAsB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAyB/B;IAEI,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,GAAG,IAAI,CAAC,CAgCvE;CACD"}
|
|
@@ -8,6 +8,7 @@ const highestItemId = (items, startingFrom) => items.reduce((highest, item) => {
|
|
|
8
8
|
}, startingFrom);
|
|
9
9
|
class E2eTestPollingTrigger {
|
|
10
10
|
description = {
|
|
11
|
+
hidden: true,
|
|
11
12
|
displayName: 'E2E Test Polling Trigger',
|
|
12
13
|
name: 'e2eTestPollingTrigger',
|
|
13
14
|
icon: 'fa:play',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"E2eTestPollingTrigger.node.js","sourceRoot":"","sources":["../../../nodes/E2eTest/E2eTestPollingTrigger.node.ts"],"names":[],"mappings":";;;AAAA,+CAQsB;AAMtB,MAAM,aAAa,GAAG,CAAC,KAAoB,EAAE,YAAoB,EAAE,EAAE,CACpE,KAAK,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,IAAI,EAAE,EAAE;IAC9B,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC3B,OAAO,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,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AAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC;QAElF,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE;YACtC,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YAC3B,OAAO,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,UAAU,KAAK,IAAI,IAAI,EAAE,GAAG,UAAU,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;QAEH,6EAA6E;QAC7E,cAAc,CAAC,UAAU,GAAG,aAAa,CAAC,KAAK,EAAE,UAAU,IAAI,CAAC,CAAC,CAAC;QAElE,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QAEvC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,CAAC;IACjD,CAAC;CACD"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { IExecuteFunctions, ILoadOptionsFunctions,
|
|
2
|
-
export declare function resolveGravity(horizontal: string, vertical: string): string;
|
|
1
|
+
import type { IExecuteFunctions, ILoadOptionsFunctions, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
3
2
|
export declare class EditImage implements INodeType {
|
|
4
3
|
description: INodeTypeDescription;
|
|
5
4
|
methods: {
|
|
@@ -7,6 +6,6 @@ export declare class EditImage implements INodeType {
|
|
|
7
6
|
getFonts(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
7
|
};
|
|
9
8
|
};
|
|
10
|
-
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
9
|
+
execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
|
|
11
10
|
}
|
|
12
11
|
//# sourceMappingURL=EditImage.node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditImage.node.d.ts","sourceRoot":"","sources":["../../../nodes/EditImage/EditImage.node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EditImage.node.d.ts","sourceRoot":"","sources":["../../../nodes/EditImage/EditImage.node.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,iBAAiB,EACjB,qBAAqB,EAErB,oBAAoB,EACpB,SAAS,EACT,oBAAoB,EACpB,MAAM,cAAc,CAAC;AAgzBtB,qBAAa,SAAU,YAAW,SAAS;IAC1C,WAAW,EAAE,oBAAoB,CAuO/B;IAEF,OAAO;QACN,WAAW;YACJ,QAAQ,OAAO,qBAAqB,GAAG,OAAO,CAAC,oBAAoB,EAAE,CAAC;;MA6B5E;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,0DASpC;CACD"}
|
|
@@ -4,51 +4,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.EditImage = void 0;
|
|
7
|
-
exports.resolveGravity = resolveGravity;
|
|
8
|
-
const promises_1 = require("fs/promises");
|
|
9
7
|
const get_system_fonts_1 = __importDefault(require("get-system-fonts"));
|
|
10
|
-
const gm_1 = __importDefault(require("gm"));
|
|
11
8
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
12
9
|
const path_1 = require("path");
|
|
13
|
-
const
|
|
14
|
-
const GRAVITY_MAP = {
|
|
15
|
-
west: { north: 'northwest', middle: 'west', south: 'southwest' },
|
|
16
|
-
center: { north: 'north', middle: 'center', south: 'south' },
|
|
17
|
-
east: { north: 'northeast', middle: 'east', south: 'southeast' },
|
|
18
|
-
};
|
|
19
|
-
function resolveGravity(horizontal, vertical) {
|
|
20
|
-
return GRAVITY_MAP[horizontal]?.[vertical] ?? 'northwest';
|
|
21
|
-
}
|
|
22
|
-
const numericOperationParameters = {
|
|
23
|
-
blur: ['blur', 'sigma'],
|
|
24
|
-
border: ['borderWidth', 'borderHeight'],
|
|
25
|
-
composite: ['positionX', 'positionY'],
|
|
26
|
-
create: ['width', 'height'],
|
|
27
|
-
crop: ['width', 'height', 'positionX', 'positionY'],
|
|
28
|
-
draw: ['startPositionX', 'startPositionY', 'endPositionX', 'endPositionY', 'cornerRadius'],
|
|
29
|
-
resize: ['width', 'height'],
|
|
30
|
-
rotate: ['rotate'],
|
|
31
|
-
shear: ['degreesX', 'degreesY'],
|
|
32
|
-
text: ['fontSize', 'positionX', 'positionY', 'lineLength'],
|
|
33
|
-
};
|
|
34
|
-
function parseNumericParameter(value, parameterName, node) {
|
|
35
|
-
if ((typeof value !== 'number' && typeof value !== 'string') ||
|
|
36
|
-
(typeof value === 'string' && value.trim() === '')) {
|
|
37
|
-
throw new n8n_workflow_1.NodeOperationError(node, `The value of "${parameterName}" must be a number`);
|
|
38
|
-
}
|
|
39
|
-
const parsedValue = Number(value);
|
|
40
|
-
if (!Number.isFinite(parsedValue)) {
|
|
41
|
-
throw new n8n_workflow_1.NodeOperationError(node, `The value of "${parameterName}" must be a number`);
|
|
42
|
-
}
|
|
43
|
-
return parsedValue;
|
|
44
|
-
}
|
|
45
|
-
const VALID_IMAGE_FORMATS = new Set(['bmp', 'gif', 'jpeg', 'png', 'tiff', 'tif', 'webp']);
|
|
46
|
-
function validateImageFormat(format, node) {
|
|
47
|
-
if (typeof format === 'string' && VALID_IMAGE_FORMATS.has(format)) {
|
|
48
|
-
return format;
|
|
49
|
-
}
|
|
50
|
-
throw new n8n_workflow_1.NodeOperationError(node, `Invalid image format: ${format}. Valid formats are: ${Array.from(VALID_IMAGE_FORMATS).join(', ')}`);
|
|
51
|
-
}
|
|
10
|
+
const router_1 = require("./v2/actions/router");
|
|
52
11
|
const nodeOperations = [
|
|
53
12
|
{
|
|
54
13
|
name: 'Blur',
|
|
@@ -426,6 +385,7 @@ const nodeOperationOptions = [
|
|
|
426
385
|
displayOptions: {
|
|
427
386
|
show: {
|
|
428
387
|
operation: ['blur'],
|
|
388
|
+
'@version': [{ _cnd: { lt: 2 } }],
|
|
429
389
|
},
|
|
430
390
|
},
|
|
431
391
|
description: 'How strong the blur should be',
|
|
@@ -442,10 +402,28 @@ const nodeOperationOptions = [
|
|
|
442
402
|
displayOptions: {
|
|
443
403
|
show: {
|
|
444
404
|
operation: ['blur'],
|
|
405
|
+
'@version': [{ _cnd: { lt: 2 } }],
|
|
445
406
|
},
|
|
446
407
|
},
|
|
447
408
|
description: 'The sigma of the blur',
|
|
448
409
|
},
|
|
410
|
+
{
|
|
411
|
+
displayName: 'Blur Radius',
|
|
412
|
+
name: 'blurRadius',
|
|
413
|
+
type: 'number',
|
|
414
|
+
typeOptions: {
|
|
415
|
+
minValue: 0,
|
|
416
|
+
maxValue: 1000,
|
|
417
|
+
},
|
|
418
|
+
default: 5,
|
|
419
|
+
displayOptions: {
|
|
420
|
+
show: {
|
|
421
|
+
operation: ['blur'],
|
|
422
|
+
'@version': [{ _cnd: { gte: 2 } }],
|
|
423
|
+
},
|
|
424
|
+
},
|
|
425
|
+
description: 'Blur radius in pixels',
|
|
426
|
+
},
|
|
449
427
|
// ----------------------------------
|
|
450
428
|
// border
|
|
451
429
|
// ----------------------------------
|
|
@@ -833,8 +811,8 @@ class EditImage {
|
|
|
833
811
|
icon: 'node:edit-image',
|
|
834
812
|
iconColor: 'purple',
|
|
835
813
|
group: ['transform'],
|
|
836
|
-
version: [1, 1.1],
|
|
837
|
-
defaultVersion:
|
|
814
|
+
version: [1, 1.1, 2],
|
|
815
|
+
defaultVersion: 2,
|
|
838
816
|
description: 'Edits an image like blur, resize or adding border and text',
|
|
839
817
|
defaults: {
|
|
840
818
|
name: 'Edit Image',
|
|
@@ -842,6 +820,17 @@ class EditImage {
|
|
|
842
820
|
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
843
821
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
844
822
|
properties: [
|
|
823
|
+
{
|
|
824
|
+
displayName: 'This node version is no longer supported. Upgrade to version 2 to run this workflow.',
|
|
825
|
+
name: 'legacyVersionNotice',
|
|
826
|
+
type: 'notice',
|
|
827
|
+
default: '',
|
|
828
|
+
displayOptions: {
|
|
829
|
+
show: {
|
|
830
|
+
'@version': [{ _cnd: { lt: 2 } }],
|
|
831
|
+
},
|
|
832
|
+
},
|
|
833
|
+
},
|
|
845
834
|
{
|
|
846
835
|
displayName: 'Operation',
|
|
847
836
|
name: 'operation',
|
|
@@ -1017,10 +1006,28 @@ class EditImage {
|
|
|
1017
1006
|
displayOptions: {
|
|
1018
1007
|
show: {
|
|
1019
1008
|
format: ['jpeg', 'png', 'tiff'],
|
|
1009
|
+
'@version': [{ _cnd: { lt: 2 } }],
|
|
1020
1010
|
},
|
|
1021
1011
|
},
|
|
1022
1012
|
description: 'Sets the jpeg|png|tiff compression level from 0 to 100 (best)',
|
|
1023
1013
|
},
|
|
1014
|
+
{
|
|
1015
|
+
displayName: 'Quality',
|
|
1016
|
+
name: 'quality',
|
|
1017
|
+
type: 'number',
|
|
1018
|
+
typeOptions: {
|
|
1019
|
+
minValue: 0,
|
|
1020
|
+
maxValue: 100,
|
|
1021
|
+
},
|
|
1022
|
+
default: 100,
|
|
1023
|
+
displayOptions: {
|
|
1024
|
+
show: {
|
|
1025
|
+
format: ['jpeg', 'webp'],
|
|
1026
|
+
'@version': [{ _cnd: { gte: 2 } }],
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
description: 'Sets the JPEG or WebP quality from 0 to 100',
|
|
1030
|
+
},
|
|
1024
1031
|
],
|
|
1025
1032
|
},
|
|
1026
1033
|
],
|
|
@@ -1054,310 +1061,10 @@ class EditImage {
|
|
|
1054
1061
|
},
|
|
1055
1062
|
};
|
|
1056
1063
|
async execute() {
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
const length = items.length;
|
|
1060
|
-
let item;
|
|
1061
|
-
for (let itemIndex = 0; itemIndex < length; itemIndex++) {
|
|
1062
|
-
try {
|
|
1063
|
-
item = items[itemIndex];
|
|
1064
|
-
const node = this.getNode();
|
|
1065
|
-
const operation = this.getNodeParameter('operation', itemIndex);
|
|
1066
|
-
const dataPropertyName = this.getNodeParameter('dataPropertyName', itemIndex);
|
|
1067
|
-
const options = this.getNodeParameter('options', itemIndex, {});
|
|
1068
|
-
let binaryPropertyName = options.destinationKey;
|
|
1069
|
-
if (!binaryPropertyName) {
|
|
1070
|
-
binaryPropertyName = typeof dataPropertyName === 'string' ? dataPropertyName : 'data';
|
|
1071
|
-
}
|
|
1072
|
-
const cleanupFunctions = [];
|
|
1073
|
-
let gmInstance;
|
|
1074
|
-
const requiredOperationParameters = {
|
|
1075
|
-
blur: ['blur', 'sigma'],
|
|
1076
|
-
border: ['borderColor', 'borderWidth', 'borderHeight'],
|
|
1077
|
-
create: ['backgroundColor', 'height', 'width'],
|
|
1078
|
-
crop: ['height', 'positionX', 'positionY', 'width'],
|
|
1079
|
-
composite: ['dataPropertyNameComposite', 'operator', 'positionX', 'positionY'],
|
|
1080
|
-
draw: [
|
|
1081
|
-
'color',
|
|
1082
|
-
'cornerRadius',
|
|
1083
|
-
'endPositionX',
|
|
1084
|
-
'endPositionY',
|
|
1085
|
-
'primitive',
|
|
1086
|
-
'startPositionX',
|
|
1087
|
-
'startPositionY',
|
|
1088
|
-
],
|
|
1089
|
-
information: [],
|
|
1090
|
-
resize: ['height', 'resizeOption', 'width'],
|
|
1091
|
-
rotate: ['backgroundColor', 'rotate'],
|
|
1092
|
-
shear: ['degreesX', 'degreesY'],
|
|
1093
|
-
text: [
|
|
1094
|
-
'horizontalAlignment',
|
|
1095
|
-
'verticalAlignment',
|
|
1096
|
-
'font',
|
|
1097
|
-
'fontColor',
|
|
1098
|
-
'fontSize',
|
|
1099
|
-
'lineLength',
|
|
1100
|
-
'positionX',
|
|
1101
|
-
'positionY',
|
|
1102
|
-
'text',
|
|
1103
|
-
],
|
|
1104
|
-
transparent: ['color'],
|
|
1105
|
-
};
|
|
1106
|
-
let operations = [];
|
|
1107
|
-
if (operation === 'multiStep') {
|
|
1108
|
-
// Operation parameters are already in the correct format
|
|
1109
|
-
const operationsData = this.getNodeParameter('operations', itemIndex, {
|
|
1110
|
-
operations: [],
|
|
1111
|
-
});
|
|
1112
|
-
operations = operationsData.operations;
|
|
1113
|
-
}
|
|
1114
|
-
else {
|
|
1115
|
-
// Operation parameters have to first get collected
|
|
1116
|
-
const operationParameters = {};
|
|
1117
|
-
requiredOperationParameters[operation].forEach((parameterName) => {
|
|
1118
|
-
try {
|
|
1119
|
-
operationParameters[parameterName] = this.getNodeParameter(parameterName, itemIndex);
|
|
1120
|
-
}
|
|
1121
|
-
catch (error) { }
|
|
1122
|
-
});
|
|
1123
|
-
operations = [
|
|
1124
|
-
{
|
|
1125
|
-
operation,
|
|
1126
|
-
...operationParameters,
|
|
1127
|
-
},
|
|
1128
|
-
];
|
|
1129
|
-
}
|
|
1130
|
-
for (const operationData of operations) {
|
|
1131
|
-
const operationName = operationData.operation;
|
|
1132
|
-
if (typeof operationName !== 'string')
|
|
1133
|
-
continue;
|
|
1134
|
-
for (const parameterName of numericOperationParameters[operationName] ?? []) {
|
|
1135
|
-
// 'cornerRadius' is applicable only when drawing a rectangle
|
|
1136
|
-
if (parameterName === 'cornerRadius' && operationData.primitive !== 'rectangle')
|
|
1137
|
-
continue;
|
|
1138
|
-
operationData[parameterName] = parseNumericParameter(operationData[parameterName], parameterName, node);
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
if (options.quality !== undefined) {
|
|
1142
|
-
options.quality = parseNumericParameter(options.quality, 'quality', node);
|
|
1143
|
-
}
|
|
1144
|
-
if (operations[0].operation !== 'create') {
|
|
1145
|
-
// "create" generates a new image so does not require any incoming data.
|
|
1146
|
-
this.helpers.assertBinaryData(itemIndex, dataPropertyName);
|
|
1147
|
-
const binaryDataBuffer = await this.helpers.getBinaryDataBuffer(itemIndex, dataPropertyName);
|
|
1148
|
-
gmInstance = (0, gm_1.default)(binaryDataBuffer);
|
|
1149
|
-
gmInstance = gmInstance.background('transparent');
|
|
1150
|
-
gmInstance = gmInstance.autoOrient();
|
|
1151
|
-
gmInstance = gmInstance.out('-orient', 'TopLeft');
|
|
1152
|
-
}
|
|
1153
|
-
const newItem = {
|
|
1154
|
-
json: item.json,
|
|
1155
|
-
binary: {},
|
|
1156
|
-
pairedItem: {
|
|
1157
|
-
item: itemIndex,
|
|
1158
|
-
},
|
|
1159
|
-
};
|
|
1160
|
-
if (operation === 'information') {
|
|
1161
|
-
// Just return the information
|
|
1162
|
-
const imageData = await new Promise((resolve, reject) => {
|
|
1163
|
-
gmInstance = gmInstance.identify((error, data) => {
|
|
1164
|
-
if (error) {
|
|
1165
|
-
reject(error);
|
|
1166
|
-
return;
|
|
1167
|
-
}
|
|
1168
|
-
resolve(data);
|
|
1169
|
-
});
|
|
1170
|
-
});
|
|
1171
|
-
newItem.json = imageData;
|
|
1172
|
-
}
|
|
1173
|
-
for (let i = 0; i < operations.length; i++) {
|
|
1174
|
-
const operationData = operations[i];
|
|
1175
|
-
if (operationData.operation === 'blur') {
|
|
1176
|
-
gmInstance = gmInstance.blur(operationData.blur, operationData.sigma);
|
|
1177
|
-
}
|
|
1178
|
-
else if (operationData.operation === 'border') {
|
|
1179
|
-
gmInstance = gmInstance
|
|
1180
|
-
.borderColor(operationData.borderColor)
|
|
1181
|
-
.border(operationData.borderWidth, operationData.borderHeight);
|
|
1182
|
-
}
|
|
1183
|
-
else if (operationData.operation === 'composite') {
|
|
1184
|
-
const positionX = operationData.positionX;
|
|
1185
|
-
const positionY = operationData.positionY;
|
|
1186
|
-
const operator = operationData.operator;
|
|
1187
|
-
const geometryString = (positionX >= 0 ? '+' : '') + positionX + (positionY >= 0 ? '+' : '') + positionY;
|
|
1188
|
-
const binaryPropertyName = operationData.dataPropertyNameComposite;
|
|
1189
|
-
this.helpers.assertBinaryData(itemIndex, binaryPropertyName);
|
|
1190
|
-
const binaryDataBuffer = await this.helpers.getBinaryDataBuffer(itemIndex, binaryPropertyName);
|
|
1191
|
-
const { path, cleanup } = await (0, tmp_promise_1.file)();
|
|
1192
|
-
cleanupFunctions.push(cleanup);
|
|
1193
|
-
await (0, promises_1.writeFile)(path, binaryDataBuffer);
|
|
1194
|
-
gmInstance = (0, gm_1.default)(gmInstance.stream('png'))
|
|
1195
|
-
.compose(operator)
|
|
1196
|
-
.geometry(geometryString)
|
|
1197
|
-
.composite(path);
|
|
1198
|
-
if (operations.length !== i + 1) {
|
|
1199
|
-
// If there are other operations after the current one create a new gm instance
|
|
1200
|
-
// because else things do get messed up
|
|
1201
|
-
gmInstance = (0, gm_1.default)(gmInstance.stream());
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
else if (operationData.operation === 'create') {
|
|
1205
|
-
gmInstance = (0, gm_1.default)(operationData.width, operationData.height, operationData.backgroundColor);
|
|
1206
|
-
if (!options.format) {
|
|
1207
|
-
options.format = 'png';
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
else if (operationData.operation === 'crop') {
|
|
1211
|
-
gmInstance = gmInstance.crop(operationData.width, operationData.height, operationData.positionX, operationData.positionY);
|
|
1212
|
-
}
|
|
1213
|
-
else if (operationData.operation === 'draw') {
|
|
1214
|
-
gmInstance = gmInstance.fill(operationData.color);
|
|
1215
|
-
if (operationData.primitive === 'line') {
|
|
1216
|
-
gmInstance = gmInstance.drawLine(operationData.startPositionX, operationData.startPositionY, operationData.endPositionX, operationData.endPositionY);
|
|
1217
|
-
}
|
|
1218
|
-
else if (operationData.primitive === 'circle') {
|
|
1219
|
-
gmInstance = gmInstance.drawCircle(operationData.startPositionX, operationData.startPositionY, operationData.endPositionX, operationData.endPositionY);
|
|
1220
|
-
}
|
|
1221
|
-
else if (operationData.primitive === 'rectangle') {
|
|
1222
|
-
gmInstance = gmInstance.drawRectangle(operationData.startPositionX, operationData.startPositionY, operationData.endPositionX, operationData.endPositionY, operationData.cornerRadius || undefined);
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
else if (operationData.operation === 'resize') {
|
|
1226
|
-
const resizeOption = operationData.resizeOption;
|
|
1227
|
-
// By default use "maximumArea"
|
|
1228
|
-
let option = '@';
|
|
1229
|
-
if (resizeOption === 'ignoreAspectRatio') {
|
|
1230
|
-
option = '!';
|
|
1231
|
-
}
|
|
1232
|
-
else if (resizeOption === 'minimumArea') {
|
|
1233
|
-
option = '^';
|
|
1234
|
-
}
|
|
1235
|
-
else if (resizeOption === 'onlyIfSmaller') {
|
|
1236
|
-
option = '<';
|
|
1237
|
-
}
|
|
1238
|
-
else if (resizeOption === 'onlyIfLarger') {
|
|
1239
|
-
option = '>';
|
|
1240
|
-
}
|
|
1241
|
-
else if (resizeOption === 'percent') {
|
|
1242
|
-
option = '%';
|
|
1243
|
-
}
|
|
1244
|
-
gmInstance = gmInstance.resize(operationData.width, operationData.height, option);
|
|
1245
|
-
}
|
|
1246
|
-
else if (operationData.operation === 'rotate') {
|
|
1247
|
-
gmInstance = gmInstance.rotate(operationData.backgroundColor, operationData.rotate);
|
|
1248
|
-
}
|
|
1249
|
-
else if (operationData.operation === 'shear') {
|
|
1250
|
-
gmInstance = gmInstance.shear(operationData.degreesX, operationData.degreesY);
|
|
1251
|
-
}
|
|
1252
|
-
else if (operationData.operation === 'text') {
|
|
1253
|
-
// Split the text in multiple lines
|
|
1254
|
-
const lines = [];
|
|
1255
|
-
let currentLine = '';
|
|
1256
|
-
operationData.text.split('\n').forEach((textLine) => {
|
|
1257
|
-
textLine.split(' ').forEach((textPart) => {
|
|
1258
|
-
if (currentLine.length + textPart.length + 1 >
|
|
1259
|
-
operationData.lineLength) {
|
|
1260
|
-
lines.push(currentLine.trim());
|
|
1261
|
-
currentLine = `${textPart} `;
|
|
1262
|
-
return;
|
|
1263
|
-
}
|
|
1264
|
-
currentLine += `${textPart} `;
|
|
1265
|
-
});
|
|
1266
|
-
lines.push(currentLine.trim());
|
|
1267
|
-
currentLine = '';
|
|
1268
|
-
});
|
|
1269
|
-
// Combine the lines to a single string
|
|
1270
|
-
// gm escapes `"` internally, but doesn't do it for `\`
|
|
1271
|
-
const renderText = lines.join('\n').replaceAll('\\', '\\\\');
|
|
1272
|
-
const fonts = await (0, get_system_fonts_1.default)();
|
|
1273
|
-
let font = (options.font || operationData.font);
|
|
1274
|
-
if (!font) {
|
|
1275
|
-
font = fonts.find((systemFont) => systemFont.includes('Arial.'));
|
|
1276
|
-
}
|
|
1277
|
-
if (!font) {
|
|
1278
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Default font not found. Select a font from the options.');
|
|
1279
|
-
}
|
|
1280
|
-
if (!fonts.includes(font)) {
|
|
1281
|
-
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'The selected font is not available. Select a font from the options.');
|
|
1282
|
-
}
|
|
1283
|
-
const nodeVersion = this.getNode().typeVersion;
|
|
1284
|
-
const gravity = nodeVersion >= 1.1
|
|
1285
|
-
? resolveGravity(operationData.horizontalAlignment, operationData.verticalAlignment)
|
|
1286
|
-
: 'northwest';
|
|
1287
|
-
gmInstance = gmInstance
|
|
1288
|
-
.fill(operationData.fontColor)
|
|
1289
|
-
.fontSize(operationData.fontSize)
|
|
1290
|
-
.font(font)
|
|
1291
|
-
.drawText(operationData.positionX, operationData.positionY, renderText, gravity);
|
|
1292
|
-
}
|
|
1293
|
-
else if (operationData.operation === 'transparent') {
|
|
1294
|
-
gmInstance = gmInstance.transparent(operationData.color);
|
|
1295
|
-
}
|
|
1296
|
-
}
|
|
1297
|
-
if (item.binary !== undefined && newItem.binary) {
|
|
1298
|
-
// Create a shallow copy of the binary data so that the old
|
|
1299
|
-
// data references which do not get changed still stay behind
|
|
1300
|
-
// but the incoming data does not get changed.
|
|
1301
|
-
Object.assign(newItem.binary, item.binary);
|
|
1302
|
-
// Make a deep copy of the binary data we change
|
|
1303
|
-
if (newItem.binary[binaryPropertyName]) {
|
|
1304
|
-
newItem.binary[binaryPropertyName] = (0, n8n_workflow_1.deepCopy)(newItem.binary[binaryPropertyName]);
|
|
1305
|
-
}
|
|
1306
|
-
}
|
|
1307
|
-
if (newItem.binary[binaryPropertyName] === undefined) {
|
|
1308
|
-
newItem.binary[binaryPropertyName] = {
|
|
1309
|
-
data: '',
|
|
1310
|
-
mimeType: '',
|
|
1311
|
-
};
|
|
1312
|
-
}
|
|
1313
|
-
if (options.quality !== undefined) {
|
|
1314
|
-
gmInstance = gmInstance.quality(options.quality);
|
|
1315
|
-
}
|
|
1316
|
-
if (options.format !== undefined) {
|
|
1317
|
-
const format = validateImageFormat(options.format, this.getNode());
|
|
1318
|
-
gmInstance = gmInstance.setFormat(format);
|
|
1319
|
-
newItem.binary[binaryPropertyName].fileExtension = options.format;
|
|
1320
|
-
newItem.binary[binaryPropertyName].mimeType = `image/${options.format}`;
|
|
1321
|
-
const fileName = newItem.binary[binaryPropertyName].fileName;
|
|
1322
|
-
if (fileName?.includes('.')) {
|
|
1323
|
-
newItem.binary[binaryPropertyName].fileName =
|
|
1324
|
-
fileName.split('.').slice(0, -1).join('.') + '.' + options.format;
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
if (options.fileName !== undefined) {
|
|
1328
|
-
newItem.binary[binaryPropertyName].fileName = options.fileName;
|
|
1329
|
-
}
|
|
1330
|
-
returnData.push(await new Promise((resolve, reject) => {
|
|
1331
|
-
gmInstance.toBuffer(async (error, buffer) => {
|
|
1332
|
-
cleanupFunctions.forEach(async (cleanup) => cleanup());
|
|
1333
|
-
if (error) {
|
|
1334
|
-
return reject(error);
|
|
1335
|
-
}
|
|
1336
|
-
const binaryData = await this.helpers.prepareBinaryData(Buffer.from(buffer));
|
|
1337
|
-
newItem.binary[binaryPropertyName] = {
|
|
1338
|
-
...newItem.binary[binaryPropertyName],
|
|
1339
|
-
...binaryData,
|
|
1340
|
-
};
|
|
1341
|
-
return resolve(newItem);
|
|
1342
|
-
});
|
|
1343
|
-
}));
|
|
1344
|
-
}
|
|
1345
|
-
catch (error) {
|
|
1346
|
-
if (this.continueOnFail()) {
|
|
1347
|
-
returnData.push({
|
|
1348
|
-
json: {
|
|
1349
|
-
error: error.message,
|
|
1350
|
-
},
|
|
1351
|
-
pairedItem: {
|
|
1352
|
-
item: itemIndex,
|
|
1353
|
-
},
|
|
1354
|
-
});
|
|
1355
|
-
continue;
|
|
1356
|
-
}
|
|
1357
|
-
throw error;
|
|
1358
|
-
}
|
|
1064
|
+
if (this.getNode().typeVersion < 2) {
|
|
1065
|
+
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Edit Image versions 1 and 1.1 are no longer supported. Upgrade the node to version 2.');
|
|
1359
1066
|
}
|
|
1360
|
-
return
|
|
1067
|
+
return await router_1.router.call(this);
|
|
1361
1068
|
}
|
|
1362
1069
|
}
|
|
1363
1070
|
exports.EditImage = EditImage;
|