@atom8n/n8n-nodes-base 2.4.2 → 2.5.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.
Files changed (83) hide show
  1. package/dist/nodes/ActionNetwork/GenericFunctions.d.ts +19 -19
  2. package/dist/nodes/Airtable/v2/helpers/utils.d.ts +1 -1
  3. package/dist/nodes/Airtop/__schema__/v1.0.0/interaction/type.json +56 -0
  4. package/dist/nodes/Airtop/actions/common/output.utils.d.ts +1 -1
  5. package/dist/nodes/Aws/DynamoDB/__schema__/v1.0.0/item/delete.json +9 -0
  6. package/dist/nodes/Aws/SES/__schema__/v1.0.0/email/sendTemplate.json +30 -0
  7. package/dist/nodes/BambooHr/__schema__/v1.0.0/employee/update.json +9 -0
  8. package/dist/nodes/DataTable/__schema__/v1.1.0/row/get.json +15 -0
  9. package/dist/nodes/DataTable/__schema__/v1.1.0/row/insert.json +15 -0
  10. package/dist/nodes/DateTime/V1/DateTimeV1.node.js +1 -1
  11. package/dist/nodes/DateTime/V2/GenericFunctions.d.ts +1 -1
  12. package/dist/nodes/Dropbox/__schema__/v1.0.0/folder/delete.json +26 -0
  13. package/dist/nodes/Facebook/GenericFunctions.d.ts +1 -1
  14. package/dist/nodes/Git/GenericFunctions.d.ts +8 -0
  15. package/dist/nodes/Git/GenericFunctions.js +30 -0
  16. package/dist/nodes/Git/descriptions/ReflogDescription.d.ts +2 -0
  17. package/dist/nodes/Git/descriptions/ReflogDescription.js +56 -0
  18. package/dist/nodes/Github/GithubTriggerHelpers.d.ts +13 -0
  19. package/dist/nodes/Github/GithubTriggerHelpers.js +62 -0
  20. package/dist/nodes/Github/__schema__/v1.1.0/workflow/dispatchAndWait.json +9 -0
  21. package/dist/nodes/Github/__schema__/v1.1.0/workflow/get.json +36 -0
  22. package/dist/nodes/Github/__schema__/v1.1.0/workflow/list.json +47 -0
  23. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/create.json +12 -0
  24. package/dist/nodes/Google/Analytics/v2/helpers/utils.d.ts +1 -1
  25. package/dist/nodes/Google/BigQuery/v2/helpers/utils.d.ts +1 -1
  26. package/dist/nodes/Google/Calendar/GenericFunctions.js +1 -1
  27. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/group/create.json +27 -0
  28. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/addToGroup.json +9 -0
  29. package/dist/nodes/Google/Gmail/GenericFunctions.js +1 -1
  30. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/draft/create.json +26 -0
  31. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/label/getAll.json +21 -0
  32. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/addLabels.json +18 -0
  33. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/get.json +151 -0
  34. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/getAll.json +55 -0
  35. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/markAsRead.json +18 -0
  36. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/reply.json +18 -0
  37. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/send.json +18 -0
  38. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/sendAndWait.json +14 -0
  39. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/thread/getAll.json +15 -0
  40. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheets.utils.d.ts +1 -1
  41. package/dist/nodes/HelpScout/__schema__/v1.0.0/mailbox/getAll.json +53 -0
  42. package/dist/nodes/HighLevel/v1/GenericFunctions.js +1 -1
  43. package/dist/nodes/HighLevel/v2/GenericFunctions.d.ts +1 -1
  44. package/dist/nodes/HighLevel/v2/GenericFunctions.js +1 -1
  45. package/dist/nodes/Hubspot/V1/GenericFunctions.d.ts +19 -19
  46. package/dist/nodes/Hubspot/V2/GenericFunctions.d.ts +19 -19
  47. package/dist/nodes/Hubspot/__schema__/v2.2.0/company/getAll.json +83 -0
  48. package/dist/nodes/Hubspot/__schema__/v2.2.0/contactList/add.json +30 -0
  49. package/dist/nodes/Hubspot/__schema__/v2.2.0/deal/getAll.json +83 -0
  50. package/dist/nodes/Hubspot/__schema__/v2.2.0/ticket/get.json +81 -0
  51. package/dist/nodes/Hubspot/__schema__/v2.2.0/ticket/getAll.json +18 -0
  52. package/dist/nodes/Jira/__schema__/v1.0.0/issue/delete.json +9 -0
  53. package/dist/nodes/Linear/GenericFunctions.d.ts +1 -1
  54. package/dist/nodes/Linear/__schema__/v1.1.0/comment/addComment.json +17 -0
  55. package/dist/nodes/Linear/__schema__/v1.1.0/issue/create.json +49 -0
  56. package/dist/nodes/Linear/__schema__/v1.1.0/issue/get.json +43 -0
  57. package/dist/nodes/Magento/GenericFunctions.d.ts +1 -1
  58. package/dist/nodes/Mailcheck/__schema__/v1.0.0/email/check.json +30 -0
  59. package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/get.json +9 -0
  60. package/dist/nodes/Microsoft/Dynamics/GenericFunctions.d.ts +1 -1
  61. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.0.0/folder/share.json +41 -0
  62. package/dist/nodes/Microsoft/Outlook/v2/actions/event/create.operation.js +2 -1
  63. package/dist/nodes/Microsoft/Outlook/v2/actions/event/update.operation.js +2 -1
  64. package/dist/nodes/Microsoft/Outlook/v2/helpers/utils.d.ts +8 -8
  65. package/dist/nodes/Microsoft/Storage/__schema__/v1.0.0/container/getAll.json +41 -0
  66. package/dist/nodes/Microsoft/ToDo/__schema__/v1.0.0/list/get.json +27 -0
  67. package/dist/nodes/MistralAI/__schema__/v1.0.0/document/extractText.json +98 -0
  68. package/dist/nodes/MySql/v2/helpers/utils.d.ts +4 -1
  69. package/dist/nodes/Notion/shared/GenericFunctions.d.ts +1 -1
  70. package/dist/nodes/PayPal/__schema__/v1.0.0/payout/create.json +45 -0
  71. package/dist/nodes/QuickBase/__schema__/v1.0.0/record/create.json +9 -0
  72. package/dist/nodes/S3/__schema__/v1.0.0/bucket/create.json +9 -0
  73. package/dist/nodes/Salesforce/GenericFunctions.js +1 -1
  74. package/dist/nodes/Salesforce/__schema__/v1.0.0/account/delete.json +9 -0
  75. package/dist/nodes/Salesforce/__schema__/v1.0.0/flow/getAll.json +18 -0
  76. package/dist/nodes/TheHiveProject/helpers/utils.d.ts +6 -6
  77. package/dist/nodes/UrlScanIo/GenericFunctions.d.ts +1 -1
  78. package/dist/nodes/Wise/GenericFunctions.d.ts +1 -1
  79. package/dist/nodes/Zoho/GenericFunctions.d.ts +2 -2
  80. package/dist/typecheck.tsbuildinfo +1 -1
  81. package/dist/types/nodes.json +2 -2
  82. package/dist/utils/sendAndWait/utils.d.ts +1 -1
  83. package/package.json +9 -9
