n8n-nodes-base 2.32.4 → 2.33.1

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 (670) hide show
  1. package/dist/cjs/build.tsbuildinfo +1 -1
  2. package/dist/credentials/AzureStorageOAuth2Api.credentials.d.ts.map +1 -1
  3. package/dist/credentials/AzureStorageOAuth2Api.credentials.js +31 -1
  4. package/dist/credentials/AzureStorageOAuth2Api.credentials.js.map +1 -1
  5. package/dist/credentials/DatabricksOAuth2Api.credentials.js +4 -4
  6. package/dist/credentials/DatabricksOAuth2Api.credentials.js.map +1 -1
  7. package/dist/credentials/GSuiteAdminOAuth2Api.credentials.d.ts.map +1 -1
  8. package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js +31 -1
  9. package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js.map +1 -1
  10. package/dist/credentials/GmailOAuth2Api.credentials.d.ts.map +1 -1
  11. package/dist/credentials/GmailOAuth2Api.credentials.js +31 -1
  12. package/dist/credentials/GmailOAuth2Api.credentials.js.map +1 -1
  13. package/dist/credentials/GoogleAdsOAuth2Api.credentials.d.ts.map +1 -1
  14. package/dist/credentials/GoogleAdsOAuth2Api.credentials.js +31 -1
  15. package/dist/credentials/GoogleAdsOAuth2Api.credentials.js.map +1 -1
  16. package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.d.ts.map +1 -1
  17. package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.js +31 -1
  18. package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.js.map +1 -1
  19. package/dist/credentials/GoogleBooksOAuth2Api.credentials.d.ts.map +1 -1
  20. package/dist/credentials/GoogleBooksOAuth2Api.credentials.js +31 -1
  21. package/dist/credentials/GoogleBooksOAuth2Api.credentials.js.map +1 -1
  22. package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.d.ts.map +1 -1
  23. package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.js +31 -1
  24. package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.js.map +1 -1
  25. package/dist/credentials/GoogleChatOAuth2Api.credentials.d.ts.map +1 -1
  26. package/dist/credentials/GoogleChatOAuth2Api.credentials.js +31 -1
  27. package/dist/credentials/GoogleChatOAuth2Api.credentials.js.map +1 -1
  28. package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.d.ts.map +1 -1
  29. package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.js +31 -1
  30. package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.js.map +1 -1
  31. package/dist/credentials/GoogleContactsOAuth2Api.credentials.d.ts.map +1 -1
  32. package/dist/credentials/GoogleContactsOAuth2Api.credentials.js +31 -1
  33. package/dist/credentials/GoogleContactsOAuth2Api.credentials.js.map +1 -1
  34. package/dist/credentials/GoogleDocsOAuth2Api.credentials.d.ts.map +1 -1
  35. package/dist/credentials/GoogleDocsOAuth2Api.credentials.js +31 -1
  36. package/dist/credentials/GoogleDocsOAuth2Api.credentials.js.map +1 -1
  37. package/dist/credentials/GoogleDriveOAuth2Api.credentials.d.ts.map +1 -1
  38. package/dist/credentials/GoogleDriveOAuth2Api.credentials.js +31 -1
  39. package/dist/credentials/GoogleDriveOAuth2Api.credentials.js.map +1 -1
  40. package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.d.ts.map +1 -1
  41. package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.js +31 -1
  42. package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.js.map +1 -1
  43. package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.d.ts.map +1 -1
  44. package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.js +31 -1
  45. package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.js.map +1 -1
  46. package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.d.ts.map +1 -1
  47. package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.js +31 -1
  48. package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.js.map +1 -1
  49. package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.d.ts.map +1 -1
  50. package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.js +31 -1
  51. package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.js.map +1 -1
  52. package/dist/credentials/GoogleSlidesOAuth2Api.credentials.d.ts.map +1 -1
  53. package/dist/credentials/GoogleSlidesOAuth2Api.credentials.js +31 -1
  54. package/dist/credentials/GoogleSlidesOAuth2Api.credentials.js.map +1 -1
  55. package/dist/credentials/GoogleTasksOAuth2Api.credentials.d.ts.map +1 -1
  56. package/dist/credentials/GoogleTasksOAuth2Api.credentials.js +31 -1
  57. package/dist/credentials/GoogleTasksOAuth2Api.credentials.js.map +1 -1
  58. package/dist/credentials/GoogleTranslateOAuth2Api.credentials.d.ts.map +1 -1
  59. package/dist/credentials/GoogleTranslateOAuth2Api.credentials.js +31 -1
  60. package/dist/credentials/GoogleTranslateOAuth2Api.credentials.js.map +1 -1
  61. package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.d.ts.map +1 -1
  62. package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.js +34 -1
  63. package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.js.map +1 -1
  64. package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.d.ts.map +1 -1
  65. package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.js +34 -1
  66. package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.js.map +1 -1
  67. package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.d.ts.map +1 -1
  68. package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js +32 -1
  69. package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js.map +1 -1
  70. package/dist/credentials/N8nApi.credentials.js +1 -1
  71. package/dist/credentials/N8nApi.credentials.js.map +1 -1
  72. package/dist/credentials/YouTubeOAuth2Api.credentials.d.ts.map +1 -1
  73. package/dist/credentials/YouTubeOAuth2Api.credentials.js +31 -1
  74. package/dist/credentials/YouTubeOAuth2Api.credentials.js.map +1 -1
  75. package/dist/known/nodes.json +4 -0
  76. package/dist/methods/defined.json +5 -0
  77. package/dist/methods/referenced.json +5 -0
  78. package/dist/node-definitions/.nodes-hash +1 -1
  79. package/dist/node-definitions/index.ts +8 -0
  80. package/dist/node-definitions/nodes/n8n-nodes-base/amqp/v1.ts +1 -1
  81. package/dist/node-definitions/nodes/n8n-nodes-base/amqpTrigger/v1.ts +8 -8
  82. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.schema.js +1 -1
  83. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.ts +6 -1
  84. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.schema.js +1 -1
  85. package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.ts +6 -1
  86. package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/index.ts +12 -0
  87. package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.schema.js +25 -0
  88. package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.ts +73 -0
  89. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_get.ts +1 -0
  90. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_get_all.ts +1 -0
  91. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_send_and_wait.schema.js +0 -3
  92. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_send_and_wait.ts +0 -33
  93. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_thread/operation_get.ts +1 -0
  94. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_get.ts +1 -0
  95. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_get_all.ts +1 -0
  96. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_send_and_wait.schema.js +0 -3
  97. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_send_and_wait.ts +0 -33
  98. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_thread/operation_get.ts +1 -0
  99. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_get.ts +1 -0
  100. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_get_all.ts +1 -0
  101. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_send_and_wait.schema.js +0 -3
  102. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_send_and_wait.ts +0 -33
  103. package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_thread/operation_get.ts +1 -0
  104. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.ts +1 -1
  105. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.ts +1 -1
  106. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.ts +1 -1
  107. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.ts +1 -1
  108. package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v14.ts +1 -1
  109. package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
  110. package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v1.schema.js +1 -1
  111. package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v1.ts +1 -1
  112. package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v11.schema.js +1 -1
  113. package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v11.ts +1 -1
  114. package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/index.ts +3 -1
  115. package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/v45.schema.js +56 -0
  116. package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/v45.ts +425 -0
  117. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/index.ts +12 -0
  118. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/index.schema.js +24 -0
  119. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/index.ts +18 -0
  120. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/index.schema.js +34 -0
  121. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/index.ts +33 -0
  122. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_append.schema.js +31 -0
  123. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_append.ts +100 -0
  124. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_convert_to_range.schema.js +27 -0
  125. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_convert_to_range.ts +53 -0
  126. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_create.schema.js +29 -0
  127. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_create.ts +62 -0
  128. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_delete_table.schema.js +27 -0
  129. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_delete_table.ts +53 -0
  130. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_all.schema.js +28 -0
  131. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_all.ts +61 -0
  132. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_columns.schema.js +32 -0
  133. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_columns.ts +85 -0
  134. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_rows.schema.js +32 -0
  135. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_rows.ts +85 -0
  136. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_lookup.schema.js +30 -0
  137. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_lookup.ts +71 -0
  138. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/index.schema.js +24 -0
  139. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/index.ts +18 -0
  140. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_add_worksheet.schema.js +26 -0
  141. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_add_worksheet.ts +50 -0
  142. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_delete_workbook.schema.js +25 -0
  143. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_delete_workbook.ts +41 -0
  144. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_get_all.schema.js +28 -0
  145. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_get_all.ts +59 -0
  146. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/index.schema.js +32 -0
  147. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/index.ts +30 -0
  148. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_append.schema.js +30 -0
  149. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_append.ts +89 -0
  150. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_clear.schema.js +29 -0
  151. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_clear.ts +63 -0
  152. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_delete_worksheet.schema.js +26 -0
  153. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_delete_worksheet.ts +47 -0
  154. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_get_all.schema.js +28 -0
  155. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_get_all.ts +61 -0
  156. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_read_rows.schema.js +31 -0
  157. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_read_rows.ts +91 -0
  158. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_update.schema.js +34 -0
  159. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_update.ts +123 -0
  160. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_upsert.schema.js +33 -0
  161. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_upsert.ts +116 -0
  162. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
  163. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/index.ts +3 -1
  164. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/v12.schema.js +30 -0
  165. package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/v12.ts +63 -0
  166. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/index.ts +3 -1
  167. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_aggregate.schema.js +1 -0
  168. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_aggregate.ts +8 -2
  169. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_delete.schema.js +1 -0
  170. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_delete.ts +8 -1
  171. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_find.schema.js +1 -0
  172. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_find.ts +8 -1
  173. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_aggregate.schema.js +1 -0
  174. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_aggregate.ts +8 -2
  175. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_delete.schema.js +1 -0
  176. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_delete.ts +8 -1
  177. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_find.schema.js +1 -0
  178. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_find.ts +8 -1
  179. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_aggregate.schema.js +1 -0
  180. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_aggregate.ts +8 -2
  181. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_delete.schema.js +1 -0
  182. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_delete.ts +8 -1
  183. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_find.schema.js +1 -0
  184. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_find.ts +8 -1
  185. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_aggregate.schema.js +1 -0
  186. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_aggregate.ts +8 -2
  187. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_delete.schema.js +1 -0
  188. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_delete.ts +8 -1
  189. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_find.schema.js +1 -0
  190. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_find.ts +8 -1
  191. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/index.schema.js +22 -0
  192. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/index.ts +15 -0
  193. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/index.schema.js +32 -0
  194. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/index.ts +30 -0
  195. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_aggregate.schema.js +24 -0
  196. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_aggregate.ts +36 -0
  197. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_delete.schema.js +24 -0
  198. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_delete.ts +37 -0
  199. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find.schema.js +25 -0
  200. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find.ts +59 -0
  201. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_replace.schema.js +26 -0
  202. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_replace.ts +52 -0
  203. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_update.schema.js +26 -0
  204. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_update.ts +52 -0
  205. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_insert.schema.js +24 -0
  206. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_insert.ts +42 -0
  207. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_update.schema.js +26 -0
  208. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_update.ts +52 -0
  209. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/index.schema.js +26 -0
  210. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/index.ts +21 -0
  211. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_create_search_index.schema.js +25 -0
  212. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_create_search_index.ts +39 -0
  213. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_drop_search_index.schema.js +23 -0
  214. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_drop_search_index.ts +28 -0
  215. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_list_search_indexes.schema.js +23 -0
  216. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_list_search_indexes.ts +28 -0
  217. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_update_search_index.schema.js +24 -0
  218. package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_update_search_index.ts +34 -0
  219. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/index.ts +3 -1
  220. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.schema.js +36 -0
  221. package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.ts +262 -0
  222. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v1.schema.js +1 -0
  223. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v1.ts +5 -0
  224. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v11.schema.js +1 -0
  225. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v11.ts +5 -0
  226. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v12.schema.js +1 -0
  227. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v12.ts +5 -0
  228. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v13.schema.js +1 -0
  229. package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v13.ts +5 -0
  230. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v2/resource_message/operation_send_and_wait.schema.js +3 -1
  231. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v2/resource_message/operation_send_and_wait.ts +25 -13
  232. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v21/resource_message/operation_send_and_wait.schema.js +3 -1
  233. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v21/resource_message/operation_send_and_wait.ts +25 -13
  234. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v22/resource_message/operation_send_and_wait.schema.js +3 -1
  235. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v22/resource_message/operation_send_and_wait.ts +25 -13
  236. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v23/resource_message/operation_send_and_wait.schema.js +3 -1
  237. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v23/resource_message/operation_send_and_wait.ts +25 -13
  238. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v24/resource_message/operation_send_and_wait.schema.js +3 -1
  239. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v24/resource_message/operation_send_and_wait.ts +25 -13
  240. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v25/resource_message/operation_send_and_wait.schema.js +3 -1
  241. package/dist/node-definitions/nodes/n8n-nodes-base/slack/v25/resource_message/operation_send_and_wait.ts +25 -13
  242. package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/index.ts +3 -1
  243. package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/v11.schema.js +30 -0
  244. package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/v11.ts +59 -0
  245. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_and_wait.schema.js +4 -2
  246. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_and_wait.ts +23 -24
  247. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_and_wait.schema.js +4 -2
  248. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_and_wait.ts +23 -24
  249. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_and_wait.schema.js +4 -2
  250. package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_and_wait.ts +23 -24
  251. package/dist/nodes/Airtable/v2/helpers/utils.d.ts +7 -0
  252. package/dist/nodes/Airtable/v2/helpers/utils.d.ts.map +1 -1
  253. package/dist/nodes/Airtable/v2/helpers/utils.js +22 -2
  254. package/dist/nodes/Airtable/v2/helpers/utils.js.map +1 -1
  255. package/dist/nodes/Amqp/Amqp.node.js +1 -1
  256. package/dist/nodes/Amqp/AmqpTrigger.node.d.ts.map +1 -1
  257. package/dist/nodes/Amqp/AmqpTrigger.node.js +45 -26
  258. package/dist/nodes/Amqp/AmqpTrigger.node.js.map +1 -1
  259. package/dist/nodes/Amqp/helpers/handleMessage.d.ts +0 -2
  260. package/dist/nodes/Amqp/helpers/handleMessage.d.ts.map +1 -1
  261. package/dist/nodes/Amqp/helpers/handleMessage.js +0 -5
  262. package/dist/nodes/Amqp/helpers/handleMessage.js.map +1 -1
  263. package/dist/nodes/Baserow/Baserow.node.d.ts.map +1 -1
  264. package/dist/nodes/Baserow/Baserow.node.js +3 -2
  265. package/dist/nodes/Baserow/Baserow.node.js.map +1 -1
  266. package/dist/nodes/Baserow/GenericFunctions.d.ts +10 -0
  267. package/dist/nodes/Baserow/GenericFunctions.d.ts.map +1 -1
  268. package/dist/nodes/Baserow/GenericFunctions.js +98 -1
  269. package/dist/nodes/Baserow/GenericFunctions.js.map +1 -1
  270. package/dist/nodes/Baserow/OperationDescription.d.ts.map +1 -1
  271. package/dist/nodes/Baserow/OperationDescription.js +46 -28
  272. package/dist/nodes/Baserow/OperationDescription.js.map +1 -1
  273. package/dist/nodes/Baserow/types.d.ts +1 -0
  274. package/dist/nodes/Baserow/types.d.ts.map +1 -1
  275. package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.d.ts +6 -0
  276. package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.d.ts.map +1 -0
  277. package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.js +50 -0
  278. package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.js.map +1 -0
  279. package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.json +18 -0
  280. package/dist/nodes/EditImage/EditImage.node.d.ts.map +1 -1
  281. package/dist/nodes/EditImage/EditImage.node.js +45 -3
  282. package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
  283. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
  284. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +1 -0
  285. package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
  286. package/dist/nodes/Filter/V1/GenericFunctions.d.ts +1 -0
  287. package/dist/nodes/Filter/V1/GenericFunctions.d.ts.map +1 -1
  288. package/dist/nodes/Filter/V1/GenericFunctions.js +7 -28
  289. package/dist/nodes/Filter/V1/GenericFunctions.js.map +1 -1
  290. package/dist/nodes/Form/Form.node.d.ts.map +1 -1
  291. package/dist/nodes/Form/Form.node.js +3 -7
  292. package/dist/nodes/Form/Form.node.js.map +1 -1
  293. package/dist/nodes/Form/utils/formCompletionUtils.d.ts.map +1 -1
  294. package/dist/nodes/Form/utils/formCompletionUtils.js +7 -4
  295. package/dist/nodes/Form/utils/formCompletionUtils.js.map +1 -1
  296. package/dist/nodes/Form/utils/formNodeUtils.d.ts.map +1 -1
  297. package/dist/nodes/Form/utils/formNodeUtils.js +6 -4
  298. package/dist/nodes/Form/utils/formNodeUtils.js.map +1 -1
  299. package/dist/nodes/Form/utils/utils.d.ts +1 -0
  300. package/dist/nodes/Form/utils/utils.d.ts.map +1 -1
  301. package/dist/nodes/Form/utils/utils.js +5 -2
  302. package/dist/nodes/Form/utils/utils.js.map +1 -1
  303. package/dist/nodes/Git/Git.node.d.ts.map +1 -1
  304. package/dist/nodes/Git/Git.node.js +28 -4
  305. package/dist/nodes/Git/Git.node.js.map +1 -1
  306. package/dist/nodes/Google/Gmail/GmailTrigger.node.d.ts.map +1 -1
  307. package/dist/nodes/Google/Gmail/GmailTrigger.node.js +3 -1
  308. package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
  309. package/dist/nodes/Google/Gmail/utils/descriptions.d.ts +5 -0
  310. package/dist/nodes/Google/Gmail/utils/descriptions.d.ts.map +1 -0
  311. package/dist/nodes/Google/Gmail/utils/descriptions.js +12 -0
  312. package/dist/nodes/Google/Gmail/utils/descriptions.js.map +1 -0
  313. package/dist/nodes/Google/Gmail/v2/GmailV2.node.d.ts.map +1 -1
  314. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +4 -7
  315. package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
  316. package/dist/nodes/Google/Gmail/v2/MessageDescription.d.ts.map +1 -1
  317. package/dist/nodes/Google/Gmail/v2/MessageDescription.js +13 -0
  318. package/dist/nodes/Google/Gmail/v2/MessageDescription.js.map +1 -1
  319. package/dist/nodes/Google/Gmail/v2/ThreadDescription.d.ts.map +1 -1
  320. package/dist/nodes/Google/Gmail/v2/ThreadDescription.js +7 -0
  321. package/dist/nodes/Google/Gmail/v2/ThreadDescription.js.map +1 -1
  322. package/dist/nodes/Google/Sheet/v2/methods/loadOptions.d.ts.map +1 -1
  323. package/dist/nodes/Google/Sheet/v2/methods/loadOptions.js +5 -2
  324. package/dist/nodes/Google/Sheet/v2/methods/loadOptions.js.map +1 -1
  325. package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.d.ts.map +1 -1
  326. package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js +4 -1
  327. package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js.map +1 -1
  328. package/dist/nodes/GraphQL/GraphQL.node.d.ts.map +1 -1
  329. package/dist/nodes/GraphQL/GraphQL.node.js +31 -45
  330. package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
  331. package/dist/nodes/HttpRequest/HttpRequest.node.d.ts.map +1 -1
  332. package/dist/nodes/HttpRequest/HttpRequest.node.js +2 -1
  333. package/dist/nodes/HttpRequest/HttpRequest.node.js.map +1 -1
  334. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.d.ts.map +1 -1
  335. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +19 -21
  336. package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
  337. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
  338. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +8 -2
  339. package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
  340. package/dist/nodes/HttpRequest/V3/utils/error-details.d.ts +3 -0
  341. package/dist/nodes/HttpRequest/V3/utils/error-details.d.ts.map +1 -0
  342. package/dist/nodes/HttpRequest/V3/utils/error-details.js +62 -0
  343. package/dist/nodes/HttpRequest/V3/utils/error-details.js.map +1 -0
  344. package/dist/nodes/If/V1/IfV1.node.d.ts +2 -1
  345. package/dist/nodes/If/V1/IfV1.node.d.ts.map +1 -1
  346. package/dist/nodes/If/V1/IfV1.node.js +7 -28
  347. package/dist/nodes/If/V1/IfV1.node.js.map +1 -1
  348. package/dist/nodes/KoBoToolbox/GenericFunctions.d.ts.map +1 -1
  349. package/dist/nodes/KoBoToolbox/GenericFunctions.js +1 -2
  350. package/dist/nodes/KoBoToolbox/GenericFunctions.js.map +1 -1
  351. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.d.ts.map +1 -1
  352. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js +4 -1
  353. package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js.map +1 -1
  354. package/dist/nodes/MessageAnAgent/generateSchemaFromExample.d.ts +8 -0
  355. package/dist/nodes/MessageAnAgent/generateSchemaFromExample.d.ts.map +1 -0
  356. package/dist/nodes/MessageAnAgent/generateSchemaFromExample.js +40 -0
  357. package/dist/nodes/MessageAnAgent/generateSchemaFromExample.js.map +1 -0
  358. package/dist/nodes/MessageAnAgent/shared.d.ts +2 -5
  359. package/dist/nodes/MessageAnAgent/shared.d.ts.map +1 -1
  360. package/dist/nodes/MessageAnAgent/shared.js +128 -20
  361. package/dist/nodes/MessageAnAgent/shared.js.map +1 -1
  362. package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.d.ts.map +1 -1
  363. package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js +4 -1
  364. package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js.map +1 -1
  365. package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.d.ts +6 -0
  366. package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.d.ts.map +1 -1
  367. package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.js +106 -4
  368. package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.js.map +1 -1
  369. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.d.ts +31 -0
  370. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.d.ts.map +1 -0
  371. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.js +212 -0
  372. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.js.map +1 -0
  373. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.d.ts +31 -0
  374. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.d.ts.map +1 -0
  375. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.js +26 -0
  376. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.js.map +1 -0
  377. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.d.ts +31 -0
  378. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.d.ts.map +1 -0
  379. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.js +82 -0
  380. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.js.map +1 -0
  381. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.d.ts +31 -0
  382. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.d.ts.map +1 -0
  383. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.js +27 -0
  384. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.js.map +1 -0
  385. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.d.ts.map +1 -1
  386. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.js +1 -23
  387. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.js.map +1 -1
  388. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.d.ts +31 -0
  389. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.d.ts.map +1 -0
  390. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.js +43 -0
  391. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.js.map +1 -0
  392. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.d.ts +31 -0
  393. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.d.ts.map +1 -0
  394. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.js +43 -0
  395. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.js.map +1 -0
  396. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.d.ts +31 -0
  397. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.d.ts.map +1 -0
  398. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.js +76 -0
  399. package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.js.map +1 -0
  400. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.d.ts +2 -1
  401. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.d.ts.map +1 -1
  402. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.js +10 -1
  403. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.js.map +1 -1
  404. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.d.ts +31 -0
  405. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.d.ts.map +1 -0
  406. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.js +65 -0
  407. package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.js.map +1 -0
  408. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.d.ts +31 -0
  409. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.d.ts.map +1 -0
  410. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.js +206 -0
  411. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.js.map +1 -0
  412. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.d.ts +31 -0
  413. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.d.ts.map +1 -0
  414. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.js +176 -0
  415. package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.js.map +1 -0
  416. package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.d.ts +2 -0
  417. package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.d.ts.map +1 -1
  418. package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.js +92 -6
  419. package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.js.map +1 -1
  420. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.d.ts.map +1 -1
  421. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.js +40 -0
  422. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.js.map +1 -1
  423. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.d.ts +10 -0
  424. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.d.ts.map +1 -0
  425. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.js +128 -0
  426. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.js.map +1 -0
  427. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.d.ts +9 -0
  428. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.d.ts.map +1 -0
  429. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.js +26 -0
  430. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.js.map +1 -0
  431. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.d.ts +3 -1
  432. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.d.ts.map +1 -1
  433. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.js +39 -0
  434. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.js.map +1 -1
  435. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.d.ts +11 -0
  436. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.d.ts.map +1 -0
  437. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.js +16 -0
  438. package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.js.map +1 -0
  439. package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.d.ts +8 -1
  440. package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.d.ts.map +1 -1
  441. package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.js +8 -1
  442. package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.js.map +1 -1
  443. package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.d.ts +1 -0
  444. package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.d.ts.map +1 -1
  445. package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.js +27 -0
  446. package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.js.map +1 -1
  447. package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.d.ts +5 -0
  448. package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.d.ts.map +1 -0
  449. package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.js +45 -0
  450. package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.js.map +1 -0
  451. package/dist/nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.d.ts +2 -0
  452. package/dist/nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.d.ts.map +1 -1
  453. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.d.ts +31 -0
  454. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.d.ts.map +1 -0
  455. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js +105 -0
  456. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js.map +1 -0
  457. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.d.ts +3 -1
  458. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.d.ts.map +1 -1
  459. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.js +19 -1
  460. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.js.map +1 -1
  461. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.d.ts +31 -0
  462. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.d.ts.map +1 -0
  463. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js +126 -0
  464. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js.map +1 -0
  465. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.d.ts.map +1 -1
  466. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js +5 -20
  467. package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js.map +1 -1
  468. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.d.ts +31 -0
  469. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.d.ts.map +1 -0
  470. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js +50 -0
  471. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js.map +1 -0
  472. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.d.ts +31 -0
  473. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.d.ts.map +1 -0
  474. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js +52 -0
  475. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js.map +1 -0
  476. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.d.ts +31 -0
  477. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.d.ts.map +1 -0
  478. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js +67 -0
  479. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js.map +1 -0
  480. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.d.ts +31 -0
  481. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.d.ts.map +1 -0
  482. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js +119 -0
  483. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js.map +1 -0
  484. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.d.ts +10 -0
  485. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.d.ts.map +1 -0
  486. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.js +107 -0
  487. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.js.map +1 -0
  488. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.d.ts +31 -0
  489. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.d.ts.map +1 -0
  490. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js +57 -0
  491. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js.map +1 -0
  492. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.d.ts +31 -0
  493. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.d.ts.map +1 -0
  494. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js +90 -0
  495. package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js.map +1 -0
  496. package/dist/nodes/Microsoft/SharePoint/v2/actions/node.type.d.ts +2 -1
  497. package/dist/nodes/Microsoft/SharePoint/v2/actions/node.type.d.ts.map +1 -1
  498. package/dist/nodes/Microsoft/SharePoint/v2/actions/router.d.ts.map +1 -1
  499. package/dist/nodes/Microsoft/SharePoint/v2/actions/router.js +16 -1
  500. package/dist/nodes/Microsoft/SharePoint/v2/actions/router.js.map +1 -1
  501. package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.d.ts.map +1 -1
  502. package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.js +9 -0
  503. package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.js.map +1 -1
  504. package/dist/nodes/Microsoft/SharePoint/v2/file/index.d.ts +8 -0
  505. package/dist/nodes/Microsoft/SharePoint/v2/file/index.d.ts.map +1 -0
  506. package/dist/nodes/Microsoft/SharePoint/v2/file/index.js +69 -0
  507. package/dist/nodes/Microsoft/SharePoint/v2/file/index.js.map +1 -0
  508. package/dist/nodes/Microsoft/SharePoint/v2/folder/index.d.ts +8 -0
  509. package/dist/nodes/Microsoft/SharePoint/v2/folder/index.d.ts.map +1 -1
  510. package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js +20 -35
  511. package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js.map +1 -1
  512. package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.d.ts +36 -0
  513. package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.d.ts.map +1 -0
  514. package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.js +51 -0
  515. package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.js.map +1 -0
  516. package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.d.ts +40 -1
  517. package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.d.ts.map +1 -1
  518. package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.js +99 -1
  519. package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.js.map +1 -1
  520. package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts +50 -0
  521. package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts.map +1 -0
  522. package/dist/nodes/Microsoft/SharePoint/v2/item/index.js +194 -0
  523. package/dist/nodes/Microsoft/SharePoint/v2/item/index.js.map +1 -0
  524. package/dist/nodes/Microsoft/SharePoint/v2/list/columns.d.ts.map +1 -1
  525. package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js +16 -9
  526. package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js.map +1 -1
  527. package/dist/nodes/Microsoft/SharePoint/v2/list/index.d.ts.map +1 -1
  528. package/dist/nodes/Microsoft/SharePoint/v2/list/index.js +3 -0
  529. package/dist/nodes/Microsoft/SharePoint/v2/list/index.js.map +1 -1
  530. package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts +4 -0
  531. package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts.map +1 -1
  532. package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js +4 -0
  533. package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js.map +1 -1
  534. package/dist/nodes/Microsoft/SharePoint/v2/transport/index.d.ts +1 -1
  535. package/dist/nodes/Microsoft/SharePoint/v2/transport/index.d.ts.map +1 -1
  536. package/dist/nodes/Microsoft/SharePoint/v2/transport/index.js +44 -3
  537. package/dist/nodes/Microsoft/SharePoint/v2/transport/index.js.map +1 -1
  538. package/dist/nodes/Microsoft/Sql/GenericFunctions.d.ts +2 -2
  539. package/dist/nodes/Microsoft/Sql/GenericFunctions.d.ts.map +1 -1
  540. package/dist/nodes/Microsoft/Sql/GenericFunctions.js +17 -3
  541. package/dist/nodes/Microsoft/Sql/GenericFunctions.js.map +1 -1
  542. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.d.ts.map +1 -1
  543. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js +2 -2
  544. package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js.map +1 -1
  545. package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.d.ts +1 -1
  546. package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.d.ts.map +1 -1
  547. package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.js +5 -5
  548. package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.js.map +1 -1
  549. package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.d.ts.map +1 -1
  550. package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.js +13 -16
  551. package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.js.map +1 -1
  552. package/dist/nodes/Microsoft/Teams/v2/actions/channel/getAll.operation.js +2 -2
  553. package/dist/nodes/Microsoft/Teams/v2/actions/channel/getAll.operation.js.map +1 -1
  554. package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.d.ts.map +1 -1
  555. package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.js +1 -2
  556. package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.js.map +1 -1
  557. package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.d.ts.map +1 -1
  558. package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js +1 -2
  559. package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js.map +1 -1
  560. package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.d.ts.map +1 -1
  561. package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.js +4 -4
  562. package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.js.map +1 -1
  563. package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts +1 -1
  564. package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts.map +1 -1
  565. package/dist/nodes/Microsoft/Teams/v2/transport/index.js +5 -5
  566. package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
  567. package/dist/nodes/MongoDb/GenericFunctions.d.ts +3 -1
  568. package/dist/nodes/MongoDb/GenericFunctions.d.ts.map +1 -1
  569. package/dist/nodes/MongoDb/GenericFunctions.js +98 -8
  570. package/dist/nodes/MongoDb/GenericFunctions.js.map +1 -1
  571. package/dist/nodes/MongoDb/MongoDb.node.d.ts.map +1 -1
  572. package/dist/nodes/MongoDb/MongoDb.node.js +8 -4
  573. package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
  574. package/dist/nodes/MongoDb/MongoDbProperties.d.ts.map +1 -1
  575. package/dist/nodes/MongoDb/MongoDbProperties.js +28 -7
  576. package/dist/nodes/MongoDb/MongoDbProperties.js.map +1 -1
  577. package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
  578. package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
  579. package/dist/nodes/Notion/shared/GenericFunctions.js +1 -2
  580. package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
  581. package/dist/nodes/Notion/v2/methods/loadOptions.d.ts.map +1 -1
  582. package/dist/nodes/Notion/v2/methods/loadOptions.js +5 -1
  583. package/dist/nodes/Notion/v2/methods/loadOptions.js.map +1 -1
  584. package/dist/nodes/Notion/v3/methods/loadOptions.d.ts.map +1 -1
  585. package/dist/nodes/Notion/v3/methods/loadOptions.js +5 -1
  586. package/dist/nodes/Notion/v3/methods/loadOptions.js.map +1 -1
  587. package/dist/nodes/Oracle/Sql/actions/versionDescription.js +1 -1
  588. package/dist/nodes/Oracle/Sql/actions/versionDescription.js.map +1 -1
  589. package/dist/nodes/Oracle/Sql/helpers/utils.d.ts.map +1 -1
  590. package/dist/nodes/Oracle/Sql/helpers/utils.js +54 -16
  591. package/dist/nodes/Oracle/Sql/helpers/utils.js.map +1 -1
  592. package/dist/nodes/RenameKeys/RenameKeys.node.d.ts.map +1 -1
  593. package/dist/nodes/RenameKeys/RenameKeys.node.js +2 -3
  594. package/dist/nodes/RenameKeys/RenameKeys.node.js.map +1 -1
  595. package/dist/nodes/Schedule/ScheduleTrigger.node.d.ts.map +1 -1
  596. package/dist/nodes/Schedule/ScheduleTrigger.node.js +12 -0
  597. package/dist/nodes/Schedule/ScheduleTrigger.node.js.map +1 -1
  598. package/dist/nodes/Slack/V2/GenericFunctions.d.ts.map +1 -1
  599. package/dist/nodes/Slack/V2/GenericFunctions.js +11 -3
  600. package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
  601. package/dist/nodes/Slack/V2/MessageDescription.d.ts +3 -0
  602. package/dist/nodes/Slack/V2/MessageDescription.d.ts.map +1 -1
  603. package/dist/nodes/Slack/V2/MessageDescription.js +52 -2
  604. package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
  605. package/dist/nodes/Slack/V2/SlackHitlWebhook.d.ts.map +1 -1
  606. package/dist/nodes/Slack/V2/SlackHitlWebhook.js +14 -10
  607. package/dist/nodes/Slack/V2/SlackHitlWebhook.js.map +1 -1
  608. package/dist/nodes/Slack/V2/SlackV2.node.d.ts +1 -1
  609. package/dist/nodes/Slack/V2/SlackV2.node.d.ts.map +1 -1
  610. package/dist/nodes/Slack/V2/SlackV2.node.js +16 -5
  611. package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
  612. package/dist/nodes/Snowflake/GenericFunctions.d.ts +5 -2
  613. package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
  614. package/dist/nodes/Snowflake/GenericFunctions.js +55 -3
  615. package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
  616. package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
  617. package/dist/nodes/Snowflake/Snowflake.node.js +8 -7
  618. package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
  619. package/dist/nodes/Supabase/GenericFunctions.d.ts +3 -7
  620. package/dist/nodes/Supabase/GenericFunctions.d.ts.map +1 -1
  621. package/dist/nodes/Supabase/GenericFunctions.js +38 -16
  622. package/dist/nodes/Supabase/GenericFunctions.js.map +1 -1
  623. package/dist/nodes/Supabase/Supabase.node.js +6 -6
  624. package/dist/nodes/Supabase/Supabase.node.js.map +1 -1
  625. package/dist/nodes/Switch/V1/SwitchV1.node.d.ts +2 -1
  626. package/dist/nodes/Switch/V1/SwitchV1.node.d.ts.map +1 -1
  627. package/dist/nodes/Switch/V1/SwitchV1.node.js +7 -28
  628. package/dist/nodes/Switch/V1/SwitchV1.node.js.map +1 -1
  629. package/dist/nodes/Switch/V2/SwitchV2.node.d.ts +2 -1
  630. package/dist/nodes/Switch/V2/SwitchV2.node.d.ts.map +1 -1
  631. package/dist/nodes/Switch/V2/SwitchV2.node.js +7 -28
  632. package/dist/nodes/Switch/V2/SwitchV2.node.js.map +1 -1
  633. package/dist/nodes/Telegram/hitl/descriptions.d.ts.map +1 -1
  634. package/dist/nodes/Telegram/hitl/descriptions.js +48 -30
  635. package/dist/nodes/Telegram/hitl/descriptions.js.map +1 -1
  636. package/dist/nodes/Telegram/hitl/webhook.d.ts.map +1 -1
  637. package/dist/nodes/Telegram/hitl/webhook.js +3 -4
  638. package/dist/nodes/Telegram/hitl/webhook.js.map +1 -1
  639. package/dist/nodes/Wordpress/Wordpress.node.d.ts.map +1 -1
  640. package/dist/nodes/Wordpress/Wordpress.node.js +6 -0
  641. package/dist/nodes/Wordpress/Wordpress.node.js.map +1 -1
  642. package/dist/types/credentials.json +25 -25
  643. package/dist/types/nodes.json +23 -22
  644. package/dist/utils/binary.d.ts +11 -1
  645. package/dist/utils/binary.d.ts.map +1 -1
  646. package/dist/utils/binary.js +21 -0
  647. package/dist/utils/binary.js.map +1 -1
  648. package/dist/utils/sendAndWait/descriptions.d.ts +0 -7
  649. package/dist/utils/sendAndWait/descriptions.d.ts.map +1 -1
  650. package/dist/utils/sendAndWait/descriptions.js +1 -19
  651. package/dist/utils/sendAndWait/descriptions.js.map +1 -1
  652. package/dist/utils/sendAndWait/email-templates.d.ts +0 -7
  653. package/dist/utils/sendAndWait/email-templates.d.ts.map +1 -1
  654. package/dist/utils/sendAndWait/email-templates.js +1 -59
  655. package/dist/utils/sendAndWait/email-templates.js.map +1 -1
  656. package/dist/utils/sendAndWait/utils.d.ts.map +1 -1
  657. package/dist/utils/sendAndWait/utils.js +2 -14
  658. package/dist/utils/sendAndWait/utils.js.map +1 -1
  659. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.d.ts.map +1 -1
  660. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js +3 -1
  661. package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js.map +1 -1
  662. package/package.json +12 -11
  663. package/dist/nodes/Google/Gmail/v2/hitl/descriptions.d.ts +0 -16
  664. package/dist/nodes/Google/Gmail/v2/hitl/descriptions.d.ts.map +0 -1
  665. package/dist/nodes/Google/Gmail/v2/hitl/descriptions.js +0 -86
  666. package/dist/nodes/Google/Gmail/v2/hitl/descriptions.js.map +0 -1
  667. package/dist/nodes/Google/Gmail/v2/hitl/email.d.ts +0 -11
  668. package/dist/nodes/Google/Gmail/v2/hitl/email.d.ts.map +0 -1
  669. package/dist/nodes/Google/Gmail/v2/hitl/email.js +0 -69
  670. package/dist/nodes/Google/Gmail/v2/hitl/email.js.map +0 -1
