n8n-nodes-base 2.45.2 → 2.46.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/methods/defined.json +6 -0
- package/dist/methods/referenced.json +3 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +0 -4
- 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/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/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/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/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.map +1 -1
- package/dist/nodes/EditImage/EditImage.node.js +54 -2
- 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 +3 -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/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/Form/v1/FormTriggerV1.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/Function/Function.node.d.ts.map +1 -1
- package/dist/nodes/Function/Function.node.js +1 -6
- package/dist/nodes/Function/Function.node.js.map +1 -1
- package/dist/nodes/FunctionItem/FunctionItem.node.d.ts.map +1 -1
- package/dist/nodes/FunctionItem/FunctionItem.node.js +1 -6
- package/dist/nodes/FunctionItem/FunctionItem.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 +1 -2
- 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 +1 -2
- 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 +5 -3
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.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/Microsoft/SharePoint/helpers/utils.d.ts +7 -1
- package/dist/nodes/Microsoft/SharePoint/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/helpers/utils.js +42 -0
- package/dist/nodes/Microsoft/SharePoint/helpers/utils.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/SharePoint/v1/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v1/helpers/utils.js +4 -0
- package/dist/nodes/Microsoft/SharePoint/v1/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v1/methods/resourceMapping.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v1/methods/resourceMapping.js +15 -2
- package/dist/nodes/Microsoft/SharePoint/v1/methods/resourceMapping.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts +4 -4
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js +5 -7
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js +17 -5
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.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/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/Slack/V2/SlackHitlWebhook.d.ts +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/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 +2 -2
- package/dist/types/nodes.json +13 -13
- 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 +19 -13
- 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/N8n/n8n.svg +0 -1
- package/dist/nodes/N8nTrigger/n8nTrigger.svg +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsanaOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AsanaOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IAExB,OAAO,WAAiB;IAExB,WAAW,SAAsB;IAEjC,gBAAgB,SAAW;IAE3B,UAAU,EAAE,eAAe,EAAE,
|
|
1
|
+
{"version":3,"file":"AsanaOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/AsanaOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAErE,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IAExB,OAAO,WAAiB;IAExB,WAAW,SAAsB;IAEjC,gBAAgB,SAAW;IAE3B,UAAU,EAAE,eAAe,EAAE,CAwC3B;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsanaOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/AsanaOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA;IACC,IAAI,GAAG,gBAAgB,CAAC;IAExB,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,OAAO,CAAC;IAE3B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,yCAAyC;YAClD,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,qCAAqC;YAC9C,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"AsanaOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/AsanaOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA;IACC,IAAI,GAAG,gBAAgB,CAAC;IAExB,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,OAAO,CAAC;IAE3B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,yCAAyC;YAClD,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,qCAAqC;YAC9C,QAAQ,EAAE,IAAI;SACd;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,kDAAkD;SAC/D;QACD;YACC,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,qBAAqB;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MAAM;SACf;KACD,CAAC;CACF"}
|
|
@@ -1058,6 +1058,9 @@
|
|
|
1058
1058
|
"getActivityTypes",
|
|
1059
1059
|
"getActivitySubTypes"
|
|
1060
1060
|
],
|
|
1061
|
+
"wait": [
|
|
1062
|
+
"listTrustedSources"
|
|
1063
|
+
],
|
|
1061
1064
|
"webflow": [
|
|
1062
1065
|
"getSites",
|
|
1063
1066
|
"getCollections",
|
|
@@ -1066,6 +1069,9 @@
|
|
|
1066
1069
|
"webflowTrigger": [
|
|
1067
1070
|
"getSites"
|
|
1068
1071
|
],
|
|
1072
|
+
"webhook": [
|
|
1073
|
+
"listTrustedSources"
|
|
1074
|
+
],
|
|
1069
1075
|
"wekan": [
|
|
1070
1076
|
"getUsers",
|
|
1071
1077
|
"getBoards",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
cc376889814facd38d8f7dc452890ef6668bc2cfb8bd85578da9e8da20b459c3
|
|
@@ -106,7 +106,6 @@ import type { DropboxNode } from './nodes/n8n-nodes-base/dropbox';
|
|
|
106
106
|
import type { DropcontactNode } from './nodes/n8n-nodes-base/dropcontact';
|
|
107
107
|
import type { DynamicCredentialCheckNode } from './nodes/n8n-nodes-base/dynamicCredentialCheck';
|
|
108
108
|
import type { E2eTestNode } from './nodes/n8n-nodes-base/e2eTest';
|
|
109
|
-
import type { E2eTestPollingTriggerNode } from './nodes/n8n-nodes-base/e2eTestPollingTrigger';
|
|
110
109
|
import type { EditImageNode } from './nodes/n8n-nodes-base/editImage';
|
|
111
110
|
import type { EgoiNode } from './nodes/n8n-nodes-base/egoi';
|
|
112
111
|
import type { ElasticsearchNode } from './nodes/n8n-nodes-base/elasticsearch';
|
|
@@ -533,7 +532,6 @@ export * from './nodes/n8n-nodes-base/dropbox';
|
|
|
533
532
|
export * from './nodes/n8n-nodes-base/dropcontact';
|
|
534
533
|
export * from './nodes/n8n-nodes-base/dynamicCredentialCheck';
|
|
535
534
|
export * from './nodes/n8n-nodes-base/e2eTest';
|
|
536
|
-
export * from './nodes/n8n-nodes-base/e2eTestPollingTrigger';
|
|
537
535
|
export * from './nodes/n8n-nodes-base/editImage';
|
|
538
536
|
export * from './nodes/n8n-nodes-base/egoi';
|
|
539
537
|
export * from './nodes/n8n-nodes-base/elasticsearch';
|
|
@@ -957,7 +955,6 @@ export type KnownNodeType =
|
|
|
957
955
|
| 'n8n-nodes-base.dropcontact'
|
|
958
956
|
| 'n8n-nodes-base.editImage'
|
|
959
957
|
| 'n8n-nodes-base.e2eTest'
|
|
960
|
-
| 'n8n-nodes-base.e2eTestPollingTrigger'
|
|
961
958
|
| 'n8n-nodes-base.egoi'
|
|
962
959
|
| 'n8n-nodes-base.elasticsearch'
|
|
963
960
|
| 'n8n-nodes-base.elasticSecurity'
|
|
@@ -1390,7 +1387,6 @@ export type AllNodeTypes =
|
|
|
1390
1387
|
| DropcontactNode
|
|
1391
1388
|
| DynamicCredentialCheckNode
|
|
1392
1389
|
| E2eTestNode
|
|
1393
|
-
| E2eTestPollingTriggerNode
|
|
1394
1390
|
| EditImageNode
|
|
1395
1391
|
| EgoiNode
|
|
1396
1392
|
| ElasticsearchNode
|
|
@@ -12,6 +12,7 @@ const getDatabricksSqlSchema = require('./resource_databricks_sql/index.schema')
|
|
|
12
12
|
const getFilesSchema = require('./resource_files/index.schema');
|
|
13
13
|
const getGenieSchema = require('./resource_genie/index.schema');
|
|
14
14
|
const getJobSchema = require('./resource_job/index.schema');
|
|
15
|
+
const getLakebaseSchema = require('./resource_lakebase/index.schema');
|
|
15
16
|
const getModelServingSchema = require('./resource_model_serving/index.schema');
|
|
16
17
|
const getUnityCatalogSchema = require('./resource_unity_catalog/index.schema');
|
|
17
18
|
const getVectorSearchSchema = require('./resource_vector_search/index.schema');
|
|
@@ -25,6 +26,7 @@ module.exports = function getSchema(helpers) {
|
|
|
25
26
|
getFilesSchema({ ...helpers, parameters: effectiveParams }),
|
|
26
27
|
getGenieSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
28
|
getJobSchema({ ...helpers, parameters: effectiveParams }),
|
|
29
|
+
getLakebaseSchema({ ...helpers, parameters: effectiveParams }),
|
|
28
30
|
getModelServingSchema({ ...helpers, parameters: effectiveParams }),
|
|
29
31
|
getUnityCatalogSchema({ ...helpers, parameters: effectiveParams }),
|
|
30
32
|
getVectorSearchSchema({ ...helpers, parameters: effectiveParams }),
|
|
@@ -7,6 +7,7 @@ import type { DatabricksV1DatabricksSqlNode } from './resource_databricks_sql';
|
|
|
7
7
|
import type { DatabricksV1FilesNode } from './resource_files';
|
|
8
8
|
import type { DatabricksV1GenieNode } from './resource_genie';
|
|
9
9
|
import type { DatabricksV1JobNode } from './resource_job';
|
|
10
|
+
import type { DatabricksV1LakebaseNode } from './resource_lakebase';
|
|
10
11
|
import type { DatabricksV1ModelServingNode } from './resource_model_serving';
|
|
11
12
|
import type { DatabricksV1UnityCatalogNode } from './resource_unity_catalog';
|
|
12
13
|
import type { DatabricksV1VectorSearchNode } from './resource_vector_search';
|
|
@@ -15,6 +16,7 @@ export * from './resource_databricks_sql';
|
|
|
15
16
|
export * from './resource_files';
|
|
16
17
|
export * from './resource_genie';
|
|
17
18
|
export * from './resource_job';
|
|
19
|
+
export * from './resource_lakebase';
|
|
18
20
|
export * from './resource_model_serving';
|
|
19
21
|
export * from './resource_unity_catalog';
|
|
20
22
|
export * from './resource_vector_search';
|
|
@@ -24,6 +26,7 @@ export type DatabricksV1Node =
|
|
|
24
26
|
| DatabricksV1FilesNode
|
|
25
27
|
| DatabricksV1GenieNode
|
|
26
28
|
| DatabricksV1JobNode
|
|
29
|
+
| DatabricksV1LakebaseNode
|
|
27
30
|
| DatabricksV1ModelServingNode
|
|
28
31
|
| DatabricksV1UnityCatalogNode
|
|
29
32
|
| DatabricksV1VectorSearchNode
|
package/dist/node-definitions/nodes/n8n-nodes-base/databricks/v1/resource_lakebase/index.schema.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks - Lakebase Resource - Zod Schema Factory
|
|
3
|
+
* Exports a factory that unions all operation schemas for this resource.
|
|
4
|
+
*
|
|
5
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
6
|
+
* by the schema-validator, not imported from external files.
|
|
7
|
+
*
|
|
8
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const getDeleteRowsSchema = require('./operation_delete_rows.schema');
|
|
12
|
+
const getExecuteFunctionSchema = require('./operation_execute_function.schema');
|
|
13
|
+
const getGetAllSchema = require('./operation_get_all.schema');
|
|
14
|
+
const getInsertSchema = require('./operation_insert.schema');
|
|
15
|
+
const getUpdateSchema = require('./operation_update.schema');
|
|
16
|
+
const getUpsertSchema = require('./operation_upsert.schema');
|
|
17
|
+
|
|
18
|
+
module.exports = function getSchema(helpers) {
|
|
19
|
+
const { parameters, z } = helpers;
|
|
20
|
+
// Apply operation default if not set
|
|
21
|
+
const effectiveParams = parameters.operation === undefined ? { ...parameters, operation: 'getAll' } : parameters;
|
|
22
|
+
return z.union([
|
|
23
|
+
getDeleteRowsSchema({ ...helpers, parameters: effectiveParams }),
|
|
24
|
+
getExecuteFunctionSchema({ ...helpers, parameters: effectiveParams }),
|
|
25
|
+
getGetAllSchema({ ...helpers, parameters: effectiveParams }),
|
|
26
|
+
getInsertSchema({ ...helpers, parameters: effectiveParams }),
|
|
27
|
+
getUpdateSchema({ ...helpers, parameters: effectiveParams }),
|
|
28
|
+
getUpsertSchema({ ...helpers, parameters: effectiveParams }),
|
|
29
|
+
]);
|
|
30
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks - Lakebase Resource
|
|
3
|
+
* Re-exports all operation types for this resource.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { DatabricksV1LakebaseDeleteRowsNode } from './operation_delete_rows';
|
|
7
|
+
import type { DatabricksV1LakebaseExecuteFunctionNode } from './operation_execute_function';
|
|
8
|
+
import type { DatabricksV1LakebaseGetAllNode } from './operation_get_all';
|
|
9
|
+
import type { DatabricksV1LakebaseInsertNode } from './operation_insert';
|
|
10
|
+
import type { DatabricksV1LakebaseUpdateNode } from './operation_update';
|
|
11
|
+
import type { DatabricksV1LakebaseUpsertNode } from './operation_upsert';
|
|
12
|
+
|
|
13
|
+
export * from './operation_delete_rows';
|
|
14
|
+
export * from './operation_execute_function';
|
|
15
|
+
export * from './operation_get_all';
|
|
16
|
+
export * from './operation_insert';
|
|
17
|
+
export * from './operation_update';
|
|
18
|
+
export * from './operation_upsert';
|
|
19
|
+
|
|
20
|
+
export type DatabricksV1LakebaseNode =
|
|
21
|
+
| DatabricksV1LakebaseDeleteRowsNode
|
|
22
|
+
| DatabricksV1LakebaseExecuteFunctionNode
|
|
23
|
+
| DatabricksV1LakebaseGetAllNode
|
|
24
|
+
| DatabricksV1LakebaseInsertNode
|
|
25
|
+
| DatabricksV1LakebaseUpdateNode
|
|
26
|
+
| DatabricksV1LakebaseUpsertNode
|
|
27
|
+
;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=lakebase, operation=deleteRows
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('lakebase'),
|
|
18
|
+
operation: z.literal('deleteRows'),
|
|
19
|
+
authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
|
|
20
|
+
lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
23
|
+
lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
24
|
+
lakebaseTable: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
25
|
+
where: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), condition: z.union([z.literal('eq'), z.literal('gt'), z.literal('gte'), z.literal('not.is.null'), z.literal('is.null'), z.literal('lt'), z.literal('lte'), z.literal('like'), z.literal('ilike'), z.literal('neq'), expressionSchema]).optional(), value: stringOrExpression.optional() })).optional() }).optional(),
|
|
26
|
+
combineConditions: z.union([z.literal('AND'), z.literal('OR'), expressionSchema]).optional(),
|
|
27
|
+
}).optional(),
|
|
28
|
+
});
|
|
29
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1
|
|
3
|
+
* Discriminator: resource=lakebase, operation=deleteRows
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
databricksApi: CredentialReference;
|
|
9
|
+
databricksOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Read and write rows in a Lakebase Postgres database. <a href="https://docs.databricks.com/aws/en/oltp/" target="_blank">Learn more</a>. */
|
|
13
|
+
export type DatabricksV1LakebaseDeleteRowsParams = {
|
|
14
|
+
resource: 'lakebase';
|
|
15
|
+
operation: 'deleteRows';
|
|
16
|
+
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* The Lakebase project
|
|
19
|
+
* @searchListMethod getLakebaseProjects
|
|
20
|
+
* @default {"mode":"list","value":""}
|
|
21
|
+
*/
|
|
22
|
+
lakebaseProject?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
23
|
+
/**
|
|
24
|
+
* The branch of the project
|
|
25
|
+
* @searchListMethod getLakebaseBranches
|
|
26
|
+
* @default {"mode":"list","value":""}
|
|
27
|
+
*/
|
|
28
|
+
lakebaseBranch?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
29
|
+
/**
|
|
30
|
+
* The Postgres database on the branch
|
|
31
|
+
* @searchListMethod getLakebaseDatabases
|
|
32
|
+
* @default {"mode":"list","value":""}
|
|
33
|
+
*/
|
|
34
|
+
lakebaseDatabase?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
35
|
+
/**
|
|
36
|
+
* The Postgres schema. To use a schema other than public, select By ID and enter its name.
|
|
37
|
+
* @searchListMethod getLakebaseSchemas
|
|
38
|
+
* @default {"mode":"list","value":"public","cachedResultName":"public"}
|
|
39
|
+
*/
|
|
40
|
+
lakebaseSchema?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
41
|
+
/**
|
|
42
|
+
* The table in the schema
|
|
43
|
+
* @searchListMethod getLakebaseTables
|
|
44
|
+
* @default {"mode":"list","value":""}
|
|
45
|
+
*/
|
|
46
|
+
lakebaseTable?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
47
|
+
/**
|
|
48
|
+
* Which rows to act on. Get Many returns rows from the full table if you set no conditions. Delete needs at least one condition.
|
|
49
|
+
* @default {}
|
|
50
|
+
*/
|
|
51
|
+
where?: {
|
|
52
|
+
/** Values
|
|
53
|
+
*/
|
|
54
|
+
values?: Array<{
|
|
55
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
56
|
+
* @loadOptionsMethod getLakebaseColumns
|
|
57
|
+
*/
|
|
58
|
+
column?: string | Expression<string>;
|
|
59
|
+
/** Condition
|
|
60
|
+
* @default eq
|
|
61
|
+
*/
|
|
62
|
+
condition?: 'eq' | 'gt' | 'gte' | 'not.is.null' | 'is.null' | 'lt' | 'lte' | 'like' | 'ilike' | 'neq' | Expression<string>;
|
|
63
|
+
/** Value
|
|
64
|
+
* @displayOptions.hide { condition: ["is.null", "not.is.null"] }
|
|
65
|
+
*/
|
|
66
|
+
value?: string | Expression<string>;
|
|
67
|
+
}>;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* How to combine the conditions above. AND requires all of them, OR requires any one of them.
|
|
71
|
+
* @default AND
|
|
72
|
+
*/
|
|
73
|
+
combineConditions?: 'AND' | 'OR' | Expression<string>;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export type DatabricksV1LakebaseDeleteRowsNode = {
|
|
77
|
+
type: 'n8n-nodes-base.databricks';
|
|
78
|
+
version: 1;
|
|
79
|
+
config: NodeConfig<DatabricksV1LakebaseDeleteRowsParams> & { credentials?: Credentials };
|
|
80
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=lakebase, operation=executeFunction
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('lakebase'),
|
|
18
|
+
operation: z.literal('executeFunction'),
|
|
19
|
+
authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
|
|
20
|
+
lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
23
|
+
lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
24
|
+
lakebaseTable: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
25
|
+
lakebaseFunction: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
26
|
+
specifyArguments: z.union([z.literal('fields'), z.literal('json')]).optional(),
|
|
27
|
+
functionArguments: resolveSchema({ parameters, schema: resourceMapperValueSchema, required: false, displayOptions: {"show":{"specifyArguments":["fields"]}}, defaults: {"specifyArguments":"fields"} }),
|
|
28
|
+
argumentsJson: resolveSchema({ parameters, schema: z.union([iDataObjectSchema, z.string()]), required: false, displayOptions: {"show":{"specifyArguments":["json"]}}, defaults: {"specifyArguments":"fields"} }),
|
|
29
|
+
}).optional(),
|
|
30
|
+
});
|
|
31
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1
|
|
3
|
+
* Discriminator: resource=lakebase, operation=executeFunction
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// Helper types for special n8n fields
|
|
8
|
+
type ResourceMapperField = { id?: string; displayName?: string; required?: boolean; defaultMatch?: boolean; display?: boolean; type?: string; canBeUsedToMatch?: boolean; [key: string]: unknown };
|
|
9
|
+
type ResourceMapperCommon = { matchingColumns?: string[]; cachedResultName?: string; [key: string]: unknown };
|
|
10
|
+
type ResourceMapperValue = ResourceMapperCommon & { mappingMode: string; value?: null | Record<string, unknown>; schema?: ResourceMapperField[] };
|
|
11
|
+
|
|
12
|
+
interface Credentials {
|
|
13
|
+
databricksApi: CredentialReference;
|
|
14
|
+
databricksOAuth2Api: CredentialReference;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Read and write rows in a Lakebase Postgres database. <a href="https://docs.databricks.com/aws/en/oltp/" target="_blank">Learn more</a>. */
|
|
18
|
+
export type DatabricksV1LakebaseExecuteFunctionParams = {
|
|
19
|
+
resource: 'lakebase';
|
|
20
|
+
operation: 'executeFunction';
|
|
21
|
+
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The Lakebase project
|
|
24
|
+
* @searchListMethod getLakebaseProjects
|
|
25
|
+
* @default {"mode":"list","value":""}
|
|
26
|
+
*/
|
|
27
|
+
lakebaseProject?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
28
|
+
/**
|
|
29
|
+
* The branch of the project
|
|
30
|
+
* @searchListMethod getLakebaseBranches
|
|
31
|
+
* @default {"mode":"list","value":""}
|
|
32
|
+
*/
|
|
33
|
+
lakebaseBranch?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
34
|
+
/**
|
|
35
|
+
* The Postgres database on the branch
|
|
36
|
+
* @searchListMethod getLakebaseDatabases
|
|
37
|
+
* @default {"mode":"list","value":""}
|
|
38
|
+
*/
|
|
39
|
+
lakebaseDatabase?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
40
|
+
/**
|
|
41
|
+
* The Postgres schema. To use a schema other than public, select By ID and enter its name.
|
|
42
|
+
* @searchListMethod getLakebaseSchemas
|
|
43
|
+
* @default {"mode":"list","value":"public","cachedResultName":"public"}
|
|
44
|
+
*/
|
|
45
|
+
lakebaseSchema?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
46
|
+
/**
|
|
47
|
+
* The table in the schema
|
|
48
|
+
* @searchListMethod getLakebaseTables
|
|
49
|
+
* @default {"mode":"list","value":""}
|
|
50
|
+
*/
|
|
51
|
+
lakebaseTable?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
52
|
+
/**
|
|
53
|
+
* The Postgres function in the schema
|
|
54
|
+
* @searchListMethod getLakebaseFunctions
|
|
55
|
+
* @default {"mode":"list","value":""}
|
|
56
|
+
*/
|
|
57
|
+
lakebaseFunction?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
58
|
+
/**
|
|
59
|
+
* Fill in one field per argument, or send the arguments as one JSON object
|
|
60
|
+
* @default fields
|
|
61
|
+
*/
|
|
62
|
+
specifyArguments?: 'fields' | 'json';
|
|
63
|
+
/**
|
|
64
|
+
* Arguments
|
|
65
|
+
* @displayOptions.show { specifyArguments: ["fields"] }
|
|
66
|
+
* @default {"mappingMode":"defineBelow","value":null}
|
|
67
|
+
*/
|
|
68
|
+
functionArguments?: ResourceMapperValue;
|
|
69
|
+
/**
|
|
70
|
+
* A JSON object with one key for each argument
|
|
71
|
+
* @displayOptions.show { specifyArguments: ["json"] }
|
|
72
|
+
* @default {}
|
|
73
|
+
*/
|
|
74
|
+
argumentsJson?: IDataObject | string | Expression<string>;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export type DatabricksV1LakebaseExecuteFunctionNode = {
|
|
78
|
+
type: 'n8n-nodes-base.databricks';
|
|
79
|
+
version: 1;
|
|
80
|
+
config: NodeConfig<DatabricksV1LakebaseExecuteFunctionParams> & { credentials?: Credentials };
|
|
81
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=lakebase, operation=getAll
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema, resolveSchema, resolveOneOfSchemas }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('lakebase'),
|
|
18
|
+
operation: z.literal('getAll').default('getAll'),
|
|
19
|
+
authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
|
|
20
|
+
lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
23
|
+
lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
24
|
+
lakebaseTable: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
25
|
+
returnAll: booleanOrExpression.optional(),
|
|
26
|
+
limit: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"show":{"returnAll":[false]}}, defaults: {"returnAll":false} }),
|
|
27
|
+
where: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), condition: z.union([z.literal('eq'), z.literal('gt'), z.literal('gte'), z.literal('not.is.null'), z.literal('is.null'), z.literal('lt'), z.literal('lte'), z.literal('like'), z.literal('ilike'), z.literal('neq'), expressionSchema]).optional(), value: stringOrExpression.optional() })).optional() }).optional(),
|
|
28
|
+
combineConditions: z.union([z.literal('AND'), z.literal('OR'), expressionSchema]).optional(),
|
|
29
|
+
sort: z.object({ values: z.array(z.object({ column: stringOrExpression.optional(), direction: z.union([z.literal('asc'), z.literal('desc'), expressionSchema]).optional() })).optional() }).optional(),
|
|
30
|
+
options: z.object({ outputColumns: z.array(z.string()).optional() }).optional(),
|
|
31
|
+
}).optional(),
|
|
32
|
+
});
|
|
33
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1
|
|
3
|
+
* Discriminator: resource=lakebase, operation=getAll
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
interface Credentials {
|
|
8
|
+
databricksApi: CredentialReference;
|
|
9
|
+
databricksOAuth2Api: CredentialReference;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
/** Read and write rows in a Lakebase Postgres database. <a href="https://docs.databricks.com/aws/en/oltp/" target="_blank">Learn more</a>. */
|
|
13
|
+
export type DatabricksV1LakebaseGetAllParams = {
|
|
14
|
+
resource: 'lakebase';
|
|
15
|
+
operation: 'getAll';
|
|
16
|
+
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
|
|
17
|
+
/**
|
|
18
|
+
* The Lakebase project
|
|
19
|
+
* @searchListMethod getLakebaseProjects
|
|
20
|
+
* @default {"mode":"list","value":""}
|
|
21
|
+
*/
|
|
22
|
+
lakebaseProject?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
23
|
+
/**
|
|
24
|
+
* The branch of the project
|
|
25
|
+
* @searchListMethod getLakebaseBranches
|
|
26
|
+
* @default {"mode":"list","value":""}
|
|
27
|
+
*/
|
|
28
|
+
lakebaseBranch?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
29
|
+
/**
|
|
30
|
+
* The Postgres database on the branch
|
|
31
|
+
* @searchListMethod getLakebaseDatabases
|
|
32
|
+
* @default {"mode":"list","value":""}
|
|
33
|
+
*/
|
|
34
|
+
lakebaseDatabase?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
35
|
+
/**
|
|
36
|
+
* The Postgres schema. To use a schema other than public, select By ID and enter its name.
|
|
37
|
+
* @searchListMethod getLakebaseSchemas
|
|
38
|
+
* @default {"mode":"list","value":"public","cachedResultName":"public"}
|
|
39
|
+
*/
|
|
40
|
+
lakebaseSchema?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
41
|
+
/**
|
|
42
|
+
* The table in the schema
|
|
43
|
+
* @searchListMethod getLakebaseTables
|
|
44
|
+
* @default {"mode":"list","value":""}
|
|
45
|
+
*/
|
|
46
|
+
lakebaseTable?: { __rl: true; mode: 'list' | 'id'; value: string; cachedResultName?: string };
|
|
47
|
+
/**
|
|
48
|
+
* Whether to return all results or only up to a given limit
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
returnAll?: boolean | Expression<boolean>;
|
|
52
|
+
/**
|
|
53
|
+
* Max number of results to return
|
|
54
|
+
* @displayOptions.show { returnAll: [false] }
|
|
55
|
+
* @default 50
|
|
56
|
+
*/
|
|
57
|
+
limit?: number | Expression<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Which rows to act on. Get Many returns rows from the full table if you set no conditions. Delete needs at least one condition.
|
|
60
|
+
* @default {}
|
|
61
|
+
*/
|
|
62
|
+
where?: {
|
|
63
|
+
/** Values
|
|
64
|
+
*/
|
|
65
|
+
values?: Array<{
|
|
66
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
67
|
+
* @loadOptionsMethod getLakebaseColumns
|
|
68
|
+
*/
|
|
69
|
+
column?: string | Expression<string>;
|
|
70
|
+
/** Condition
|
|
71
|
+
* @default eq
|
|
72
|
+
*/
|
|
73
|
+
condition?: 'eq' | 'gt' | 'gte' | 'not.is.null' | 'is.null' | 'lt' | 'lte' | 'like' | 'ilike' | 'neq' | Expression<string>;
|
|
74
|
+
/** Value
|
|
75
|
+
* @displayOptions.hide { condition: ["is.null", "not.is.null"] }
|
|
76
|
+
*/
|
|
77
|
+
value?: string | Expression<string>;
|
|
78
|
+
}>;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* How to combine the conditions above. AND requires all of them, OR requires any one of them.
|
|
82
|
+
* @default AND
|
|
83
|
+
*/
|
|
84
|
+
combineConditions?: 'AND' | 'OR' | Expression<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Sort
|
|
87
|
+
* @default {}
|
|
88
|
+
*/
|
|
89
|
+
sort?: {
|
|
90
|
+
/** Values
|
|
91
|
+
*/
|
|
92
|
+
values?: Array<{
|
|
93
|
+
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
94
|
+
* @loadOptionsMethod getLakebaseColumns
|
|
95
|
+
*/
|
|
96
|
+
column?: string | Expression<string>;
|
|
97
|
+
/** Direction
|
|
98
|
+
* @default asc
|
|
99
|
+
*/
|
|
100
|
+
direction?: 'asc' | 'desc' | Expression<string>;
|
|
101
|
+
}>;
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* Options
|
|
105
|
+
* @default {}
|
|
106
|
+
*/
|
|
107
|
+
options?: {
|
|
108
|
+
/** Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
|
|
109
|
+
* @loadOptionsMethod getLakebaseColumnsMultiOptions
|
|
110
|
+
* @default []
|
|
111
|
+
*/
|
|
112
|
+
outputColumns?: string[];
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type DatabricksV1LakebaseGetAllNode = {
|
|
117
|
+
type: 'n8n-nodes-base.databricks';
|
|
118
|
+
version: 1;
|
|
119
|
+
config: NodeConfig<DatabricksV1LakebaseGetAllParams> & { credentials?: Credentials };
|
|
120
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Databricks Node - Version 1 - Zod Schema
|
|
3
|
+
* Discriminator: resource=lakebase, operation=insert
|
|
4
|
+
*
|
|
5
|
+
* Use .parse() for strict validation or .safeParse() for error handling.
|
|
6
|
+
*
|
|
7
|
+
* Schema helpers (z, expressionSchema, etc.) are passed as parameters
|
|
8
|
+
* by the schema-validator, not imported from external files.
|
|
9
|
+
*
|
|
10
|
+
* @generated - CommonJS JavaScript for runtime loading
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
module.exports = function getSchema({ parameters, z, expressionSchema, stringOrExpression, numberOrExpression, booleanOrExpression, resourceLocatorValueSchema, resourceMapperValueSchema, filterValueSchema, assignmentCollectionValueSchema, iDataObjectSchema }) {
|
|
14
|
+
|
|
15
|
+
return z.object({
|
|
16
|
+
parameters: z.object({
|
|
17
|
+
resource: z.literal('lakebase'),
|
|
18
|
+
operation: z.literal('insert'),
|
|
19
|
+
authentication: z.union([z.literal('accessToken'), z.literal('oAuth2'), expressionSchema]).optional(),
|
|
20
|
+
lakebaseProject: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
21
|
+
lakebaseBranch: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
22
|
+
lakebaseDatabase: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
23
|
+
lakebaseSchema: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
24
|
+
lakebaseTable: z.union([z.object({ __rl: z.literal(true), mode: z.union([z.literal('list'), z.literal('id')]), value: z.union([z.string(), z.number()]), cachedResultName: z.string().optional(), cachedResultUrl: z.string().optional() }), expressionSchema]).optional(),
|
|
25
|
+
columns: resourceMapperValueSchema.optional(),
|
|
26
|
+
}).optional(),
|
|
27
|
+
});
|
|
28
|
+
};
|