@@ -0,0 +1,98 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "document_annotation": {
5
+ "type": "null"
6
+ },
7
+ "extractedText": {
8
+ "type": "string"
9
+ },
10
+ "model": {
11
+ "type": "string"
12
+ },
13
+ "pageCount": {
14
+ "type": "integer"
15
+ },
16
+ "pages": {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "object",
20
+ "properties": {
21
+ "dimensions": {
22
+ "type": "object",
23
+ "properties": {
24
+ "dpi": {
25
+ "type": "integer"
26
+ },
27
+ "height": {
28
+ "type": "integer"
29
+ },
30
+ "width": {
31
+ "type": "integer"
32
+ }
33
+ }
34
+ },
35
+ "footer": {
36
+ "type": "null"
37
+ },
38
+ "header": {
39
+ "type": "null"
40
+ },
41
+ "hyperlinks": {
42
+ "type": "array",
43
+ "items": {
44
+ "type": "string"
45
+ }
46
+ },
47
+ "images": {
48
+ "type": "array",
49
+ "items": {
50
+ "type": "object",
51
+ "properties": {
52
+ "bottom_right_x": {
53
+ "type": "integer"
54
+ },
55
+ "bottom_right_y": {
56
+ "type": "integer"
57
+ },
58
+ "id": {
59
+ "type": "string"
60
+ },
61
+ "image_annotation": {
62
+ "type": "null"
63
+ },
64
+ "image_base64": {
65
+ "type": "null"
66
+ },
67
+ "top_left_x": {
68
+ "type": "integer"
69
+ },
70
+ "top_left_y": {
71
+ "type": "integer"
72
+ }
73
+ }
74
+ }
75
+ },
76
+ "index": {
77
+ "type": "integer"
78
+ },
79
+ "markdown": {
80
+ "type": "string"
81
+ }
82
+ }
83
+ }
84
+ },
85
+ "usage_info": {
86
+ "type": "object",
87
+ "properties": {
88
+ "doc_size_bytes": {
89
+ "type": "integer"
90
+ },
91
+ "pages_processed": {
92
+ "type": "integer"
93
+ }
94
+ }
95
+ }
96
+ },
97
+ "version": 1
98
+ }
@@ -2,7 +2,10 @@ import type { IDataObject, IExecuteFunctions, INode, INodeExecutionData, IPaired
2
2
  import { NodeOperationError } from 'n8n-workflow';
3
3
  import type { Mysql2Pool, QueryValues, QueryWithValues, SortRule, WhereClause } from './interfaces';
4
4
  export declare function escapeSqlIdentifier(identifier: string): string;
5
- export declare const prepareQueryAndReplacements: (rawQuery: string, nodeVersion: number, replacements?: QueryValues) => QueryWithValues;
5
+ export declare const prepareQueryAndReplacements: (rawQuery: string, nodeVersion: number, replacements?: QueryValues) => {
6
+ query: string;
7
+ values: QueryValues;
8
+ };
6
9
  export declare const prepareQueryLegacy: (rawQuery: string, replacements: QueryValues) => QueryWithValues;
7
10
  export declare function prepareErrorItem(item: IDataObject, error: IDataObject | NodeOperationError | Error, index: number): INodeExecutionData;
8
11
  export declare function parseMySqlError(this: IExecuteFunctions, error: any, itemIndex?: number, queries?: string[]): NodeOperationError;
@@ -30,7 +30,7 @@ export declare function formatText(content: string): {
30
30
  export declare function formatBlocks(blocks: IDataObject[]): {
31
31
  [x: string]: import("n8n-workflow").GenericValue;
32
32
  object: string;
33
- type: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
33
+ type: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
34
34
  }[];
35
35
  export declare function mapProperties(this: IExecuteFunctions, properties: IDataObject[], timezone: string, version?: number): {};
36
36
  export declare function mapSorting(data: SortData[]): {
@@ -0,0 +1,45 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "batch_header": {
5
+ "type": "object",
6
+ "properties": {
7
+ "batch_status": {
8
+ "type": "string"
9
+ },
10
+ "payout_batch_id": {
11
+ "type": "string"
12
+ },
13
+ "sender_batch_header": {
14
+ "type": "object",
15
+ "properties": {
16
+ "sender_batch_id": {
17
+ "type": "string"
18
+ }
19
+ }
20
+ }
21
+ }
22
+ },
23
+ "links": {
24
+ "type": "array",
25
+ "items": {
26
+ "type": "object",
27
+ "properties": {
28
+ "encType": {
29
+ "type": "string"
30
+ },
31
+ "href": {
32
+ "type": "string"
33
+ },
34
+ "method": {
35
+ "type": "string"
36
+ },
37
+ "rel": {
38
+ "type": "string"
39
+ }
40
+ }
41
+ }
42
+ }
43
+ },
44
+ "version": 1
45
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "3": {
5
+ "type": "integer"
6
+ }
7
+ },
8
+ "version": 1
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "success": {
5
+ "type": "boolean"
6
+ }
7
+ },
8
+ "version": 1
9
+ }
@@ -178,7 +178,7 @@ function getPollStartDate(lastTimeChecked) {
178
178
  return luxon_1.DateTime.now().toISO();
179
179
  }