@@ -4,9 +4,11 @@ export declare class MicrosoftSharePointV2 implements INodeType {
4
4
  constructor(baseDescription: INodeTypeBaseDescription);
5
5
  methods: {
6
6
  listSearch: {
7
+ getFiles: typeof import("./file").getFiles;
7
8
  getFolders: typeof import("./folder").getFolders;
8
9
  getSites: typeof import("./site").getSites;
9
10
  getLists: typeof import("./list").getLists;
11
+ getItems: typeof import("./item").getItems;
10
12
  };
11
13
  resourceMapping: {
12
14
  getMappingColumns: typeof import("./list/columns").getMappingColumns;
@@ -1 +1 @@
1
- {"version":3,"file":"MicrosoftSharePointV2.node.d.ts","sourceRoot":"","sources":["../../../../../nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EACjB,SAAS,EACT,wBAAwB,EACxB,oBAAoB,EACpB,MAAM,cAAc,CAAC;AAQtB,qBAAa,qBAAsB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAAC;IAElC,YAAY,eAAe,EAAE,wBAAwB,EAKpD;IAED,OAAO;;;;;;;;;MAGL;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,0DAEpC;CACD"}
1
+ {"version":3,"file":"MicrosoftSharePointV2.node.d.ts","sourceRoot":"","sources":["../../../../../nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,iBAAiB,EACjB,SAAS,EACT,wBAAwB,EACxB,oBAAoB,EACpB,MAAM,cAAc,CAAC;AAQtB,qBAAa,qBAAsB,YAAW,SAAS;IACtD,WAAW,EAAE,oBAAoB,CAAC;IAElC,YAAY,eAAe,EAAE,wBAAwB,EAKpD;IAED,OAAO;;;;;;;;;;;MAGL;IAEI,OAAO,CAAC,IAAI,EAAE,iBAAiB,0DAEpC;CACD"}
@@ -0,0 +1,31 @@
1
+ import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayName: string;
4
+ name: string;
5
+ type: import("n8n-workflow").NodePropertyTypes;
6
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
7
+ default: import("n8n-workflow").NodeParameterValueType;
8
+ description?: string;
9
+ hint?: string;
10
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
11
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
12
+ envFeatureFlag?: Uppercase<string>;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<'extends:oAuth2Api' | 'extends:oAuth1Api' | 'has:authenticate' | 'has:genericAuth'>;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: 'single' | 'multiple';
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ displayOptions: import("n8n-workflow").IDisplayOptions;
29
+ }[];
30
+ export declare function execute(this: IExecuteFunctions, i: number, siteIdCache?: Map<string, string>): Promise<INodeExecutionData>;
31
+ //# sourceMappingURL=download.operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/download.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEX,iBAAiB,EACjB,kBAAkB,EAClB,eAAe,EACf,MAAM,cAAc,CAAC;AAmDtB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAQ5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,kBAAkB,CAAC,CAkE7B"}
@@ -0,0 +1,105 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.description = void 0;
4
+ exports.execute = execute;
5
+ const n8n_workflow_1 = require("n8n-workflow");
6
+ const utilities_1 = require("../../../../../../utils/utilities");
7
+ const file_1 = require("../../file");
8
+ const folder_1 = require("../../folder");
9
+ const list_1 = require("../../list");
10
+ const site_1 = require("../../site");
11
+ const transport_1 = require("../../transport");
12
+ const properties = [
13
+ {
14
+ ...site_1.siteRLC,
15
+ description: 'Select the site to download from',
16
+ },
17
+ {
18
+ ...folder_1.folderRLC,
19
+ description: 'Select the folder the file lives in',
20
+ displayOptions: {
21
+ hide: {
22
+ ...list_1.untilSiteSelected,
23
+ },
24
+ },
25
+ },
26
+ {
27
+ ...file_1.fileRLC,
28
+ description: 'Select the file to download',
29
+ displayOptions: {
30
+ hide: {
31
+ ...list_1.untilSiteSelected,
32
+ ...folder_1.untilFolderSelected,
33
+ },
34
+ },
35
+ },
36
+ {
37
+ displayName: 'Put Output File in Field',
38
+ name: 'binaryPropertyName',
39
+ type: 'string',
40
+ required: true,
41
+ default: 'data',
42
+ hint: 'The name of the output binary field to put the file in',
43
+ },
44
+ ];
45
+ const displayOptions = {
46
+ show: {
47
+ resource: ['file'],
48
+ operation: ['download'],
49
+ },
50
+ };
51
+ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
52
+ async function execute(i, siteIdCache) {
53
+ // https://learn.microsoft.com/en-us/graph/api/driveitem-get-content
54
+ const fileId = this.getNodeParameter('file', i, '', { extractValue: true }).trim();
55
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
56
+ // An empty segment would change the request shape — fail loudly instead.
57
+ if (fileId === '') {
58
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), "The 'File' parameter is empty", {
59
+ description: 'Set the file ID and try again.',
60
+ });
61
+ }
62
+ // resolveSiteId validates the site field itself, including the empty case
63
+ const siteId = await site_1.resolveSiteId.call(this, i, siteIdCache);
64
+ // One metadata GET yields the filename, the mime type, and the pre-authorized
65
+ // download link (returned by default, no $select).
66
+ const metadata = (await transport_1.microsoftApiRequest.call(this, 'GET', `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items/${encodeURIComponent(fileId)}`));
67
+ if (metadata.file === undefined) {
68
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'The selected item is not a file', {
69
+ description: "Check the value in the 'File' parameter — folders can't be downloaded.",
70
+ });
71
+ }
72
+ const downloadUrl = metadata['@microsoft.graph.downloadUrl'];
73
+ if (!downloadUrl) {
74
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'This file has no downloadable content', {
75
+ description: 'Microsoft Graph did not provide a download link for this item.',
76
+ });
77
+ }
78
+ // The link is pre-authorized and lives on a different origin — sign-in
79
+ // details must never be forwarded to it (that would leak the token and get
80
+ // the request rejected; the transport's same-origin guard would refuse the
81
+ // URL anyway), so the content is fetched plainly, with no credential.
82
+ let response;
83
+ try {
84
+ response = await this.helpers.httpRequest({
85
+ method: 'GET',
86
+ url: downloadUrl,
87
+ returnFullResponse: true,
88
+ encoding: 'arraybuffer',
89
+ json: false,
90
+ });
91
+ }
92
+ catch (error) {
93
+ // A raw failure here would carry the request config — pre-authorized
94
+ // link included — into stored execution data, so only the message survives.
95
+ const cause = error instanceof Error ? error.message : String(error);
96
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Downloading the file contents failed: ${cause}`, {
97
+ itemIndex: i,
98
+ description: 'The download link may have expired. Run the node again to fetch a fresh one.',
99
+ });
100
+ }
101
+ const binaryData = await this.helpers.prepareBinaryData(response.body, metadata.name, metadata.file.mimeType ?? response.headers['content-type']);
102
+ // v1 output parity: an empty json object with the file under the binary key
103
+ return { json: {}, binary: { [binaryPropertyName]: binaryData } };
104
+ }
105
+ //# sourceMappingURL=download.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"download.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/download.operation.ts"],"names":[],"mappings":";;;;AAMA,+CAAkD;AAElD,iEAAyE;AACzE,qCAAqC;AACrC,yCAA8D;AAC9D,qCAA+C;AAC/C,qCAAoD;AACpD,+CAAsD;AAEtD,MAAM,U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IAAI,CAAC,OAAO,EAAE,EAAE,yCAAyC,KAAK,EAAE,EAAE;YAC9F,SAAS,EAAE,CAAC;YACZ,WAAW,EAAE,8EAA8E;SAC3F,CAAC,CAAC;IACJ,CAAC;IAED,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,iBAAiB,CACtD,QAAQ,CAAC,IAAc,EACvB,QAAQ,CAAC,IAAI,EACb,QAAQ,CAAC,IAAI,CAAC,QAAQ,IAAK,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAwB,CAClF,CAAC;IAEF,4EAA4E;IAC5E,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,EAAE,CAAC;AACnE,CAAC"}
@@ -1,5 +1,7 @@
1
1
  import type { INodeProperties } from 'n8n-workflow';
2
+ import * as download from './download.operation';
3
+ import * as update from './update.operation';
2
4
  import * as upload from './upload.operation';
3
- export { upload };
5
+ export { download, update, upload };
4
6
  export declare const description: INodeProperties[];
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,MAAM,EAAE,CAAC;AAElB,eAAO,MAAM,WAAW,EAAE,eAAe,EAuBxC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC;AACjD,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AAEpC,eAAO,MAAM,WAAW,EAAE,eAAe,EAqCxC,CAAC"}
@@ -33,7 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.description = exports.upload = void 0;
36
+ exports.description = exports.upload = exports.update = exports.download = void 0;
37
+ const download = __importStar(require("./download.operation"));
38
+ exports.download = download;
39
+ const update = __importStar(require("./update.operation"));
40
+ exports.update = update;
37
41
  const upload = __importStar(require("./upload.operation"));
38
42
  exports.upload = upload;
39
43
  exports.description = [
@@ -48,6 +52,18 @@ exports.description = [
48
52
  },
49
53
  },
50
54
  options: [
55
+ {
56
+ name: 'Download',
57
+ value: 'download',
58
+ description: 'Download a file',
59
+ action: 'Download file',
60
+ },
61
+ {
62
+ name: 'Update',
63
+ value: 'update',
64
+ description: 'Rename a file and/or replace its contents',
65
+ action: 'Update file',
66
+ },
51
67
  {
52
68
  name: 'Upload',
53
69
  value: 'upload',
@@ -57,6 +73,8 @@ exports.description = [
57
73
  ],
58
74
  default: 'upload',
59
75
  },
76
+ ...download.description,
77
+ ...update.description,
60
78
  ...upload.description,
61
79
  ];
62
80
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAY,MAAM,+CAA2B;QAEpC,MAAM;AAEF,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,aAAa;aACrB;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IAED,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAY,QAAQ,iDAA6B;QAIxC,QAAQ;AAHjB,MAAY,MAAM,+CAA2B;QAG1B,MAAM;AAFzB,MAAY,MAAM,+CAA2B;QAElB,MAAM;AAEpB,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,iBAAiB;gBAC9B,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2CAA2C;gBACxD,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,aAAa;aACrB;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IAED,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { IDataObject, IExecuteFunctions, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayName: string;
4
+ name: string;
5
+ type: import("n8n-workflow").NodePropertyTypes;
6
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
7
+ default: import("n8n-workflow").NodeParameterValueType;
8
+ description?: string;
9
+ hint?: string;
10
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
11
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
12
+ envFeatureFlag?: Uppercase<string>;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<'extends:oAuth2Api' | 'extends:oAuth1Api' | 'has:authenticate' | 'has:genericAuth'>;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: 'single' | 'multiple';
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ displayOptions: import("n8n-workflow").IDisplayOptions;
29
+ }[];
30
+ export declare function execute(this: IExecuteFunctions, i: number, siteIdCache?: Map<string, string>): Promise<IDataObject>;
31
+ //# sourceMappingURL=update.operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/update.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAwEpF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAE5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,WAAW,CAAC,CAsEtB"}
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.description = void 0;
4
+ exports.execute = execute;
5
+ const n8n_workflow_1 = require("n8n-workflow");
6
+ const utilities_1 = require("../../../../../../utils/utilities");
7
+ const file_1 = require("../../file");
8
+ const folder_1 = require("../../folder");
9
+ const utils_1 = require("../../helpers/utils");
10
+ const list_1 = require("../../list");
11
+ const site_1 = require("../../site");
12
+ const transport_1 = require("../../transport");
13
+ const properties = [
14
+ {
15
+ ...site_1.siteRLC,
16
+ description: 'Select the site the file lives in',
17
+ },
18
+ {
19
+ ...folder_1.folderRLC,
20
+ description: 'Select the folder the file lives in',
21
+ displayOptions: {
22
+ hide: {
23
+ ...list_1.untilSiteSelected,
24
+ },
25
+ },
26
+ },
27
+ {
28
+ ...file_1.fileRLC,
29
+ description: 'Select the file to update',
30
+ displayOptions: {
31
+ hide: {
32
+ ...list_1.untilSiteSelected,
33
+ ...folder_1.untilFolderSelected,
34
+ },
35
+ },
36
+ },
37
+ {
38
+ displayName: 'Updated File Name',
39
+ name: 'fileName',
40
+ type: 'string',
41
+ default: '',
42
+ placeholder: 'e.g. report-v2.pdf',
43
+ description: 'New name for the file. Leave empty to keep the current name.',
44
+ },
45
+ {
46
+ displayName: 'Change File Content',
47
+ name: 'changeFileContent',
48
+ type: 'boolean',
49
+ default: false,
50
+ description: 'Whether to replace the file’s contents with the input binary data',
51
+ },
52
+ {
53
+ displayName: 'Input Binary Field',
54
+ name: 'binaryPropertyName',
55
+ type: 'string',
56
+ required: true,
57
+ default: 'data',
58
+ hint: 'The name of the input binary field containing the new file contents',
59
+ displayOptions: {
60
+ show: {
61
+ changeFileContent: [true],
62
+ },
63
+ },
64
+ },
65
+ ];
66
+ const displayOptions = {
67
+ show: {
68
+ resource: ['file'],
69
+ operation: ['update'],
70
+ },
71
+ };
72
+ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
73
+ async function execute(i, siteIdCache) {
74
+ // https://learn.microsoft.com/en-us/graph/api/driveitem-update
75
+ const fileId = this.getNodeParameter('file', i, '', { extractValue: true }).trim();
76
+ const fileName = this.getNodeParameter('fileName', i, '').trim();
77
+ const changeFileContent = this.getNodeParameter('changeFileContent', i, false);
78
+ // An empty segment would change the request shape — fail loudly instead.
79
+ if (fileId === '') {
80
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), "The 'File' parameter is empty", {
81
+ description: 'Set the file ID and try again.',
82
+ });
83
+ }
84
+ const wantRename = fileName !== '';
85
+ if (wantRename) {
86
+ (0, utils_1.validateSharePointFileName)(this.getNode(), fileName, i);
87
+ }
88
+ if (!wantRename && !changeFileContent) {
89
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Nothing to update', {
90
+ description: 'Set a new file name, enable Change File Content, or both.',
91
+ });
92
+ }
93
+ // All local failures happen before any request — in particular before the
94
+ // rename, so a bad payload can never leave a half-applied update.
95
+ let content;
96
+ if (changeFileContent) {
97
+ const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i);
98
+ content = await (0, utils_1.getUploadBufferWithinCap)(this, i, binaryPropertyName);
99
+ }
100
+ // resolveSiteId validates the site field itself, including the empty case
101
+ const siteId = await site_1.resolveSiteId.call(this, i, siteIdCache);
102
+ const itemPath = `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items/${encodeURIComponent(fileId)}`;
103
+ let response = {};
104
+ if (wantRename) {
105
+ response = await transport_1.microsoftApiRequest.call(this, 'PATCH', itemPath, { name: fileName });
106
+ }
107
+ if (content) {
108
+ try {
109
+ response = await transport_1.microsoftApiRequest.call(this, 'PUT', `${itemPath}/content`, content.body, {}, undefined, { 'Content-Type': content.contentType });
110
+ }
111
+ catch (error) {
112
+ if (!wantRename)
113
+ throw error;
114
+ // A fresh string message is required here: wrapping the caught error
115
+ // object would be discarded by NodeOperationError's pass-through when
116
+ // the cause is itself a NodeOperationError.
117
+ const cause = error instanceof Error ? error.message : String(error);
118
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The file was renamed to "${fileName}", but replacing its contents failed: ${cause}`, {
119
+ itemIndex: i,
120
+ description: 'The rename has already taken effect. Fix the content error and run the update again, leaving the file name empty to avoid renaming twice.',
121
+ });
122
+ }
123
+ }
124
+ return response;
125
+ }
126
+ //# sourceMappingURL=update.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/update.operation.ts"],"names":[],"mappings":";;;;AACA,+CAAkD;AAElD,iEAAyE;AACzE,qCAAqC;AACrC,yCAA8D;AAC9D,+CAA2F;AAC3F,qCAA+C;AAC/C,qCAAoD;AACpD,+CAAsD;AAEtD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,cAAO;QACV,WAAW,EAAE,mCAAmC;KAChD;IACD;QACC,GAAG,kBAAS;QACZ,WAAW,EAAE,qCAAqC;QAClD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAiB;aACpB;SACD;KACD;IACD;QACC,GAAG,cAAO;QACV,WAAW,EAAE,2BAA2B;QACxC,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAiB;gBACpB,GAAG,4BAAmB;aACtB;SACD;KACD;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oBAAoB;QACjC,WAAW,EAAE,8DAA8D;KAC3E;IACD;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,mEAAmE;K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AE,MAAM,KAAK,CAAC;YAC7B,qEAAqE;YACrE,sEAAsE;YACtE,4CAA4C;YAC5C,MAAM,KAAK,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;YACrE,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,4BAA4B,QAAQ,yCAAyC,KAAK,EAAE,EACpF;gBACC,SAAS,EAAE,CAAC;gBACZ,WAAW,EACV,2IAA2I;aAC5I,CACD,CAAC;QACH,CAAC;IACF,CAAC;IAED,OAAO,QAAQ,CAAC;AACjB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"upload.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAkDpF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAE5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,WAAW,CAAC,CAoDtB"}
1
+ {"version":3,"file":"upload.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAkDpF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAE5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,WAAW,CAAC,CA+BtB"}
@@ -5,8 +5,8 @@ exports.execute = execute;
5
5
  const n8n_workflow_1 = require("n8n-workflow");
