n8n-nodes-base 2.41.3 → 2.42.1
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/AtlassianServiceAccountApi.credentials.d.ts.map +1 -1
- package/dist/credentials/AtlassianServiceAccountApi.credentials.js +1 -1
- package/dist/credentials/AtlassianServiceAccountApi.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +1 -0
- package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/ZendeskOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/ZendeskOAuth2Api.credentials.js +18 -0
- package/dist/credentials/ZendeskOAuth2Api.credentials.js.map +1 -1
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +4 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricksTrigger/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricksTrigger/v1.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/databricksTrigger/v1.ts +101 -0
- 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/microsoftTeams/v2/index.schema.js +2 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/index.ts +3 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_activity_notification/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_activity_notification/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_activity_notification/operation_send.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_activity_notification/operation_send.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_create.schema.js +2 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_create.ts +20 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_create_or_get.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_create_or_get.ts +14 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_update.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_online_meeting/operation_update.ts +23 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_task/operation_create.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_task/operation_get_all.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftTeams/v2/resource_task/operation_update.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_create.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_workflow/operation_update.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/noOp/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/noOp/v1.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_database/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_database_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_database_page/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_database_page/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_page/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v1/resource_page/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database_page/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database_page/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_database_page/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v2/resource_page/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_block/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database_page/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database_page/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_database_page/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v21/resource_page/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_block/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database_page/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database_page/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_database_page/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v22/resource_page/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_block/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_data_source/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_data_source/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_database/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_database_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_database_page/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_database_page/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_database_page/operation_update.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_page/operation_archive.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_page/operation_create.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notion/v3/resource_page/operation_search.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notionTrigger/v1.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/notionTrigger/v11.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wait/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/wait/v1.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/wait/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/wait/v11.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v1.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v11.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v2.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v2.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v21.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v21.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v22.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/webhook/v22.ts +182 -0
- package/dist/nodes/Airtop/actions/file/getMany.operation.js +1 -1
- package/dist/nodes/Databricks/DatabricksTrigger.node.d.ts +8 -0
- package/dist/nodes/Databricks/DatabricksTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Databricks/DatabricksTrigger.node.js +174 -3
- package/dist/nodes/Databricks/DatabricksTrigger.node.js.map +1 -1
- package/dist/nodes/Databricks/DatabricksTrigger.node.json +2 -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 +2 -1
- package/dist/nodes/Databricks/transport/index.js.map +1 -1
- package/dist/nodes/Databricks/transport/jobRuns.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/jobRuns.js +2 -1
- package/dist/nodes/Databricks/transport/jobRuns.js.map +1 -1
- package/dist/nodes/Databricks/transport/pipelineEvents.d.ts +1 -0
- package/dist/nodes/Databricks/transport/pipelineEvents.d.ts.map +1 -1
- package/dist/nodes/Databricks/transport/pipelineEvents.js +5 -4
- package/dist/nodes/Databricks/transport/pipelineEvents.js.map +1 -1
- package/dist/nodes/Databricks/trigger/jobRunEvents.d.ts +3 -0
- package/dist/nodes/Databricks/trigger/jobRunEvents.d.ts.map +1 -0
- package/dist/nodes/Databricks/trigger/jobRunEvents.js +192 -0
- package/dist/nodes/Databricks/trigger/jobRunEvents.js.map +1 -0
- package/dist/nodes/Databricks/trigger/pipelineUpdateEvents.d.ts +6 -0
- package/dist/nodes/Databricks/trigger/pipelineUpdateEvents.d.ts.map +1 -0
- package/dist/nodes/Databricks/trigger/pipelineUpdateEvents.js +215 -0
- package/dist/nodes/Databricks/trigger/pipelineUpdateEvents.js.map +1 -0
- package/dist/nodes/Databricks/trigger/pipelines.d.ts +5 -0
- package/dist/nodes/Databricks/trigger/pipelines.d.ts.map +1 -0
- package/dist/nodes/Databricks/trigger/pipelines.js +62 -0
- package/dist/nodes/Databricks/trigger/pipelines.js.map +1 -0
- package/dist/nodes/Databricks/trigger/shared.d.ts +8 -0
- package/dist/nodes/Databricks/trigger/shared.d.ts.map +1 -0
- package/dist/nodes/Databricks/trigger/shared.js +51 -0
- package/dist/nodes/Databricks/trigger/shared.js.map +1 -0
- package/dist/nodes/DateTime/V1/DateTimeV1.node.js +1 -1
- package/dist/nodes/DateTime/V1/DateTimeV1.node.js.map +1 -1
- package/dist/nodes/Evaluation/Evaluation/Description.node.d.ts.map +1 -1
- package/dist/nodes/Evaluation/Evaluation/Description.node.js +3 -2
- package/dist/nodes/Evaluation/Evaluation/Description.node.js.map +1 -1
- package/dist/nodes/Google/CloudStorage/ObjectDescription.d.ts.map +1 -1
- package/dist/nodes/Google/CloudStorage/ObjectDescription.js +6 -1
- package/dist/nodes/Google/CloudStorage/ObjectDescription.js.map +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js +6 -3
- package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js.map +1 -1
- package/dist/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.js +2 -2
- package/dist/nodes/Google/Firebase/CloudFirestore/GoogleFirebaseCloudFirestore.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/Description.js +1 -1
- package/dist/nodes/HttpRequest/V3/Description.js.map +1 -1
- package/dist/nodes/LinkedIn/LinkedIn.node.d.ts.map +1 -1
- package/dist/nodes/LinkedIn/LinkedIn.node.js +4 -0
- package/dist/nodes/LinkedIn/LinkedIn.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/__schema__/v2.0.0/activityNotification/send.json +8 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/index.d.ts +5 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/index.js +74 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/index.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/send.operation.d.ts +33 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/send.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/send.operation.js +103 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/send.operation.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/shared.d.ts +9 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/shared.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/shared.js +73 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/activityNotification/shared.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.js +1 -6
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/get.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/add.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/add.operation.js +4 -8
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/add.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/getAll.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/remove.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/remove.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/remove.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.js +0 -4
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/get.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js +0 -3
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.js +0 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/messageActions.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.js +0 -4
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sendAndWait.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/node.type.d.ts +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/node.type.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/attendees.d.ts +28 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/attendees.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/attendees.js +155 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/attendees.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/create.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/create.operation.js +8 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/create.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/createOrGet.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/createOrGet.operation.js +9 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/createOrGet.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/meetingSettings.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/meetingSettings.js +7 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/meetingSettings.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/shared.d.ts +1 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/shared.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/shared.js +3 -19
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/shared.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/update.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/update.operation.js +30 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/onlineMeeting/update.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/router.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/router.js +36 -12
- package/dist/nodes/Microsoft/Teams/v2/actions/router.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.js +8 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.js +35 -206
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.description.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.modes.d.ts +9 -0
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.modes.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.modes.js +49 -0
- package/dist/nodes/Microsoft/Teams/v2/descriptions/rlc.modes.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/helpers/parameters.d.ts +2 -0
- package/dist/nodes/Microsoft/Teams/v2/helpers/parameters.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/parameters.js +21 -0
- package/dist/nodes/Microsoft/Teams/v2/helpers/parameters.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.d.ts +26 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.js +26 -6
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts +20 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js +26 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js.map +1 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.js +5 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
- package/dist/nodes/N8n/WorkflowDescription.js +2 -2
- package/dist/nodes/N8n/WorkflowDescription.js.map +1 -1
- package/dist/nodes/NoOp/NoOp.node.d.ts.map +1 -1
- package/dist/nodes/NoOp/NoOp.node.js +8 -1
- package/dist/nodes/NoOp/NoOp.node.js.map +1 -1
- package/dist/nodes/Notion/NotionTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Notion/NotionTrigger.node.js +3 -0
- package/dist/nodes/Notion/NotionTrigger.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/Notion/shared/descriptions/BlockDescription.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/BlockDescription.js +3 -0
- package/dist/nodes/Notion/shared/descriptions/BlockDescription.js.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/DatabaseDescription.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/DatabaseDescription.js +6 -0
- package/dist/nodes/Notion/shared/descriptions/DatabaseDescription.js.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/DatabasePageDescription.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/DatabasePageDescription.js +5 -0
- package/dist/nodes/Notion/shared/descriptions/DatabasePageDescription.js.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/PageDescription.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/descriptions/PageDescription.js +12 -0
- package/dist/nodes/Notion/shared/descriptions/PageDescription.js.map +1 -1
- package/dist/nodes/Notion/v3/actions/block/Block.resource.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/actions/block/Block.resource.js +3 -0
- package/dist/nodes/Notion/v3/actions/block/Block.resource.js.map +1 -1
- package/dist/nodes/Notion/v3/actions/dataSource/DataSource.resource.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/actions/dataSource/DataSource.resource.js +6 -1
- package/dist/nodes/Notion/v3/actions/dataSource/DataSource.resource.js.map +1 -1
- package/dist/nodes/Notion/v3/actions/database/Database.resource.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/actions/database/Database.resource.js +3 -0
- package/dist/nodes/Notion/v3/actions/database/Database.resource.js.map +1 -1
- package/dist/nodes/Notion/v3/actions/databasePage/DatabasePage.resource.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/actions/databasePage/DatabasePage.resource.js +3 -0
- package/dist/nodes/Notion/v3/actions/databasePage/DatabasePage.resource.js.map +1 -1
- package/dist/nodes/Notion/v3/actions/page/Page.resource.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/actions/page/Page.resource.js +3 -0
- package/dist/nodes/Notion/v3/actions/page/Page.resource.js.map +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.js +1 -1
- package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.d.ts +1 -1
- package/dist/nodes/TheHiveProject/helpers/constants.d.ts +1 -1
- package/dist/nodes/TimeSaved/TimeSaved.node.json +1 -1
- package/dist/nodes/Wait/Wait.node.d.ts +1 -1
- package/dist/nodes/Wait/Wait.node.d.ts.map +1 -1
- package/dist/nodes/Wait/Wait.node.js +6 -17
- package/dist/nodes/Wait/Wait.node.js.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.d.ts.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.js +5 -2
- package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
- package/dist/nodes/Webhook/description.d.ts.map +1 -1
- package/dist/nodes/Webhook/description.js +27 -0
- package/dist/nodes/Webhook/description.js.map +1 -1
- package/dist/nodes/Wise/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Wise/GenericFunctions.js +2 -4
- package/dist/nodes/Wise/GenericFunctions.js.map +1 -1
- package/dist/nodes/Wise/Wise.node.js +15 -15
- package/dist/nodes/Wise/Wise.node.js.map +1 -1
- package/dist/nodes/Xero/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Xero/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Xero/GenericFunctions.js +5 -8
- package/dist/nodes/Xero/GenericFunctions.js.map +1 -1
- package/dist/nodes/Zendesk/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Zendesk/GenericFunctions.js +12 -0
- package/dist/nodes/Zendesk/GenericFunctions.js.map +1 -1
- package/dist/nodes/Zoho/ZohoCrm.node.js +1 -1
- package/dist/nodes/Zoho/ZohoCrm.node.js.map +1 -1
- package/dist/nodes/Zoho/zoho.dark.svg +11 -0
- package/dist/nodes/Zoho/zoho.svg +53 -1
- package/dist/types/credentials.json +4 -4
- package/dist/types/nodes.json +17 -17
- package/dist/utils/microsoft/transport.d.ts +19 -3
- package/dist/utils/microsoft/transport.d.ts.map +1 -1
- package/dist/utils/microsoft/transport.js +39 -8
- package/dist/utils/microsoft/transport.js.map +1 -1
- package/package.json +15 -14
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.d.ts +0 -10
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.d.ts.map +0 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.js +0 -20
- package/dist/nodes/Microsoft/Teams/v2/actions/chat/sharedGuard.js.map +0 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/sharedGuard.d.ts +0 -11
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/sharedGuard.d.ts.map +0 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/sharedGuard.js +0 -21
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMember/sharedGuard.js.map +0 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.d.ts +0 -10
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.d.ts.map +0 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.js +0 -20
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/sharedGuard.js.map +0 -1
|
@@ -289,6 +289,11 @@ export interface WaitV11Params {
|
|
|
289
289
|
* @default false
|
|
290
290
|
*/
|
|
291
291
|
noResponseBody?: boolean | Expression<boolean>;
|
|
292
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
293
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
294
|
+
* @default auto
|
|
295
|
+
*/
|
|
296
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
292
297
|
/** Raw body (binary)
|
|
293
298
|
* @displayOptions.hide { binaryData: [true], noResponseBody: [true] }
|
|
294
299
|
* @default false
|
|
@@ -4,15 +4,17 @@
|
|
|
4
4
|
* Re-exports all version-specific types and provides combined union type.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
+
import type { WebhookV22Node } from './v22';
|
|
7
8
|
import type { WebhookV21Node } from './v21';
|
|
8
9
|
import type { WebhookV2Node } from './v2';
|
|
9
10
|
import type { WebhookV11Node } from './v11';
|
|
10
11
|
import type { WebhookV1Node } from './v1';
|
|
11
12
|
|
|
13
|
+
export * from './v22';
|
|
12
14
|
export * from './v21';
|
|
13
15
|
export * from './v2';
|
|
14
16
|
export * from './v11';
|
|
15
17
|
export * from './v1';
|
|
16
18
|
|
|
17
19
|
// Combined union type for all versions
|
|
18
|
-
export type WebhookNode = WebhookV21Node | WebhookV2Node | WebhookV11Node | WebhookV1Node;
|
|
20
|
+
export type WebhookNode = WebhookV22Node | WebhookV21Node | WebhookV2Node | WebhookV11Node | WebhookV1Node;
|
|
@@ -23,7 +23,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
23
23
|
responseCode: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"hide":{"responseMode":["responseNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
24
24
|
responseData: resolveSchema({ parameters, schema: z.union([z.literal('allEntries'), z.literal('firstEntryJson'), z.literal('firstEntryBinary'), z.literal('noData'), expressionSchema]), required: false, displayOptions: {"show":{"responseMode":["lastNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
25
25
|
responseBinaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"responseData":["firstEntryBinary"]}}, defaults: {"responseData":"firstEntryJson"} }),
|
|
26
|
-
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
26
|
+
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), oauthClient: z.union([z.literal('auto'), z.literal('bearer'), z.literal('browser')]).optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// Return combined config schema
|
|
@@ -85,6 +85,11 @@ export interface WebhookV1Params {
|
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
noResponseBody?: boolean | Expression<boolean>;
|
|
88
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
89
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
90
|
+
* @default auto
|
|
91
|
+
*/
|
|
92
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
88
93
|
/** Expression evaluated against the incoming request. The workflow will run only if the expression returns true. <code>$json</code> exposes the request as <code>{ body, headers, params, query }</code>. Requests that do not match receive a 200 response, without creating an execution. If the expression fails to evaluate, the request is allowed through and the error is logged.
|
|
89
94
|
*/
|
|
90
95
|
onlyRunIf?: string | Expression<string>;
|
|
@@ -23,7 +23,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
23
23
|
responseCode: resolveSchema({ parameters, schema: numberOrExpression, required: false, displayOptions: {"hide":{"responseMode":["responseNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
24
24
|
responseData: resolveSchema({ parameters, schema: z.union([z.literal('allEntries'), z.literal('firstEntryJson'), z.literal('firstEntryBinary'), z.literal('noData'), expressionSchema]), required: false, displayOptions: {"show":{"responseMode":["lastNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
25
25
|
responseBinaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"responseData":["firstEntryBinary"]}}, defaults: {"responseData":"firstEntryJson"} }),
|
|
26
|
-
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
26
|
+
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), oauthClient: z.union([z.literal('auto'), z.literal('bearer'), z.literal('browser')]).optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
// Return combined config schema
|
|
@@ -85,6 +85,11 @@ export interface WebhookV11Params {
|
|
|
85
85
|
* @default false
|
|
86
86
|
*/
|
|
87
87
|
noResponseBody?: boolean | Expression<boolean>;
|
|
88
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
89
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
90
|
+
* @default auto
|
|
91
|
+
*/
|
|
92
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
88
93
|
/** Expression evaluated against the incoming request. The workflow will run only if the expression returns true. <code>$json</code> exposes the request as <code>{ body, headers, params, query }</code>. Requests that do not match receive a 200 response, without creating an execution. If the expression fails to evaluate, the request is allowed through and the error is logged.
|
|
89
94
|
*/
|
|
90
95
|
onlyRunIf?: string | Expression<string>;
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
responseMode: z.union([z.literal('onReceived'), z.literal('lastNode'), z.literal('responseNode'), expressionSchema]).optional(),
|
|
23
23
|
responseData: resolveSchema({ parameters, schema: z.union([z.literal('allEntries'), z.literal('firstEntryJson'), z.literal('firstEntryBinary'), z.literal('noData'), expressionSchema]), required: false, displayOptions: {"show":{"responseMode":["lastNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
24
24
|
responseBinaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"responseData":["firstEntryBinary"]}}, defaults: {"responseData":"firstEntryJson"} }),
|
|
25
|
-
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
25
|
+
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), oauthClient: z.union([z.literal('auto'), z.literal('bearer'), z.literal('browser')]).optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|
|
@@ -79,6 +79,11 @@ export interface WebhookV2Params {
|
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
noResponseBody?: boolean | Expression<boolean>;
|
|
82
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
83
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
84
|
+
* @default auto
|
|
85
|
+
*/
|
|
86
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
82
87
|
/** Expression evaluated against the incoming request. The workflow will run only if the expression returns true. <code>$json</code> exposes the request as <code>{ body, headers, params, query }</code>. Requests that do not match receive a 200 response, without creating an execution. If the expression fails to evaluate, the request is allowed through and the error is logged.
|
|
83
88
|
*/
|
|
84
89
|
onlyRunIf?: string | Expression<string>;
|
|
@@ -22,7 +22,7 @@ module.exports = function getSchema({ parameters, z, expressionSchema, stringOrE
|
|
|
22
22
|
responseMode: z.union([z.literal('onReceived'), z.literal('lastNode'), z.literal('responseNode'), z.literal('streaming'), expressionSchema]).optional(),
|
|
23
23
|
responseData: resolveSchema({ parameters, schema: z.union([z.literal('allEntries'), z.literal('firstEntryJson'), z.literal('firstEntryBinary'), z.literal('noData'), expressionSchema]), required: false, displayOptions: {"show":{"responseMode":["lastNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
24
24
|
responseBinaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"responseData":["firstEntryBinary"]}}, defaults: {"responseData":"firstEntryJson"} }),
|
|
25
|
-
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
25
|
+
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), oauthClient: z.union([z.literal('auto'), z.literal('bearer'), z.literal('browser')]).optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
26
26
|
});
|
|
27
27
|
|
|
28
28
|
// Return combined config schema
|
|
@@ -79,6 +79,11 @@ export interface WebhookV21Params {
|
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
noResponseBody?: boolean | Expression<boolean>;
|
|
82
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
83
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
84
|
+
* @default auto
|
|
85
|
+
*/
|
|
86
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
82
87
|
/** Expression evaluated against the incoming request. The workflow will run only if the expression returns true. <code>$json</code> exposes the request as <code>{ body, headers, params, query }</code>. Requests that do not match receive a 200 response, without creating an execution. If the expression fails to evaluate, the request is allowed through and the error is logged.
|
|
83
88
|
*/
|
|
84
89
|
onlyRunIf?: string | Expression<string>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Webhook Node - Version 2.2 - Zod Validation Schemas
|
|
3
|
+
*
|
|
4
|
+
* These schemas validate node configuration at runtime.
|
|
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
|
+
// Parameters schema
|
|
16
|
+
const parametersSchema = z.object({
|
|
17
|
+
multipleMethods: booleanOrExpression.optional(),
|
|
18
|
+
httpMethod: resolveOneOfSchemas({ parameters, variants: [{ schema: z.union([z.literal('DELETE'), z.literal('GET'), z.literal('HEAD'), z.literal('PATCH'), z.literal('POST'), z.literal('PUT'), expressionSchema]), required: false, displayOptions: {"show":{"multipleMethods":[false]}}, defaults: {"multipleMethods":false} }, { schema: z.array(z.union([z.literal('DELETE'), z.literal('GET'), z.literal('HEAD'), z.literal('PATCH'), z.literal('POST'), z.literal('PUT')])), required: false, displayOptions: {"show":{"multipleMethods":[true]}}, defaults: {"multipleMethods":false} }] }),
|
|
19
|
+
path: stringOrExpression.optional(),
|
|
20
|
+
authentication: z.union([z.literal('basicAuth'), z.literal('headerAuth'), z.literal('jwtAuth'), z.literal('n8nOAuth2'), z.literal('none')]).optional(),
|
|
21
|
+
requireExecuteAccess: resolveSchema({ parameters, schema: booleanOrExpression, required: false, displayOptions: {"show":{"authentication":["n8nOAuth2"]}}, defaults: {"authentication":"none"} }),
|
|
22
|
+
responseMode: z.union([z.literal('onReceived'), z.literal('lastNode'), z.literal('responseNode'), z.literal('streaming'), expressionSchema]).optional(),
|
|
23
|
+
responseData: resolveSchema({ parameters, schema: z.union([z.literal('allEntries'), z.literal('firstEntryJson'), z.literal('firstEntryBinary'), z.literal('noData'), expressionSchema]), required: false, displayOptions: {"show":{"responseMode":["lastNode"]}}, defaults: {"responseMode":"onReceived"} }),
|
|
24
|
+
responseBinaryPropertyName: resolveSchema({ parameters, schema: stringOrExpression, required: false, displayOptions: {"show":{"responseData":["firstEntryBinary"]}}, defaults: {"responseData":"firstEntryJson"} }),
|
|
25
|
+
options: z.object({ allowedOrigins: stringOrExpression.optional(), binaryData: booleanOrExpression.optional(), binaryPropertyName: stringOrExpression.optional(), ignoreBots: booleanOrExpression.optional(), ipWhitelist: stringOrExpression.optional(), noResponseBody: booleanOrExpression.optional(), oauthClient: z.union([z.literal('auto'), z.literal('bearer'), z.literal('browser')]).optional(), onlyRunIf: stringOrExpression.optional(), responsePropertyName: stringOrExpression.optional(), rawBody: booleanOrExpression.optional(), responseCode: z.object({ values: z.object({ responseCode: z.union([z.literal(200), z.literal(201), z.literal(204), z.literal(301), z.literal(302), z.literal(304), z.literal(400), z.literal(401), z.literal(403), z.literal(404), z.literal('customCode'), expressionSchema]).optional(), customCode: numberOrExpression.optional() }).optional() }).optional(), responseContentType: stringOrExpression.optional(), responseData: stringOrExpression.optional(), responseHeaders: z.object({ entries: z.array(z.object({ name: stringOrExpression.optional(), value: stringOrExpression.optional() })).optional() }).optional() }).optional(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Return combined config schema
|
|
29
|
+
return z.object({
|
|
30
|
+
parameters: parametersSchema.nullable().optional(),
|
|
31
|
+
});
|
|
32
|
+
};
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Webhook Node - Version 2.2
|
|
3
|
+
* Starts the workflow when a webhook is called
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface WebhookV22Params {
|
|
8
|
+
/**
|
|
9
|
+
* Whether to allow the webhook to listen for multiple HTTP methods
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
multipleMethods?: boolean | Expression<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* The HTTP method to listen to
|
|
15
|
+
* @displayOptions.show { multipleMethods: [false] }
|
|
16
|
+
* @default GET
|
|
17
|
+
*/
|
|
18
|
+
httpMethod?: 'DELETE' | 'GET' | 'HEAD' | 'PATCH' | 'POST' | 'PUT' | Expression<string>;
|
|
19
|
+
/**
|
|
20
|
+
* The path to listen to, dynamic values could be specified by using ':', e.g. 'your-path/:dynamic-value'. If dynamic values are set 'webhookId' would be prepended to path.
|
|
21
|
+
* @builderHint The webhook path that triggers this workflow
|
|
22
|
+
* @placeholderSupported false
|
|
23
|
+
*/
|
|
24
|
+
path?: string | Expression<string>;
|
|
25
|
+
/**
|
|
26
|
+
* The way to authenticate
|
|
27
|
+
* @builderHint Default to 'none'. n8n exposes inbound trigger URLs publicly by design. Only select an authentication method when the user explicitly asks to authenticate inbound traffic.
|
|
28
|
+
* @default none
|
|
29
|
+
*/
|
|
30
|
+
authentication?: 'basicAuth' | 'headerAuth' | 'jwtAuth' | 'n8nOAuth2' | 'none';
|
|
31
|
+
/**
|
|
32
|
+
* Whether the triggering user must also have permission to execute the workflow in the project it belongs to
|
|
33
|
+
* @displayOptions.show { authentication: ["n8nOAuth2"] }
|
|
34
|
+
* @default true
|
|
35
|
+
*/
|
|
36
|
+
requireExecuteAccess?: boolean | Expression<boolean>;
|
|
37
|
+
/**
|
|
38
|
+
* When and how to respond to the webhook
|
|
39
|
+
* @builderHint Use 'responseNode' to respond via a 'Respond to Webhook' node later in the workflow
|
|
40
|
+
* @default onReceived
|
|
41
|
+
*/
|
|
42
|
+
responseMode?: 'onReceived' | 'lastNode' | 'responseNode' | 'streaming' | Expression<string>;
|
|
43
|
+
/**
|
|
44
|
+
* What data should be returned. If it should return all items as an array or only the first item as object.
|
|
45
|
+
* @displayOptions.show { responseMode: ["lastNode"] }
|
|
46
|
+
* @default firstEntryJson
|
|
47
|
+
*/
|
|
48
|
+
responseData?: 'allEntries' | 'firstEntryJson' | 'firstEntryBinary' | 'noData' | Expression<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the binary property to return
|
|
51
|
+
* @displayOptions.show { responseData: ["firstEntryBinary"] }
|
|
52
|
+
* @default data
|
|
53
|
+
*/
|
|
54
|
+
responseBinaryPropertyName?: string | Expression<string>;
|
|
55
|
+
options?: {
|
|
56
|
+
/** Comma-separated list of URLs allowed for cross-origin non-preflight requests. Use * (default) to allow all origins.
|
|
57
|
+
* @default *
|
|
58
|
+
*/
|
|
59
|
+
allowedOrigins?: string | Expression<string>;
|
|
60
|
+
/** Whether the webhook will receive binary data
|
|
61
|
+
* @displayOptions.show { /httpMethod: ["PATCH", "PUT", "POST"] }
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
binaryData?: boolean | Expression<boolean>;
|
|
65
|
+
/** The name of the output field to put any binary file data in. Only relevant if binary data is received.
|
|
66
|
+
* @default data
|
|
67
|
+
*/
|
|
68
|
+
binaryPropertyName?: string | Expression<string>;
|
|
69
|
+
/** Whether to ignore requests from bots like link previewers and web crawlers
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
ignoreBots?: boolean | Expression<boolean>;
|
|
73
|
+
/** Comma-separated list of allowed IP addresses or CIDR ranges. Leave empty to allow all IPs.
|
|
74
|
+
*/
|
|
75
|
+
ipWhitelist?: string | Expression<string>;
|
|
76
|
+
/** Whether to send any body in the response
|
|
77
|
+
* @displayOptions.show { /responseMode: ["onReceived"] }
|
|
78
|
+
* @displayOptions.hide { rawBody: [true] }
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
noResponseBody?: boolean | Expression<boolean>;
|
|
82
|
+
/** How a request without a bearer token is handled when using n8n User Auth (OAuth2). Only GET requests can be redirected.
|
|
83
|
+
* @displayOptions.show { /authentication: ["n8nOAuth2"] }
|
|
84
|
+
* @default auto
|
|
85
|
+
*/
|
|
86
|
+
oauthClient?: 'auto' | 'bearer' | 'browser';
|
|
87
|
+
/** Expression evaluated against the incoming request. The workflow will run only if the expression returns true. <code>$json</code> exposes the request as <code>{ body, headers, params, query }</code>. Requests that do not match receive a 200 response, without creating an execution. If the expression fails to evaluate, the request is allowed through and the error is logged.
|
|
88
|
+
*/
|
|
89
|
+
onlyRunIf?: string | Expression<string>;
|
|
90
|
+
/** Name of the property to return the data of instead of the whole JSON
|
|
91
|
+
* @displayOptions.show { /responseData: ["firstEntryJson"], /responseMode: ["lastNode"] }
|
|
92
|
+
* @default data
|
|
93
|
+
*/
|
|
94
|
+
responsePropertyName?: string | Expression<string>;
|
|
95
|
+
/** If the data gets received via "Form-Data Multipart" it will be the prefix and a number starting with 0 will be attached to it
|
|
96
|
+
* @hint The name of the output binary field to put the file in
|
|
97
|
+
* @displayOptions.show { binaryData: [true] }
|
|
98
|
+
* @default data
|
|
99
|
+
*/
|
|
100
|
+
binaryPropertyName?: string | Expression<string>;
|
|
101
|
+
/** Raw body (binary)
|
|
102
|
+
* @displayOptions.hide { binaryData: [true], noResponseBody: [true] }
|
|
103
|
+
* @default false
|
|
104
|
+
*/
|
|
105
|
+
rawBody?: boolean | Expression<boolean>;
|
|
106
|
+
/** Whether to return the raw body
|
|
107
|
+
* @displayOptions.hide { noResponseBody: [true] }
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
110
|
+
rawBody?: boolean | Expression<boolean>;
|
|
111
|
+
/** Response Code
|
|
112
|
+
* @displayOptions.hide { /responseMode: ["responseNode"] }
|
|
113
|
+
* @default {"values":{"responseCode":200}}
|
|
114
|
+
*/
|
|
115
|
+
responseCode?: {
|
|
116
|
+
/** Values
|
|
117
|
+
*/
|
|
118
|
+
values?: {
|
|
119
|
+
/** The HTTP response code to return
|
|
120
|
+
* @default 200
|
|
121
|
+
*/
|
|
122
|
+
responseCode?: 200 | 201 | 204 | 301 | 302 | 304 | 400 | 401 | 403 | 404 | 'customCode' | Expression<number>;
|
|
123
|
+
/** Code
|
|
124
|
+
* @displayOptions.show { responseCode: ["customCode"] }
|
|
125
|
+
* @default 200
|
|
126
|
+
*/
|
|
127
|
+
customCode?: number | Expression<number>;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
/** Set a custom content-type to return if another one as the "application/json" should be returned
|
|
131
|
+
* @displayOptions.show { /responseData: ["firstEntryJson"], /responseMode: ["lastNode"] }
|
|
132
|
+
*/
|
|
133
|
+
responseContentType?: string | Expression<string>;
|
|
134
|
+
/** Custom response data to send
|
|
135
|
+
* @displayOptions.show { /responseMode: ["onReceived"] }
|
|
136
|
+
* @displayOptions.hide { noResponseBody: [true] }
|
|
137
|
+
*/
|
|
138
|
+
responseData?: string | Expression<string>;
|
|
139
|
+
/** Add headers to the webhook response
|
|
140
|
+
* @default {}
|
|
141
|
+
*/
|
|
142
|
+
responseHeaders?: {
|
|
143
|
+
/** Entries
|
|
144
|
+
*/
|
|
145
|
+
entries?: Array<{
|
|
146
|
+
/** Name of the header
|
|
147
|
+
*/
|
|
148
|
+
name?: string | Expression<string>;
|
|
149
|
+
/** Value of the header
|
|
150
|
+
*/
|
|
151
|
+
value?: string | Expression<string>;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type WebhookV22Output = {
|
|
158
|
+
headers?: Record<string, unknown>;
|
|
159
|
+
params?: Record<string, unknown>;
|
|
160
|
+
query?: Record<string, unknown>;
|
|
161
|
+
body?: Record<string, unknown>;
|
|
162
|
+
webhookUrl?: string;
|
|
163
|
+
executionMode?: string;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
export interface WebhookV22Credentials {
|
|
167
|
+
httpBasicAuth: CredentialReference;
|
|
168
|
+
httpHeaderAuth: CredentialReference;
|
|
169
|
+
jwtAuth: CredentialReference;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
interface WebhookV22NodeBase {
|
|
173
|
+
type: 'n8n-nodes-base.webhook';
|
|
174
|
+
version: 2.2;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export type WebhookV22ParamsNode = WebhookV22NodeBase & {
|
|
178
|
+
config: NodeConfig<WebhookV22Params> & { credentials?: WebhookV22Credentials };
|
|
179
|
+
output?: Items<WebhookV22Output>;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export type WebhookV22Node = WebhookV22ParamsNode;
|
|
@@ -73,7 +73,7 @@ async function execute(index) {
|
|
|
73
73
|
* Returns the files in one of two formats:
|
|
74
74
|
* - A single JSON item containing an array of all files (when outputSingleItem = true)
|
|
75
75
|
* - Multiple JSON items, one per file
|
|
76
|
-
* Data structure reference: https://docs.n8n.io/
|
|
76
|
+
* Data structure reference: https://docs.n8n.io/build/work-with-data/understand-n8ns-data-structure
|
|
77
77
|
*/
|
|
78
78
|
if (outputSingleItem) {
|
|
79
79
|
return this.helpers.returnJsonArray({ ...responseData });
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import { type INodeExecutionData, type INodeType, type INodeTypeDescription, type IPollFunctions } from 'n8n-workflow';
|
|
2
|
+
import { getJobs } from './methods/listSearch';
|
|
3
|
+
import { getPipelines } from './trigger/pipelines';
|
|
2
4
|
export declare class DatabricksTrigger implements INodeType {
|
|
3
5
|
description: INodeTypeDescription;
|
|
6
|
+
methods: {
|
|
7
|
+
listSearch: {
|
|
8
|
+
getJobs: typeof getJobs;
|
|
9
|
+
getPipelines: typeof getPipelines;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
4
12
|
poll(this: IPollFunctions): Promise<INodeExecutionData[][] | null>;
|
|
5
13
|
}
|
|
6
14
|
//# sourceMappingURL=DatabricksTrigger.node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabricksTrigger.node.d.ts","sourceRoot":"","sources":["../../../nodes/Databricks/DatabricksTrigger.node.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DatabricksTrigger.node.d.ts","sourceRoot":"","sources":["../../../nodes/Databricks/DatabricksTrigger.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAG/C,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAgBnD,qBAAa,iBAAkB,YAAW,SAAS;IAClD,WAAW,EAAE,oBAAoB,CA6K/B;IAEF,OAAO;;;;;MAEL;IAEI,IAAI,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,GAAG,IAAI,CAAC,CAKvE;CACD"}
|
|
@@ -4,11 +4,25 @@ exports.DatabricksTrigger = void 0;
|
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const authentication_1 = require("./authentication");
|
|
6
6
|
const constants_1 = require("./constants");
|
|
7
|
+
const listSearch_1 = require("./methods/listSearch");
|
|
8
|
+
const resources_1 = require("./resources");
|
|
9
|
+
const jobRunEvents_1 = require("./trigger/jobRunEvents");
|
|
10
|
+
const pipelines_1 = require("./trigger/pipelines");
|
|
11
|
+
const pipelineUpdateEvents_1 = require("./trigger/pipelineUpdateEvents");
|
|
12
|
+
const showForJob = { resource: ['job'] };
|
|
13
|
+
const showForPipeline = { resource: ['pipeline'] };
|
|
14
|
+
const UUID_REGEX = '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}';
|
|
15
|
+
function findJobPicker() {
|
|
16
|
+
const picker = resources_1.jobParameters.find((property) => property.name === 'jobId');
|
|
17
|
+
if (picker === undefined) {
|
|
18
|
+
throw new n8n_workflow_1.UnexpectedError('The Databricks job parameters do not include the jobId picker');
|
|
19
|
+
}
|
|
20
|
+
return picker;
|
|
21
|
+
}
|
|
7
22
|
class DatabricksTrigger {
|
|
8
23
|
description = {
|
|
9
24
|
displayName: 'Databricks Trigger',
|
|
10
25
|
name: 'databricksTrigger',
|
|
11
|
-
hidden: true,
|
|
12
26
|
icon: { light: 'file:databricks.svg', dark: 'file:databricks.dark.svg' },
|
|
13
27
|
group: ['trigger'],
|
|
14
28
|
version: constants_1.DATABRICKS_TRIGGER_NODE_VERSION,
|
|
@@ -20,10 +34,167 @@ class DatabricksTrigger {
|
|
|
20
34
|
polling: true,
|
|
21
35
|
inputs: [],
|
|
22
36
|
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
23
|
-
properties: [
|
|
37
|
+
properties: [
|
|
38
|
+
authentication_1.authenticationProperty,
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Use a credential that belongs to a service principal for triggers. A credential tied to a person stops firing when that person leaves or revokes consent.',
|
|
41
|
+
name: 'servicePrincipalNotice',
|
|
42
|
+
type: 'notice',
|
|
43
|
+
default: '',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Resource',
|
|
47
|
+
name: 'resource',
|
|
48
|
+
type: 'options',
|
|
49
|
+
noDataExpression: true,
|
|
50
|
+
options: [
|
|
51
|
+
{
|
|
52
|
+
name: 'Job',
|
|
53
|
+
value: 'job',
|
|
54
|
+
description: 'Watch the runs of a job',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'Pipeline',
|
|
58
|
+
value: 'pipeline',
|
|
59
|
+
description: 'Watch the updates of a pipeline',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
default: 'job',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
...findJobPicker(),
|
|
66
|
+
description: 'The job whose runs start the workflow',
|
|
67
|
+
displayOptions: {
|
|
68
|
+
show: showForJob,
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Events',
|
|
73
|
+
name: 'events',
|
|
74
|
+
type: 'multiOptions',
|
|
75
|
+
required: true,
|
|
76
|
+
displayOptions: {
|
|
77
|
+
show: showForJob,
|
|
78
|
+
},
|
|
79
|
+
options: [
|
|
80
|
+
{
|
|
81
|
+
name: 'Run Failed',
|
|
82
|
+
value: 'runFailed',
|
|
83
|
+
description: 'A run ended with any result other than a full success, including cancelled, skipped and partly failed runs. A repair of a run that was already reported does not fire again.',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Run Started',
|
|
87
|
+
value: 'runStarted',
|
|
88
|
+
description: 'A new run of the job was seen',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Run Succeeded',
|
|
92
|
+
value: 'runSucceeded',
|
|
93
|
+
description: 'A run ended with every task successful. A repair of a run that was already reported does not fire again.',
|
|
94
|
+
},
|
|
95
|
+
],
|
|
96
|
+
default: ['runFailed', 'runSucceeded'],
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
displayName: 'Pipeline',
|
|
100
|
+
name: 'pipelineId',
|
|
101
|
+
type: 'resourceLocator',
|
|
102
|
+
default: { mode: 'list', value: '' },
|
|
103
|
+
required: true,
|
|
104
|
+
description: 'The pipeline whose updates start the workflow',
|
|
105
|
+
displayOptions: {
|
|
106
|
+
show: showForPipeline,
|
|
107
|
+
},
|
|
108
|
+
modes: [
|
|
109
|
+
{
|
|
110
|
+
displayName: 'From List',
|
|
111
|
+
name: 'list',
|
|
112
|
+
type: 'list',
|
|
113
|
+
typeOptions: {
|
|
114
|
+
searchListMethod: 'getPipelines',
|
|
115
|
+
searchable: true,
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
displayName: 'By ID',
|
|
120
|
+
name: 'id',
|
|
121
|
+
type: 'string',
|
|
122
|
+
placeholder: 'e.g. 8199cd89-e2f5-4169-a6aa-656a24c8886d',
|
|
123
|
+
validation: [
|
|
124
|
+
{
|
|
125
|
+
type: 'regex',
|
|
126
|
+
properties: {
|
|
127
|
+
regex: `^${UUID_REGEX}$`,
|
|
128
|
+
errorMessage: 'Must be a pipeline ID, which is a UUID',
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
displayName: 'By URL',
|
|
135
|
+
name: 'url',
|
|
136
|
+
type: 'string',
|
|
137
|
+
placeholder: 'e.g. https://adb-xxx.azuredatabricks.net/pipelines/8199cd89-e2f5-4169-a6aa-656a24c8886d',
|
|
138
|
+
extractValue: {
|
|
139
|
+
type: 'regex',
|
|
140
|
+
regex: `https://[^/]+/(?:pipelines|\\?o=[0-9]+#joblist/pipelines|#joblist/pipelines)/(${UUID_REGEX})`,
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
displayName: 'Events',
|
|
147
|
+
name: 'events',
|
|
148
|
+
type: 'multiOptions',
|
|
149
|
+
required: true,
|
|
150
|
+
displayOptions: {
|
|
151
|
+
show: showForPipeline,
|
|
152
|
+
},
|
|
153
|
+
options: [
|
|
154
|
+
{
|
|
155
|
+
name: 'Update Completed',
|
|
156
|
+
value: 'updateCompleted',
|
|
157
|
+
description: 'An update finished successfully',
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
name: 'Update Failed',
|
|
161
|
+
value: 'updateFailed',
|
|
162
|
+
description: 'An update failed or was cancelled. Stopping a pipeline cancels the update that is running.',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: 'Update Started',
|
|
166
|
+
value: 'updateStarted',
|
|
167
|
+
description: 'A new update of the pipeline was seen',
|
|
168
|
+
},
|
|
169
|
+
],
|
|
170
|
+
default: ['updateCompleted', 'updateFailed'],
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
displayName: 'A continuous pipeline runs one update until it is stopped, so Update Completed does not fire for it. Update Started fires when the pipeline starts or restarts, and Update Failed fires when the update fails or the pipeline is stopped.',
|
|
174
|
+
name: 'continuousPipelineNotice',
|
|
175
|
+
type: 'notice',
|
|
176
|
+
default: '',
|
|
177
|
+
displayOptions: {
|
|
178
|
+
show: showForPipeline,
|
|
179
|
+
},
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
displayName: 'Simplify',
|
|
183
|
+
name: 'simplify',
|
|
184
|
+
type: 'boolean',
|
|
185
|
+
default: true,
|
|
186
|
+
description: 'Whether to return a simplified version of the response instead of the raw data',
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
};
|
|
190
|
+
methods = {
|
|
191
|
+
listSearch: { getJobs: listSearch_1.getJobs, getPipelines: pipelines_1.getPipelines },
|
|
24
192
|
};
|
|
25
193
|
async poll() {
|
|
26
|
-
|
|
194
|
+
if (this.getNodeParameter('resource', 'job') === 'pipeline') {
|
|
195
|
+
return await pipelineUpdateEvents_1.pollPipelineUpdateEvents.call(this);
|
|
196
|
+
}
|
|
197
|
+
return await jobRunEvents_1.pollJobRunEvents.call(this);
|
|
27
198
|
}
|
|
28
199
|
}
|
|
29
200
|
exports.DatabricksTrigger = DatabricksTrigger;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatabricksTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Databricks/DatabricksTrigger.node.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"DatabricksTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Databricks/DatabricksTrigger.node.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { JOB_RUNS_MAX_PAGE_SIZE, listAllJobRuns, listJobRuns, type ListJobRunsParams, } from './jobRuns';
|
|
2
2
|
export { DEFAULT_MAX_PAGES, type Page, type PageLimits } from './pagination';
|
|
3
|
-
export { isPipelineEventLevel, listAllPipelineEvents, listPipelineEvents, PIPELINE_EVENT_LEVELS, PIPELINE_EVENTS_MAX_PAGE_SIZE, type ListPipelineEventsParams, type PipelineEvent, type PipelineEventLevel, } from './pipelineEvents';
|
|
3
|
+
export { isPipelineEventLevel, listAllPipelineEvents, listPipelineEvents, PIPELINE_EVENT_LEVELS, PIPELINE_EVENTS_MAX_PAGE_SIZE, UUID_PATTERN, type ListPipelineEventsParams, type PipelineEvent, type PipelineEventLevel, } from './pipelineEvents';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../nodes/Databricks/transport/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,KAAK,iBAAiB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EACN,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,6BAA6B,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACvB,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../nodes/Databricks/transport/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,sBAAsB,EACtB,cAAc,EACd,WAAW,EACX,KAAK,iBAAiB,GACtB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,iBAAiB,EAAE,KAAK,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,EACN,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,qBAAqB,EACrB,6BAA6B,EAC7B,YAAY,EACZ,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACvB,MAAM,kBAAkB,CAAC"}
|