n8n-nodes-base 0.234.0 → 1.0.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/build.tsbuildinfo +1 -1
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js +0 -6
- package/dist/credentials/GoogleDriveOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/{BrevoApi.credentials.d.ts → SendInBlueApi.credentials.d.ts} +1 -1
- package/dist/credentials/{BrevoApi.credentials.js → SendInBlueApi.credentials.js} +7 -7
- package/dist/credentials/SendInBlueApi.credentials.js.map +1 -0
- package/dist/credentials/TwitterOAuth1Api.credentials.js +0 -6
- package/dist/credentials/TwitterOAuth1Api.credentials.js.map +1 -1
- package/dist/known/credentials.json +11 -35
- package/dist/known/nodes.json +8 -16
- package/dist/nodes/Code/Code.node.js +1 -2
- package/dist/nodes/Code/Code.node.js.map +1 -1
- package/dist/nodes/CompareDatasets/CompareDatasets.node.js +2 -1
- package/dist/nodes/CompareDatasets/CompareDatasets.node.js.map +1 -1
- package/dist/nodes/CompareDatasets/test/node/workflow.compareDatasets.forceInputNodeExecution.json +211 -0
- package/dist/nodes/Google/Drive/{v1/GenericFunctions.js → GenericFunctions.js} +1 -1
- package/dist/nodes/Google/Drive/GenericFunctions.js.map +1 -0
- package/dist/nodes/Google/Drive/GoogleDrive.node.d.ts +12 -3
- package/dist/nodes/Google/Drive/GoogleDrive.node.js +2301 -10
- 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/SearchFunctions.js.map +1 -0
- package/dist/nodes/GraphQL/GraphQL.node.js +0 -32
- package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +0 -22
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/ItemLists/ItemLists.node.js +1 -3
- package/dist/nodes/ItemLists/ItemLists.node.js.map +1 -1
- package/dist/nodes/Matrix/GenericFunctions.js +2 -8
- package/dist/nodes/Matrix/GenericFunctions.js.map +1 -1
- package/dist/nodes/Matrix/MediaDescription.js +1 -23
- package/dist/nodes/Matrix/MediaDescription.js.map +1 -1
- package/dist/nodes/Merge/Merge.node.js +1 -0
- package/dist/nodes/Merge/Merge.node.js.map +1 -1
- package/dist/nodes/Merge/test/node/workflow.mixed.forceInputNodeExecution.json +2440 -0
- package/dist/nodes/Merge/test/node/workflow.mixed.not.forceInputNodeExecution.json +2378 -0
- package/dist/nodes/Merge/v2/MergeV2.node.js +21 -1
- package/dist/nodes/Merge/v2/MergeV2.node.js.map +1 -1
- package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js +0 -7
- package/dist/nodes/Microsoft/ToDo/MicrosoftToDo.node.js.map +1 -1
- package/dist/nodes/Microsoft/ToDo/TaskDescription.js +0 -7
- package/dist/nodes/Microsoft/ToDo/TaskDescription.js.map +1 -1
- package/dist/nodes/Notion/DatabasePageDescription.js +0 -41
- package/dist/nodes/Notion/DatabasePageDescription.js.map +1 -1
- package/dist/nodes/Notion/v2/NotionV2.node.js +0 -9
- package/dist/nodes/Notion/v2/NotionV2.node.js.map +1 -1
- package/dist/nodes/Salesforce/ContactDescription.js +3 -3
- package/dist/nodes/Salesforce/ContactDescription.js.map +1 -1
- package/dist/nodes/{Brevo → SendInBlue}/AttributeDescription.js +1 -1
- package/dist/nodes/SendInBlue/AttributeDescription.js.map +1 -0
- package/dist/nodes/SendInBlue/ContactDescription.js.map +1 -0
- package/dist/nodes/{Brevo → SendInBlue}/EmailDescription.js +10 -10
- package/dist/nodes/SendInBlue/EmailDescription.js.map +1 -0
- package/dist/nodes/{Brevo → SendInBlue}/GenericFunctions.d.ts +2 -2
- package/dist/nodes/{Brevo → SendInBlue}/GenericFunctions.js +14 -14
- package/dist/nodes/SendInBlue/GenericFunctions.js.map +1 -0
- package/dist/nodes/{Brevo/Brevo.node.d.ts → SendInBlue/SendInBlue.node.d.ts} +1 -1
- package/dist/nodes/{Brevo/Brevo.node.js → SendInBlue/SendInBlue.node.js} +9 -9
- package/dist/nodes/SendInBlue/SendInBlue.node.js.map +1 -0
- package/dist/nodes/{Brevo/Brevo.node.json → SendInBlue/SendInBlue.node.json} +4 -5
- package/dist/nodes/{Brevo/BrevoTrigger.node.d.ts → SendInBlue/SendInBlueTrigger.node.d.ts} +1 -1
- package/dist/nodes/{Brevo/BrevoTrigger.node.js → SendInBlue/SendInBlueTrigger.node.js} +11 -11
- package/dist/nodes/SendInBlue/SendInBlueTrigger.node.js.map +1 -0
- package/dist/nodes/{Brevo/BrevoTrigger.node.json → SendInBlue/SendInBlueTrigger.node.json} +4 -5
- package/dist/nodes/SendInBlue/SenderDescrition.js.map +1 -0
- package/dist/nodes/SendInBlue/sendinblue.svg +20 -0
- package/dist/nodes/Strava/ActivityDescription.js +0 -7
- package/dist/nodes/Strava/ActivityDescription.js.map +1 -1
- package/dist/nodes/Strava/Strava.node.js +6 -0
- package/dist/nodes/Strava/Strava.node.js.map +1 -1
- package/dist/nodes/Twitter/DirectMessageDescription.js.map +1 -0
- package/dist/nodes/Twitter/GenericFunctions.js.map +1 -0
- package/dist/nodes/Twitter/TweetDescription.js.map +1 -0
- package/dist/nodes/Twitter/TweetInterface.js.map +1 -0
- package/dist/nodes/Twitter/Twitter.node.d.ts +9 -3
- package/dist/nodes/Twitter/Twitter.node.js +224 -12
- package/dist/nodes/Twitter/Twitter.node.js.map +1 -1
- package/dist/nodes/Twitter/Twitter.node.json +1 -2
- package/dist/nodes/Wait/Wait.node.d.ts +4 -7
- package/dist/nodes/Wait/Wait.node.js +499 -77
- package/dist/nodes/Wait/Wait.node.js.map +1 -1
- package/dist/nodes/Webhook/Webhook.node.d.ts +3 -8
- package/dist/nodes/Webhook/Webhook.node.js +460 -148
- package/dist/nodes/Webhook/Webhook.node.js.map +1 -1
- package/dist/types/credentials.json +3 -6
- package/dist/types/nodes.json +21 -26
- package/package.json +6 -12
- package/dist/credentials/BrevoApi.credentials.js.map +0 -1
- package/dist/credentials/CrowdDevApi.credentials.d.ts +0 -9
- package/dist/credentials/CrowdDevApi.credentials.js +0 -62
- package/dist/credentials/CrowdDevApi.credentials.js.map +0 -1
- package/dist/credentials/HttpCustomAuth.credentials.d.ts +0 -9
- package/dist/credentials/HttpCustomAuth.credentials.js +0 -25
- package/dist/credentials/HttpCustomAuth.credentials.js.map +0 -1
- package/dist/credentials/TwitterOAuth2Api.credentials.d.ts +0 -8
- package/dist/credentials/TwitterOAuth2Api.credentials.js +0 -73
- package/dist/credentials/TwitterOAuth2Api.credentials.js.map +0 -1
- package/dist/nodes/Brevo/AttributeDescription.js.map +0 -1
- package/dist/nodes/Brevo/Brevo.node.js.map +0 -1
- package/dist/nodes/Brevo/BrevoTrigger.node.js.map +0 -1
- package/dist/nodes/Brevo/ContactDescription.js.map +0 -1
- package/dist/nodes/Brevo/EmailDescription.js.map +0 -1
- package/dist/nodes/Brevo/GenericFunctions.js.map +0 -1
- package/dist/nodes/Brevo/SenderDescrition.js.map +0 -1
- package/dist/nodes/Brevo/brevo.svg +0 -4
- package/dist/nodes/CrowdDev/CrowdDev.node.d.ts +0 -4
- package/dist/nodes/CrowdDev/CrowdDev.node.js +0 -36
- package/dist/nodes/CrowdDev/CrowdDev.node.js.map +0 -1
- package/dist/nodes/CrowdDev/CrowdDev.node.json +0 -18
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.d.ts +0 -12
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.js +0 -145
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.js.map +0 -1
- package/dist/nodes/CrowdDev/CrowdDevTrigger.node.json +0 -18
- package/dist/nodes/CrowdDev/GenericFunctions.d.ts +0 -7
- package/dist/nodes/CrowdDev/GenericFunctions.js +0 -157
- package/dist/nodes/CrowdDev/GenericFunctions.js.map +0 -1
- package/dist/nodes/CrowdDev/crowdDev.svg +0 -15
- package/dist/nodes/CrowdDev/descriptions/activityFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/activityFields.js +0 -180
- package/dist/nodes/CrowdDev/descriptions/activityFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/automationFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/automationFields.js +0 -126
- package/dist/nodes/CrowdDev/descriptions/automationFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/index.d.ts +0 -2
- package/dist/nodes/CrowdDev/descriptions/index.js +0 -26
- package/dist/nodes/CrowdDev/descriptions/index.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/memberFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/memberFields.js +0 -291
- package/dist/nodes/CrowdDev/descriptions/memberFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/noteFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/noteFields.js +0 -90
- package/dist/nodes/CrowdDev/descriptions/noteFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/organizationFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/organizationFields.js +0 -146
- package/dist/nodes/CrowdDev/descriptions/organizationFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/resources.d.ts +0 -2
- package/dist/nodes/CrowdDev/descriptions/resources.js +0 -38
- package/dist/nodes/CrowdDev/descriptions/resources.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/shared.d.ts +0 -2
- package/dist/nodes/CrowdDev/descriptions/shared.js +0 -29
- package/dist/nodes/CrowdDev/descriptions/shared.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/taskFields.d.ts +0 -4
- package/dist/nodes/CrowdDev/descriptions/taskFields.js +0 -159
- package/dist/nodes/CrowdDev/descriptions/taskFields.js.map +0 -1
- package/dist/nodes/CrowdDev/descriptions/utils.d.ts +0 -5
- package/dist/nodes/CrowdDev/descriptions/utils.js +0 -55
- package/dist/nodes/CrowdDev/descriptions/utils.js.map +0 -1
- package/dist/nodes/Google/Drive/test/v2/node/helpers.d.ts +0 -3
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js +0 -34
- package/dist/nodes/Google/Drive/test/v2/node/helpers.js.map +0 -1
- package/dist/nodes/Google/Drive/v1/GenericFunctions.js.map +0 -1
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.d.ts +0 -14
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js +0 -2324
- package/dist/nodes/Google/Drive/v1/GoogleDriveV1.node.js.map +0 -1
- package/dist/nodes/Google/Drive/v1/SearchFunctions.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.d.ts +0 -10
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.js +0 -20
- package/dist/nodes/Google/Drive/v2/GoogleDriveV2.node.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.d.ts +0 -19
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js +0 -598
- package/dist/nodes/Google/Drive/v2/actions/common.descriptions.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.d.ts +0 -8
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.js +0 -88
- package/dist/nodes/Google/Drive/v2/actions/drive/Drive.resource.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.js +0 -235
- package/dist/nodes/Google/Drive/v2/actions/drive/create.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.js +0 -31
- package/dist/nodes/Google/Drive/v2/actions/drive/deleteDrive.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.js +0 -50
- package/dist/nodes/Google/Drive/v2/actions/drive/get.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.js +0 -81
- package/dist/nodes/Google/Drive/v2/actions/drive/list.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.js +0 -100
- package/dist/nodes/Google/Drive/v2/actions/drive/update.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.d.ts +0 -11
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.js +0 -115
- package/dist/nodes/Google/Drive/v2/actions/file/File.resource.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.js +0 -104
- package/dist/nodes/Google/Drive/v2/actions/file/copy.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.js +0 -134
- package/dist/nodes/Google/Drive/v2/actions/file/createFromText.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.js +0 -57
- package/dist/nodes/Google/Drive/v2/actions/file/deleteFile.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.js +0 -218
- package/dist/nodes/Google/Drive/v2/actions/file/download.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.js +0 -60
- package/dist/nodes/Google/Drive/v2/actions/file/move.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.js +0 -43
- package/dist/nodes/Google/Drive/v2/actions/file/share.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.js +0 -221
- package/dist/nodes/Google/Drive/v2/actions/file/update.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js +0 -135
- package/dist/nodes/Google/Drive/v2/actions/file/upload.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.d.ts +0 -4
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.js +0 -52
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/FileFolder.resource.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.js +0 -335
- package/dist/nodes/Google/Drive/v2/actions/fileFolder/search.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.d.ts +0 -6
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.js +0 -70
- package/dist/nodes/Google/Drive/v2/actions/folder/Folder.resource.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.js +0 -92
- package/dist/nodes/Google/Drive/v2/actions/folder/create.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.js +0 -59
- package/dist/nodes/Google/Drive/v2/actions/folder/deleteFolder.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.d.ts +0 -23
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.js +0 -43
- package/dist/nodes/Google/Drive/v2/actions/folder/share.operation.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/node.type.d.ts +0 -9
- package/dist/nodes/Google/Drive/v2/actions/node.type.js +0 -3
- package/dist/nodes/Google/Drive/v2/actions/node.type.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/router.d.ts +0 -2
- package/dist/nodes/Google/Drive/v2/actions/router.js +0 -76
- package/dist/nodes/Google/Drive/v2/actions/router.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.d.ts +0 -2
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.js +0 -112
- package/dist/nodes/Google/Drive/v2/actions/versionDescription.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.d.ts +0 -34
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.js +0 -26
- package/dist/nodes/Google/Drive/v2/helpers/interfaces.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/helpers/utils.d.ts +0 -15
- package/dist/nodes/Google/Drive/v2/helpers/utils.js +0 -104
- package/dist/nodes/Google/Drive/v2/helpers/utils.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/methods/index.d.ts +0 -1
- package/dist/nodes/Google/Drive/v2/methods/index.js +0 -28
- package/dist/nodes/Google/Drive/v2/methods/index.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/methods/listSearch.d.ts +0 -6
- package/dist/nodes/Google/Drive/v2/methods/listSearch.js +0 -144
- package/dist/nodes/Google/Drive/v2/methods/listSearch.js.map +0 -1
- package/dist/nodes/Google/Drive/v2/transport/index.d.ts +0 -4
- package/dist/nodes/Google/Drive/v2/transport/index.js +0 -68
- package/dist/nodes/Google/Drive/v2/transport/index.js.map +0 -1
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.d.ts +0 -6
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js +0 -18
- package/dist/nodes/ItemLists/V3/ItemListsV3.node.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.d.ts +0 -2
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js +0 -11
- package/dist/nodes/ItemLists/V3/actions/common.descriptions.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js +0 -303
- package/dist/nodes/ItemLists/V3/actions/itemList/concatenateItems.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/index.d.ts +0 -9
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js +0 -97
- package/dist/nodes/ItemLists/V3/actions/itemList/index.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js +0 -57
- package/dist/nodes/ItemLists/V3/actions/itemList/limit.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js +0 -204
- package/dist/nodes/ItemLists/V3/actions/itemList/removeDuplicates.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js +0 -262
- package/dist/nodes/ItemLists/V3/actions/itemList/sort.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js +0 -183
- package/dist/nodes/ItemLists/V3/actions/itemList/splitOutItems.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.d.ts +0 -23
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js +0 -491
- package/dist/nodes/ItemLists/V3/actions/itemList/summarize.operation.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/node.type.d.ts +0 -6
- package/dist/nodes/ItemLists/V3/actions/node.type.js +0 -3
- package/dist/nodes/ItemLists/V3/actions/node.type.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/router.d.ts +0 -2
- package/dist/nodes/ItemLists/V3/actions/router.js +0 -53
- package/dist/nodes/ItemLists/V3/actions/router.js.map +0 -1
- package/dist/nodes/ItemLists/V3/actions/versionDescription.d.ts +0 -2
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js +0 -58
- package/dist/nodes/ItemLists/V3/actions/versionDescription.js.map +0 -1
- package/dist/nodes/ItemLists/V3/helpers/utils.d.ts +0 -5
- package/dist/nodes/ItemLists/V3/helpers/utils.js +0 -57
- package/dist/nodes/ItemLists/V3/helpers/utils.js.map +0 -1
- package/dist/nodes/ItemLists/test/node/workflow.update_3.json +0 -606
- package/dist/nodes/Twitter/V1/DirectMessageDescription.js.map +0 -1
- package/dist/nodes/Twitter/V1/GenericFunctions.js.map +0 -1
- package/dist/nodes/Twitter/V1/TweetDescription.js.map +0 -1
- package/dist/nodes/Twitter/V1/TweetInterface.js.map +0 -1
- package/dist/nodes/Twitter/V1/TwitterV1.node.d.ts +0 -11
- package/dist/nodes/Twitter/V1/TwitterV1.node.js +0 -235
- package/dist/nodes/Twitter/V1/TwitterV1.node.js.map +0 -1
- package/dist/nodes/Twitter/V2/DirectMessageDescription.d.ts +0 -3
- package/dist/nodes/Twitter/V2/DirectMessageDescription.js +0 -100
- package/dist/nodes/Twitter/V2/DirectMessageDescription.js.map +0 -1
- package/dist/nodes/Twitter/V2/GenericFunctions.d.ts +0 -5
- package/dist/nodes/Twitter/V2/GenericFunctions.js +0 -88
- package/dist/nodes/Twitter/V2/GenericFunctions.js.map +0 -1
- package/dist/nodes/Twitter/V2/ListDescription.d.ts +0 -3
- package/dist/nodes/Twitter/V2/ListDescription.js +0 -92
- package/dist/nodes/Twitter/V2/ListDescription.js.map +0 -1
- package/dist/nodes/Twitter/V2/TweetDescription.d.ts +0 -3
- package/dist/nodes/Twitter/V2/TweetDescription.js +0 -452
- package/dist/nodes/Twitter/V2/TweetDescription.js.map +0 -1
- package/dist/nodes/Twitter/V2/TweetInterface.d.ts +0 -23
- package/dist/nodes/Twitter/V2/TweetInterface.js +0 -3
- package/dist/nodes/Twitter/V2/TweetInterface.js.map +0 -1
- package/dist/nodes/Twitter/V2/TwitterV2.node.d.ts +0 -11
- package/dist/nodes/Twitter/V2/TwitterV2.node.js +0 -245
- package/dist/nodes/Twitter/V2/TwitterV2.node.js.map +0 -1
- package/dist/nodes/Twitter/V2/UserDescription.d.ts +0 -3
- package/dist/nodes/Twitter/V2/UserDescription.js +0 -76
- package/dist/nodes/Twitter/V2/UserDescription.js.map +0 -1
- package/dist/nodes/Twitter/test/Workflow_Twitter_UnitTest.json +0 -284
- package/dist/nodes/Webhook/description.d.ts +0 -10
- package/dist/nodes/Webhook/description.js +0 -325
- package/dist/nodes/Webhook/description.js.map +0 -1
- package/dist/nodes/Webhook/error.d.ts +0 -4
- package/dist/nodes/Webhook/error.js +0 -20
- package/dist/nodes/Webhook/error.js.map +0 -1
- package/dist/package.json +0 -850
- package/dist/utils/constants.d.ts +0 -1
- package/dist/utils/constants.js +0 -7
- package/dist/utils/constants.js.map +0 -1
- /package/dist/nodes/Google/Drive/{v1/GenericFunctions.d.ts → GenericFunctions.d.ts} +0 -0
- /package/dist/nodes/Google/Drive/{v1/SearchFunctions.d.ts → SearchFunctions.d.ts} +0 -0
- /package/dist/nodes/Google/Drive/{v1/SearchFunctions.js → SearchFunctions.js} +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/AttributeDescription.d.ts +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/ContactDescription.d.ts +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/ContactDescription.js +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/EmailDescription.d.ts +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/SenderDescrition.d.ts +0 -0
- /package/dist/nodes/{Brevo → SendInBlue}/SenderDescrition.js +0 -0
- /package/dist/nodes/Twitter/{V1/DirectMessageDescription.d.ts → DirectMessageDescription.d.ts} +0 -0
- /package/dist/nodes/Twitter/{V1/DirectMessageDescription.js → DirectMessageDescription.js} +0 -0
- /package/dist/nodes/Twitter/{V1/GenericFunctions.d.ts → GenericFunctions.d.ts} +0 -0
- /package/dist/nodes/Twitter/{V1/GenericFunctions.js → GenericFunctions.js} +0 -0
- /package/dist/nodes/Twitter/{V1/TweetDescription.d.ts → TweetDescription.d.ts} +0 -0
- /package/dist/nodes/Twitter/{V1/TweetDescription.js → TweetDescription.js} +0 -0
- /package/dist/nodes/Twitter/{V1/TweetInterface.d.ts → TweetInterface.d.ts} +0 -0
- /package/dist/nodes/Twitter/{V1/TweetInterface.js → TweetInterface.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TweetInterface.js","sourceRoot":"","sources":["../../../nodes/Twitter/TweetInterface.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare class Twitter
|
|
3
|
-
|
|
1
|
+
import type { IExecuteFunctions, ILoadOptionsFunctions, INodeExecutionData, INodePropertyOptions, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
+
export declare class Twitter implements INodeType {
|
|
3
|
+
description: INodeTypeDescription;
|
|
4
|
+
methods: {
|
|
5
|
+
loadOptions: {
|
|
6
|
+
getLanguages(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
4
10
|
}
|
|
@@ -1,25 +1,237 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.Twitter = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
7
|
+
const DirectMessageDescription_1 = require("./DirectMessageDescription");
|
|
8
|
+
const TweetDescription_1 = require("./TweetDescription");
|
|
9
|
+
const GenericFunctions_1 = require("./GenericFunctions");
|
|
10
|
+
const iso_639_1_1 = __importDefault(require("iso-639-1"));
|
|
11
|
+
class Twitter {
|
|
8
12
|
constructor() {
|
|
9
|
-
|
|
13
|
+
this.description = {
|
|
10
14
|
displayName: 'Twitter',
|
|
11
15
|
name: 'twitter',
|
|
12
16
|
icon: 'file:twitter.svg',
|
|
13
|
-
group: ['output'],
|
|
14
|
-
|
|
17
|
+
group: ['input', 'output'],
|
|
18
|
+
version: 1,
|
|
15
19
|
description: 'Consume Twitter API',
|
|
16
|
-
|
|
20
|
+
subtitle: '={{$parameter["operation"] + ":" + $parameter["resource"]}}',
|
|
21
|
+
defaults: {
|
|
22
|
+
name: 'Twitter',
|
|
23
|
+
},
|
|
24
|
+
inputs: ['main'],
|
|
25
|
+
outputs: ['main'],
|
|
26
|
+
credentials: [
|
|
27
|
+
{
|
|
28
|
+
name: 'twitterOAuth1Api',
|
|
29
|
+
required: true,
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
properties: [
|
|
33
|
+
{
|
|
34
|
+
displayName: 'Resource',
|
|
35
|
+
name: 'resource',
|
|
36
|
+
type: 'options',
|
|
37
|
+
noDataExpression: true,
|
|
38
|
+
options: [
|
|
39
|
+
{
|
|
40
|
+
name: 'Direct Message',
|
|
41
|
+
value: 'directMessage',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Tweet',
|
|
45
|
+
value: 'tweet',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
default: 'tweet',
|
|
49
|
+
},
|
|
50
|
+
...DirectMessageDescription_1.directMessageOperations,
|
|
51
|
+
...DirectMessageDescription_1.directMessageFields,
|
|
52
|
+
...TweetDescription_1.tweetOperations,
|
|
53
|
+
...TweetDescription_1.tweetFields,
|
|
54
|
+
],
|
|
17
55
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
56
|
+
this.methods = {
|
|
57
|
+
loadOptions: {
|
|
58
|
+
async getLanguages() {
|
|
59
|
+
const returnData = [];
|
|
60
|
+
const languages = iso_639_1_1.default.getAllNames();
|
|
61
|
+
for (const language of languages) {
|
|
62
|
+
const languageName = language;
|
|
63
|
+
const languageId = iso_639_1_1.default.getCode(language);
|
|
64
|
+
returnData.push({
|
|
65
|
+
name: languageName,
|
|
66
|
+
value: languageId,
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
return returnData;
|
|
70
|
+
},
|
|
71
|
+
},
|
|
21
72
|
};
|
|
22
|
-
|
|
73
|
+
}
|
|
74
|
+
async execute() {
|
|
75
|
+
const items = this.getInputData();
|
|
76
|
+
const returnData = [];
|
|
77
|
+
const length = items.length;
|
|
78
|
+
let responseData;
|
|
79
|
+
const resource = this.getNodeParameter('resource', 0);
|
|
80
|
+
const operation = this.getNodeParameter('operation', 0);
|
|
81
|
+
for (let i = 0; i < length; i++) {
|
|
82
|
+
try {
|
|
83
|
+
if (resource === 'directMessage') {
|
|
84
|
+
if (operation === 'create') {
|
|
85
|
+
const userId = this.getNodeParameter('userId', i);
|
|
86
|
+
const text = this.getNodeParameter('text', i);
|
|
87
|
+
const additionalFields = this.getNodeParameter('additionalFields', i);
|
|
88
|
+
const body = {
|
|
89
|
+
type: 'message_create',
|
|
90
|
+
message_create: {
|
|
91
|
+
target: {
|
|
92
|
+
recipient_id: userId,
|
|
93
|
+
},
|
|
94
|
+
message_data: {
|
|
95
|
+
text,
|
|
96
|
+
attachment: {},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
if (additionalFields.attachment) {
|
|
101
|
+
const attachment = additionalFields.attachment;
|
|
102
|
+
const attachmentProperties = attachment.split(',').map((propertyName) => {
|
|
103
|
+
return propertyName.trim();
|
|
104
|
+
});
|
|
105
|
+
const medias = await GenericFunctions_1.uploadAttachments.call(this, attachmentProperties, i);
|
|
106
|
+
body.message_create.message_data.attachment = {
|
|
107
|
+
type: 'media',
|
|
108
|
+
media: { id: medias[0].media_id_string },
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
delete body.message_create.message_data.attachment;
|
|
113
|
+
}
|
|
114
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'POST', '/direct_messages/events/new.json', { event: body });
|
|
115
|
+
responseData = responseData.event;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
if (resource === 'tweet') {
|
|
119
|
+
if (operation === 'create') {
|
|
120
|
+
const text = this.getNodeParameter('text', i);
|
|
121
|
+
const additionalFields = this.getNodeParameter('additionalFields', i);
|
|
122
|
+
const body = {
|
|
123
|
+
status: text,
|
|
124
|
+
};
|
|
125
|
+
if (additionalFields.inReplyToStatusId) {
|
|
126
|
+
body.in_reply_to_status_id = additionalFields.inReplyToStatusId;
|
|
127
|
+
body.auto_populate_reply_metadata = true;
|
|
128
|
+
}
|
|
129
|
+
if (additionalFields.attachments) {
|
|
130
|
+
const attachments = additionalFields.attachments;
|
|
131
|
+
const attachmentProperties = attachments.split(',').map((propertyName) => {
|
|
132
|
+
return propertyName.trim();
|
|
133
|
+
});
|
|
134
|
+
const medias = await GenericFunctions_1.uploadAttachments.call(this, attachmentProperties, i);
|
|
135
|
+
body.media_ids = medias
|
|
136
|
+
.map((media) => media.media_id_string)
|
|
137
|
+
.join(',');
|
|
138
|
+
}
|
|
139
|
+
if (additionalFields.possiblySensitive) {
|
|
140
|
+
body.possibly_sensitive = additionalFields.possiblySensitive;
|
|
141
|
+
}
|
|
142
|
+
if (additionalFields.displayCoordinates) {
|
|
143
|
+
body.display_coordinates = additionalFields.displayCoordinates;
|
|
144
|
+
}
|
|
145
|
+
if (additionalFields.locationFieldsUi) {
|
|
146
|
+
const locationUi = additionalFields.locationFieldsUi;
|
|
147
|
+
if (locationUi.locationFieldsValues) {
|
|
148
|
+
const values = locationUi.locationFieldsValues;
|
|
149
|
+
body.lat = parseFloat(values.latitude);
|
|
150
|
+
body.long = parseFloat(values.longitude);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'POST', '/statuses/update.json', {}, body);
|
|
154
|
+
}
|
|
155
|
+
if (operation === 'delete') {
|
|
156
|
+
const tweetId = this.getNodeParameter('tweetId', i);
|
|
157
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'POST', `/statuses/destroy/${tweetId}.json`, {}, {});
|
|
158
|
+
}
|
|
159
|
+
if (operation === 'search') {
|
|
160
|
+
const q = this.getNodeParameter('searchText', i);
|
|
161
|
+
const returnAll = this.getNodeParameter('returnAll', i);
|
|
162
|
+
const additionalFields = this.getNodeParameter('additionalFields', i);
|
|
163
|
+
const qs = {
|
|
164
|
+
q,
|
|
165
|
+
};
|
|
166
|
+
if (additionalFields.includeEntities) {
|
|
167
|
+
qs.include_entities = additionalFields.includeEntities;
|
|
168
|
+
}
|
|
169
|
+
if (additionalFields.resultType) {
|
|
170
|
+
qs.response_type = additionalFields.resultType;
|
|
171
|
+
}
|
|
172
|
+
if (additionalFields.until) {
|
|
173
|
+
qs.until = additionalFields.until;
|
|
174
|
+
}
|
|
175
|
+
if (additionalFields.lang) {
|
|
176
|
+
qs.lang = additionalFields.lang;
|
|
177
|
+
}
|
|
178
|
+
if (additionalFields.locationFieldsUi) {
|
|
179
|
+
const locationUi = additionalFields.locationFieldsUi;
|
|
180
|
+
if (locationUi.locationFieldsValues) {
|
|
181
|
+
const values = locationUi.locationFieldsValues;
|
|
182
|
+
qs.geocode = `${values.latitude},${values.longitude},${values.distance}${values.radius}`;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
qs.tweet_mode = additionalFields.tweetMode || 'compat';
|
|
186
|
+
if (returnAll) {
|
|
187
|
+
responseData = await GenericFunctions_1.twitterApiRequestAllItems.call(this, 'statuses', 'GET', '/search/tweets.json', {}, qs);
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
qs.count = this.getNodeParameter('limit', 0);
|
|
191
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'GET', '/search/tweets.json', {}, qs);
|
|
192
|
+
responseData = responseData.statuses;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
if (operation === 'like') {
|
|
196
|
+
const tweetId = this.getNodeParameter('tweetId', i);
|
|
197
|
+
const additionalFields = this.getNodeParameter('additionalFields', i);
|
|
198
|
+
const qs = {
|
|
199
|
+
id: tweetId,
|
|
200
|
+
};
|
|
201
|
+
if (additionalFields.includeEntities) {
|
|
202
|
+
qs.include_entities = additionalFields.includeEntities;
|
|
203
|
+
}
|
|
204
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'POST', '/favorites/create.json', {}, qs);
|
|
205
|
+
}
|
|
206
|
+
if (operation === 'retweet') {
|
|
207
|
+
const tweetId = this.getNodeParameter('tweetId', i);
|
|
208
|
+
const additionalFields = this.getNodeParameter('additionalFields', i);
|
|
209
|
+
const qs = {
|
|
210
|
+
id: tweetId,
|
|
211
|
+
};
|
|
212
|
+
if (additionalFields.trimUser) {
|
|
213
|
+
qs.trim_user = additionalFields.trimUser;
|
|
214
|
+
}
|
|
215
|
+
responseData = await GenericFunctions_1.twitterApiRequest.call(this, 'POST', `/statuses/retweet/${tweetId}.json`, {}, qs);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(responseData), { itemData: { item: i } });
|
|
219
|
+
returnData.push(...executionData);
|
|
220
|
+
}
|
|
221
|
+
catch (error) {
|
|
222
|
+
if (this.continueOnFail()) {
|
|
223
|
+
const executionErrorData = {
|
|
224
|
+
json: {
|
|
225
|
+
error: error.message,
|
|
226
|
+
},
|
|
227
|
+
};
|
|
228
|
+
returnData.push(executionErrorData);
|
|
229
|
+
continue;
|
|
230
|
+
}
|
|
231
|
+
throw error;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
return this.prepareOutputData(returnData);
|
|
23
235
|
}
|
|
24
236
|
}
|
|
25
237
|
exports.Twitter = Twitter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Twitter.node.js","sourceRoot":"","sources":["../../../nodes/Twitter/Twitter.node.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Twitter.node.js","sourceRoot":"","sources":["../../../nodes/Twitter/Twitter.node.ts"],"names":[],"mappings":";;;;;;AAWA,yEAA0F;AAE1F,yDAAkE;AAElE,yDAI4B;AAI5B,0DAAgC;AAEhC,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;YAC1B,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,qBAAqB;YAClC,QAAQ,EAAE,6DAA6D;YACvE,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,MAAM,EAAE,CAAC,MAAM,CAAC;YAChB,OAAO,EAAE,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,kBAAkB;oBACxB,QAAQ,EAAE,IAAI;iBACd;aACD;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,gBAAgB;4BACtB,KAAK,EAAE,eAAe;yBACtB;wBACD;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AkB,GAAG;wBAC1B,IAAI,EAAE;4BACL,KAAK,EAAG,KAAoB,CAAC,OAAO;yBACpC;qBACD,CAAC;oBACF,UAAU,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;oBACpC,SAAS;iBACT;gBACD,MAAM,KAAK,CAAC;aACZ;SACD;QAED,OAAO,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;IAC3C,CAAC;CACD;AArTD,0BAqTC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData, INodeTypeDescription } from 'n8n-workflow';
|
|
2
|
-
|
|
3
|
-
export declare class Wait extends Webhook {
|
|
4
|
-
authPropertyName: string;
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription, IWebhookFunctions, IWebhookResponseData } from 'n8n-workflow';
|
|
2
|
+
export declare class Wait implements INodeType {
|
|
5
3
|
description: INodeTypeDescription;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
private putToWait;
|
|
4
|
+
webhook(this: IWebhookFunctions): Promise<IWebhookResponseData>;
|
|
5
|
+
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
|
9
6
|
}
|