n8n-nodes-base 0.232.1 → 0.234.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build.tsbuildinfo +1 -1
- package/dist/credentials/{SendInBlueApi.credentials.d.ts → BrevoApi.credentials.d.ts} +1 -1
- package/dist/credentials/{SendInBlueApi.credentials.js → BrevoApi.credentials.js} +7 -7
- package/dist/credentials/BrevoApi.credentials.js.map +1 -0
- package/dist/credentials/CrowdDevApi.credentials.d.ts +9 -0
- package/dist/credentials/CrowdDevApi.credentials.js +62 -0
- package/dist/credentials/CrowdDevApi.credentials.js.map +1 -0
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js +6 -0
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/HttpCustomAuth.credentials.d.ts +9 -0
- package/dist/credentials/HttpCustomAuth.credentials.js +25 -0
- package/dist/credentials/HttpCustomAuth.credentials.js.map +1 -0
- package/dist/credentials/TwitterOAuth1Api.credentials.js +6 -0
- package/dist/credentials/TwitterOAuth1Api.credentials.js.map +1 -1
- package/dist/credentials/TwitterOAuth2Api.credentials.d.ts +8 -0
- package/dist/credentials/TwitterOAuth2Api.credentials.js +73 -0
- package/dist/credentials/TwitterOAuth2Api.credentials.js.map +1 -0
- package/dist/known/credentials.json +35 -11
- package/dist/known/nodes.json +16 -8
- package/dist/nodes/{SendInBlue → Brevo}/AttributeDescription.js +1 -1
- package/dist/nodes/Brevo/AttributeDescription.js.map +1 -0
- package/dist/nodes/{SendInBlue/SendInBlue.node.d.ts → Brevo/Brevo.node.d.ts} +1 -1
- package/dist/nodes/{SendInBlue/SendInBlue.node.js → Brevo/Brevo.node.js} +9 -9
- package/dist/nodes/Brevo/Brevo.node.js.map +1 -0
- package/dist/nodes/{SendInBlue/SendInBlue.node.json → Brevo/Brevo.node.json} +5 -4
- package/dist/nodes/{SendInBlue/SendInBlueTrigger.node.d.ts → Brevo/BrevoTrigger.node.d.ts} +1 -1
- package/dist/nodes/{SendInBlue/SendInBlueTrigger.node.js → Brevo/BrevoTrigger.node.js} +11 -11
- package/dist/nodes/Brevo/BrevoTrigger.node.js.map +1 -0
- package/dist/nodes/{SendInBlue/SendInBlueTrigger.node.json → Brevo/BrevoTrigger.node.json} +5 -4
- package/dist/nodes/Brevo/ContactDescription.js.map +1 -0
- package/dist/nodes/{SendInBlue → Brevo}/EmailDescription.js +10 -10
- package/dist/nodes/Brevo/EmailDescription.js.map +1 -0
- package/dist/nodes/{SendInBlue → Brevo}/GenericFunctions.d.ts +2 -2
- package/dist/nodes/{SendInBlue → Brevo}/GenericFunctions.js +14 -14
- package/dist/nodes/Brevo/GenericFunctions.js.map +1 -0
- package/dist/nodes/Brevo/SenderDescrition.js.map +1 -0
- package/dist/nodes/Brevo/brevo.svg +4 -0
- package/dist/nodes/CompareDatasets/GenericFunctions.js.map +1 -1
- package/dist/nodes/CrateDb/CrateDb.node.js +5 -2
- package/dist/nodes/CrateDb/CrateDb.node.js.map +1 -1
- package/dist/nodes/CrowdDev/CrowdDev.node.d.ts +4 -0
- package/dist/nodes/CrowdDev/CrowdDev.node.js +36 -0
- package/dist/nodes/CrowdDev/CrowdDev.node.js.map +1 -0
- package/dist/nodes/CrowdDev/CrowdDev.node.json +18 -0
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.d.ts +12 -0
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.js +145 -0
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.js.map +1 -0
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.json +18 -0
- package/dist/nodes/CrowdDev/GenericFunctions.d.ts +7 -0
- package/dist/nodes/CrowdDev/GenericFunctions.js +157 -0
- package/dist/nodes/CrowdDev/GenericFunctions.js.map +1 -0
- package/dist/nodes/CrowdDev/crowdDev.svg +15 -0
- package/dist/nodes/CrowdDev/descriptions/activityFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/activityFields.js +180 -0
- package/dist/nodes/CrowdDev/descriptions/activityFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/automationFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/automationFields.js +126 -0
- package/dist/nodes/CrowdDev/descriptions/automationFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/index.d.ts +2 -0
- package/dist/nodes/CrowdDev/descriptions/index.js +26 -0
- package/dist/nodes/CrowdDev/descriptions/index.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/memberFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/memberFields.js +291 -0
- package/dist/nodes/CrowdDev/descriptions/memberFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/noteFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/noteFields.js +90 -0
- package/dist/nodes/CrowdDev/descriptions/noteFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/organizationFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/organizationFields.js +146 -0
- package/dist/nodes/CrowdDev/descriptions/organizationFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/resources.d.ts +2 -0
- package/dist/nodes/CrowdDev/descriptions/resources.js +38 -0
- package/dist/nodes/CrowdDev/descriptions/resources.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/shared.d.ts +2 -0
- package/dist/nodes/CrowdDev/descriptions/shared.js +29 -0
- package/dist/nodes/CrowdDev/descriptions/shared.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/taskFields.d.ts +4 -0
- package/dist/nodes/CrowdDev/descriptions/taskFields.js +159 -0
- package/dist/nodes/CrowdDev/descriptions/taskFields.js.map +1 -0
- package/dist/nodes/CrowdDev/descriptions/utils.d.ts +5 -0
- package/dist/nodes/CrowdDev/descriptions/utils.js +55 -0
- package/dist/nodes/CrowdDev/descriptions/utils.js.map +1 -0
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js +8 -0
- package/dist/nodes/EmailReadImap/v1/EmailReadImapV1.node.js.map +1 -1
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js +8 -0
- package/dist/nodes/EmailReadImap/v2/EmailReadImapV2.node.js.map +1 -1
- package/dist/nodes/EmailSend/v2/send.operation.js.map +1 -1
- package/dist/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v1/GoogleBigQueryV1.node.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js +6 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDrive.node.d.ts +3 -12
- package/dist/nodes/Google/Drive/GoogleDrive.node.js +10 -2301
- package/dist/nodes/Google/Drive/GoogleDrive.node.js.map +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.d.ts +1 -1
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js +2 -2
- package/dist/nodes/Google/Drive/GoogleDriveTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Drive/test/v2/node/helpers.d.ts +3 -0
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js +34 -0
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js.map +1 -0
- package/dist/nodes/Google/Drive/{GenericFunctions.js → v1/GenericFunctions.js} +1 -1
- package/dist/nodes/Google/Drive/v1/GenericFunctions.js.map +1 -0
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.d.ts +14 -0
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js +2324 -0
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js.map +1 -0
- package/dist/nodes/Google/Drive/v1/SearchFunctions.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.d.ts +10 -0
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.js +20 -0
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.d.ts +19 -0
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js +598 -0
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.d.ts +8 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.js +88 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.js +235 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.js +31 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.js +50 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.js +81 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.js +100 -0
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.d.ts +11 -0
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.js +115 -0
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.js +104 -0
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.js +134 -0
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.js +57 -0
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.js +218 -0
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.js +60 -0
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.js +43 -0
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.js +221 -0
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js +135 -0
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.d.ts +4 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.js +52 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.js +335 -0
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.d.ts +6 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.js +70 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.js +92 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.js +59 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.d.ts +23 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.js +43 -0
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/node.type.d.ts +9 -0
- package/dist/nodes/Google/Drive/v2/actions/node.type.js +3 -0
- package/dist/nodes/Google/Drive/v2/actions/node.type.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/router.d.ts +2 -0
- package/dist/nodes/Google/Drive/v2/actions/router.js +76 -0
- package/dist/nodes/Google/Drive/v2/actions/router.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.d.ts +2 -0
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.js +112 -0
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.d.ts +34 -0
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.js +26 -0
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.d.ts +15 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.js +104 -0
- package/dist/nodes/Google/Drive/v2/helpers/utils.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/methods/index.d.ts +1 -0
- package/dist/nodes/Google/Drive/v2/methods/index.js +28 -0
- package/dist/nodes/Google/Drive/v2/methods/index.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/methods/listSearch.d.ts +6 -0
- package/dist/nodes/Google/Drive/v2/methods/listSearch.js +144 -0
- package/dist/nodes/Google/Drive/v2/methods/listSearch.js.map +1 -0
- package/dist/nodes/Google/Drive/v2/transport/index.d.ts +4 -0
- package/dist/nodes/Google/Drive/v2/transport/index.js +68 -0
- package/dist/nodes/Google/Drive/v2/transport/index.js.map +1 -0
- package/dist/nodes/Google/Gmail/v1/GmailV1.node.js.map +1 -1
- package/dist/nodes/GraphQL/GraphQL.node.js +32 -0
- package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
- package/dist/nodes/Html/Html.node.js +2 -1
- package/dist/nodes/Html/Html.node.js.map +1 -1
- package/dist/nodes/Html/utils.d.ts +0 -1
- package/dist/nodes/Html/utils.js +1 -15
- package/dist/nodes/Html/utils.js.map +1 -1
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js +6 -0
- package/dist/nodes/HttpRequest/V1/HttpRequestV1.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js +6 -0
- package/dist/nodes/HttpRequest/V2/HttpRequestV2.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +28 -0
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/ItemLists/ItemLists.node.js +3 -1
- package/dist/nodes/ItemLists/ItemLists.node.js.map +1 -1
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts +6 -0
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js +18 -0
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts +2 -0
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js +11 -0
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js +303 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts +9 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js +97 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js +57 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js +204 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js +262 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js +183 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts +23 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js +491 -0
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/node.type.d.ts +6 -0
- package/dist/nodes/ItemLists/V3/actions/node.type.js +3 -0
- package/dist/nodes/ItemLists/V3/actions/node.type.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/router.d.ts +2 -0
- package/dist/nodes/ItemLists/V3/actions/router.js +53 -0
- package/dist/nodes/ItemLists/V3/actions/router.js.map +1 -0
- package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts +2 -0
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js +58 -0
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js.map +1 -0
- package/dist/nodes/ItemLists/V3/helpers/utils.d.ts +5 -0
- package/dist/nodes/ItemLists/V3/helpers/utils.js +57 -0
- package/dist/nodes/ItemLists/V3/helpers/utils.js.map +1 -0
- package/dist/nodes/ItemLists/test/node/workflow.update_3.json +606 -0
- package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js +8 -0
- package/dist/nodes/LocalFileTrigger/LocalFileTrigger.node.js.map +1 -1
- package/dist/nodes/MQTT/MqttTrigger.node.js +9 -0
- package/dist/nodes/MQTT/MqttTrigger.node.js.map +1 -1
- package/dist/nodes/Matrix/GenericFunctions.js +8 -2
- package/dist/nodes/Matrix/GenericFunctions.js.map +1 -1
- package/dist/nodes/Matrix/MediaDescription.js +23 -1
- package/dist/nodes/Matrix/MediaDescription.js.map +1 -1
- package/dist/nodes/Merge/v1/MergeV1.node.js.map +1 -1
- package/dist/nodes/Merge/v2/GenericFunctions.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/addTable.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/append.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/convertToRange.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/deleteTable.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getColumns.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getRows.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/lookup.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/addWorksheet.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/deleteWorkbook.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/append.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/clear.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/deleteWorksheet.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/readRows.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/update.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/upsert.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js +6 -2
- package/dist/nodes/Microsoft/Sql/MicrosoftSql.node.js.map +1 -1
- package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js +7 -0
- package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js.map +1 -1
- package/dist/nodes/Microsoft/ToDo/TaskDescription.js +7 -0
- package/dist/nodes/Microsoft/ToDo/TaskDescription.js.map +1 -1
- package/dist/nodes/MySql/v1/MySqlV1.node.js +2 -1
- package/dist/nodes/MySql/v1/MySqlV1.node.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/deleteTable.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js +6 -2
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/select.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/Notion/DatabasePageDescription.js +41 -0
- package/dist/nodes/Notion/DatabasePageDescription.js.map +1 -1
- package/dist/nodes/Notion/v2/NotionV2.node.js +9 -0
- package/dist/nodes/Notion/v2/NotionV2.node.js.map +1 -1
- package/dist/nodes/Postgres/PostgresTrigger.node.js +9 -0
- package/dist/nodes/Postgres/PostgresTrigger.node.js.map +1 -1
- package/dist/nodes/Postgres/v1/PostgresV1.node.js +2 -1
- package/dist/nodes/Postgres/v1/PostgresV1.node.js.map +1 -1
- package/dist/nodes/Postgres/v1/genericFunctions.d.ts +4 -1
- package/dist/nodes/Postgres/v1/genericFunctions.js +11 -3
- package/dist/nodes/Postgres/v1/genericFunctions.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js +7 -3
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/select.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/QuestDb/QuestDb.node.js +6 -2
- package/dist/nodes/QuestDb/QuestDb.node.js.map +1 -1
- package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js +9 -0
- package/dist/nodes/RabbitMQ/RabbitMQTrigger.node.js.map +1 -1
- package/dist/nodes/Slack/V1/SlackV1.node.js.map +1 -1
- package/dist/nodes/Snowflake/Snowflake.node.js +6 -1
- package/dist/nodes/Snowflake/Snowflake.node.js.map +1 -1
- package/dist/nodes/SseTrigger/SseTrigger.node.js +8 -0
- package/dist/nodes/SseTrigger/SseTrigger.node.js.map +1 -1
- package/dist/nodes/Strava/ActivityDescription.js +7 -0
- package/dist/nodes/Strava/ActivityDescription.js.map +1 -1
- package/dist/nodes/Strava/Strava.node.js +0 -6
- package/dist/nodes/Strava/Strava.node.js.map +1 -1
- package/dist/nodes/TimescaleDb/TimescaleDb.node.js +5 -2
- package/dist/nodes/TimescaleDb/TimescaleDb.node.js.map +1 -1
- package/dist/nodes/Twitter/Twitter.node.d.ts +3 -9
- package/dist/nodes/Twitter/Twitter.node.js +12 -224
- package/dist/nodes/Twitter/Twitter.node.js.map +1 -1
- package/dist/nodes/Twitter/Twitter.node.json +2 -1
- package/dist/nodes/Twitter/V1/DirectMessageDescription.js.map +1 -0
- package/dist/nodes/Twitter/V1/GenericFunctions.js.map +1 -0
- package/dist/nodes/Twitter/V1/TweetDescription.js.map +1 -0
- package/dist/nodes/Twitter/V1/TweetInterface.js.map +1 -0
- package/dist/nodes/Twitter/V1/TwitterV1.node.d.ts +11 -0
- package/dist/nodes/Twitter/V1/TwitterV1.node.js +235 -0
- package/dist/nodes/Twitter/V1/TwitterV1.node.js.map +1 -0
- package/dist/nodes/Twitter/V2/DirectMessageDescription.d.ts +3 -0
- package/dist/nodes/Twitter/V2/DirectMessageDescription.js +100 -0
- package/dist/nodes/Twitter/V2/DirectMessageDescription.js.map +1 -0
- package/dist/nodes/Twitter/V2/GenericFunctions.d.ts +5 -0
- package/dist/nodes/Twitter/V2/GenericFunctions.js +88 -0
- package/dist/nodes/Twitter/V2/GenericFunctions.js.map +1 -0
- package/dist/nodes/Twitter/V2/ListDescription.d.ts +3 -0
- package/dist/nodes/Twitter/V2/ListDescription.js +92 -0
- package/dist/nodes/Twitter/V2/ListDescription.js.map +1 -0
- package/dist/nodes/Twitter/V2/TweetDescription.d.ts +3 -0
- package/dist/nodes/Twitter/V2/TweetDescription.js +452 -0
- package/dist/nodes/Twitter/V2/TweetDescription.js.map +1 -0
- package/dist/nodes/Twitter/V2/TweetInterface.d.ts +23 -0
- package/dist/nodes/Twitter/V2/TweetInterface.js +3 -0
- package/dist/nodes/Twitter/V2/TweetInterface.js.map +1 -0
- package/dist/nodes/Twitter/V2/TwitterV2.node.d.ts +11 -0
- package/dist/nodes/Twitter/V2/TwitterV2.node.js +245 -0
- package/dist/nodes/Twitter/V2/TwitterV2.node.js.map +1 -0
- package/dist/nodes/Twitter/V2/UserDescription.d.ts +3 -0
- package/dist/nodes/Twitter/V2/UserDescription.js +76 -0
- package/dist/nodes/Twitter/V2/UserDescription.js.map +1 -0
- package/dist/nodes/Twitter/test/Workflow_Twitter_UnitTest.json +284 -0
- package/dist/nodes/Wait/Wait.node.d.ts +7 -4
- package/dist/nodes/Wait/Wait.node.js +77 -499
- package/dist/nodes/Wait/Wait.node.js.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.d.ts +8 -3
- package/dist/nodes/Webhook/Webhook.node.js +148 -460
- package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
- package/dist/nodes/Webhook/description.d.ts +10 -0
- package/dist/nodes/Webhook/description.js +325 -0
- package/dist/nodes/Webhook/description.js.map +1 -0
- package/dist/nodes/Webhook/error.d.ts +4 -0
- package/dist/nodes/Webhook/error.js +20 -0
- package/dist/nodes/Webhook/error.js.map +1 -0
- package/dist/package.json +10 -5
- package/dist/types/credentials.json +6 -3
- package/dist/types/nodes.json +46 -40
- package/dist/utils/utilities.d.ts +1 -0
- package/dist/utils/utilities.js +15 -1
- package/dist/utils/utilities.js.map +1 -1
- package/package.json +12 -7
- package/dist/credentials/SendInBlueApi.credentials.js.map +0 -1
- package/dist/nodes/Google/Drive/GenericFunctions.js.map +0 -1
- package/dist/nodes/Google/Drive/SearchFunctions.js.map +0 -1
- package/dist/nodes/SendInBlue/AttributeDescription.js.map +0 -1
- package/dist/nodes/SendInBlue/ContactDescription.js.map +0 -1
- package/dist/nodes/SendInBlue/EmailDescription.js.map +0 -1
- package/dist/nodes/SendInBlue/GenericFunctions.js.map +0 -1
- package/dist/nodes/SendInBlue/SendInBlue.node.js.map +0 -1
- package/dist/nodes/SendInBlue/SendInBlueTrigger.node.js.map +0 -1
- package/dist/nodes/SendInBlue/SenderDescrition.js.map +0 -1
- package/dist/nodes/SendInBlue/sendinblue.svg +0 -20
- package/dist/nodes/Twitter/DirectMessageDescription.js.map +0 -1
- package/dist/nodes/Twitter/GenericFunctions.js.map +0 -1
- package/dist/nodes/Twitter/TweetDescription.js.map +0 -1
- package/dist/nodes/Twitter/TweetInterface.js.map +0 -1
- /package/dist/nodes/{SendInBlue → Brevo}/AttributeDescription.d.ts +0 -0
- /package/dist/nodes/{SendInBlue → Brevo}/ContactDescription.d.ts +0 -0
- /package/dist/nodes/{SendInBlue → Brevo}/ContactDescription.js +0 -0
- /package/dist/nodes/{SendInBlue → Brevo}/EmailDescription.d.ts +0 -0
- /package/dist/nodes/{SendInBlue → Brevo}/SenderDescrition.d.ts +0 -0
- /package/dist/nodes/{SendInBlue → Brevo}/SenderDescrition.js +0 -0
- /package/dist/nodes/Google/Drive/{GenericFunctions.d.ts → v1/GenericFunctions.d.ts} +0 -0
- /package/dist/nodes/Google/Drive/{SearchFunctions.d.ts → v1/SearchFunctions.d.ts} +0 -0
- /package/dist/nodes/Google/Drive/{SearchFunctions.js → v1/SearchFunctions.js} +0 -0
- /package/dist/nodes/Twitter/{DirectMessageDescription.d.ts → V1/DirectMessageDescription.d.ts} +0 -0
- /package/dist/nodes/Twitter/{DirectMessageDescription.js → V1/DirectMessageDescription.js} +0 -0
- /package/dist/nodes/Twitter/{GenericFunctions.d.ts → V1/GenericFunctions.d.ts} +0 -0
- /package/dist/nodes/Twitter/{GenericFunctions.js → V1/GenericFunctions.js} +0 -0
- /package/dist/nodes/Twitter/{TweetDescription.d.ts → V1/TweetDescription.d.ts} +0 -0
- /package/dist/nodes/Twitter/{TweetDescription.js → V1/TweetDescription.js} +0 -0
- /package/dist/nodes/Twitter/{TweetInterface.d.ts → V1/TweetInterface.d.ts} +0 -0
- /package/dist/nodes/Twitter/{TweetInterface.js → V1/TweetInterface.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class BrevoApi implements ICredentialType {
|
|
3
3
|
name: string;
|
|
4
4
|
displayName: string;
|
|
5
5
|
documentationUrl: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
class
|
|
3
|
+
exports.BrevoApi = void 0;
|
|
4
|
+
class BrevoApi {
|
|
5
5
|
constructor() {
|
|
6
6
|
this.name = 'sendInBlueApi';
|
|
7
|
-
this.displayName = '
|
|
8
|
-
this.documentationUrl = '
|
|
7
|
+
this.displayName = 'Brevo';
|
|
8
|
+
this.documentationUrl = 'brevo';
|
|
9
9
|
this.properties = [
|
|
10
10
|
{
|
|
11
11
|
displayName: 'API Key',
|
|
@@ -25,11 +25,11 @@ class SendInBlueApi {
|
|
|
25
25
|
};
|
|
26
26
|
this.test = {
|
|
27
27
|
request: {
|
|
28
|
-
baseURL: 'https://api.
|
|
28
|
+
baseURL: 'https://api.brevo.com/v3',
|
|
29
29
|
url: '/account',
|
|
30
30
|
},
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
exports.
|
|
35
|
-
//# sourceMappingURL=
|
|
34
|
+
exports.BrevoApi = BrevoApi;
|
|
35
|
+
//# sourceMappingURL=BrevoApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoApi.credentials.js","sourceRoot":"","sources":["../../credentials/BrevoApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,QAAQ;IAArB;QAEC,SAAI,GAAG,eAAe,CAAC;QAEvB,gBAAW,GAAG,OAAO,CAAC;QAEtB,qBAAgB,GAAG,OAAO,CAAC;QAE3B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,SAAS;gBACtB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE;gBAC/B,OAAO,EAAE,EAAE;aACX;SACD,CAAC;QAEF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,SAAS,EAAE,0BAA0B;iBACrC;aACD;SACD,CAAC;QAEF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,OAAO,EAAE,0BAA0B;gBACnC,GAAG,EAAE,UAAU;aACf;SACD,CAAC;IACH,CAAC;CAAA;AAjCD,4BAiCC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class CrowdDevApi implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
properties: INodeProperties[];
|
|
7
|
+
authenticate: IAuthenticateGeneric;
|
|
8
|
+
test: ICredentialTestRequest;
|
|
9
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CrowdDevApi = void 0;
|
|
4
|
+
class CrowdDevApi {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'crowdDevApi';
|
|
7
|
+
this.displayName = 'crowd.dev API';
|
|
8
|
+
this.documentationUrl = 'crowdDev';
|
|
9
|
+
this.properties = [
|
|
10
|
+
{
|
|
11
|
+
displayName: 'URL',
|
|
12
|
+
name: 'url',
|
|
13
|
+
type: 'string',
|
|
14
|
+
default: 'https://app.crowd.dev',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
displayName: 'Tenant ID',
|
|
18
|
+
name: 'tenantId',
|
|
19
|
+
type: 'string',
|
|
20
|
+
default: '',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Token',
|
|
24
|
+
name: 'token',
|
|
25
|
+
type: 'string',
|
|
26
|
+
typeOptions: {
|
|
27
|
+
password: true,
|
|
28
|
+
},
|
|
29
|
+
default: '',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Ignore SSL Issues',
|
|
33
|
+
name: 'allowUnauthorizedCerts',
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
description: 'Whether to connect even if SSL certificate validation is not possible',
|
|
36
|
+
default: false,
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
this.authenticate = {
|
|
40
|
+
type: 'generic',
|
|
41
|
+
properties: {
|
|
42
|
+
headers: {
|
|
43
|
+
Authorization: '={{"Bearer " + $credentials.token}}',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
this.test = {
|
|
48
|
+
request: {
|
|
49
|
+
method: 'POST',
|
|
50
|
+
baseURL: '={{$credentials.url.replace(/\\/$/, "") + "/api/tenant/" + $credentials.tenantId}}',
|
|
51
|
+
url: '/member/query',
|
|
52
|
+
skipSslCertificateValidation: '={{ $credentials.allowUnauthorizedCerts }}',
|
|
53
|
+
body: {
|
|
54
|
+
limit: 1,
|
|
55
|
+
offset: 0,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.CrowdDevApi = CrowdDevApi;
|
|
62
|
+
//# sourceMappingURL=CrowdDevApi.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CrowdDevApi.credentials.js","sourceRoot":"","sources":["../../credentials/CrowdDevApi.credentials.ts"],"names":[],"mappings":";;;AAOA,MAAa,WAAW;IAAxB;QACC,SAAI,GAAG,aAAa,CAAC;QAErB,gBAAW,GAAG,eAAe,CAAC;QAE9B,qBAAgB,GAAG,UAAU,CAAC;QAE9B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,KAAK;gBAClB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,uBAAuB;aAChC;YACD;gBACC,WAAW,EAAE,WAAW;gBACxB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,IAAI;iBACd;gBACD,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,wBAAwB;gBAC9B,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,uEAAuE;gBACpF,OAAO,EAAE,KAAK;aACd;SACD,CAAC;QAMF,iBAAY,GAAyB;YACpC,IAAI,EAAE,SAAS;YACf,UAAU,EAAE;gBACX,OAAO,EAAE;oBACR,aAAa,EAAE,qCAAqC;iBACpD;aACD;SACD,CAAC;QAGF,SAAI,GAA2B;YAC9B,OAAO,EAAE;gBACR,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,oFAAoF;gBAC7F,GAAG,EAAE,eAAe;gBACpB,4BAA4B,EAAE,4CAA4C;gBAC1E,IAAI,EAAE;oBACL,KAAK,EAAE,CAAC;oBACR,MAAM,EAAE,CAAC;iBACT;aACD;SACD,CAAC;IACH,CAAC;CAAA;AAhED,kCAgEC"}
|
|
@@ -19,6 +19,12 @@ class GoogleDriveOAuth2Api {
|
|
|
19
19
|
type: 'hidden',
|
|
20
20
|
default: scopes.join(' '),
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
displayName: 'Make sure that you have enabled the Google Drive API in the Google Cloud Console. <a href="https://docs.n8n.io/integrations/builtin/credentials/google/oauth-generic/#scopes" target="_blank">More info</a>.',
|
|
24
|
+
name: 'notice',
|
|
25
|
+
type: 'notice',
|
|
26
|
+
default: '',
|
|
27
|
+
},
|
|
22
28
|
];
|
|
23
29
|
}
|
|
24
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GoogleDriveOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/GoogleDriveOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG;IACd,uCAAuC;IACvC,+CAA+C;IAC/C,uDAAuD;CACvD,CAAC;AAEF,MAAa,oBAAoB;IAAjC;QACC,SAAI,GAAG,sBAAsB,CAAC;QAE9B,YAAO,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAE9B,gBAAW,GAAG,yBAAyB,CAAC;QAExC,qBAAgB,GAAG,6BAA6B,CAAC;QAEjD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;aACzB;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"GoogleDriveOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/GoogleDriveOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG;IACd,uCAAuC;IACvC,+CAA+C;IAC/C,uDAAuD;CACvD,CAAC;AAEF,MAAa,oBAAoB;IAAjC;QACC,SAAI,GAAG,sBAAsB,CAAC;QAE9B,YAAO,GAAG,CAAC,iBAAiB,CAAC,CAAC;QAE9B,gBAAW,GAAG,yBAAyB,CAAC;QAExC,qBAAgB,GAAG,6BAA6B,CAAC;QAEjD,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;aACzB;YACD;gBACC,WAAW,EACV,8MAA8M;gBAC/M,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AAxBD,oDAwBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare class HttpCustomAuth implements ICredentialType {
|
|
3
|
+
name: string;
|
|
4
|
+
displayName: string;
|
|
5
|
+
documentationUrl: string;
|
|
6
|
+
genericAuth: boolean;
|
|
7
|
+
icon: string;
|
|
8
|
+
properties: INodeProperties[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HttpCustomAuth = void 0;
|
|
4
|
+
class HttpCustomAuth {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.name = 'httpCustomAuth';
|
|
7
|
+
this.displayName = 'Custom Auth';
|
|
8
|
+
this.documentationUrl = 'httpRequest';
|
|
9
|
+
this.genericAuth = true;
|
|
10
|
+
this.icon = 'node:n8n-nodes-base.httpRequest';
|
|
11
|
+
this.properties = [
|
|
12
|
+
{
|
|
13
|
+
displayName: 'JSON',
|
|
14
|
+
name: 'json',
|
|
15
|
+
type: 'json',
|
|
16
|
+
required: true,
|
|
17
|
+
description: 'Use json to specify authentication values for headers, body and qs.',
|
|
18
|
+
placeholder: '{ "headers": { "key" : "value" }, "body": { "key": "value" }, "qs": { "key": "value" } }',
|
|
19
|
+
default: '',
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.HttpCustomAuth = HttpCustomAuth;
|
|
25
|
+
//# sourceMappingURL=HttpCustomAuth.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpCustomAuth.credentials.js","sourceRoot":"","sources":["../../credentials/HttpCustomAuth.credentials.ts"],"names":[],"mappings":";;;AAIA,MAAa,cAAc;IAA3B;QACC,SAAI,GAAG,gBAAgB,CAAC;QAExB,gBAAW,GAAG,aAAa,CAAC;QAE5B,qBAAgB,GAAG,aAAa,CAAC;QAEjC,gBAAW,GAAG,IAAI,CAAC;QAEnB,SAAI,GAAG,iCAAiC,CAAC;QAEzC,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,qEAAqE;gBAClF,WAAW,EACV,0FAA0F;gBAC3F,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AAvBD,wCAuBC"}
|
|
@@ -32,6 +32,12 @@ class TwitterOAuth1Api {
|
|
|
32
32
|
type: 'hidden',
|
|
33
33
|
default: 'HMAC-SHA1',
|
|
34
34
|
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Some operations requires a Basic or a Pro API for more informations see <a href="https://developer.twitter.com/en/products/twitter-api" target="_blank">Twitter Api Doc</a>',
|
|
37
|
+
name: 'apiPermissioms',
|
|
38
|
+
type: 'notice',
|
|
39
|
+
default: '',
|
|
40
|
+
},
|
|
35
41
|
];
|
|
36
42
|
}
|
|
37
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwitterOAuth1Api.credentials.js","sourceRoot":"","sources":["../../credentials/TwitterOAuth1Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAE1B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,mBAAmB,CAAC;QAElC,qBAAgB,GAAG,SAAS,CAAC;QAE7B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,6CAA6C;aACtD;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,yCAAyC;aAClD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4CAA4C;aACrD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,WAAW;aACpB;SACD,CAAC;IACH,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"TwitterOAuth1Api.credentials.js","sourceRoot":"","sources":["../../credentials/TwitterOAuth1Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAE1B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,mBAAmB,CAAC;QAElC,qBAAgB,GAAG,SAAS,CAAC;QAE7B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,6CAA6C;aACtD;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,yCAAyC;aAClD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,4CAA4C;aACrD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,iBAAiB;gBACvB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,WAAW;aACpB;YACD;gBACC,WAAW,EACV,6KAA6K;gBAC9K,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;SACD,CAAC;IACH,CAAC;CAAA;AA1CD,4CA0CC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TwitterOAuth2Api = void 0;
|
|
4
|
+
const scopes = [
|
|
5
|
+
'tweet.read',
|
|
6
|
+
'users.read',
|
|
7
|
+
'tweet.write',
|
|
8
|
+
'tweet.moderate.write',
|
|
9
|
+
'users.read',
|
|
10
|
+
'follows.read',
|
|
11
|
+
'follows.write',
|
|
12
|
+
'offline.access',
|
|
13
|
+
'like.read',
|
|
14
|
+
'like.write',
|
|
15
|
+
'dm.write',
|
|
16
|
+
'dm.read',
|
|
17
|
+
'list.read',
|
|
18
|
+
'list.write',
|
|
19
|
+
];
|
|
20
|
+
class TwitterOAuth2Api {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.name = 'twitterOAuth2Api';
|
|
23
|
+
this.extends = ['oAuth2Api'];
|
|
24
|
+
this.displayName = 'Twitter OAuth2 API';
|
|
25
|
+
this.documentationUrl = 'twitter';
|
|
26
|
+
this.properties = [
|
|
27
|
+
{
|
|
28
|
+
displayName: 'Some operations requires a Basic or a Pro API for more informations see <a href="https://developer.twitter.com/en/products/twitter-api" target="_blank">Twitter Api Doc</a>',
|
|
29
|
+
name: 'apiPermissioms',
|
|
30
|
+
type: 'notice',
|
|
31
|
+
default: '',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Grant Type',
|
|
35
|
+
name: 'grantType',
|
|
36
|
+
type: 'hidden',
|
|
37
|
+
default: 'pkce',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Authorization URL',
|
|
41
|
+
name: 'authUrl',
|
|
42
|
+
type: 'hidden',
|
|
43
|
+
default: 'https://twitter.com/i/oauth2/authorize',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
displayName: 'Access Token URL',
|
|
47
|
+
name: 'accessTokenUrl',
|
|
48
|
+
type: 'hidden',
|
|
49
|
+
default: 'https://api.twitter.com/2/oauth2/token',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
displayName: 'Scope',
|
|
53
|
+
name: 'scope',
|
|
54
|
+
type: 'hidden',
|
|
55
|
+
default: `${scopes.join(' ')}`,
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
displayName: 'Auth URI Query Parameters',
|
|
59
|
+
name: 'authQueryParameters',
|
|
60
|
+
type: 'hidden',
|
|
61
|
+
default: '',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
displayName: 'Authentication',
|
|
65
|
+
name: 'authentication',
|
|
66
|
+
type: 'hidden',
|
|
67
|
+
default: 'header',
|
|
68
|
+
},
|
|
69
|
+
];
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.TwitterOAuth2Api = TwitterOAuth2Api;
|
|
73
|
+
//# sourceMappingURL=TwitterOAuth2Api.credentials.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TwitterOAuth2Api.credentials.js","sourceRoot":"","sources":["../../credentials/TwitterOAuth2Api.credentials.ts"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG;IACd,YAAY;IACZ,YAAY;IACZ,aAAa;IACb,sBAAsB;IACtB,YAAY;IACZ,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,WAAW;IACX,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,YAAY;CACZ,CAAC;AACF,MAAa,gBAAgB;IAA7B;QACC,SAAI,GAAG,kBAAkB,CAAC;QAE1B,YAAO,GAAG,CAAC,WAAW,CAAC,CAAC;QAExB,gBAAW,GAAG,oBAAoB,CAAC;QAEnC,qBAAgB,GAAG,SAAS,CAAC;QAE7B,eAAU,GAAsB;YAC/B;gBACC,WAAW,EACV,6KAA6K;gBAC9K,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,YAAY;gBACzB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,MAAM;aACf;YACD;gBACC,WAAW,EAAE,mBAAmB;gBAChC,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wCAAwC;aACjD;YACD;gBACC,WAAW,EAAE,kBAAkB;gBAC/B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wCAAwC;aACjD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;aAC9B;YACD;gBACC,WAAW,EAAE,2BAA2B;gBACxC,IAAI,EAAE,qBAAqB;gBAC3B,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;aACX;YACD;gBACC,WAAW,EAAE,gBAAgB;gBAC7B,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,QAAQ;aACjB;SACD,CAAC;IACH,CAAC;CAAA;AAtDD,4CAsDC"}
|
|
@@ -210,6 +210,14 @@
|
|
|
210
210
|
"Brandfetch"
|
|
211
211
|
]
|
|
212
212
|
},
|
|
213
|
+
"sendInBlueApi": {
|
|
214
|
+
"className": "BrevoApi",
|
|
215
|
+
"sourcePath": "dist/credentials/BrevoApi.credentials.js",
|
|
216
|
+
"nodesToTestWith": [
|
|
217
|
+
"sendInBlue",
|
|
218
|
+
"sendInBlueTrigger"
|
|
219
|
+
]
|
|
220
|
+
},
|
|
213
221
|
"bubbleApi": {
|
|
214
222
|
"className": "BubbleApi",
|
|
215
223
|
"sourcePath": "dist/credentials/BubbleApi.credentials.js",
|
|
@@ -349,6 +357,14 @@
|
|
|
349
357
|
"crateDb"
|
|
350
358
|
]
|
|
351
359
|
},
|
|
360
|
+
"crowdDevApi": {
|
|
361
|
+
"className": "CrowdDevApi",
|
|
362
|
+
"sourcePath": "dist/credentials/CrowdDevApi.credentials.js",
|
|
363
|
+
"nodesToTestWith": [
|
|
364
|
+
"crowdDev",
|
|
365
|
+
"crowdDevTrigger"
|
|
366
|
+
]
|
|
367
|
+
},
|
|
352
368
|
"customerIoApi": {
|
|
353
369
|
"className": "CustomerIoApi",
|
|
354
370
|
"sourcePath": "dist/credentials/CustomerIoApi.credentials.js",
|
|
@@ -676,13 +692,14 @@
|
|
|
676
692
|
"googleBooks",
|
|
677
693
|
"googleChat",
|
|
678
694
|
"googleDocs",
|
|
679
|
-
"googleDrive",
|
|
680
695
|
"googleDriveTrigger",
|
|
681
696
|
"gmailTrigger",
|
|
682
697
|
"googleSlides",
|
|
683
698
|
"googleTranslate",
|
|
684
699
|
"googleBigQuery",
|
|
685
700
|
"googleBigQuery",
|
|
701
|
+
"googleDrive",
|
|
702
|
+
"googleDrive",
|
|
686
703
|
"gmail",
|
|
687
704
|
"gmail",
|
|
688
705
|
"googleSheets",
|
|
@@ -744,8 +761,9 @@
|
|
|
744
761
|
"className": "GoogleDriveOAuth2Api",
|
|
745
762
|
"sourcePath": "dist/credentials/GoogleDriveOAuth2Api.credentials.js",
|
|
746
763
|
"nodesToTestWith": [
|
|
764
|
+
"googleDriveTrigger",
|
|
747
765
|
"googleDrive",
|
|
748
|
-
"
|
|
766
|
+
"googleDrive"
|
|
749
767
|
]
|
|
750
768
|
},
|
|
751
769
|
"googleFirebaseCloudFirestoreOAuth2Api": {
|
|
@@ -892,6 +910,13 @@
|
|
|
892
910
|
null
|
|
893
911
|
]
|
|
894
912
|
},
|
|
913
|
+
"httpCustomAuth": {
|
|
914
|
+
"className": "HttpCustomAuth",
|
|
915
|
+
"sourcePath": "dist/credentials/HttpCustomAuth.credentials.js",
|
|
916
|
+
"nodesToTestWith": [
|
|
917
|
+
"graphql"
|
|
918
|
+
]
|
|
919
|
+
},
|
|
895
920
|
"httpDigestAuth": {
|
|
896
921
|
"className": "HttpDigestAuth",
|
|
897
922
|
"sourcePath": "dist/credentials/HttpDigestAuth.credentials.js",
|
|
@@ -1767,14 +1792,6 @@
|
|
|
1767
1792
|
"sendGrid"
|
|
1768
1793
|
]
|
|
1769
1794
|
},
|
|
1770
|
-
"sendInBlueApi": {
|
|
1771
|
-
"className": "SendInBlueApi",
|
|
1772
|
-
"sourcePath": "dist/credentials/SendInBlueApi.credentials.js",
|
|
1773
|
-
"nodesToTestWith": [
|
|
1774
|
-
"sendInBlue",
|
|
1775
|
-
"sendInBlueTrigger"
|
|
1776
|
-
]
|
|
1777
|
-
},
|
|
1778
1795
|
"sendyApi": {
|
|
1779
1796
|
"className": "SendyApi",
|
|
1780
1797
|
"sourcePath": "dist/credentials/SendyApi.credentials.js",
|
|
@@ -2111,7 +2128,14 @@
|
|
|
2111
2128
|
"className": "TwitterOAuth1Api",
|
|
2112
2129
|
"sourcePath": "dist/credentials/TwitterOAuth1Api.credentials.js",
|
|
2113
2130
|
"nodesToTestWith": [
|
|
2114
|
-
|
|
2131
|
+
null
|
|
2132
|
+
]
|
|
2133
|
+
},
|
|
2134
|
+
"twitterOAuth2Api": {
|
|
2135
|
+
"className": "TwitterOAuth2Api",
|
|
2136
|
+
"sourcePath": "dist/credentials/TwitterOAuth2Api.credentials.js",
|
|
2137
|
+
"nodesToTestWith": [
|
|
2138
|
+
null
|
|
2115
2139
|
]
|
|
2116
2140
|
},
|
|
2117
2141
|
"typeformApi": {
|
package/dist/known/nodes.json
CHANGED
|
@@ -123,6 +123,14 @@
|
|
|
123
123
|
"className": "Brandfetch",
|
|
124
124
|
"sourcePath": "dist/nodes/Brandfetch/Brandfetch.node.js"
|
|
125
125
|
},
|
|
126
|
+
"sendInBlue": {
|
|
127
|
+
"className": "Brevo",
|
|
128
|
+
"sourcePath": "dist/nodes/Brevo/Brevo.node.js"
|
|
129
|
+
},
|
|
130
|
+
"sendInBlueTrigger": {
|
|
131
|
+
"className": "BrevoTrigger",
|
|
132
|
+
"sourcePath": "dist/nodes/Brevo/BrevoTrigger.node.js"
|
|
133
|
+
},
|
|
126
134
|
"bubble": {
|
|
127
135
|
"className": "Bubble",
|
|
128
136
|
"sourcePath": "dist/nodes/Bubble/Bubble.node.js"
|
|
@@ -227,6 +235,14 @@
|
|
|
227
235
|
"className": "Cron",
|
|
228
236
|
"sourcePath": "dist/nodes/Cron/Cron.node.js"
|
|
229
237
|
},
|
|
238
|
+
"crowdDev": {
|
|
239
|
+
"className": "CrowdDev",
|
|
240
|
+
"sourcePath": "dist/nodes/CrowdDev/CrowdDev.node.js"
|
|
241
|
+
},
|
|
242
|
+
"crowdDevTrigger": {
|
|
243
|
+
"className": "CrowdDevTrigger",
|
|
244
|
+
"sourcePath": "dist/nodes/CrowdDev/CrowdDevTrigger.node.js"
|
|
245
|
+
},
|
|
230
246
|
"crypto": {
|
|
231
247
|
"className": "Crypto",
|
|
232
248
|
"sourcePath": "dist/nodes/Crypto/Crypto.node.js"
|
|
@@ -1031,14 +1047,6 @@
|
|
|
1031
1047
|
"className": "SendGrid",
|
|
1032
1048
|
"sourcePath": "dist/nodes/SendGrid/SendGrid.node.js"
|
|
1033
1049
|
},
|
|
1034
|
-
"sendInBlue": {
|
|
1035
|
-
"className": "SendInBlue",
|
|
1036
|
-
"sourcePath": "dist/nodes/SendInBlue/SendInBlue.node.js"
|
|
1037
|
-
},
|
|
1038
|
-
"sendInBlueTrigger": {
|
|
1039
|
-
"className": "SendInBlueTrigger",
|
|
1040
|
-
"sourcePath": "dist/nodes/SendInBlue/SendInBlueTrigger.node.js"
|
|
1041
|
-
},
|
|
1042
1050
|
"sendy": {
|
|
1043
1051
|
"className": "Sendy",
|
|
1044
1052
|
"sourcePath": "dist/nodes/Sendy/Sendy.node.js"
|
|
@@ -36,7 +36,7 @@ exports.attributeOperations = [
|
|
|
36
36
|
preSend: [
|
|
37
37
|
async function (requestOptions) {
|
|
38
38
|
const selectedCategory = this.getNodeParameter('attributeCategory');
|
|
39
|
-
const override = GenericFunctions_1.
|
|
39
|
+
const override = GenericFunctions_1.BrevoNode.INTERCEPTORS.get(selectedCategory);
|
|
40
40
|
if (override) {
|
|
41
41
|
override.call(this, requestOptions.body);
|
|
42
42
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttributeDescription.js","sourceRoot":"","sources":["../../../nodes/Brevo/AttributeDescription.ts"],"names":[],"mappings":";;;AAMA,yDAA+C;AAElC,QAAA,mBAAmB,GAAsB;IACrD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,mGAAmG;qBACxG;oBACD,MAAM,EAAE;wBACP,WAAW,EAAE;4BACZ;gCACC,IAAI,EAAE,KAAK;gCACX,UAAU,EAAE;oCACX,KAAK,EAAE,4BAA4B;iCACnC;6BACD;yBACD;qBACD;oBACD,IAAI,EAAE;wBACL,OAAO,EAAE;4BACR,KAAK,WAEJ,cAAmC;gCAEnC,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,CAAW,CAAC;gCAC9E,MAAM,QAAQ,GAAG,4BAAS,CAAC,YAAY,CAA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B,GAAG,yBAAyB;IAC5B,GAAG,wBAAwB;IAC3B,GAAG,yBAAyB;CAC5B,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Brevo = void 0;
|
|
4
4
|
const AttributeDescription_1 = require("./AttributeDescription");
|
|
5
5
|
const ContactDescription_1 = require("./ContactDescription");
|
|
6
6
|
const EmailDescription_1 = require("./EmailDescription");
|
|
7
7
|
const SenderDescrition_1 = require("./SenderDescrition");
|
|
8
|
-
class
|
|
8
|
+
class Brevo {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.description = {
|
|
11
|
-
displayName: '
|
|
11
|
+
displayName: 'Brevo',
|
|
12
12
|
name: 'sendInBlue',
|
|
13
|
-
icon: 'file:
|
|
13
|
+
icon: 'file:brevo.svg',
|
|
14
14
|
group: ['transform'],
|
|
15
15
|
version: 1,
|
|
16
16
|
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
|
17
|
-
description: 'Consume
|
|
17
|
+
description: 'Consume Brevo API',
|
|
18
18
|
defaults: {
|
|
19
|
-
name: '
|
|
19
|
+
name: 'Brevo',
|
|
20
20
|
},
|
|
21
21
|
inputs: ['main'],
|
|
22
22
|
outputs: ['main'],
|
|
@@ -27,7 +27,7 @@ class SendInBlue {
|
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
requestDefaults: {
|
|
30
|
-
baseURL: 'https://api.
|
|
30
|
+
baseURL: 'https://api.brevo.com',
|
|
31
31
|
},
|
|
32
32
|
properties: [
|
|
33
33
|
{
|
|
@@ -67,5 +67,5 @@ class SendInBlue {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
exports.
|
|
71
|
-
//# sourceMappingURL=
|
|
70
|
+
exports.Brevo = Brevo;
|
|
71
|
+
//# sourceMappingURL=Brevo.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Brevo.node.js","sourceRoot":"","sources":["../../../nodes/Brevo/Brevo.node.ts"],"names":[],"mappings":";;;AAEA,iEAA8E;AAC9E,6DAAwE;AACxE,yDAAkE;AAClE,yDAAoE;AAEpE,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,OAAO;YAEpB,IAAI,EAAE,YAAY;YAClB,IAAI,EAAE,gBAAgB;YACtB,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,mBAAmB;YAChC,QAAQ,EAAE;gBACT,IAAI,EAAE,OAAO;aACb;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,eAAe;oBACrB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,uBAAuB;aAChC;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,mBAAmB;4BACzB,KAAK,EAAE,WAAW;yBAClB;wBACD;4BACC,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,OAAO;yBACd;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;qBACD;oBACD,OAAO,EAAE,OAAO;iBAChB;gBAED,GAAG,0CAAmB;gBACtB,GAAG,sCAAe;gBAClB,GAAG,mCAAgB;gBACnB,GAAG,+BAAY;gBACf,GAAG,sCAAiB;gBACpB,GAAG,kCAAa;gBAChB,GAAG,kCAAe;gBAClB,GAAG,8BAAW;aACd;SACD,CAAC;IACH,CAAC;CAAA;AA7DD,sBA6DC"}
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
{
|
|
2
|
-
"node": "n8n-nodes-base.
|
|
2
|
+
"node": "n8n-nodes-base.brevo",
|
|
3
3
|
"nodeVersion": "1.0",
|
|
4
4
|
"codexVersion": "1.0",
|
|
5
5
|
"categories": ["Marketing & Content", "Communication"],
|
|
6
6
|
"resources": {
|
|
7
7
|
"credentialDocumentation": [
|
|
8
8
|
{
|
|
9
|
-
"url": "https://docs.n8n.io/credentials/
|
|
9
|
+
"url": "https://docs.n8n.io/credentials/brevo"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"primaryDocumentation": [
|
|
13
13
|
{
|
|
14
|
-
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.
|
|
14
|
+
"url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.brevo/"
|
|
15
15
|
}
|
|
16
16
|
]
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"alias": ["sendinblue"]
|
|
18
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { IHookFunctions, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class BrevoTrigger implements INodeType {
|
|
3
3
|
description: INodeTypeDescription;
|
|
4
4
|
webhookMethods: {
|
|
5
5
|
default: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.BrevoTrigger = void 0;
|
|
4
4
|
const GenericFunctions_1 = require("./GenericFunctions");
|
|
5
|
-
class
|
|
5
|
+
class BrevoTrigger {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.description = {
|
|
8
8
|
credentials: [
|
|
@@ -11,13 +11,13 @@ class SendInBlueTrigger {
|
|
|
11
11
|
required: true,
|
|
12
12
|
},
|
|
13
13
|
],
|
|
14
|
-
displayName: '
|
|
14
|
+
displayName: 'Brevo Trigger',
|
|
15
15
|
defaults: {
|
|
16
|
-
name: '
|
|
16
|
+
name: 'Brevo Trigger',
|
|
17
17
|
},
|
|
18
|
-
description: 'Starts the workflow when
|
|
18
|
+
description: 'Starts the workflow when Brevo events occur',
|
|
19
19
|
group: ['trigger'],
|
|
20
|
-
icon: 'file:
|
|
20
|
+
icon: 'file:brevo.svg',
|
|
21
21
|
inputs: [],
|
|
22
22
|
name: 'sendInBlueTrigger',
|
|
23
23
|
outputs: ['main'],
|
|
@@ -203,7 +203,7 @@ class SendInBlueTrigger {
|
|
|
203
203
|
const type = this.getNodeParameter('type');
|
|
204
204
|
const events = this.getNodeParameter('events');
|
|
205
205
|
try {
|
|
206
|
-
const { webhooks } = await GenericFunctions_1.
|
|
206
|
+
const { webhooks } = await GenericFunctions_1.BrevoWebhookApi.fetchWebhooks(this, type);
|
|
207
207
|
for (const webhook of webhooks) {
|
|
208
208
|
if (webhook.type === type &&
|
|
209
209
|
webhook.events.every((event) => events.includes(event)) &&
|
|
@@ -223,7 +223,7 @@ class SendInBlueTrigger {
|
|
|
223
223
|
const webhookUrl = this.getNodeWebhookUrl('default');
|
|
224
224
|
const type = this.getNodeParameter('type');
|
|
225
225
|
const events = this.getNodeParameter('events');
|
|
226
|
-
const responseData = await GenericFunctions_1.
|
|
226
|
+
const responseData = await GenericFunctions_1.BrevoWebhookApi.createWebHook(this, type, events, webhookUrl);
|
|
227
227
|
if (responseData === undefined || responseData.id === undefined) {
|
|
228
228
|
return false;
|
|
229
229
|
}
|
|
@@ -234,7 +234,7 @@ class SendInBlueTrigger {
|
|
|
234
234
|
const webhookData = this.getWorkflowStaticData('node');
|
|
235
235
|
if (webhookData.webhookId !== undefined) {
|
|
236
236
|
try {
|
|
237
|
-
await GenericFunctions_1.
|
|
237
|
+
await GenericFunctions_1.BrevoWebhookApi.deleteWebhook(this, webhookData.webhookId);
|
|
238
238
|
}
|
|
239
239
|
catch (error) {
|
|
240
240
|
return false;
|
|
@@ -255,5 +255,5 @@ class SendInBlueTrigger {
|
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
-
exports.
|
|
259
|
-
//# sourceMappingURL=
|
|
258
|
+
exports.BrevoTrigger = BrevoTrigger;
|
|
259
|
+
//# sourceMappingURL=BrevoTrigger.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrevoTrigger.node.js","sourceRoot":"","sources":["../../../nodes/Brevo/BrevoTrigger.node.ts"],"names":[],"mappings":";;;AAQA,yDAAqD;AAErD,MAAa,YAAY;IAAzB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,eAAe;oBACrB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,WAAW,EAAE,eAAe;YAC5B,QAAQ,EAAE;gBACT,IAAI,EAAE,eAAe;aACrB;YACD,WAAW,EAAE,6CAA6C;YAC1D,KAAK,EAAE,CAAC,SAAS,CAAC;YAClB,IAAI,EAAE,gBAAgB;YACtB,MAAM,EAAE,EAAE;YAEV,IAAI,EAAE,mBAAmB;YACzB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE;gBACT;oBACC,IAAI,EAAE,SAAS;oBACf,UAAU,EAAE,MAAM;oBAClB,YAAY,EAAE,YAAY;oBAC1B,IAAI,EAAE,UAAU;iBAChB;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,OAAO,EAAE,eAAe;oBACxB,IAAI,EAAE,MAAM;oBACZ,OAAO,EAAE;wBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;wBACrC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;wBACzC,EAAE,IAA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