n8n-nodes-base 1.113.1 → 1.114.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/credentials/ActionNetworkApi.credentials.js +1 -1
- package/dist/credentials/ActiveCampaignApi.credentials.js +1 -1
- package/dist/credentials/AcuitySchedulingApi.credentials.js +1 -1
- package/dist/credentials/AcuitySchedulingOAuth2Api.credentials.js +1 -1
- package/dist/credentials/AgileCrmApi.credentials.js +1 -1
- package/dist/credentials/ApiTemplateIoApi.credentials.js +1 -1
- package/dist/credentials/Aws.credentials.d.ts.map +1 -1
- package/dist/credentials/Aws.credentials.js +14 -0
- package/dist/credentials/Aws.credentials.js.map +1 -1
- package/dist/credentials/BambooHrApi.credentials.js +1 -1
- package/dist/credentials/CircleCiApi.credentials.js +1 -1
- package/dist/credentials/ClickUpApi.credentials.js +1 -1
- package/dist/credentials/ClickUpOAuth2Api.credentials.js +1 -1
- package/dist/credentials/ConvertKitApi.credentials.js +1 -1
- package/dist/credentials/CrateDb.credentials.js +1 -1
- package/dist/credentials/CustomerIoApi.credentials.js +1 -1
- package/dist/credentials/DeepLApi.credentials.js +1 -1
- package/dist/credentials/ElasticSecurityApi.credentials.js +1 -1
- package/dist/credentials/FileMaker.credentials.js +1 -1
- package/dist/credentials/FormIoApi.credentials.js +1 -1
- package/dist/credentials/FormstackApi.credentials.js +1 -1
- package/dist/credentials/FormstackOAuth2Api.credentials.js +1 -1
- package/dist/credentials/GetResponseApi.credentials.js +1 -1
- package/dist/credentials/GoToWebinarOAuth2Api.credentials.js +1 -1
- package/dist/credentials/HelpScoutOAuth2Api.credentials.js +1 -1
- package/dist/credentials/HighLevelApi.credentials.js +1 -1
- package/dist/credentials/HighLevelOAuth2Api.credentials.js +1 -1
- package/dist/credentials/HomeAssistantApi.credentials.js +1 -1
- package/dist/credentials/HttpBasicAuth.credentials.js +1 -1
- package/dist/credentials/HttpBearerAuth.credentials.js +1 -1
- package/dist/credentials/HttpCustomAuth.credentials.js +1 -1
- package/dist/credentials/HttpDigestAuth.credentials.js +1 -1
- package/dist/credentials/HttpHeaderAuth.credentials.js +1 -1
- package/dist/credentials/HttpQueryAuth.credentials.js +1 -1
- package/dist/credentials/HttpSslAuth.credentials.js +1 -1
- package/dist/credentials/HumanticAiApi.credentials.js +1 -1
- package/dist/credentials/InvoiceNinjaApi.credentials.js +1 -1
- package/dist/credentials/JotFormApi.credentials.js +1 -1
- package/dist/credentials/KoBoToolboxApi.credentials.js +1 -1
- package/dist/credentials/LingvaNexApi.credentials.js +1 -1
- package/dist/credentials/LinkedInCommunityManagementOAuth2Api.credentials.js +1 -1
- package/dist/credentials/LinkedInOAuth2Api.credentials.js +1 -1
- package/dist/credentials/MailerLiteApi.credentials.js +1 -1
- package/dist/credentials/MessageBirdApi.credentials.js +1 -1
- package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js +1 -1
- package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftSql.credentials.js +1 -1
- package/dist/credentials/MondayComApi.credentials.js +1 -1
- package/dist/credentials/MongoDb.credentials.js +1 -1
- package/dist/credentials/MonicaCrmApi.credentials.js +1 -1
- package/dist/credentials/MySql.credentials.js +1 -1
- package/dist/credentials/NextCloudApi.credentials.js +1 -1
- package/dist/credentials/NextCloudOAuth2Api.credentials.js +1 -1
- package/dist/credentials/NocoDb.credentials.js +1 -1
- package/dist/credentials/NocoDbApiToken.credentials.js +1 -1
- package/dist/credentials/OAuth1Api.credentials.js +1 -1
- package/dist/credentials/OAuth2Api.credentials.js +1 -1
- package/dist/credentials/OneSimpleApi.credentials.js +1 -1
- package/dist/credentials/OpenAiApi.credentials.js +1 -1
- package/dist/credentials/OpenWeatherMapApi.credentials.js +1 -1
- package/dist/credentials/PagerDutyApi.credentials.js +1 -1
- package/dist/credentials/PagerDutyOAuth2Api.credentials.js +1 -1
- package/dist/credentials/PayPalApi.credentials.js +1 -1
- package/dist/credentials/PhilipsHueOAuth2Api.credentials.js +1 -1
- package/dist/credentials/PostHogApi.credentials.js +1 -1
- package/dist/credentials/ProfitWellApi.credentials.js +1 -1
- package/dist/credentials/QuestDb.credentials.js +1 -1
- package/dist/credentials/SeaTableApi.credentials.js +1 -1
- package/dist/credentials/SecurityScorecardApi.credentials.js +1 -1
- package/dist/credentials/SentryIoApi.credentials.js +1 -1
- package/dist/credentials/SentryIoOAuth2Api.credentials.js +1 -1
- package/dist/credentials/SentryIoServerApi.credentials.js +1 -1
- package/dist/credentials/ServiceNowBasicApi.credentials.js +1 -1
- package/dist/credentials/ServiceNowOAuth2Api.credentials.js +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.js +4 -0
- package/dist/credentials/SlackOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/SurveyMonkeyApi.credentials.js +1 -1
- package/dist/credentials/SurveyMonkeyOAuth2Api.credentials.js +1 -1
- package/dist/credentials/TheHiveApi.credentials.js +1 -1
- package/dist/credentials/TheHiveProjectApi.credentials.js +1 -1
- package/dist/credentials/TimescaleDb.credentials.js +1 -1
- package/dist/credentials/TravisCiApi.credentials.js +1 -1
- package/dist/credentials/UProcApi.credentials.js +1 -1
- package/dist/credentials/UnleashedSoftwareApi.credentials.js +1 -1
- package/dist/credentials/UptimeRobotApi.credentials.js +1 -1
- package/dist/credentials/UrlScanIoApi.credentials.js +1 -1
- package/dist/credentials/WhatsAppApi.credentials.js +1 -1
- package/dist/credentials/WhatsAppTriggerApi.credentials.js +1 -1
- package/dist/credentials/WooCommerceApi.credentials.js +1 -1
- package/dist/nodes/Code/PythonTaskRunnerSandbox.d.ts.map +1 -1
- package/dist/nodes/Code/PythonTaskRunnerSandbox.js +11 -5
- package/dist/nodes/Code/PythonTaskRunnerSandbox.js.map +1 -1
- package/dist/nodes/DataTable/DataTable.node.json +1 -1
- package/dist/nodes/DataTable/actions/router.js +2 -2
- package/dist/nodes/DataTable/actions/row/delete.operation.js +2 -2
- package/dist/nodes/DataTable/actions/row/get.operation.js +2 -2
- package/dist/nodes/DataTable/actions/row/insert.operation.d.ts +2 -2
- package/dist/nodes/DataTable/actions/row/insert.operation.js +3 -3
- package/dist/nodes/DataTable/actions/row/rowExists.operation.js +2 -2
- package/dist/nodes/DataTable/actions/row/rowNotExists.operation.js +2 -2
- package/dist/nodes/DataTable/actions/row/update.operation.js +2 -2
- package/dist/nodes/DataTable/actions/row/upsert.operation.js +2 -2
- package/dist/nodes/DataTable/common/addRow.d.ts +1 -1
- package/dist/nodes/DataTable/common/constants.d.ts +2 -2
- package/dist/nodes/DataTable/common/selectMany.d.ts +3 -3
- package/dist/nodes/DataTable/common/selectMany.d.ts.map +1 -1
- package/dist/nodes/DataTable/common/selectMany.js +12 -10
- package/dist/nodes/DataTable/common/selectMany.js.map +1 -1
- package/dist/nodes/DataTable/common/utils.d.ts +6 -6
- package/dist/nodes/DataTable/common/utils.d.ts.map +1 -1
- package/dist/nodes/DataTable/common/utils.js +23 -12
- package/dist/nodes/DataTable/common/utils.js.map +1 -1
- package/dist/nodes/Discord/v2/actions/versionDescription.d.ts.map +1 -1
- package/dist/nodes/Discord/v2/actions/versionDescription.js +2 -0
- package/dist/nodes/Discord/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/EmailSend/v2/EmailSendV2.node.d.ts.map +1 -1
- package/dist/nodes/EmailSend/v2/EmailSendV2.node.js +1 -0
- package/dist/nodes/EmailSend/v2/EmailSendV2.node.js.map +1 -1
- package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js +4 -4
- package/dist/nodes/Evaluation/utils/evaluationUtils.d.ts +2 -2
- package/dist/nodes/Evaluation/utils/evaluationUtils.js +2 -2
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +3 -0
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
- package/dist/nodes/Form/Form.node.d.ts.map +1 -1
- package/dist/nodes/Form/Form.node.js +1 -0
- package/dist/nodes/Form/Form.node.js.map +1 -1
- package/dist/nodes/Github/Github.node.d.ts.map +1 -1
- package/dist/nodes/Github/Github.node.js +8 -0
- package/dist/nodes/Github/Github.node.js.map +1 -1
- package/dist/nodes/Google/Chat/GoogleChat.node.d.ts.map +1 -1
- package/dist/nodes/Google/Chat/GoogleChat.node.js +1 -0
- package/dist/nodes/Google/Chat/GoogleChat.node.js.map +1 -1
- package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.d.ts.map +1 -1
- package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js +8 -7
- package/dist/nodes/Google/GSuiteAdmin/GSuiteAdmin.node.js.map +1 -1
- package/dist/nodes/Google/GSuiteAdmin/{GroupDescripion.d.ts → GroupDescription.d.ts} +1 -1
- package/dist/nodes/Google/GSuiteAdmin/GroupDescription.d.ts.map +1 -0
- package/dist/nodes/Google/GSuiteAdmin/{GroupDescripion.js → GroupDescription.js} +1 -1
- package/dist/nodes/Google/GSuiteAdmin/GroupDescription.js.map +1 -0
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +1 -0
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
- package/dist/nodes/Microsoft/Outlook/v2/actions/node.description.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Outlook/v2/actions/node.description.js +2 -0
- package/dist/nodes/Microsoft/Outlook/v2/actions/node.description.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 +2 -0
- package/dist/nodes/Microsoft/Teams/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.js +1 -0
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.d.ts.map +1 -1
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.js +18 -15
- package/dist/nodes/SpreadsheetFile/v2/fromFile.operation.js.map +1 -1
- package/dist/nodes/Supabase/GenericFunctions.d.ts +3 -2
- package/dist/nodes/Supabase/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Supabase/GenericFunctions.js +23 -4
- package/dist/nodes/Supabase/GenericFunctions.js.map +1 -1
- package/dist/nodes/Supabase/Supabase.node.d.ts.map +1 -1
- package/dist/nodes/Supabase/Supabase.node.js +23 -7
- package/dist/nodes/Supabase/Supabase.node.js.map +1 -1
- package/dist/nodes/Telegram/Telegram.node.d.ts.map +1 -1
- package/dist/nodes/Telegram/Telegram.node.js +1 -0
- package/dist/nodes/Telegram/Telegram.node.js.map +1 -1
- package/dist/nodes/Transform/SplitOut/SplitOut.node.d.ts.map +1 -1
- package/dist/nodes/Transform/SplitOut/SplitOut.node.js +9 -24
- package/dist/nodes/Transform/SplitOut/SplitOut.node.js.map +1 -1
- package/dist/nodes/Transform/SplitOut/utils.d.ts +10 -0
- package/dist/nodes/Transform/SplitOut/utils.d.ts.map +1 -0
- package/dist/nodes/Transform/SplitOut/utils.js +30 -0
- package/dist/nodes/Transform/SplitOut/utils.js.map +1 -0
- package/dist/nodes/Wait/Wait.node.d.ts.map +1 -1
- package/dist/nodes/Wait/Wait.node.js +18 -0
- package/dist/nodes/Wait/Wait.node.js.map +1 -1
- package/dist/nodes/WhatsApp/WhatsApp.node.d.ts.map +1 -1
- package/dist/nodes/WhatsApp/WhatsApp.node.js +1 -0
- package/dist/nodes/WhatsApp/WhatsApp.node.js.map +1 -1
- package/dist/typecheck.tsbuildinfo +1 -1
- package/dist/types/credentials.json +84 -84
- package/dist/types/nodes.json +15 -15
- package/dist/utils/sendAndWait/utils.d.ts +1 -0
- package/dist/utils/sendAndWait/utils.d.ts.map +1 -1
- package/dist/utils/sendAndWait/utils.js +8 -0
- package/dist/utils/sendAndWait/utils.js.map +1 -1
- package/package.json +7 -6
- package/dist/nodes/Google/GSuiteAdmin/GroupDescripion.d.ts.map +0 -1
- package/dist/nodes/Google/GSuiteAdmin/GroupDescripion.js.map +0 -1
|
@@ -4,7 +4,7 @@ exports.SecurityScorecardApi = void 0;
|
|
|
4
4
|
class SecurityScorecardApi {
|
|
5
5
|
name = 'securityScorecardApi';
|
|
6
6
|
displayName = 'SecurityScorecard API';
|
|
7
|
-
documentationUrl = '
|
|
7
|
+
documentationUrl = 'securityscorecard';
|
|
8
8
|
properties = [
|
|
9
9
|
{
|
|
10
10
|
displayName: 'API Key',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"SlackOAuth2Api.credentials.d.ts","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AA4BrE,qBAAa,cAAe,YAAW,eAAe;IACrD,IAAI,SAAoB;IAExB,OAAO,WAAiB;IAExB,WAAW,SAAsB;IAEjC,gBAAgB,SAAW;IAE3B,UAAU,EAAE,eAAe,EAAE,CA6C3B;CACF"}
|
|
@@ -5,12 +5,16 @@ exports.SlackOAuth2Api = void 0;
|
|
|
5
5
|
const userScopes = [
|
|
6
6
|
'channels:read',
|
|
7
7
|
'channels:write',
|
|
8
|
+
'channels:history',
|
|
8
9
|
'chat:write',
|
|
9
10
|
'files:read',
|
|
10
11
|
'files:write',
|
|
11
12
|
'groups:read',
|
|
13
|
+
'groups:history',
|
|
12
14
|
'im:read',
|
|
15
|
+
'im:history',
|
|
13
16
|
'mpim:read',
|
|
17
|
+
'mpim:history',
|
|
14
18
|
'reactions:read',
|
|
15
19
|
'reactions:write',
|
|
16
20
|
'stars:read',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAM,UAAU,GAAG;IAClB,eAAe;IACf,gBAAgB;IAChB,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;IACb,SAAS;IACT,WAAW;IACX,gBAAgB;IAChB,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,iBAAiB;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,YAAY;IACZ,aAAa;CACb,CAAC;AAEF,MAAa,cAAc;IAC1B,IAAI,GAAG,gBAAgB,CAAC;IAExB,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,OAAO,CAAC;IAE3B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,sCAAsC;SAC/C;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uCAAuC;SAChD;QACD,8BAA8B;QAC9B;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,YAAY;SACrB;QACD;YACC,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,qBAAqB;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,cAAc,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;SAC7C;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MAAM;SACf;QACD;YACC,WAAW,EACV,4MAA4M;YAC7M,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;KACD,CAAC;CACF;AAvDD,wCAuDC"}
|
|
1
|
+
{"version":3,"file":"SlackOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,+CAA+C;AAC/C,MAAM,UAAU,GAAG;IAClB,eAAe;IACf,gBAAgB;IAChB,kBAAkB;IAClB,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,aAAa;IACb,gBAAgB;IAChB,SAAS;IACT,YAAY;IACZ,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,iBAAiB;IACjB,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,iBAAiB;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,YAAY;IACZ,aAAa;CACb,CAAC;AAEF,MAAa,cAAc;IAC1B,IAAI,GAAG,gBAAgB,CAAC;IAExB,OAAO,GAAG,CAAC,WAAW,CAAC,CAAC;IAExB,WAAW,GAAG,kBAAkB,CAAC;IAEjC,gBAAgB,GAAG,OAAO,CAAC;IAE3B,UAAU,GAAsB;QAC/B;YACC,WAAW,EAAE,YAAY;YACzB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,mBAAmB;SAC5B;QACD;YACC,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,sCAAsC;SAC/C;QACD;YACC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,uCAAuC;SAChD;QACD,8BAA8B;QAC9B;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,YAAY;SACrB;QACD;YACC,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,qBAAqB;YAC3B,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,cAAc,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;SAC7C;QACD;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,MAAM;SACf;QACD;YACC,WAAW,EACV,4MAA4M;YAC7M,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,EAAE;SACX;KACD,CAAC;CACF;AAvDD,wCAuDC"}
|
|
@@ -13,7 +13,7 @@ class SurveyMonkeyOAuth2Api {
|
|
|
13
13
|
name = 'surveyMonkeyOAuth2Api';
|
|
14
14
|
extends = ['oAuth2Api'];
|
|
15
15
|
displayName = 'SurveyMonkey OAuth2 API';
|
|
16
|
-
documentationUrl = '
|
|
16
|
+
documentationUrl = 'surveymonkey';
|
|
17
17
|
properties = [
|
|
18
18
|
{
|
|
19
19
|
displayName: 'Grant Type',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PythonTaskRunnerSandbox.d.ts","sourceRoot":"","sources":["../../../nodes/Code/PythonTaskRunnerSandbox.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"PythonTaskRunnerSandbox.d.ts","sourceRoot":"","sources":["../../../nodes/Code/PythonTaskRunnerSandbox.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,MAAM,cAAc,CAAC;AAUtB,qBAAa,uBAAuB;IAElC,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAHhB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,iBAAiB,EAC3B,YAAY,EAAE,mBAAmB,EACjC,gBAAgB,EAAE,iBAAiB;IAGrD;;;;;;OAMG;IACG,qBAAqB;CA6C3B"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PythonTaskRunnerSandbox = void 0;
|
|
4
|
+
const result_validation_1 = require("./result-validation");
|
|
4
5
|
const throw_execution_error_1 = require("./throw-execution-error");
|
|
6
|
+
const PYTHON_TEXT_KEYS = {
|
|
7
|
+
object: { singular: 'dictionary', plural: 'dictionaries' },
|
|
8
|
+
};
|
|
5
9
|
class PythonTaskRunnerSandbox {
|
|
6
10
|
pythonCode;
|
|
7
11
|
nodeMode;
|
|
@@ -34,13 +38,15 @@ class PythonTaskRunnerSandbox {
|
|
|
34
38
|
nodeName: node.name,
|
|
35
39
|
workflowId: workflow.id,
|
|
36
40
|
workflowName: workflow.name,
|
|
37
|
-
/** Whether this task can log to the browser console. */
|
|
38
|
-
canLog: this.executeFunctions.getMode() === 'manual',
|
|
39
41
|
};
|
|
40
42
|
const executionResult = await this.executeFunctions.startJob('python', taskSettings, itemIndex);
|
|
41
|
-
|
|
42
|
-
? executionResult.
|
|
43
|
-
|
|
43
|
+
if (!executionResult.ok) {
|
|
44
|
+
return (0, throw_execution_error_1.throwExecutionError)('error' in executionResult ? executionResult.error : {});
|
|
45
|
+
}
|
|
46
|
+
if (this.nodeMode === 'runOnceForAllItems') {
|
|
47
|
+
return (0, result_validation_1.validateRunCodeAllItems)(executionResult.result, PYTHON_TEXT_KEYS, this.executeFunctions.helpers.normalizeItems.bind(this.executeFunctions.helpers));
|
|
48
|
+
}
|
|
49
|
+
return executionResult.result.map((item, index) => (0, result_validation_1.validateRunCodeEachItem)(item, index, PYTHON_TEXT_KEYS, this.executeFunctions.helpers.normalizeItems.bind(this.executeFunctions.helpers)));
|
|
44
50
|
}
|
|
45
51
|
}
|
|
46
52
|
exports.PythonTaskRunnerSandbox = PythonTaskRunnerSandbox;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PythonTaskRunnerSandbox.js","sourceRoot":"","sources":["../../../nodes/Code/PythonTaskRunnerSandbox.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"PythonTaskRunnerSandbox.js","sourceRoot":"","sources":["../../../nodes/Code/PythonTaskRunnerSandbox.ts"],"names":[],"mappings":";;;AAQA,2DAAuF;AACvF,mEAA8D;AAE9D,MAAM,gBAAgB,GAAa;IAClC,MAAM,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE;CAC1D,CAAC;AAEF,MAAa,uBAAuB;IAEjB;IACA;IACA;IACA;IAJlB,YACkB,UAAkB,EAClB,QAA2B,EAC3B,YAAiC,EACjC,gBAAmC;QAHnC,eAAU,GAAV,UAAU,CAAQ;QAClB,aAAQ,GAAR,QAAQ,CAAmB;QAC3B,iBAAY,GAAZ,YAAY,CAAqB;QACjC,qBAAgB,GAAhB,gBAAgB,CAAmB;IAClD,CAAC;IAEJ;;;;;;OAMG;IACH,KAAK,CAAC,qBAAqB;QAC1B,MAAM,SAAS,GAAG,CAAC,CAAC;QAEpB,MAAM,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC;QAC7C,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC;QAErD,MAAM,YAAY,GAA4B;YAC7C,IAAI,EAAE,IAAI,CAAC,UAAU;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,cAAc,EAAE,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE;YACtD,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE;YAC3C,MAAM,EAAE,IAAI,CAAC,EAAE;YACf,QAAQ,EAAE,IAAI,CAAC,IAAI;YACnB,UAAU,EAAE,QAAQ,CAAC,EAAE;YACvB,YAAY,EAAE,QAAQ,CAAC,IAAI;SAC3B,CAAC;QAEF,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,gBAAgB,CAAC,QAAQ,CAC3D,QAAQ,EACR,YAAY,EACZ,SAAS,CACT,CAAC;QAEF,IAAI,CAAC,eAAe,CAAC,EAAE,EAAE,CAAC;YACzB,OAAO,IAAA,2CAAmB,EAAC,OAAO,IAAI,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QACrF,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,KAAK,oBAAoB,EAAE,CAAC;YAC5C,OAAO,IAAA,2CAAuB,EAC7B,eAAe,CAAC,MAAM,EACtB,gBAAgB,EAChB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAChF,CAAC;QACH,CAAC;QAED,OAAO,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CACjD,IAAA,2CAAuB,EACtB,IAAI,EACJ,KAAK,EACL,gBAAgB,EAChB,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAChF,CACD,CAAC;IACH,CAAC;CACD;AA5DD,0DA4DC"}
|
|
@@ -42,10 +42,10 @@ function hasBulkExecute(operation) {
|
|
|
42
42
|
return BULK_OPERATIONS.includes(operation);
|
|
43
43
|
}
|
|
44
44
|
function hasComplexId(ctx) {
|
|
45
|
-
const
|
|
45
|
+
const dataTableIdExpr = ctx.getNodeParameter(`${fields_1.DATA_TABLE_ID_FIELD}.value`, 0, undefined, {
|
|
46
46
|
rawExpressions: true,
|
|
47
47
|
});
|
|
48
|
-
return typeof
|
|
48
|
+
return typeof dataTableIdExpr === 'string' && dataTableIdExpr.includes('{');
|
|
49
49
|
}
|
|
50
50
|
async function router() {
|
|
51
51
|
let operationResult = [];
|
|
@@ -27,13 +27,13 @@ exports.description = [
|
|
|
27
27
|
},
|
|
28
28
|
];
|
|
29
29
|
async function execute(index) {
|
|
30
|
-
const
|
|
30
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
31
31
|
const dryRun = (0, utils_1.getDryRunParameter)(this, index);
|
|
32
32
|
const filter = await (0, selectMany_1.getSelectFilter)(this, index);
|
|
33
33
|
if (filter.filters.length === 0) {
|
|
34
34
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'At least one condition is required');
|
|
35
35
|
}
|
|
36
|
-
const result = await
|
|
36
|
+
const result = await dataTableProxy.deleteRows({ filter, dryRun });
|
|
37
37
|
return result.map((json) => ({ json }));
|
|
38
38
|
}
|
|
39
39
|
//# sourceMappingURL=delete.operation.js.map
|
|
@@ -41,7 +41,7 @@ exports.description = [
|
|
|
41
41
|
},
|
|
42
42
|
];
|
|
43
43
|
async function execute(index) {
|
|
44
|
-
const
|
|
45
|
-
return await (0, selectMany_1.executeSelectMany)(this, index,
|
|
44
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
45
|
+
return await (0, selectMany_1.executeSelectMany)(this, index, dataTableProxy);
|
|
46
46
|
}
|
|
47
47
|
//# sourceMappingURL=get.operation.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IDataTableProjectService, IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const FIELD: string;
|
|
3
3
|
export declare const description: INodeProperties[];
|
|
4
4
|
export declare function execute(this: IExecuteFunctions, index: number): Promise<INodeExecutionData[]>;
|
|
5
|
-
export declare function executeBulk(this: IExecuteFunctions, proxy:
|
|
5
|
+
export declare function executeBulk(this: IExecuteFunctions, proxy: IDataTableProjectService): Promise<INodeExecutionData[]>;
|
|
6
6
|
//# sourceMappingURL=insert.operation.d.ts.map
|
|
@@ -35,7 +35,7 @@ exports.description = [
|
|
|
35
35
|
];
|
|
36
36
|
async function execute(index) {
|
|
37
37
|
const optimizeBulkEnabled = this.getNodeParameter('options.optimizeBulk', index, false);
|
|
38
|
-
const
|
|
38
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
39
39
|
const row = (0, addRow_1.getAddRow)(this, index);
|
|
40
40
|
if (optimizeBulkEnabled) {
|
|
41
41
|
// This function is always called by index, so we inherently cannot operate in bulk
|
|
@@ -43,11 +43,11 @@ async function execute(index) {
|
|
|
43
43
|
message: 'Unable to optimize bulk insert due to expression in Data table ID ',
|
|
44
44
|
location: 'outputPane',
|
|
45
45
|
});
|
|
46
|
-
const json = await
|
|
46
|
+
const json = await dataTableProxy.insertRows([row], 'count');
|
|
47
47
|
return [{ json }];
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
|
-
const insertedRows = await
|
|
50
|
+
const insertedRows = await dataTableProxy.insertRows([row], 'all');
|
|
51
51
|
return insertedRows.map((json, item) => ({ json, pairedItem: { item } }));
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -13,8 +13,8 @@ const displayOptions = {
|
|
|
13
13
|
};
|
|
14
14
|
exports.description = [...(0, selectMany_1.getSelectFields)(displayOptions, true, true)];
|
|
15
15
|
async function execute(index) {
|
|
16
|
-
const
|
|
17
|
-
const hits = await (0, selectMany_1.executeSelectMany)(this, index,
|
|
16
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
17
|
+
const hits = await (0, selectMany_1.executeSelectMany)(this, index, dataTableProxy, undefined, 1);
|
|
18
18
|
return hits.length > 0 ? [this.getInputData()[index]] : [];
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=rowExists.operation.js.map
|
|
@@ -13,8 +13,8 @@ const displayOptions = {
|
|
|
13
13
|
};
|
|
14
14
|
exports.description = [...(0, selectMany_1.getSelectFields)(displayOptions, true, true)];
|
|
15
15
|
async function execute(index) {
|
|
16
|
-
const
|
|
17
|
-
const hits = await (0, selectMany_1.executeSelectMany)(this, index,
|
|
16
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
17
|
+
const hits = await (0, selectMany_1.executeSelectMany)(this, index, dataTableProxy, undefined, 1);
|
|
18
18
|
return hits.length === 0 ? [this.getInputData()[index]] : [];
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=rowNotExists.operation.js.map
|
|
@@ -28,14 +28,14 @@ exports.description = [
|
|
|
28
28
|
},
|
|
29
29
|
];
|
|
30
30
|
async function execute(index) {
|
|
31
|
-
const
|
|
31
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
32
32
|
const dryRun = (0, utils_1.getDryRunParameter)(this, index);
|
|
33
33
|
const row = (0, addRow_1.getAddRow)(this, index);
|
|
34
34
|
const filter = await (0, selectMany_1.getSelectFilter)(this, index);
|
|
35
35
|
if (filter.filters.length === 0) {
|
|
36
36
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'At least one condition is required');
|
|
37
37
|
}
|
|
38
|
-
const updatedRows = await
|
|
38
|
+
const updatedRows = await dataTableProxy.updateRows({
|
|
39
39
|
data: row,
|
|
40
40
|
filter,
|
|
41
41
|
dryRun,
|
|
@@ -28,14 +28,14 @@ exports.description = [
|
|
|
28
28
|
},
|
|
29
29
|
];
|
|
30
30
|
async function execute(index) {
|
|
31
|
-
const
|
|
31
|
+
const dataTableProxy = await (0, utils_1.getDataTableProxyExecute)(this, index);
|
|
32
32
|
const dryRun = (0, utils_1.getDryRunParameter)(this, index);
|
|
33
33
|
const row = (0, addRow_1.getAddRow)(this, index);
|
|
34
34
|
const filter = await (0, selectMany_1.getSelectFilter)(this, index);
|
|
35
35
|
if (filter.filters.length === 0) {
|
|
36
36
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'At least one condition is required');
|
|
37
37
|
}
|
|
38
|
-
const result = await
|
|
38
|
+
const result = await dataTableProxy.upsertRow({
|
|
39
39
|
data: row,
|
|
40
40
|
filter,
|
|
41
41
|
dryRun,
|
|
@@ -26,5 +26,5 @@ export declare function makeAddRow(operation: string, displayOptions: IDisplayOp
|
|
|
26
26
|
};
|
|
27
27
|
displayOptions: IDisplayOptions;
|
|
28
28
|
};
|
|
29
|
-
export declare function getAddRow(ctx: IExecuteFunctions, index: number): Record<string, import("n8n-workflow").
|
|
29
|
+
export declare function getAddRow(ctx: IExecuteFunctions, index: number): Record<string, import("n8n-workflow").DataTableColumnJsType>;
|
|
30
30
|
//# sourceMappingURL=addRow.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DataTableColumnJsType } from 'n8n-workflow';
|
|
2
2
|
export declare const ANY_CONDITION = "anyCondition";
|
|
3
3
|
export declare const ALL_CONDITIONS = "allConditions";
|
|
4
4
|
export declare const ROWS_LIMIT_DEFAULT = 50;
|
|
@@ -9,6 +9,6 @@ export type FieldEntry = {
|
|
|
9
9
|
} | {
|
|
10
10
|
keyName: string;
|
|
11
11
|
condition?: 'eq' | 'neq' | 'like' | 'ilike' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
12
|
-
keyValue:
|
|
12
|
+
keyValue: DataTableColumnJsType;
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { DataTableFilter,
|
|
1
|
+
import type { DataTableFilter, DataTableRowReturn, IDataTableProjectService, IDisplayOptions, IExecuteFunctions, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare function getSelectFields(displayOptions: IDisplayOptions, requireCondition?: boolean, skipOperator?: boolean): INodeProperties[];
|
|
3
3
|
export declare function getSelectFilter(ctx: IExecuteFunctions, index: number): Promise<DataTableFilter>;
|
|
4
|
-
export declare function executeSelectMany(ctx: IExecuteFunctions, index: number,
|
|
5
|
-
json:
|
|
4
|
+
export declare function executeSelectMany(ctx: IExecuteFunctions, index: number, dataTableProxy: IDataTableProjectService, rejectEmpty?: boolean, limit?: number): Promise<Array<{
|
|
5
|
+
json: DataTableRowReturn;
|
|
6
6
|
}>>;
|
|
7
7
|
//# sourceMappingURL=selectMany.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectMany.d.ts","sourceRoot":"","sources":["../../../../nodes/DataTable/common/selectMany.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,
|
|
1
|
+
{"version":3,"file":"selectMany.d.ts","sourceRoot":"","sources":["../../../../nodes/DataTable/common/selectMany.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,eAAe,EACf,kBAAkB,EAClB,wBAAwB,EACxB,eAAe,EACf,iBAAiB,EACjB,eAAe,EAEf,MAAM,cAAc,CAAC;AAMtB,wBAAgB,eAAe,CAC9B,cAAc,EAAE,eAAe,EAC/B,gBAAgB,UAAQ,EACxB,YAAY,UAAQ,GAClB,eAAe,EAAE,CAmFnB;AAED,wBAAsB,eAAe,CACpC,GAAG,EAAE,iBAAiB,EACtB,KAAK,EAAE,MAAM,GACX,OAAO,CAAC,eAAe,CAAC,CAuC1B;AAED,wBAAsB,iBAAiB,CACtC,GAAG,EAAE,iBAAiB,EACtB,KAAK,EAAE,MAAM,EACb,cAAc,EAAE,wBAAwB,EACxC,WAAW,UAAQ,EACnB,KAAK,CAAC,EAAE,MAAM,GACZ,OAAO,CAAC,KAAK,CAAC;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,CAAC,CAAC,CAoD9C"}
|