180
180
  const safetyMarginMinutes = 15;
181
- return luxon_1.DateTime.fromISO(lastTimeChecked).minus({ minutes: safetyMarginMinutes }).toISO();
181
+ return luxon_1.DateTime.fromISO(lastTimeChecked).minus({ minutes: safetyMarginMinutes }).toISO() || '';
182
182
  }
183
183
  /**
184
184
  * Filters out already processed items and manages the processed IDs list
@@ -0,0 +1,9 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "success": {
5
+ "type": "boolean"
6
+ }
7
+ },
8
+ "version": 1
9
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "label": {
5
+ "type": "string"
6
+ },
7
+ "name": {
8
+ "type": "string"
9
+ },
10
+ "type": {
11
+ "type": "string"
12
+ },
13
+ "url": {
14
+ "type": "string"
15
+ }
16
+ },
17
+ "version": 1
18
+ }
@@ -4,21 +4,21 @@ export declare function fixFieldType(fields: IDataObject): IDataObject;
4
4
  export declare function prepareInputItem(item: IDataObject, schema: IDataObject[], i: number): IDataObject;
5
5
  export declare function constructFilter(entry: IDataObject): {
6
6
  _between: {
7
- _field: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
8
- _from: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
9
- _to: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
7
+ _field: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
8
+ _from: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
9
+ _to: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
10
10
  };
11
11
  _in?: undefined;
12
12
  } | {
13
13
  _in: {
14
- _field: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
14
+ _field: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
15
15
  _values: number | boolean | object | null | undefined;
16
16
  };
17
17
  _between?: undefined;
18
18
  } | {
19
19
  [x: string]: {
20
- _field: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
21
- _value: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
20
+ _field: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
21
+ _value: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
22
22
  };
23
23
  _between?: undefined;
24
24
  _in?: undefined;
@@ -2,5 +2,5 @@ import type { IExecuteFunctions, IDataObject } from 'n8n-workflow';
2
2
  export declare function urlScanIoApiRequest(this: IExecuteFunctions, method: 'GET' | 'POST', endpoint: string, body?: IDataObject, qs?: IDataObject): Promise<any>;
3
3
  export declare function handleListing(this: IExecuteFunctions, endpoint: string, qs?: IDataObject): Promise<IDataObject[]>;
4
4
  export declare const normalizeId: ({ _id, uuid, ...rest }: IDataObject) => {
5
- [key: string]: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
5
+ [key: string]: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
6
6
  };
@@ -3,7 +3,7 @@ import type { IDataObject, IExecuteFunctions, IHookFunctions, ILoadOptionsFuncti
3
3
  * Make an authenticated API request to Wise.
4
4
  */