6
6
  const utilities_1 = require("../../../../../../utils/utilities");
7
7
  const folder_1 = require("../../folder");
8
- const list_1 = require("../../list");
9
8
  const utils_1 = require("../../helpers/utils");
9
+ const list_1 = require("../../list");
10
10
  const site_1 = require("../../site");
11
11
  const transport_1 = require("../../transport");
12
12
  const properties = [
@@ -59,25 +59,10 @@ async function execute(i, siteIdCache) {
59
59
  description: "Set the folder ID (or 'root' for the library root) and try again.",
60
60
  });
61
61
  }
62
- const binaryData = this.helpers.assertBinaryData(i, binaryPropertyName);
63
- let body;
64
- let fileSize;
65
- if (binaryData.id) {
66
- ({ fileSize } = await this.helpers.getBinaryMetadata(binaryData.id));
67
- }
68
- else {
69
- body = Buffer.from(binaryData.data, n8n_workflow_1.BINARY_ENCODING);
70
- fileSize = body.byteLength;
71
- }
72
- if (fileSize > utils_1.MAX_SIMPLE_UPLOAD_BYTES) {
73
- const sizeMb = Math.ceil(fileSize / (1024 * 1024));
74
- throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The file is ${sizeMb} MB, which is larger than the 250 MB limit for SharePoint uploads`, {
75
- itemIndex: i,
76
- description: 'Files over 250 MB need to be uploaded in pieces, which this operation does not support yet.',
77
- });
78
- }
62
+ const { body, contentType } = await (0, utils_1.getUploadBufferWithinCap)(this, i, binaryPropertyName);
79
63
  const siteId = await site_1.resolveSiteId.call(this, i, siteIdCache);
80
- body ??= await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
81
- return await transport_1.microsoftApiRequest.call(this, 'PUT', `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items/${encodeURIComponent(folderId)}:/${encodeURIComponent(fileName)}:/content`, body, {}, undefined, { 'Content-Type': binaryData.mimeType ?? 'application/octet-stream' });
64
+ // Encode segments: site IDs contain commas and file names spaces; encoding
65
+ // also keeps user input from escaping its path segment under either credential.
66
+ return await transport_1.microsoftApiRequest.call(this, 'PUT', `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items/${encodeURIComponent(folderId)}:/${encodeURIComponent(fileName)}:/content`, body, {}, undefined, { 'Content-Type': contentType });
82
67
  }
83
68
  //# sourceMappingURL=upload.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.ts"],"names":[],"mappings":";;;;AACA,+CAAmE;AAEnE,iEAAyE;AACzE,yCAAyC;AACzC,qCAA+C;AAC/C,+CAA0F;AAC1F,qCAAoD;AACpD,+CAAsD;AAEtD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,cAAO;QACV,WAAW,EAAE,8BAA8B;KAC3C;IACD;QACC,GAAG,kBAAS;QACZ,WAAW,EAAE,yCAAyC;QACtD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAiB;aACpB;SACD;KACD;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,EAAE,uCAAuC;KACpD;IACD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,kEAAkE;KACxE;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,gCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,kBAEX,CAA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nD,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,eAAe,MAAM,mEAAmE,EACxF;YACC,SAAS,EAAE,CAAC;YACZ,WAAW,EACV,6FAA6F;SAC9F,CACD,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;IAE9D,IAAI,KAAK,MAAM,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,EAAE,kBAAkB,CAAC,CAAC;IAEvE,OAAO,MAAM,+BAAmB,CAAC,IAAI,CACpC,IAAI,EACJ,KAAK,EACL,eAAe,kBAAkB,CAAC,MAAM,CAAC,gBAAgB,kBAAkB,CAAC,QAAQ,CAAC,KAAK,kBAAkB,CAAC,QAAQ,CAAC,WAAW,EACjI,IAAI,EACJ,EAAE,EACF,SAAS,EACT,EAAE,cAAc,EAAE,UAAU,CAAC,QAAQ,IAAI,0BAA0B,EAAE,CACrE,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"upload.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.ts"],"names":[],"mappings":";;;;AACA,+CAAkD;AAElD,iEAAyE;AACzE,yCAAyC;AACzC,+CAA2F;AAC3F,qCAA+C;AAC/C,qCAAoD;AACpD,+CAAsD;AAEtD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,cAAO;QACV,WAAW,EAAE,8BAA8B;KAC3C;IACD;QACC,GAAG,kBAAS;QACZ,WAAW,EAAE,yCAAyC;QACtD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAiB;aACpB;SACD;KACD;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;QAC9B,WAAW,E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AAW,CAAC,CAAC;IAE9D,2EAA2E;IAC3E,gFAAgF;IAChF,OAAO,MAAM,+BAAmB,CAAC,IAAI,CACpC,IAAI,EACJ,KAAK,EACL,eAAe,kBAAkB,CAAC,MAAM,CAAC,gBAAgB,kBAAkB,CAAC,QAAQ,CAAC,KAAK,kBAAkB,CAAC,QAAQ,CAAC,WAAW,EACjI,IAAI,EACJ,EAAE,EACF,SAAS,EACT,EAAE,cAAc,EAAE,WAAW,EAAE,CAC/B,CAAC;AACH,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { IDataObject, IExecuteFunctions, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayName: string;
4
+ name: string;
5
+ type: import("n8n-workflow").NodePropertyTypes;
6
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
7
+ default: import("n8n-workflow").NodeParameterValueType;
8
+ description?: string;
9
+ hint?: string;
10
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
11
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
12
+ envFeatureFlag?: Uppercase<string>;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<'extends:oAuth2Api' | 'extends:oAuth1Api' | 'has:authenticate' | 'has:genericAuth'>;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: 'single' | 'multiple';
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ displayOptions: import("n8n-workflow").IDisplayOptions;
29
+ }[];
30
+ export declare function execute(this: IExecuteFunctions, i: number, siteIdCache?: Map<string, string>): Promise<IDataObject | IDataObject[]>;
31
+ //# sourceMappingURL=create.operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/item/create.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,WAAW,EACX,iBAAiB,EACjB,eAAe,EAEf,MAAM,cAAc,CAAC;AAsCtB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAE5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,WAAW,GAAG,WAAW,EAAE,CAAC,CA2BtC"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.description = void 0;
4
+ exports.execute = execute;
5
+ const utilities_1 = require("../../../../../../utils/utilities");
6
+ const utils_1 = require("../../helpers/utils");
7
+ const item_1 = require("../../item");
8
+ const list_1 = require("../../list");
9
+ const columns_1 = require("../../list/columns");
10
+ const site_1 = require("../../site");
11
+ const transport_1 = require("../../transport");
12
+ const properties = [
13
+ {
14
+ ...site_1.siteRLC,
15
+ description: 'Select the site the list belongs to',
16
+ },
17
+ {
18
+ ...list_1.listRLC,
19
+ description: 'Select the list to create an item in',
20
+ displayOptions: {
21
+ hide: {
22
+ ...list_1.untilSiteSelected,
23
+ },
24
+ },
25
+ },
26
+ (0, columns_1.itemColumns)('add'),
27
+ ];
28
+ const displayOptions = {
29
+ show: {
30
+ resource: ['item'],
31
+ operation: ['create'],
32
+ },
33
+ };
34
+ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
35
+ async function execute(i, siteIdCache) {
36
+ // https://learn.microsoft.com/en-us/graph/api/listitem-create
37
+ const siteId = await site_1.resolveSiteId.call(this, i, siteIdCache);
38
+ const listIdOrTitle = (0, utils_1.assertPathSegment)(this.getNode(), String(this.getNodeParameter('list', i, '', { extractValue: true })), 'List');
39
+ const schema = this.getNodeParameter('columns.schema', i, []);
40
+ const value = item_1.resolveItemMapperValues.call(this, i);
41
+ const { fields, hasHyperlink } = (0, item_1.buildItemFieldsPayload)(value, schema);
42
+ try {
43
+ return await transport_1.microsoftApiRequest.call(this, 'POST', `/v1.0/sites/${encodeURIComponent(siteId)}/lists/${encodeURIComponent(listIdOrTitle)}/items`, { fields }, {}, undefined, hasHyperlink ? utils_1.HYPERLINK_WRITE_HEADERS : {});
44
+ }
45
+ catch (error) {
46
+ (0, utils_1.addUniqueConstraintHint)(error);
47
+ throw error;
48
+ }
49
+ }
50
+ //# sourceMappingURL=create.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/item/create.operation.ts"],"names":[],"mappings":";;;;AAOA,iEAAyE;AACzE,+CAI6B;AAC7B,qCAA6E;AAC7E,qCAAwD;AACxD,gDAAiD;AACjD,qCAAoD;AACpD,+CAAsD;AAEtD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,cAAO;QACV,WAAW,EAAE,qCAAqC;KAClD;IACD;QACC,GAAG,cAAO;QACV,WAAW,EAAE,sCAAsC;QACnD,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,wBAAiB;aACpB;SACD;KACD;IACD,IAAA,qBAAW,EAAC,KAAK,CAAC;CAClB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,gCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,kBAEX,CAAS,EACT,WAAiC;IAEjC,8DAA8D;IAC9D,MAAM,MAAM,GAAG,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,IAAA,yBAAiB,EACtC,IAAI,CAAC,OAAO,EAAE,EACd,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,EACpE,MAAM,CACN,CAAC;IAEF,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,EAAE,EAAE,CAA0B,CAAC;IACvF,MAAM,KAAK,GAAG,8BAAuB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,6BAAsB,EAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IAEvE,IAAI,CAAC;QACJ,OAAO,MAAM,+BAAmB,CAAC,IAAI,CACpC,IAAI,EACJ,MAAM,EACN,eAAe,kBAAkB,CAAC,MAAM,CAAC,UAAU,kBAAkB,CAAC,aAAa,CAAC,QAAQ,EAC5F,EAAE,MAAM,EAAE,EACV,EAAE,EACF,SAAS,EACT,YAAY,CAAC,CAAC,CAAC,+BAAuB,CAAC,CAAC,CAAC,EAAE,CAC3C,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QAChB,IAAA,+BAAuB,EAAC,KAAK,CAAC,CAAC;QAC/B,MAAM,KAAK,CAAC;IACb,CAAC;AACF,CAAC"}
@@ -0,0 +1,31 @@
1
+ import type { IDataObject, IExecuteFunctions, INodeProperties } from 'n8n-workflow';
2
+ export declare const description: {
3
+ displayName: string;
4
+ name: string;
5
+ type: import("n8n-workflow").NodePropertyTypes;
6
+ typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
7
+ default: import("n8n-workflow").NodeParameterValueType;
8
+ description?: string;
9
+ hint?: string;
10
+ builderHint?: import("n8n-workflow").IParameterBuilderHint;
11
+ disabledOptions?: import("n8n-workflow").IDisplayOptions;
12
+ envFeatureFlag?: Uppercase<string>;
13
+ options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ placeholder?: string;
15
+ isNodeSetting?: boolean;
16
+ noDataExpression?: boolean;
17
+ required?: boolean;
18
+ routing?: import("n8n-workflow").INodePropertyRouting;
19
+ credentialTypes?: Array<'extends:oAuth2Api' | 'extends:oAuth1Api' | 'has:authenticate' | 'has:genericAuth'>;
20
+ extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
21
+ modes?: import("n8n-workflow").INodePropertyMode[];
22
+ requiresDataPath?: 'single' | 'multiple';
23
+ doNotInherit?: boolean;
24
+ validateType?: import("n8n-workflow").FieldType;
25
+ ignoreValidationDuringExecution?: boolean;
26
+ allowArbitraryValues?: boolean;
27
+ resolvableField?: boolean;
28
+ displayOptions: import("n8n-workflow").IDisplayOptions;
29
+ }[];
30
+ export declare function execute(this: IExecuteFunctions, i: number, siteIdCache?: Map<string, string>): Promise<IDataObject | IDataObject[]>;
31
+ //# sourceMappingURL=delete.operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.operation.d.ts","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AA0CpF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAmD,CAAC;AAE5E,wBAAsB,OAAO,CAC5B,IAAI,EAAE,iBAAiB,EACvB,CAAC,EAAE,MAAM,EACT,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAC/B,OAAO,CAAC,WAAW,GAAG,WAAW,EAAE,CAAC,CAsBtC"}