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
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.description = void 0;
37
+ exports.execute = execute;
38
+ const n8n_workflow_1 = require("n8n-workflow");
39
+ const create = __importStar(require("./create.operation"));
40
+ const utilities_1 = require("../../../../../../utils/utilities");
41
+ const utils_1 = require("../../helpers/utils");
42
+ const item_1 = require("../../item");
43
+ const list_1 = require("../../list");
44
+ const columns_1 = require("../../list/columns");
45
+ const site_1 = require("../../site");
46
+ const properties = [
47
+ {
48
+ ...site_1.siteRLC,
49
+ description: 'Select the site the list belongs to',
50
+ },
51
+ {
52
+ ...list_1.listRLC,
53
+ description: 'Select the list you want to create or update an item in',
54
+ displayOptions: {
55
+ hide: {
56
+ ...list_1.untilSiteSelected,
57
+ },
58
+ },
59
+ },
60
+ (0, columns_1.itemColumns)('upsert'),
61
+ ];
62
+ const displayOptions = {
63
+ show: {
64
+ resource: ['item'],
65
+ operation: ['upsert'],
66
+ },
67
+ };
68
+ exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
69
+ async function execute(i, siteIdCache) {
70
+ const siteId = await site_1.resolveSiteId.call(this, i, siteIdCache);
71
+ const listIdOrTitle = (0, utils_1.assertPathSegment)(this.getNode(), String(this.getNodeParameter('list', i, '', { extractValue: true })), 'List');
72
+ const matchingColumns = this.getNodeParameter('columns.matchingColumns', i, []);
73
+ const schema = this.getNodeParameter('columns.schema', i, []);
74
+ const values = item_1.resolveItemMapperValues.call(this, i);
75
+ const ids = await item_1.resolveMatchedItemIds.call(this, siteId, listIdOrTitle, matchingColumns, values);
76
+ if (ids.length >= 2) {
77
+ // v1 created on multiple matches; we stop instead so an ambiguous match
78
+ // never silently updates or duplicates the wrong item.
79
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), 'Multiple items match the selected column(s)', {
80
+ description: 'Narrow the matching column(s) so they identify a single item, or remove the duplicates, then try again.',
81
+ });
82
+ }
83
+ if (ids.length === 1) {
84
+ return await item_1.updateItemFields.call(this, siteId, listIdOrTitle, ids[0], values, schema);
85
+ }
86
+ // No match → create. create.execute re-reads the same params (no extra API
87
+ // call) and POSTs; its field builder also drops `id`, so upsert never leaks one.
88
+ return await create.execute.call(this, i, siteIdCache);
89
+ }
90
+ //# sourceMappingURL=upsert.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"upsert.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,+CAAkD;AAElD,MAAY,MAAM,+CAA2B;AAC7C,iEAAyE;AACzE,+CAAwD;AACxD,qCAA8F;AAC9F,qCAAwD;AACxD,gDAAiD;AACjD,qCAAoD;AAEpD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,cAAO;QACV,WAAW,EAAE,qCAAqC;KAClD;IACD;QACC,GAAG,cAAO;QACV,WAAW,EAAE,yDAAyD;QACtE,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,GAAG,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,CAAC;IACD,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,MAAM,uBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IACzF,CAAC;IAED,2EAA2E;IAC3E,iFAAiF;IACjF,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;AACxD,CAAC"}
@@ -1,7 +1,8 @@
1
1
  import type { AllEntities } from 'n8n-workflow';
2
2
  type NodeMap = {
3
- file: 'upload';
3
+ file: 'download' | 'update' | 'upload';
4
4
  list: 'get' | 'getAll';
5
+ item: 'create' | 'get' | 'getAll' | 'delete' | 'update' | 'upsert';
5
6
  };
6
7
  export type MicrosoftSharePointType = AllEntities<NodeMap>;
7
8
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/node.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,KAAK,OAAO,GAAG;IACd,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"node.type.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/node.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,KAAK,OAAO,GAAG;IACd,IAAI,EAAE,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvC,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC;IACvB,IAAI,EAAE,QAAQ,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACnE,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,kBAAkB,EAAsB,MAAM,cAAc,CAAC;AAMnG,wBAAsB,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CA2ErF"}
1
+ {"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/router.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAEvB,MAAM,cAAc,CAAC;AAOtB,wBAAsB,MAAM,CAAC,IAAI,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CA8FrF"}
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.router = router;
37
37
  const n8n_workflow_1 = require("n8n-workflow");