5
5
  export declare function wiseApiRequest(this: IHookFunctions | IExecuteFunctions | ILoadOptionsFunctions, method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'PATCH', endpoint: string, body?: IDataObject, qs?: IDataObject, option?: IDataObject): Promise<any>;
6
- export declare function getTriggerName(eventName: string): IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
6
+ export declare function getTriggerName(eventName: string): IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
7
7
  export type BorderlessAccount = {
8
8
  id: number;
9
9
  balances: Array<{
@@ -40,7 +40,7 @@ export declare const adjustProductDetailsOnUpdate: (allFields: AllFields) => All
40
40
  export declare const adjustAccountPayload: (...args: any[]) => any;
41
41
  export declare const adjustContactPayload: (...args: any[]) => any;
42
42
  export declare const adjustDealPayload: (allFields: AllFields) => {
43
- [key: string]: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
43
+ [key: string]: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
44
44
  Date_of_Birth?: string | undefined;
45
45
  Closing_Date?: string | undefined;
46
46
  Due_Date?: string | undefined;
@@ -91,7 +91,7 @@ export declare const adjustQuotePayload: (...args: any[]) => any;
91
91
  export declare const adjustSalesOrderPayload: (...args: any[]) => any;
92
92
  export declare const adjustVendorPayload: (...args: any[]) => any;
93
93
  export declare const adjustProductPayload: (allFields: AllFields) => {
94
- [key: string]: IDataObject | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[] | IDataObject[];
94
+ [key: string]: IDataObject | IDataObject[] | import("n8n-workflow").GenericValue | import("n8n-workflow").GenericValue[];
95
95
  Date_of_Birth?: string | undefined;
96
96
  Closing_Date?: string | undefined;
97
97
  Due_Date?: string | undefined;