n8n-nodes-base 1.92.0 → 1.94.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 (274) hide show
  1. package/dist/credentials/AirtopApi.credentials.js +2 -1
  2. package/dist/credentials/AirtopApi.credentials.js.map +1 -1
  3. package/dist/credentials/JinaAiApi.credentials.js +1 -1
  4. package/dist/credentials/JinaAiApi.credentials.js.map +1 -1
  5. package/dist/credentials/MicrosoftSharePointOAuth2Api.credentials.js +0 -9
  6. package/dist/credentials/MicrosoftSharePointOAuth2Api.credentials.js.map +1 -1
  7. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +13 -0
  8. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js.map +1 -1
  9. package/dist/credentials/Snowflake.credentials.js +46 -2
  10. package/dist/credentials/Snowflake.credentials.js.map +1 -1
  11. package/dist/known/credentials.json +10 -1
  12. package/dist/known/nodes.json +20 -4
  13. package/dist/methods/defined.json +6 -0
  14. package/dist/methods/referenced.json +3 -0
  15. package/dist/nodes/Airtop/Airtop.node.js +14 -8
  16. package/dist/nodes/Airtop/Airtop.node.js.map +1 -1
  17. package/dist/nodes/Airtop/GenericFunctions.js +87 -15
  18. package/dist/nodes/Airtop/GenericFunctions.js.map +1 -1
  19. package/dist/nodes/Airtop/actions/common/fields.js +9 -0
  20. package/dist/nodes/Airtop/actions/common/fields.js.map +1 -1
  21. package/dist/nodes/Airtop/actions/common/output.utils.js +79 -0
  22. package/dist/nodes/Airtop/actions/common/output.utils.js.map +1 -0
  23. package/dist/nodes/Airtop/actions/common/session.utils.js +2 -2
  24. package/dist/nodes/Airtop/actions/common/session.utils.js.map +1 -1
  25. package/dist/nodes/Airtop/actions/extraction/getPaginated.operation.js +13 -4
  26. package/dist/nodes/Airtop/actions/extraction/getPaginated.operation.js.map +1 -1
  27. package/dist/nodes/Airtop/actions/extraction/query.operation.js +21 -3
  28. package/dist/nodes/Airtop/actions/extraction/query.operation.js.map +1 -1
  29. package/dist/nodes/Airtop/actions/extraction/scrape.operation.js +2 -1
  30. package/dist/nodes/Airtop/actions/extraction/scrape.operation.js.map +1 -1
  31. package/dist/nodes/Airtop/actions/file/File.resource.js +104 -0
  32. package/dist/nodes/Airtop/actions/file/File.resource.js.map +1 -0
  33. package/dist/nodes/Airtop/actions/file/delete.operation.js +60 -0
  34. package/dist/nodes/Airtop/actions/file/delete.operation.js.map +1 -0
  35. package/dist/nodes/Airtop/actions/file/get.operation.js +91 -0
  36. package/dist/nodes/Airtop/actions/file/get.operation.js.map +1 -0
  37. package/dist/nodes/Airtop/actions/file/getMany.operation.js +100 -0
  38. package/dist/nodes/Airtop/actions/file/getMany.operation.js.map +1 -0
  39. package/dist/nodes/Airtop/actions/file/helpers.js +199 -0
  40. package/dist/nodes/Airtop/actions/file/helpers.js.map +1 -0
  41. package/dist/nodes/Airtop/actions/file/load.operation.js +85 -0
  42. package/dist/nodes/Airtop/actions/file/load.operation.js.map +1 -0
  43. package/dist/nodes/Airtop/actions/file/upload.operation.js +186 -0
  44. package/dist/nodes/Airtop/actions/file/upload.operation.js.map +1 -0
  45. package/dist/nodes/Airtop/actions/interaction/Interaction.resource.js +22 -1
  46. package/dist/nodes/Airtop/actions/interaction/Interaction.resource.js.map +1 -1
  47. package/dist/nodes/Airtop/actions/interaction/fill.operation.js +89 -0
  48. package/dist/nodes/Airtop/actions/interaction/fill.operation.js.map +1 -0
  49. package/dist/nodes/Airtop/actions/interaction/scroll.operation.js +219 -0
  50. package/dist/nodes/Airtop/actions/interaction/scroll.operation.js.map +1 -0
  51. package/dist/nodes/Airtop/actions/node.type.js.map +1 -1
  52. package/dist/nodes/Airtop/actions/router.js +13 -4
  53. package/dist/nodes/Airtop/actions/router.js.map +1 -1
  54. package/dist/nodes/Airtop/actions/session/create.operation.js +85 -32
  55. package/dist/nodes/Airtop/actions/session/create.operation.js.map +1 -1
  56. package/dist/nodes/Airtop/actions/window/Window.resource.js +2 -1
  57. package/dist/nodes/Airtop/actions/window/Window.resource.js.map +1 -1
  58. package/dist/nodes/Airtop/actions/window/create.operation.js +1 -1
  59. package/dist/nodes/Airtop/actions/window/create.operation.js.map +1 -1
  60. package/dist/nodes/Airtop/actions/window/takeScreenshot.operation.js +26 -3
  61. package/dist/nodes/Airtop/actions/window/takeScreenshot.operation.js.map +1 -1
  62. package/dist/nodes/Airtop/constants.js +38 -5
  63. package/dist/nodes/Airtop/constants.js.map +1 -1
  64. package/dist/nodes/Airtop/countries.js +1026 -0
  65. package/dist/nodes/Airtop/countries.js.map +1 -0
  66. package/dist/nodes/Airtop/transport/index.js +6 -3
  67. package/dist/nodes/Airtop/transport/index.js.map +1 -1
  68. package/dist/nodes/Airtop/transport/types.js.map +1 -1
  69. package/dist/nodes/Aws/IAM/AwsIam.node.js +95 -0
  70. package/dist/nodes/Aws/IAM/AwsIam.node.js.map +1 -0
  71. package/dist/nodes/Aws/IAM/AwsIam.node.json +18 -0
  72. package/dist/nodes/Aws/IAM/AwsIam.svg +18 -0
  73. package/dist/nodes/Aws/IAM/descriptions/common.js +188 -0
  74. package/dist/nodes/Aws/IAM/descriptions/common.js.map +1 -0
  75. package/dist/nodes/Aws/IAM/descriptions/group/Group.resource.js +175 -0
  76. package/dist/nodes/Aws/IAM/descriptions/group/Group.resource.js.map +1 -0
  77. package/dist/nodes/Aws/IAM/descriptions/group/create.operation.js +66 -0
  78. package/dist/nodes/Aws/IAM/descriptions/group/create.operation.js.map +1 -0
  79. package/dist/nodes/Aws/IAM/descriptions/group/delete.operation.js +43 -0
  80. package/dist/nodes/Aws/IAM/descriptions/group/delete.operation.js.map +1 -0
  81. package/dist/nodes/Aws/IAM/descriptions/group/get.operation.js +50 -0
  82. package/dist/nodes/Aws/IAM/descriptions/group/get.operation.js.map +1 -0
  83. package/dist/nodes/Aws/IAM/descriptions/group/getAll.operation.js +47 -0
  84. package/dist/nodes/Aws/IAM/descriptions/group/getAll.operation.js.map +1 -0
  85. package/dist/nodes/Aws/IAM/descriptions/group/update.operation.js +70 -0
  86. package/dist/nodes/Aws/IAM/descriptions/group/update.operation.js.map +1 -0
  87. package/dist/nodes/Aws/IAM/descriptions/index.js +42 -0
  88. package/dist/nodes/Aws/IAM/descriptions/index.js.map +1 -0
  89. package/dist/nodes/Aws/IAM/descriptions/user/User.resource.js +231 -0
  90. package/dist/nodes/Aws/IAM/descriptions/user/User.resource.js.map +1 -0
  91. package/dist/nodes/Aws/IAM/descriptions/user/addToGroup.operation.js +47 -0
  92. package/dist/nodes/Aws/IAM/descriptions/user/addToGroup.operation.js.map +1 -0
  93. package/dist/nodes/Aws/IAM/descriptions/user/create.operation.js +118 -0
  94. package/dist/nodes/Aws/IAM/descriptions/user/create.operation.js.map +1 -0
  95. package/dist/nodes/Aws/IAM/descriptions/user/delete.operation.js +43 -0
  96. package/dist/nodes/Aws/IAM/descriptions/user/delete.operation.js.map +1 -0
  97. package/dist/nodes/Aws/IAM/descriptions/user/get.operation.js +43 -0
  98. package/dist/nodes/Aws/IAM/descriptions/user/get.operation.js.map +1 -0
  99. package/dist/nodes/Aws/IAM/descriptions/user/getAll.operation.js +66 -0
  100. package/dist/nodes/Aws/IAM/descriptions/user/getAll.operation.js.map +1 -0
  101. package/dist/nodes/Aws/IAM/descriptions/user/removeFromGroup.operation.js +74 -0
  102. package/dist/nodes/Aws/IAM/descriptions/user/removeFromGroup.operation.js.map +1 -0
  103. package/dist/nodes/Aws/IAM/descriptions/user/update.operation.js +68 -0
  104. package/dist/nodes/Aws/IAM/descriptions/user/update.operation.js.map +1 -0
  105. package/dist/nodes/Aws/IAM/helpers/constants.js +47 -0
  106. package/dist/nodes/Aws/IAM/helpers/constants.js.map +1 -0
  107. package/dist/nodes/Aws/IAM/helpers/errorHandler.js +90 -0
  108. package/dist/nodes/Aws/IAM/helpers/errorHandler.js.map +1 -0
  109. package/dist/nodes/Aws/IAM/helpers/types.js +17 -0
  110. package/dist/nodes/Aws/IAM/helpers/types.js.map +1 -0
  111. package/dist/nodes/Aws/IAM/helpers/utils.js +279 -0
  112. package/dist/nodes/Aws/IAM/helpers/utils.js.map +1 -0
  113. package/dist/nodes/Aws/IAM/methods/index.js +39 -0
  114. package/dist/nodes/Aws/IAM/methods/index.js.map +1 -0
  115. package/dist/nodes/Aws/IAM/methods/listSearch.js +132 -0
  116. package/dist/nodes/Aws/IAM/methods/listSearch.js.map +1 -0
  117. package/dist/nodes/Aws/IAM/transport/index.js +64 -0
  118. package/dist/nodes/Aws/IAM/transport/index.js.map +1 -0
  119. package/dist/nodes/Cron/Cron.node.js +1 -1
  120. package/dist/nodes/Cron/Cron.node.js.map +1 -1
  121. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +2 -2
  122. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  123. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +2 -2
  124. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  125. package/dist/nodes/Evaluation/Evaluation/Description.node.js +146 -0
  126. package/dist/nodes/Evaluation/Evaluation/Description.node.js.map +1 -0
  127. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js +117 -0
  128. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js.map +1 -0
  129. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js +187 -0
  130. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js.map +1 -0
  131. package/dist/nodes/Evaluation/methods/index.js +42 -0
  132. package/dist/nodes/Evaluation/methods/index.js.map +1 -0
  133. package/dist/nodes/Evaluation/methods/loadOptions.js +40 -0
  134. package/dist/nodes/Evaluation/methods/loadOptions.js.map +1 -0
  135. package/dist/nodes/Evaluation/utils/evaluationTriggerUtils.js +119 -0
  136. package/dist/nodes/Evaluation/utils/evaluationTriggerUtils.js.map +1 -0
  137. package/dist/nodes/Evaluation/utils/evaluationUtils.js +171 -0
  138. package/dist/nodes/Evaluation/utils/evaluationUtils.js.map +1 -0
  139. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js +4 -3
  140. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js.map +1 -1
  141. package/dist/nodes/Form/common.descriptions.js +2 -2
  142. package/dist/nodes/Form/common.descriptions.js.map +1 -1
  143. package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js +4 -1
  144. package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js.map +1 -1
  145. package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js +1 -2
  146. package/dist/nodes/Google/Firebase/CloudFirestore/GenericFunctions.js.map +1 -1
  147. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +113 -107
  148. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
  149. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js +52 -106
  150. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js.map +1 -1
  151. package/dist/nodes/Google/Sheet/v2/actions/utils/readOperation.js +97 -0
  152. package/dist/nodes/Google/Sheet/v2/actions/utils/readOperation.js.map +1 -0
  153. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js +20 -17
  154. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js.map +1 -1
  155. package/dist/nodes/Google/YouTube/YouTube.node.js +4 -2
  156. package/dist/nodes/Google/YouTube/YouTube.node.js.map +1 -1
  157. package/dist/nodes/HttpRequest/GenericFunctions.js +1 -1
  158. package/dist/nodes/HttpRequest/GenericFunctions.js.map +1 -1
  159. package/dist/nodes/Interval/Interval.node.js +1 -1
  160. package/dist/nodes/Interval/Interval.node.js.map +1 -1
  161. package/dist/nodes/Jira/Jira.node.js +34 -15
  162. package/dist/nodes/Jira/Jira.node.js.map +1 -1
  163. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js +2 -2
  164. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js.map +1 -1
  165. package/dist/nodes/MQTT/MqttTrigger.node.js +2 -2
  166. package/dist/nodes/MQTT/MqttTrigger.node.js.map +1 -1
  167. package/dist/nodes/ManualTrigger/ManualTrigger.node.js +1 -1
  168. package/dist/nodes/ManualTrigger/ManualTrigger.node.js.map +1 -1
  169. package/dist/nodes/Merge/Merge.node.js +3 -2
  170. package/dist/nodes/Merge/Merge.node.js.map +1 -1
  171. package/dist/nodes/Merge/v3/actions/mode/combineBySql.js +42 -4
  172. package/dist/nodes/Merge/v3/actions/mode/combineBySql.js.map +1 -1
  173. package/dist/nodes/Merge/v3/actions/versionDescription.js +1 -1
  174. package/dist/nodes/Merge/v3/actions/versionDescription.js.map +1 -1
  175. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.js +93 -0
  176. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.js.map +1 -0
  177. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharepoint.node.json +18 -0
  178. package/dist/nodes/Microsoft/SharePoint/descriptions/common.descriptions.js +190 -0
  179. package/dist/nodes/Microsoft/SharePoint/descriptions/common.descriptions.js.map +1 -0
  180. package/dist/nodes/Microsoft/SharePoint/descriptions/file/File.resource.js +108 -0
  181. package/dist/nodes/Microsoft/SharePoint/descriptions/file/File.resource.js.map +1 -0
  182. package/dist/nodes/Microsoft/SharePoint/descriptions/file/download.operation.js +62 -0
  183. package/dist/nodes/Microsoft/SharePoint/descriptions/file/download.operation.js.map +1 -0
  184. package/dist/nodes/Microsoft/SharePoint/descriptions/file/update.operation.js +129 -0
  185. package/dist/nodes/Microsoft/SharePoint/descriptions/file/update.operation.js.map +1 -0
  186. package/dist/nodes/Microsoft/SharePoint/descriptions/file/upload.operation.js +77 -0
  187. package/dist/nodes/Microsoft/SharePoint/descriptions/file/upload.operation.js.map +1 -0
  188. package/dist/nodes/Microsoft/SharePoint/descriptions/index.js +45 -0
  189. package/dist/nodes/Microsoft/SharePoint/descriptions/index.js.map +1 -0
  190. package/dist/nodes/Microsoft/SharePoint/descriptions/item/Item.resource.js +175 -0
  191. package/dist/nodes/Microsoft/SharePoint/descriptions/item/Item.resource.js.map +1 -0
  192. package/dist/nodes/Microsoft/SharePoint/descriptions/item/create.operation.js +100 -0
  193. package/dist/nodes/Microsoft/SharePoint/descriptions/item/create.operation.js.map +1 -0
  194. package/dist/nodes/Microsoft/SharePoint/descriptions/item/delete.operation.js +62 -0
  195. package/dist/nodes/Microsoft/SharePoint/descriptions/item/delete.operation.js.map +1 -0
  196. package/dist/nodes/Microsoft/SharePoint/descriptions/item/get.operation.js +83 -0
  197. package/dist/nodes/Microsoft/SharePoint/descriptions/item/get.operation.js.map +1 -0
  198. package/dist/nodes/Microsoft/SharePoint/descriptions/item/getAll.operation.js +203 -0
  199. package/dist/nodes/Microsoft/SharePoint/descriptions/item/getAll.operation.js.map +1 -0
  200. package/dist/nodes/Microsoft/SharePoint/descriptions/item/update.operation.js +100 -0
  201. package/dist/nodes/Microsoft/SharePoint/descriptions/item/update.operation.js.map +1 -0
  202. package/dist/nodes/Microsoft/SharePoint/descriptions/item/upsert.operation.js +100 -0
  203. package/dist/nodes/Microsoft/SharePoint/descriptions/item/upsert.operation.js.map +1 -0
  204. package/dist/nodes/Microsoft/SharePoint/descriptions/list/List.resource.js +99 -0
  205. package/dist/nodes/Microsoft/SharePoint/descriptions/list/List.resource.js.map +1 -0
  206. package/dist/nodes/Microsoft/SharePoint/descriptions/list/get.operation.js +65 -0
  207. package/dist/nodes/Microsoft/SharePoint/descriptions/list/get.operation.js.map +1 -0
  208. package/dist/nodes/Microsoft/SharePoint/descriptions/list/getAll.operation.js +105 -0
  209. package/dist/nodes/Microsoft/SharePoint/descriptions/list/getAll.operation.js.map +1 -0
  210. package/dist/nodes/Microsoft/SharePoint/helpers/interfaces.js +17 -0
  211. package/dist/nodes/Microsoft/SharePoint/helpers/interfaces.js.map +1 -0
  212. package/dist/nodes/Microsoft/SharePoint/helpers/utils.js +252 -0
  213. package/dist/nodes/Microsoft/SharePoint/helpers/utils.js.map +1 -0
  214. package/dist/nodes/Microsoft/SharePoint/methods/index.js +42 -0
  215. package/dist/nodes/Microsoft/SharePoint/methods/index.js.map +1 -0
  216. package/dist/nodes/Microsoft/SharePoint/methods/listSearch.js +222 -0
  217. package/dist/nodes/Microsoft/SharePoint/methods/listSearch.js.map +1 -0
  218. package/dist/nodes/Microsoft/SharePoint/methods/resourceMapping.js +104 -0
  219. package/dist/nodes/Microsoft/SharePoint/methods/resourceMapping.js.map +1 -0
  220. package/dist/nodes/Microsoft/SharePoint/test/credentials.js +54 -0
  221. package/dist/nodes/Microsoft/SharePoint/test/credentials.js.map +1 -0
  222. package/dist/nodes/Microsoft/SharePoint/transport/index.js +46 -0
  223. package/dist/nodes/Microsoft/SharePoint/transport/index.js.map +1 -0
  224. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +387 -0
  225. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -0
  226. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.json +18 -0
  227. package/dist/nodes/Microsoft/Teams/v2/helpers/types.js +17 -0
  228. package/dist/nodes/Microsoft/Teams/v2/helpers/types.js.map +1 -0
  229. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +147 -0
  230. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -0
  231. package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
  232. package/dist/nodes/MongoDb/GenericFunctions.js +9 -2
  233. package/dist/nodes/MongoDb/GenericFunctions.js.map +1 -1
  234. package/dist/nodes/MongoDb/MongoDb.node.js +25 -5
  235. package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
  236. package/dist/nodes/PostBin/BinDescription.js +1 -1
  237. package/dist/nodes/PostBin/BinDescription.js.map +1 -1
  238. package/dist/nodes/PostBin/GenericFunctions.js +5 -5
  239. package/dist/nodes/PostBin/GenericFunctions.js.map +1 -1
  240. package/dist/nodes/PostBin/PostBin.node.js +1 -1
  241. package/dist/nodes/PostBin/PostBin.node.js.map +1 -1
  242. package/dist/nodes/PostBin/RequestDescription.js +2 -2
  243. package/dist/nodes/PostBin/RequestDescription.js.map +1 -1
  244. package/dist/nodes/Postgres/PostgresTrigger.node.js +2 -2
  245. package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
  246. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js +2 -2
  247. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js.map +1 -1
  248. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +8 -3
  249. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
  250. package/dist/nodes/RespondToWebhook/utils.js +43 -0
  251. package/dist/nodes/RespondToWebhook/utils.js.map +1 -0
  252. package/dist/nodes/Schedule/ScheduleTrigger.node.js +1 -1
  253. package/dist/nodes/Schedule/ScheduleTrigger.node.js.map +1 -1
  254. package/dist/nodes/Snowflake/GenericFunctions.js +34 -2
  255. package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
  256. package/dist/nodes/Snowflake/Snowflake.node.js +5 -7
  257. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  258. package/dist/nodes/SseTrigger/SseTrigger.node.js +2 -2
  259. package/dist/nodes/SseTrigger/SseTrigger.node.js.map +1 -1
  260. package/dist/nodes/Telegram/Telegram.node.js +5 -1
  261. package/dist/nodes/Telegram/Telegram.node.js.map +1 -1
  262. package/dist/nodes/Transform/Summarize/utils.js +2 -1
  263. package/dist/nodes/Transform/Summarize/utils.js.map +1 -1
  264. package/dist/test/setup.js +1 -0
  265. package/dist/test/setup.js.map +1 -1
  266. package/dist/types/credentials.json +7 -7
  267. package/dist/types/nodes.json +27 -23
  268. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js +12 -2
  269. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js.map +1 -1
  270. package/package.json +15 -12
  271. package/dist/nodes/EvaluationMetrics/EvaluationMetrics.node.js +0 -119
  272. package/dist/nodes/EvaluationMetrics/EvaluationMetrics.node.js.map +0 -1
  273. package/dist/nodes/EvaluationMetrics/EvaluationMetrics.node.json +0 -14
  274. /package/dist/{credentials/icons/SharePoint.svg → nodes/Microsoft/SharePoint/microsoftSharePoint.svg} +0 -0
