n8n-nodes-base 3.0.1 → 3.2.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/MicrosoftWorkIqOAuth2Api.credentials.d.ts +10 -0
- package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.d.ts.map +1 -0
- package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.js +101 -0
- package/dist/credentials/MicrosoftWorkIqOAuth2Api.credentials.js.map +1 -0
- package/dist/credentials/NotionApi.credentials.d.ts.map +1 -1
- package/dist/credentials/NotionApi.credentials.js +3 -4
- package/dist/credentials/NotionApi.credentials.js.map +1 -1
- package/dist/credentials/OpenWeatherMapApi.credentials.d.ts.map +1 -1
- package/dist/credentials/OpenWeatherMapApi.credentials.js +8 -2
- package/dist/credentials/OpenWeatherMapApi.credentials.js.map +1 -1
- package/dist/credentials/PaddleApi.credentials.d.ts.map +1 -1
- package/dist/credentials/PaddleApi.credentials.js +7 -1
- package/dist/credentials/PaddleApi.credentials.js.map +1 -1
- package/dist/credentials/PerplexityApi.credentials.d.ts.map +1 -1
- package/dist/credentials/PerplexityApi.credentials.js +2 -6
- package/dist/credentials/PerplexityApi.credentials.js.map +1 -1
- package/dist/known/credentials.json +7 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- 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_user/index.schema.js +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/index.ts +10 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/n8n/v1/resource_user/operation_get.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/openWeatherMap/v11.ts +68 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_create.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_create.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_get_all.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_update.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_coupon/operation_update.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_get_all.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_reschedule.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_payment/operation_reschedule.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_plan/operation_get_all.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_product/operation_get_all.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/index.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/index.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/paddle/v1/resource_user/operation_get_all.ts +1 -1
- package/dist/nodes/Compression/Compression.node.js +1 -1
- package/dist/nodes/Compression/Compression.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +2 -1
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.d.ts.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +3 -2
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js +1 -1
- package/dist/nodes/Google/Calendar/GoogleCalendar.node.js.map +1 -1
- package/dist/nodes/Google/Docs/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Google/Docs/GenericFunctions.js +17 -3
- package/dist/nodes/Google/Docs/GenericFunctions.js.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js +39 -11
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/Gmail.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/Gmail.node.js +1 -0
- package/dist/nodes/Google/Gmail/Gmail.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.d.ts +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.d.ts.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js +9 -0
- package/dist/nodes/Google/Sheet/v2/actions/sheet/Sheet.resource.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.d.ts.map +1 -1
- package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.js +2 -0
- package/dist/nodes/Google/Sheet/v2/actions/spreadsheet/SpreadSheet.resource.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/Description.d.ts +1 -1
- package/dist/nodes/HttpRequest/V3/Description.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V3/Description.js +17 -7
- package/dist/nodes/HttpRequest/V3/Description.js.map +1 -1
- package/dist/nodes/Jenkins/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Jenkins/GenericFunctions.js +99 -9
- package/dist/nodes/Jenkins/GenericFunctions.js.map +1 -1
- package/dist/nodes/Linear/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Linear/GenericFunctions.js +3 -2
- package/dist/nodes/Linear/GenericFunctions.js.map +1 -1
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js +3 -3
- package/dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +106 -112
- package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts +74 -6
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +367 -109
- package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts +10 -0
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js +24 -4
- package/dist/nodes/Microsoft/Teams/v2/transport/forbiddenHints.js.map +1 -1
- package/dist/nodes/MongoDb/mongodb.svg +3 -1
- package/dist/nodes/N8n/N8n.node.d.ts.map +1 -1
- package/dist/nodes/N8n/N8n.node.js +7 -0
- package/dist/nodes/N8n/N8n.node.js.map +1 -1
- package/dist/nodes/N8n/UserDescription.d.ts +4 -0
- package/dist/nodes/N8n/UserDescription.d.ts.map +1 -0
- package/dist/nodes/N8n/UserDescription.js +86 -0
- package/dist/nodes/N8n/UserDescription.js.map +1 -0
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.d.ts.map +1 -1
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js +12 -9
- package/dist/nodes/OpenWeatherMap/OpenWeatherMap.node.js.map +1 -1
- package/dist/nodes/Paddle/Paddle.node.d.ts.map +1 -1
- package/dist/nodes/Paddle/Paddle.node.js +9 -3
- package/dist/nodes/Paddle/Paddle.node.js.map +1 -1
- package/dist/nodes/Postgres/v1/PostgresV1.node.d.ts.map +1 -1
- package/dist/nodes/Postgres/v1/PostgresV1.node.js +23 -6
- package/dist/nodes/Postgres/v1/PostgresV1.node.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/Database.resource.d.ts +1 -1
- package/dist/nodes/Postgres/v2/actions/database/Database.resource.d.ts.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/Database.resource.js +6 -0
- package/dist/nodes/Postgres/v2/actions/database/Database.resource.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.d.ts.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js +3 -0
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/router.d.ts.map +1 -1
- package/dist/nodes/Postgres/v2/actions/router.js +15 -1
- package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
- package/dist/nodes/RabbitMQ/GenericFunctions.js +2 -2
- package/dist/nodes/RabbitMQ/GenericFunctions.js.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.js +1 -7
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.js +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.js.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.js +12 -6
- package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.js +4 -6
- package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
- package/dist/nodes/Splunk/v1/GenericFunctions.d.ts +2 -2
- package/dist/nodes/Splunk/v1/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Splunk/v1/GenericFunctions.js +10 -3
- package/dist/nodes/Splunk/v1/GenericFunctions.js.map +1 -1
- package/dist/nodes/Splunk/v1/SplunkV1.node.js +4 -4
- package/dist/nodes/Splunk/v1/SplunkV1.node.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/report/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js +1 -1
- package/dist/nodes/Splunk/v2/actions/search/getResult.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js +2 -2
- package/dist/nodes/Splunk/v2/actions/user/getAll.operation.js.map +1 -1
- package/dist/nodes/Splunk/v2/helpers/utils.d.ts +2 -2
- package/dist/nodes/Splunk/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Splunk/v2/helpers/utils.js +10 -3
- package/dist/nodes/Splunk/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Telegram/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Telegram/GenericFunctions.js +1 -5
- package/dist/nodes/Telegram/GenericFunctions.js.map +1 -1
- package/dist/nodes/Telegram/TelegramTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Telegram/TelegramTrigger.node.js +4 -1
- package/dist/nodes/Telegram/TelegramTrigger.node.js.map +1 -1
- package/dist/nodes/Telegram/hitl/setup.d.ts.map +1 -1
- package/dist/nodes/Telegram/hitl/setup.js +7 -9
- package/dist/nodes/Telegram/hitl/setup.js.map +1 -1
- package/dist/nodes/Telegram/hitl/tokens.d.ts +13 -0
- package/dist/nodes/Telegram/hitl/tokens.d.ts.map +1 -1
- package/dist/nodes/Telegram/hitl/tokens.js +25 -2
- package/dist/nodes/Telegram/hitl/tokens.js.map +1 -1
- package/dist/nodes/Telegram/hitl/webhook.d.ts.map +1 -1
- package/dist/nodes/Telegram/hitl/webhook.js +4 -1
- package/dist/nodes/Telegram/hitl/webhook.js.map +1 -1
- package/dist/types/credentials.json +4 -3
- package/dist/types/nodes.json +12 -12
- package/package.json +23 -21
|
@@ -33,24 +33,22 @@ function isLikelyTriggerWebhook(url, origin, reverseProxyPrefix) {
|
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Derives this execution's waiting-webhook base (origin + path, without the
|
|
36
|
-
* trailing `/<
|
|
37
|
-
*
|
|
38
|
-
*
|
|
36
|
+
* trailing `/<id>/<nodeId>`) from the signed resume URL, so the fixed HITL
|
|
37
|
+
* endpoint URL always matches whatever public base n8n itself uses for
|
|
38
|
+
* webhooks, regardless of reverse-proxy path prefixes. Engine v1 puts the
|
|
39
|
+
* execution id in that first segment, engine v2 the step id.
|
|
39
40
|
*/
|
|
40
41
|
function getWaitingWebhookBase(context) {
|
|
41
42
|
const signedUrl = new URL(context.getSignedResumeUrl());
|
|
42
|
-
const
|
|
43
|
-
if (!
|
|
43
|
+
const base = /^(.*)\/[^/]+\/[^/]+$/.exec(signedUrl.pathname);
|
|
44
|
+
if (!base) {
|
|
44
45
|
// Not expected to happen: getSignedResumeUrl's own URL-building convention
|
|
45
46
|
// changed underneath us. Fall back to the full path rather than guessing,
|
|
46
47
|
// but say so, since the fixed endpoint URL built from it will be wrong.
|
|
47
48
|
context.logger.warn(`Could not determine the waiting-webhook base path from the signed resume URL (${signedUrl.pathname}); the "Approve Within Chat" fixed endpoint URL may be incorrect.`);
|
|
48
49
|
return { origin: signedUrl.origin, path: signedUrl.pathname };
|
|
49
50
|
}
|
|
50
|
-
return {
|
|
51
|
-
origin: signedUrl.origin,
|
|
52
|
-
path: signedUrl.pathname.slice(0, signedUrl.pathname.length - suffix.length),
|
|
53
|
-
};
|
|
51
|
+
return { origin: signedUrl.origin, path: base[1] };
|
|
54
52
|
}
|
|
55
53
|
/**
|
|
56
54
|
* Preflight for "Approve Within Chat": confirms the instance is publicly
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/setup.ts"],"names":[],"mappings":";;;AAAA,wCAA2C;AAC3C,gCAAoC;AACpC,
|
|
1
|
+
{"version":3,"file":"setup.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/setup.ts"],"names":[],"mappings":";;;AAAA,wCAA2C;AAC3C,gCAAoC;AACpC,uCAAwD;AAExD,+CAAkD;AAElD,qCAAiD;AAEjD,0DAAiD;AAEjD,SAAS,cAAc,CAAC,QAAgB;IACvC,2EAA2E;IAC3E,mCAAmC;IACnC,OAAO,QAAQ,KAAK,WAAW,IAAI,QAAQ,KAAK,WAAW,IAAI,QAAQ,KAAK,OAAO,CAAC;AACrF,CAAC;AAED;;;;;;GAMG;AACH,SAAS,sBAAsB,CAAC,GAAW,EAAE,MAAc,EAAE,kBAA0B;IACtF,IAAI,CAAC;QACJ,MAAM,MAAM,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;QAC5B,IAAI,MAAM,CAAC,MAAM,KAAK,MAAM;YAAE,OAAO,KAAK,CAAC;QAC3C,MAAM,kBAAkB,GAAG,GAAG,kBAAkB,IAAI,cAAS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Bot-Api-Secret-Token`
|
|
4
4
|
* header on every incoming callback.
|
|
5
5
|
*
|
|
6
|
+
* Keyed by the bot token and no instance secret: on engine v2 the node that
|
|
7
|
+
* registers the value and the webhook that checks it can run in different
|
|
8
|
+
* processes. The bot token already controls the bot, so the derived value
|
|
9
|
+
* reveals nothing.
|
|
10
|
+
*
|
|
6
11
|
* Scoped by the full access token, not by credential record or node: every
|
|
7
12
|
* holder of this bot's token derives the same value, so re-registration is
|
|
8
13
|
* idempotent and a Telegram Trigger forwarding a callback (a different
|
|
@@ -13,4 +18,12 @@
|
|
|
13
18
|
* stays untouched.
|
|
14
19
|
*/
|
|
15
20
|
export declare function deriveHitlSecretToken(accessToken: string): string;
|
|
21
|
+
/**
|
|
22
|
+
* The value a bot holds from before the derivation moved to the bot token.
|
|
23
|
+
* The webhook accepts it until the next Send and Wait run registers the
|
|
24
|
+
* webhook again. Accepted for one release only.
|
|
25
|
+
*
|
|
26
|
+
* TODO(CET-663): remove one release after this ships.
|
|
27
|
+
*/
|
|
28
|
+
export declare function deriveLegacyHitlSecretToken(accessToken: string): string;
|
|
16
29
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/tokens.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAWjE;AAED;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAKvE"}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deriveHitlSecretToken = deriveHitlSecretToken;
|
|
4
|
+
exports.deriveLegacyHitlSecretToken = deriveLegacyHitlSecretToken;
|
|
4
5
|
const di_1 = require("@n8n/di");
|
|
5
6
|
const crypto_1 = require("crypto");
|
|
6
7
|
const n8n_core_1 = require("n8n-core");
|
|
8
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
7
9
|
/**
|
|
8
10
|
* Derives the `secret_token` registered with Telegram's `setWebhook` for HITL
|
|
9
11
|
* callbacks, and verified against the `X-Telegram-Bot-Api-Secret-Token`
|
|
10
12
|
* header on every incoming callback.
|
|
11
13
|
*
|
|
14
|
+
* Keyed by the bot token and no instance secret: on engine v2 the node that
|
|
15
|
+
* registers the value and the webhook that checks it can run in different
|
|
16
|
+
* processes. The bot token already controls the bot, so the derived value
|
|
17
|
+
* reveals nothing.
|
|
18
|
+
*
|
|
12
19
|
* Scoped by the full access token, not by credential record or node: every
|
|
13
20
|
* holder of this bot's token derives the same value, so re-registration is
|
|
14
21
|
* idempotent and a Telegram Trigger forwarding a callback (a different
|
|
@@ -19,10 +26,26 @@ const n8n_core_1 = require("n8n-core");
|
|
|
19
26
|
* stays untouched.
|
|
20
27
|
*/
|
|
21
28
|
function deriveHitlSecretToken(accessToken) {
|
|
22
|
-
|
|
29
|
+
// An empty key would make the value computable by anyone.
|
|
30
|
+
if (!accessToken)
|
|
31
|
+
throw new n8n_workflow_1.UserError('The Telegram credential has no access token');
|
|
32
|
+
const botId = accessToken.split(':')[0];
|
|
23
33
|
// Telegram's secret_token accepts 1-256 chars of A-Za-z0-9_-, exactly the
|
|
24
34
|
// base64url alphabet.
|
|
25
|
-
return (0, crypto_1.createHmac)('sha256',
|
|
35
|
+
return (0, crypto_1.createHmac)('sha256', accessToken)
|
|
36
|
+
.update(`n8n-telegram-hitl-secret:${botId}`)
|
|
37
|
+
.digest('base64url')
|
|
38
|
+
.slice(0, 43);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The value a bot holds from before the derivation moved to the bot token.
|
|
42
|
+
* The webhook accepts it until the next Send and Wait run registers the
|
|
43
|
+
* webhook again. Accepted for one release only.
|
|
44
|
+
*
|
|
45
|
+
* TODO(CET-663): remove one release after this ships.
|
|
46
|
+
*/
|
|
47
|
+
function deriveLegacyHitlSecretToken(accessToken) {
|
|
48
|
+
return (0, crypto_1.createHmac)('sha256', di_1.Container.get(n8n_core_1.InstanceSettings).hmacSignatureSecret)
|
|
26
49
|
.update(`n8n-telegram-hitl-secret:${accessToken}`)
|
|
27
50
|
.digest('base64url')
|
|
28
51
|
.slice(0, 43);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/tokens.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/tokens.ts"],"names":[],"mappings":";;;;AAAA,gCAAoC;AACpC,mCAAoC;AACpC,uCAA4C;AAC5C,+CAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,+BAAsC,WAAmB;IACxD,0DAA0D;IAC1D,IAAI,CAAC,WAAW;QAAE,MAAM,IAAI,wBAAS,CAAC,6CAA6C,CAAC,CAAC;IACrF,MAAM,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAExC,0EAA0E;IAC1E,sBAAsB;IACtB,OAAO,IAAA,mBAAU,EAAC,QAAQ,EAAE,WAAW,CAAC;SACtC,MAAM,CAAC,4BAA4B,KAAK,EAAE,CAAC;SAC3C,MAAM,CAAC,WAAW,CAAC;SACnB,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAChB,CAAC;AAED;;;;;;GAMG;AACH,qCAA4C,WAAmB;IAC9D,OAAO,IAAA,mBAAU,EAAC,QAAQ,EAAE,cAAS,CAAC,GAAG,CAAC,2BAAgB,CAAC,CAAC,mBAAmB,CAAC;SAC9E,MAAM,CAAC,4BAA4B,WAAW,EAAE,CAAC;SACjD,MAAM,CAAC,WAAW,CAAC;SACnB,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;AAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/webhook.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA4E5E;;;;;;;;GAQG;AACH,wBAAsB,0BAA0B,CAC/C,IAAI,EAAE,iBAAiB,GACrB,OAAO,CAAC,oBAAoB,CAAC,
|
|
1
|
+
{"version":3,"file":"webhook.d.ts","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/webhook.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AA4E5E;;;;;;;;GAQG;AACH,wBAAsB,0BAA0B,CAC/C,IAAI,EAAE,iBAAiB,GACrB,OAAO,CAAC,oBAAoB,CAAC,CA0H/B"}
|
|
@@ -92,7 +92,10 @@ async function telegramSendAndWaitWebhook() {
|
|
|
92
92
|
const credentials = await this.getCredentials('telegramApi');
|
|
93
93
|
const expectedToken = (0, tokens_1.deriveHitlSecretToken)(credentials.accessToken);
|
|
94
94
|
const providedToken = String(this.getHeaderData()['x-telegram-bot-api-secret-token'] ?? '');
|
|
95
|
-
|
|
95
|
+
// Both compares run every time, so an accepted tap has one timing shape.
|
|
96
|
+
const matchesCurrent = safeTokensMatch(providedToken, expectedToken);
|
|
97
|
+
const matchesLegacy = safeTokensMatch(providedToken, (0, tokens_1.deriveLegacyHitlSecretToken)(credentials.accessToken));
|
|
98
|
+
if (!matchesCurrent && !matchesLegacy) {
|
|
96
99
|
// Fail closed: the execution stays waiting.
|
|
97
100
|
res.status(403).send('');
|
|
98
101
|
return { noWebhookResponse: true };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/webhook.ts"],"names":[],"mappings":";;;AAAA,mCAAyC;AACzC,uCAAoF;AAIpF,
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../nodes/Telegram/hitl/webhook.ts"],"names":[],"mappings":";;;AAAA,mCAAyC;AACzC,uCAAoF;AAIpF,qCAA8E;AAE9E,4DAAsE;AACtE,0DAAiD;AAGjD,SAAS,eAAe,CAAC,QAAgB,EAAE,QAAgB;IAC1D,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC7C,MAAM,cAAc,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC7C,OAAO,CACN,cAAc,CAAC,UAAU,KAAK,cAAc,CAAC,UAAU;QACvD,IAAA,wBAAe,EAAC,cAAc,EAAE,cAAc,CAAC,CAC/C,CAAC;AACH,CAAC;AAED,SAAS,kBAAkB,CAAC,IAAwC;IACnE,OAAO,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,SAAS,CAAC;AACjF,CAAC;AAED,SAAS,cAAc,CAAC,IAA2B;IAClD,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAC5B,OAAO;QACN,EAAE,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,IAAI,EAAE,kBAAkB,CAAC,IAAI,CAAC;QAC9B,MAAM,EAAE,UAAU;KAClB,CAAC;AACH,CAAC;AAED,mGAAmG;AACnG,SAAS,qBAAqB,CAAC,IAA2B,EAAE,WAAqB;IAChF,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IAC1C,OAAO,IAAI,KAAK,SAAS,IAAI,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|
|
@@ -236,6 +236,7 @@
|
|
|
236
236
|
{"name":"microsoftTeamsManagerOAuth2Api","extends":["oAuth2Api"],"displayName":"Microsoft Teams Manager OAuth2 API","documentationUrl":"microsoftteams","hideDomainRestrictionFields":true,"hidden":true,"restrictToSupportedNodes":true,"supportedNodes":[],"properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://login.microsoftonline.com/organizations/oauth2/v2.0/token"},{"displayName":"Scope","name":"scope","type":"hidden","default":"openid profile offline_access https://graph.microsoft.com/User.Read https://graph.microsoft.com/Application.ReadWrite.All https://graph.microsoft.com/AppCatalog.ReadWrite.All https://graph.microsoft.com/AppCatalog.Submit"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"response_mode=query&prompt=select_account"},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"},{"displayName":"Allowed Domains","name":"allowedHttpRequestDomains","type":"hidden","default":"none"}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Microsoft.svg"},
|
|
237
237
|
{"name":"microsoftTeamsOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft Teams OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Custom Scopes","name":"customScopes","type":"boolean","default":false,"description":"Define custom scopes"},{"displayName":"The default scopes needed for the node to work are already set, If you change these the node may not function correctly.","name":"customScopesNotice","type":"notice","default":"","displayOptions":{"show":{"customScopes":[true]}}},{"displayName":"Enabled Scopes","name":"enabledScopes","type":"string","displayOptions":{"show":{"customScopes":[true]}},"default":"openid offline_access User.Read.All Group.ReadWrite.All Chat.ReadWrite ChannelMessage.Read.All OnlineMeetings.ReadWrite ChannelMessage.ReadWrite TeamworkTag.Read TeamsActivity.Send TeamMember.Read.All","description":"Scopes that should be enabled"},{"displayName":"Scope","name":"scope","type":"hidden","default":"={{$self[\"customScopes\"] ? $self[\"enabledScopes\"] : \"openid offline_access User.Read.All Group.ReadWrite.All Chat.ReadWrite ChannelMessage.Read.All OnlineMeetings.ReadWrite ChannelMessage.ReadWrite TeamworkTag.Read TeamsActivity.Send TeamMember.Read.All\"}}"},{"displayName":"\n Microsoft Teams Trigger runs on the default scopes. Per event:\n <br>New Channel Message: <code>ChannelMessage.Read.All</code>\n <br>New Chat, New Chat Message: <code>Chat.ReadWrite</code>\n <br>New Team Member: <code>TeamMember.Read.All</code>\n <br>New Channel, team and channel lists: covered by <code>Group.ReadWrite.All</code> and <code>User.Read.All</code>. With Custom Scopes, <code>Channel.ReadBasic.All</code> and <code>Team.ReadBasic.All</code> are the least privileged alternatives.\n <br>Admin consent is needed for <code>ChannelMessage.Read.All</code>, <code>TeamMember.Read.All</code>, <code>User.Read.All</code> and <code>Group.ReadWrite.All</code>, not for <code>Chat.ReadWrite</code>, <code>Channel.ReadBasic.All</code> or <code>Team.ReadBasic.All</code>.\n ","name":"notice","type":"notice","default":""}],"supportedNodes":["microsoftTeams","microsoftTeamsTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/Teams/teams.svg"},
|
|
238
238
|
{"name":"microsoftToDoOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft To Do OAuth2 API","documentationUrl":"microsoft","properties":[{"displayName":"Custom Scopes","name":"customScopes","type":"boolean","default":false,"description":"Define custom scopes"},{"displayName":"The default scopes needed for the node to work are already set, If you change these the node may not function correctly.","name":"customScopesNotice","type":"notice","default":"","displayOptions":{"show":{"customScopes":[true]}}},{"displayName":"Enabled Scopes","name":"enabledScopes","type":"string","displayOptions":{"show":{"customScopes":[true]}},"default":"openid offline_access Tasks.ReadWrite","description":"Scopes that should be enabled"},{"displayName":"Scope","name":"scope","type":"hidden","default":"={{$self[\"customScopes\"] ? $self[\"enabledScopes\"] : \"openid offline_access Tasks.ReadWrite\"}}"}],"supportedNodes":["microsoftToDo"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Microsoft/ToDo/todo.svg"},
|
|
239
|
+
{"name":"microsoftWorkIqOAuth2Api","extends":["microsoftOAuth2Api"],"displayName":"Microsoft Work IQ OAuth2 API","documentationUrl":"microsoftworkiq","properties":[{"displayName":"Tenant ID","name":"tenantId","type":"string","default":"organizations","required":true,"description":"Microsoft Entra tenant ID (GUID) or verified domain (e.g. contoso.onmicrosoft.com). Find it at portal.azure.com → Microsoft Entra ID → Overview.","hint":"Leave as \"organizations\" for a multi-tenant app registration; use a specific GUID or domain for a single-tenant one. \"common\" is deliberately not the default here, because it admits personal accounts, which cannot have Work IQ."},{"displayName":"Asking a Work IQ agent is not a read-only action. Microsoft documents WorkIQAgent.Ask, which every access level requests, as including read and write access to the Microsoft 365 resources an agent can reach.","name":"accessNotice","type":"notice","default":""},{"displayName":"Access Level","name":"accessLevel","type":"options","default":"agent","description":"Which Work IQ permissions to request. Each one needs tenant admin consent on the app registration before anyone can sign in.","hint":"Agent only matches the permission Microsoft's Work IQ MCP quickstart tells an admin to grant. The other levels need that extra consent too.","options":[{"name":"Agent Only","value":"agent","description":"Ask Work IQ agents questions. SharePoint tool paths stay hidden at this level."},{"name":"Agent Plus Direct Read","value":"read","description":"Also read Microsoft 365 data directly, which is what exposes the read-only SharePoint tool paths"},{"name":"Agent Plus Direct Changes","value":"act","description":"Also read and change Microsoft 365 data directly, exposing the SharePoint paths that create, update and delete"}]},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"={{ \"https://login.microsoftonline.com/\" + $self[\"tenantId\"].trim() + \"/oauth2/v2.0/authorize\" }}"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"={{ \"https://login.microsoftonline.com/\" + $self[\"tenantId\"].trim() + \"/oauth2/v2.0/token\" }}"},{"displayName":"Scope","name":"scope","type":"hidden","default":"={{ \"api://workiq.svc.cloud.microsoft/WorkIQAgent.Ask\" + ($self[\"accessLevel\"] === \"act\" ? \" api://workiq.svc.cloud.microsoft/WorkIQ.Act\" : $self[\"accessLevel\"] === \"read\" ? \" api://workiq.svc.cloud.microsoft/WorkIQ.Read\" : \"\") + \" offline_access\" }}"},{"displayName":"Microsoft Graph API Base URL","name":"graphApiBaseUrl","type":"hidden","default":"https://graph.microsoft.com"}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Microsoft.svg","supportedNodes":[]},
|
|
239
240
|
{"name":"mindeeInvoiceApi","displayName":"Mindee Invoice API","documentationUrl":"mindee","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"supportedNodes":["mindee"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Mindee/mindee.svg","authenticate":{}},
|
|
240
241
|
{"name":"mindeeReceiptApi","displayName":"Mindee Receipt API","documentationUrl":"mindee","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"supportedNodes":["mindee"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Mindee/mindee.svg","authenticate":{}},
|
|
241
242
|
{"name":"miroOAuth2Api","extends":["oAuth2Api"],"displayName":"Miro OAuth2 API","documentationUrl":"miro","httpRequestNode":{"name":"Miro","docsUrl":"https://developers.miro.com/reference/overview","apiBaseUrl":"https://api.miro.com/v2/"},"properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://miro.com/oauth/authorize","required":true},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.miro.com/v1/oauth/token","required":true},{"displayName":"Scope","name":"scope","type":"string","default":"boards:read boards:write","required":true,"description":"OAuth scopes to request. See <a href=\"https://developers.miro.com/reference/scopes\">Miro scopes documentation</a>."},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"body"}],"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/Miro.svg","supportedNodes":[]},
|
|
@@ -269,15 +270,15 @@
|
|
|
269
270
|
{"name":"onfleetApi","displayName":"Onfleet API","documentationUrl":"onfleet","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Signing Secret","name":"signingSecret","type":"string","typeOptions":{"password":true},"default":"","description":"Used to verify webhook authenticity. Found in Onfleet under Settings → API & Webhooks."}],"supportedNodes":["onfleet","onfleetTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Onfleet/Onfleet.svg"},
|
|
270
271
|
{"name":"openAiApi","displayName":"OpenAI","documentationUrl":"openai","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"required":true,"default":""},{"displayName":"Organization ID (optional)","name":"organizationId","type":"string","default":"","hint":"Only required if you belong to multiple organisations","description":"For users who belong to multiple organizations, you can set which organization is used for an API request. Usage from these API requests will count against the specified organization's subscription quota."},{"displayName":"Base URL","name":"url","type":"string","default":"https://api.openai.com/v1","description":"Override the default base URL for the API"},{"displayName":"Add Custom Header","name":"header","type":"boolean","default":false},{"displayName":"Header Name","name":"headerName","type":"string","typeOptions":{"ignoreCredentialExpressionResolveError":true},"displayOptions":{"show":{"header":[true]}},"default":""},{"displayName":"Header Value","name":"headerValue","type":"string","typeOptions":{"ignoreCredentialExpressionResolveError":true,"password":true},"displayOptions":{"show":{"header":[true]}},"default":""}],"test":{"request":{"baseURL":"={{$credentials?.url}}","url":"/models"}},"supportedNodes":[],"authenticate":{}},
|
|
271
272
|
{"name":"openCtiApi","displayName":"OpenCTI API","documentationUrl":"opencti","httpRequestNode":{"name":"OpenCTI","docsUrl":"https://docs.opencti.io/latest/deployment/integrations/?h=api#graphql-api","apiBaseUrl":""},"properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":"","required":true}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}"}}},"iconUrl":"icons/n8n-nodes-base/dist/credentials/icons/OpenCTI.png","supportedNodes":[]},
|
|
272
|
-
{"name":"openWeatherMapApi","displayName":"OpenWeatherMap API","documentationUrl":"openweathermap","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"qs":{"appid":"={{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"
|
|
273
|
+
{"name":"openWeatherMapApi","displayName":"OpenWeatherMap API","documentationUrl":"openweathermap","properties":[{"displayName":"Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Base URL","name":"url","type":"hidden","default":"https://api.openweathermap.org"}],"authenticate":{"type":"generic","properties":{"qs":{"appid":"={{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"={{$credentials.url}}","url":"/data/2.5/weather","qs":{"q":"London"}}},"supportedNodes":["openWeatherMap"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/OpenWeatherMap/openWeatherMap.svg"},
|
|
273
274
|
{"name":"oracleDBApi","displayName":"Oracle Database Credentials API","documentationUrl":"oracledb","properties":[{"displayName":"User","name":"user","type":"string","default":""},{"displayName":"Password","name":"password","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Connection String","name":"connectionString","type":"string","default":"localhost/orcl","description":"The Oracle database instance to connect to"},{"displayName":"Privilege","name":"privilege","type":"options","description":"The privilege to use when connecting to the database","options":[{"name":"SYSASM","value":32768},{"name":"SYSBACKUP","value":131072},{"name":"SYSDBA","value":2},{"name":"SYSDG","value":262144},{"name":"SYSKM","value":524288},{"name":"SYSOPER","value":4},{"name":"SYSPRELIM","value":8},{"name":"SYSRAC","value":1048576}]},{"displayName":"Use Optional Oracle Client Libraries","name":"useThickMode","type":"boolean","default":false,"displayOptions":{"showOnDeployment":"hosted"},"description":"Define type of connection with database"},{"displayName":"Use SSL","name":"useSSL","type":"boolean","displayOptions":{"show":{"useThickMode":[false]}},"default":false,"description":"SSL connection with database"},{"displayName":"Wallet Password","name":"walletPassword","type":"string","displayOptions":{"show":{"useThickMode":[false],"useSSL":[true]}},"typeOptions":{"password":true},"default":"","description":"The password to decrypt the Privacy Enhanced Mail (PEM)-encoded private certificate, if it is encrypted"},{"displayName":"Wallet Content","name":"walletContent","displayOptions":{"show":{"useThickMode":[false],"useSSL":[true]}},"type":"string","default":"","description":"The security credentials required to establish a mutual TLS (mTLS) connection to Oracle Database"},{"displayName":"Distinguished Name","name":"sslServerCertDN","type":"string","displayOptions":{"show":{"useThickMode":[false],"useSSL":[true]}},"default":"","description":"The distinguished name (DN) that should be matched with the certificate DN"},{"displayName":"Match Distinguished Name","name":"sslServerDNMatch","type":"boolean","default":true,"displayOptions":{"show":{"useThickMode":[false],"useSSL":[true]}},"description":"Whether the server certificate DN should be matched in addition to the regular certificate verification that is performed"},{"displayName":"Allow Weak Distinguished Name Match","name":"sslAllowWeakDNMatch","type":"boolean","default":false,"displayOptions":{"show":{"useThickMode":[false],"useSSL":[true]}},"description":"Whether the secure DN matching behavior which checks both the listener and server certificates has to be performed"},{"displayName":"Pool Min","name":"poolMin","type":"number","default":0,"description":"The number of connections established to the database when a pool is created"},{"displayName":"Pool Max","name":"poolMax","type":"number","default":4,"description":"The maximum number of connections to which a connection pool can grow"},{"displayName":"Pool Increment","name":"poolIncrement","type":"number","default":1,"description":"The number of connections that are opened whenever a connection request exceeds the number of currently open connections"},{"displayName":"Pool Maximum Session Life Time","name":"maxLifetimeSession","type":"number","default":0,"description":"The number of seconds that a pooled connection can exist in a pool after first being created"},{"displayName":"Pool Connection Idle Timeout","name":"poolTimeout","type":"number","default":60,"description":"The number of seconds after which idle connections (unused in the pool) may be terminated"},{"displayName":"Connection Class Name","name":"connectionClass","type":"string","default":"","description":"DRCP/PRCP Connection Class"},{"displayName":"Connection Timeout","name":"connectTimeout","type":"number","default":0,"displayOptions":{"show":{"useThickMode":[false]}},"description":"The timeout duration in seconds for an application to establish an Oracle Net connection"},{"displayName":"Transport Connection Timeout","name":"transportConnectTimeout","type":"number","default":20,"displayOptions":{"show":{"useThickMode":[false]}},"description":"The maximum number of seconds to wait to establish a connection to the database host"},{"displayName":"Keepalive Probe Interval","name":"expireTime","type":"number","default":0,"displayOptions":{"show":{"useThickMode":[false]}},"description":"The number of minutes between the sending of keepalive probes","typeOptions":{"minValue":0}}],"supportedNodes":["oracleDatabase"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Oracle/Sql/oracle.svg"},
|
|
274
275
|
{"name":"ouraApi","displayName":"Oura API","documentationUrl":"oura","properties":[{"displayName":"Personal Access Token","name":"accessToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.accessToken}}"}}},"test":{"request":{"baseURL":"https://api.ouraring.com","url":"/v2/usercollection/personal_info"}},"supportedNodes":["oura"],"iconUrl":{"light":"icons/n8n-nodes-base/dist/nodes/Oura/oura.svg","dark":"icons/n8n-nodes-base/dist/nodes/Oura/oura.dark.svg"}},
|
|
275
|
-
{"name":"paddleApi","displayName":"Paddle API","documentationUrl":"paddle","properties":[{"displayName":"Vendor Auth Code","name":"vendorAuthCode","type":"string","default":""},{"displayName":"Vendor ID","name":"vendorId","type":"string","default":""},{"displayName":"Use Sandbox Environment API","name":"sandbox","type":"boolean","default":false}],"supportedNodes":["paddle"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Paddle/paddle.png"},
|
|
276
|
+
{"name":"paddleApi","displayName":"Paddle Classic API","documentationUrl":"paddle","properties":[{"displayName":"These credentials only work with Paddle Classic. If you use Paddle Billing, use the Paddle Billing node and its credentials instead.","name":"paddleBillingNotice","type":"notice","default":""},{"displayName":"Vendor Auth Code","name":"vendorAuthCode","type":"string","default":""},{"displayName":"Vendor ID","name":"vendorId","type":"string","default":""},{"displayName":"Use Sandbox Environment API","name":"sandbox","type":"boolean","default":false}],"supportedNodes":["paddle"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Paddle/paddle.png"},
|
|
276
277
|
{"name":"pagerDutyApi","displayName":"PagerDuty API","documentationUrl":"pagerduty","properties":[{"displayName":"API Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""}],"supportedNodes":["pagerDuty"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/PagerDuty/pagerDuty.svg"},
|
|
277
278
|
{"name":"pagerDutyOAuth2Api","extends":["oAuth2Api"],"displayName":"PagerDuty OAuth2 API","documentationUrl":"pagerduty","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://app.pagerduty.com/oauth/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://app.pagerduty.com/oauth/token"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":""},{"displayName":"Scope","name":"scope","type":"hidden","default":"write"},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}],"supportedNodes":["pagerDuty"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/PagerDuty/pagerDuty.svg"},
|
|
278
279
|
{"name":"payPalApi","displayName":"PayPal API","documentationUrl":"paypal","properties":[{"displayName":"Client ID","name":"clientId","type":"string","default":""},{"displayName":"Secret","name":"secret","type":"string","typeOptions":{"password":true},"default":""},{"displayName":"Environment","name":"env","type":"options","default":"live","options":[{"name":"Sandbox","value":"sanbox"},{"name":"Live","value":"live"}]}],"supportedNodes":["payPal","payPalTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/PayPal/paypal.svg"},
|
|
279
280
|
{"name":"peekalinkApi","displayName":"Peekalink API","documentationUrl":"peekalink","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.peekalink.io","url":"/","method":"POST","body":{"link":"https://www.example.com"}}},"supportedNodes":["peekalink"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Peekalink/peekalink.png"},
|
|
280
|
-
{"name":"perplexityApi","displayName":"Perplexity API","documentationUrl":"perplexity","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"required":true,"default":"","description":"Your Perplexity API key. Get it from your Perplexity account."}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}","X-Source":"n8n"}}},"test":{"request":{"baseURL":"https://api.perplexity.ai","url":"/
|
|
281
|
+
{"name":"perplexityApi","displayName":"Perplexity API","documentationUrl":"perplexity","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"required":true,"default":"","description":"Your Perplexity API key. Get it from your Perplexity account."}],"authenticate":{"type":"generic","properties":{"headers":{"Authorization":"=Bearer {{$credentials.apiKey}}","X-Source":"n8n"}}},"test":{"request":{"baseURL":"https://api.perplexity.ai","url":"/v1/models","method":"GET","headers":{"Authorization":"=Bearer {{$credentials.apiKey}}","Content-Type":"application/json"},"json":true}},"supportedNodes":["perplexity"],"iconUrl":{"light":"icons/n8n-nodes-base/dist/nodes/Perplexity/perplexity.svg","dark":"icons/n8n-nodes-base/dist/nodes/Perplexity/perplexity.dark.svg"}},
|
|
281
282
|
{"name":"phantombusterApi","displayName":"Phantombuster API","documentationUrl":"phantombuster","properties":[{"displayName":"API Key","name":"apiKey","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"headers":{"X-Phantombuster-Key":"={{$credentials.apiKey}}"}}},"test":{"request":{"baseURL":"https://api.phantombuster.com/api/v2","url":"/agents/fetch-all"}},"supportedNodes":["phantombuster"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Phantombuster/phantombuster.svg"},
|
|
282
283
|
{"name":"philipsHueOAuth2Api","extends":["oAuth2Api"],"displayName":"PhilipHue OAuth2 API","documentationUrl":"philipshue","properties":[{"displayName":"Grant Type","name":"grantType","type":"hidden","default":"authorizationCode"},{"displayName":"APP ID","name":"appId","type":"string","default":""},{"displayName":"Authorization URL","name":"authUrl","type":"hidden","default":"https://api.meethue.com/v2/oauth2/authorize"},{"displayName":"Access Token URL","name":"accessTokenUrl","type":"hidden","default":"https://api.meethue.com/v2/oauth2/token"},{"displayName":"Auth URI Query Parameters","name":"authQueryParameters","type":"hidden","default":"={{\"appid=\"+$self[\"appId\"]}}"},{"displayName":"Scope","name":"scope","type":"hidden","default":""},{"displayName":"Authentication","name":"authentication","type":"hidden","default":"header"}],"supportedNodes":["philipsHue"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/PhilipsHue/philipshue.png"},
|
|
283
284
|
{"name":"pipedriveApi","displayName":"Pipedrive API","documentationUrl":"pipedrive","properties":[{"displayName":"API Token","name":"apiToken","type":"string","typeOptions":{"password":true},"default":""}],"authenticate":{"type":"generic","properties":{"qs":{"api_token":"={{$credentials.apiToken}}"}}},"test":{"request":{"baseURL":"https://api.pipedrive.com/v1","url":"/userSettings"}},"supportedNodes":["pipedrive","pipedriveTrigger"],"iconUrl":"icons/n8n-nodes-base/dist/nodes/Pipedrive/pipedrive.svg"},
|