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.
- package/dist/cjs/build.tsbuildinfo +1 -1
- package/dist/credentials/AzureStorageOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/AzureStorageOAuth2Api.credentials.js +31 -1
- package/dist/credentials/AzureStorageOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/DatabricksOAuth2Api.credentials.js +4 -4
- package/dist/credentials/DatabricksOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GSuiteAdminOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GSuiteAdminOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GmailOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GmailOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GmailOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleAdsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleAdsOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleAdsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleAnalyticsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleBooksOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleBooksOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleBooksOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleBusinessProfileOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleChatOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleChatOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleChatOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleCloudNaturalLanguageOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleContactsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleContactsOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleContactsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleDocsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleDocsOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleDocsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleFirebaseCloudFirestoreOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleFirebaseRealtimeDatabaseOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GooglePerspectiveOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleSlidesOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleSlidesOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleSlidesOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleTasksOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleTasksOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleTasksOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleTranslateOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/GoogleTranslateOAuth2Api.credentials.js +31 -1
- package/dist/credentials/GoogleTranslateOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.js +34 -1
- package/dist/credentials/MicrosoftAzureMonitorOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.js +34 -1
- package/dist/credentials/MicrosoftDynamicsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js +32 -1
- package/dist/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/N8nApi.credentials.js +1 -1
- package/dist/credentials/N8nApi.credentials.js.map +1 -1
- package/dist/credentials/YouTubeOAuth2Api.credentials.d.ts.map +1 -1
- package/dist/credentials/YouTubeOAuth2Api.credentials.js +31 -1
- package/dist/credentials/YouTubeOAuth2Api.credentials.js.map +1 -1
- package/dist/known/nodes.json +4 -0
- package/dist/methods/defined.json +5 -0
- package/dist/methods/referenced.json +5 -0
- package/dist/node-definitions/.nodes-hash +1 -1
- package/dist/node-definitions/index.ts +8 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/amqp/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/amqpTrigger/v1.ts +8 -8
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v1/resource_row/operation_get_all.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/baserow/v11/resource_row/operation_get_all.ts +6 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/e2eTestPollingTrigger/v1.ts +73 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_send_and_wait.schema.js +0 -3
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_message/operation_send_and_wait.ts +0 -33
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v2/resource_thread/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_send_and_wait.schema.js +0 -3
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_message/operation_send_and_wait.ts +0 -33
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v21/resource_thread/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_get_all.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_send_and_wait.schema.js +0 -3
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_message/operation_send_and_wait.ts +0 -33
- package/dist/node-definitions/nodes/n8n-nodes-base/gmail/v22/resource_thread/operation_get.ts +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v12.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v13.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/gmailTrigger/v14.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/googleAnalytics/v2/resource_report/operation_get.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v1.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v1.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v11.schema.js +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/graphql/v11.ts +1 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/v45.schema.js +56 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/httpRequest/v45.ts +425 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/index.ts +12 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/index.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/index.ts +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/index.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/index.ts +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_append.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_append.ts +100 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_convert_to_range.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_convert_to_range.ts +53 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_create.schema.js +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_create.ts +62 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_delete_table.schema.js +27 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_delete_table.ts +53 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_all.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_all.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_columns.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_columns.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_rows.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_get_rows.ts +85 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_lookup.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_table/operation_lookup.ts +71 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/index.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/index.ts +18 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_add_worksheet.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_add_worksheet.ts +50 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_delete_workbook.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_delete_workbook.ts +41 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_get_all.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_workbook/operation_get_all.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/index.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/index.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_append.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_append.ts +89 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_clear.schema.js +29 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_clear.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_delete_worksheet.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_delete_worksheet.ts +47 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_get_all.schema.js +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_get_all.ts +61 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_read_rows.schema.js +31 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_read_rows.ts +91 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_update.schema.js +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_update.ts +123 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_upsert.schema.js +33 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftExcelSharePoint/v1/resource_worksheet/operation_upsert.ts +116 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftOutlook/v2/resource_event/operation_create.ts +2 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/v12.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/microsoftSql/v12.ts +63 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_aggregate.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_aggregate.ts +8 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_delete.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_delete.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_find.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v1/resource_document/operation_find.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_aggregate.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_aggregate.ts +8 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_delete.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_delete.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_find.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v11/resource_document/operation_find.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_aggregate.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_aggregate.ts +8 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_delete.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_delete.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_find.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v12/resource_document/operation_find.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_aggregate.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_aggregate.ts +8 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_delete.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_delete.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_find.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v13/resource_document/operation_find.ts +8 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/index.schema.js +22 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/index.ts +15 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/index.schema.js +32 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/index.ts +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_aggregate.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_aggregate.ts +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_delete.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_delete.ts +37 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_replace.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_replace.ts +52 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_update.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_find_one_and_update.ts +52 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_insert.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_insert.ts +42 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_update.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_document/operation_update.ts +52 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/index.schema.js +26 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/index.ts +21 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_create_search_index.schema.js +25 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_create_search_index.ts +39 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_drop_search_index.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_drop_search_index.ts +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_list_search_indexes.schema.js +23 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_list_search_indexes.ts +28 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_update_search_index.schema.js +24 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/mongoDb/v14/resource_search_indexes/operation_update_search_index.ts +34 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.schema.js +36 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/oracleDatabase/v11.ts +262 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v1.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v1.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v11.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v11.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v12.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v12.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v13.schema.js +1 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/scheduleTrigger/v13.ts +5 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v2/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v2/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v21/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v21/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v22/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v22/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v23/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v23/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v24/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v24/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v25/resource_message/operation_send_and_wait.schema.js +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/slack/v25/resource_message/operation_send_and_wait.ts +25 -13
- package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/index.ts +3 -1
- package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/v11.schema.js +30 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/snowflake/v11.ts +59 -0
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_and_wait.schema.js +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v1/resource_message/operation_send_and_wait.ts +23 -24
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_and_wait.schema.js +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v11/resource_message/operation_send_and_wait.ts +23 -24
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_and_wait.schema.js +4 -2
- package/dist/node-definitions/nodes/n8n-nodes-base/telegram/v12/resource_message/operation_send_and_wait.ts +23 -24
- package/dist/nodes/Airtable/v2/helpers/utils.d.ts +7 -0
- package/dist/nodes/Airtable/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Airtable/v2/helpers/utils.js +22 -2
- package/dist/nodes/Airtable/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Amqp/Amqp.node.js +1 -1
- package/dist/nodes/Amqp/AmqpTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Amqp/AmqpTrigger.node.js +45 -26
- package/dist/nodes/Amqp/AmqpTrigger.node.js.map +1 -1
- package/dist/nodes/Amqp/helpers/handleMessage.d.ts +0 -2
- package/dist/nodes/Amqp/helpers/handleMessage.d.ts.map +1 -1
- package/dist/nodes/Amqp/helpers/handleMessage.js +0 -5
- package/dist/nodes/Amqp/helpers/handleMessage.js.map +1 -1
- package/dist/nodes/Baserow/Baserow.node.d.ts.map +1 -1
- package/dist/nodes/Baserow/Baserow.node.js +3 -2
- package/dist/nodes/Baserow/Baserow.node.js.map +1 -1
- package/dist/nodes/Baserow/GenericFunctions.d.ts +10 -0
- package/dist/nodes/Baserow/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Baserow/GenericFunctions.js +98 -1
- package/dist/nodes/Baserow/GenericFunctions.js.map +1 -1
- package/dist/nodes/Baserow/OperationDescription.d.ts.map +1 -1
- package/dist/nodes/Baserow/OperationDescription.js +46 -28
- package/dist/nodes/Baserow/OperationDescription.js.map +1 -1
- package/dist/nodes/Baserow/types.d.ts +1 -0
- package/dist/nodes/Baserow/types.d.ts.map +1 -1
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.d.ts +6 -0
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.d.ts.map +1 -0
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.js +50 -0
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.js.map +1 -0
- package/dist/nodes/E2eTest/E2eTestPollingTrigger.node.json +18 -0
- package/dist/nodes/EditImage/EditImage.node.d.ts.map +1 -1
- package/dist/nodes/EditImage/EditImage.node.js +45 -3
- package/dist/nodes/EditImage/EditImage.node.js.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.d.ts.map +1 -1
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js +1 -0
- package/dist/nodes/ExecuteWorkflow/ExecuteWorkflow/ExecuteWorkflow.node.js.map +1 -1
- package/dist/nodes/Filter/V1/GenericFunctions.d.ts +1 -0
- package/dist/nodes/Filter/V1/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Filter/V1/GenericFunctions.js +7 -28
- package/dist/nodes/Filter/V1/GenericFunctions.js.map +1 -1
- package/dist/nodes/Form/Form.node.d.ts.map +1 -1
- package/dist/nodes/Form/Form.node.js +3 -7
- package/dist/nodes/Form/Form.node.js.map +1 -1
- package/dist/nodes/Form/utils/formCompletionUtils.d.ts.map +1 -1
- package/dist/nodes/Form/utils/formCompletionUtils.js +7 -4
- package/dist/nodes/Form/utils/formCompletionUtils.js.map +1 -1
- package/dist/nodes/Form/utils/formNodeUtils.d.ts.map +1 -1
- package/dist/nodes/Form/utils/formNodeUtils.js +6 -4
- package/dist/nodes/Form/utils/formNodeUtils.js.map +1 -1
- package/dist/nodes/Form/utils/utils.d.ts +1 -0
- package/dist/nodes/Form/utils/utils.d.ts.map +1 -1
- package/dist/nodes/Form/utils/utils.js +5 -2
- package/dist/nodes/Form/utils/utils.js.map +1 -1
- package/dist/nodes/Git/Git.node.d.ts.map +1 -1
- package/dist/nodes/Git/Git.node.js +28 -4
- package/dist/nodes/Git/Git.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +3 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/utils/descriptions.d.ts +5 -0
- package/dist/nodes/Google/Gmail/utils/descriptions.d.ts.map +1 -0
- package/dist/nodes/Google/Gmail/utils/descriptions.js +12 -0
- package/dist/nodes/Google/Gmail/utils/descriptions.js.map +1 -0
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.js +4 -7
- package/dist/nodes/Google/Gmail/v2/GmailV2.node.js.map +1 -1
- package/dist/nodes/Google/Gmail/v2/MessageDescription.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/v2/MessageDescription.js +13 -0
- package/dist/nodes/Google/Gmail/v2/MessageDescription.js.map +1 -1
- package/dist/nodes/Google/Gmail/v2/ThreadDescription.d.ts.map +1 -1
- package/dist/nodes/Google/Gmail/v2/ThreadDescription.js +7 -0
- package/dist/nodes/Google/Gmail/v2/ThreadDescription.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/methods/loadOptions.d.ts.map +1 -1
- package/dist/nodes/Google/Sheet/v2/methods/loadOptions.js +5 -2
- package/dist/nodes/Google/Sheet/v2/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.d.ts.map +1 -1
- package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js +4 -1
- package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js.map +1 -1
- package/dist/nodes/GraphQL/GraphQL.node.d.ts.map +1 -1
- package/dist/nodes/GraphQL/GraphQL.node.js +31 -45
- package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
- package/dist/nodes/HttpRequest/HttpRequest.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/HttpRequest.node.js +2 -1
- package/dist/nodes/HttpRequest/HttpRequest.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +19 -21
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.d.ts.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +8 -2
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/utils/error-details.d.ts +3 -0
- package/dist/nodes/HttpRequest/V3/utils/error-details.d.ts.map +1 -0
- package/dist/nodes/HttpRequest/V3/utils/error-details.js +62 -0
- package/dist/nodes/HttpRequest/V3/utils/error-details.js.map +1 -0
- package/dist/nodes/If/V1/IfV1.node.d.ts +2 -1
- package/dist/nodes/If/V1/IfV1.node.d.ts.map +1 -1
- package/dist/nodes/If/V1/IfV1.node.js +7 -28
- package/dist/nodes/If/V1/IfV1.node.js.map +1 -1
- package/dist/nodes/KoBoToolbox/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/KoBoToolbox/GenericFunctions.js +1 -2
- package/dist/nodes/KoBoToolbox/GenericFunctions.js.map +1 -1
- package/dist/nodes/MessageAnAgent/MessageAnAgent.node.d.ts.map +1 -1
- package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js +4 -1
- package/dist/nodes/MessageAnAgent/MessageAnAgent.node.js.map +1 -1
- package/dist/nodes/MessageAnAgent/generateSchemaFromExample.d.ts +8 -0
- package/dist/nodes/MessageAnAgent/generateSchemaFromExample.d.ts.map +1 -0
- package/dist/nodes/MessageAnAgent/generateSchemaFromExample.js +40 -0
- package/dist/nodes/MessageAnAgent/generateSchemaFromExample.js.map +1 -0
- package/dist/nodes/MessageAnAgent/shared.d.ts +2 -5
- package/dist/nodes/MessageAnAgent/shared.d.ts.map +1 -1
- package/dist/nodes/MessageAnAgent/shared.js +128 -20
- package/dist/nodes/MessageAnAgent/shared.js.map +1 -1
- package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.d.ts.map +1 -1
- package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js +4 -1
- package/dist/nodes/MessageAnAgent/v2/MessageAnAgentV2.node.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.d.ts +6 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.js +106 -4
- package/dist/nodes/Microsoft/ExcelSharePoint/MicrosoftExcelSharePoint.node.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.js +212 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/append.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.js +26 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/convertToRange.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.js +82 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/create.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.js +27 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/deleteTable.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.js +1 -23
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.js +43 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getColumns.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.js +43 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/getRows.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.js +76 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/table/lookup.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.d.ts +2 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.js +10 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/Workbook.resource.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.js +65 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/workbook/getAll.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.js +206 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/update.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.js +176 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/actions/worksheet/upsert.operation.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.d.ts +2 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.js +92 -6
- package/dist/nodes/Microsoft/ExcelSharePoint/descriptions/common.descriptions.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.js +40 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/constants.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.d.ts +10 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.js +128 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/matchUpdate.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.d.ts +9 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.js +26 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/tableRead.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.d.ts +3 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.js +39 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.d.ts +11 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.js +16 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/helpers/workbookSearch.js.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.d.ts +8 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.js +8 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/index.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.d.ts +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.d.ts.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.js +27 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/listSearch.js.map +1 -1
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.d.ts +5 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.d.ts.map +1 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.js +45 -0
- package/dist/nodes/Microsoft/ExcelSharePoint/methods/loadOptions.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.d.ts +2 -0
- package/dist/nodes/Microsoft/SharePoint/v2/MicrosoftSharePointV2.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js +105 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/download.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.d.ts +3 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.js +19 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js +126 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/update.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js +5 -20
- package/dist/nodes/Microsoft/SharePoint/v2/actions/file/upload.operation.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js +50 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/create.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js +52 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/delete.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js +67 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/get.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js +119 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/getAll.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.d.ts +10 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.js +107 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js +57 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/update.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.d.ts +31 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js +90 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/item/upsert.operation.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/node.type.d.ts +2 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/node.type.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/router.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/router.js +16 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/router.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.js +9 -0
- package/dist/nodes/Microsoft/SharePoint/v2/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.d.ts +8 -0
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.js +69 -0
- package/dist/nodes/Microsoft/SharePoint/v2/file/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.d.ts +8 -0
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js +20 -35
- package/dist/nodes/Microsoft/SharePoint/v2/folder/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.d.ts +36 -0
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.js +51 -0
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/graphSearch.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.d.ts +40 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.js +99 -1
- package/dist/nodes/Microsoft/SharePoint/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts +50 -0
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.d.ts.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js +194 -0
- package/dist/nodes/Microsoft/SharePoint/v2/item/index.js.map +1 -0
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js +16 -9
- package/dist/nodes/Microsoft/SharePoint/v2/list/columns.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/list/index.js +3 -0
- package/dist/nodes/Microsoft/SharePoint/v2/list/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts +4 -0
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js +4 -0
- package/dist/nodes/Microsoft/SharePoint/v2/methods/index.js.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/transport/index.d.ts +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/SharePoint/v2/transport/index.js +44 -3
- package/dist/nodes/Microsoft/SharePoint/v2/transport/index.js.map +1 -1
- package/dist/nodes/Microsoft/Sql/GenericFunctions.d.ts +2 -2
- package/dist/nodes/Microsoft/Sql/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Sql/GenericFunctions.js +17 -3
- package/dist/nodes/Microsoft/Sql/GenericFunctions.js.map +1 -1
- package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js +2 -2
- package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.js +5 -5
- package/dist/nodes/Microsoft/Teams/v1/GenericFunctions.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.js +13 -16
- package/dist/nodes/Microsoft/Teams/v1/MicrosoftTeamsV1.node.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/getAll.operation.js +2 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/channel/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.js +1 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/channelMessage/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js +1 -2
- package/dist/nodes/Microsoft/Teams/v2/actions/chatMessage/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.js +4 -4
- package/dist/nodes/Microsoft/Teams/v2/actions/task/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.d.ts.map +1 -1
- package/dist/nodes/Microsoft/Teams/v2/transport/index.js +5 -5
- package/dist/nodes/Microsoft/Teams/v2/transport/index.js.map +1 -1
- package/dist/nodes/MongoDb/GenericFunctions.d.ts +3 -1
- package/dist/nodes/MongoDb/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/MongoDb/GenericFunctions.js +98 -8
- package/dist/nodes/MongoDb/GenericFunctions.js.map +1 -1
- package/dist/nodes/MongoDb/MongoDb.node.d.ts.map +1 -1
- package/dist/nodes/MongoDb/MongoDb.node.js +8 -4
- package/dist/nodes/MongoDb/MongoDb.node.js.map +1 -1
- package/dist/nodes/MongoDb/MongoDbProperties.d.ts.map +1 -1
- package/dist/nodes/MongoDb/MongoDbProperties.js +28 -7
- package/dist/nodes/MongoDb/MongoDbProperties.js.map +1 -1
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts +3 -3
- package/dist/nodes/Notion/shared/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Notion/shared/GenericFunctions.js +1 -2
- package/dist/nodes/Notion/shared/GenericFunctions.js.map +1 -1
- package/dist/nodes/Notion/v2/methods/loadOptions.d.ts.map +1 -1
- package/dist/nodes/Notion/v2/methods/loadOptions.js +5 -1
- package/dist/nodes/Notion/v2/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Notion/v3/methods/loadOptions.d.ts.map +1 -1
- package/dist/nodes/Notion/v3/methods/loadOptions.js +5 -1
- package/dist/nodes/Notion/v3/methods/loadOptions.js.map +1 -1
- package/dist/nodes/Oracle/Sql/actions/versionDescription.js +1 -1
- package/dist/nodes/Oracle/Sql/actions/versionDescription.js.map +1 -1
- package/dist/nodes/Oracle/Sql/helpers/utils.d.ts.map +1 -1
- package/dist/nodes/Oracle/Sql/helpers/utils.js +54 -16
- package/dist/nodes/Oracle/Sql/helpers/utils.js.map +1 -1
- package/dist/nodes/RenameKeys/RenameKeys.node.d.ts.map +1 -1
- package/dist/nodes/RenameKeys/RenameKeys.node.js +2 -3
- package/dist/nodes/RenameKeys/RenameKeys.node.js.map +1 -1
- package/dist/nodes/Schedule/ScheduleTrigger.node.d.ts.map +1 -1
- package/dist/nodes/Schedule/ScheduleTrigger.node.js +12 -0
- package/dist/nodes/Schedule/ScheduleTrigger.node.js.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.js +11 -3
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
- package/dist/nodes/Slack/V2/MessageDescription.d.ts +3 -0
- package/dist/nodes/Slack/V2/MessageDescription.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/MessageDescription.js +52 -2
- package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/SlackHitlWebhook.js +14 -10
- package/dist/nodes/Slack/V2/SlackHitlWebhook.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.d.ts +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.d.ts.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.js +16 -5
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.d.ts +5 -2
- package/dist/nodes/Snowflake/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Snowflake/GenericFunctions.js +55 -3
- package/dist/nodes/Snowflake/GenericFunctions.js.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.d.ts.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.js +8 -7
- package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
- package/dist/nodes/Supabase/GenericFunctions.d.ts +3 -7
- package/dist/nodes/Supabase/GenericFunctions.d.ts.map +1 -1
- package/dist/nodes/Supabase/GenericFunctions.js +38 -16
- package/dist/nodes/Supabase/GenericFunctions.js.map +1 -1
- package/dist/nodes/Supabase/Supabase.node.js +6 -6
- package/dist/nodes/Supabase/Supabase.node.js.map +1 -1
- package/dist/nodes/Switch/V1/SwitchV1.node.d.ts +2 -1
- package/dist/nodes/Switch/V1/SwitchV1.node.d.ts.map +1 -1
- package/dist/nodes/Switch/V1/SwitchV1.node.js +7 -28
- package/dist/nodes/Switch/V1/SwitchV1.node.js.map +1 -1
- package/dist/nodes/Switch/V2/SwitchV2.node.d.ts +2 -1
- package/dist/nodes/Switch/V2/SwitchV2.node.d.ts.map +1 -1
- package/dist/nodes/Switch/V2/SwitchV2.node.js +7 -28
- package/dist/nodes/Switch/V2/SwitchV2.node.js.map +1 -1
- package/dist/nodes/Telegram/hitl/descriptions.d.ts.map +1 -1
- package/dist/nodes/Telegram/hitl/descriptions.js +48 -30
- package/dist/nodes/Telegram/hitl/descriptions.js.map +1 -1
- package/dist/nodes/Telegram/hitl/webhook.d.ts.map +1 -1
- package/dist/nodes/Telegram/hitl/webhook.js +3 -4
- package/dist/nodes/Telegram/hitl/webhook.js.map +1 -1
- package/dist/nodes/Wordpress/Wordpress.node.d.ts.map +1 -1
- package/dist/nodes/Wordpress/Wordpress.node.js +6 -0
- package/dist/nodes/Wordpress/Wordpress.node.js.map +1 -1
- package/dist/types/credentials.json +25 -25
- package/dist/types/nodes.json +23 -22
- package/dist/utils/binary.d.ts +11 -1
- package/dist/utils/binary.d.ts.map +1 -1
- package/dist/utils/binary.js +21 -0
- package/dist/utils/binary.js.map +1 -1
- package/dist/utils/sendAndWait/descriptions.d.ts +0 -7
- package/dist/utils/sendAndWait/descriptions.d.ts.map +1 -1
- package/dist/utils/sendAndWait/descriptions.js +1 -19
- package/dist/utils/sendAndWait/descriptions.js.map +1 -1
- package/dist/utils/sendAndWait/email-templates.d.ts +0 -7
- package/dist/utils/sendAndWait/email-templates.d.ts.map +1 -1
- package/dist/utils/sendAndWait/email-templates.js +1 -59
- package/dist/utils/sendAndWait/email-templates.js.map +1 -1
- package/dist/utils/sendAndWait/utils.d.ts.map +1 -1
- package/dist/utils/sendAndWait/utils.js +2 -14
- package/dist/utils/sendAndWait/utils.js.map +1 -1
- package/dist/utils/workflowInputsResourceMapping/GenericFunctions.d.ts.map +1 -1
- package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js +3 -1
- package/dist/utils/workflowInputsResourceMapping/GenericFunctions.js.map +1 -1
- package/package.json +12 -11
- package/dist/nodes/Google/Gmail/v2/hitl/descriptions.d.ts +0 -16
- package/dist/nodes/Google/Gmail/v2/hitl/descriptions.d.ts.map +0 -1
- package/dist/nodes/Google/Gmail/v2/hitl/descriptions.js +0 -86
- package/dist/nodes/Google/Gmail/v2/hitl/descriptions.js.map +0 -1
- package/dist/nodes/Google/Gmail/v2/hitl/email.d.ts +0 -11
- package/dist/nodes/Google/Gmail/v2/hitl/email.d.ts.map +0 -1
- package/dist/nodes/Google/Gmail/v2/hitl/email.js +0 -69
- 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,wBAAiB;aACpB;SACD;KACD;IACD,IAAA,qBAAW,EAAC,QAAQ,CAAC;CACrB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,gCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,kBAEX,CAAS,EACT,WAAiC;IAEjC,MAAM,MAAM,GAAG,MAAM,oBAAa,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,IAAA,yBAAiB,EACtC,IAAI,CAAC,OAAO,EAAE,EACd,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC,CAAC,EACpE,MAAM,CACN,CAAC;IAEF,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,yBAAyB,EAAE,CAAC,EAAE,EAAE,CAAa,CAAC;IAC5F,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,EAAE,EAAE,CAA0B,CAAC;IACvF,MAAM,MAAM,GAAG,8BAAuB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAErD,MAAM,GAAG,GAAG,MAAM,4BAAqB,CAAC,IAAI,CAC3C,IAAI,EACJ,MAAM,EACN,aAAa,EACb,eAAe,EACf,MAAM,CACN,CAAC;IACF,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;QACrB,wEAAwE;QACxE,uDAAuD;QACvD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,6CAA6C,EAAE;YAC3F,WAAW,EACV,yGAAyG;SAC1G,CAAC,CAAC;IACJ,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;
|
|
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,
|
|
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
|
-
|
|
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,+
|
|
1
|
+
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/actions/router.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAKsB;AAEtB,MAAY,IAAI,mCAAe;AAC/B,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,CAAC;gBACrC,KAAK,MAAM;oBACV,IAAI,CAAC,CAAC,kBAAkB,CAAC,SAAS,IAAI,IAAI,CAAC,EAAE,CAAC;wBAC7C,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,kBAAkB,SAAS,qBAAqB,CAChD,CAAC;oBACH,CAAC;oBACD,YAAY,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,IAAI,CACnE,IAAI,EACJ,CAAC,EACD,WAAW,CACX,CAAC;oBACF,MAAM;gBACP,KAAK,MAAM;oBACV,IAAI,CAAC,CAAC,kBAAkB,CAAC,SAAS,IAAI,IAAI,CAAC,EAAE,CAAC;wBAC7C,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,kBAAkB,SAAS,qBAAqB,CAChD,CAAC;oBACH,CAAC;oBACD,yEAAyE;oBACzE,wEAAwE;oBACxE,0EAA0E;oBAC1E,YAAY,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,IAAI,CACnE,IAAI,EACJ,CAAC,EACD,WAAW,CACX,CAAC;oBACF,MAAM;gBACP,KAAK,MAAM;oBACV,IAAI,CAAC,CAAC,kBAAkB,CAAC,SAAS,IAAI,IAAI,CAAC,EAAE,CAAC;wBAC7C,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,kBAAkB,SAAS,qBAAqB,CAChD,CAAC;oBACH,CAAC;oBACD,YAAY,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,IAAI,CACnE,IAAI,EACJ,CAAC,EACD,WAAW,CACX,CAAC;oBACF,MAAM;gBACP;oBACC,MAAM,IAAI,iCAAkB,CAC3B,IAAI,CAAC,OAAO,EAAE,EACd,iBAAiB,QAAQ,qBAAqB,CAC9C,CAAC;YACJ,CAAC;YAED,8DAA8D;YAC9D,mEAAmE;YACnE,wEAAwE;YACxE,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;
|
|
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;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,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;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;
|
|
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
|
-
|
|
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
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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;
|
|
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,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC;IAClD,2DAA2D;IAC3D,MAAM,OAAO,GAAqC,EAAE,CAAC;IACrD,IAAI,SAAS,GAAG,OAAO,CAAC,eAAe,CAAC;IACxC,IAAI,SAAS,GAAG,QAAA,iBAAiB,CAAC;IAElC,GAAG,CAAC;QACH,MAAM,QAAQ,GAAG,SAAS;YACzB,CAAC,CAAE,CAAC,MAAM,+BAAmB,CAAC,IAAI,CAChC,IAAI,EACJ,KAAK,EACL,EAAE,EACF,EAAE,EACF,EAAE,EACF,SAAS,CACT,CAAyB;YAC3B,CAAC,CAAE,CAAC,MAAM,+BAAmB,CAAC,IAAI,CAChC,IAAI,EACJ,KAAK,EACL,OAAO,CAAC,QAAQ,EAChB,EAAE,EACF,OAAO,CAAC,EAAE,CACV,CAAyB,CAAC;QAE7B,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,KAAK,IAAI,EAAE,EAAE,CAAC;YACzC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACtC,IAAI,CAAC,MAAM;gBAAE,SAAS;YACtB,IAAI,WAAW,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC;gBAAE,SAAS;YAC9E,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtB,CAAC;QAED,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;QACxC,SAAS,IAAI,CAAC,CAAC;IAChB,CAAC,QACA,SAAS,KAAK,SAAS;QACvB,SAAS,GAAG,CAAC;QACb,CAAC,WAAW,KAAK,SAAS,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,CAAC,EAClD;IAEF,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,CAAC;AAChD,CAAC;AAID,qFAAqF;AAC9E,KAAK,2BAEX,OAOC;IAED,OAAO,MAAM,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":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../nodes/Microsoft/SharePoint/v2/helpers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAiC,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEjF,oGAAoG;AACpG,eAAO,MAAM,oBAAoB,gFAC6C,CAAC;AAE/E,0FAA0F;AAC1F,eAAO,MAAM,oBAAoB,mDAAmD,CAAC;AAGrF,eAAO,MAAM,oBAAoB,0BAA0B,CAAC;AAE5D,2FAA2F;AAC3F,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,WAAW,CAM3D;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAavF;AAED,sFAAsF;AACtF,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI;IAAE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,CAAC,EAAE,CAAA;CAAE,CAAC;AAE9E;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,WAAY,MAAM,SAAS,OAAO,WACA,CAAC;AAEtE,+EAA+E;AAC/E,eAAO,MAAM,yBAAyB,EAAE,WAEvC,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,uBAAuB,EAAE,WAA0C,CAAC;AAEjF;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC7C,IAAI,EAAE,KAAK,EACX,KAAK,EAAE,OAAO,EACd,MAAM,EAAE,MAAM,GACZ,kBAAkB,GAAG,SAAS,CAchC;AAED,yFAAyF;AACzF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI,CAI5D;AAED,6FAA6F;AAC7F,eAAO,MAAM,kCAAkC,UAAiD,CAAC;AAEjG,qGAAqG;AACrG,eAAO,MAAM,uBAAuB,QAAoB,CAAC;AAEzD,wBAAgB,0BAA0B,CACzC,IAAI,EAAE,KAAK,EACX,QAAQ,EAAE,MAAM,GAAG,SAAS,EAC5B,SAAS,EAAE,MAAM,GACf,OAAO,CAAC,QAAQ,IAAI,MAAM,CAoB5B;AAED;;;;;GAKG;AACH,wBAAsB,wBAAwB,CAC7C,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,MAAM,EACjB,kBAAkB,EAAE,MAAM,GACxB,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CA2BhD"}
|