@@ -40,6 +40,15 @@ var import_n8n_workflow = require("n8n-workflow");
40
40
  var import_constants = require("./constants");
41
41
  const SUPPORTED_TYPES = import_constants.TYPE_OPTIONS.map((x) => x.value);
42
42
  function parseJsonSchema(schema) {
43
+ if (schema.type !== "object") {
44
+ if (schema.type === void 0) {
45
+ return "Invalid JSON schema. Missing key `type` in schema";
46
+ }
47
+ if (Array.isArray(schema.type)) {
48
+ return `Invalid JSON schema type. Only object type is supported, but got an array of types: ${schema.type.join(", ")}`;
49
+ }
50
+ return `Invalid JSON schema type. Only object type is supported, but got ${schema.type}`;
51
+ }
43
52
  if (!schema?.properties) {
44
53
  return "Invalid JSON schema. Missing key `properties` in schema";
45
54
  }
@@ -130,10 +139,11 @@ function getCurrentWorkflowInputData() {
130
139
  return inputData;
131
140
  } else {
132
141
  const removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));
133
- const filteredInputData = inputData.map((item, index) => ({
142
+ const filteredInputData = inputData.map(({ json, binary }, index) => ({
134
143
  index,
135
144
  pairedItem: { item: index },
136
- json: import_lodash.default.pickBy(item.json, (_v, key) => !removedKeys.has(key))
145
+ json: import_lodash.default.pickBy(json, (_v, key) => !removedKeys.has(key)),
146
+ binary
137
147
  }));
138
148
  return filteredInputData;
139
149
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../utils/workflowInputsResourceMapping/GenericFunctions.ts"],"sourcesContent":["import { json as generateSchemaFromExample, type SchemaObject } from 'generate-schema';\nimport type { JSONSchema7 } from 'json-schema';\nimport _ from 'lodash';\nimport type {\n\tFieldValueOption,\n\tFieldType,\n\tIWorkflowNodeContext,\n\tINodeExecutionData,\n\tIDataObject,\n\tResourceMapperField,\n\tILocalLoadOptionsFunctions,\n\tWorkflowInputsData,\n\tIExecuteFunctions,\n\tISupplyDataFunctions,\n} from 'n8n-workflow';\nimport { jsonParse, NodeOperationError, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE } from 'n8n-workflow';\n\nimport {\n\tJSON_EXAMPLE,\n\tINPUT_SOURCE,\n\tWORKFLOW_INPUTS,\n\tVALUES,\n\tTYPE_OPTIONS,\n\tPASSTHROUGH,\n} from './constants';\n\nconst SUPPORTED_TYPES = TYPE_OPTIONS.map((x) => x.value);\n\nfunction parseJsonSchema(schema: JSONSchema7): FieldValueOption[] | string {\n\tif (!schema?.properties) {\n\t\treturn 'Invalid JSON schema. Missing key `properties` in schema';\n\t}\n\n\tif (typeof schema.properties !== 'object') {\n\t\treturn 'Invalid JSON schema. Key `properties` is not an object';\n\t}\n\n\tconst result: FieldValueOption[] = [];\n\tfor (const [name, v] of Object.entries(schema.properties)) {\n\t\tif (typeof v !== 'object') {\n\t\t\treturn `Invalid JSON schema. Value for property '${name}' is not an object`;\n\t\t}\n\n\t\tconst type = v?.type;\n\n\t\tif (type === 'null') {\n\t\t\tresult.push({ name, type: 'any' });\n\t\t} else if (Array.isArray(type)) {\n\t\t\t// Schema allows an array of types, but we don't\n\t\t\treturn `Invalid JSON schema. Array of types for property '${name}' is not supported by n8n. Either provide a single type or use type 'any' to allow any type`;\n\t\t} else if (typeof type !== 'string') {\n\t\t\treturn `Invalid JSON schema. Unexpected non-string type ${type} for property '${name}'`;\n\t\t} else if (!SUPPORTED_TYPES.includes(type as never)) {\n\t\t\treturn `Invalid JSON schema. Unsupported type ${type} for property '${name}'. Supported types are ${JSON.stringify(SUPPORTED_TYPES, null, 1)}`;\n\t\t} else {\n\t\t\tresult.push({ name, type: type as FieldType });\n\t\t}\n\t}\n\treturn result;\n}\n\nfunction parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {\n\tconst jsonString = context.getNodeParameter(JSON_EXAMPLE, 0, '') as string;\n\tconst json = jsonParse<SchemaObject>(jsonString);\n\n\treturn generateSchemaFromExample(json) as JSONSchema7;\n}\n\nexport function getFieldEntries(context: IWorkflowNodeContext): {\n\tdataMode: WorkflowInputsData['dataMode'];\n\tfields: FieldValueOption[];\n\tsubworkflowInfo?: WorkflowInputsData['subworkflowInfo'];\n} {\n\tconst inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH);\n\tlet result: FieldValueOption[] | string = 'Internal Error: Invalid input source';\n\ttry {\n\t\tif (inputSource === WORKFLOW_INPUTS) {\n\t\t\tresult = context.getNodeParameter(\n\t\t\t\t`${WORKFLOW_INPUTS}.${VALUES}`,\n\t\t\t\t0,\n\t\t\t\t[],\n\t\t\t) as FieldValueOption[];\n\t\t} else if (inputSource === JSON_EXAMPLE) {\n\t\t\tconst schema = parseJsonExample(context);\n\t\t\tresult = parseJsonSchema(schema);\n\t\t} else if (inputSource === PASSTHROUGH) {\n\t\t\tresult = [];\n\t\t}\n\t} catch (e: unknown) {\n\t\tresult =\n\t\t\te && typeof e === 'object' && 'message' in e && typeof e.message === 'string'\n\t\t\t\t? e.message\n\t\t\t\t: `Unknown error occurred: ${JSON.stringify(e)}`;\n\t}\n\n\tif (Array.isArray(result)) {\n\t\tconst dataMode = String(inputSource);\n\t\tconst workflow = context.getWorkflow();\n\t\tconst node = context.getNode();\n\t\treturn {\n\t\t\tfields: result,\n\t\t\tdataMode,\n\t\t\tsubworkflowInfo: { workflowId: workflow.id, triggerId: node.id },\n\t\t};\n\t}\n\tthrow new NodeOperationError(context.getNode(), result);\n}\n\nexport function getWorkflowInputValues(\n\tthis: IExecuteFunctions | ISupplyDataFunctions,\n): INodeExecutionData[] {\n\tconst inputData = this.getInputData();\n\n\treturn inputData.map(({ json, binary }, itemIndex) => {\n\t\tconst itemFieldValues = this.getNodeParameter(\n\t\t\t'workflowInputs.value',\n\t\t\titemIndex,\n\t\t\t{},\n\t\t) as IDataObject;\n\n\t\treturn {\n\t\t\tjson: {\n\t\t\t\t...json,\n\t\t\t\t...itemFieldValues,\n\t\t\t},\n\t\t\tindex: itemIndex,\n\t\t\tpairedItem: {\n\t\t\t\titem: itemIndex,\n\t\t\t},\n\t\t\tbinary,\n\t\t};\n\t});\n}\n\nexport function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDataFunctions) {\n\tconst inputData: INodeExecutionData[] = getWorkflowInputValues.call(this);\n\n\tconst schema = this.getNodeParameter('workflowInputs.schema', 0, []) as ResourceMapperField[];\n\n\tif (schema.length === 0) {\n\t\treturn inputData;\n\t} else {\n\t\tconst removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));\n\n\t\tconst filteredInputData: INodeExecutionData[] = inputData.map((item, index) => ({\n\t\t\tindex,\n\t\t\tpairedItem: { item: index },\n\t\t\tjson: _.pickBy(item.json, (_v, key) => !removedKeys.has(key)),\n\t\t}));\n\n\t\treturn filteredInputData;\n\t}\n}\n\nexport async function loadWorkflowInputMappings(\n\tthis: ILocalLoadOptionsFunctions,\n): Promise<WorkflowInputsData> {\n\tconst nodeLoadContext = await this.getWorkflowNodeContext(EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE);\n\tlet fields: ResourceMapperField[] = [];\n\tlet dataMode: string = PASSTHROUGH;\n\tlet subworkflowInfo: { workflowId?: string; triggerId?: string } | undefined;\n\n\tif (nodeLoadContext) {\n\t\tconst fieldValues = getFieldEntries(nodeLoadContext);\n\t\tdataMode = fieldValues.dataMode;\n\t\tsubworkflowInfo = fieldValues.subworkflowInfo;\n\n\t\tfields = fieldValues.fields.map((currentWorkflowInput) => {\n\t\t\tconst field: ResourceMapperField = {\n\t\t\t\tid: currentWorkflowInput.name,\n\t\t\t\tdisplayName: currentWorkflowInput.name,\n\t\t\t\trequired: false,\n\t\t\t\tdefaultMatch: false,\n\t\t\t\tdisplay: true,\n\t\t\t\tcanBeUsedToMatch: true,\n\t\t\t};\n\n\t\t\tif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MACP;AAAA,MACA;AAAA,IACD;AAAA,EACD,CAAC;AACF;AAEO,SAAS,8BAA4E;AAC3F,QAAM,YAAkC,uBAAuB,KAAK,IAAI;AAExE,QAAM,SAAS,KAAK,iBAAiB,yBAAyB,GAAG,CAAC,CAAC;AAEnE,MAAI,OAAO,WAAW,GAAG;AACxB,WAAO;AAAA,EACR,OAAO;AACN,UAAM,cAAc,IAAI,IAAI,OAAO,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC;AAErF,UAAM,oBAA0C,UAAU,IAAI,CAAC,MAAM,WAAW;AAAA,MAC/E;AAAA,MACA,YAAY,EAAE,MAAM,MAAM;AAAA,MAC1B,MAAM,cAAAC,QAAE,OAAO,KAAK,MAAM,CAAC,IAAI,QAAQ,CAAC,YAAY,IAAI,GAAG,CAAC;AAAA,IAC7D,EAAE;AAEF,WAAO;AAAA,EACR;AACD;AAEA,eAAsB,4BAES;AAC9B,QAAM,kBAAkB,MAAM,KAAK,uBAAuB,sDAAkC;AAC5F,MAAI,SAAgC,CAAC;AACrC,MAAI,WAAmB;AACvB,MAAI;AAEJ,MAAI,iBAAiB;AACpB,UAAM,cAAc,gBAAgB,eAAe;AACnD,eAAW,YAAY;AACvB,sBAAkB,YAAY;AAE9B,aAAS,YAAY,OAAO,IAAI,CAAC,yBAAyB;AACzD,YAAM,QAA6B;AAAA,QAClC,IAAI,qBAAqB;AAAA,QACzB,aAAa,qBAAqB;AAAA,QAClC,UAAU;AAAA,QACV,cAAc;AAAA,QACd,SAAS;AAAA,QACT,kBAAkB;AAAA,MACnB;AAEA,UAAI,qBAAqB,SAAS,OAAO;AACxC,cAAM,OAAO,qBAAqB;AAAA,MACnC;AAEA,aAAO;AAAA,IACR,CAAC;AAAA,EACF;AACA,SAAO,EAAE,QAAQ,UAAU,gBAAgB;AAC5C;","names":["generateSchemaFromExample","_"]}
1
+ {"version":3,"sources":["../../../utils/workflowInputsResourceMapping/GenericFunctions.ts"],"sourcesContent":["import { json as generateSchemaFromExample, type SchemaObject } from 'generate-schema';\nimport type { JSONSchema7 } from 'json-schema';\nimport _ from 'lodash';\nimport type {\n\tFieldValueOption,\n\tFieldType,\n\tIWorkflowNodeContext,\n\tINodeExecutionData,\n\tIDataObject,\n\tResourceMapperField,\n\tILocalLoadOptionsFunctions,\n\tWorkflowInputsData,\n\tIExecuteFunctions,\n\tISupplyDataFunctions,\n} from 'n8n-workflow';\nimport { jsonParse, NodeOperationError, EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE } from 'n8n-workflow';\n\nimport {\n\tJSON_EXAMPLE,\n\tINPUT_SOURCE,\n\tWORKFLOW_INPUTS,\n\tVALUES,\n\tTYPE_OPTIONS,\n\tPASSTHROUGH,\n} from './constants';\n\nconst SUPPORTED_TYPES = TYPE_OPTIONS.map((x) => x.value);\n\nfunction parseJsonSchema(schema: JSONSchema7): FieldValueOption[] | string {\n\tif (schema.type !== 'object') {\n\t\tif (schema.type === undefined) {\n\t\t\treturn 'Invalid JSON schema. Missing key `type` in schema';\n\t\t}\n\n\t\tif (Array.isArray(schema.type)) {\n\t\t\treturn `Invalid JSON schema type. Only object type is supported, but got an array of types: ${schema.type.join(', ')}`;\n\t\t}\n\n\t\treturn `Invalid JSON schema type. Only object type is supported, but got ${schema.type}`;\n\t}\n\n\tif (!schema?.properties) {\n\t\treturn 'Invalid JSON schema. Missing key `properties` in schema';\n\t}\n\n\tif (typeof schema.properties !== 'object') {\n\t\treturn 'Invalid JSON schema. Key `properties` is not an object';\n\t}\n\n\tconst result: FieldValueOption[] = [];\n\tfor (const [name, v] of Object.entries(schema.properties)) {\n\t\tif (typeof v !== 'object') {\n\t\t\treturn `Invalid JSON schema. Value for property '${name}' is not an object`;\n\t\t}\n\n\t\tconst type = v?.type;\n\n\t\tif (type === 'null') {\n\t\t\tresult.push({ name, type: 'any' });\n\t\t} else if (Array.isArray(type)) {\n\t\t\t// Schema allows an array of types, but we don't\n\t\t\treturn `Invalid JSON schema. Array of types for property '${name}' is not supported by n8n. Either provide a single type or use type 'any' to allow any type`;\n\t\t} else if (typeof type !== 'string') {\n\t\t\treturn `Invalid JSON schema. Unexpected non-string type ${type} for property '${name}'`;\n\t\t} else if (!SUPPORTED_TYPES.includes(type as never)) {\n\t\t\treturn `Invalid JSON schema. Unsupported type ${type} for property '${name}'. Supported types are ${JSON.stringify(SUPPORTED_TYPES, null, 1)}`;\n\t\t} else {\n\t\t\tresult.push({ name, type: type as FieldType });\n\t\t}\n\t}\n\treturn result;\n}\n\nfunction parseJsonExample(context: IWorkflowNodeContext): JSONSchema7 {\n\tconst jsonString = context.getNodeParameter(JSON_EXAMPLE, 0, '') as string;\n\tconst json = jsonParse<SchemaObject>(jsonString);\n\n\treturn generateSchemaFromExample(json) as JSONSchema7;\n}\n\nexport function getFieldEntries(context: IWorkflowNodeContext): {\n\tdataMode: WorkflowInputsData['dataMode'];\n\tfields: FieldValueOption[];\n\tsubworkflowInfo?: WorkflowInputsData['subworkflowInfo'];\n} {\n\tconst inputSource = context.getNodeParameter(INPUT_SOURCE, 0, PASSTHROUGH);\n\tlet result: FieldValueOption[] | string = 'Internal Error: Invalid input source';\n\ttry {\n\t\tif (inputSource === WORKFLOW_INPUTS) {\n\t\t\tresult = context.getNodeParameter(\n\t\t\t\t`${WORKFLOW_INPUTS}.${VALUES}`,\n\t\t\t\t0,\n\t\t\t\t[],\n\t\t\t) as FieldValueOption[];\n\t\t} else if (inputSource === JSON_EXAMPLE) {\n\t\t\tconst schema = parseJsonExample(context);\n\t\t\tresult = parseJsonSchema(schema);\n\t\t} else if (inputSource === PASSTHROUGH) {\n\t\t\tresult = [];\n\t\t}\n\t} catch (e: unknown) {\n\t\tresult =\n\t\t\te && typeof e === 'object' && 'message' in e && typeof e.message === 'string'\n\t\t\t\t? e.message\n\t\t\t\t: `Unknown error occurred: ${JSON.stringify(e)}`;\n\t}\n\n\tif (Array.isArray(result)) {\n\t\tconst dataMode = String(inputSource);\n\t\tconst workflow = context.getWorkflow();\n\t\tconst node = context.getNode();\n\t\treturn {\n\t\t\tfields: result,\n\t\t\tdataMode,\n\t\t\tsubworkflowInfo: { workflowId: workflow.id, triggerId: node.id },\n\t\t};\n\t}\n\tthrow new NodeOperationError(context.getNode(), result);\n}\n\nexport function getWorkflowInputValues(\n\tthis: IExecuteFunctions | ISupplyDataFunctions,\n): INodeExecutionData[] {\n\tconst inputData = this.getInputData();\n\n\treturn inputData.map(({ json, binary }, itemIndex) => {\n\t\tconst itemFieldValues = this.getNodeParameter(\n\t\t\t'workflowInputs.value',\n\t\t\titemIndex,\n\t\t\t{},\n\t\t) as IDataObject;\n\n\t\treturn {\n\t\t\tjson: {\n\t\t\t\t...json,\n\t\t\t\t...itemFieldValues,\n\t\t\t},\n\t\t\tindex: itemIndex,\n\t\t\tpairedItem: {\n\t\t\t\titem: itemIndex,\n\t\t\t},\n\t\t\tbinary,\n\t\t};\n\t});\n}\n\nexport function getCurrentWorkflowInputData(this: IExecuteFunctions | ISupplyDataFunctions) {\n\tconst inputData: INodeExecutionData[] = getWorkflowInputValues.call(this);\n\n\tconst schema = this.getNodeParameter('workflowInputs.schema', 0, []) as ResourceMapperField[];\n\n\tif (schema.length === 0) {\n\t\treturn inputData;\n\t} else {\n\t\tconst removedKeys = new Set(schema.filter((x) => x.removed).map((x) => x.displayName));\n\n\t\tconst filteredInputData: INodeExecutionData[] = inputData.map(({ json, binary }, index) => ({\n\t\t\tindex,\n\t\t\tpairedItem: { item: index },\n\t\t\tjson: _.pickBy(json, (_v, key) => !removedKeys.has(key)),\n\t\t\tbinary,\n\t\t}));\n\n\t\treturn filteredInputData;\n\t}\n}\n\nexport async function loadWorkflowInputMappings(\n\tthis: ILocalLoadOptionsFunctions,\n): Promise<WorkflowInputsData> {\n\tconst nodeLoadContext = await this.getWorkflowNodeContext(EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE);\n\tlet fields: ResourceMapperField[] = [];\n\tlet dataMode: string = PASSTHROUGH;\n\tlet subworkflowInfo: { workflowId?: string; triggerId?: string } | undefined;\n\n\tif (nodeLoadContext) {\n\t\tconst fieldValues = getFieldEntries(nodeLoadContext);\n\t\tdataMode = fieldValues.dataMode;\n\t\tsubworkflowInfo = fieldValues.subworkflowInfo;\n\n\t\tfields = fieldValues.fields.map((currentWorkflowInput) => {\n\t\t\tconst field: ResourceMapperField = {\n\t\t\t\tid: currentWorkflowInput.name,\n\t\t\t\tdisplayName: currentWorkflowInput.name,\n\t\t\t\trequired: false,\n\t\t\t\tdefaultMatch: false,\n\t\t\t\tdisplay: true,\n\t\t\t\tcanBeUsedToMatch: true,\n\t\t\t};\n\n\t\t\tif (currentWorkflowInput.type !== 'any') {\n\t\t\t\tfield.type = currentWorkflowInput.type;\n\t\t\t}\n\n\t\t\treturn field;\n\t\t});\n\t}\n\treturn { fields, dataMode, subworkflowInfo };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,6BAAqE;AAErE,oBAAc;AAad,0BAAkF;AAElF,uBAOO;AAEP,MAAM,kBAAkB,8BAAa,IAAI,CAAC,MAAM,EAAE,KAAK;AAEvD,SAAS,gBAAgB,QAAkD;AAC1E,MAAI,OAAO,SAAS,UAAU;AAC7B,QAAI,OAAO,SAAS,QAAW;AAC9B,aAAO;AAAA,IACR;AAEA,QAAI,MAAM,QAAQ,OAAO,IAAI,GAAG;AAC/B,aAAO,uFAAuF,OAAO,KAAK,KAAK,IAAI,CAAC;AAAA,IACrH;AAEA,WAAO,oEAAoE,OAAO,IAAI;AAAA,EACvF;AAEA,MAAI,CAAC,QAAQ,YAAY;AACxB,WAAO;AAAA,EACR;AAEA,MAAI,OAAO,OAAO,eAAe,UAAU;AAC1C,WAAO;AAAA,EACR;AAEA,QAAM,SAA6B,CAAC;AACpC,aAAW,CAAC,MAAM,CAAC,KAAK,OAAO,QAAQ,OAAO,UAAU,GAAG;AAC1D,QAAI,OAAO,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A,EACR;AACD;AAEA,eAAsB,4BAES;AAC9B,QAAM,kBAAkB,MAAM,KAAK,uBAAuB,sDAAkC;AAC5F,MAAI,SAAgC,CAAC;AACrC,MAAI,WAAmB;AACvB,MAAI;AAEJ,MAAI,iBAAiB;AACpB,UAAM,cAAc,gBAAgB,eAAe;AACnD,eAAW,YAAY;AACvB,sBAAkB,YAAY;AAE9B,aAAS,YAAY,OAAO,IAAI,CAAC,yBAAyB;AACzD,YAAM,QAA6B;AAAA,QAClC,IAAI,qBAAqB;AAAA,QACzB,aAAa,qBAAqB;AAAA,QAClC,UAAU;AAAA,QACV,cAAc;AAAA,QACd,SAAS;AAAA,QACT,kBAAkB;AAAA,MACnB;AAEA,UAAI,qBAAqB,SAAS,OAAO;AACxC,cAAM,OAAO,qBAAqB;AAAA,MACnC;AAEA,aAAO;AAAA,IACR,CAAC;AAAA,EACF;AACA,SAAO,EAAE,QAAQ,UAAU,gBAAgB;AAC5C;","names":["generateSchemaFromExample","_"]}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "n8n-nodes-base",
3
- "version": "1.92.0",
3
+ "version": "1.94.0",
4
4
  "description": "Base nodes of n8n",
5
5
  "main": "index.js",
6
6
  "files": [
7
7
  "dist",
8
- "LICENSE.md",
9
- "LICENSE_EE.md"
8
+ "LICENSE_EE.md",
9
+ "LICENSE.md"
10
10
  ],
11
11
  "n8n": {
12
12
  "credentials": [
@@ -424,6 +424,7 @@
424
424
  "dist/nodes/Aws/Comprehend/AwsComprehend.node.js",
425
425
  "dist/nodes/Aws/DynamoDB/AwsDynamoDB.node.js",
426
426
  "dist/nodes/Aws/ELB/AwsElb.node.js",
427
+ "dist/nodes/Aws/IAM/AwsIam.node.js",
427
428
  "dist/nodes/Aws/Rekognition/AwsRekognition.node.js",
428
429
  "dist/nodes/Aws/S3/AwsS3.node.js",
429
430
  "dist/nodes/Aws/SES/AwsSes.node.js",
@@ -495,12 +496,13 @@
495
496
  "dist/nodes/Emelia/EmeliaTrigger.node.js",
496
497
  "dist/nodes/ERPNext/ERPNext.node.js",
497
498
  "dist/nodes/ErrorTrigger/ErrorTrigger.node.js",
499
+ "dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js",
500
+ "dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js",
498
501
  "dist/nodes/Eventbrite/EventbriteTrigger.node.js",
499
502
  "dist/nodes/ExecuteCommand/ExecuteCommand.node.js",
500
503
  "dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js",
501
504
  "dist/nodes/ExecuteWorkflow/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js",
502
505
  "dist/nodes/ExecutionData/ExecutionData.node.js",
503
- "dist/nodes/EvaluationMetrics/EvaluationMetrics.node.js",
504
506
  "dist/nodes/Facebook/FacebookGraphApi.node.js",
505
507
  "dist/nodes/Facebook/FacebookTrigger.node.js",
506
508
  "dist/nodes/FacebookLeadAds/FacebookLeadAdsTrigger.node.js",
@@ -640,9 +642,11 @@
640
642
  "dist/nodes/Microsoft/OneDrive/MicrosoftOneDriveTrigger.node.js",
641
643
  "dist/nodes/Microsoft/Outlook/MicrosoftOutlook.node.js",
642
644
  "dist/nodes/Microsoft/Outlook/MicrosoftOutlookTrigger.node.js",
645
+ "dist/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.js",
643
646
  "dist/nodes/Microsoft/Sql/MicrosoftSql.node.js",
644
647
  "dist/nodes/Microsoft/Storage/AzureStorage.node.js",
645
648
  "dist/nodes/Microsoft/Teams/MicrosoftTeams.node.js",
649
+ "dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js",
646
650
  "dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js",
647
651
  "dist/nodes/Mindee/Mindee.node.js",
648
652
  "dist/nodes/Misp/Misp.node.js",
@@ -850,21 +854,20 @@
850
854
  "@types/rfc2047": "^2.0.1",
851
855
  "@types/sanitize-html": "^2.11.0",
852
856
  "@types/showdown": "^1.9.4",
853
- "@types/snowflake-sdk": "^1.6.24",
854
857
  "@types/ssh2-sftp-client": "^5.1.0",
855
858
  "@types/uuid": "^10.0.0",
856
859
  "@types/xml2js": "^0.4.14",
857
860
  "eslint-plugin-n8n-nodes-base": "^1.16.3",
858
861
  "@n8n/typescript-config": "1.2.0",
859
- "n8n-core": "1.92.0"
862
+ "n8n-core": "1.94.0"
860
863
  },
861
864
  "dependencies": {
862
- "@aws-sdk/client-sso-oidc": "3.666.0",
865
+ "@aws-sdk/client-sso-oidc": "3.808.0",
863
866
  "@kafkajs/confluent-schema-registry": "3.8.0",
864
867
  "@mozilla/readability": "0.6.0",
865
868
  "@n8n/vm2": "3.9.25",
866
869
  "alasql": "4.4.0",
867
- "amqplib": "0.10.3",
870
+ "amqplib": "0.10.6",
868
871
  "aws4": "1.11.0",
869
872
  "basic-auth": "2.0.1",
870
873
  "change-case": "4.1.2",
@@ -917,7 +920,7 @@
917
920
  "semver": "7.5.4",
918
921
  "showdown": "2.1.0",
919
922
  "simple-git": "3.17.0",
920
- "snowflake-sdk": "1.12.0",
923
+ "snowflake-sdk": "2.1.0",
921
924
  "ssh2-sftp-client": "7.2.3",
922
925
  "tmp-promise": "3.0.3",
923
926
  "ts-ics": "1.2.2",
@@ -925,10 +928,10 @@
925
928
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
926
929
  "xml2js": "0.6.2",
927
930
  "xmlhttprequest-ssl": "3.1.0",
928
- "@n8n/config": "1.39.0",
929
931
  "@n8n/di": "0.5.0",
930
- "n8n-workflow": "1.91.0",
931
- "@n8n/imap": "0.9.0"
932
+ "@n8n/imap": "0.9.0",
933
+ "@n8n/config": "1.40.0",
934
+ "n8n-workflow": "1.93.0"
932
935
  },
933
936
  "license": "SEE LICENSE IN LICENSE.md",
934
937
  "homepage": "https://n8n.io",
@@ -1,119 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var EvaluationMetrics_node_exports = {};
20
- __export(EvaluationMetrics_node_exports, {
21
- EvaluationMetrics: () => EvaluationMetrics
22
- });
23
- module.exports = __toCommonJS(EvaluationMetrics_node_exports);
24
- var import_n8n_workflow = require("n8n-workflow");
25
- var import_utils = require("../Set/v2/helpers/utils");
26
- class EvaluationMetrics {
27
- constructor() {
28
- this.description = {
29
- displayName: "Evaluation Metrics",
30
- name: "evaluationMetrics",
31
- icon: "fa:check-double",
32
- group: ["input"],
33
- iconColor: "light-green",
34
- version: 1,
35
- description: "Define the metrics returned for workflow evaluation",
36
- defaults: {
37
- name: "Evaluation Metrics",
38
- color: "#29A568"
39
- },
40
- inputs: [import_n8n_workflow.NodeConnectionTypes.Main],
41
- outputs: [import_n8n_workflow.NodeConnectionTypes.Main],
42
- properties: [
43
- {
44
- displayName: "Define the evaluation metrics returned in your report. Only numeric values are supported. <a href='https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.evaluationmetric/' target='_blank'>More Info</a>",
45
- name: "notice",
46
- type: "notice",
47
- default: ""
48
- },
49
- {
50
- displayName: "Metrics to Return",
51
- name: "metrics",
52
- type: "assignmentCollection",
53
- default: {
54
- assignments: [
55
- {
56
- name: "",
57
- value: "",
58
- type: "number"
59
- }
60
- ]
61
- },
62
- typeOptions: {
63
- assignment: {
64
- disableType: true,
65
- defaultType: "number"
66
- }
67
- }
68
- }
69
- ]
70
- };
71
- }
72
- async execute() {
73
- const items = this.getInputData();
74
- const metrics = [];
75
- for (let i = 0; i < items.length; i++) {
76
- const dataToSave = this.getNodeParameter("metrics", i, {});
77
- const newItem = {
78
- json: {},
79
- pairedItem: { item: i }
80
- };
81
- const newData = Object.fromEntries(
82
- (dataToSave?.assignments ?? []).map((assignment) => {
83
- const assignmentValue = typeof assignment.value === "number" ? assignment.value : Number(assignment.value);
84
- if (isNaN(assignmentValue)) {
85
- throw new import_n8n_workflow.NodeOperationError(
86
- this.getNode(),
87
- `Invalid numeric value: "${assignment.value}". Please provide a valid number.`
88
- );
89
- }
90
- const { name, value } = (0, import_utils.validateEntry)(
91
- assignment.name,
92
- assignment.type,
93
- assignmentValue,
94
- this.getNode(),
95
- i,
96
- false,
97
- 1
98
- );
99
- return [name, value];
100
- })
101
- );
102
- const returnItem = import_utils.composeReturnItem.call(
103
- this,
104
- i,
105
- newItem,
106
- newData,
107
- { dotNotation: false, include: "none" },
108
- 1
109
- );
110
- metrics.push(returnItem);
111
- }
112
- return [metrics];
113
- }
114
- }
115
- // Annotate the CommonJS export names for ESM import in node:
116
- 0 && (module.exports = {
117
- EvaluationMetrics
118
- });
119
- //# sourceMappingURL=EvaluationMetrics.node.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../nodes/EvaluationMetrics/EvaluationMetrics.node.ts"],"sourcesContent":["import type {\n\tAssignmentCollectionValue,\n\tFieldType,\n\tIExecuteFunctions,\n\tINodeExecutionData,\n\tINodeType,\n\tINodeTypeDescription,\n} from 'n8n-workflow';\nimport { NodeConnectionTypes, NodeOperationError } from 'n8n-workflow';\n\nimport { composeReturnItem, validateEntry } from '../Set/v2/helpers/utils';\n\nexport class EvaluationMetrics implements INodeType {\n\tdescription: INodeTypeDescription = {\n\t\tdisplayName: 'Evaluation Metrics',\n\t\tname: 'evaluationMetrics',\n\t\ticon: 'fa:check-double',\n\t\tgroup: ['input'],\n\t\ticonColor: 'light-green',\n\t\tversion: 1,\n\t\tdescription: 'Define the metrics returned for workflow evaluation',\n\t\tdefaults: {\n\t\t\tname: 'Evaluation Metrics',\n\t\t\tcolor: '#29A568',\n\t\t},\n\t\tinputs: [NodeConnectionTypes.Main],\n\t\toutputs: [NodeConnectionTypes.Main],\n\t\tproperties: [\n\t\t\t{\n\t\t\t\tdisplayName:\n\t\t\t\t\t\"Define the evaluation metrics returned in your report. Only numeric values are supported. <a href='https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.evaluationmetric/' target='_blank'>More Info</a>\",\n\t\t\t\tname: 'notice',\n\t\t\t\ttype: 'notice',\n\t\t\t\tdefault: '',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Metrics to Return',\n\t\t\t\tname: 'metrics',\n\t\t\t\ttype: 'assignmentCollection',\n\t\t\t\tdefault: {\n\t\t\t\t\tassignments: [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tname: '',\n\t\t\t\t\t\t\tvalue: '',\n\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t},\n\t\t\t\t\t],\n\t\t\t\t},\n\t\t\t\ttypeOptions: {\n\t\t\t\t\tassignment: {\n\t\t\t\t\t\tdisableType: true,\n\t\t\t\t\t\tdefaultType: 'number',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t};\n\n\tasync execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> {\n\t\tconst items = this.getInputData();\n\t\tconst metrics: INodeExecutionData[] = [];\n\n\t\tfor (let i = 0; i < items.length; i++) {\n\t\t\tconst dataToSave = this.getNodeParameter('metrics', i, {}) as AssignmentCollectionValue;\n\n\t\t\tconst newItem: INodeExecutionData = {\n\t\t\t\tjson: {},\n\t\t\t\tpairedItem: { item: i },\n\t\t\t};\n\t\t\tconst newData = Object.fromEntries(\n\t\t\t\t(dataToSave?.assignments ?? []).map((assignment) => {\n\t\t\t\t\tconst assignmentValue =\n\t\t\t\t\t\ttypeof assignment.value === 'number' ? assignment.value : Number(assignment.value);\n\n\t\t\t\t\tif (isNaN(assignmentValue)) {\n\t\t\t\t\t\tthrow new NodeOperationError(\n\t\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\t\t`Invalid numeric value: \"${assignment.value}\". Please provide a valid number.`,\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst { name, value } = validateEntry(\n\t\t\t\t\t\tassignment.name,\n\t\t\t\t\t\tassignment.type as FieldType,\n\t\t\t\t\t\tassignmentValue,\n\t\t\t\t\t\tthis.getNode(),\n\t\t\t\t\t\ti,\n\t\t\t\t\t\tfalse,\n\t\t\t\t\t\t1,\n\t\t\t\t\t);\n\n\t\t\t\t\treturn [name, value];\n\t\t\t\t}),\n\t\t\t);\n\n\t\t\tconst returnItem = composeReturnItem.call(\n\t\t\t\tthis,\n\t\t\t\ti,\n\t\t\t\tnewItem,\n\t\t\t\tnewData,\n\t\t\t\t{ dotNotation: false, include: 'none' },\n\t\t\t\t1,\n\t\t\t);\n\t\t\tmetrics.push(returnItem);\n\t\t}\n\n\t\treturn [metrics];\n\t}\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA,0BAAwD;AAExD,mBAAiD;AAE1C,MAAM,kBAAuC;AAAA,EAA7C;AACN,uBAAoC;AAAA,MACnC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,OAAO,CAAC,OAAO;AAAA,MACf,WAAW;AAAA,MACX,SAAS;AAAA,MACT,aAAa;AAAA,MACb,UAAU;AAAA,QACT,MAAM;AAAA,QACN,OAAO;AAAA,MACR;AAAA,MACA,QAAQ,CAAC,wCAAoB,IAAI;AAAA,MACjC,SAAS,CAAC,wCAAoB,IAAI;AAAA,MAClC,YAAY;AAAA,QACX;AAAA,UACC,aACC;AAAA,UACD,MAAM;AAAA,UACN,M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,OAAO;AAAA,QACtC;AAAA,MACD;AACA,cAAQ,KAAK,UAAU;AAAA,IACxB;AAEA,WAAO,CAAC,OAAO;AAAA,EAChB;AACD;","names":[]}
@@ -1,14 +0,0 @@
1
- {
2
- "node": "n8n-nodes-base.evaluationMetrics",
3
- "nodeVersion": "1.0",
4
- "codexVersion": "1.0",
5
- "categories": ["Evaluation", "Core Nodes"],
6
- "resources": {
7
- "primaryDocumentation": [
8
- {
9
- "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.evaluationmetrics/"
10
- }
11
- ]
12
- },
13
- "alias": ["Metric"]
14
- }