38
38
  const file = __importStar(require("./file"));
39
+ const item = __importStar(require("./item"));
39
40
  const list = __importStar(require("./list"));
40
41
  async function router() {
41
42
  const items = this.getInputData();
@@ -68,10 +69,24 @@ async function router() {
68
69
  // TS can resolve .execute.call across either one without a local wrapper.
69
70
  responseData = await list[sharePointTypeData.operation].execute.call(this, i, siteIdCache);
70
71
  break;
72
+ case 'item':
73
+ if (!(sharePointTypeData.operation in item)) {
74
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The operation "${operation}" is not supported!`);
75
+ }
76
+ responseData = await item[sharePointTypeData.operation].execute.call(this, i, siteIdCache);
77
+ break;
71
78
  default:
72
79
  throw new n8n_workflow_1.NodeOperationError(this.getNode(), `The resource "${resource}" is not supported!`);
73
80
  }
74
- const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(responseData), { itemData: { item: i } });
81
+ // A binary-carrying result is already a full execution item —
82
+ // returnJsonArray would nest it under `json` — so it only gets the
83
+ // pairedItem stamp. Graph replies never carry a top-level `binary` key.
84
+ const asItems = typeof responseData === 'object' && responseData !== null && 'binary' in responseData
85
+ ? [responseData]
86
+ : this.helpers.returnJsonArray(responseData);
87
+ const executionData = this.helpers.constructExecutionMetaData(asItems, {
88
+ itemData: { item: i },
89
+ });
75
90
  returnData.push(...executionData);
76
91
  }
77
92
  catch (error) {
@@ -1 +1 @@
1
- {"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAmG;AAEnG,MAAY,IAAI,mCAAe;AAC/B,MAAY,IAAI,mCAAe;AAGxB,KAAK;IACX,MAAM,KAAK,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAClC,MAAM,UAAU,GAAyB,EAAE,CAAC;IAC5C,IAAI,YAAY,CAAC;IAEjB,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAA0B,UAAU,EAAE,CAAC,CAAC,CAAC;IAC/E,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;IAExD,MAAM,kBAAkB,GAAG;QAC1B,QAAQ;QACR,SAAS;KACkB,CAAC;IAE7B,wEAAwE;IACxE,2EAA2E;IAC3E,MAAM,WAAW,GAAG,IAAI,GAAG,EAAkB,CAAC;IAE9C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACvC,IAAI,CAAC;YACJ,QAAQ,kBAAkB,CAAC,QAAQ,EAAE,CA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MAAM,OAAO,GACZ,OAAO,YAAY,KAAK,QAAQ,IAAI,YAAY,KAAK,IAAI,IAAI,QAAQ,IAAI,YAAY;gBACpF,CAAC,CAAC,CAAC,YAAkC,CAAC;gBACtC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,YAA2B,CAAC,CAAC;YAC9D,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAAC,OAAO,EAAE;gBACtE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;aACrB,CAAC,CAAC;YAEH,UAAU,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;QACnC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YAChB,IAAI,IAAI,CAAC,cAAc,EAAE,EAAE,CAAC;gBAC3B,MAAM,kBAAkB,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CACjE,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EACtD,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;gBACF,UAAU,CAAC,IAAI,CAAC,GAAG,kBAAkB,CAAC,CAAC;gBACvC,SAAS;YACV,CAAC;YACD,MAAM,KAAK,CAAC;QACb,CAAC;IACF,CAAC;IACD,OAAO,CAAC,UAAU,CAAC,CAAC;AACrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"versionDescription.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/versionDescription.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAOzD,eAAO,MAAM,kBAAkB,EAAE,oBAkFhC,CAAC"}
1
+ {"version":3,"file":"versionDescription.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/versionDescription.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAQzD,eAAO,MAAM,kBAAkB,EAAE,oBA0FhC,CAAC"}
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.versionDescription = void 0;
37
37
  const n8n_workflow_1 = require("n8n-workflow");
38
38
  const file = __importStar(require("./file"));
39
+ const item = __importStar(require("./item"));
39
40
  const list = __importStar(require("./list"));
40
41
  const transport_1 = require("../transport");
41
42
  exports.versionDescription = {
@@ -52,6 +53,9 @@ exports.versionDescription = {
52
53
  defaults: {
53
54
  name: 'Microsoft SharePoint',
54
55
  },
56
+ // The generated Tool variant ships with the version: dormant while v2 is
57
+ // unregistered, exposed together with the node at launch.
58
+ usableAsTool: true,
55
59
  inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
56
60
  outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
57
61
  // The v1 credential (microsoftSharePointOAuth2Api) is deliberately not
@@ -107,6 +111,10 @@ exports.versionDescription = {
107
111
  name: 'File',
108
112
  value: 'file',
109
113
  },
114
+ {
115
+ name: 'Item',
116
+ value: 'item',
117
+ },
110
118
  {
111
119
  name: 'List',
112
120
  value: 'list',
@@ -115,6 +123,7 @@ exports.versionDescription = {
115
123
  default: 'list',
116
124
  },
117
125
  ...file.description,
126
+ ...item.description,
118
127
  ...list.description,
119
128
  ],
120
129
  };
@@ -1 +1 @@
1
- {"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,+CAAmD;AAEnD,MAAY,IAAI,mCAAe;AAC/B,MAAY,IAAI,mCAAe;AAC/B,4CAAsD;AAEzC,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,sBAAsB;IACnC,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACL,KAAK,EAAE,8BAA8B;Q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MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,MAAM;SACf;QAED,GAAG,IAAI,CAAC,WAAW;QACnB,GAAG,IAAI,CAAC,WAAW;KACnB;CACD,CAAC"}
1
+ {"version":3,"file":"versionDescription.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/versionDescription.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,+CAAmD;AAEnD,MAAY,IAAI,mCAAe;AAC/B,MAAY,IAAI,mCAAe;AAC/B,MAAY,IAAI,mCAAe;AAC/B,4CAAsD;AAEzC,QAAA,kBAAkB,GAAyB;IACvD,WAAW,EAAE,sBAAsB;IACnC,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE;QACL,KAAK,EAAE,8BAA8B;QACrC,IAAI,EAAE,8BAA8B;KACpC;IACD,KAAK,EAAE,CAAC,WAAW,CAAC;IACpB,OAAO,EAAE,CAAC;IACV,QAAQ,EAAE,gEAAgE;IAC1E,WAAW,EAAE,wCAAwC;IACrD,QAAQ,EAAE;QACT,IAAI,EAAE,sBAAsB;KAC5B;IACD,yEAAyE;IACzE,0DAA0D;IAC1D,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;IACnC,uEAAuE;IACvE,wEAAwE;IACxE,+BAA+B;IAC/B,WAAW,EAAE;QACZ;YACC,IAAI,EAAE,oBAAoB;YAC1B,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,cAAc,EAAE,CAAC,oBAAoB,CAAC;iBACtC;aACD;SACD;QACD;YACC,IAAI,EAAE,kCAAsB;YAC5B,QAAQ,EAAE,IAAI;YACd,cAAc,EAAE;gBACf,IAAI,EAAE;oBACL,cAAc,EAAE,CAAC,kCAAsB,CAAC;iBACxC;aACD;SACD;KACD;IACD,UAAU,EAAE;QACX;YACC,WAAW,EAAE,gBAAgB;YAC7B,IAAI,EAAE,gBAAgB;YACtB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,0BAA0B;oBAChC,KAAK,EAAE,oBAAoB;oBAC3B,WAAW,EACV,qHAAqH;iBACtH;gBACD;oBACC,IAAI,EAAE,8CAA8C;oBACpD,KAAK,EAAE,kCAAsB;oBAC7B,WAAW,EACV,gHAAgH;iBACjH;aACD;YACD,OAAO,EAAE,oBAAoB;SAC7B;QACD;YACC,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,OAAO,EAAE;gBACR;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE,MAAM;SACf;QAED,GAAG,IAAI,CAAC,WAAW;QACnB,GAAG,IAAI,CAAC,WAAW;QACnB,GAAG,IAAI,CAAC,WAAW;KACnB;CACD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { ILoadOptionsFunctions, INodeListSearchResult, INodeProperties } from 'n8n-workflow';
2
+ export declare const fileRLC: INodeProperties;
3
+ /**
4
+ * Lists the files in the chosen folder. The typed filter is applied to the
5
+ * fetched results, walking further pages when needed.
6
+ */
7
+ export declare function getFiles(this: ILoadOptionsFunctions, filter?: string, paginationToken?: string): Promise<INodeListSearchResult>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/file/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AASlG,eAAO,MAAM,OAAO,EAAE,eA4BrB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,QAAQ,CAC7B,IAAI,EAAE,qBAAqB,EAC3B,MAAM,CAAC,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,qBAAqB,CAAC,CA4BhC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.fileRLC = void 0;
4
+ exports.getFiles = getFiles;
5
+ const n8n_workflow_1 = require("n8n-workflow");
6
+ const graphSearch_1 = require("../helpers/graphSearch");
7
+ const site_1 = require("../site");
8
+ // The whole file-selection piece lives here — the field and the search behind
9
+ // it — mirroring the site and folder modules.
10
+ exports.fileRLC = {
11
+ displayName: 'File',
12
+ name: 'file',
13
+ type: 'resourceLocator',
14
+ required: true,
15
+ default: { mode: 'list', value: '' },
16
+ description: 'The file to operate on',
17
+ typeOptions: {
18
+ // Re-fetch the file list whenever the chosen site or folder changes
19
+ loadOptionsDependsOn: ['site.value', 'folder.value'],
20
+ },
21
+ modes: [
22
+ {
23
+ displayName: 'From List',
24
+ name: 'list',
25
+ type: 'list',
26
+ typeOptions: {
27
+ searchListMethod: 'getFiles',
28
+ searchable: true,
29
+ },
30
+ },
31
+ {
32
+ displayName: 'By ID',
33
+ name: 'id',
34
+ type: 'string',
35
+ placeholder: 'e.g. 01SPEVVYELNAJ4S3XKNBBIEUJZOWXGE64U',
36
+ },
37
+ ],
38
+ };
39
+ /**
40
+ * Lists the files in the chosen folder. The typed filter is applied to the
41
+ * fetched results, walking further pages when needed.
42
+ */
43
+ async function getFiles(filter, paginationToken) {
44
+ let endpoint = '';
45
+ if (!paginationToken) {
46
+ // resolveSiteId validates the site field itself, including the empty case
47
+ const siteId = await site_1.resolveSiteId.call(this, 0);
48
+ const folderId = this.getNodeParameter('folder', undefined, { extractValue: true }).trim();
49
+ if (folderId === '') {
50
+ throw new n8n_workflow_1.NodeOperationError(this.getNode(), "The 'Parent Folder' parameter is empty", {
51
+ description: 'Choose a folder before selecting a file.',
52
+ });
53
+ }
54
+ endpoint = `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items/${encodeURIComponent(folderId)}/children`;
55
+ }
56
+ return await graphSearch_1.searchDriveItems.call(this, {
57
+ endpoint,
58
+ qs: {
59
+ $select: 'id,name,file',
60
+ // `file` isn't a documented filterable property, so the reply is
61
+ // re-checked by `keep`; when honored this just trims the payload
62
+ $filter: 'file ne null',
63
+ },
64
+ keep: (item) => Boolean(item.file),
65
+ filter,
66
+ paginationToken,
67
+ });
68
+ }
69
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/file/index.ts"],"names":[],"mappings":";;;;AACA,+CAAkD;AAElD,wDAA0D;AAC1D,kCAAwC;AAExC,8EAA8E;AAC9E,8CAA8C;AAEjC,QAAA,OAAO,GAAoB;IACvC,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,WAAW,EAAE,wBAAwB;IACrC,WAAW,EAAE;QACZ,oEAAoE;QACpE,oBAAoB,EAAE,CAAC,YAAY,EAAE,cAAc,CAAC;KACpD;IACD,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB,EAAE,UAAU;gBAC5B,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,yCAAyC;SACtD;KACD;CACD,CAAC;AAEF;;;GAGG;AACI,KAAK,mBAEX,MAAe,EACf,eAAwB;IAExB,IAAI,QAAQ,GAAG,EAAE,CAAC;IAClB,IAAI,CAAC,eAAe,EAAE,CAAC;QACtB,0EAA0E;QAC1E,MAAM,MAAM,GAAG,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QACjD,MAAM,QAAQ,GACb,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CACjE,CAAC,IAAI,EAAE,CAAC;QACT,IAAI,QAAQ,KAAK,EAAE,EAAE,CAAC;YACrB,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,wCAAwC,EAAE;gBACtF,WAAW,EAAE,0CAA0C;aACvD,CAAC,CAAC;QACJ,CAAC;QACD,QAAQ,GAAG,eAAe,kBAAkB,CAAC,MAAM,CAAC,gBAAgB,kBAAkB,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7G,CAAC;IAED,OAAO,MAAM,8BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACxC,QAAQ;QACR,EAAE,EAAE;YACH,OAAO,EAAE,cAAc;YACvB,iEAAiE;YACjE,iEAAiE;YACjE,OAAO,EAAE,cAAc;SACvB;QACD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;QAClC,MAAM;QACN,eAAe;KACf,CAAC,CAAC;AACJ,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import type { ILoadOptionsFunctions, INodeListSearchResult, INodeProperties } from 'n8n-workflow';
2
+ /** Hide gate: file fields stay hidden until a folder is chosen. */
3
+ export declare const untilFolderSelected: {
4
+ folder: string[];
5
+ };
2
6
  export declare const folderRLC: INodeProperties;
7
+ /**
8
+ * Lists the folders of the chosen site's default document library. The typed
9
+ * filter is applied to the fetched results, walking further pages when needed.
10
+ */
3
11
  export declare function getFolders(this: ILoadOptionsFunctions, filter?: string, paginationToken?: string): Promise<INodeListSearchResult>;
4
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/folder/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAKlG,eAAO,MAAM,SAAS,EAAE,eA2BvB,CAAC;AAYF,wBAAsB,UAAU,CAC/B,IAAI,EAAE,qBAAqB,EAC3B,MAAM,CAAC,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,qBAAqB,CAAC,CA0ChC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/folder/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAKlG,mEAAmE;AACnE,eAAO,MAAM,mBAAmB;IAAK,MAAM;CAAQ,CAAC;AAEpD,eAAO,MAAM,SAAS,EAAE,eA2BvB,CAAC;AAEF;;;GAGG;AACH,wBAAsB,UAAU,CAC/B,IAAI,EAAE,qBAAqB,EAC3B,MAAM,CAAC,EAAE,MAAM,EACf,eAAe,CAAC,EAAE,MAAM,GACtB,OAAO,CAAC,qBAAqB,CAAC,CAehC"}
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.folderRLC = void 0;
3
+ exports.folderRLC = exports.untilFolderSelected = void 0;
4
4
  exports.getFolders = getFolders;
5
+ const graphSearch_1 = require("../helpers/graphSearch");
5
6
  const site_1 = require("../site");
6
- const transport_1 = require("../transport");
7
+ /** Hide gate: file fields stay hidden until a folder is chosen. */
8
+ exports.untilFolderSelected = { folder: [''] };
7
9
  exports.folderRLC = {
8
10
  displayName: 'Parent Folder',
9
11
  name: 'folder',
@@ -32,40 +34,23 @@ exports.folderRLC = {
32
34
  },
33
35
  ],
34
36
  };
35
- // A drive page can yield nothing to show (files-only, or no filter match); those pages are
36
- // walked here in one call — the editor would otherwise re-request per empty page — capped
37
- // so a single dropdown request can't crawl an arbitrarily large drive
38
- const SEARCH_PAGE_LIMIT = 10;
37
+ /**
38
+ * Lists the folders of the chosen site's default document library. The typed
39
+ * filter is applied to the fetched results, walking further pages when needed.
40
+ */
39
41
  async function getFolders(filter, paginationToken) {
40
42
  const siteId = paginationToken ? '' : await site_1.resolveSiteId.call(this, 0);
41
- const filterLower = filter?.toLowerCase();
42
- const results = [];
43
- let nextToken = paginationToken;
44
- let pagesLeft = SEARCH_PAGE_LIMIT;
45
- do {
46
- const response = nextToken
47
- ? (await transport_1.microsoftApiRequest.call(this, 'GET', '', {}, {}, nextToken))
48
- : (await transport_1.microsoftApiRequest.call(this, 'GET', `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items`, {}, {
49
- $select: 'id,name,folder',
50
- // Graph rejects this enumeration without a $filter but ignores this
51
- // one, so it must stay; the reply is re-checked below
52
- $filter: 'folder ne null',
53
- }));
54
- for (const item of response.value ?? []) {
55
- if (!item.id || !item.folder)
56
- continue;
57
- if (filterLower && !(item.name ?? '').toLowerCase().includes(filterLower))
58
- continue;
59
- results.push({
60
- name: item.name ?? String(item.id),
61
- value: String(item.id),
62
- });
63
- }
64
- nextToken = response['@odata.nextLink'];
65
- pagesLeft -= 1;
66
- } while (nextToken !== undefined &&
67
- pagesLeft > 0 &&
68
- (filterLower !== undefined || results.length === 0));
69
- return { results, paginationToken: nextToken };
43
+ return await graphSearch_1.searchDriveItems.call(this, {
44
+ endpoint: `/v1.0/sites/${encodeURIComponent(siteId)}/drive/items`,
45
+ qs: {
46
+ $select: 'id,name,folder',
47
+ // `folder` isn't a documented filterable property, so the reply is
48
+ // re-checked by `keep`; when honored this just trims the payload
49
+ $filter: 'folder ne null',
50
+ },
51
+ keep: (item) => Boolean(item.folder),
52
+ filter,
53
+ paginationToken,
54
+ });
70
55
  }
71
56
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/folder/index.ts"],"names":[],"mappings":";;;;AAEA,kCAAwC;AACxC,4CAAmD;AAEtC,QAAA,SAAS,GAAoB;IACzC,WAAW,EAAE,eAAe;IAC5B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,WAAW,EAAE,sEAAsE;IACnF,WAAW,EAAE;QACZ,oBAAoB,EAAE,CAAC,YAAY,CAAC;KACpC;IACD,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB,EAAE,YAAY;gBAC9B,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uEAAuE;SACpF;KACD;CACD,CAAC;AAOF,2FAA2F;AAC3F,0FAA0F;AAC1F,sEAAsE;AACtE,MAAM,iBAAiB,GAAG,EAAE,CAAC;AAEtB,KAAK,qBAEX,MAAe,EACf,eAAwB;IAExB,MAAM,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAExE,MAAM,WAAW,GAAG,MAAM,EAAE,WAAW,EAAE,CAAC;IAC1C,MAAM,OAAO,GAAqC,EAAE,CAAC;IACrD,IAAI,SAAS,GAA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AAE,CAAC;AAChD,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/folder/index.ts"],"names":[],"mappings":";;;;AAEA,wDAA0D;AAC1D,kCAAwC;AAExC,mEAAmE;AACtD,QAAA,mBAAmB,GAAG,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AAEvC,QAAA,SAAS,GAAoB;IACzC,WAAW,EAAE,eAAe;IAC5B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE;IACpC,WAAW,EAAE,sEAAsE;IACnF,WAAW,EAAE;QACZ,oBAAoB,EAAE,CAAC,YAAY,CAAC;KACpC;IACD,KAAK,EAAE;QACN;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE;gBACZ,gBAAgB,EAAE,YAAY;gBAC9B,UAAU,EAAE,IAAI;aAChB;SACD;QACD;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uEAAuE;SACpF;KACD;CACD,CAAC;AAEF;;;GAGG;AACI,KAAK,qBAEX,MAAe,EACf,eAAwB;IAExB,MAAM,MAAM,GAAG,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAExE,OAAO,MAAM,8BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE;QACxC,QAAQ,EAAE,eAAe,kBAAkB,CAAC,MAAM,CAAC,cAAc;QACjE,EAAE,EAAE;YACH,OAAO,EAAE,gBAAgB;YACzB,mEAAmE;YACnE,iEAAiE;YACjE,OAAO,EAAE,gBAAgB;SACzB;QACD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;QACpC,MAAM;QACN,eAAe;KACf,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { IDataObject, ILoadOptionsFunctions, INodeListSearchResult } from 'n8n-workflow';
2
+ export declare const SEARCH_PAGE_LIMIT = 10;
3
+ export type CollectionSearchOptions<T> = {
4
+ /** First-page resource path; ignored once `paginationToken` is set. */
5
+ endpoint: string;
6
+ qs: IDataObject;
7
+ toResult: (item: T) => {
8
+ name: string;
9
+ value: string;
10
+ } | null;
11
+ filter?: string;
12
+ paginationToken?: string;
13
+ };
14
+ /**
15
+ * Pages through a Graph collection, mapping each entry via `toResult` (return
16
+ * `null` to drop it) and filtering on the produced label — Graph can't
17
+ * substring-filter these collections server-side.
18
+ */
19
+ export declare function searchGraphCollection<T>(this: ILoadOptionsFunctions, options: CollectionSearchOptions<T>): Promise<INodeListSearchResult>;
20
+ type DriveItem = {
21
+ id?: string;
22
+ name?: string;
23
+ folder?: unknown;
24
+ file?: unknown;
25
+ };
26
+ /** Drive-items wrapper over `searchGraphCollection`, labelling each by file name. */
27
+ export declare function searchDriveItems(this: ILoadOptionsFunctions, options: {
28
+ /** First-page resource path; ignored once `paginationToken` is set. */
29
+ endpoint: string;
30
+ qs: IDataObject;
31
+ keep: (item: DriveItem) => boolean;
32
+ filter?: string;
33
+ paginationToken?: string;
34
+ }): Promise<INodeListSearchResult>;
35
+ export {};
36
+ //# sourceMappingURL=graphSearch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphSearch.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/helpers/graphSearch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAM9F,eAAO,MAAM,iBAAiB,KAAK,CAAC;AAEpC,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI;IACxC,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,WAAW,CAAC;IAChB,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IAC9D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,CAAC,EAC5C,IAAI,EAAE,qBAAqB,EAC3B,OAAO,EAAE,uBAAuB,CAAC,CAAC,CAAC,GACjC,OAAO,CAAC,qBAAqB,CAAC,CAyChC;AAED,KAAK,SAAS,GAAG;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAElF,qFAAqF;AACrF,wBAAsB,gBAAgB,CACrC,IAAI,EAAE,qBAAqB,EAC3B,OAAO,EAAE;IACR,uEAAuE;IACvE,QAAQ,EAAE,MAAM,CAAC;IACjB,EAAE,EAAE,WAAW,CAAC;IAChB,IAAI,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC;IACnC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;CACzB,GACC,OAAO,CAAC,qBAAqB,CAAC,CAehC"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SEARCH_PAGE_LIMIT = void 0;
4
+ exports.searchGraphCollection = searchGraphCollection;
5
+ exports.searchDriveItems = searchDriveItems;
6
+ const transport_1 = require("../transport");
7
+ // Caps how many pages a single dropdown request walks looking for matches.
8
+ exports.SEARCH_PAGE_LIMIT = 10;
9
+ /**
10
+ * Pages through a Graph collection, mapping each entry via `toResult` (return
11
+ * `null` to drop it) and filtering on the produced label — Graph can't
12
+ * substring-filter these collections server-side.
13
+ */
14
+ async function searchGraphCollection(options) {
15
+ const filterLower = options.filter?.toLowerCase();
16
+ // Kept in the API's order — the editor concatenates pages.
17
+ const results = [];
18
+ let nextToken = options.paginationToken;
19
+ let pagesLeft = exports.SEARCH_PAGE_LIMIT;
20
+ do {
21
+ const response = nextToken
22
+ ? (await transport_1.microsoftApiRequest.call(this, 'GET', '', {}, {}, nextToken))
23
+ : (await transport_1.microsoftApiRequest.call(this, 'GET', options.endpoint, {}, options.qs));
24
+ for (const item of response.value ?? []) {
25
+ const result = options.toResult(item);
26
+ if (!result)
27
+ continue;
28
+ if (filterLower && !result.name.toLowerCase().includes(filterLower))
29
+ continue;
30
+ results.push(result);
31
+ }
32
+ nextToken = response['@odata.nextLink'];
33
+ pagesLeft -= 1;
34
+ } while (nextToken !== undefined &&
35
+ pagesLeft > 0 &&
36
+ (filterLower !== undefined || results.length === 0));
37
+ return { results, paginationToken: nextToken };
38
+ }
39
+ /** Drive-items wrapper over `searchGraphCollection`, labelling each by file name. */
40
+ async function searchDriveItems(options) {
41
+ return await searchGraphCollection.call(this, {
42
+ endpoint: options.endpoint,
43
+ qs: options.qs,
44
+ filter: options.filter,
45
+ paginationToken: options.paginationToken,
46
+ toResult: (item) => item.id && options.keep(item)
47
+ ? { name: item.name ?? String(item.id), value: String(item.id) }
48
+ : null,
49
+ });
50
+ }
51
+ //# sourceMappingURL=graphSearch.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graphSearch.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/helpers/graphSearch.ts"],"names":[],"mappings":";;;;;AAGA,4CAAmD;AAEnD,2EAA2E;AAC9D,QAAA,iBAAiB,GAAG,EAAE,CAAC;AAWpC;;;;GAIG;AACI,KAAK,gCAEX,OAAmC;IAEnC,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,qBAAqB,CAAC,IAAI,CAIrC,IAAI,EAAE;QACP,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,MAAM,EAAE,OAAO,CAAC,MAAM;QACtB,eAAe,EAAE,OAAO,CAAC,eAAe;QACxC,QAAQ,EAAE,CAAC,IAAI,EAAE,EAAE,CAClB,IAAI,CAAC,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;YAC5B,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YAChE,CAAC,CAAC,IAAI;KACR,CAAC,CAAC;AACJ,CAAC"}
@@ -1,14 +1,53 @@
1
- import type { INode } from 'n8n-workflow';
1
+ import type { IDataObject, IExecuteFunctions, INode } from 'n8n-workflow';
2
+ import { NodeOperationError } from 'n8n-workflow';
2
3
  /** v1's Simplify $select list — the exact trimmed fields v2 keeps returning; Get Many reuses it. */
3
4
  export declare const LIST_SIMPLIFY_SELECT = "id,name,displayName,description,createdDateTime,lastModifiedDateTime,webUrl";
5
+ /** v1's item Simplify request shape — the trimmed top-level fields v2 keeps returning. */
6
+ export declare const ITEM_SIMPLIFY_SELECT = "id,createdDateTime,lastModifiedDateTime,webUrl";
7
+ export declare const ITEM_SIMPLIFY_EXPAND = "fields($select=Title)";
8
+ /** Match v1's simplifyItemPostReceive exactly: only these annotation keys are stripped. */
9
+ export declare function simplifyItem(item: IDataObject): IDataObject;
10
+ /**
11
+ * Validates and trims a value used verbatim as a URL path segment. Rejects
12
+ * empty, `.` and `..`, which would address a different resource than intended.
13
+ */
14
+ export declare function assertPathSegment(node: INode, value: string, paramName: string): string;
4
15
  /** Shape shared by every Graph collection reply a listSearch method here consumes. */
5
16
  export type GraphSearchReply<T> = {
6
17
  '@odata.nextLink'?: string;
7
18
  value?: T[];
8
19
  };
20
+ /**
21
+ * Builds a `fields/{column} eq '{value}'` OData $filter clause. The value is
22
+ * always compared as a quoted string literal, where the only special character
23
+ * is the single quote, escaped by doubling; URL encoding is the transport's job.
24
+ */
25
+ export declare const odataFieldEqualsClause: (column: string, value: unknown) => string;
26
+ /** SharePoint refuses to filter on non-indexed columns without this opt-in. */
27
+ export declare const NON_INDEXED_QUERY_HEADERS: IDataObject;
28
+ /** Graph rejects hyperlink field writes without this (see list/columns.ts). */
29
+ export declare const HYPERLINK_WRITE_HEADERS: IDataObject;
30
+ /**
31
+ * Translates Graph's list-view-threshold failure (a non-indexed $filter on a
32
+ * >5,000-item list) into an error naming the filtered column(s); the run must
33
+ * never return a silent partial result. Returns `undefined` for other errors.
34
+ */
35
+ export declare function nonIndexedFilterThresholdError(node: INode, error: unknown, filter: string): NodeOperationError | undefined;
36
+ /** Graph's unique-constraint rejection names no column; point the user at the mapper. */
37
+ export declare function addUniqueConstraintHint(error: unknown): void;
9
38
  /** Characters SharePoint forbids in file names; Graph rejects them with a misleading 400. */
10
39
  export declare const SHAREPOINT_ILLEGAL_FILE_NAME_CHARS: string[];
11
40
  /** Graph's cap for a single-request `PUT …:/content` upload; larger files need an upload session. */
12
41
  export declare const MAX_SIMPLE_UPLOAD_BYTES: number;
13
42
  export declare function validateSharePointFileName(node: INode, fileName: string | undefined, itemIndex: number): asserts fileName is string;
43
+ /**
44
+ * Asserts the input binary exists, enforces the simple-upload size cap, and
45
+ * returns the payload with its content type. Out-of-process binary data is
46
+ * size-checked from its metadata — oversized files are rejected without ever
47
+ * being read.
48
+ */
49
+ export declare function getUploadBufferWithinCap(ctx: IExecuteFunctions, itemIndex: number, binaryPropertyName: string): Promise<{
50
+ body: Buffer;
51
+ contentType: string;
52
+ }>;
14
53
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/helpers/utils.ts"],"names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