n8n-nodes-base 1.0.4 → 1.1.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/AirtableTokenApi.credentials.js +10 -0
- package/dist/credentials/AirtableTokenApi.credentials.js.map +1 -1
- 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/GoogleSheetsOAuth2Api.credentials.js +3 -0
- package/dist/credentials/GoogleSheetsOAuth2Api.credentials.js.map +1 -1
- package/dist/credentials/GoogleSheetsTriggerOAuth2Api.credentials.js +3 -0
- package/dist/credentials/GoogleSheetsTriggerOAuth2Api.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 +36 -6
- package/dist/known/nodes.json +8 -0
- package/dist/methods/defined.json +6 -0
- package/dist/methods/referenced.json +4 -0
- package/dist/nodes/ActionNetwork/GenericFunctions.d.ts +23 -7
- package/dist/nodes/ActionNetwork/types.d.ts +79 -0
- package/dist/nodes/ActionNetwork/types.js +3 -0
- package/dist/nodes/ActionNetwork/types.js.map +1 -0
- package/dist/nodes/Adalo/types.d.ts +9 -0
- package/dist/nodes/Adalo/types.js +3 -0
- package/dist/nodes/Adalo/types.js.map +1 -0
- package/dist/nodes/Airtable/Airtable.node.d.ts +3 -4
- package/dist/nodes/Airtable/Airtable.node.js +10 -701
- package/dist/nodes/Airtable/Airtable.node.js.map +1 -1
- package/dist/nodes/Airtable/AirtableTrigger.node.js +14 -1
- package/dist/nodes/Airtable/AirtableTrigger.node.js.map +1 -1
- package/dist/nodes/Airtable/test/v2/node/helpers.d.ts +3 -0
- package/dist/nodes/Airtable/test/v2/node/helpers.js +31 -0
- package/dist/nodes/Airtable/test/v2/node/helpers.js.map +1 -0
- package/dist/nodes/Airtable/v1/AirtableV1.node.d.ts +6 -0
- package/dist/nodes/Airtable/v1/AirtableV1.node.js +722 -0
- package/dist/nodes/Airtable/v1/AirtableV1.node.js.map +1 -0
- package/dist/nodes/Airtable/v1/GenericFunctions.js.map +1 -0
- package/dist/nodes/Airtable/v2/AirtableV2.node.d.ts +12 -0
- package/dist/nodes/Airtable/v2/AirtableV2.node.js +24 -0
- package/dist/nodes/Airtable/v2/AirtableV2.node.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/base/Base.resource.d.ts +5 -0
- package/dist/nodes/Airtable/v2/actions/base/Base.resource.js +61 -0
- package/dist/nodes/Airtable/v2/actions/base/Base.resource.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/base/getMany.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/base/getMany.operation.js +106 -0
- package/dist/nodes/Airtable/v2/actions/base/getMany.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/base/getSchema.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/base/getSchema.operation.js +42 -0
- package/dist/nodes/Airtable/v2/actions/base/getSchema.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/common.descriptions.d.ts +5 -0
- package/dist/nodes/Airtable/v2/actions/common.descriptions.js +203 -0
- package/dist/nodes/Airtable/v2/actions/common.descriptions.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/node.type.d.ts +8 -0
- package/dist/nodes/Airtable/v2/actions/node.type.js +3 -0
- package/dist/nodes/Airtable/v2/actions/node.type.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/Record.resource.d.ts +9 -0
- package/dist/nodes/Airtable/v2/actions/record/Record.resource.js +114 -0
- package/dist/nodes/Airtable/v2/actions/record/Record.resource.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/create.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/create.operation.js +74 -0
- package/dist/nodes/Airtable/v2/actions/record/create.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/deleteRecord.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/deleteRecord.operation.js +47 -0
- package/dist/nodes/Airtable/v2/actions/record/deleteRecord.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/get.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/get.operation.js +74 -0
- package/dist/nodes/Airtable/v2/actions/record/get.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/search.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/search.operation.js +188 -0
- package/dist/nodes/Airtable/v2/actions/record/search.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/update.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/update.operation.js +106 -0
- package/dist/nodes/Airtable/v2/actions/record/update.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/record/upsert.operation.d.ts +22 -0
- package/dist/nodes/Airtable/v2/actions/record/upsert.operation.js +129 -0
- package/dist/nodes/Airtable/v2/actions/record/upsert.operation.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/router.d.ts +2 -0
- package/dist/nodes/Airtable/v2/actions/router.js +67 -0
- package/dist/nodes/Airtable/v2/actions/router.js.map +1 -0
- package/dist/nodes/Airtable/v2/actions/versionDescription.d.ts +2 -0
- package/dist/nodes/Airtable/v2/actions/versionDescription.js +100 -0
- package/dist/nodes/Airtable/v2/actions/versionDescription.js.map +1 -0
- package/dist/nodes/Airtable/v2/helpers/interfaces.d.ts +22 -0
- package/dist/nodes/Airtable/v2/helpers/interfaces.js +3 -0
- package/dist/nodes/Airtable/v2/helpers/interfaces.js.map +1 -0
- package/dist/nodes/Airtable/v2/helpers/utils.d.ts +8 -0
- package/dist/nodes/Airtable/v2/helpers/utils.js +76 -0
- package/dist/nodes/Airtable/v2/helpers/utils.js.map +1 -0
- package/dist/nodes/Airtable/v2/methods/index.d.ts +3 -0
- package/dist/nodes/Airtable/v2/methods/index.js +30 -0
- package/dist/nodes/Airtable/v2/methods/index.js.map +1 -0
- package/dist/nodes/Airtable/v2/methods/listSearch.d.ts +4 -0
- package/dist/nodes/Airtable/v2/methods/listSearch.js +124 -0
- package/dist/nodes/Airtable/v2/methods/listSearch.js.map +1 -0
- package/dist/nodes/Airtable/v2/methods/loadOptions.d.ts +5 -0
- package/dist/nodes/Airtable/v2/methods/loadOptions.js +78 -0
- package/dist/nodes/Airtable/v2/methods/loadOptions.js.map +1 -0
- package/dist/nodes/Airtable/v2/methods/resourceMapping.d.ts +3 -0
- package/dist/nodes/Airtable/v2/methods/resourceMapping.js +105 -0
- package/dist/nodes/Airtable/v2/methods/resourceMapping.js.map +1 -0
- package/dist/nodes/Airtable/v2/transport/index.d.ts +8 -0
- package/dist/nodes/Airtable/v2/transport/index.js +102 -0
- package/dist/nodes/Airtable/v2/transport/index.js.map +1 -0
- package/dist/nodes/Aws/DynamoDB/types.d.ts +67 -0
- package/dist/nodes/Aws/DynamoDB/types.js +17 -0
- package/dist/nodes/Aws/DynamoDB/types.js.map +1 -0
- package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js +50 -32
- package/dist/nodes/Aws/S3/V2/AwsS3V2.node.js.map +1 -1
- package/dist/nodes/Baserow/types.d.ts +35 -0
- package/dist/nodes/Baserow/types.js +3 -0
- package/dist/nodes/Baserow/types.js.map +1 -0
- package/dist/nodes/Chargebee/Chargebee.node.js +0 -2
- package/dist/nodes/Chargebee/Chargebee.node.js.map +1 -1
- package/dist/nodes/Copper/utils/types.d.ts +26 -0
- package/dist/nodes/Copper/utils/types.js +3 -0
- package/dist/nodes/Copper/utils/types.js.map +1 -0
- package/dist/nodes/CrateDb/CrateDb.node.js +1 -1
- 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/Disqus/Disqus.node.js +0 -2
- package/dist/nodes/Disqus/Disqus.node.js.map +1 -1
- package/dist/nodes/Elastic/ElasticSecurity/types.d.ts +48 -0
- package/dist/nodes/Elastic/ElasticSecurity/types.js +3 -0
- package/dist/nodes/Elastic/ElasticSecurity/types.js.map +1 -0
- package/dist/nodes/Elastic/Elasticsearch/types.d.ts +39 -0
- package/dist/nodes/Elastic/Elasticsearch/types.js +3 -0
- package/dist/nodes/Elastic/Elasticsearch/types.js.map +1 -0
- package/dist/nodes/Freshservice/types.d.ts +27 -0
- package/dist/nodes/Freshservice/types.js +3 -0
- package/dist/nodes/Freshservice/types.js.map +1 -0
- package/dist/nodes/FreshworksCrm/types.d.ts +36 -0
- package/dist/nodes/FreshworksCrm/types.js +3 -0
- package/dist/nodes/FreshworksCrm/types.js.map +1 -0
- package/dist/nodes/Ftp/Ftp.node.js +3 -0
- package/dist/nodes/Ftp/Ftp.node.js.map +1 -1
- package/dist/nodes/Git/Git.node.js +0 -2
- package/dist/nodes/Git/Git.node.js.map +1 -1
- package/dist/nodes/Gitlab/Gitlab.node.js +0 -16
- package/dist/nodes/Gitlab/Gitlab.node.js.map +1 -1
- package/dist/nodes/Gitlab/GitlabTrigger.node.js +1 -1
- package/dist/nodes/Gitlab/GitlabTrigger.node.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v1/GoogleBigQueryV1.node.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v1/GoogleBigQueryV1.node.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/GoogleBigQueryV2.node.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v2/GoogleBigQueryV2.node.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js +11 -7
- package/dist/nodes/Google/BigQuery/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/actions/router.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v2/actions/router.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/helpers/utils.d.ts +2 -3
- package/dist/nodes/Google/BigQuery/v2/helpers/utils.js +1 -2
- package/dist/nodes/Google/BigQuery/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Google/BigQuery/v2/transport/index.d.ts +1 -2
- package/dist/nodes/Google/BigQuery/v2/transport/index.js.map +1 -1
- package/dist/nodes/Google/CloudStorage/ObjectDescription.d.ts +1 -1
- package/dist/nodes/Google/CloudStorage/ObjectDescription.js +17 -4
- package/dist/nodes/Google/CloudStorage/ObjectDescription.js.map +1 -1
- package/dist/nodes/Google/Docs/interfaces.d.ts +13 -0
- package/dist/nodes/Google/Docs/interfaces.js +3 -0
- package/dist/nodes/Google/Docs/interfaces.js.map +1 -0
- 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 +2325 -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 +599 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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/GenericFunctions.d.ts +1 -2
- package/dist/nodes/Google/GenericFunctions.js.map +1 -1
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js +7 -2
- package/dist/nodes/Google/Gmail/GmailTrigger.node.js.map +1 -1
- package/dist/nodes/Google/Perspective/types.d.ts +22 -0
- package/dist/nodes/Google/Perspective/types.js +3 -0
- package/dist/nodes/Google/Perspective/types.js.map +1 -0
- package/dist/nodes/Google/Sheet/v1/GoogleSheet.js +2 -2
- package/dist/nodes/Google/Sheet/v1/GoogleSheet.js.map +1 -1
- package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js +4 -4
- package/dist/nodes/Google/Sheet/v1/GoogleSheetsV1.node.js.map +1 -1
- package/dist/nodes/Google/Sheet/v1/versionDescription.js.map +1 -1
- package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.d.ts +1 -2
- package/dist/nodes/Google/Sheet/v2/methods/resourceMapping.js.map +1 -1
- package/dist/nodes/Grafana/types.d.ts +30 -0
- package/dist/nodes/Grafana/types.js +3 -0
- package/dist/nodes/Grafana/types.js.map +1 -0
- package/dist/nodes/GraphQL/GraphQL.node.js +32 -0
- package/dist/nodes/GraphQL/GraphQL.node.js.map +1 -1
- package/dist/nodes/Grist/types.d.ts +50 -0
- package/dist/nodes/Grist/types.js +3 -0
- package/dist/nodes/Grist/types.js.map +1 -0
- package/dist/nodes/HelpScout/HelpScout.node.js +0 -2
- package/dist/nodes/HelpScout/HelpScout.node.js.map +1 -1
- package/dist/nodes/Html/Html.node.d.ts +1 -0
- package/dist/nodes/Html/Html.node.js +143 -2
- package/dist/nodes/Html/Html.node.js.map +1 -1
- package/dist/nodes/Html/Html.node.json +1 -1
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js +22 -0
- package/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js.map +1 -1
- package/dist/nodes/Hubspot/V1/GenericFunctions.d.ts +1 -2
- package/dist/nodes/Hubspot/V1/GenericFunctions.js.map +1 -1
- package/dist/nodes/Hubspot/V1/HubspotV1.node.d.ts +1 -2
- package/dist/nodes/Hubspot/V1/HubspotV1.node.js.map +1 -1
- package/dist/nodes/Hubspot/V2/HubspotV2.node.d.ts +1 -2
- package/dist/nodes/Hubspot/V2/HubspotV2.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 +22 -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 +22 -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 +22 -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 +22 -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 +22 -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/Ldap/Ldap.node.d.ts +1 -2
- package/dist/nodes/LoneScale/GenericFunctions.d.ts +1 -2
- package/dist/nodes/LoneScale/GenericFunctions.js.map +1 -1
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.d.ts +1 -2
- package/dist/nodes/LoneScale/LoneScaleTrigger.node.js.map +1 -1
- package/dist/nodes/Magento/GenericFunctions.d.ts +1 -1
- package/dist/nodes/Magento/GenericFunctions.js.map +1 -1
- package/dist/nodes/Magento/types.d.ts +173 -0
- package/dist/nodes/Magento/types.js +3 -0
- package/dist/nodes/Magento/types.js.map +1 -0
- package/dist/nodes/Marketstack/types.d.ts +10 -0
- package/dist/nodes/Marketstack/types.js +3 -0
- package/dist/nodes/Marketstack/types.js.map +1 -0
- 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/Microsoft/Excel/v1/MicrosoftExcelV1.node.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v1/MicrosoftExcelV1.node.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/MicrosoftExcelV2.node.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/MicrosoftExcelV2.node.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/router.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/router.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/addTable.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/addTable.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/append.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/append.operation.js +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.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/convertToRange.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/deleteTable.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/deleteTable.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getColumns.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getColumns.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getRows.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/getRows.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/table/lookup.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/table/lookup.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/addWorksheet.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/addWorksheet.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/deleteWorkbook.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/deleteWorkbook.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/getAll.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/workbook/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/append.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/append.operation.js +5 -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.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/clear.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/deleteWorksheet.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/deleteWorksheet.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/getAll.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/getAll.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/readRows.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/readRows.operation.js +2 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/readRows.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/update.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/update.operation.js +2 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/update.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/upsert.operation.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/upsert.operation.js +1 -1
- package/dist/nodes/Microsoft/Excel/v2/actions/worksheet/upsert.operation.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/helpers/utils.d.ts +2 -3
- package/dist/nodes/Microsoft/Excel/v2/helpers/utils.js +2 -3
- package/dist/nodes/Microsoft/Excel/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/Microsoft/Excel/v2/transport/index.d.ts +1 -2
- package/dist/nodes/Microsoft/Excel/v2/transport/index.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/Misp/types.d.ts +31 -0
- package/dist/nodes/Misp/types.js +3 -0
- package/dist/nodes/Misp/types.js.map +1 -0
- package/dist/nodes/MonicaCrm/types.d.ts +11 -0
- package/dist/nodes/MonicaCrm/types.js +3 -0
- package/dist/nodes/MonicaCrm/types.js.map +1 -0
- package/dist/nodes/MySql/v1/MySqlV1.node.d.ts +1 -2
- package/dist/nodes/MySql/v1/MySqlV1.node.js.map +1 -1
- package/dist/nodes/MySql/v2/MySqlV2.node.d.ts +1 -2
- package/dist/nodes/MySql/v2/MySqlV2.node.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/deleteTable.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/deleteTable.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/insert.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/select.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/select.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/update.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/MySql/v2/actions/router.d.ts +1 -2
- package/dist/nodes/MySql/v2/actions/router.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/OpenAi/ChatDescription.js +2 -2
- package/dist/nodes/OpenAi/ChatDescription.js.map +1 -1
- package/dist/nodes/OpenAi/TextDescription.js +2 -2
- package/dist/nodes/OpenAi/TextDescription.js.map +1 -1
- package/dist/nodes/Postgres/v1/PostgresV1.node.d.ts +1 -2
- package/dist/nodes/Postgres/v2/PostgresV2.node.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/deleteTable.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js +28 -6
- package/dist/nodes/Postgres/v2/actions/database/executeQuery.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/insert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/select.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/select.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/update.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/update.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.d.ts +1 -2
- package/dist/nodes/Postgres/v2/actions/database/upsert.operation.js.map +1 -1
- package/dist/nodes/Postgres/v2/actions/router.js +2 -1
- package/dist/nodes/Postgres/v2/actions/router.js.map +1 -1
- package/dist/nodes/Postgres/v2/helpers/interfaces.d.ts +1 -4
- package/dist/nodes/Postgres/v2/helpers/utils.d.ts +3 -3
- package/dist/nodes/Postgres/v2/helpers/utils.js +68 -65
- package/dist/nodes/Postgres/v2/helpers/utils.js.map +1 -1
- package/dist/nodes/QuickBooks/types.d.ts +47 -0
- package/dist/nodes/QuickBooks/types.js +3 -0
- package/dist/nodes/QuickBooks/types.js.map +1 -0
- package/dist/nodes/ReadPdf/ReadPDF.node.d.ts +1 -1
- package/dist/nodes/ReadPdf/ReadPDF.node.js +69 -11
- package/dist/nodes/ReadPdf/ReadPDF.node.js.map +1 -1
- package/dist/nodes/ReadPdf/test/ReadPDF-encrypted.workflow.json +87 -0
- package/dist/nodes/ReadPdf/test/ReadPDF.workflow.json +47 -27
- package/dist/nodes/RssFeedRead/RssFeedRead.node.js +1 -1
- package/dist/nodes/RssFeedRead/RssFeedRead.node.js.map +1 -1
- package/dist/nodes/Rundeck/Rundeck.node.js +17 -1
- package/dist/nodes/Rundeck/Rundeck.node.js.map +1 -1
- package/dist/nodes/Rundeck/RundeckApi.d.ts +1 -1
- package/dist/nodes/Rundeck/RundeckApi.js +6 -2
- package/dist/nodes/Rundeck/RundeckApi.js.map +1 -1
- package/dist/nodes/SeaTable/Schema.d.ts +4 -4
- package/dist/nodes/SeaTable/types.d.ts +33 -0
- package/dist/nodes/SeaTable/types.js +3 -0
- package/dist/nodes/SeaTable/types.js.map +1 -0
- package/dist/nodes/Sendy/Sendy.node.js.map +1 -1
- package/dist/nodes/Slack/Slack.node.js +2 -1
- package/dist/nodes/Slack/Slack.node.js.map +1 -1
- package/dist/nodes/Slack/V2/GenericFunctions.d.ts +1 -0
- package/dist/nodes/Slack/V2/GenericFunctions.js +44 -1
- package/dist/nodes/Slack/V2/GenericFunctions.js.map +1 -1
- package/dist/nodes/Slack/V2/MessageDescription.js +7 -0
- package/dist/nodes/Slack/V2/MessageDescription.js.map +1 -1
- package/dist/nodes/Slack/V2/SlackV2.node.js +2 -20
- package/dist/nodes/Slack/V2/SlackV2.node.js.map +1 -1
- package/dist/nodes/Splunk/types.d.ts +40 -0
- package/dist/nodes/Splunk/types.js +3 -0
- package/dist/nodes/Splunk/types.js.map +1 -0
- 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/Taiga/types.d.ts +31 -0
- package/dist/nodes/Taiga/types.js +2 -0
- package/dist/nodes/Taiga/types.js.map +1 -0
- package/dist/nodes/Telegram/TelegramTrigger.node.js +1 -1
- package/dist/nodes/Telegram/TelegramTrigger.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/UProc/UProc.node.js +0 -1
- package/dist/nodes/UProc/UProc.node.js.map +1 -1
- 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/nodes/Zammad/types.d.ts +81 -0
- package/dist/nodes/Zammad/types.js +3 -0
- package/dist/nodes/Zammad/types.js.map +1 -0
- package/dist/nodes/Zoho/types.d.ts +93 -0
- package/dist/nodes/Zoho/types.js +3 -0
- package/dist/nodes/Zoho/types.js.map +1 -0
- package/dist/types/credentials.json +8 -5
- package/dist/types/nodes.json +31 -23
- package/package.json +9 -5
- package/dist/nodes/Airtable/GenericFunctions.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/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/Airtable/{GenericFunctions.d.ts → v1/GenericFunctions.d.ts} +0 -0
- /package/dist/nodes/Airtable/{GenericFunctions.js → v1/GenericFunctions.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
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.execute = exports.description = void 0;
|
|
4
|
+
const utilities_1 = require("../../../../../../utils/utilities");
|
|
5
|
+
const transport_1 = require("../../transport");
|
|
6
|
+
const common_descriptions_1 = require("../common.descriptions");
|
|
7
|
+
const properties = [
|
|
8
|
+
{
|
|
9
|
+
...common_descriptions_1.sharedDriveRLC,
|
|
10
|
+
description: 'The shared drive to update',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Update Fields',
|
|
14
|
+
name: 'options',
|
|
15
|
+
type: 'collection',
|
|
16
|
+
placeholder: 'Add Option',
|
|
17
|
+
default: {},
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: {
|
|
20
|
+
operation: ['update'],
|
|
21
|
+
resource: ['drive'],
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
options: [
|
|
25
|
+
{
|
|
26
|
+
displayName: 'Color RGB',
|
|
27
|
+
name: 'colorRgb',
|
|
28
|
+
type: 'color',
|
|
29
|
+
default: '',
|
|
30
|
+
description: 'The color of this shared drive as an RGB hex string',
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
displayName: 'Name',
|
|
34
|
+
name: 'name',
|
|
35
|
+
type: 'string',
|
|
36
|
+
default: '',
|
|
37
|
+
description: 'The updated name of the shared drive',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Restrictions',
|
|
41
|
+
name: 'restrictions',
|
|
42
|
+
type: 'collection',
|
|
43
|
+
placeholder: 'Add Field',
|
|
44
|
+
default: {},
|
|
45
|
+
options: [
|
|
46
|
+
{
|
|
47
|
+
displayName: 'Admin Managed Restrictions',
|
|
48
|
+
name: 'adminManagedRestrictions',
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
default: false,
|
|
51
|
+
description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
displayName: 'Copy Requires Writer Permission',
|
|
55
|
+
name: 'copyRequiresWriterPermission',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
default: false,
|
|
58
|
+
description: 'Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
displayName: 'Domain Users Only',
|
|
62
|
+
name: 'domainUsersOnly',
|
|
63
|
+
type: 'boolean',
|
|
64
|
+
default: false,
|
|
65
|
+
description: 'Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
displayName: 'Drive Members Only',
|
|
69
|
+
name: 'driveMembersOnly',
|
|
70
|
+
type: 'boolean',
|
|
71
|
+
default: false,
|
|
72
|
+
description: 'Whether access to items inside this shared drive is restricted to its members',
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
];
|
|
79
|
+
const displayOptions = {
|
|
80
|
+
show: {
|
|
81
|
+
resource: ['drive'],
|
|
82
|
+
operation: ['update'],
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
|
|
86
|
+
async function execute(i) {
|
|
87
|
+
const returnData = [];
|
|
88
|
+
const options = this.getNodeParameter('options', i, {});
|
|
89
|
+
const driveId = this.getNodeParameter('driveId', i, undefined, {
|
|
90
|
+
extractValue: true,
|
|
91
|
+
});
|
|
92
|
+
const body = {};
|
|
93
|
+
Object.assign(body, options);
|
|
94
|
+
const response = await transport_1.googleApiRequest.call(this, 'PATCH', `/drive/v3/drives/${driveId}`, body);
|
|
95
|
+
const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(response), { itemData: { item: i } });
|
|
96
|
+
returnData.push(...executionData);
|
|
97
|
+
return returnData;
|
|
98
|
+
}
|
|
99
|
+
exports.execute = execute;
|
|
100
|
+
//# sourceMappingURL=update.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Drive/v2/actions/drive/update.operation.ts"],"names":[],"mappings":";;;AAOA,gDAAwD;AACxD,+CAAmD;AACnD,gEAAwD;AAExD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,oCAAc;QACjB,WAAW,EAAE,4BAA4B;KACzC;IACD;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,SAAS,EAAE,CAAC,QAAQ,CAAC;gBACrB,QAAQ,EAAE,CAAC,OAAO,CAA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C,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,MAAM,UAAU,GAAyB,EAAE,CAAC;IAC5C,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAExD,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE;QAC9D,YAAY,EAAE,IAAI;KAClB,CAAW,CAAC;IAEb,MAAM,IAAI,GAAgB,EAAE,CAAC;IAE7B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,4BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,oBAAoB,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;IAEjG,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC5D,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,QAAyB,CAAC,EACvD,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;IAEF,UAAU,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,CAAC;IAElC,OAAO,UAAU,CAAC;AACnB,CAAC;AAtBD,0BAsBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
import * as copy from './copy.operation';
|
|
3
|
+
import * as createFromText from './createFromText.operation';
|
|
4
|
+
import * as deleteFile from './deleteFile.operation';
|
|
5
|
+
import * as download from './download.operation';
|
|
6
|
+
import * as move from './move.operation';
|
|
7
|
+
import * as share from './share.operation';
|
|
8
|
+
import * as update from './update.operation';
|
|
9
|
+
import * as upload from './upload.operation';
|
|
10
|
+
export { copy, createFromText, deleteFile, download, move, share, update, upload };
|
|
11
|
+
export declare const description: INodeProperties[];
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.description = exports.upload = exports.update = exports.share = exports.move = exports.download = exports.deleteFile = exports.createFromText = exports.copy = void 0;
|
|
27
|
+
const copy = __importStar(require("./copy.operation"));
|
|
28
|
+
exports.copy = copy;
|
|
29
|
+
const createFromText = __importStar(require("./createFromText.operation"));
|
|
30
|
+
exports.createFromText = createFromText;
|
|
31
|
+
const deleteFile = __importStar(require("./deleteFile.operation"));
|
|
32
|
+
exports.deleteFile = deleteFile;
|
|
33
|
+
const download = __importStar(require("./download.operation"));
|
|
34
|
+
exports.download = download;
|
|
35
|
+
const move = __importStar(require("./move.operation"));
|
|
36
|
+
exports.move = move;
|
|
37
|
+
const share = __importStar(require("./share.operation"));
|
|
38
|
+
exports.share = share;
|
|
39
|
+
const update = __importStar(require("./update.operation"));
|
|
40
|
+
exports.update = update;
|
|
41
|
+
const upload = __importStar(require("./upload.operation"));
|
|
42
|
+
exports.upload = upload;
|
|
43
|
+
exports.description = [
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Operation',
|
|
46
|
+
name: 'operation',
|
|
47
|
+
type: 'options',
|
|
48
|
+
noDataExpression: true,
|
|
49
|
+
displayOptions: {
|
|
50
|
+
show: {
|
|
51
|
+
resource: ['file'],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
options: [
|
|
55
|
+
{
|
|
56
|
+
name: 'Copy',
|
|
57
|
+
value: 'copy',
|
|
58
|
+
description: 'Create a copy of an existing file',
|
|
59
|
+
action: 'Copy file',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Create From Text',
|
|
63
|
+
value: 'createFromText',
|
|
64
|
+
description: 'Create a file from a provided text',
|
|
65
|
+
action: 'Create file from text',
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: 'Delete',
|
|
69
|
+
value: 'deleteFile',
|
|
70
|
+
description: 'Permanently delete a file',
|
|
71
|
+
action: 'Delete a file',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'Download',
|
|
75
|
+
value: 'download',
|
|
76
|
+
description: 'Download a file',
|
|
77
|
+
action: 'Download file',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
name: 'Move',
|
|
81
|
+
value: 'move',
|
|
82
|
+
description: 'Move a file to another folder',
|
|
83
|
+
action: 'Move file',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Share',
|
|
87
|
+
value: 'share',
|
|
88
|
+
description: 'Add sharing permissions to a file',
|
|
89
|
+
action: 'Share file',
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'Update',
|
|
93
|
+
value: 'update',
|
|
94
|
+
description: 'Update a file',
|
|
95
|
+
action: 'Update file',
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: 'Upload',
|
|
99
|
+
value: 'upload',
|
|
100
|
+
description: 'Upload an existing file to Google Drive',
|
|
101
|
+
action: 'Upload file',
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
default: 'upload',
|
|
105
|
+
},
|
|
106
|
+
...copy.description,
|
|
107
|
+
...deleteFile.description,
|
|
108
|
+
...createFromText.description,
|
|
109
|
+
...download.description,
|
|
110
|
+
...move.description,
|
|
111
|
+
...share.description,
|
|
112
|
+
...update.description,
|
|
113
|
+
...upload.description,
|
|
114
|
+
];
|
|
115
|
+
//# sourceMappingURL=File.resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"File.resource.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Drive/v2/actions/file/File.resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uDAAyC;AAShC,oBAAI;AARb,2EAA6D;AAQ9C,wCAAc;AAP7B,mEAAqD;AAOtB,gCAAU;AANzC,+DAAiD;AAMN,4BAAQ;AALnD,uDAAyC;AAKY,oBAAI;AAJzD,yDAA2C;AAIgB,sBAAK;AAHhE,2DAA6C;AAGqB,wBAAM;AAFxE,2DAA6C;AAE6B,wBAAM;AAEnE,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,mCAAmC;gBAChD,MAAM,EAAE,WAAW;aACnB;YACD;gBACC,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,oCAAoC;gBACjD,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;gBACjB,WAAW,EAAE,iBAAiB;gBAC9B,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,+BAA+B;gBAC5C,MAAM,EAAE,WAAW;aACnB;YACD;gBACC,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,OAAO;gBACd,WAAW,EAAE,mCAAmC;gBAChD,MAAM,EAAE,YAAY;aACpB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,eAAe;gBAC5B,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,yCAAyC;gBACtD,MAAM,EAAE,aAAa;aACrB;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,IAAI,CAAC,WAAW;IACnB,GAAG,UAAU,CAAC,WAAW;IACzB,GAAG,cAAc,CAAC,WAAW;IAC7B,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,IAAI,CAAC,WAAW;IACnB,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions | undefined;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
hint?: string | undefined;
|
|
11
|
+
options?: (INodeProperties | import("n8n-workflow").INodePropertyOptions | import("n8n-workflow").INodePropertyCollection)[] | undefined;
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
isNodeSetting?: boolean | undefined;
|
|
14
|
+
noDataExpression?: boolean | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
routing?: import("n8n-workflow").INodePropertyRouting | undefined;
|
|
17
|
+
credentialTypes?: ("extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth")[] | undefined;
|
|
18
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractorRegex | undefined;
|
|
19
|
+
modes?: import("n8n-workflow").INodePropertyMode[] | undefined;
|
|
20
|
+
requiresDataPath?: "single" | "multiple" | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
export declare function execute(this: IExecuteFunctions, i: number): Promise<INodeExecutionData[]>;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.execute = exports.description = void 0;
|
|
4
|
+
const utilities_1 = require("../../../../../../utils/utilities");
|
|
5
|
+
const transport_1 = require("../../transport");
|
|
6
|
+
const common_descriptions_1 = require("../common.descriptions");
|
|
7
|
+
const utils_1 = require("../../helpers/utils");
|
|
8
|
+
const properties = [
|
|
9
|
+
{
|
|
10
|
+
...common_descriptions_1.fileRLC,
|
|
11
|
+
description: 'The file to copy',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
displayName: 'File Name',
|
|
15
|
+
name: 'name',
|
|
16
|
+
type: 'string',
|
|
17
|
+
default: '',
|
|
18
|
+
placeholder: 'e.g. My File',
|
|
19
|
+
description: 'The name of the new file. If not set, “Copy of {original file name}” will be used.',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Copy In The Same Folder',
|
|
23
|
+
name: 'sameFolder',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
default: true,
|
|
26
|
+
description: 'Whether to copy the file in the same folder as the original file',
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
...common_descriptions_1.driveRLC,
|
|
30
|
+
displayName: 'Parent Drive',
|
|
31
|
+
description: 'The drive where to save the copied file',
|
|
32
|
+
displayOptions: { show: { sameFolder: [false] } },
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
...common_descriptions_1.folderRLC,
|
|
36
|
+
displayName: 'Parent Folder',
|
|
37
|
+
description: 'The folder where to save the copied file',
|
|
38
|
+
displayOptions: { show: { sameFolder: [false] } },
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
displayName: 'Options',
|
|
42
|
+
name: 'options',
|
|
43
|
+
type: 'collection',
|
|
44
|
+
placeholder: 'Add Option',
|
|
45
|
+
default: {},
|
|
46
|
+
options: [
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Copy Requires Writer Permission',
|
|
49
|
+
name: 'copyRequiresWriterPermission',
|
|
50
|
+
type: 'boolean',
|
|
51
|
+
default: false,
|
|
52
|
+
description: 'Whether the options to copy, print, or download this file, should be disabled for readers and commenters',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
displayName: 'Description',
|
|
56
|
+
name: 'description',
|
|
57
|
+
type: 'string',
|
|
58
|
+
default: '',
|
|
59
|
+
description: 'A short description of the file',
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
const displayOptions = {
|
|
65
|
+
show: {
|
|
66
|
+
resource: ['file'],
|
|
67
|
+
operation: ['copy'],
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
|
|
71
|
+
async function execute(i) {
|
|
72
|
+
const file = this.getNodeParameter('fileId', i);
|
|
73
|
+
const fileId = file.value;
|
|
74
|
+
const options = this.getNodeParameter('options', i, {});
|
|
75
|
+
let name = this.getNodeParameter('name', i);
|
|
76
|
+
name = name ? name : `Copy of ${file.cachedResultName}`;
|
|
77
|
+
const copyRequiresWriterPermission = options.copyRequiresWriterPermission || false;
|
|
78
|
+
const qs = {
|
|
79
|
+
includeItemsFromAllDrives: true,
|
|
80
|
+
supportsAllDrives: true,
|
|
81
|
+
spaces: 'appDataFolder, drive',
|
|
82
|
+
corpora: 'allDrives',
|
|
83
|
+
};
|
|
84
|
+
const parents = [];
|
|
85
|
+
const sameFolder = this.getNodeParameter('sameFolder', i);
|
|
86
|
+
if (!sameFolder) {
|
|
87
|
+
const driveId = this.getNodeParameter('driveId', i, undefined, {
|
|
88
|
+
extractValue: true,
|
|
89
|
+
});
|
|
90
|
+
const folderId = this.getNodeParameter('folderId', i, undefined, {
|
|
91
|
+
extractValue: true,
|
|
92
|
+
});
|
|
93
|
+
parents.push((0, utils_1.setParentFolder)(folderId, driveId));
|
|
94
|
+
}
|
|
95
|
+
const body = { copyRequiresWriterPermission, parents, name };
|
|
96
|
+
if (options.description) {
|
|
97
|
+
body.description = options.description;
|
|
98
|
+
}
|
|
99
|
+
const response = await transport_1.googleApiRequest.call(this, 'POST', `/drive/v3/files/${fileId}/copy`, body, qs);
|
|
100
|
+
const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(response), { itemData: { item: i } });
|
|
101
|
+
return executionData;
|
|
102
|
+
}
|
|
103
|
+
exports.execute = execute;
|
|
104
|
+
//# sourceMappingURL=copy.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Drive/v2/actions/file/copy.operation.ts"],"names":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;SAClB,CAAW,CAAC;QAEb,OAAO,CAAC,IAAI,CAAC,IAAA,uBAAe,EAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;KACjD;IAED,MAAM,IAAI,GAAgB,EAAE,4BAA4B,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAE1E,IAAI,OAAO,CAAC,WAAW,EAAE;QACxB,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC;KACvC;IAED,MAAM,QAAQ,GAAG,MAAM,4BAAgB,CAAC,IAAI,CAC3C,IAAI,EACJ,MAAM,EACN,mBAAmB,MAAM,OAAO,EAChC,IAAI,EACJ,EAAE,CACF,CAAC;IAEF,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC5D,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,QAAyB,CAAC,EACvD,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;IAEF,OAAO,aAAa,CAAC;AACtB,CAAC;AAtDD,0BAsDC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions | undefined;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
hint?: string | undefined;
|
|
11
|
+
options?: (INodeProperties | import("n8n-workflow").INodePropertyOptions | import("n8n-workflow").INodePropertyCollection)[] | undefined;
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
isNodeSetting?: boolean | undefined;
|
|
14
|
+
noDataExpression?: boolean | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
routing?: import("n8n-workflow").INodePropertyRouting | undefined;
|
|
17
|
+
credentialTypes?: ("extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth")[] | undefined;
|
|
18
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractorRegex | undefined;
|
|
19
|
+
modes?: import("n8n-workflow").INodePropertyMode[] | undefined;
|
|
20
|
+
requiresDataPath?: "single" | "multiple" | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
export declare function execute(this: IExecuteFunctions, i: number): Promise<INodeExecutionData[]>;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.execute = exports.description = void 0;
|
|
4
|
+
const utilities_1 = require("../../../../../../utils/utilities");
|
|
5
|
+
const common_descriptions_1 = require("../common.descriptions");
|
|
6
|
+
const transport_1 = require("../../transport");
|
|
7
|
+
const utils_1 = require("../../helpers/utils");
|
|
8
|
+
const properties = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'File Content',
|
|
11
|
+
name: 'content',
|
|
12
|
+
type: 'string',
|
|
13
|
+
default: '',
|
|
14
|
+
typeOptions: {
|
|
15
|
+
rows: 2,
|
|
16
|
+
},
|
|
17
|
+
description: 'The text to create the file with',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
displayName: 'File Name',
|
|
21
|
+
name: 'name',
|
|
22
|
+
type: 'string',
|
|
23
|
+
default: '',
|
|
24
|
+
placeholder: 'e.g. My New File',
|
|
25
|
+
description: "The name of the file you want to create. If not specified, 'Untitled' will be used.",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
...common_descriptions_1.driveRLC,
|
|
29
|
+
displayName: 'Parent Drive',
|
|
30
|
+
required: false,
|
|
31
|
+
description: 'The drive where to create the new file',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
...common_descriptions_1.folderRLC,
|
|
35
|
+
displayName: 'Parent Folder',
|
|
36
|
+
required: false,
|
|
37
|
+
description: 'The folder where to create the new file',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
displayName: 'Options',
|
|
41
|
+
name: 'options',
|
|
42
|
+
type: 'collection',
|
|
43
|
+
placeholder: 'Add Option',
|
|
44
|
+
default: {},
|
|
45
|
+
options: [
|
|
46
|
+
...common_descriptions_1.updateCommonOptions,
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Convert to Google Document',
|
|
49
|
+
name: 'convertToGoogleDocument',
|
|
50
|
+
type: 'boolean',
|
|
51
|
+
default: false,
|
|
52
|
+
description: 'Whether to create a Google Document (instead of the .txt default format)',
|
|
53
|
+
hint: 'Google Docs API has to be enabled in the <a href="https://console.developers.google.com/apis/library/docs.googleapis.com" target="_blank">Google API Console</a>.',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
];
|
|
58
|
+
const displayOptions = {
|
|
59
|
+
show: {
|
|
60
|
+
resource: ['file'],
|
|
61
|
+
operation: ['createFromText'],
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
|
|
65
|
+
async function execute(i) {
|
|
66
|
+
const name = this.getNodeParameter('name', i) || 'Untitled';
|
|
67
|
+
const options = this.getNodeParameter('options', i, {});
|
|
68
|
+
const convertToGoogleDocument = options.convertToGoogleDocument || false;
|
|
69
|
+
const mimeType = convertToGoogleDocument ? "application/vnd.google-apps.document" : 'text/plain';
|
|
70
|
+
const driveId = this.getNodeParameter('driveId', i, undefined, {
|
|
71
|
+
extractValue: true,
|
|
72
|
+
});
|
|
73
|
+
const folderId = this.getNodeParameter('folderId', i, undefined, {
|
|
74
|
+
extractValue: true,
|
|
75
|
+
});
|
|
76
|
+
const bodyParameters = (0, utils_1.setFileProperties)({
|
|
77
|
+
name,
|
|
78
|
+
parents: [(0, utils_1.setParentFolder)(folderId, driveId)],
|
|
79
|
+
mimeType,
|
|
80
|
+
}, options);
|
|
81
|
+
const boundary = 'XXXXXX';
|
|
82
|
+
const qs = (0, utils_1.setUpdateCommonParams)({
|
|
83
|
+
includeItemsFromAllDrives: true,
|
|
84
|
+
supportsAllDrives: true,
|
|
85
|
+
spaces: 'appDataFolder, drive',
|
|
86
|
+
corpora: 'allDrives',
|
|
87
|
+
}, options);
|
|
88
|
+
let response;
|
|
89
|
+
if (convertToGoogleDocument) {
|
|
90
|
+
const document = await transport_1.googleApiRequest.call(this, 'POST', '/drive/v3/files', bodyParameters, qs);
|
|
91
|
+
const text = this.getNodeParameter('content', i, '');
|
|
92
|
+
const body = {
|
|
93
|
+
requests: [
|
|
94
|
+
{
|
|
95
|
+
insertText: {
|
|
96
|
+
text,
|
|
97
|
+
endOfSegmentLocation: {
|
|
98
|
+
segmentId: '',
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
],
|
|
103
|
+
};
|
|
104
|
+
const updateResponse = await transport_1.googleApiRequest.call(this, 'POST', '', body, undefined, `https://docs.googleapis.com/v1/documents/${document.id}:batchUpdate`);
|
|
105
|
+
response = { id: updateResponse.documentId };
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
const content = Buffer.from(this.getNodeParameter('content', i, ''), 'utf8');
|
|
109
|
+
const contentLength = content.byteLength;
|
|
110
|
+
const body = `
|
|
111
|
+
\n--${boundary}\
|
|
112
|
+
\nContent-Type: application/json; charset=UTF-8\
|
|
113
|
+
\n\n${JSON.stringify(bodyParameters)}\
|
|
114
|
+
\n--${boundary}\
|
|
115
|
+
\nContent-Type: text/plain\
|
|
116
|
+
\nContent-Transfer-Encoding: base64\
|
|
117
|
+
\n\n${content}\
|
|
118
|
+
\n--${boundary}--`;
|
|
119
|
+
const responseData = await transport_1.googleApiRequest.call(this, 'POST', '/upload/drive/v3/files', body, {
|
|
120
|
+
uploadType: 'multipart',
|
|
121
|
+
...qs,
|
|
122
|
+
}, undefined, {
|
|
123
|
+
headers: {
|
|
124
|
+
'Content-Type': `multipart/related; boundary=${boundary}`,
|
|
125
|
+
'Content-Length': contentLength,
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
response = { id: responseData.id };
|
|
129
|
+
}
|
|
130
|
+
const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray(response), { itemData: { item: i } });
|
|
131
|
+
return executionData;
|
|
132
|
+
}
|
|
133
|
+
exports.execute = execute;
|
|
134
|
+
//# sourceMappingURL=createFromText.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFromText.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Drive/v2/actions/file/createFromText.operation.ts"],"names":[],"mappings":";;;AAOA,gDAAwD;AACxD,gEAAkF;AAClF,+CAAmD;AAEnD,+CAAgG;AAEhG,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;QACD,WAAW,EAAE,kCAAkC;KAC/C;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kBAAkB;QAC/B,WAAW,EACV,qFAAqF;KACtF;IACD;QACC,GAAG,8BAAQ;QACX,WAAW,EAAE,cAAc;QAC3B,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,wCAAwC;KACrD;IACD;QACC,GAAG,+BAAS;QACZ,WAAW,EAAE,eAAe;QAC5B,QAAQ,EAAE,KAAK;QACf,WAAW,EAAE,yCAAyC;KACtD;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR,GA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CAC/C,IAAI,EACJ,MAAM,EACN,wBAAwB,EACxB,IAAI,EACJ;YACC,UAAU,EAAE,WAAW;YACvB,GAAG,EAAE;SACL,EACD,SAAS,EACT;YACC,OAAO,EAAE;gBACR,cAAc,EAAE,+BAA+B,QAAQ,EAAE;gBACzD,gBAAgB,EAAE,aAAa;aAC/B;SACD,CACD,CAAC;QAEF,QAAQ,GAAG,EAAE,EAAE,EAAE,YAAY,CAAC,EAAE,EAAE,CAAC;KACnC;IAED,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC5D,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC,QAAuB,CAAC,EACrD,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;IAEF,OAAO,aAAa,CAAC;AACtB,CAAC;AAhHD,0BAgHC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions | undefined;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
hint?: string | undefined;
|
|
11
|
+
options?: (INodeProperties | import("n8n-workflow").INodePropertyOptions | import("n8n-workflow").INodePropertyCollection)[] | undefined;
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
isNodeSetting?: boolean | undefined;
|
|
14
|
+
noDataExpression?: boolean | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
routing?: import("n8n-workflow").INodePropertyRouting | undefined;
|
|
17
|
+
credentialTypes?: ("extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth")[] | undefined;
|
|
18
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractorRegex | undefined;
|
|
19
|
+
modes?: import("n8n-workflow").INodePropertyMode[] | undefined;
|
|
20
|
+
requiresDataPath?: "single" | "multiple" | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
export declare function execute(this: IExecuteFunctions, i: number): Promise<INodeExecutionData[]>;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.execute = exports.description = void 0;
|
|
4
|
+
const utilities_1 = require("../../../../../../utils/utilities");
|
|
5
|
+
const transport_1 = require("../../transport");
|
|
6
|
+
const common_descriptions_1 = require("../common.descriptions");
|
|
7
|
+
const properties = [
|
|
8
|
+
{
|
|
9
|
+
...common_descriptions_1.fileRLC,
|
|
10
|
+
description: 'The file to delete',
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
displayName: 'Options',
|
|
14
|
+
name: 'options',
|
|
15
|
+
type: 'collection',
|
|
16
|
+
placeholder: 'Add Option',
|
|
17
|
+
default: {},
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
displayName: 'Delete Permanently',
|
|
21
|
+
name: 'deletePermanently',
|
|
22
|
+
type: 'boolean',
|
|
23
|
+
default: false,
|
|
24
|
+
description: 'Whether to delete the file immediately. If false, the file will be moved to the trash.',
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
const displayOptions = {
|
|
30
|
+
show: {
|
|
31
|
+
resource: ['file'],
|
|
32
|
+
operation: ['deleteFile'],
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
exports.description = (0, utilities_1.updateDisplayOptions)(displayOptions, properties);
|
|
36
|
+
async function execute(i) {
|
|
37
|
+
const fileId = this.getNodeParameter('fileId', i, undefined, {
|
|
38
|
+
extractValue: true,
|
|
39
|
+
});
|
|
40
|
+
const deletePermanently = this.getNodeParameter('options.deletePermanently', i, false);
|
|
41
|
+
const qs = {
|
|
42
|
+
supportsAllDrives: true,
|
|
43
|
+
};
|
|
44
|
+
if (deletePermanently) {
|
|
45
|
+
await transport_1.googleApiRequest.call(this, 'DELETE', `/drive/v3/files/${fileId}`, undefined, qs);
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
await transport_1.googleApiRequest.call(this, 'PATCH', `/drive/v3/files/${fileId}`, { trashed: true }, qs);
|
|
49
|
+
}
|
|
50
|
+
const executionData = this.helpers.constructExecutionMetaData(this.helpers.returnJsonArray({
|
|
51
|
+
id: fileId,
|
|
52
|
+
success: true,
|
|
53
|
+
}), { itemData: { item: i } });
|
|
54
|
+
return executionData;
|
|
55
|
+
}
|
|
56
|
+
exports.execute = execute;
|
|
57
|
+
//# sourceMappingURL=deleteFile.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteFile.operation.js","sourceRoot":"","sources":["../../../../../../../nodes/Google/Drive/v2/actions/file/deleteFile.operation.ts"],"names":[],"mappings":";;;AAEA,gDAAwD;AACxD,+CAAmD;AACnD,gEAAiD;AAEjD,MAAM,UAAU,GAAsB;IACrC;QACC,GAAG,6BAAO;QACV,WAAW,EAAE,oBAAoB;KACjC;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,oBAAoB;gBACjC,IAAI,EAAE,mBAAmB;gBACzB,IAAI,EAAE,SAAS;gBACf,OAAO,EAAE,KAAK;gBACd,WAAW,EACV,wFAAwF;aACzF;SACD;KACD;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,YAAY,CAAC;KACzB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,gCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC;AAErE,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC/D,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,EAAE,SAAS,EAAE;QAC5D,YAAY,EAAE,IAAI;KAClB,CAAW,CAAC;IAEb,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,2BAA2B,EAAE,CAAC,EAAE,KAAK,CAAY,CAAC;IAElG,MAAM,EAAE,GAAG;QACV,iBAAiB,EAAE,IAAI;KACvB,CAAC;IAEF,IAAI,iBAAiB,EAAE;QACtB,MAAM,4BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,QAAQ,EAAE,mBAAmB,MAAM,EAAE,EAAE,SAAS,EAAE,EAAE,CAAC,CAAC;KACxF;SAAM;QACN,MAAM,4BAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,mBAAmB,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;KAC/F;IAED,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,CAC5D,IAAI,CAAC,OAAO,CAAC,eAAe,CAAC;QAC5B,EAAE,EAAE,MAAM;QACV,OAAO,EAAE,IAAI;KACb,CAAC,EACF,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,CACzB,CAAC;IAEF,OAAO,aAAa,CAAC;AACtB,CAAC;AA1BD,0BA0BC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { IExecuteFunctions, INodeExecutionData, INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions | undefined;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
hint?: string | undefined;
|
|
11
|
+
options?: (INodeProperties | import("n8n-workflow").INodePropertyOptions | import("n8n-workflow").INodePropertyCollection)[] | undefined;
|
|
12
|
+
placeholder?: string | undefined;
|
|
13
|
+
isNodeSetting?: boolean | undefined;
|
|
14
|
+
noDataExpression?: boolean | undefined;
|
|
15
|
+
required?: boolean | undefined;
|
|
16
|
+
routing?: import("n8n-workflow").INodePropertyRouting | undefined;
|
|
17
|
+
credentialTypes?: ("extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth")[] | undefined;
|
|
18
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractorRegex | undefined;
|
|
19
|
+
modes?: import("n8n-workflow").INodePropertyMode[] | undefined;
|
|
20
|
+
requiresDataPath?: "single" | "multiple" | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
export declare function execute(this: IExecuteFunctions, i: number, item: INodeExecutionData): Promise<INodeExecutionData[]>;
|