n8n-nodes-base 2.11.2 → 2.12.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 (111) hide show
  1. package/dist/credentials/CustomerIoApi.credentials.d.ts.map +1 -1
  2. package/dist/credentials/CustomerIoApi.credentials.js +4 -5
  3. package/dist/credentials/CustomerIoApi.credentials.js.map +1 -1
  4. package/dist/credentials/FacebookGraphAppApi.credentials.js +1 -1
  5. package/dist/credentials/FacebookGraphAppApi.credentials.js.map +1 -1
  6. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +1 -1
  7. package/dist/credentials/OAuth2Api.credentials.d.ts.map +1 -1
  8. package/dist/credentials/OAuth2Api.credentials.js +8 -0
  9. package/dist/credentials/OAuth2Api.credentials.js.map +1 -1
  10. package/dist/node-definitions/.nodes-hash +1 -1
  11. package/dist/node-definitions/nodes/n8n-nodes-base/asana/v1/resource_user/operation_get.ts +7 -0
  12. package/dist/node-definitions/nodes/n8n-nodes-base/azureCosmosDb/v1/resource_item/operation_query.ts +15 -0
  13. package/dist/node-definitions/nodes/n8n-nodes-base/clickUp/v1/resource_list/operation_custom_fields.ts +1 -0
  14. package/dist/node-definitions/nodes/n8n-nodes-base/coda/v1/resource_table/operation_create_row.ts +10 -0
  15. package/dist/node-definitions/nodes/n8n-nodes-base/coda/v11/resource_table/operation_create_row.ts +10 -0
  16. package/dist/node-definitions/nodes/n8n-nodes-base/coinGecko/v1/resource_coin/operation_price.ts +5 -0
  17. package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_folder/operation_delete.ts +7 -0
  18. package/dist/node-definitions/nodes/n8n-nodes-base/dropbox/v1/resource_search/operation_query.ts +3 -0
  19. package/dist/node-definitions/nodes/n8n-nodes-base/elasticsearch/v1/resource_document/operation_get_all.ts +1 -0
  20. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v1.ts +1 -1
  21. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v2.ts +1 -1
  22. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v21.ts +1 -1
  23. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v22.ts +1 -1
  24. package/dist/node-definitions/nodes/n8n-nodes-base/filter/v23.ts +1 -1
  25. package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_create.ts +1 -0
  26. package/dist/node-definitions/nodes/n8n-nodes-base/gSuiteAdmin/v1/resource_user/operation_get.ts +20 -0
  27. package/dist/node-definitions/nodes/n8n-nodes-base/gitlab/v1/resource_file/operation_get.ts +5 -0
  28. package/dist/node-definitions/nodes/n8n-nodes-base/googleAds/v1/resource_campaign/operation_get_all.ts +1 -0
  29. package/dist/node-definitions/nodes/n8n-nodes-base/googleBusinessProfile/v1/resource_review/operation_reply.ts +6 -0
  30. package/dist/node-definitions/nodes/n8n-nodes-base/googleChat/v1/resource_space/operation_get_all.ts +1 -0
  31. package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_client/operation_get.ts +8 -0
  32. package/dist/node-definitions/nodes/n8n-nodes-base/haloPSA/v1/resource_site/operation_get_all.ts +7 -0
  33. package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_calendar/operation_get_free_slots.ts +3 -0
  34. package/dist/node-definitions/nodes/n8n-nodes-base/highLevel/v2/resource_contact/operation_create.ts +4 -0
  35. package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get.ts +162 -0
  36. package/dist/node-definitions/nodes/n8n-nodes-base/jira/v1/resource_issue/operation_get_all.ts +54 -0
  37. package/dist/node-definitions/nodes/n8n-nodes-base/lemlist/v2/resource_lead/operation_create.ts +1 -0
  38. package/dist/node-definitions/nodes/n8n-nodes-base/mailchimp/v1/resource_campaign/operation_get_all.ts +60 -0
  39. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftEntra/v1/resource_group/operation_get.ts +12 -0
  40. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  41. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_folder_message/operation_get_all.ts +33 -0
  42. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_message_attachment/operation_get.ts +6 -0
  43. package/dist/nodes/Asana/__schema__/v1.0.0/user/get.json +21 -1
  44. package/dist/nodes/ClickUp/__schema__/v1.0.0/list/customFields.json +4 -1
  45. package/dist/nodes/Coda/__schema__/v1.1.0/table/createRow.json +24 -0
  46. package/dist/nodes/Code/Code.node.d.ts +2 -2
  47. package/dist/nodes/Code/Code.node.d.ts.map +1 -1
  48. package/dist/nodes/Code/Code.node.js +2 -83
  49. package/dist/nodes/Code/Code.node.js.map +1 -1
  50. package/dist/nodes/CoinGecko/__schema__/v1.0.0/coin/price.json +17 -2
  51. package/dist/nodes/CustomerIo/CustomerIo.node.js +3 -3
  52. package/dist/nodes/CustomerIo/CustomerIo.node.js.map +1 -1
  53. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.d.ts.map +1 -1
  54. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js +5 -33
  55. package/dist/nodes/CustomerIo/CustomerIoTrigger.node.js.map +1 -1
  56. package/dist/nodes/CustomerIo/GenericFunctions.d.ts +4 -1
  57. package/dist/nodes/CustomerIo/GenericFunctions.d.ts.map +1 -1
  58. package/dist/nodes/CustomerIo/GenericFunctions.js +13 -23
  59. package/dist/nodes/CustomerIo/GenericFunctions.js.map +1 -1
  60. package/dist/nodes/DataTable/__schema__/v1.1.0/table/update.json +9 -0
  61. package/dist/nodes/Dropbox/__schema__/v1.0.0/folder/delete.json +21 -1
  62. package/dist/nodes/Dropbox/__schema__/v1.0.0/search/query.json +10 -1
  63. package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/fetchRequest.json +1 -1
  64. package/dist/nodes/ERPNext/__schema__/v1.0.0/document/getAll.json +19 -1
  65. package/dist/nodes/Elastic/Elasticsearch/__schema__/v1.0.0/document/getAll.json +4 -1
  66. package/dist/nodes/Facebook/GenericFunctions.d.ts.map +1 -1
  67. package/dist/nodes/Facebook/GenericFunctions.js +8 -0
  68. package/dist/nodes/Facebook/GenericFunctions.js.map +1 -1
  69. package/dist/nodes/Filter/Filter.node.js +1 -1
  70. package/dist/nodes/Filter/Filter.node.js.map +1 -1
  71. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +16 -1
  72. package/dist/nodes/Google/Ads/__schema__/v1.0.0/campaign/getAll.json +4 -1
  73. package/dist/nodes/Google/BusinessProfile/__schema__/v1.0.0/review/reply.json +12 -0
  74. package/dist/nodes/Google/Chat/__schema__/v1.0.0/space/getAll.json +4 -1
  75. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/create.json +4 -1
  76. package/dist/nodes/Google/GSuiteAdmin/__schema__/v1.0.0/user/get.json +65 -1
  77. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/label/get.json +27 -0
  78. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/delete.json +9 -0
  79. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/get.json +7 -1
  80. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/message/removeLabels.json +18 -0
  81. package/dist/nodes/Google/Gmail/__schema__/v2.2.0/thread/get.json +4 -1
  82. package/dist/nodes/HaloPSA/__schema__/v1.0.0/client/get.json +18 -0
  83. package/dist/nodes/HaloPSA/__schema__/v1.0.0/site/getAll.json +15 -0
  84. package/dist/nodes/HighLevel/__schema__/v2.0.0/calendar/getFreeSlots.json +12 -1
  85. package/dist/nodes/HighLevel/__schema__/v2.0.0/contact/create.json +15 -1
  86. package/dist/nodes/Hubspot/__schema__/v2.2.0/contact/upsert.json +4 -1
  87. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +465 -1
  88. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +155 -1
  89. package/dist/nodes/Lemlist/__schema__/v2.0.0/lead/create.json +4 -1
  90. package/dist/nodes/Linear/__schema__/v1.1.0/issue/get.json +12 -1
  91. package/dist/nodes/Mailchimp/__schema__/v1.0.0/campaign/getAll.json +180 -1
  92. package/dist/nodes/Microsoft/AzureCosmosDb/__schema__/v1.0.0/item/query.json +45 -1
  93. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/group/get.json +30 -0
  94. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/copy.json +9 -0
  95. package/dist/nodes/Microsoft/OneDrive/__schema__/v1.1.0/file/download.json +89 -1
  96. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +99 -1
  97. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +21 -1
  98. package/dist/nodes/Notion/shared/GenericFunctions.js +1 -1
  99. package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
  100. package/dist/nodes/Slack/SlackTrigger.node.js +1 -1
  101. package/dist/nodes/Slack/SlackTrigger.node.js.map +1 -1
  102. package/dist/nodes/Todoist/v2/OperationHandler.d.ts.map +1 -1
  103. package/dist/nodes/Todoist/v2/OperationHandler.js +10 -2
  104. package/dist/nodes/Todoist/v2/OperationHandler.js.map +1 -1
  105. package/dist/nodes/Webhook/Webhook.node.d.ts.map +1 -1
  106. package/dist/nodes/Webhook/Webhook.node.js +1 -0
  107. package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
  108. package/dist/typecheck.tsbuildinfo +1 -1
  109. package/dist/types/credentials.json +3 -3
  110. package/dist/types/nodes.json +4 -4
  111. package/package.json +12 -12
