n8n-nodes-base 0.212.0 → 0.212.2
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/Aws.credentials.d.ts +1 -1
- package/dist/credentials/SlackOAuth2Api.credentials.js +6 -0
- package/dist/credentials/SlackOAuth2Api.credentials.js.map +1 -1
- package/dist/known/credentials.json +4 -2
- package/dist/nodes/BambooHr/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/Bitwarden/descriptions/CollectionDescription.d.ts +1 -1
- package/dist/nodes/Bitwarden/descriptions/GroupDescription.d.ts +3 -3
- package/dist/nodes/Bitwarden/descriptions/MemberDescription.d.ts +3 -3
- package/dist/nodes/Code/utils.d.ts +1 -1
- package/dist/nodes/CompareDatasets/GenericFunctions.d.ts +1 -1
- package/dist/nodes/ERPNext/utils.d.ts +2 -2
- package/dist/nodes/Google/Analytics/v2/actions/node.type.d.ts +5 -5
- package/dist/nodes/Google/Sheet/v1/GoogleSheet.d.ts +2 -2
- package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.types.d.ts +14 -14
- package/dist/nodes/Html/types.d.ts +1 -1
- package/dist/nodes/HttpRequest/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Jenkins/Jenkins.node.d.ts +1 -1
- package/dist/nodes/Mattermost/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/Merge/v2/GenericFunctions.d.ts +9 -9
- package/dist/nodes/MongoDb/mongoDb.types.d.ts +2 -2
- package/dist/nodes/Notion/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Odoo/GenericFunctions.d.ts +1 -1
- package/dist/nodes/SeaTable/Interfaces.d.ts +1 -1
- package/dist/nodes/SeaTable/Schema.d.ts +1 -1
- package/dist/nodes/SendGrid/MailDescription.d.ts +2 -2
- package/dist/nodes/Slack/Slack.node.d.ts +3 -12
- package/dist/nodes/Slack/Slack.node.js +9 -997
- package/dist/nodes/Slack/Slack.node.js.map +1 -1
- package/dist/nodes/Slack/{ChannelDescription.d.ts → V1/ChannelDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{ChannelDescription.js → V1/ChannelDescription.js} +0 -0
- package/dist/nodes/Slack/V1/ChannelDescription.js.map +1 -0
- package/dist/nodes/Slack/{FileDescription.d.ts → V1/FileDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{FileDescription.js → V1/FileDescription.js} +0 -0
- package/dist/nodes/Slack/V1/FileDescription.js.map +1 -0
- package/dist/nodes/Slack/{GenericFunctions.d.ts → V1/GenericFunctions.d.ts} +0 -0
- package/dist/nodes/Slack/{GenericFunctions.js → V1/GenericFunctions.js} +0 -0
- package/dist/nodes/Slack/V1/GenericFunctions.js.map +1 -0
- package/dist/nodes/Slack/{MessageDescription.d.ts → V1/MessageDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{MessageDescription.js → V1/MessageDescription.js} +0 -0
- package/dist/nodes/Slack/V1/MessageDescription.js.map +1 -0
- package/dist/nodes/Slack/{MessageInterface.d.ts → V1/MessageInterface.d.ts} +0 -0
- package/dist/nodes/Slack/{MessageInterface.js → V1/MessageInterface.js} +0 -0
- package/dist/nodes/Slack/V1/MessageInterface.js.map +1 -0
- package/dist/nodes/Slack/{ReactionDescription.d.ts → V1/ReactionDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{ReactionDescription.js → V1/ReactionDescription.js} +0 -0
- package/dist/nodes/Slack/V1/ReactionDescription.js.map +1 -0
- package/dist/nodes/Slack/V1/SlackV1.node.d.ts +14 -0
- package/dist/nodes/Slack/V1/SlackV1.node.js +1012 -0
- package/dist/nodes/Slack/V1/SlackV1.node.js.map +1 -0
- package/dist/nodes/Slack/{StarDescription.d.ts → V1/StarDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{StarDescription.js → V1/StarDescription.js} +0 -0
- package/dist/nodes/Slack/V1/StarDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserDescription.d.ts → V1/UserDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserDescription.js → V1/UserDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserGroupDescription.d.ts → V1/UserGroupDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserGroupDescription.js → V1/UserGroupDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserGroupDescription.js.map +1 -0
- package/dist/nodes/Slack/{UserProfileDescription.d.ts → V1/UserProfileDescription.d.ts} +0 -0
- package/dist/nodes/Slack/{UserProfileDescription.js → V1/UserProfileDescription.js} +0 -0
- package/dist/nodes/Slack/V1/UserProfileDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/ChannelDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/ChannelDescription.js +1420 -0
- package/dist/nodes/Slack/V2/ChannelDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/FileDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/FileDescription.js +270 -0
- package/dist/nodes/Slack/V2/FileDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts +5 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js +95 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -0
- package/dist/nodes/Slack/V2/MessageDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/MessageDescription.js +1109 -0
- package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/MessageInterface.d.ts +5 -0
- package/dist/nodes/Slack/V2/MessageInterface.js +3 -0
- package/dist/nodes/Slack/V2/MessageInterface.js.map +1 -0
- package/dist/nodes/Slack/V2/ReactionDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/ReactionDescription.js +131 -0
- package/dist/nodes/Slack/V2/ReactionDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/SlackV2.node.d.ts +19 -0
- package/dist/nodes/Slack/V2/SlackV2.node.js +908 -0
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -0
- package/dist/nodes/Slack/V2/StarDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/StarDescription.js +257 -0
- package/dist/nodes/Slack/V2/StarDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/UserDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/UserDescription.js +281 -0
- package/dist/nodes/Slack/V2/UserDescription.js.map +1 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.js +313 -0
- package/dist/nodes/Slack/V2/UserGroupDescription.js.map +1 -0
- package/dist/nodes/Supabase/Supabase.node.d.ts +1 -1
- package/dist/nodes/SyncroMSP/v1/actions/Interfaces.d.ts +10 -10
- package/dist/nodes/TheHive/QueryFunctions.d.ts +1 -1
- package/dist/nodes/Todoist/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Wise/GenericFunctions.d.ts +6 -6
- package/dist/nodes/WooCommerce/GenericFunctions.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/credentials.json +1 -1
- package/dist/types/nodes.json +3 -2
- package/package.json +1 -1
- package/dist/nodes/Slack/ChannelDescription.js.map +0 -1
- package/dist/nodes/Slack/FileDescription.js.map +0 -1
- package/dist/nodes/Slack/GenericFunctions.js.map +0 -1
- package/dist/nodes/Slack/MessageDescription.js.map +0 -1
- package/dist/nodes/Slack/MessageInterface.js.map +0 -1
- package/dist/nodes/Slack/ReactionDescription.js.map +0 -1
- package/dist/nodes/Slack/StarDescription.js.map +0 -1
- package/dist/nodes/Slack/UserDescription.js.map +0 -1
- package/dist/nodes/Slack/UserGroupDescription.js.map +0 -1
- package/dist/nodes/Slack/UserProfileDescription.js.map +0 -1
|
@@ -88,7 +88,7 @@ export declare const regions: readonly [{
|
|
|
88
88
|
readonly displayName: "US West";
|
|
89
89
|
readonly location: "Oregon";
|
|
90
90
|
}];
|
|
91
|
-
export
|
|
91
|
+
export type AWSRegion = (typeof regions)[number]['name'];
|
|
92
92
|
export declare class Aws implements ICredentialType {
|
|
93
93
|
name: string;
|
|
94
94
|
displayName: string;
|
|
@@ -63,6 +63,12 @@ class SlackOAuth2Api {
|
|
|
63
63
|
type: 'hidden',
|
|
64
64
|
default: 'body',
|
|
65
65
|
},
|
|
66
|
+
{
|
|
67
|
+
displayName: 'If you get an Invalid Scopes error, make sure you add the correct one <a target="_blank" href="https://docs.n8n.io/integrations/builtin/credentials/slack/#using-oauth">here</a> to your Slack integration',
|
|
68
|
+
name: 'notice',
|
|
69
|
+
type: 'notice',
|
|
70
|
+
default: '',
|
|
71
|
+
},
|
|
66
72
|
];
|
|
67
73
|
}
|
|
68
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAGA,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;CACZ,CAAC;AAEF,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,kBAAkB,CAAC;QAEjC,qBAAgB,GAAG,OAAO,CAAC;QAE3B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;aAC/C;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uCAAuC;aAChD;YAED;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,YAAY;aACrB;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;aAC7C;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"SlackOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/SlackOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAGA,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;CACZ,CAAC;AAEF,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,kBAAkB,CAAC;QAEjC,qBAAgB,GAAG,OAAO,CAAC;QAE3B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,mBAAmB;aAC5B;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,sCAAsC;aAC/C;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uCAAuC;aAChD;YAED;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,YAAY;aACrB;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,cAAc,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;aAC7C;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EACV,4MAA4M;gBAC7M,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AAvDD,wCAuDC"}
|
|
@@ -1812,14 +1812,16 @@
|
|
|
1812
1812
|
"className": "SlackApi",
|
|
1813
1813
|
"sourcePath": "dist/credentials/SlackApi.credentials.js",
|
|
1814
1814
|
"nodesToTestWith": [
|
|
1815
|
-
|
|
1815
|
+
null,
|
|
1816
|
+
null
|
|
1816
1817
|
]
|
|
1817
1818
|
},
|
|
1818
1819
|
"slackOAuth2Api": {
|
|
1819
1820
|
"className": "SlackOAuth2Api",
|
|
1820
1821
|
"sourcePath": "dist/credentials/SlackOAuth2Api.credentials.js",
|
|
1821
1822
|
"nodesToTestWith": [
|
|
1822
|
-
|
|
1823
|
+
null,
|
|
1824
|
+
null
|
|
1823
1825
|
]
|
|
1824
1826
|
},
|
|
1825
1827
|
"sms77Api": {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow';
|
|
2
|
-
|
|
2
|
+
type BambooHrMap = {
|
|
3
3
|
employee: 'create' | 'get' | 'getAll' | 'update';
|
|
4
4
|
employeeDocument: 'delete' | 'download' | 'get' | 'getAll' | 'update' | 'upload';
|
|
5
5
|
file: 'delete' | 'download' | 'getAll' | 'update';
|
|
6
6
|
companyReport: 'get';
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
8
|
+
export type BambooHr = AllEntities<BambooHrMap>;
|
|
9
|
+
export type BambooHrFile = Entity<BambooHrMap, 'file'>;
|
|
10
|
+
export type BambooHrEmployee = Entity<BambooHrMap, 'employee'>;
|
|
11
|
+
export type BambooHrEmployeeDocument = Entity<BambooHrMap, 'employeeDocument'>;
|
|
12
|
+
export type BambooHrCompanyReport = Entity<BambooHrMap, 'companyReport'>;
|
|
13
|
+
export type FileProperties = PropertiesOf<BambooHrFile>;
|
|
14
|
+
export type EmployeeProperties = PropertiesOf<BambooHrEmployee>;
|
|
15
|
+
export type EmployeeDocumentProperties = PropertiesOf<BambooHrEmployeeDocument>;
|
|
16
|
+
export type CompanyReportProperties = PropertiesOf<BambooHrCompanyReport>;
|
|
17
17
|
export interface IAttachment {
|
|
18
18
|
fields: {
|
|
19
19
|
item?: object[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IDataObject, INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const collectionOperations: INodeProperties[];
|
|
3
3
|
export declare const collectionFields: INodeProperties[];
|
|
4
|
-
export
|
|
4
|
+
export type CollectionUpdateFields = IDataObject & {
|
|
5
5
|
groups: string[];
|
|
6
6
|
externalId: string;
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const groupOperations: INodeProperties[];
|
|
3
3
|
export declare const groupFields: INodeProperties[];
|
|
4
|
-
|
|
4
|
+
type GroupSchema = {
|
|
5
5
|
name: string;
|
|
6
6
|
collections: string[];
|
|
7
7
|
accessAll: boolean;
|
|
8
8
|
externalId: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type GroupUpdateFields = GroupSchema;
|
|
11
|
+
export type GroupCreationAdditionalFields = Omit<GroupSchema, 'name'>;
|
|
12
12
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const memberOperations: INodeProperties[];
|
|
3
3
|
export declare const memberFields: INodeProperties[];
|
|
4
|
-
|
|
4
|
+
type MemberSchema = {
|
|
5
5
|
email: string;
|
|
6
6
|
collections: string[];
|
|
7
7
|
type: number;
|
|
8
8
|
accessAll: boolean;
|
|
9
9
|
externalId: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type MemberUpdateFields = Omit<MemberSchema, 'email'>;
|
|
12
|
+
export type MemberCreationAdditionalFields = Omit<MemberSchema, 'email'>;
|
|
13
13
|
export {};
|
|
@@ -3,5 +3,5 @@ export declare function isObject(maybe: unknown): maybe is {
|
|
|
3
3
|
[key: string]: unknown;
|
|
4
4
|
};
|
|
5
5
|
export declare function standardizeOutput(output: IDataObject): IDataObject;
|
|
6
|
-
export
|
|
6
|
+
export type CodeNodeMode = 'runOnceForAllItems' | 'runOnceForEachItem';
|
|
7
7
|
export declare const REQUIRED_N8N_ITEM_KEYS: Set<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { AllEntities, Entity } from 'n8n-workflow';
|
|
2
|
-
|
|
2
|
+
type GoogleAnalyticsMap = {
|
|
3
3
|
userActivity: 'search';
|
|
4
4
|
report: ReportBasedOnProperty;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
6
|
+
export type GoogleAnalytics = AllEntities<GoogleAnalyticsMap>;
|
|
7
|
+
export type GoogleAnalyticsUserActivity = Entity<GoogleAnalyticsMap, 'userActivity'>;
|
|
8
|
+
export type GoogleAnalyticReport = Entity<GoogleAnalyticsMap, 'report'>;
|
|
9
|
+
export type ReportBasedOnProperty = 'getga4' | 'getuniversal';
|
|
10
10
|
export {};
|
|
@@ -25,8 +25,8 @@ export interface IToDelete {
|
|
|
25
25
|
columns?: IToDeleteRange[];
|
|
26
26
|
rows?: IToDeleteRange[];
|
|
27
27
|
}
|
|
28
|
-
export
|
|
29
|
-
export
|
|
28
|
+
export type ValueInputOption = 'RAW' | 'USER_ENTERED';
|
|
29
|
+
export type ValueRenderOption = 'FORMATTED_VALUE' | 'FORMULA' | 'UNFORMATTED_VALUE';
|
|
30
30
|
export declare class GoogleSheet {
|
|
31
31
|
id: string;
|
|
32
32
|
executeFunctions: IExecuteFunctions | ILoadOptionsFunctions;
|
|
@@ -25,38 +25,38 @@ export interface IToDelete {
|
|
|
25
25
|
columns?: IToDeleteRange[];
|
|
26
26
|
rows?: IToDeleteRange[];
|
|
27
27
|
}
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
28
|
+
export type ValueInputOption = 'RAW' | 'USER_ENTERED';
|
|
29
|
+
export type ValueRenderOption = 'FORMATTED_VALUE' | 'FORMULA' | 'UNFORMATTED_VALUE';
|
|
30
|
+
export type RangeDetectionOptions = {
|
|
31
31
|
rangeDefinition: 'detectAutomatically' | 'specifyRange' | 'specifyRangeA1';
|
|
32
32
|
readRowsUntil?: 'firstEmptyRow' | 'lastRowInSheet';
|
|
33
33
|
headerRow?: string;
|
|
34
34
|
firstDataRow?: string;
|
|
35
35
|
range?: string;
|
|
36
36
|
};
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
|
|
37
|
+
export type SheetDataRow = Array<string | number>;
|
|
38
|
+
export type SheetRangeData = SheetDataRow[];
|
|
39
|
+
type GoogleSheetsMap = {
|
|
40
40
|
spreadsheet: 'create' | 'deleteSpreadsheet';
|
|
41
41
|
sheet: 'append' | 'clear' | 'create' | 'delete' | 'read' | 'remove' | 'update' | 'appendOrUpdate';
|
|
42
42
|
};
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
43
|
+
export type GoogleSheets = AllEntities<GoogleSheetsMap>;
|
|
44
|
+
export type GoogleSheetsSpreadSheet = Entity<GoogleSheetsMap, 'spreadsheet'>;
|
|
45
|
+
export type GoogleSheetsSheet = Entity<GoogleSheetsMap, 'sheet'>;
|
|
46
|
+
export type SpreadSheetProperties = PropertiesOf<GoogleSheetsSpreadSheet>;
|
|
47
|
+
export type SheetProperties = PropertiesOf<GoogleSheetsSheet>;
|
|
48
|
+
export type ResourceLocator = 'id' | 'url' | 'list';
|
|
49
49
|
export declare enum ResourceLocatorUiNames {
|
|
50
50
|
id = "By ID",
|
|
51
51
|
url = "By URL",
|
|
52
52
|
list = "From List"
|
|
53
53
|
}
|
|
54
|
-
export
|
|
54
|
+
export type SheetCellDecoded = {
|
|
55
55
|
cell?: string;
|
|
56
56
|
column?: string;
|
|
57
57
|
row?: number;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type SheetRangeDecoded = {
|
|
60
60
|
nameWithRange: string;
|
|
61
61
|
name: string;
|
|
62
62
|
range: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IDataObject, INodeExecutionData, IOAuth2Options } from 'n8n-workflow';
|
|
2
2
|
import type { OptionsWithUri } from 'request-promise-native';
|
|
3
|
-
export
|
|
3
|
+
export type IAuthDataSanitizeKeys = {
|
|
4
4
|
[key: string]: string[];
|
|
5
5
|
};
|
|
6
6
|
export declare const replaceNullValues: (item: INodeExecutionData) => INodeExecutionData;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IExecuteFunctions } from 'n8n-core';
|
|
2
2
|
import type { ICredentialsDecrypted, ICredentialTestFunctions, ILoadOptionsFunctions, INodeCredentialTestResult, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
3
|
-
export
|
|
3
|
+
export type JenkinsApiCredentials = {
|
|
4
4
|
username: string;
|
|
5
5
|
apiKey: string;
|
|
6
6
|
baseUrl: string;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow';
|
|
2
|
-
|
|
2
|
+
type MattermostMap = {
|
|
3
3
|
channel: 'addUser' | 'create' | 'delete' | 'members' | 'restore' | 'statistics' | 'search';
|
|
4
4
|
message: 'delete' | 'post' | 'postEphemeral';
|
|
5
5
|
reaction: 'create' | 'delete' | 'getAll';
|
|
6
6
|
user: 'create' | 'deactive' | 'getAll' | 'getByEmail' | 'getById' | 'invite';
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
8
|
+
export type Mattermost = AllEntities<MattermostMap>;
|
|
9
|
+
export type MattermostChannel = Entity<MattermostMap, 'channel'>;
|
|
10
|
+
export type MattermostMessage = Entity<MattermostMap, 'message'>;
|
|
11
|
+
export type MattermostReaction = Entity<MattermostMap, 'reaction'>;
|
|
12
|
+
export type MattermostUser = Entity<MattermostMap, 'user'>;
|
|
13
|
+
export type ChannelProperties = PropertiesOf<MattermostChannel>;
|
|
14
|
+
export type MessageProperties = PropertiesOf<MattermostMessage>;
|
|
15
|
+
export type ReactionProperties = PropertiesOf<MattermostReaction>;
|
|
16
|
+
export type UserProperties = PropertiesOf<MattermostUser>;
|
|
17
17
|
export interface IAttachment {
|
|
18
18
|
fields: {
|
|
19
19
|
item?: object[];
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import type { IBinaryKeyData, IDataObject, INodeExecutionData, IPairedItemData } from 'n8n-workflow';
|
|
2
|
-
|
|
2
|
+
type PairToMatch = {
|
|
3
3
|
field1: string;
|
|
4
4
|
field2: string;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type MatchFieldsOptions = {
|
|
7
7
|
joinMode: MatchFieldsJoinMode;
|
|
8
8
|
outputDataFrom: MatchFieldsOutput;
|
|
9
9
|
multipleMatches: MultipleMatches;
|
|
10
10
|
disableDotNotation: boolean;
|
|
11
11
|
fuzzyCompare?: boolean;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type ClashResolveOptions = {
|
|
14
14
|
resolveClash: ClashResolveMode;
|
|
15
15
|
mergeMode: ClashMergeMode;
|
|
16
16
|
overrideEmpty: boolean;
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
|
|
18
|
+
type ClashMergeMode = 'deepMerge' | 'shallowMerge';
|
|
19
|
+
type ClashResolveMode = 'addSuffix' | 'preferInput1' | 'preferInput2';
|
|
20
|
+
type MultipleMatches = 'all' | 'first';
|
|
21
|
+
export type MatchFieldsOutput = 'both' | 'input1' | 'input2';
|
|
22
|
+
export type MatchFieldsJoinMode = 'keepEverything' | 'keepMatches' | 'keepNonMatches' | 'enrichInput2' | 'enrichInput1';
|
|
23
|
+
type EntryMatches = {
|
|
24
24
|
entry: INodeExecutionData;
|
|
25
25
|
matches: INodeExecutionData[];
|
|
26
26
|
};
|
|
@@ -11,8 +11,8 @@ export interface IMongoOverrideCredentials {
|
|
|
11
11
|
connectionString: string;
|
|
12
12
|
database: string;
|
|
13
13
|
}
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type IMongoCredentialsType = IMongoParametricCredentials | IMongoOverrideCredentials;
|
|
15
|
+
export type IMongoCredentials = {
|
|
16
16
|
database: string;
|
|
17
17
|
connectionString: string;
|
|
18
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IExecuteFunctions, IExecuteSingleFunctions, IHookFunctions, ILoadOptionsFunctions } from 'n8n-core';
|
|
2
2
|
import type { IDataObject, INodeExecutionData, INodeProperties, IPollFunctions } from 'n8n-workflow';
|
|
3
|
-
export
|
|
3
|
+
export type SortData = {
|
|
4
4
|
key: string;
|
|
5
5
|
type: string;
|
|
6
6
|
direction: string;
|
|
@@ -41,7 +41,7 @@ export interface IOdooResponceFields {
|
|
|
41
41
|
fromList?: boolean;
|
|
42
42
|
}>;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
type OdooCRUD = 'create' | 'update' | 'delete' | 'get' | 'getAll';
|
|
45
45
|
export declare function odooGetDBName(databaseName: string | undefined, url: string): string;
|
|
46
46
|
export declare function processNameValueFields(value: IDataObject): {};
|
|
47
47
|
export declare function odooJSONRPCRequest(this: IHookFunctions | IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, body: IDataObject, url: string): Promise<IDataObject | IDataObject[]>;
|
|
@@ -53,7 +53,7 @@ export interface IRow extends IRowObject {
|
|
|
53
53
|
export interface IName {
|
|
54
54
|
name: string;
|
|
55
55
|
}
|
|
56
|
-
|
|
56
|
+
type TOperation = 'cloudHosted' | 'selfHosted';
|
|
57
57
|
export interface ICredential {
|
|
58
58
|
token: string;
|
|
59
59
|
domain: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TColumnType, TDateTimeFormat, TInheritColumnKey } from './types';
|
|
2
|
-
export
|
|
2
|
+
export type ColumnType = keyof typeof schema.columnTypes;
|
|
3
3
|
export declare const schema: {
|
|
4
4
|
rowFetchSegmentLimit: number;
|
|
5
5
|
dateTimeFormat: TDateTimeFormat;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { INodeProperties } from 'n8n-workflow';
|
|
2
2
|
export declare const mailOperations: INodeProperties[];
|
|
3
3
|
export declare const mailFields: INodeProperties[];
|
|
4
|
-
export
|
|
4
|
+
export type SendMailBody = {
|
|
5
5
|
personalizations: Array<{
|
|
6
6
|
to: EmailName[];
|
|
7
7
|
subject?: string;
|
|
@@ -34,7 +34,7 @@ export declare type SendMailBody = {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
type EmailName = {
|
|
38
38
|
email: string;
|
|
39
39
|
name?: string;
|
|
40
40
|
};
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
description: INodeTypeDescription;
|
|
5
|
-
methods: {
|
|
6
|
-
loadOptions: {
|
|
7
|
-
getUsers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
8
|
-
getChannels(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
9
|
-
getTeamFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
1
|
+
import { VersionedNodeType } from 'n8n-workflow';
|
|
2
|
+
export declare class Slack extends VersionedNodeType {
|
|
3
|
+
constructor();
|
|
13
4
|
}
|