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,190 @@
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 common_descriptions_exports = {};
20
+ __export(common_descriptions_exports, {
21
+ fileRLC: () => fileRLC,
22
+ folderRLC: () => folderRLC,
23
+ itemRLC: () => itemRLC,
24
+ listRLC: () => listRLC,
25
+ siteRLC: () => siteRLC,
26
+ untilFolderSelected: () => untilFolderSelected,
27
+ untilItemSelected: () => untilItemSelected,
28
+ untilListSelected: () => untilListSelected,
29
+ untilSiteSelected: () => untilSiteSelected
30
+ });
31
+ module.exports = __toCommonJS(common_descriptions_exports);
32
+ const untilFolderSelected = { folder: [""] };
33
+ const untilItemSelected = { item: [""] };
34
+ const untilListSelected = { list: [""] };
35
+ const untilSiteSelected = { site: [""] };
36
+ const fileRLC = {
37
+ displayName: "File",
38
+ name: "file",
39
+ default: {
40
+ mode: "list",
41
+ value: ""
42
+ },
43
+ description: "Select the file to download",
44
+ modes: [
45
+ {
46
+ displayName: "From List",
47
+ name: "list",
48
+ type: "list",
49
+ typeOptions: {
50
+ searchListMethod: "getFiles",
51
+ searchable: true
52
+ }
53
+ },
54
+ {
55
+ displayName: "By ID",
56
+ name: "id",
57
+ placeholder: "e.g. mysite",
58
+ type: "string"
59
+ }
60
+ ],
61
+ placeholder: "eg. my-file.pdf",
62
+ required: true,
63
+ type: "resourceLocator"
64
+ };
65
+ const folderRLC = {
66
+ displayName: "Parent Folder",
67
+ name: "folder",
68
+ default: {
69
+ mode: "list",
70
+ value: ""
71
+ },
72
+ description: "Select the folder to update the file in",
73
+ modes: [
74
+ {
75
+ displayName: "From List",
76
+ name: "list",
77
+ type: "list",
78
+ typeOptions: {
79
+ searchListMethod: "getFolders",
80
+ searchable: true
81
+ }
82
+ },
83
+ {
84
+ displayName: "By ID",
85
+ name: "id",
86
+ placeholder: "e.g. myfolder",
87
+ type: "string"
88
+ }
89
+ ],
90
+ placeholder: "/ (Library root)",
91
+ required: true,
92
+ type: "resourceLocator"
93
+ };
94
+ const itemRLC = {
95
+ displayName: "Item",
96
+ name: "item",
97
+ default: {
98
+ mode: "list",
99
+ value: ""
100
+ },
101
+ description: "Select the item you want to delete",
102
+ modes: [
103
+ {
104
+ displayName: "From List",
105
+ name: "list",
106
+ type: "list",
107
+ typeOptions: {
108
+ searchListMethod: "getItems",
109
+ searchable: true
110
+ }
111
+ },
112
+ {
113
+ displayName: "By ID",
114
+ name: "id",
115
+ placeholder: "e.g. 1",
116
+ type: "string"
117
+ }
118
+ ],
119
+ required: true,
120
+ type: "resourceLocator"
121
+ };
122
+ const listRLC = {
123
+ displayName: "List",
124
+ name: "list",
125
+ default: {
126
+ mode: "list",
127
+ value: ""
128
+ },
129
+ description: "Select the list you want to retrieve",
130
+ modes: [
131
+ {
132
+ displayName: "From List",
133
+ name: "list",
134
+ type: "list",
135
+ typeOptions: {
136
+ searchListMethod: "getLists",
137
+ searchable: true
138
+ }
139
+ },
140
+ {
141
+ displayName: "By ID",
142
+ name: "id",
143
+ placeholder: "e.g. mylist",
144
+ type: "string"
145
+ }
146
+ ],
147
+ required: true,
148
+ type: "resourceLocator"
149
+ };
150
+ const siteRLC = {
151
+ displayName: "Site",
152
+ name: "site",
153
+ default: {
154
+ mode: "list",
155
+ value: ""
156
+ },
157
+ description: "Select the site to retrieve folders from",
158
+ modes: [
159
+ {
160
+ displayName: "From List",
161
+ name: "list",
162
+ type: "list",
163
+ typeOptions: {
164
+ searchListMethod: "getSites",
165
+ searchable: true
166
+ }
167
+ },
168
+ {
169
+ displayName: "By ID",
170
+ name: "id",
171
+ placeholder: "e.g. mysite",
172
+ type: "string"
173
+ }
174
+ ],
175
+ required: true,
176
+ type: "resourceLocator"
177
+ };
178
+ // Annotate the CommonJS export names for ESM import in node:
179
+ 0 && (module.exports = {
180
+ fileRLC,
181
+ folderRLC,
182
+ itemRLC,
183
+ listRLC,
184
+ siteRLC,
185
+ untilFolderSelected,
186
+ untilItemSelected,
187
+ untilListSelected,
188
+ untilSiteSelected
189
+ });
190
+ //# sourceMappingURL=common.descriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../nodes/Microsoft/SharePoint/descriptions/common.descriptions.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nexport const untilFolderSelected = { folder: [''] };\n\nexport const untilItemSelected = { item: [''] };\n\nexport const untilListSelected = { list: [''] };\n\nexport const untilSiteSelected = { site: [''] };\n\nexport const fileRLC: INodeProperties = {\n\tdisplayName: 'File',\n\tname: 'file',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdescription: 'Select the file to download',\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From List',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'getFiles',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\tplaceholder: 'e.g. mysite',\n\t\t\ttype: 'string',\n\t\t},\n\t],\n\tplaceholder: 'eg. my-file.pdf',\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const folderRLC: INodeProperties = {\n\tdisplayName: 'Parent Folder',\n\tname: 'folder',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdescription: 'Select the folder to update the file in',\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From List',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'getFolders',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\tplaceholder: 'e.g. myfolder',\n\t\t\ttype: 'string',\n\t\t},\n\t],\n\tplaceholder: '/ (Library root)',\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const itemRLC: INodeProperties = {\n\tdisplayName: 'Item',\n\tname: 'item',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdescription: 'Select the item you want to delete',\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From List',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'getItems',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\tplaceholder: 'e.g. 1',\n\t\t\ttype: 'string',\n\t\t},\n\t],\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const listRLC: INodeProperties = {\n\tdisplayName: 'List',\n\tname: 'list',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdescription: 'Select the list you want to retrieve',\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From List',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'getLists',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\tplaceholder: 'e.g. mylist',\n\t\t\ttype: 'string',\n\t\t},\n\t],\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n\nexport const siteRLC: INodeProperties = {\n\tdisplayName: 'Site',\n\tname: 'site',\n\tdefault: {\n\t\tmode: 'list',\n\t\tvalue: '',\n\t},\n\tdescription: 'Select the site to retrieve folders from',\n\tmodes: [\n\t\t{\n\t\t\tdisplayName: 'From List',\n\t\t\tname: 'list',\n\t\t\ttype: 'list',\n\t\t\ttypeOptions: {\n\t\t\t\tsearchListMethod: 'getSites',\n\t\t\t\tsearchable: true,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tdisplayName: 'By ID',\n\t\t\tname: 'id',\n\t\t\tplaceholder: 'e.g. mysite',\n\t\t\ttype: 'string',\n\t\t},\n\t],\n\trequired: true,\n\ttype: 'resourceLocator',\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,EAAE,EAAE;AAE3C,MAAM,oBAAoB,EAAE,MAAM,CAAC,EAAE,EAAE;AAEvC,MAAM,oBAAoB,EAAE,MAAM,CAAC,EAAE,EAAE;AAEvC,MAAM,oBAAoB,EAAE,MAAM,CAAC,EAAE,EAAE;AAEvC,MAAM,UAA2B;AAAA,EACvC,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,IACP;AAAA,EACD;AAAA,EACA,aAAa;AAAA,EACb,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,YAA6B;AAAA,EACzC,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,IACP;AAAA,EACD;AAAA,EACA,aAAa;AAAA,EACb,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,UAA2B;AAAA,EACvC,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,IACP;AAAA,EACD;AAAA,EACA,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,UAA2B;AAAA,EACvC,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,IACP;AAAA,EACD;AAAA,EACA,UAAU;AAAA,EACV,MAAM;AACP;AAEO,MAAM,UAA2B;AAAA,EACvC,aAAa;AAAA,EACb,MAAM;AAAA,EACN,SAAS;AAAA,IACR,MAAM;AAAA,IACN,OAAO;AAAA,EACR;AAAA,EACA,aAAa;AAAA,EACb,OAAO;AAAA,IACN;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,MAAM;AAAA,MACN,aAAa;AAAA,QACZ,kBAAkB;AAAA,QAClB,YAAY;AAAA,MACb;AAAA,IACD;AAAA,IACA;AAAA,MACC,aAAa;AAAA,MACb,MAAM;AAAA,MACN,aAAa;AAAA,MACb,MAAM;AAAA,IACP;AAAA,EACD;AAAA,EACA,UAAU;AAAA,EACV,MAAM;AACP;","names":[]}
@@ -0,0 +1,108 @@
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 File_resource_exports = {};
30
+ __export(File_resource_exports, {
31
+ description: () => description
32
+ });
33
+ module.exports = __toCommonJS(File_resource_exports);
34
+ var download = __toESM(require("./download.operation"));
35
+ var update = __toESM(require("./update.operation"));
36
+ var upload = __toESM(require("./upload.operation"));
37
+ var import_utils = require("../../helpers/utils");
38
+ const description = [
39
+ {
40
+ displayName: "Operation",
41
+ name: "operation",
42
+ type: "options",
43
+ noDataExpression: true,
44
+ displayOptions: {
45
+ show: {
46
+ resource: ["file"]
47
+ }
48
+ },
49
+ options: [
50
+ {
51
+ name: "Download",
52
+ value: "download",
53
+ description: "Download a file",
54
+ routing: {
55
+ request: {
56
+ method: "GET",
57
+ url: '=/sites/{{ $parameter["site"] }}/drive/items/{{ $parameter["file"] }}/content',
58
+ json: false,
59
+ encoding: "arraybuffer"
60
+ },
61
+ output: {
62
+ postReceive: [import_utils.handleErrorPostReceive, import_utils.downloadFilePostReceive]
63
+ }
64
+ },
65
+ action: "Download file"
66
+ },
67
+ {
68
+ name: "Update",
69
+ value: "update",
70
+ description: "Update a file",
71
+ routing: {
72
+ request: {
73
+ method: "PATCH",
74
+ url: '=/sites/{{ $parameter["site"] }}/drive/items/{{ $parameter["file"] }}'
75
+ },
76
+ output: {
77
+ postReceive: [import_utils.handleErrorPostReceive]
78
+ }
79
+ },
80
+ action: "Update file"
81
+ },
82
+ {
83
+ name: "Upload",
84
+ value: "upload",
85
+ description: "Upload an existing file",
86
+ routing: {
87
+ request: {
88
+ method: "PUT",
89
+ url: '=/sites/{{ $parameter["site"] }}/drive/items/{{ $parameter["folder"] }}:/{{ $parameter["fileName"] }}:/content'
90
+ },
91
+ output: {
92
+ postReceive: [import_utils.handleErrorPostReceive]
93
+ }
94
+ },
95
+ action: "Upload file"
96
+ }
97
+ ],
98
+ default: "download"
99
+ },
100
+ ...download.description,
101
+ ...update.description,
102
+ ...upload.description
103
+ ];
104
+ // Annotate the CommonJS export names for ESM import in node:
105
+ 0 && (module.exports = {
106
+ description
107
+ });
108
+ //# sourceMappingURL=File.resource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Microsoft/SharePoint/descriptions/file/File.resource.ts"],"sourcesContent":["import type { INodeProperties } from 'n8n-workflow';\n\nimport * as download from './download.operation';\nimport * as update from './update.operation';\nimport * as upload from './upload.operation';\nimport { downloadFilePostReceive, handleErrorPostReceive } from '../../helpers/utils';\n\nexport const description: INodeProperties[] = [\n\t{\n\t\tdisplayName: 'Operation',\n\t\tname: 'operation',\n\t\ttype: 'options',\n\t\tnoDataExpression: true,\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tresource: ['file'],\n\t\t\t},\n\t\t},\n\t\toptions: [\n\t\t\t{\n\t\t\t\tname: 'Download',\n\t\t\t\tvalue: 'download',\n\t\t\t\tdescription: 'Download a file',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'GET',\n\t\t\t\t\t\turl: '=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"file\"] }}/content',\n\t\t\t\t\t\tjson: false,\n\t\t\t\t\t\tencoding: 'arraybuffer',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [handleErrorPostReceive, downloadFilePostReceive],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Download file',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Update',\n\t\t\t\tvalue: 'update',\n\t\t\t\tdescription: 'Update a file',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'PATCH',\n\t\t\t\t\t\turl: '=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"file\"] }}',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [handleErrorPostReceive],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Update file',\n\t\t\t},\n\t\t\t{\n\t\t\t\tname: 'Upload',\n\t\t\t\tvalue: 'upload',\n\t\t\t\tdescription: 'Upload an existing file',\n\t\t\t\trouting: {\n\t\t\t\t\trequest: {\n\t\t\t\t\t\tmethod: 'PUT',\n\t\t\t\t\t\turl: '=/sites/{{ $parameter[\"site\"] }}/drive/items/{{ $parameter[\"folder\"] }}:/{{ $parameter[\"fileName\"] }}:/content',\n\t\t\t\t\t},\n\t\t\t\t\toutput: {\n\t\t\t\t\t\tpostReceive: [handleErrorPostReceive],\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\taction: 'Upload file',\n\t\t\t},\n\t\t],\n\t\tdefault: 'download',\n\t},\n\n\t...download.description,\n\t...update.description,\n\t...upload.description,\n];\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,eAA0B;AAC1B,aAAwB;AACxB,aAAwB;AACxB,mBAAgE;AAEzD,MAAM,cAAiC;AAAA,EAC7C;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,MAAM;AAAA,IACN,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,UAAU,CAAC,MAAM;AAAA,MAClB;AAAA,IACD;AAAA,IACA,SAAS;AAAA,MACR;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,YACL,MAAM;AAAA,YACN,UAAU;AAAA,UACX;AAAA,UACA,QAAQ;AAAA,YACP,aAAa,CAAC,qCAAwB,oCAAuB;AAAA,UAC9D;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa,CAAC,mCAAsB;AAAA,UACrC;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,OAAO;AAAA,QACP,aAAa;AAAA,QACb,SAAS;AAAA,UACR,SAAS;AAAA,YACR,QAAQ;AAAA,YACR,KAAK;AAAA,UACN;AAAA,UACA,QAAQ;AAAA,YACP,aAAa,CAAC,mCAAsB;AAAA,UACrC;AAAA,QACD;AAAA,QACA,QAAQ;AAAA,MACT;AAAA,IACD;AAAA,IACA,SAAS;AAAA,EACV;AAAA,EAEA,GAAG,SAAS;AAAA,EACZ,GAAG,OAAO;AAAA,EACV,GAAG,OAAO;AACX;","names":[]}
@@ -0,0 +1,62 @@
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 download_operation_exports = {};
20
+ __export(download_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(download_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_common = require("../common.descriptions");
26
+ const properties = [
27
+ {
28
+ ...import_common.siteRLC,
29
+ description: "Select the site to retrieve folders from"
30
+ },
31
+ {
32
+ ...import_common.folderRLC,
33
+ description: "Select the folder to download the file from",
34
+ displayOptions: {
35
+ hide: {
36
+ ...import_common.untilSiteSelected
37
+ }
38
+ }
39
+ },
40
+ {
41
+ ...import_common.fileRLC,
42
+ description: "Select the file to download",
43
+ displayOptions: {
44
+ hide: {
45
+ ...import_common.untilSiteSelected,
46
+ ...import_common.untilFolderSelected
47
+ }
48
+ }
49
+ }
50
+ ];
51
+ const displayOptions = {
52
+ show: {
53
+ resource: ["file"],
54
+ operation: ["download"]
55
+ }
56
+ };
57
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
58
+ // Annotate the CommonJS export names for ESM import in node:
59
+ 0 && (module.exports = {
60
+ description
61
+ });
62
+ //# sourceMappingURL=download.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Microsoft/SharePoint/descriptions/file/download.operation.ts"],"sourcesContent":["import { updateDisplayOptions, type INodeProperties } from 'n8n-workflow';\n\nimport {\n\tfileRLC,\n\tfolderRLC,\n\tsiteRLC,\n\tuntilFolderSelected,\n\tuntilSiteSelected,\n} from '../common.descriptions';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...siteRLC,\n\t\tdescription: 'Select the site to retrieve folders from',\n\t},\n\t{\n\t\t...folderRLC,\n\t\tdescription: 'Select the folder to download the file from',\n\t\tdisplayOptions: {\n\t\t\thide: {\n\t\t\t\t...untilSiteSelected,\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\t...fileRLC,\n\t\tdescription: 'Select the file to download',\n\t\tdisplayOptions: {\n\t\t\thide: {\n\t\t\t\t...untilSiteSelected,\n\t\t\t\t...untilFolderSelected,\n\t\t\t},\n\t\t},\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['file'],\n\t\toperation: ['download'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA2D;AAE3D,oBAMO;AAEP,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,GAAG;AAAA,MACJ;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD;AAAA,EACD;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,UAAU;AAAA,EACvB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,129 @@
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_transport = require("../../transport");
26
+ var import_common = require("../common.descriptions");
27
+ const properties = [
28
+ {
29
+ ...import_common.siteRLC,
30
+ description: "Select the site to retrieve folders from"
31
+ },
32
+ {
33
+ ...import_common.folderRLC,
34
+ description: "Select the folder to update the file in",
35
+ displayOptions: {
36
+ hide: {
37
+ ...import_common.untilSiteSelected
38
+ }
39
+ }
40
+ },
41
+ {
42
+ ...import_common.fileRLC,
43
+ description: "Select the file to update",
44
+ displayOptions: {
45
+ hide: {
46
+ ...import_common.untilSiteSelected,
47
+ ...import_common.untilFolderSelected
48
+ }
49
+ }
50
+ },
51
+ {
52
+ displayName: "Updated File Name",
53
+ name: "fileName",
54
+ default: "",
55
+ description: "If not specified, the original file name will be used",
56
+ placeholder: "e.g. My New File",
57
+ routing: {
58
+ send: {
59
+ property: "name",
60
+ type: "body",
61
+ value: "={{ $value }}"
62
+ }
63
+ },
64
+ type: "string"
65
+ },
66
+ {
67
+ displayName: "Change File Content",
68
+ name: "changeFileContent",
69
+ default: false,
70
+ description: "Whether to update the file contents",
71
+ placeholder: "e.g. My New File",
72
+ required: true,
73
+ type: "boolean"
74
+ },
75
+ {
76
+ displayName: "Updated File Contents",
77
+ name: "fileContents",
78
+ default: "",
79
+ description: "Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab",
80
+ displayOptions: {
81
+ show: {
82
+ changeFileContent: [true]
83
+ }
84
+ },
85
+ hint: "The name of the input field containing the binary file data to update the file",
86
+ placeholder: "data",
87
+ required: true,
88
+ routing: {
89
+ output: {
90
+ postReceive: [
91
+ async function(items, _response) {
92
+ for (const item of items) {
93
+ const site = this.getNodeParameter("site", void 0, {
94
+ extractValue: true
95
+ });
96
+ const file = this.getNodeParameter("file", void 0, {
97
+ extractValue: true
98
+ });
99
+ const binaryProperty = this.getNodeParameter("fileContents");
100
+ this.helpers.assertBinaryData(binaryProperty);
101
+ const binaryDataBuffer = await this.helpers.getBinaryDataBuffer(binaryProperty);
102
+ const response = await import_transport.microsoftSharePointApiRequest.call(
103
+ this,
104
+ "PUT",
105
+ `/sites/${site}/drive/items/${file}/content`,
106
+ binaryDataBuffer
107
+ );
108
+ item.json = response;
109
+ }
110
+ return items;
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ type: "string"
116
+ }
117
+ ];
118
+ const displayOptions = {
119
+ show: {
120
+ resource: ["file"],
121
+ operation: ["update"]
122
+ }
123
+ };
124
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
125
+ // Annotate the CommonJS export names for ESM import in node:
126
+ 0 && (module.exports = {
127
+ description
128
+ });
129
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Microsoft/SharePoint/descriptions/file/update.operation.ts"],"sourcesContent":["import {\n\tupdateDisplayOptions,\n\ttype IExecuteSingleFunctions,\n\ttype IN8nHttpFullResponse,\n\ttype INodeExecutionData,\n\ttype INodeProperties,\n} from 'n8n-workflow';\n\nimport { microsoftSharePointApiRequest } from '../../transport';\nimport {\n\tfileRLC,\n\tfolderRLC,\n\tsiteRLC,\n\tuntilFolderSelected,\n\tuntilSiteSelected,\n} from '../common.descriptions';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...siteRLC,\n\t\tdescription: 'Select the site to retrieve folders from',\n\t},\n\t{\n\t\t...folderRLC,\n\t\tdescription: 'Select the folder to update the file in',\n\t\tdisplayOptions: {\n\t\t\thide: {\n\t\t\t\t...untilSiteSelected,\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\t...fileRLC,\n\t\tdescription: 'Select the file to update',\n\t\tdisplayOptions: {\n\t\t\thide: {\n\t\t\t\t...untilSiteSelected,\n\t\t\t\t...untilFolderSelected,\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'Updated File Name',\n\t\tname: 'fileName',\n\t\tdefault: '',\n\t\tdescription: 'If not specified, the original file name will be used',\n\t\tplaceholder: 'e.g. My New File',\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tproperty: 'name',\n\t\t\t\ttype: 'body',\n\t\t\t\tvalue: '={{ $value }}',\n\t\t\t},\n\t\t},\n\t\ttype: 'string',\n\t},\n\t{\n\t\tdisplayName: 'Change File Content',\n\t\tname: 'changeFileContent',\n\t\tdefault: false,\n\t\tdescription: 'Whether to update the file contents',\n\t\tplaceholder: 'e.g. My New File',\n\t\trequired: true,\n\t\ttype: 'boolean',\n\t},\n\t{\n\t\tdisplayName: 'Updated File Contents',\n\t\tname: 'fileContents',\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t'Find the name of input field containing the binary data to update the file in the Input panel on the left, in the Binary tab',\n\t\tdisplayOptions: {\n\t\t\tshow: {\n\t\t\t\tchangeFileContent: [true],\n\t\t\t},\n\t\t},\n\t\thint: 'The name of the input field containing the binary file data to update the file',\n\t\tplaceholder: 'data',\n\t\trequired: true,\n\t\trouting: {\n\t\t\toutput: {\n\t\t\t\tpostReceive: [\n\t\t\t\t\tasync function (\n\t\t\t\t\t\tthis: IExecuteSingleFunctions,\n\t\t\t\t\t\titems: INodeExecutionData[],\n\t\t\t\t\t\t_response: IN8nHttpFullResponse,\n\t\t\t\t\t): Promise<INodeExecutionData[]> {\n\t\t\t\t\t\tfor (const item of items) {\n\t\t\t\t\t\t\tconst site = this.getNodeParameter('site', undefined, {\n\t\t\t\t\t\t\t\textractValue: true,\n\t\t\t\t\t\t\t}) as string;\n\t\t\t\t\t\t\tconst file = this.getNodeParameter('file', undefined, {\n\t\t\t\t\t\t\t\textractValue: true,\n\t\t\t\t\t\t\t}) as string;\n\t\t\t\t\t\t\tconst binaryProperty = this.getNodeParameter('fileContents') as string;\n\t\t\t\t\t\t\tthis.helpers.assertBinaryData(binaryProperty);\n\t\t\t\t\t\t\tconst binaryDataBuffer = await this.helpers.getBinaryDataBuffer(binaryProperty);\n\t\t\t\t\t\t\tconst response = await microsoftSharePointApiRequest.call(\n\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t'PUT',\n\t\t\t\t\t\t\t\t`/sites/${site}/drive/items/${file}/content`,\n\t\t\t\t\t\t\t\tbinaryDataBuffer,\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\titem.json = response;\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn items;\n\t\t\t\t\t},\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\ttype: 'string',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['file'],\n\t\toperation: ['update'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAMO;AAEP,uBAA8C;AAC9C,oBAMO;AAEP,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,GAAG;AAAA,MACJ;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,GAAG;AAAA,QACH,GAAG;AAAA,MACJ;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,aAAa;AAAA,IACb,SAAS;AAAA,MACR,MAAM;AAAA,QACL,UAAU;AAAA,QACV,MAAM;AAAA,QACN,OAAO;AAAA,MACR;AAAA,IACD;AAAA,IACA,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aACC;AAAA,IACD,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,mBAAmB,CAAC,IAAI;AAAA,MACzB;AAAA,IACD;AAAA,IACA,MAAM;AAAA,IACN,aAAa;AAAA,IACb,UAAU;AAAA,IACV,SAAS;AAAA,MACR,QAAQ;AAAA,QACP,aAAa;AAAA,UACZ,eAEC,OACA,WACgC;AAChC,uBAAW,QAAQ,OAAO;AACzB,oBAAM,OAAO,KAAK,iBAAiB,QAAQ,QAAW;AAAA,gBACrD,cAAc;AAAA,cACf,CAAC;AACD,oBAAM,OAAO,KAAK,iBAAiB,QAAQ,QAAW;AAAA,gBACrD,cAAc;AAAA,cACf,CAAC;AACD,oBAAM,iBAAiB,KAAK,iBAAiB,cAAc;AAC3D,mBAAK,QAAQ,iBAAiB,cAAc;AAC5C,oBAAM,mBAAmB,MAAM,KAAK,QAAQ,oBAAoB,cAAc;AAC9E,oBAAM,WAAW,MAAM,+CAA8B;AAAA,gBACpD;AAAA,gBACA;AAAA,gBACA,UAAU,IAAI,gBAAgB,IAAI;AAAA,gBAClC;AAAA,cACD;AACA,mBAAK,OAAO;AAAA,YACb;AACA,mBAAO;AAAA,UACR;AAAA,QACD;AAAA,MACD;AAAA,IACD;AAAA,IACA,MAAM;AAAA,EACP;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -0,0 +1,77 @@
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 upload_operation_exports = {};
20
+ __export(upload_operation_exports, {
21
+ description: () => description
22
+ });
23
+ module.exports = __toCommonJS(upload_operation_exports);
24
+ var import_n8n_workflow = require("n8n-workflow");
25
+ var import_utils = require("../../helpers/utils");
26
+ var import_common = require("../common.descriptions");
27
+ const properties = [
28
+ {
29
+ ...import_common.siteRLC,
30
+ description: "Select the site to retrieve folders from"
31
+ },
32
+ {
33
+ ...import_common.folderRLC,
34
+ description: "Select the folder to upload the file to",
35
+ displayOptions: {
36
+ hide: {
37
+ ...import_common.untilSiteSelected
38
+ }
39
+ }
40
+ },
41
+ {
42
+ displayName: "File Name",
43
+ name: "fileName",
44
+ default: "",
45
+ description: "The name of the file being uploaded",
46
+ placeholder: "e.g. My New File",
47
+ required: true,
48
+ type: "string"
49
+ },
50
+ {
51
+ displayName: "File Contents",
52
+ name: "fileContents",
53
+ default: "",
54
+ description: "Find the name of input field containing the binary data to upload the file in the Input panel on the left, in the Binary tab",
55
+ hint: "The name of the input field containing the binary file data to update the file",
56
+ placeholder: "data",
57
+ required: true,
58
+ routing: {
59
+ send: {
60
+ preSend: [import_utils.uploadFilePreSend]
61
+ }
62
+ },
63
+ type: "string"
64
+ }
65
+ ];
66
+ const displayOptions = {
67
+ show: {
68
+ resource: ["file"],
69
+ operation: ["upload"]
70
+ }
71
+ };
72
+ const description = (0, import_n8n_workflow.updateDisplayOptions)(displayOptions, properties);
73
+ // Annotate the CommonJS export names for ESM import in node:
74
+ 0 && (module.exports = {
75
+ description
76
+ });
77
+ //# sourceMappingURL=upload.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../nodes/Microsoft/SharePoint/descriptions/file/upload.operation.ts"],"sourcesContent":["import { updateDisplayOptions, type INodeProperties } from 'n8n-workflow';\n\nimport { uploadFilePreSend } from '../../helpers/utils';\nimport { folderRLC, siteRLC, untilSiteSelected } from '../common.descriptions';\n\nconst properties: INodeProperties[] = [\n\t{\n\t\t...siteRLC,\n\t\tdescription: 'Select the site to retrieve folders from',\n\t},\n\t{\n\t\t...folderRLC,\n\t\tdescription: 'Select the folder to upload the file to',\n\t\tdisplayOptions: {\n\t\t\thide: {\n\t\t\t\t...untilSiteSelected,\n\t\t\t},\n\t\t},\n\t},\n\t{\n\t\tdisplayName: 'File Name',\n\t\tname: 'fileName',\n\t\tdefault: '',\n\t\tdescription: 'The name of the file being uploaded',\n\t\tplaceholder: 'e.g. My New File',\n\t\trequired: true,\n\t\ttype: 'string',\n\t},\n\t{\n\t\tdisplayName: 'File Contents',\n\t\tname: 'fileContents',\n\t\tdefault: '',\n\t\tdescription:\n\t\t\t'Find the name of input field containing the binary data to upload the file in the Input panel on the left, in the Binary tab',\n\t\thint: 'The name of the input field containing the binary file data to update the file',\n\t\tplaceholder: 'data',\n\t\trequired: true,\n\t\trouting: {\n\t\t\tsend: {\n\t\t\t\tpreSend: [uploadFilePreSend],\n\t\t\t},\n\t\t},\n\t\ttype: 'string',\n\t},\n];\n\nconst displayOptions = {\n\tshow: {\n\t\tresource: ['file'],\n\t\toperation: ['upload'],\n\t},\n};\n\nexport const description = updateDisplayOptions(displayOptions, properties);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAA2D;AAE3D,mBAAkC;AAClC,oBAAsD;AAEtD,MAAM,aAAgC;AAAA,EACrC;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,EACd;AAAA,EACA;AAAA,IACC,GAAG;AAAA,IACH,aAAa;AAAA,IACb,gBAAgB;AAAA,MACf,MAAM;AAAA,QACL,GAAG;AAAA,MACJ;AAAA,IACD;AAAA,EACD;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aAAa;AAAA,IACb,aAAa;AAAA,IACb,UAAU;AAAA,IACV,MAAM;AAAA,EACP;AAAA,EACA;AAAA,IACC,aAAa;AAAA,IACb,MAAM;AAAA,IACN,SAAS;AAAA,IACT,aACC;AAAA,IACD,MAAM;AAAA,IACN,aAAa;AAAA,IACb,UAAU;AAAA,IACV,SAAS;AAAA,MACR,MAAM;AAAA,QACL,SAAS,CAAC,8BAAiB;AAAA,MAC5B;AAAA,IACD;AAAA,IACA,MAAM;AAAA,EACP;AACD;AAEA,MAAM,iBAAiB;AAAA,EACtB,MAAM;AAAA,IACL,UAAU,CAAC,MAAM;AAAA,IACjB,WAAW,CAAC,QAAQ;AAAA,EACrB;AACD;AAEO,MAAM,kBAAc,0CAAqB,gBAAgB,UAAU;","names":[]}
@@ -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
+ file: () => file,
32
+ item: () => item,
33
+ list: () => list
34
+ });
35
+ module.exports = __toCommonJS(descriptions_exports);
36
+ var file = __toESM(require("./file/File.resource"));
37
+ var item = __toESM(require("./item/Item.resource"));
38
+ var list = __toESM(require("./list/List.resource"));
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ file,
42
+ item,
43
+ list
44
+ });
45
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../nodes/Microsoft/SharePoint/descriptions/index.ts"],"sourcesContent":["export * as file from './file/File.resource';\nexport * as item from './item/Item.resource';\nexport * as list from './list/List.resource';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,WAAsB;AACtB,WAAsB;AACtB,WAAsB;","names":[]}