@@ -61,6 +61,25 @@ export type JiraV1IssueGetParams = {
61
61
  export type JiraV1IssueGetOutput = {
62
62
  expand?: string;
63
63
  fields?: {
64
+ aggregateprogress?: {
65
+ progress?: number;
66
+ total?: number;
67
+ };
68
+ assignee?: {
69
+ accountId?: string;
70
+ accountType?: string;
71
+ active?: boolean;
72
+ avatarUrls?: {
73
+ '16x16'?: string;
74
+ '24x24'?: string;
75
+ '32x32'?: string;
76
+ '48x48'?: string;
77
+ };
78
+ displayName?: string;
79
+ emailAddress?: string;
80
+ self?: string;
81
+ timeZone?: string;
82
+ };
64
83
  attachment?: Array<{
65
84
  author?: {
66
85
  accountId?: string;
@@ -146,6 +165,97 @@ export type JiraV1IssueGetOutput = {
146
165
  self?: string;
147
166
  timeZone?: string;
148
167
  };
168
+ customfield_10001?: null;
169
+ customfield_10019?: string;
170
+ environment?: null;
171
+ issuelinks?: Array<{
172
+ id?: string;
173
+ inwardIssue?: {
174
+ fields?: {
175
+ issuetype?: {
176
+ avatarId?: number;
177
+ description?: string;
178
+ entityId?: string;
179
+ hierarchyLevel?: number;
180
+ iconUrl?: string;
181
+ id?: string;
182
+ name?: string;
183
+ self?: string;
184
+ subtask?: boolean;
185
+ };
186
+ priority?: {
187
+ iconUrl?: string;
188
+ id?: string;
189
+ name?: string;
190
+ self?: string;
191
+ };
192
+ status?: {
193
+ description?: string;
194
+ iconUrl?: string;
195
+ id?: string;
196
+ name?: string;
197
+ self?: string;
198
+ statusCategory?: {
199
+ colorName?: string;
200
+ id?: number;
201
+ key?: string;
202
+ name?: string;
203
+ self?: string;
204
+ };
205
+ };
206
+ summary?: string;
207
+ };
208
+ id?: string;
209
+ key?: string;
210
+ self?: string;
211
+ };
212
+ outwardIssue?: {
213
+ fields?: {
214
+ issuetype?: {
215
+ avatarId?: number;
216
+ description?: string;
217
+ hierarchyLevel?: number;
218
+ iconUrl?: string;
219
+ id?: string;
220
+ name?: string;
221
+ self?: string;
222
+ subtask?: boolean;
223
+ };
224
+ priority?: {
225
+ iconUrl?: string;
226
+ id?: string;
227
+ name?: string;
228
+ self?: string;
229
+ };
230
+ status?: {
231
+ description?: string;
232
+ iconUrl?: string;
233
+ id?: string;
234
+ name?: string;
235
+ self?: string;
236
+ statusCategory?: {
237
+ colorName?: string;
238
+ id?: number;
239
+ key?: string;
240
+ name?: string;
241
+ self?: string;
242
+ };
243
+ };
244
+ summary?: string;
245
+ };
246
+ id?: string;
247
+ key?: string;
248
+ self?: string;
249
+ };
250
+ self?: string;
251
+ type?: {
252
+ id?: string;
253
+ inward?: string;
254
+ name?: string;
255
+ outward?: string;
256
+ self?: string;
257
+ };
258
+ }>;
149
259
  issuetype?: {
150
260
  avatarId?: number;
151
261
  description?: string;
@@ -158,6 +268,30 @@ export type JiraV1IssueGetOutput = {
158
268
  subtask?: boolean;
159
269
  };
160
270
  labels?: Array<string>;
271
+ priority?: {
272
+ iconUrl?: string;
273
+ id?: string;
274
+ name?: string;
275
+ self?: string;
276
+ };
277
+ progress?: {
278
+ progress?: number;
279
+ total?: number;
280
+ };
281
+ project?: {
282
+ avatarUrls?: {
283
+ '16x16'?: string;
284
+ '24x24'?: string;
285
+ '32x32'?: string;
286
+ '48x48'?: string;
287
+ };
288
+ id?: string;
289
+ key?: string;
290
+ name?: string;
291
+ projectTypeKey?: string;
292
+ self?: string;
293
+ simplified?: boolean;
294
+ };
161
295
  reporter?: {
162
296
  accountId?: string;
163
297
  accountType?: string;
@@ -173,6 +307,7 @@ export type JiraV1IssueGetOutput = {
173
307
  self?: string;
174
308
  timeZone?: string;
175
309
  };
310
+ security?: null;
176
311
  status?: {
177
312
  description?: string;
178
313
  iconUrl?: string;
@@ -187,6 +322,14 @@ export type JiraV1IssueGetOutput = {
187
322
  self?: string;
188
323
  };
189
324
  };
325
+ statusCategory?: {
326
+ colorName?: string;
327
+ id?: number;
328
+ key?: string;
329
+ name?: string;
330
+ self?: string;
331
+ };
332
+ statuscategorychangedate?: string;
190
333
  subtasks?: Array<{
191
334
  fields?: {
192
335
  issuetype?: {
@@ -227,7 +370,26 @@ export type JiraV1IssueGetOutput = {
227
370
  self?: string;
228
371
  }>;
229
372
  summary?: string;
373
+ timeestimate?: null;
374
+ timeoriginalestimate?: null;
375
+ timespent?: null;
230
376
  updated?: string;
377
+ votes?: {
378
+ hasVoted?: boolean;
379
+ self?: string;
380
+ votes?: number;
381
+ };
382
+ watches?: {
383
+ isWatching?: boolean;
384
+ self?: string;
385
+ watchCount?: number;
386
+ };
387
+ worklog?: {
388
+ maxResults?: number;
389
+ startAt?: number;
390
+ total?: number;
391
+ };
392
+ workratio?: number;
231
393
  };
232
394
  id?: string;
233
395
  key?: string;
@@ -56,6 +56,21 @@ export type JiraV1IssueGetAllOutput = {
56
56
  progress?: number;
57
57
  total?: number;
58
58
  };
59
+ assignee?: {
60
+ accountId?: string;
61
+ accountType?: string;
62
+ active?: boolean;
63
+ avatarUrls?: {
64
+ '16x16'?: string;
65
+ '24x24'?: string;
66
+ '32x32'?: string;
67
+ '48x48'?: string;
68
+ };
69
+ displayName?: string;
70
+ emailAddress?: string;
71
+ self?: string;
72
+ timeZone?: string;
73
+ };
59
74
  components?: Array<{
60
75
  description?: string;
61
76
  id?: string;
@@ -131,6 +146,45 @@ export type JiraV1IssueGetAllOutput = {
131
146
  key?: string;
132
147
  self?: string;
133
148
  };
149
+ outwardIssue?: {
150
+ fields?: {
151
+ issuetype?: {
152
+ avatarId?: number;
153
+ description?: string;
154
+ entityId?: string;
155
+ hierarchyLevel?: number;
156
+ iconUrl?: string;
157
+ id?: string;
158
+ name?: string;
159
+ self?: string;
160
+ subtask?: boolean;
161
+ };
162
+ priority?: {
163
+ iconUrl?: string;
164
+ id?: string;
165
+ name?: string;
166
+ self?: string;
167
+ };
168
+ status?: {
169
+ description?: string;
170
+ iconUrl?: string;
171
+ id?: string;
172
+ name?: string;
173
+ self?: string;
174
+ statusCategory?: {
175
+ colorName?: string;
176
+ id?: number;
177
+ key?: string;
178
+ name?: string;
179
+ self?: string;
180
+ };
181
+ };
182
+ summary?: string;
183
+ };
184
+ id?: string;
185
+ key?: string;
186
+ self?: string;
187
+ };
134
188
  self?: string;
135
189
  type?: {
136
190
  id?: string;
@@ -84,6 +84,7 @@ export type LemlistV2LeadCreateOutput = {
84
84
  email?: string;
85
85
  firstName?: string;
86
86
  isPaused?: boolean;
87
+ jobTitle?: string;
87
88
  lastName?: string;
88
89
  linkedinUrl?: string;
89
90
  };
@@ -66,11 +66,69 @@ export type MailchimpV1CampaignGetAllParams = {
66
66
  };
67
67
 
68
68
  export type MailchimpV1CampaignGetAllOutput = {
69
+ _links?: Array<{
70
+ href?: string;
71
+ method?: string;
72
+ rel?: string;
73
+ schema?: string;
74
+ targetSchema?: string;
75
+ }>;
76
+ archive_url?: string;
77
+ content_type?: string;
78
+ create_time?: string;
79
+ delivery_status?: {
80
+ can_cancel?: boolean;
81
+ emails_canceled?: number;
82
+ emails_sent?: number;
83
+ enabled?: boolean;
84
+ status?: string;
85
+ };
86
+ emails_sent?: number;
69
87
  id?: string;
88
+ long_archive_url?: string;
89
+ needs_block_refresh?: boolean;
90
+ recipients?: {
91
+ list_id?: string;
92
+ list_is_active?: boolean;
93
+ list_name?: string;
94
+ recipient_count?: number;
95
+ segment_opts?: {
96
+ conditions?: Array<{
97
+ condition_type?: string;
98
+ field?: string;
99
+ op?: string;
100
+ }>;
101
+ match?: string;
102
+ };
103
+ segment_text?: string;
104
+ };
105
+ report_summary?: {
106
+ clicks?: number;
107
+ ecommerce?: {
108
+ total_orders?: number;
109
+ };
110
+ opens?: number;
111
+ subscriber_clicks?: number;
112
+ unique_opens?: number;
113
+ };
114
+ resendable?: boolean;
115
+ send_time?: string;
70
116
  settings?: {
117
+ authenticate?: boolean;
118
+ auto_footer?: boolean;
119
+ auto_tweet?: boolean;
120
+ drag_and_drop?: boolean;
121
+ fb_comments?: boolean;
122
+ folder_id?: string;
71
123
  from_name?: string;
124
+ inline_css?: boolean;
72
125
  reply_to?: string;
126
+ subject_line?: string;
127
+ template_id?: number;
128
+ timewarp?: boolean;
73
129
  title?: string;
130
+ to_name?: string;
131
+ use_conversation?: boolean;
74
132
  };
75
133
  status?: string;
76
134
  tracking?: {
@@ -82,6 +140,8 @@ export type MailchimpV1CampaignGetAllOutput = {
82
140
  opens?: boolean;
83
141
  text_clicks?: boolean;
84
142
  };
143
+ type?: string;
144
+ web_id?: number;
85
145
  };
86
146
 
87
147
  export type MailchimpV1CampaignGetAllNode = {
@@ -70,9 +70,21 @@ export type MicrosoftEntraV1GroupGetParams = {
70
70
  };
71
71
  };
72
72
 
73
+ export type MicrosoftEntraV1GroupGetOutput = {
74
+ '@odata.context'?: string;
75
+ createdDateTime?: string;
76
+ displayName?: string;
77
+ id?: string;
78
+ mailEnabled?: boolean;
79
+ mailNickname?: string;
80
+ securityEnabled?: boolean;
81
+ securityIdentifier?: string;
82
+ };
83
+
73
84
  export type MicrosoftEntraV1GroupGetNode = {
74
85
  type: 'n8n-nodes-base.microsoftEntra';
75
86
  version: 1;
76
87
  credentials?: Credentials;
77
88
  config: NodeConfig<MicrosoftEntraV1GroupGetParams>;
89
+ output?: Items<MicrosoftEntraV1GroupGetOutput>;
78
90
  };
@@ -23,12 +23,12 @@ export type MicrosoftOutlookV2EventCreateParams = {
23
23
  subject?: string | Expression<string> | PlaceholderValue;
24
24
  /**
25
25
  * Start
26
- * @default 2026-03-09T06:30:56.435+00:00
26
+ * @default 2026-03-09T15:51:33.458+00:00
27
27
  */
28
28
  startDateTime?: string | Expression<string>;
29
29
  /**
30
30
  * End
31
- * @default 2026-03-09T07:00:56.435+00:00
31
+ * @default 2026-03-09T16:21:33.458+00:00
32
32
  */
33
33
  endDateTime?: string | Expression<string>;
34
34
  /**
@@ -109,7 +109,19 @@ export type MicrosoftOutlookV2FolderMessageGetAllOutput = {
109
109
  };
110
110
  bodyPreview?: string;
111
111
  categories?: Array<string>;
112
+ ccRecipients?: Array<{
113
+ emailAddress?: {
114
+ address?: string;
115
+ name?: string;
116
+ };
117
+ }>;
118
+ changeKey?: string;
112
119
  conversationId?: string;
120
+ conversationIndex?: string;
121
+ createdDateTime?: string;
122
+ flag?: {
123
+ flagStatus?: string;
124
+ };
113
125
  from?: {
114
126
  emailAddress?: {
115
127
  address?: string;
@@ -118,7 +130,27 @@ export type MicrosoftOutlookV2FolderMessageGetAllOutput = {
118
130
  };
119
131
  hasAttachments?: boolean;
120
132
  id?: string;
133
+ importance?: string;
134
+ inferenceClassification?: string;
135
+ internetMessageId?: string;
136
+ isDraft?: boolean;
137
+ isRead?: boolean;
138
+ isReadReceiptRequested?: boolean;
139
+ lastModifiedDateTime?: string;
140
+ parentFolderId?: string;
121
141
  receivedDateTime?: string;
142
+ replyTo?: Array<{
143
+ emailAddress?: {
144
+ address?: string;
145
+ name?: string;
146
+ };
147
+ }>;
148
+ sender?: {
149
+ emailAddress?: {
150
+ address?: string;
151
+ name?: string;
152
+ };
153
+ };
122
154
  sentDateTime?: string;
123
155
  subject?: string;
124
156
  toRecipients?: Array<{
@@ -127,6 +159,7 @@ export type MicrosoftOutlookV2FolderMessageGetAllOutput = {
127
159
  name?: string;
128
160
  };
129
161
  }>;
162
+ webLink?: string;
130
163
  };
131
164
 
132
165
  export type MicrosoftOutlookV2FolderMessageGetAllNode = {
@@ -44,6 +44,12 @@ export type MicrosoftOutlookV2MessageAttachmentGetOutput = {
44
44
  lastModifiedDateTime?: string;
45
45
  name?: string;
46
46
  size?: number;
47
+ value?: Array<{
48
+ '@odata.mediaContentType'?: string;
49
+ '@odata.type'?: string;
50
+ id?: string;
51
+ name?: string;
52
+ }>;
47
53
  };
48
54
 
49
55
  export type MicrosoftOutlookV2MessageAttachmentGetNode = {
@@ -10,6 +10,26 @@
10
10
  "name": {
11
11
  "type": "string"
12
12
  },
13
+ "photo": {
14
+ "type": "object",
15
+ "properties": {
16
+ "image_128x128": {
17
+ "type": "string"
18
+ },
19
+ "image_21x21": {
20
+ "type": "string"
21
+ },
22
+ "image_27x27": {
23
+ "type": "string"
24
+ },
25
+ "image_36x36": {
26
+ "type": "string"
27
+ },
28
+ "image_60x60": {
29
+ "type": "string"
30
+ }
31
+ }
32
+ },
13
33
  "resource_type": {
14
34
  "type": "string"
15
35
  },
@@ -31,5 +51,5 @@
31
51
  }
32
52
  }
33
53
  },
34
- "version": 1
54
+ "version": 2
35
55
  }
@@ -35,9 +35,12 @@
35
35
  }
36
36
  }
37
37
  }
38
+ },
39
+ "sorting": {
40
+ "type": "string"
38
41
  }
39
42
  }
40
43
  }
41
44
  },
42
- "version": 5
45
+ "version": 6
43
46
  }
@@ -0,0 +1,24 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "InboundMessage": {
5
+ "type": "string"
6
+ },
7
+ "LeadEmail": {
8
+ "type": "string"
9
+ },
10
+ "LeadID": {
11
+ "type": "string"
12
+ },
13
+ "LeadLinkedInURL": {
14
+ "type": "string"
15
+ },
16
+ "LeadName": {
17
+ "type": "string"
18
+ },
19
+ "MsgStatus": {
20
+ "type": "string"
21
+ }
22
+ },
23
+ "version": 1
24
+ }
@@ -1,6 +1,6 @@
1
- import { type IExecuteFunctions, type INodeExecutionData, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
1
+ import { type IExecuteFunctions, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
2
2
  export declare class Code implements INodeType {
3
3
  description: INodeTypeDescription;
4
- execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
4
+ execute(this: IExecuteFunctions): Promise<import("n8n-workflow").INodeExecutionData[][]>;
5
5
  }
6
6
  //# sourceMappingURL=Code.node.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Code.node.d.ts","sourceRoot":"","sources":["../../../nodes/Code/Code.node.ts"],"names":[],"mappings":"AAIA,OAAO,EAKN,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,MAAM,cAAc,CAAC;AAuBtB,qBAAa,IAAK,YAAW,SAAS;IACrC,WAAW,EAAE,oBAAoB,CAgI/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB;CAkIrC"}
1
+ {"version":3,"file":"Code.node.d.ts","sourceRoot":"","sources":["../../../nodes/Code/Code.node.ts"],"names":[],"mappings":"AAGA,OAAO,EAMN,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,MAAM,cAAc,CAAC;AAkBtB,qBAAa,IAAK,YAAW,SAAS;IACrC,WAAW,EAAE,oBAAoB,CAgI/B;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB;CA2CrC"}
@@ -1,23 +1,15 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
3
  exports.Code = void 0;
7
4
  /* eslint-disable n8n-nodes-base/node-execute-block-wrong-error-thrown */
8
5
  const config_1 = require("@n8n/config");
9
6
  const di_1 = require("@n8n/di");
10
- const set_1 = __importDefault(require("lodash/set"));
11
7
  const n8n_workflow_1 = require("n8n-workflow");
12
8
  const JavascriptCodeDescription_1 = require("./descriptions/JavascriptCodeDescription");
13
9
  const PythonCodeDescription_1 = require("./descriptions/PythonCodeDescription");
14
- const JavaScriptSandbox_1 = require("./JavaScriptSandbox");
15
10
  const JsTaskRunnerSandbox_1 = require("./JsTaskRunnerSandbox");
16
11
  const python_runner_unavailable_error_1 = require("./python-runner-unavailable.error");
17
12
  const PythonTaskRunnerSandbox_1 = require("./PythonTaskRunnerSandbox");
18
- const Sandbox_1 = require("./Sandbox");
19
- const utils_1 = require("./utils");
20
- const { CODE_ENABLE_STDOUT } = process.env;
21
13
  class PythonDisabledError extends n8n_workflow_1.UserError {
22
14
  constructor() {
23
15
  super('This instance disallows Python execution because it has the environment variable `N8N_PYTHON_ENABLED` set to `false`. To restore Python execution, remove this environment variable or set it to `true` and restart the instance.');
@@ -157,15 +149,13 @@ class Code {
157
149
  : 'javaScript';
158
150
  const isJsLang = language === 'javaScript';
159
151
  const isPyLang = language === 'python' || language === 'pythonNative'; // keep legacy `python` for backwards compatibility
160
- const runnersConfig = di_1.Container.get(config_1.TaskRunnersConfig);
161
- const isJsRunner = runnersConfig.enabled;
162
152
  if (isPyLang && !di_1.Container.get(config_1.NodesConfig).pythonEnabled) {
163
153
  throw new PythonDisabledError();
164
154
  }
165
155
  const nodeMode = this.getNodeParameter('mode', 0);
166
156
  const workflowMode = this.getMode();
167
157
  const codeParameterName = isPyLang ? 'pythonCode' : 'jsCode';
168
- if (isJsLang && isJsRunner) {
158
+ if (isJsLang) {
169
159
  const code = this.getNodeParameter(codeParameterName, 0);
170
160
  const sandbox = new JsTaskRunnerSandbox_1.JsTaskRunnerSandbox(workflowMode, this);
171
161
  const numInputItems = this.getInputData().length;
@@ -182,78 +172,7 @@ class Code {
182
172
  const sandbox = new PythonTaskRunnerSandbox_1.PythonTaskRunnerSandbox(code, nodeMode, workflowMode, this);
183
173
  return [await sandbox.runUsingIncomingItems()];
184
174
  }
185
- const getSandbox = (index = 0) => {
186
- const code = this.getNodeParameter(codeParameterName, index);
187
- const context = Sandbox_1.getSandboxContext.call(this, index);
188
- if (nodeMode === 'runOnceForAllItems') {
189
- context.items = context.$input.all();
190
- }
191
- else {
192
- context.item = context.$input.item;
193
- }
194
- const sandbox = new JavaScriptSandbox_1.JavaScriptSandbox(context, code, this.helpers);
195
- sandbox.on('output', workflowMode === 'manual'
196
- ? this.sendMessageToUI.bind(this)
197
- : CODE_ENABLE_STDOUT === 'true'
198
- ? (...args) => console.log(`[Workflow "${this.getWorkflow().id}"][Node "${node.name}"]`, ...args)
199
- : () => { });
200
- return sandbox;
201
- };
202
- const inputDataItems = this.getInputData();
203
- // ----------------------------------
204
- // runOnceForAllItems
205
- // ----------------------------------
206
- if (nodeMode === 'runOnceForAllItems') {
207
- const sandbox = getSandbox();
208
- let items;
209
- try {
210
- items = (await sandbox.runCodeAllItems());
211
- }
212
- catch (error) {
213
- if (!this.continueOnFail()) {
214
- (0, set_1.default)(error, 'node', node);
215
- throw error;
216
- }
217
- items = [{ json: { error: error.message } }];
218
- }
219
- for (const item of items) {
220
- (0, utils_1.standardizeOutput)(item.json);
221
- }
222
- (0, utils_1.addPostExecutionWarning)(this, items, inputDataItems?.length);
223
- return [items];
224
- }
225
- // ----------------------------------
226
- // runOnceForEachItem
227
- // ----------------------------------
228
- const returnData = [];
229
- for (let index = 0; index < inputDataItems.length; index++) {
230
- const sandbox = getSandbox(index);
231
- let result;
232
- try {
233
- result = await sandbox.runCodeEachItem(index);
234
- }
235
- catch (error) {
236
- if (!this.continueOnFail()) {
237
- (0, set_1.default)(error, 'node', node);
238
- throw error;
239
- }
240
- returnData.push({
241
- json: { error: error.message },
242
- pairedItem: {
243
- item: index,
244
- },
245
- });
246
- }
247
- if (result) {
248
- returnData.push({
249
- json: (0, utils_1.standardizeOutput)(result.json),
250
- pairedItem: { item: index },
251
- ...(result.binary && { binary: result.binary }),
252
- });
253
- }
254
- }
255
- (0, utils_1.addPostExecutionWarning)(this, returnData, inputDataItems?.length);
256
- return [returnData];
175
+ throw new n8n_workflow_1.UnexpectedError(`Unsupported language: ${language}`);
257
176
  }
258
177
  }
259
178
  exports.Code = Code;