n8n-nodes-base 1.91.1 → 1.93.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 (330) hide show
  1. package/dist/credentials/Aws.credentials.js +0 -2
  2. package/dist/credentials/Aws.credentials.js.map +1 -1
  3. package/dist/credentials/JinaAiApi.credentials.js +61 -0
  4. package/dist/credentials/JinaAiApi.credentials.js.map +1 -0
  5. package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js +1 -1
  6. package/dist/credentials/MicrosoftAzureCosmosDbSharedKeyApi.credentials.js.map +1 -1
  7. package/dist/credentials/MicrosoftSharePointOAuth2Api.credentials.js +0 -9
  8. package/dist/credentials/MicrosoftSharePointOAuth2Api.credentials.js.map +1 -1
  9. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js +13 -0
  10. package/dist/credentials/MicrosoftTeamsOAuth2Api.credentials.js.map +1 -1
  11. package/dist/credentials/Snowflake.credentials.js +46 -2
  12. package/dist/credentials/Snowflake.credentials.js.map +1 -1
  13. package/dist/known/credentials.json +18 -1
  14. package/dist/known/nodes.json +28 -0
  15. package/dist/methods/defined.json +6 -0
  16. package/dist/methods/referenced.json +3 -0
  17. package/dist/nodes/Affinity/__schema__/v1.0.0/listEntry/getAll.json +1 -4
  18. package/dist/nodes/Airtop/__schema__/v1.0.0/extraction/query.json +47 -0
  19. package/dist/nodes/Aws/Cognito/AwsCognito.node.js +102 -0
  20. package/dist/nodes/Aws/Cognito/AwsCognito.node.js.map +1 -0
  21. package/dist/nodes/Aws/Cognito/AwsCognito.node.json +18 -0
  22. package/dist/nodes/Aws/Cognito/cognito.svg +1 -0
  23. package/dist/nodes/Aws/Cognito/descriptions/common.description.js +160 -0
  24. package/dist/nodes/Aws/Cognito/descriptions/common.description.js.map +1 -0
  25. package/dist/nodes/Aws/Cognito/descriptions/group/Group.resource.js +189 -0
  26. package/dist/nodes/Aws/Cognito/descriptions/group/Group.resource.js.map +1 -0
  27. package/dist/nodes/Aws/Cognito/descriptions/group/create.operation.js +126 -0
  28. package/dist/nodes/Aws/Cognito/descriptions/group/create.operation.js.map +1 -0
  29. package/dist/nodes/Aws/Cognito/descriptions/group/delete.operation.js +47 -0
  30. package/dist/nodes/Aws/Cognito/descriptions/group/delete.operation.js.map +1 -0
  31. package/dist/nodes/Aws/Cognito/descriptions/group/get.operation.js +54 -0
  32. package/dist/nodes/Aws/Cognito/descriptions/group/get.operation.js.map +1 -0
  33. package/dist/nodes/Aws/Cognito/descriptions/group/getAll.operation.js +95 -0
  34. package/dist/nodes/Aws/Cognito/descriptions/group/getAll.operation.js.map +1 -0
  35. package/dist/nodes/Aws/Cognito/descriptions/group/update.operation.js +120 -0
  36. package/dist/nodes/Aws/Cognito/descriptions/group/update.operation.js.map +1 -0
  37. package/dist/nodes/Aws/Cognito/descriptions/index.js +45 -0
  38. package/dist/nodes/Aws/Cognito/descriptions/index.js.map +1 -0
  39. package/dist/nodes/Aws/Cognito/descriptions/user/User.resource.js +263 -0
  40. package/dist/nodes/Aws/Cognito/descriptions/user/User.resource.js.map +1 -0
  41. package/dist/nodes/Aws/Cognito/descriptions/user/addToGroup.operation.js +51 -0
  42. package/dist/nodes/Aws/Cognito/descriptions/user/addToGroup.operation.js.map +1 -0
  43. package/dist/nodes/Aws/Cognito/descriptions/user/create.operation.js +299 -0
  44. package/dist/nodes/Aws/Cognito/descriptions/user/create.operation.js.map +1 -0
  45. package/dist/nodes/Aws/Cognito/descriptions/user/delete.operation.js +47 -0
  46. package/dist/nodes/Aws/Cognito/descriptions/user/delete.operation.js.map +1 -0
  47. package/dist/nodes/Aws/Cognito/descriptions/user/get.operation.js +54 -0
  48. package/dist/nodes/Aws/Cognito/descriptions/user/get.operation.js.map +1 -0
  49. package/dist/nodes/Aws/Cognito/descriptions/user/getAll.operation.js +187 -0
  50. package/dist/nodes/Aws/Cognito/descriptions/user/getAll.operation.js.map +1 -0
  51. package/dist/nodes/Aws/Cognito/descriptions/user/removeFromGroup.operation.js +60 -0
  52. package/dist/nodes/Aws/Cognito/descriptions/user/removeFromGroup.operation.js.map +1 -0
  53. package/dist/nodes/Aws/Cognito/descriptions/user/update.operation.js +189 -0
  54. package/dist/nodes/Aws/Cognito/descriptions/user/update.operation.js.map +1 -0
  55. package/dist/nodes/Aws/Cognito/descriptions/userPool/UserPool.resource.js +81 -0
  56. package/dist/nodes/Aws/Cognito/descriptions/userPool/UserPool.resource.js.map +1 -0
  57. package/dist/nodes/Aws/Cognito/descriptions/userPool/get.operation.js +50 -0
  58. package/dist/nodes/Aws/Cognito/descriptions/userPool/get.operation.js.map +1 -0
  59. package/dist/nodes/Aws/Cognito/helpers/constants.js +91 -0
  60. package/dist/nodes/Aws/Cognito/helpers/constants.js.map +1 -0
  61. package/dist/nodes/Aws/Cognito/helpers/errorHandler.js +109 -0
  62. package/dist/nodes/Aws/Cognito/helpers/errorHandler.js.map +1 -0
  63. package/dist/nodes/Aws/Cognito/helpers/interfaces.js +17 -0
  64. package/dist/nodes/Aws/Cognito/helpers/interfaces.js.map +1 -0
  65. package/dist/nodes/Aws/Cognito/helpers/utils.js +318 -0
  66. package/dist/nodes/Aws/Cognito/helpers/utils.js.map +1 -0
  67. package/dist/nodes/Aws/Cognito/methods/index.js +39 -0
  68. package/dist/nodes/Aws/Cognito/methods/index.js.map +1 -0
  69. package/dist/nodes/Aws/Cognito/methods/listSearch.js +157 -0
  70. package/dist/nodes/Aws/Cognito/methods/listSearch.js.map +1 -0
  71. package/dist/nodes/Aws/Cognito/transport/index.js +72 -0
  72. package/dist/nodes/Aws/Cognito/transport/index.js.map +1 -0
  73. package/dist/nodes/Aws/IAM/AwsIam.node.js +95 -0
  74. package/dist/nodes/Aws/IAM/AwsIam.node.js.map +1 -0
  75. package/dist/nodes/Aws/IAM/AwsIam.node.json +18 -0
  76. package/dist/nodes/Aws/IAM/AwsIam.svg +18 -0
  77. package/dist/nodes/Aws/IAM/descriptions/common.js +188 -0
  78. package/dist/nodes/Aws/IAM/descriptions/common.js.map +1 -0
  79. package/dist/nodes/Aws/IAM/descriptions/group/Group.resource.js +175 -0
  80. package/dist/nodes/Aws/IAM/descriptions/group/Group.resource.js.map +1 -0
  81. package/dist/nodes/Aws/IAM/descriptions/group/create.operation.js +66 -0
  82. package/dist/nodes/Aws/IAM/descriptions/group/create.operation.js.map +1 -0
  83. package/dist/nodes/Aws/IAM/descriptions/group/delete.operation.js +43 -0
  84. package/dist/nodes/Aws/IAM/descriptions/group/delete.operation.js.map +1 -0
  85. package/dist/nodes/Aws/IAM/descriptions/group/get.operation.js +50 -0
  86. package/dist/nodes/Aws/IAM/descriptions/group/get.operation.js.map +1 -0
  87. package/dist/nodes/Aws/IAM/descriptions/group/getAll.operation.js +47 -0
  88. package/dist/nodes/Aws/IAM/descriptions/group/getAll.operation.js.map +1 -0
  89. package/dist/nodes/Aws/IAM/descriptions/group/update.operation.js +70 -0
  90. package/dist/nodes/Aws/IAM/descriptions/group/update.operation.js.map +1 -0
  91. package/dist/nodes/Aws/IAM/descriptions/index.js +42 -0
  92. package/dist/nodes/Aws/IAM/descriptions/index.js.map +1 -0
  93. package/dist/nodes/Aws/IAM/descriptions/user/User.resource.js +231 -0
  94. package/dist/nodes/Aws/IAM/descriptions/user/User.resource.js.map +1 -0
  95. package/dist/nodes/Aws/IAM/descriptions/user/addToGroup.operation.js +47 -0
  96. package/dist/nodes/Aws/IAM/descriptions/user/addToGroup.operation.js.map +1 -0
  97. package/dist/nodes/Aws/IAM/descriptions/user/create.operation.js +118 -0
  98. package/dist/nodes/Aws/IAM/descriptions/user/create.operation.js.map +1 -0
  99. package/dist/nodes/Aws/IAM/descriptions/user/delete.operation.js +43 -0
  100. package/dist/nodes/Aws/IAM/descriptions/user/delete.operation.js.map +1 -0
  101. package/dist/nodes/Aws/IAM/descriptions/user/get.operation.js +43 -0
  102. package/dist/nodes/Aws/IAM/descriptions/user/get.operation.js.map +1 -0
  103. package/dist/nodes/Aws/IAM/descriptions/user/getAll.operation.js +66 -0
  104. package/dist/nodes/Aws/IAM/descriptions/user/getAll.operation.js.map +1 -0
  105. package/dist/nodes/Aws/IAM/descriptions/user/removeFromGroup.operation.js +74 -0
  106. package/dist/nodes/Aws/IAM/descriptions/user/removeFromGroup.operation.js.map +1 -0
  107. package/dist/nodes/Aws/IAM/descriptions/user/update.operation.js +68 -0
  108. package/dist/nodes/Aws/IAM/descriptions/user/update.operation.js.map +1 -0
  109. package/dist/nodes/Aws/IAM/helpers/constants.js +47 -0
  110. package/dist/nodes/Aws/IAM/helpers/constants.js.map +1 -0
  111. package/dist/nodes/Aws/IAM/helpers/errorHandler.js +90 -0
  112. package/dist/nodes/Aws/IAM/helpers/errorHandler.js.map +1 -0
  113. package/dist/nodes/Aws/IAM/helpers/types.js +17 -0
  114. package/dist/nodes/Aws/IAM/helpers/types.js.map +1 -0
  115. package/dist/nodes/Aws/IAM/helpers/utils.js +279 -0
  116. package/dist/nodes/Aws/IAM/helpers/utils.js.map +1 -0
  117. package/dist/nodes/Aws/IAM/methods/index.js +39 -0
  118. package/dist/nodes/Aws/IAM/methods/index.js.map +1 -0
  119. package/dist/nodes/Aws/IAM/methods/listSearch.js +132 -0
  120. package/dist/nodes/Aws/IAM/methods/listSearch.js.map +1 -0
  121. package/dist/nodes/Aws/IAM/transport/index.js +64 -0
  122. package/dist/nodes/Aws/IAM/transport/index.js.map +1 -0
  123. package/dist/nodes/Aws/S3/__schema__/v2.0.0/file/getAll.json +1 -7
  124. package/dist/nodes/BambooHr/__schema__/v1.0.0/employee/get.json +10 -1
  125. package/dist/nodes/Cron/Cron.node.js +1 -1
  126. package/dist/nodes/Cron/Cron.node.js.map +1 -1
  127. package/dist/nodes/Dropcontact/__schema__/v1.0.0/contact/enrich.json +7 -15
  128. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +2 -2
  129. package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
  130. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +2 -2
  131. package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
  132. package/dist/nodes/EmailSend/__schema__/v2.1.0/email/send.json +7 -1
  133. package/dist/nodes/Evaluation/Evaluation/Description.node.js +146 -0
  134. package/dist/nodes/Evaluation/Evaluation/Description.node.js.map +1 -0
  135. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js +117 -0
  136. package/dist/nodes/Evaluation/Evaluation/Evaluation.node.ee.js.map +1 -0
  137. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js +187 -0
  138. package/dist/nodes/Evaluation/EvaluationTrigger/EvaluationTrigger.node.ee.js.map +1 -0
  139. package/dist/nodes/Evaluation/methods/index.js +42 -0
  140. package/dist/nodes/Evaluation/methods/index.js.map +1 -0
  141. package/dist/nodes/Evaluation/methods/loadOptions.js +40 -0
  142. package/dist/nodes/Evaluation/methods/loadOptions.js.map +1 -0
  143. package/dist/nodes/Evaluation/utils/evaluationTriggerUtils.js +119 -0
  144. package/dist/nodes/Evaluation/utils/evaluationTriggerUtils.js.map +1 -0
  145. package/dist/nodes/Evaluation/utils/evaluationUtils.js +171 -0
  146. package/dist/nodes/Evaluation/utils/evaluationUtils.js.map +1 -0
  147. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js +4 -3
  148. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflowTrigger/ExecuteWorkflowTrigger.node.js.map +1 -1
  149. package/dist/nodes/Form/common.descriptions.js +2 -2
  150. package/dist/nodes/Form/common.descriptions.js.map +1 -1
  151. package/dist/nodes/Github/__schema__/v1.1.0/file/list.json +44 -0
  152. package/dist/nodes/Gitlab/__schema__/v1.0.0/file/get.json +1 -4
  153. package/dist/nodes/Google/BusinessProfile/__schema__/v1.0.0/review/getAll.json +1 -12
  154. package/dist/nodes/Google/Calendar/__schema__/v1.3.0/event/getAll.json +4 -7
  155. package/dist/nodes/Google/Contacts/__schema__/v1.0.0/contact/getAll.json +1 -12
  156. package/dist/nodes/Google/Drive/__schema__/v3.0.0/file/download.json +9 -0
  157. package/dist/nodes/Google/Firebase/CloudFirestore/__schema__/v1.1.0/document/query.json +7 -1
  158. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/addLabels.json +1 -13
  159. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/get.json +7 -1
  160. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/message/getAll.json +29 -113
  161. package/dist/nodes/Google/Gmail/__schema__/v2.1.0/thread/get.json +1 -60
  162. package/dist/nodes/Google/Sheet/GoogleSheets.node.js +3 -2
  163. package/dist/nodes/Google/Sheet/GoogleSheets.node.js.map +1 -1
  164. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js +113 -107
  165. package/dist/nodes/Google/Sheet/GoogleSheetsTrigger.node.js.map +1 -1
  166. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js +52 -105
  167. package/dist/nodes/Google/Sheet/v2/actions/sheet/read.operation.js.map +1 -1
  168. package/dist/nodes/Google/Sheet/v2/actions/utils/readOperation.js +97 -0
  169. package/dist/nodes/Google/Sheet/v2/actions/utils/readOperation.js.map +1 -0
  170. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js +21 -18
  171. package/dist/nodes/Google/Sheet/v2/actions/versionDescription.js.map +1 -1
  172. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js +4 -0
  173. package/dist/nodes/Google/Sheet/v2/helpers/GoogleSheet.js.map +1 -1
  174. package/dist/nodes/Google/Task/__schema__/v1.0.0/task/getAll.json +1 -4
  175. package/dist/nodes/Google/YouTube/YouTube.node.js +4 -2
  176. package/dist/nodes/Google/YouTube/YouTube.node.js.map +1 -1
  177. package/dist/nodes/Google/YouTube/__schema__/v1.0.0/video/get.json +35 -1
  178. package/dist/nodes/Hubspot/__schema__/v2.1.0/company/getAll.json +4 -1
  179. package/dist/nodes/Hubspot/__schema__/v2.1.0/contact/search.json +1 -4
  180. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/getAll.json +45 -11
  181. package/dist/nodes/Hubspot/__schema__/v2.1.0/deal/search.json +2 -5
  182. package/dist/nodes/Hubspot/__schema__/v2.1.0/ticket/get.json +4 -4
  183. package/dist/nodes/Interval/Interval.node.js +1 -1
  184. package/dist/nodes/Interval/Interval.node.js.map +1 -1
  185. package/dist/nodes/ItemLists/__schema__/v3.0.0/itemList/limit.json +4 -1
  186. package/dist/nodes/JinaAI/JinaAi.node.js +486 -0
  187. package/dist/nodes/JinaAI/JinaAi.node.js.map +1 -0
  188. package/dist/nodes/JinaAI/JinaAi.node.json +18 -0
  189. package/dist/nodes/JinaAI/jinaAi.dark.svg +6 -0
  190. package/dist/nodes/JinaAI/jinaAi.svg +6 -0
  191. package/dist/nodes/Jira/__schema__/v1.0.0/issue/get.json +259 -1
  192. package/dist/nodes/Jira/__schema__/v1.0.0/issue/getAll.json +57 -37
  193. package/dist/nodes/Linear/__schema__/v1.0.0/issue/getAll.json +1 -12
  194. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js +2 -2
  195. package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js.map +1 -1
  196. package/dist/nodes/MQTT/MqttTrigger.node.js +2 -2
  197. package/dist/nodes/MQTT/MqttTrigger.node.js.map +1 -1
  198. package/dist/nodes/ManualTrigger/ManualTrigger.node.js +1 -1
  199. package/dist/nodes/ManualTrigger/ManualTrigger.node.js.map +1 -1
  200. package/dist/nodes/Microsoft/AzureCosmosDb/AzureCosmosDb.node.json +2 -2
  201. package/dist/nodes/Microsoft/Entra/MicrosoftEntra.node.js +2 -2
  202. package/dist/nodes/Microsoft/Entra/MicrosoftEntra.node.js.map +1 -1
  203. package/dist/nodes/Microsoft/Entra/__schema__/v1.0.0/user/getAll.json +1 -7
  204. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/event/getAll.json +4 -1
  205. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/folderMessage/getAll.json +8 -47
  206. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/get.json +124 -1
  207. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/getAll.json +40 -20
  208. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/message/sendAndWait.json +12 -11
  209. package/dist/nodes/Microsoft/Outlook/__schema__/v2.0.0/messageAttachment/get.json +13 -1
  210. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.js +93 -0
  211. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.js.map +1 -0
  212. package/dist/nodes/Microsoft/SharePoint/MicrosoftSharepoint.node.json +18 -0
  213. package/dist/nodes/Microsoft/SharePoint/descriptions/common.descriptions.js +190 -0
  214. package/dist/nodes/Microsoft/SharePoint/descriptions/common.descriptions.js.map +1 -0
  215. package/dist/nodes/Microsoft/SharePoint/descriptions/file/File.resource.js +108 -0
  216. package/dist/nodes/Microsoft/SharePoint/descriptions/file/File.resource.js.map +1 -0
  217. package/dist/nodes/Microsoft/SharePoint/descriptions/file/download.operation.js +62 -0
  218. package/dist/nodes/Microsoft/SharePoint/descriptions/file/download.operation.js.map +1 -0
  219. package/dist/nodes/Microsoft/SharePoint/descriptions/file/update.operation.js +129 -0
  220. package/dist/nodes/Microsoft/SharePoint/descriptions/file/update.operation.js.map +1 -0
  221. package/dist/nodes/Microsoft/SharePoint/descriptions/file/upload.operation.js +77 -0
  222. package/dist/nodes/Microsoft/SharePoint/descriptions/file/upload.operation.js.map +1 -0
  223. package/dist/nodes/Microsoft/SharePoint/descriptions/index.js +45 -0
  224. package/dist/nodes/Microsoft/SharePoint/descriptions/index.js.map +1 -0
  225. package/dist/nodes/Microsoft/SharePoint/descriptions/item/Item.resource.js +175 -0
  226. package/dist/nodes/Microsoft/SharePoint/descriptions/item/Item.resource.js.map +1 -0
  227. package/dist/nodes/Microsoft/SharePoint/descriptions/item/create.operation.js +100 -0
  228. package/dist/nodes/Microsoft/SharePoint/descriptions/item/create.operation.js.map +1 -0
  229. package/dist/nodes/Microsoft/SharePoint/descriptions/item/delete.operation.js +62 -0
  230. package/dist/nodes/Microsoft/SharePoint/descriptions/item/delete.operation.js.map +1 -0
  231. package/dist/nodes/Microsoft/SharePoint/descriptions/item/get.operation.js +83 -0
  232. package/dist/nodes/Microsoft/SharePoint/descriptions/item/get.operation.js.map +1 -0
  233. package/dist/nodes/Microsoft/SharePoint/descriptions/item/getAll.operation.js +203 -0
  234. package/dist/nodes/Microsoft/SharePoint/descriptions/item/getAll.operation.js.map +1 -0
  235. package/dist/nodes/Microsoft/SharePoint/descriptions/item/update.operation.js +100 -0
  236. package/dist/nodes/Microsoft/SharePoint/descriptions/item/update.operation.js.map +1 -0
  237. package/dist/nodes/Microsoft/SharePoint/descriptions/item/upsert.operation.js +100 -0
  238. package/dist/nodes/Microsoft/SharePoint/descriptions/item/upsert.operation.js.map +1 -0
  239. package/dist/nodes/Microsoft/SharePoint/descriptions/list/List.resource.js +99 -0
  240. package/dist/nodes/Microsoft/SharePoint/descriptions/list/List.resource.js.map +1 -0
  241. package/dist/nodes/Microsoft/SharePoint/descriptions/list/get.operation.js +65 -0
  242. package/dist/nodes/Microsoft/SharePoint/descriptions/list/get.operation.js.map +1 -0
  243. package/dist/nodes/Microsoft/SharePoint/descriptions/list/getAll.operation.js +105 -0
  244. package/dist/nodes/Microsoft/SharePoint/descriptions/list/getAll.operation.js.map +1 -0
  245. package/dist/nodes/Microsoft/SharePoint/helpers/interfaces.js +17 -0
  246. package/dist/nodes/Microsoft/SharePoint/helpers/interfaces.js.map +1 -0
  247. package/dist/nodes/Microsoft/SharePoint/helpers/utils.js +252 -0
  248. package/dist/nodes/Microsoft/SharePoint/helpers/utils.js.map +1 -0
  249. package/dist/nodes/Microsoft/SharePoint/methods/index.js +42 -0
  250. package/dist/nodes/Microsoft/SharePoint/methods/index.js.map +1 -0
  251. package/dist/nodes/Microsoft/SharePoint/methods/listSearch.js +222 -0
  252. package/dist/nodes/Microsoft/SharePoint/methods/listSearch.js.map +1 -0
  253. package/dist/nodes/Microsoft/SharePoint/methods/resourceMapping.js +104 -0
  254. package/dist/nodes/Microsoft/SharePoint/methods/resourceMapping.js.map +1 -0
  255. package/dist/nodes/Microsoft/SharePoint/test/credentials.js +54 -0
  256. package/dist/nodes/Microsoft/SharePoint/test/credentials.js.map +1 -0
  257. package/dist/nodes/Microsoft/SharePoint/transport/index.js +46 -0
  258. package/dist/nodes/Microsoft/SharePoint/transport/index.js.map +1 -0
  259. package/dist/nodes/Microsoft/Storage/__schema__/v1.0.0/blob/getAll.json +44 -0
  260. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js +387 -0
  261. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.js.map +1 -0
  262. package/dist/nodes/Microsoft/Teams/MicrosoftTeamsTrigger.node.json +18 -0
  263. package/dist/nodes/Microsoft/Teams/__schema__/v2.0.0/channel/getAll.json +1 -4
  264. package/dist/nodes/Microsoft/Teams/v2/helpers/types.js +17 -0
  265. package/dist/nodes/Microsoft/Teams/v2/helpers/types.js.map +1 -0
  266. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js +147 -0
  267. package/dist/nodes/Microsoft/Teams/v2/helpers/utils-trigger.js.map +1 -0
  268. package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
  269. package/dist/nodes/Microsoft/ToDo/__schema__/v1.0.0/task/getAll.json +21 -5
  270. package/dist/nodes/Notion/__schema__/v2.2.0/database/get.json +149 -2
  271. package/dist/nodes/Odoo/__schema__/v1.0.0/contact/getAll.json +10 -1
  272. package/dist/nodes/Odoo/__schema__/v1.0.0/custom/getAll.json +1 -4
  273. package/dist/nodes/Odoo/__schema__/v1.0.0/opportunity/getAll.json +49 -1
  274. package/dist/nodes/OpenAi/__schema__/v1.1.0/chat/complete.json +1 -29
  275. package/dist/nodes/Pipedrive/__schema__/v1.0.0/organization/search.json +20 -25
  276. package/dist/nodes/Pipedrive/__schema__/v1.0.0/person/search.json +1 -18
  277. package/dist/nodes/Plivo/__schema__/v1.0.0/call/make.json +15 -0
  278. package/dist/nodes/PostBin/BinDescription.js +1 -1
  279. package/dist/nodes/PostBin/BinDescription.js.map +1 -1
  280. package/dist/nodes/PostBin/GenericFunctions.js +5 -5
  281. package/dist/nodes/PostBin/GenericFunctions.js.map +1 -1
  282. package/dist/nodes/PostBin/PostBin.node.js +1 -1
  283. package/dist/nodes/PostBin/PostBin.node.js.map +1 -1
  284. package/dist/nodes/PostBin/RequestDescription.js +2 -2
  285. package/dist/nodes/PostBin/RequestDescription.js.map +1 -1
  286. package/dist/nodes/Postgres/PostgresTrigger.node.js +2 -2
  287. package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
  288. package/dist/nodes/QuickBooks/__schema__/v1.0.0/transaction/getReport.json +1 -4
  289. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js +2 -2
  290. package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js.map +1 -1
  291. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js +8 -3
  292. package/dist/nodes/RespondToWebhook/RespondToWebhook.node.js.map +1 -1
  293. package/dist/nodes/RespondToWebhook/utils.js +43 -0
  294. package/dist/nodes/RespondToWebhook/utils.js.map +1 -0
  295. package/dist/nodes/Salesforce/__schema__/v1.0.0/customObject/getAll.json +2 -2
  296. package/dist/nodes/Salesforce/__schema__/v1.0.0/opportunity/getAll.json +5 -2
  297. package/dist/nodes/Salesforce/__schema__/v1.0.0/task/getAll.json +4 -1
  298. package/dist/nodes/Schedule/ScheduleTrigger.node.js +1 -1
  299. package/dist/nodes/Schedule/ScheduleTrigger.node.js.map +1 -1
  300. package/dist/nodes/SeaTable/__schema__/v2.0.0/row/list.json +30 -0
  301. package/dist/nodes/ServiceNow/__schema__/v1.0.0/tableRecord/getAll.json +1 -4
  302. package/dist/nodes/Slack/__schema__/v2.3.0/channel/history.json +49 -3
  303. package/dist/nodes/Slack/__schema__/v2.3.0/message/post.json +4 -1
  304. package/dist/nodes/Snowflake/GenericFunctions.js +34 -2
  305. package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
  306. package/dist/nodes/Snowflake/Snowflake.node.js +5 -7
  307. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  308. package/dist/nodes/SseTrigger/SseTrigger.node.js +2 -2
  309. package/dist/nodes/SseTrigger/SseTrigger.node.js.map +1 -1
  310. package/dist/nodes/Ssh/__schema__/v1.0.0/command/execute.json +4 -1
  311. package/dist/nodes/Strapi/__schema__/v1.0.0/entry/get.json +32 -0
  312. package/dist/nodes/Strapi/__schema__/v1.0.0/entry/getAll.json +1 -4
  313. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/get.json +27 -1
  314. package/dist/nodes/Telegram/__schema__/v1.2.0/chat/member.json +7 -1
  315. package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendMessage.json +1 -4
  316. package/dist/nodes/Telegram/__schema__/v1.2.0/message/sendPhoto.json +4 -1
  317. package/dist/nodes/Trello/__schema__/v1.0.0/list/getAll.json +7 -1
  318. package/dist/nodes/Trello/__schema__/v1.0.0/list/getCards.json +13 -1
  319. package/dist/nodes/Wordpress/PageDescription.js +0 -17
  320. package/dist/nodes/Wordpress/PageDescription.js.map +1 -1
  321. package/dist/nodes/Wordpress/__schema__/v1.0.0/post/get.json +7 -1
  322. package/dist/nodes/Zoho/__schema__/v1.0.0/contact/getAll.json +15 -16
  323. package/dist/nodes/Zoho/__schema__/v1.0.0/lead/getAll.json +1 -122
  324. package/dist/nodes/Zoom/__schema__/v1.0.0/meeting/getAll.json +1 -4
  325. package/dist/types/credentials.json +8 -7
  326. package/dist/types/nodes.json +29 -22
  327. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js +12 -2
  328. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js.map +1 -1
  329. package/package.json +16 -9
  330. /package/dist/{credentials/icons/SharePoint.svg → nodes/Microsoft/SharePoint/microsoftSharePoint.svg} +0 -0
@@ -0,0 +1,47 @@
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 delete_operation_exports = {};
20
+ __export(delete_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(delete_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ ...import_common.groupResourceLocator,
33
+ description: "Select the group you want to delete"
34
+ }
35
+ ];
36
+ const displayOptions = {
37
+ show: {
38
+ resource: ["group"],
39
+ operation: ["delete"]
40
+ }
41
+ };
42
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ description
46
+ });
47
+ //# sourceMappingURL=delete.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/group/delete.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { groupResourceLocator, userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\t...groupResourceLocator,\n\t\tdescription: 'Select the group you want to delete',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['group'],\n\t\toperation: ['delete'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,oBAA8D;AAE9D,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,OAAO;AAAA,IAClB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,54 @@
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 get_operation_exports = {};
20
+ __export(get_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(get_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ ...import_common.groupResourceLocator,
33
+ description: "Select the group you want to retrieve"
34
+ },
35
+ {
36
+ displayName: "Include Users",
37
+ name: "includeUsers",
38
+ type: "boolean",
39
+ default: false,
40
+ description: "Whether to include a list of users in the group"
41
+ }
42
+ ];
43
+ const displayOptions = {
44
+ show: {
45
+ resource: ["group"],
46
+ operation: ["get"]
47
+ }
48
+ };
49
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
50
+ // Annotate the CommonJS export names for ESM import in node:
51
+ 0 && (module.exports = {
52
+ description
53
+ });
54
+ //# sourceMappingURL=get.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/group/get.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { groupResourceLocator, userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\t...groupResourceLocator,\n\t\tdescription: 'Select the group you want to retrieve',\n\t},\n\t{\n\t\tdisplayName: 'Include Users',\n\t\tname: 'includeUsers',\n\t\ttype: 'boolean',\n\t\tdefault: false,\n\t\tdescription: 'Whether to include a list of users in the group',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['group'],\n\t\toperation: ['get'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,oBAA8D;AAE9D,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACd;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,OAAO;AAAA,IAClB,WAAW,CAAC,KAAK;AAAA,EAClB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,95 @@
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 getAll_operation_exports = {};
20
+ __export(getAll_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(getAll_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.description");
26
+ const properties = [
27
+ {
28
+ ...import_common.userPoolResourceLocator,
29
+ description: "Select the user pool to use"
30
+ },
31
+ {
32
+ displayName: "Return All",
33
+ name: "returnAll",
34
+ default: false,
35
+ description: "Whether to return all results or only up to a given limit",
36
+ type: "boolean",
37
+ routing: {
38
+ operations: {
39
+ pagination: {
40
+ type: "generic",
41
+ properties: {
42
+ continue: "={{ !!$response.body?.NextToken }}",
43
+ request: {
44
+ body: {
45
+ NextToken: "={{ $response.body?.NextToken }}"
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ },
53
+ {
54
+ displayName: "Limit",
55
+ name: "limit",
56
+ required: true,
57
+ type: "number",
58
+ typeOptions: {
59
+ minValue: 1,
60
+ maxValue: 60
61
+ },
62
+ default: 50,
63
+ description: "Max number of results to return",
64
+ displayOptions: {
65
+ show: {
66
+ returnAll: [false]
67
+ }
68
+ },
69
+ routing: {
70
+ send: {
71
+ type: "body",
72
+ property: "Limit"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ displayName: "Include Users",
78
+ name: "includeUsers",
79
+ type: "boolean",
80
+ default: false,
81
+ description: "Whether to include a list of users in the group"
82
+ }
83
+ ];
84
+ const displayOptions = {
85
+ show: {
86
+ resource: ["group"],
87
+ operation: ["getAll"]
88
+ }
89
+ };
90
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
91
+ // Annotate the CommonJS export names for ESM import in node:
92
+ 0 && (module.exports = {
93
+ description
94
+ });
95
+ //# sourceMappingURL=getAll.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/group/getAll.operation.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\nimport { updateDisplayOptions } from 'n8n-workflow';\n\nimport { userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\tdisplayName: 'Return All',\n\t\tname: 'returnAll',\n\t\tdefault: false,\n\t\tdescription: 'Whether to return all results or only up to a given limit',\n\t\ttype: 'boolean',\n\t\trouting: {\n\t\t\toperations: {\n\t\t\t\tpagination: {\n\t\t\t\t\ttype: 'generic',\n\t\t\t\t\tproperties: {\n\t\t\t\t\t\tcontinue: '={{ !!$response.body?.NextToken }}',\n\t\t\t\t\t\trequest: {\n\t\t\t\t\t\t\tbody: {\n\t\t\t\t\t\t\t\tNextToken: '={{ $response.body?.NextToken }}',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Limit',\n\t\tname: 'limit',\n\t\trequired: true,\n\t\ttype: 'number',\n\t\ttypeOptions: {\n\t\t\tminValue: 1,\n\t\t\tmaxValue: 60,\n\t\t},\n\t\tdefault: 50,\n\t\tdescription: 'Max number of results to return',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\treturnAll: [false],\n\t\t\t},\n\t\t},\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\ttype: 'body',\n\t\t\t\tproperty: 'Limit',\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Include Users',\n\t\tname: 'includeUsers',\n\t\ttype: 'boolean',\n\t\tdefault: false,\n\t\tdescription: 'Whether to include a list of users in the group',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['group'],\n\t\toperation: ['getAll'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAqC;AAErC,oBAAwC;AAExC,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,MACR,YAAY;AAAA,QACX,YAAY;AAAA,UACX,MAAM;AAAA,UACN,YAAY;AAAA,YACX,UAAU;AAAA,YACV,SAAS;AAAA,cACR,MAAM;AAAA,gBACL,WAAW;AAAA,cACZ;AAAA,YACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,UAAU;AAAA,IACV,MAAM;AAAA,IACN,aAAa;AAAA,MACZ,UAAU;AAAA,MACV,UAAU;AAAA,IACX;AAAA,IACA,SAAS;AAAA,IACT,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,WAAW,CAAC,KAAK;AAAA,MAClB;AAAA,IACD;AAAA,IACA,SAAS;AAAA,MACR,MAAM;AAAA,QACL,MAAM;AAAA,QACN,UAAU;AAAA,MACX;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,EACd;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,OAAO;AAAA,IAClB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,120 @@
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 update_operation_exports = {};
20
+ __export(update_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(update_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_utils = require("../../helpers/utils");
26
+ var import_common = require("../common.description");
27
+ const properties = [
28
+ {
29
+ ...import_common.userPoolResourceLocator,
30
+ description: "Select the user pool to use"
31
+ },
32
+ {
33
+ ...import_common.groupResourceLocator,
34
+ description: "Select the group you want to update"
35
+ },
36
+ {
37
+ displayName: "Additional Fields",
38
+ name: "additionalFields",
39
+ placeholder: "Add Option",
40
+ type: "collection",
41
+ default: {},
42
+ routing: {
43
+ send: {
44
+ preSend: [
45
+ async function(requestOptions) {
46
+ const additionalFields = this.getNodeParameter("additionalFields", {});
47
+ const arn = additionalFields.arn;
48
+ const description2 = additionalFields.description;
49
+ const precedence = additionalFields.precedence;
50
+ if (!description2 && !precedence && !arn) {
51
+ throw new import_n8n_workflow.NodeApiError(this.getNode(), {
52
+ message: "At least one field must be provided for update.",
53
+ description: "Please provide a value for Description, Precedence, or Role ARN."
54
+ });
55
+ }
56
+ return requestOptions;
57
+ }
58
+ ]
59
+ }
60
+ },
61
+ options: [
62
+ {
63
+ displayName: "Description",
64
+ name: "description",
65
+ default: "",
66
+ placeholder: "e.g. Updated group description",
67
+ description: "A new description for the group",
68
+ type: "string",
69
+ routing: {
70
+ send: {
71
+ type: "body",
72
+ property: "Description"
73
+ }
74
+ }
75
+ },
76
+ {
77
+ displayName: "Precedence",
78
+ name: "precedence",
79
+ default: "",
80
+ placeholder: "e.g. 10",
81
+ description: "The new precedence value for the group. Lower values indicate higher priority.",
82
+ type: "number",
83
+ routing: {
84
+ send: {
85
+ type: "body",
86
+ property: "Precedence"
87
+ }
88
+ },
89
+ validateType: "number"
90
+ },
91
+ {
92
+ displayName: "Role ARN",
93
+ name: "arn",
94
+ default: "",
95
+ placeholder: "e.g. arn:aws:iam::123456789012:role/GroupRole",
96
+ description: "A new role Amazon Resource Name (ARN) for the group. Used for setting claims in tokens.",
97
+ type: "string",
98
+ routing: {
99
+ send: {
100
+ type: "body",
101
+ property: "Arn",
102
+ preSend: [import_utils.validateArn]
103
+ }
104
+ }
105
+ }
106
+ ]
107
+ }
108
+ ];
109
+ const displayOptions = {
110
+ show: {
111
+ resource: ["group"],
112
+ operation: ["update"]
113
+ }
114
+ };
115
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ description
119
+ });
120
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Aws/Cognito/descriptions/group/update.operation.ts"],"sourcesContent":["import type {\n\tIDataObject,\n\tIExecuteSingleFunctions,\n\tIHttpRequestOptions,\n\tINodeProperties,\n} from 'n8n-workflow';\nimport { NodeApiError, updateDisplayOptions } from 'n8n-workflow';\n\nimport { validateArn } from '../../helpers/utils';\nimport { groupResourceLocator, userPoolResourceLocator } from '../common.description';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...userPoolResourceLocator,\n\t\tdescription: 'Select the user pool to use',\n\t},\n\t{\n\t\t...groupResourceLocator,\n\t\tdescription: 'Select the group you want to update',\n\t},\n\t{\n\t\tdisplayName: 'Additional Fields',\n\t\tname: 'additionalFields',\n\t\tplaceholder: 'Add Option',\n\t\ttype: 'collection',\n\t\tdefault: {},\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpreSend: [\n\t\t\t\t\tasync function (\n\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\trequestOptions: IHttpRequestOptions,\n\t\t\t\t\t): Promise<IHttpRequestOptions> {\n\t\t\t\t\t\tconst additionalFields = this.getNodeParameter('additionalFields', {}) as IDataObject;\n\t\t\t\t\t\tconst arn = additionalFields.arn as string | undefined;\n\t\t\t\t\t\tconst description = additionalFields.description as string | undefined;\n\t\t\t\t\t\tconst precedence = additionalFields.precedence as number | undefined;\n\t\t\t\t\t\tif (!description && !precedence && !arn) {\n\t\t\t\t\t\t\tthrow new NodeApiError(this.getNode(), {\n\t\t\t\t\t\t\t\tmessage: 'At least one field must be provided for update.',\n\t\t\t\t\t\t\t\tdescription: 'Please provide a value for Description, Precedence, or Role ARN.',\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn requestOptions;\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tdisplayName: 'Description',\n\t\t\t\tname: 'description',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. Updated group description',\n\t\t\t\tdescription: 'A new description for the group',\n\t\t\t\ttype: 'string',\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t\tproperty: 'Description',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Precedence',\n\t\t\t\tname: 'precedence',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. 10',\n\t\t\t\tdescription:\n\t\t\t\t\t'The new precedence value for the group. Lower values indicate higher priority.',\n\t\t\t\ttype: 'number',\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t\tproperty: 'Precedence',\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\tvalidateType: 'number',\n\t\t\t},\n\t\t\t{\n\t\t\t\tdisplayName: 'Role ARN',\n\t\t\t\tname: 'arn',\n\t\t\t\tdefault: '',\n\t\t\t\tplaceholder: 'e.g. arn:aws:iam::123456789012:role/GroupRole',\n\t\t\t\tdescription:\n\t\t\t\t\t'A new role Amazon Resource Name (ARN) for the group. Used for setting claims in tokens.',\n\t\t\t\ttype: 'string',\n\t\t\t\trouting: {\n\t\t\t\t\tsend: {\n\t\t\t\t\t\ttype: 'body',\n\t\t\t\t\t\tproperty: 'Arn',\n\t\t\t\t\t\tpreSend: [validateArn],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['group'],\n\t\toperation: ['update'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,0BAAmD;AAEnD,mBAA4B;AAC5B,oBAA8D;AAE9D,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,SAAS;AAAA,MACR,MAAM;AAAA,QACL,SAAS;AAAA,UACR,eAEC,gBAC+B;AAC/B,kBAAM,mBAAmB,KAAK,iBAAiB,oBAAoB,CAAC,CAAC;AACrE,kBAAM,MAAM,iBAAiB;AAC7B,kBAAMA,eAAc,iBAAiB;AACrC,kBAAM,aAAa,iBAAiB;AACpC,gBAAI,CAACA,gBAAe,CAAC,cAAc,CAAC,KAAK;AACxC,oBAAM,IAAI,iCAAa,KAAK,QAAQ,GAAG;AAAA,gBACtC,SAAS;AAAA,gBACT,aAAa;AAAA,cACd,CAAC;AAAA,YACF;AACA,mBAAO;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,IACA,SAAS;AAAA,MACR;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,QACT,aAAa;AAAA,QACb,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,UACR,MAAM;AAAA,YACL,MAAM;AAAA,YACN,UAAU;AAAA,UACX;AAAA,QACD;AAAA,MACD;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,QACT,aAAa;AAAA,QACb,aACC;AAAA,QACD,MAAM;AAAA,QACN,SAAS;AAAA,UACR,MAAM;AAAA,YACL,MAAM;AAAA,YACN,UAAU;AAAA,UACX;AAAA,QACD;AAAA,QACA,cAAc;AAAA,MACf;AAAA,MACA;AAAA,QACC,aAAa;AAAA,QACb,MAAM;AAAA,QACN,SAAS;AAAA,QACT,aAAa;AAAA,QACb,aACC;AAAA,QACD,MAAM;AAAA,QACN,SAAS;AAAA,UACR,MAAM;AAAA,YACL,MAAM;AAAA,YACN,UAAU;AAAA,YACV,SAAS,CAAC,wBAAW;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,OAAO;AAAA,IAClB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":["description"]}
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var descriptions_exports = {};
30
+ __export(descriptions_exports, {
31
+ group: () => group,
32
+ user: () => user,
33
+ userPool: () => userPool
34
+ });
35
+ module.exports = __toCommonJS(descriptions_exports);
36
+ var group = __toESM(require("./group/Group.resource"));
37
+ var user = __toESM(require("./user/User.resource"));
38
+ var userPool = __toESM(require("./userPool/UserPool.resource"));
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ group,
42
+ user,
43
+ userPool
44
+ });
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../nodes/Aws/Cognito/descriptions/index.ts"],"sourcesContent":["export * as group from './group/Group.resource';\nexport * as user from './user/User.resource';\nexport * as userPool from './userPool/UserPool.resource';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,YAAuB;AACvB,WAAsB;AACtB,eAA0B;","names":[]}
@@ -0,0 +1,263 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var User_resource_exports = {};
30
+ __export(User_resource_exports, {
31
+ description: () => description
32
+ });
33
+ module.exports = __toCommonJS(User_resource_exports);
34
+ var addToGroup = __toESM(require("./addToGroup.operation"));
35
+ var create = __toESM(require("./create.operation"));
36
+ var del = __toESM(require("./delete.operation"));
37
+ var get = __toESM(require("./get.operation"));
38
+ var getAll = __toESM(require("./getAll.operation"));
39
+ var removeFromGroup = __toESM(require("./removeFromGroup.operation"));
40
+ var update = __toESM(require("./update.operation"));
41
+ var import_errorHandler = require("../../helpers/errorHandler");
42
+ var import_utils = require("../../helpers/utils");
43
+ const description = [
44
+ {
45
+ displayName: "Operation",
46
+ name: "operation",
47
+ type: "options",
48
+ noDataExpression: true,
49
+ default: "getAll",
50
+ displayOptions: {
51
+ show: {
52
+ resource: ["user"]
53
+ }
54
+ },
55
+ options: [
56
+ {
57
+ name: "Add to Group",
58
+ value: "addToGroup",
59
+ description: "Add an existing user to a group",
60
+ action: "Add user to group",
61
+ routing: {
62
+ send: {
63
+ preSend: [import_utils.preSendUserFields]
64
+ },
65
+ request: {
66
+ method: "POST",
67
+ headers: {
68
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminAddUserToGroup"
69
+ },
70
+ ignoreHttpStatusErrors: true
71
+ },
72
+ output: {
73
+ postReceive: [
74
+ import_errorHandler.handleError,
75
+ {
76
+ type: "set",
77
+ properties: {
78
+ value: '={{ { "addedToGroup": true } }}'
79
+ }
80
+ }
81
+ ]
82
+ }
83
+ }
84
+ },
85
+ {
86
+ name: "Create",
87
+ value: "create",
88
+ description: "Create a new user",
89
+ action: "Create user",
90
+ routing: {
91
+ send: {
92
+ preSend: [import_utils.preSendUserFields]
93
+ },
94
+ request: {
95
+ method: "POST",
96
+ headers: {
97
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminCreateUser"
98
+ },
99
+ ignoreHttpStatusErrors: true
100
+ },
101
+ output: {
102
+ postReceive: [
103
+ import_errorHandler.handleError,
104
+ {
105
+ type: "rootProperty",
106
+ properties: {
107
+ property: "User"
108
+ }
109
+ }
110
+ ]
111
+ }
112
+ }
113
+ },
114
+ {
115
+ name: "Delete",
116
+ value: "delete",
117
+ description: "Delete a user",
118
+ action: "Delete user",
119
+ routing: {
120
+ send: {
121
+ preSend: [import_utils.preSendUserFields]
122
+ },
123
+ request: {
124
+ method: "POST",
125
+ headers: {
126
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminDeleteUser"
127
+ },
128
+ ignoreHttpStatusErrors: true
129
+ },
130
+ output: {
131
+ postReceive: [
132
+ import_errorHandler.handleError,
133
+ {
134
+ type: "set",
135
+ properties: {
136
+ value: '={{ { "deleted": true } }}'
137
+ }
138
+ }
139
+ ]
140
+ }
141
+ }
142
+ },
143
+ {
144
+ name: "Get",
145
+ value: "get",
146
+ description: "Retrieve information of an existing user",
147
+ action: "Get user",
148
+ routing: {
149
+ send: {
150
+ preSend: [import_utils.preSendUserFields]
151
+ },
152
+ request: {
153
+ method: "POST",
154
+ headers: {
155
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminGetUser"
156
+ },
157
+ ignoreHttpStatusErrors: true
158
+ },
159
+ output: {
160
+ postReceive: [import_errorHandler.handleError, import_utils.simplifyUser]
161
+ }
162
+ }
163
+ },
164
+ {
165
+ name: "Get Many",
166
+ value: "getAll",
167
+ description: "Retrieve a list of users",
168
+ routing: {
169
+ request: {
170
+ method: "POST",
171
+ headers: {
172
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.ListUsers"
173
+ },
174
+ ignoreHttpStatusErrors: true
175
+ },
176
+ output: {
177
+ postReceive: [
178
+ import_errorHandler.handleError,
179
+ import_utils.simplifyUser,
180
+ {
181
+ type: "rootProperty",
182
+ properties: {
183
+ property: "Users"
184
+ }
185
+ }
186
+ ]
187
+ }
188
+ },
189
+ action: "Get many users"
190
+ },
191
+ {
192
+ name: "Remove From Group",
193
+ value: "removeFromGroup",
194
+ description: "Remove a user from a group",
195
+ action: "Remove user from group",
196
+ routing: {
197
+ send: {
198
+ preSend: [import_utils.preSendUserFields]
199
+ },
200
+ request: {
201
+ method: "POST",
202
+ headers: {
203
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminRemoveUserFromGroup"
204
+ },
205
+ ignoreHttpStatusErrors: true
206
+ },
207
+ output: {
208
+ postReceive: [
209
+ import_errorHandler.handleError,
210
+ {
211
+ type: "set",
212
+ properties: {
213
+ value: '={{ { "removedFromGroup": true } }}'
214
+ }
215
+ }
216
+ ]
217
+ }
218
+ }
219
+ },
220
+ {
221
+ name: "Update",
222
+ value: "update",
223
+ description: "Update an existing user",
224
+ action: "Update user",
225
+ routing: {
226
+ send: {
227
+ preSend: [import_utils.preSendUserFields]
228
+ },
229
+ request: {
230
+ method: "POST",
231
+ headers: {
232
+ "X-Amz-Target": "AWSCognitoIdentityProviderService.AdminUpdateUserAttributes"
233
+ },
234
+ ignoreHttpStatusErrors: true
235
+ },
236
+ output: {
237
+ postReceive: [
238
+ import_errorHandler.handleError,
239
+ {
240
+ type: "set",
241
+ properties: {
242
+ value: '={{ { "updated": true } }}'
243
+ }
244
+ }
245
+ ]
246
+ }
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ ...create.description,
252
+ ...del.description,
253
+ ...get.description,
254
+ ...getAll.description,
255
+ ...update.description,
256
+ ...addToGroup.description,
257
+ ...removeFromGroup.description
258
+ ];
259
+ // Annotate the CommonJS export names for ESM import in node:
260
+ 0 && (module.exports = {
261
+ description
262
+ });
263
+ //# sourceMappingURL=User.resource.js.map