diff --git a/.github/workflows/pull-request-checks.yaml b/.github/workflows/pull-request-checks.yaml index ccb541c6d3dce..2bb0c6904f1ea 100644 --- a/.github/workflows/pull-request-checks.yaml +++ b/.github/workflows/pull-request-checks.yaml @@ -101,6 +101,6 @@ jobs: - name: Check component keys run: node scripts/findBadKeys.js ${{ steps.changed_files.outputs.added_modified }} ${{ steps.changed_files.outputs.renamed }} - name: Check component app prop - run: node scripts/checkComponentAppProp.js ${{ steps.changed_files.outputs.added_modified }} ${{ steps.changed_files.outputs.renamed }} + run: node --experimental-loader ./scripts/version-strip-loader.mjs scripts/checkComponentAppProp.js ${{ steps.changed_files.outputs.added_modified }} ${{ steps.changed_files.outputs.renamed }} - name: Check for duplicate component keys run: node scripts/findDuplicateKeys.js diff --git a/components/adobe_pdf_services/actions/extract-text-and-tables/extract-text-and-tables.mjs b/components/adobe_pdf_services/actions/extract-text-and-tables/extract-text-and-tables.mjs index 74bfb2d9135bc..6f3c5996a2d80 100644 --- a/components/adobe_pdf_services/actions/extract-text-and-tables/extract-text-and-tables.mjs +++ b/components/adobe_pdf_services/actions/extract-text-and-tables/extract-text-and-tables.mjs @@ -4,7 +4,7 @@ export default { key: "adobe_pdf_services-extract-text-and-tables", name: "Extract Text and Tables From PDF", description: "Extracts text and table element information from a PDF document and returns a JSON file along with table data in XLSX format within a .zip file saved to the `/tmp` directory. [See the documentation](https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/howtos/extract-api/#extract-text-and-tables)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { adobe, @@ -20,6 +20,11 @@ export default { "filename", ], }, + syncDir: { + type: "dir", + accessMode: "read-write", + sync: true, + }, }, async run({ $ }) { await this.adobe.extractPDF(this.filePath, "tables", this.filename); diff --git a/components/adobe_pdf_services/actions/extract-text-from-pdf/extract-text-from-pdf.mjs b/components/adobe_pdf_services/actions/extract-text-from-pdf/extract-text-from-pdf.mjs index 0461442f7acb8..fb97c0fb43c40 100644 --- a/components/adobe_pdf_services/actions/extract-text-from-pdf/extract-text-from-pdf.mjs +++ b/components/adobe_pdf_services/actions/extract-text-from-pdf/extract-text-from-pdf.mjs @@ -4,7 +4,7 @@ export default { key: "adobe_pdf_services-extract-text-from-pdf", name: "Extract Text From PDF", description: "Extracts text element information from a PDF document and returns a JSON file within a .zip file saved to the `/tmp` directory. [See the documentation](https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/howtos/extract-api/#extract-text-from-a-pdf)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { adobe, @@ -20,6 +20,11 @@ export default { "filename", ], }, + syncDir: { + type: "dir", + accessMode: "read-write", + sync: true, + }, }, async run({ $ }) { await this.adobe.extractPDF(this.filePath, "text", this.filename); diff --git a/components/adobe_pdf_services/package.json b/components/adobe_pdf_services/package.json index 93c68d1a912bb..a65ef8cbf9be1 100644 --- a/components/adobe_pdf_services/package.json +++ b/components/adobe_pdf_services/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/adobe_pdf_services", - "version": "0.1.1", + "version": "0.1.2", "description": "Pipedream Adobe PDF Services Components", "main": "adobe_pdf_services.app.mjs", "keywords": [ diff --git a/components/airparser/actions/upload-document-parse/upload-document-parse.mjs b/components/airparser/actions/upload-document-parse/upload-document-parse.mjs index 03c045b78643a..bde88282ad5fe 100644 --- a/components/airparser/actions/upload-document-parse/upload-document-parse.mjs +++ b/components/airparser/actions/upload-document-parse/upload-document-parse.mjs @@ -6,7 +6,7 @@ export default { key: "airparser-upload-document-parse", name: "Upload Document and Parse", description: "Uploads a document into the inbox for data extraction. [See the documentation](https://help.airparser.com/public-api/public-api)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { airparser, @@ -27,6 +27,12 @@ export default { description: "The user-defined extraction schema for data extraction", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/airparser/package.json b/components/airparser/package.json index 0adc56889271c..58afba47f974b 100644 --- a/components/airparser/package.json +++ b/components/airparser/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/airparser", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Airparser Components", "main": "airparser.app.mjs", "keywords": [ diff --git a/components/akeneo/actions/create-a-new-product-media-file/create-a-new-product-media-file.mjs b/components/akeneo/actions/create-a-new-product-media-file/create-a-new-product-media-file.mjs index a084e9eb042b9..c41d4d248988c 100644 --- a/components/akeneo/actions/create-a-new-product-media-file/create-a-new-product-media-file.mjs +++ b/components/akeneo/actions/create-a-new-product-media-file/create-a-new-product-media-file.mjs @@ -7,7 +7,7 @@ import FormData from "form-data"; export default { type: "action", key: "akeneo-create-a-new-product-media-file", - version: "0.1.1", + version: "0.1.2", name: "Create A New Product Media File", description: "Allows you to create a new media file and associate it to an attribute value of a given product or product model. [See the docs](https://api.akeneo.com/api-reference.html#post_media_files)", props: { @@ -35,6 +35,12 @@ export default { label: "File Path or URL", description: "The file to be uploaded. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run ({ $ }) { if (!this.productId && !this.productModelCode) { diff --git a/components/akeneo/package.json b/components/akeneo/package.json index 415ad2a83e3c1..0785bc5d05f98 100644 --- a/components/akeneo/package.json +++ b/components/akeneo/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/akeneo", - "version": "0.1.1", + "version": "0.1.2", "description": "Pipedream Akeneo Components", "main": "akeneo.app.mjs", "keywords": [ diff --git a/components/alttext_ai/actions/generate-alt-text/generate-alt-text.mjs b/components/alttext_ai/actions/generate-alt-text/generate-alt-text.mjs index 27d9150ba043a..9095ddaf167aa 100644 --- a/components/alttext_ai/actions/generate-alt-text/generate-alt-text.mjs +++ b/components/alttext_ai/actions/generate-alt-text/generate-alt-text.mjs @@ -9,7 +9,7 @@ export default { name: "Generate Alt Text", description: "Generates a descriptive alt text for a given image. [See the documentation](https://alttext.ai/apidocs#tag/Images/operation/create-image)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { alttextAi, @@ -61,6 +61,12 @@ export default { default: "en", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/alttext_ai/package.json b/components/alttext_ai/package.json index 4f1f47fe80e0a..6fe749fccdcdf 100644 --- a/components/alttext_ai/package.json +++ b/components/alttext_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/alttext_ai", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream AltText.ai Components", "main": "alttext_ai.app.mjs", "keywords": [ diff --git a/components/alttextify/actions/submit-image/submit-image.mjs b/components/alttextify/actions/submit-image/submit-image.mjs index 689146c3a7bfa..fb21b8e10059f 100644 --- a/components/alttextify/actions/submit-image/submit-image.mjs +++ b/components/alttextify/actions/submit-image/submit-image.mjs @@ -5,7 +5,7 @@ export default { key: "alttextify-submit-image", name: "Submit Image to Alttextify", description: "Upload or submit an image to Alttextify for alt text generation. [See the documentation](https://apidoc.alttextify.net/#api-Image-UploadRawImage)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { alttextify, @@ -77,6 +77,12 @@ export default { description: "The size of the product in the image.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { async streamToBase64(stream) { diff --git a/components/alttextify/package.json b/components/alttextify/package.json index b96abc34e37c8..0f5969568ec36 100644 --- a/components/alttextify/package.json +++ b/components/alttextify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/alttextify", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream AltTextify Components", "main": "alttextify.app.mjs", "keywords": [ diff --git a/components/askyourpdf/actions/add-document-via-file-upload/add-document-via-file-upload.mjs b/components/askyourpdf/actions/add-document-via-file-upload/add-document-via-file-upload.mjs index e93de416ceb2e..df30d3dc73517 100644 --- a/components/askyourpdf/actions/add-document-via-file-upload/add-document-via-file-upload.mjs +++ b/components/askyourpdf/actions/add-document-via-file-upload/add-document-via-file-upload.mjs @@ -6,7 +6,7 @@ export default { name: "Add Document Via File Upload", description: "Add a document via file upload. [See the documentation](https://docs.askyourpdf.com/askyourpdf-docs/#2.-adding-document-via-file-upload)", type: "action", - version: "0.1.0", + version: "0.1.1", props: { app, file: { @@ -14,6 +14,12 @@ export default { label: "File Path or URL", description: "The file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { addDocumentViaFileUpload(args = {}) { diff --git a/components/askyourpdf/package.json b/components/askyourpdf/package.json index 7b8dbdcd072e9..181feb813fc90 100644 --- a/components/askyourpdf/package.json +++ b/components/askyourpdf/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/askyourpdf", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream AskYourPDF Components", "main": "askyourpdf.app.mjs", "keywords": [ diff --git a/components/asters/asters.app.mjs b/components/asters/asters.app.mjs index 7bdd6ef15ec7e..2ceeb25264ab0 100644 --- a/components/asters/asters.app.mjs +++ b/components/asters/asters.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/astica_ai/actions/text-to-speech/text-to-speech.mjs b/components/astica_ai/actions/text-to-speech/text-to-speech.mjs index dae7b81f5919a..ebc0740338b47 100644 --- a/components/astica_ai/actions/text-to-speech/text-to-speech.mjs +++ b/components/astica_ai/actions/text-to-speech/text-to-speech.mjs @@ -6,7 +6,7 @@ export default { name: "Text To Speech", description: "Convert text to voice audio with Astica AI [See the documentation](https://astica.ai/voice/documentation/)", key: "astica_ai-text-to-speech", - version: "0.0.1", + version: "0.0.2", type: "action", props: { asticaAi, @@ -37,6 +37,11 @@ export default { }, optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const response = await this.asticaAi.textToSpeech({ diff --git a/components/astica_ai/package.json b/components/astica_ai/package.json index 64c81aa9ea3ad..de9d2df806649 100644 --- a/components/astica_ai/package.json +++ b/components/astica_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/astica_ai", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream astica.ai Components", "main": "astica_ai.app.mjs", "keywords": [ diff --git a/components/autodesk/actions/upload-file/upload-file.mjs b/components/autodesk/actions/upload-file/upload-file.mjs index 81f5a04cc2255..0a50c2fac2cff 100644 --- a/components/autodesk/actions/upload-file/upload-file.mjs +++ b/components/autodesk/actions/upload-file/upload-file.mjs @@ -7,7 +7,7 @@ export default { key: "autodesk-upload-file", name: "Upload File", description: "Uploads a new file to a specified folder in Autodesk. [See the documentation](https://aps.autodesk.com/en/docs/data/v2/tutorials/upload-file/).", - version: "0.1.0", + version: "0.1.1", type: "action", props: { autodesk, @@ -63,6 +63,12 @@ export default { default: "items:autodesk.core:File", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { // Create storage location diff --git a/components/autodesk/package.json b/components/autodesk/package.json index 92df5dd1bfc38..99ee80820fd53 100644 --- a/components/autodesk/package.json +++ b/components/autodesk/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/autodesk", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Autodesk Components", "main": "autodesk.app.mjs", "keywords": [ diff --git a/components/aws/actions/s3-download-file-to-tmp/s3-download-file-to-tmp.mjs b/components/aws/actions/s3-download-file-to-tmp/s3-download-file-to-tmp.mjs index 1d1fc7725700c..06038106b84e8 100644 --- a/components/aws/actions/s3-download-file-to-tmp/s3-download-file-to-tmp.mjs +++ b/components/aws/actions/s3-download-file-to-tmp/s3-download-file-to-tmp.mjs @@ -12,7 +12,7 @@ export default { Downloads a file from S3 to the /tmp directory. [See the documentation](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) `), - version: "0.0.3", + version: "0.0.4", type: "action", props: { aws: common.props.aws, @@ -35,6 +35,11 @@ export default { label: "File Path", description: "The path to the file you'd like to download eg. `/tmp/file.txt`", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/aws/actions/s3-upload-files/s3-upload-files.mjs b/components/aws/actions/s3-upload-files/s3-upload-files.mjs index 831a18777ee73..c65d5d62e313e 100644 --- a/components/aws/actions/s3-upload-files/s3-upload-files.mjs +++ b/components/aws/actions/s3-upload-files/s3-upload-files.mjs @@ -11,7 +11,7 @@ export default { key: "aws-s3-upload-files", name: "S3 - Upload Files", description: "Upload files to S3. Accepts either a file URL, a local file path, or a directory path. [See the documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { aws: common.props.aws, @@ -33,6 +33,12 @@ export default { description: common.props.key.description, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { ...common.methods, diff --git a/components/aws/package.json b/components/aws/package.json index c39813b749c11..d4740786394b6 100644 --- a/components/aws/package.json +++ b/components/aws/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/aws", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Aws Components", "main": "aws.app.mjs", "keywords": [ diff --git a/components/azure_storage/actions/upload-blob/upload-blob.mjs b/components/azure_storage/actions/upload-blob/upload-blob.mjs index bf7e26d1f88be..5e374573b2042 100644 --- a/components/azure_storage/actions/upload-blob/upload-blob.mjs +++ b/components/azure_storage/actions/upload-blob/upload-blob.mjs @@ -6,7 +6,7 @@ export default { key: "azure_storage-upload-blob", name: "Upload Blob", description: "Uploads a new blob to a specified container in Azure Storage. [See the documentation](https://learn.microsoft.com/en-us/rest/api/storageservices/put-blob?tabs=microsoft-entra-id).", - version: "0.1.0", + version: "0.1.1", type: "action", props: { app, @@ -32,6 +32,12 @@ export default { label: "File Path or URL", description: "The file to upload. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.txt`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { uploadBlob({ diff --git a/components/azure_storage/package.json b/components/azure_storage/package.json index 58bbc792f28f1..f9b54f053e6fb 100644 --- a/components/azure_storage/package.json +++ b/components/azure_storage/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/azure_storage", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Azure Storage Components", "main": "azure_storage.app.mjs", "keywords": [ diff --git a/components/boldsign/actions/send-document-template/send-document-template.mjs b/components/boldsign/actions/send-document-template/send-document-template.mjs index dde60f2e88afd..2d036ded105dc 100644 --- a/components/boldsign/actions/send-document-template/send-document-template.mjs +++ b/components/boldsign/actions/send-document-template/send-document-template.mjs @@ -9,7 +9,7 @@ export default { key: "boldsign-send-document-template", name: "Send Document Using Template", description: "Send documents for e-signature using a BoldSign template. [See the documentation](https://developers.boldsign.com/documents/send-document-from-template/?region=us)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { boldsign, @@ -181,6 +181,12 @@ export default { description: "Enable localization for audit trail based on the signer's language. If null is provided, the value will be inherited from the Business Profile settings. Only one additional language can be specified in the signer's languages besides English.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps(props) { props.reminderDays.hidden = !this.enableAutoReminder; diff --git a/components/boldsign/package.json b/components/boldsign/package.json index 589c157b7d5be..1366bc7694a70 100644 --- a/components/boldsign/package.json +++ b/components/boldsign/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/boldsign", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream BoldSign Components", "main": "boldsign.app.mjs", "keywords": [ diff --git a/components/box/actions/download-file/download-file.mjs b/components/box/actions/download-file/download-file.mjs index d64e6060b0a75..fbdbf1a57df0c 100644 --- a/components/box/actions/download-file/download-file.mjs +++ b/components/box/actions/download-file/download-file.mjs @@ -7,7 +7,7 @@ export default { name: "Download File", description: "Downloads a file from Box to your workflow's `/tmp` directory. [See the documentation](https://developer.box.com/reference/get-files-id-content/)", key: "box-download-file", - version: "0.0.3", + version: "0.0.4", type: "action", props: { app, @@ -37,6 +37,11 @@ export default { description: "The name of the new downloaded file", optional: false, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileStream = await this.app.downloadFile({ diff --git a/components/box/actions/upload-file-version/upload-file-version.mjs b/components/box/actions/upload-file-version/upload-file-version.mjs index 9884061a1c8af..dce65588e1f0c 100644 --- a/components/box/actions/upload-file-version/upload-file-version.mjs +++ b/components/box/actions/upload-file-version/upload-file-version.mjs @@ -5,7 +5,7 @@ export default { name: "Upload File Version", description: "Update a file's content. [See the documentation](https://developer.box.com/reference/post-files-id-content/).", key: "box-upload-file-version", - version: "0.1.0", + version: "0.1.1", type: "action", props: { app, @@ -47,6 +47,12 @@ export default { ], description: "An optional new name for the file. If specified, the file will be renamed when the new version is uploaded.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { getFileUploadBody, diff --git a/components/box/actions/upload-file/upload-file.mjs b/components/box/actions/upload-file/upload-file.mjs index 476d98cf924bb..27b5909d5a09e 100644 --- a/components/box/actions/upload-file/upload-file.mjs +++ b/components/box/actions/upload-file/upload-file.mjs @@ -5,7 +5,7 @@ export default { name: "Upload a File", description: "Uploads a small file to Box. [See the documentation](https://developer.box.com/reference/post-files-content/).", key: "box-upload-file", - version: "0.1.0", + version: "0.1.1", type: "action", props: { app, @@ -39,6 +39,12 @@ export default { "parentId", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { getFileUploadBody, diff --git a/components/box/package.json b/components/box/package.json index 67da5b3df1053..1e3b5383862ff 100644 --- a/components/box/package.json +++ b/components/box/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/box", - "version": "0.4.0", + "version": "0.4.1", "description": "Pipedream Box Components", "main": "box.app.mjs", "keywords": [ diff --git a/components/browserless/actions/take-screenshot/take-screenshot.mjs b/components/browserless/actions/take-screenshot/take-screenshot.mjs index cb85622a1ecbe..d8d4b08f5d000 100644 --- a/components/browserless/actions/take-screenshot/take-screenshot.mjs +++ b/components/browserless/actions/take-screenshot/take-screenshot.mjs @@ -5,7 +5,7 @@ export default { key: "browserless-take-screenshot", name: "Take a Screenshot", description: "Take a screenshot of a page. [See the documentation](https://www.browserless.io/docs/screenshot)", - version: "0.5.3", + version: "0.5.4", type: "action", props: { browserless, @@ -26,6 +26,11 @@ export default { description: "Allows you to wait for a selector to appear in the DOM, to wait for a timeout to happen, or to execute a custom function before screenshotting. See [more details in the API Doc](https://www.browserless.io/docs/screenshot#custom-behavior-with-waitfor)", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, methods: { async downloadToTMP(screenshot) { @@ -55,6 +60,7 @@ export default { if (screenshot && this.downloadPath) { const filePath = await this.downloadToTMP(screenshot); result.filename = filePath; + result.filePath = filePath; } if (screenshot) { diff --git a/components/browserless/package.json b/components/browserless/package.json index 776881ca3ed87..9bcbbb4b0ce22 100644 --- a/components/browserless/package.json +++ b/components/browserless/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/browserless", - "version": "0.1.2", + "version": "0.1.3", "description": "Pipedream Browserless Components", "main": "browserless.app.mjs", "keywords": [ diff --git a/components/callerapi/actions/get-phone-number-picture/get-phone-number-picture.mjs b/components/callerapi/actions/get-phone-number-picture/get-phone-number-picture.mjs index d46ec5b7c1d9d..12a1fa0e3d9b4 100644 --- a/components/callerapi/actions/get-phone-number-picture/get-phone-number-picture.mjs +++ b/components/callerapi/actions/get-phone-number-picture/get-phone-number-picture.mjs @@ -6,7 +6,7 @@ export default { key: "callerapi-get-phone-number-picture", name: "Get Phone Number Picture", description: "Retrieve the profile picture associated with a phone number. [See the documentation](https://callerapi.com/documentation)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { callerapi, @@ -17,6 +17,11 @@ export default { ], description: "The phone number to retrieve the profile picture for, in E.164 format (e.g., +18006927753)", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { try { diff --git a/components/callerapi/package.json b/components/callerapi/package.json index 8b4dcc7f8f74c..e624bbc68fce1 100644 --- a/components/callerapi/package.json +++ b/components/callerapi/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/callerapi", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream CallerAPI Components", "main": "callerapi.app.mjs", "keywords": [ diff --git a/components/canva/actions/create-design-import-job/create-design-import-job.mjs b/components/canva/actions/create-design-import-job/create-design-import-job.mjs index 87dd36dc86485..6ca4943edc3f4 100644 --- a/components/canva/actions/create-design-import-job/create-design-import-job.mjs +++ b/components/canva/actions/create-design-import-job/create-design-import-job.mjs @@ -5,7 +5,7 @@ export default { key: "canva-create-design-import-job", name: "Create Design Import Job", description: "Starts a new job to import an external file as a new design in Canva. [See the documentation](https://www.canva.dev/docs/connect/api-reference/design-imports/create-design-import-job/)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { canva, @@ -27,6 +27,12 @@ export default { "waitForCompletion", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const titleBase64 = Buffer.from(this.title).toString("base64"); diff --git a/components/canva/actions/upload-asset/upload-asset.mjs b/components/canva/actions/upload-asset/upload-asset.mjs index 5c3011037c211..84a6b72805d82 100644 --- a/components/canva/actions/upload-asset/upload-asset.mjs +++ b/components/canva/actions/upload-asset/upload-asset.mjs @@ -5,7 +5,7 @@ export default { key: "canva-upload-asset", name: "Upload Asset", description: "Uploads an asset to Canva. [See the documentation](https://www.canva.dev/docs/connect/api-reference/assets/create-asset-upload-job/)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { canva, @@ -26,6 +26,12 @@ export default { "waitForCompletion", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const nameBase64 = Buffer.from(this.name).toString("base64"); diff --git a/components/canva/package.json b/components/canva/package.json index a558c3aa2a1c1..fb619e11aedb7 100644 --- a/components/canva/package.json +++ b/components/canva/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/canva", - "version": "0.3.0", + "version": "0.3.1", "description": "Pipedream Canva Components", "main": "canva.app.mjs", "keywords": [ diff --git a/components/canva_enterprise/actions/upload-asset/upload-asset.mjs b/components/canva_enterprise/actions/upload-asset/upload-asset.mjs index 78d7bff3e8b0d..30f2e7a5fa66f 100644 --- a/components/canva_enterprise/actions/upload-asset/upload-asset.mjs +++ b/components/canva_enterprise/actions/upload-asset/upload-asset.mjs @@ -6,7 +6,7 @@ export default { key: "canva_enterprise-upload-asset", name: "Upload Asset", description: "Uploads an asset to Canva. [See the documentation](https://www.canva.dev/docs/connect/api-reference/assets/create-asset-upload-job/)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { canva, @@ -27,5 +27,11 @@ export default { "waitForCompletion", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, }; diff --git a/components/canva_enterprise/package.json b/components/canva_enterprise/package.json index 834d23f1c6a79..500f8916f1c95 100644 --- a/components/canva_enterprise/package.json +++ b/components/canva_enterprise/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/canva_enterprise", - "version": "0.1.1", + "version": "0.1.2", "description": "Pipedream Canva Enterprise Components", "main": "canva_enterprise.app.mjs", "keywords": [ diff --git a/components/claid_ai/actions/correct-color-lighting/correct-color-lighting.mjs b/components/claid_ai/actions/correct-color-lighting/correct-color-lighting.mjs index 9c0e1c0fbafc5..e85c4c50bdb6c 100644 --- a/components/claid_ai/actions/correct-color-lighting/correct-color-lighting.mjs +++ b/components/claid_ai/actions/correct-color-lighting/correct-color-lighting.mjs @@ -7,7 +7,7 @@ export default { key: "claid_ai-correct-color-lighting", name: "Correct Color & Lighting", description: "Automatically adjusts the color and lighting of an image by applying HDR. The result is an enhancement of the dynamic range in dark or overexposed images. [See the documentation](https://docs.claid.ai/image-editing-api/image-operations/color-adjustments)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { claidAi, @@ -23,6 +23,12 @@ export default { description: "Whether you want the automated adjustment or manual for fine-tuning.", reloadProps: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/claid_ai/actions/remove-background/remove-background.mjs b/components/claid_ai/actions/remove-background/remove-background.mjs index 034d5e80316eb..85f62ee47c595 100644 --- a/components/claid_ai/actions/remove-background/remove-background.mjs +++ b/components/claid_ai/actions/remove-background/remove-background.mjs @@ -7,7 +7,7 @@ export default { key: "claid_ai-remove-background", name: "Remove Background", description: "Easily erases the image's background, effectively isolating the main subject. [See the documentation](https://docs.claid.ai/image-editing-api/image-operations/background)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { claidAi, @@ -36,6 +36,12 @@ export default { default: true, reloadProps: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/claid_ai/actions/upscale-image/upscale-image.mjs b/components/claid_ai/actions/upscale-image/upscale-image.mjs index 9c46d0753a3d4..6d20b3c83a140 100644 --- a/components/claid_ai/actions/upscale-image/upscale-image.mjs +++ b/components/claid_ai/actions/upscale-image/upscale-image.mjs @@ -7,7 +7,7 @@ export default { key: "claid_ai-upscale-image", name: "Upscale Image", description: "Enlarges the selected image in order to improve its resolution. By running this action, users can obtain clearer and sharper images. [See the documentation](https://docs.claid.ai/image-editing-api/image-operations/resizing)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { claidAi, @@ -36,6 +36,12 @@ export default { label: "Upscale Width", description: "The quantity of pixels or percentage.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { let imageUrl = this.image; diff --git a/components/claid_ai/package.json b/components/claid_ai/package.json index feef85c52a629..b63db79e84d93 100644 --- a/components/claid_ai/package.json +++ b/components/claid_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/claid_ai", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Claid AI Components", "main": "claid_ai.app.mjs", "keywords": [ @@ -18,4 +18,3 @@ "url-exist": "^3.0.1" } } - diff --git a/components/click2mail2/actions/create-document/create-document.mjs b/components/click2mail2/actions/create-document/create-document.mjs index 9e4e3067e3b78..492c54b7f7c39 100644 --- a/components/click2mail2/actions/create-document/create-document.mjs +++ b/components/click2mail2/actions/create-document/create-document.mjs @@ -6,7 +6,7 @@ import { FORMATS } from "../../common/constants.mjs"; export default { key: "click2mail2-create-document", name: "Create Document", - version: "1.0.0", + version: "1.0.1", description: "Creates a new document in your account from an uploaded file or a URL. [See the documentation for file](https://developers.click2mail.com/reference/createdocument_1). [See the documentation for URL](https://developers.click2mail.com/reference/createdocumentfromurl)", type: "action", props: { @@ -34,6 +34,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/myFile.pdf`).", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/click2mail2/package.json b/components/click2mail2/package.json index 0f57ec90fff4b..54f9a14730d33 100644 --- a/components/click2mail2/package.json +++ b/components/click2mail2/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/click2mail2", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Click2Mail Components", "main": "click2mail2.app.mjs", "keywords": [ diff --git a/components/cloudflare_api_key/actions/import-dns-records/import-dns-records.mjs b/components/cloudflare_api_key/actions/import-dns-records/import-dns-records.mjs index 9603f09f86662..712d86d6f68ff 100644 --- a/components/cloudflare_api_key/actions/import-dns-records/import-dns-records.mjs +++ b/components/cloudflare_api_key/actions/import-dns-records/import-dns-records.mjs @@ -5,7 +5,7 @@ export default { key: "cloudflare_api_key-import-dns-records", name: "Import DNS Records", description: "Import a BIND config into a zone. [See the documentation](https://developers.cloudflare.com/api/resources/dns/subresources/records/methods/import/)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { cloudflare, @@ -26,6 +26,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/bind_config.txt`).", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/cloudflare_api_key/package.json b/components/cloudflare_api_key/package.json index c026b707870fe..8b8d904dfa216 100644 --- a/components/cloudflare_api_key/package.json +++ b/components/cloudflare_api_key/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/cloudflare_api_key", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Cloudflare Components", "main": "cloudflare_api_key.app.mjs", "keywords": [ diff --git a/components/cloudflare_browser_rendering/actions/get-pdf/get-pdf.mjs b/components/cloudflare_browser_rendering/actions/get-pdf/get-pdf.mjs index 3c9c36ee31fd8..faafc06704288 100644 --- a/components/cloudflare_browser_rendering/actions/get-pdf/get-pdf.mjs +++ b/components/cloudflare_browser_rendering/actions/get-pdf/get-pdf.mjs @@ -9,7 +9,7 @@ export default { key: "cloudflare_browser_rendering-get-pdf", name: "Get PDF", description: "Fetches rendered PDF from provided URL or HTML. [See the documentation](https://developers.cloudflare.com/api/resources/browser_rendering/subresources/pdf/methods/create/)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { ...common.props, @@ -19,6 +19,11 @@ export default { description: "The name of the PDF file", default: "content.pdf", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, methods: { async getPdf(args = {}) { diff --git a/components/cloudflare_browser_rendering/actions/get-screenshot/get-screenshot.mjs b/components/cloudflare_browser_rendering/actions/get-screenshot/get-screenshot.mjs index 5a792b07390ab..1fa4ef0074f8d 100644 --- a/components/cloudflare_browser_rendering/actions/get-screenshot/get-screenshot.mjs +++ b/components/cloudflare_browser_rendering/actions/get-screenshot/get-screenshot.mjs @@ -9,7 +9,7 @@ export default { key: "cloudflare_browser_rendering-get-screenshot", name: "Get Screenshot", description: "Takes a screenshot of a webpage from provided URL or HTML. [See the documentation](https://developers.cloudflare.com/api/resources/browser_rendering/subresources/pdf/methods/create/)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { ...common.props, @@ -89,6 +89,11 @@ export default { description: "Selector", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, methods: { async getScreenshot(args = {}) { diff --git a/components/cloudflare_browser_rendering/package.json b/components/cloudflare_browser_rendering/package.json index 616341e72b146..a72fc87ae81ef 100644 --- a/components/cloudflare_browser_rendering/package.json +++ b/components/cloudflare_browser_rendering/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/cloudflare_browser_rendering", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Cloudflare Browser Rendering Components", "main": "cloudflare_browser_rendering.app.mjs", "keywords": [ diff --git a/components/cloudinary/actions/upload-media-asset/upload-media-asset.mjs b/components/cloudinary/actions/upload-media-asset/upload-media-asset.mjs index 3129625e29da7..0cdf8833af1da 100644 --- a/components/cloudinary/actions/upload-media-asset/upload-media-asset.mjs +++ b/components/cloudinary/actions/upload-media-asset/upload-media-asset.mjs @@ -4,7 +4,7 @@ export default { key: "cloudinary-upload-media-asset", name: "Upload Media Asset", description: "Upload media assets such as images or videos. [See the documentation](https://cloudinary.com/documentation/image_upload_api_reference#upload_method)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { cloudinary, @@ -72,6 +72,12 @@ export default { description: "Additional parameters and their values to use in the upload. [See the documentation](https://cloudinary.com/documentation/image_upload_api_reference#upload_method) for all available options. Values will be parsed as JSON where applicable. Example: `{ \"use_filename\": true }`", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const options = { diff --git a/components/cloudinary/package.json b/components/cloudinary/package.json index 42cacde9d0114..ef4619b5631ef 100644 --- a/components/cloudinary/package.json +++ b/components/cloudinary/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/cloudinary", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Cloudinary Components", "main": "cloudinary.app.mjs", "keywords": [ diff --git a/components/convertapi/actions/convert-base64-encoded-file/convert-base64-encoded-file.mjs b/components/convertapi/actions/convert-base64-encoded-file/convert-base64-encoded-file.mjs index 2c4feced9385e..610f4ac41e206 100644 --- a/components/convertapi/actions/convert-base64-encoded-file/convert-base64-encoded-file.mjs +++ b/components/convertapi/actions/convert-base64-encoded-file/convert-base64-encoded-file.mjs @@ -6,7 +6,7 @@ export default { key: "convertapi-convert-base64-encoded-file", name: "Convert Base64 Encoded File", description: "This action converts a base64-string-encoded file into the user-specified format. [See the documentation](https://v2.convertapi.com/info/openapi)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { convertapi, @@ -28,6 +28,11 @@ export default { ], reloadProps: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/convertapi/actions/convert-file/convert-file.mjs b/components/convertapi/actions/convert-file/convert-file.mjs index aef80dd86a2a5..f66683e9197bc 100644 --- a/components/convertapi/actions/convert-file/convert-file.mjs +++ b/components/convertapi/actions/convert-file/convert-file.mjs @@ -7,7 +7,7 @@ export default { key: "convertapi-convert-file", name: "Convert File", description: "Use this action to convert files to the chosen format. [See the documentation](https://v2.convertapi.com/info/openapi)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { convertapi, @@ -23,6 +23,11 @@ export default { ], reloadProps: true, }, + syncDir: { + type: "dir", + accessMode: "read-write", + sync: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/convertapi/actions/convert-web-url/convert-web-url.mjs b/components/convertapi/actions/convert-web-url/convert-web-url.mjs index 9e2a69a995d23..a585cc2292233 100644 --- a/components/convertapi/actions/convert-web-url/convert-web-url.mjs +++ b/components/convertapi/actions/convert-web-url/convert-web-url.mjs @@ -13,7 +13,7 @@ export default { key: "convertapi-convert-web-url", name: "Convert Web URL to Specified Format", description: "Converts a website page to a specified format. [See the documentation](https://v2.convertapi.com/info/openapi)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { convertapi, @@ -331,6 +331,11 @@ export default { hidden: true, optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async additionalProps(props) { const isJpg = this.formatTo === "jpg"; @@ -428,7 +433,9 @@ export default { formatTo: this.formatTo, data, headers: data.getHeaders(), - timeout: this.timeout ? 2000 * Number(this.timeout) : undefined, + timeout: this.timeout + ? 2000 * Number(this.timeout) + : undefined, }); await saveFile(Files); diff --git a/components/convertapi/package.json b/components/convertapi/package.json index 9f100a3fc8a3a..83fe92d060a5d 100644 --- a/components/convertapi/package.json +++ b/components/convertapi/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/convertapi", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream ConvertAPI Components", "main": "convertapi.app.mjs", "keywords": [ diff --git a/components/crowdin/actions/add-file/add-file.mjs b/components/crowdin/actions/add-file/add-file.mjs index cbd3fe2bdba31..c6e4d4fd4097c 100644 --- a/components/crowdin/actions/add-file/add-file.mjs +++ b/components/crowdin/actions/add-file/add-file.mjs @@ -7,7 +7,7 @@ export default { key: "crowdin-add-file", name: "Add File to Project", description: "Adds a file into the created project. [See the documentation](https://developer.crowdin.com/api/v2/#tag/source-files/operation/api.projects.files.post)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { crowdin, @@ -79,6 +79,12 @@ export default { }), ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { streamToBuffer(stream) { diff --git a/components/crowdin/package.json b/components/crowdin/package.json index 9153cd716faf4..a3755fe1630b3 100644 --- a/components/crowdin/package.json +++ b/components/crowdin/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/crowdin", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Crowdin Components", "main": "crowdin.app.mjs", "keywords": [ diff --git a/components/customjs/actions/convert-html-to-pdf/convert-html-to-pdf.mjs b/components/customjs/actions/convert-html-to-pdf/convert-html-to-pdf.mjs index 2b4395a450bc4..e3dbe1f0e6a8c 100644 --- a/components/customjs/actions/convert-html-to-pdf/convert-html-to-pdf.mjs +++ b/components/customjs/actions/convert-html-to-pdf/convert-html-to-pdf.mjs @@ -6,7 +6,7 @@ export default { key: "customjs-convert-html-to-pdf", name: "Convert HTML to PDF", description: "Converts an HTML string to a PDF document. [See the documentation](https://www.customjs.space/api/docs#_1-html-to-pdf)", - version: "0.0.3", + version: "0.0.4", type: "action", props: { customjs, @@ -21,6 +21,11 @@ export default { "filename", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.customjs.convertHtmlToPdf({ diff --git a/components/customjs/actions/convert-html-to-png/convert-html-to-png.mjs b/components/customjs/actions/convert-html-to-png/convert-html-to-png.mjs index 54034639e2fd0..c34e04177da14 100644 --- a/components/customjs/actions/convert-html-to-png/convert-html-to-png.mjs +++ b/components/customjs/actions/convert-html-to-png/convert-html-to-png.mjs @@ -6,7 +6,7 @@ export default { key: "customjs-convert-html-to-png", name: "Convert HTML to PNG", description: "Converts an HTML string to a PNG image. [See the documentation](https://www.customjs.space/api/docs#_4-html-to-png)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { customjs, @@ -21,6 +21,11 @@ export default { "filename", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.customjs.convertHtmlToPng({ diff --git a/components/customjs/actions/create-screenshot/create-screenshot.mjs b/components/customjs/actions/create-screenshot/create-screenshot.mjs index 98bc0e233fd4f..970c141c4e371 100644 --- a/components/customjs/actions/create-screenshot/create-screenshot.mjs +++ b/components/customjs/actions/create-screenshot/create-screenshot.mjs @@ -6,7 +6,7 @@ export default { key: "customjs-create-screenshot", name: "Create Screenshot", description: "Create a screenshot of a website. [See the documentation](https://www.customjs.space/api/docs#_3-create-screenshot)", - version: "0.0.3", + version: "0.0.4", type: "action", props: { customjs, @@ -22,6 +22,11 @@ export default { ], description: "Download the PNG file to the `/tmp` directory with the specified filename.", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.customjs.createScreenshot({ diff --git a/components/customjs/actions/merge-pdfs/merge-pdfs.mjs b/components/customjs/actions/merge-pdfs/merge-pdfs.mjs index aa0cb473c700f..49cb30bc6c6e1 100644 --- a/components/customjs/actions/merge-pdfs/merge-pdfs.mjs +++ b/components/customjs/actions/merge-pdfs/merge-pdfs.mjs @@ -6,7 +6,7 @@ export default { key: "customjs-merge-pdfs", name: "Merge PDFs", description: "Merges multiple PDF documents into one. [See the documentation](https://www.customjs.space/api/docs#_2-merge-pdfs)", - version: "0.0.3", + version: "0.0.4", type: "action", props: { customjs, @@ -21,6 +21,11 @@ export default { "filename", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const pdfs = typeof this.pdfs === "string" diff --git a/components/customjs/actions/run-puppeteer/run-puppeteer.mjs b/components/customjs/actions/run-puppeteer/run-puppeteer.mjs index 54f5bdca1fd01..00a791df2ff1f 100644 --- a/components/customjs/actions/run-puppeteer/run-puppeteer.mjs +++ b/components/customjs/actions/run-puppeteer/run-puppeteer.mjs @@ -6,7 +6,7 @@ export default { key: "customjs-run-puppeteer", name: "Run Puppeteer", description: "Run Puppeteer. [See the documentation](https://www.customjs.space/api/docs#_5-run-puppeteer)", - version: "0.0.2", + version: "0.0.3", type: "action", props: { customjs, @@ -22,6 +22,11 @@ export default { ], description: "Download the PNG file to the `/tmp` directory with the specified filename.", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.customjs.runPuppeteer({ diff --git a/components/customjs/package.json b/components/customjs/package.json index fac4f9cf9d4d2..1b98e8e7322de 100644 --- a/components/customjs/package.json +++ b/components/customjs/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/customjs", - "version": "0.2.1", + "version": "0.2.2", "description": "Pipedream CustomJS Components", "main": "customjs.app.mjs", "keywords": [ diff --git a/components/deepgram/actions/transcribe-audio/transcribe-audio.mjs b/components/deepgram/actions/transcribe-audio/transcribe-audio.mjs index 76a7c8f810100..4b754aa1e72ab 100644 --- a/components/deepgram/actions/transcribe-audio/transcribe-audio.mjs +++ b/components/deepgram/actions/transcribe-audio/transcribe-audio.mjs @@ -5,7 +5,7 @@ export default { key: "deepgram-transcribe-audio", name: "Transcribe Audio", description: "Transcribes the specified audio file. [See the documentation](https://developers.deepgram.com/api-reference/transcription/#transcribe-pre-recorded-audio)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { deepgram, @@ -171,6 +171,12 @@ export default { description: "Use the `$.flow.suspend` Node.js helper to suspend the workflow until the transcription is completed. Overrides the `callback` parameter to Deepgram.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { streamToBuffer(stream) { diff --git a/components/deepgram/package.json b/components/deepgram/package.json index 4bafb2ea7b51d..c73fcaf69cefb 100644 --- a/components/deepgram/package.json +++ b/components/deepgram/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/deepgram", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Deepgram Components", "main": "deepgram.app.mjs", "keywords": [ diff --git a/components/diffchecker/actions/compare-image/compare-image.mjs b/components/diffchecker/actions/compare-image/compare-image.mjs index 7e19fb1a68606..9ebfb85f9f9eb 100644 --- a/components/diffchecker/actions/compare-image/compare-image.mjs +++ b/components/diffchecker/actions/compare-image/compare-image.mjs @@ -6,7 +6,7 @@ export default { key: "diffchecker-compare-image", name: "Compare Image", description: "Compares two images and returns the result.", - version: "1.0.0", + version: "1.0.1", type: "action", props: { diffchecker, @@ -27,6 +27,12 @@ export default { reloadProps: true, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/diffchecker/actions/compare-pdf/compare-pdf.mjs b/components/diffchecker/actions/compare-pdf/compare-pdf.mjs index 5ad8ff31b3b3f..8c124be0cf572 100644 --- a/components/diffchecker/actions/compare-pdf/compare-pdf.mjs +++ b/components/diffchecker/actions/compare-pdf/compare-pdf.mjs @@ -6,7 +6,7 @@ export default { key: "diffchecker-compare-pdf", name: "Compare PDFs", description: "Compares two PDFs and returns the result. [See the documentation](https://www.diffchecker.com/public-api/)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { diffchecker, @@ -33,6 +33,12 @@ export default { label: "Right PDF (File Path Or Url)", description: "Right PDF file you want to compare. Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.pdf`).", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { let data = new FormData(); diff --git a/components/diffchecker/package.json b/components/diffchecker/package.json index 2d9677fc10797..0c2247f9d44b1 100644 --- a/components/diffchecker/package.json +++ b/components/diffchecker/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/diffchecker", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Diffchecker Components", "main": "diffchecker.app.mjs", "keywords": [ diff --git a/components/discord/actions/send-message-with-file/send-message-with-file.mjs b/components/discord/actions/send-message-with-file/send-message-with-file.mjs index b1cebf99587a6..a7e4f16dd32aa 100644 --- a/components/discord/actions/send-message-with-file/send-message-with-file.mjs +++ b/components/discord/actions/send-message-with-file/send-message-with-file.mjs @@ -6,7 +6,7 @@ export default { key: "discord-send-message-with-file", name: "Send Message With File", description: "Post a message with an attached file", - version: "2.0.0", + version: "2.0.1", type: "action", props: { ...common.props, @@ -22,6 +22,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.pdf`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/discord/package.json b/components/discord/package.json index 38a82be71a785..e28e6a3fded54 100644 --- a/components/discord/package.json +++ b/components/discord/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/discord", - "version": "2.0.0", + "version": "2.0.1", "description": "Pipedream Discord Components", "main": "discord.app.mjs", "keywords": [ diff --git a/components/discord_bot/actions/send-message-with-file/send-message-with-file.mjs b/components/discord_bot/actions/send-message-with-file/send-message-with-file.mjs index 5439d4d7c2630..65b5fdec10b21 100644 --- a/components/discord_bot/actions/send-message-with-file/send-message-with-file.mjs +++ b/components/discord_bot/actions/send-message-with-file/send-message-with-file.mjs @@ -9,7 +9,7 @@ export default { key: "discord_bot-send-message-with-file", name: "Send Message With File", description: "Post a message with an attached file. [See the docs here](https://discord.com/developers/docs/reference#uploading-files)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { discord, @@ -79,6 +79,12 @@ export default { label: "Include link to workflow", description: "Defaults to `true`, includes a link to this workflow at the end of your Discord message.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { appendPipedreamText(message) { diff --git a/components/discord_bot/package.json b/components/discord_bot/package.json index ba31eedc0a16c..2236ea806e120 100644 --- a/components/discord_bot/package.json +++ b/components/discord_bot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/discord_bot", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Discord_bot Components", "main": "discord_bot.app.mjs", "keywords": [ diff --git a/components/docmosis/actions/generate-document/generate-document.mjs b/components/docmosis/actions/generate-document/generate-document.mjs index aab992aacc85e..9fe23c91cbc3a 100644 --- a/components/docmosis/actions/generate-document/generate-document.mjs +++ b/components/docmosis/actions/generate-document/generate-document.mjs @@ -6,7 +6,7 @@ export default { key: "docmosis-generate-document", name: "Generate Document", description: "Generates a document by merging data with a Docmosis template. [See the documentation](https://resources.docmosis.com/Documentation/Cloud/DWS4/Cloud-Web-Services-Guide-DWS4.pdf)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { app, @@ -34,6 +34,11 @@ export default { "outputFormat", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, methods: { render(args = {}) { diff --git a/components/docmosis/package.json b/components/docmosis/package.json index 720d903dcf780..e28095cced749 100644 --- a/components/docmosis/package.json +++ b/components/docmosis/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/docmosis", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Docmosis Components", "main": "docmosis.app.mjs", "keywords": [ diff --git a/components/docparser/actions/upload-document/upload-document.mjs b/components/docparser/actions/upload-document/upload-document.mjs index 1fbe6658b6958..f214aac74ac26 100644 --- a/components/docparser/actions/upload-document/upload-document.mjs +++ b/components/docparser/actions/upload-document/upload-document.mjs @@ -6,7 +6,7 @@ export default { key: "docparser-upload-document", name: "Upload Document", description: "Uploads a document to docparser that initiates parsing immediately after reception. [See the documentation](https://docparser.com/api/#import-documents)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { docparser, @@ -21,6 +21,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.pdf`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/docparser/package.json b/components/docparser/package.json index 5659416f6c5a2..3e76f95e77f1b 100644 --- a/components/docparser/package.json +++ b/components/docparser/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/docparser", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream docparser Components", "main": "docparser.app.mjs", "keywords": [ diff --git a/components/docsbot_ai/actions/upload-source-file/upload-source-file.mjs b/components/docsbot_ai/actions/upload-source-file/upload-source-file.mjs index 762f007dc2bf0..b2d9ea00c8559 100644 --- a/components/docsbot_ai/actions/upload-source-file/upload-source-file.mjs +++ b/components/docsbot_ai/actions/upload-source-file/upload-source-file.mjs @@ -5,7 +5,7 @@ export default { key: "docsbot_ai-upload-source-file", name: "Upload Source File", description: "Upload a file to be used as a source. [See the documentation](https://docsbot.ai/documentation/developer/source-api#source-file-uploads)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { docsbotAi, @@ -30,6 +30,12 @@ export default { "filePath", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { filePath } = this; diff --git a/components/docsbot_ai/package.json b/components/docsbot_ai/package.json index 92ac28d2e7d3c..7ccf1a1f8859e 100644 --- a/components/docsbot_ai/package.json +++ b/components/docsbot_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/docsbot_ai", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream DocsBot AI Components", "main": "docsbot_ai.app.mjs", "keywords": [ diff --git a/components/documentpro/actions/new-document/new-document.mjs b/components/documentpro/actions/new-document/new-document.mjs index 1dd057574c293..220c45479db93 100644 --- a/components/documentpro/actions/new-document/new-document.mjs +++ b/components/documentpro/actions/new-document/new-document.mjs @@ -6,7 +6,7 @@ export default { key: "documentpro-new-document", name: "Upload New Document", description: "Uploads a document to DocumentPro's parser. [See the documentation](https://docs.documentpro.ai/docs/using-api/manage-documents/import-files)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { documentpro, @@ -21,6 +21,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.pdf`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/documentpro/package.json b/components/documentpro/package.json index 487c21e49dba5..5d9ca32e40b6c 100644 --- a/components/documentpro/package.json +++ b/components/documentpro/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/documentpro", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream DocumentPro Components", "main": "documentpro.app.mjs", "keywords": [ diff --git a/components/documerge/actions/combine-files/combine-files.mjs b/components/documerge/actions/combine-files/combine-files.mjs index 944177fd8af30..6a629354310e3 100644 --- a/components/documerge/actions/combine-files/combine-files.mjs +++ b/components/documerge/actions/combine-files/combine-files.mjs @@ -5,7 +5,7 @@ export default { key: "documerge-combine-files", name: "Combine Files", description: "Merges multiple user-specified files into a single PDF or DOCX. [See the documentation](https://app.documerge.ai/api-docs/#tools-POSTapi-tools-combine)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { documerge, @@ -28,6 +28,11 @@ export default { label: "URLs", description: "Array of URLs to combine", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.documerge.combineFiles({ diff --git a/components/documerge/actions/convert-file-to-pdf/convert-file-to-pdf.mjs b/components/documerge/actions/convert-file-to-pdf/convert-file-to-pdf.mjs index c5751f6fc93ba..28278c9a50e63 100644 --- a/components/documerge/actions/convert-file-to-pdf/convert-file-to-pdf.mjs +++ b/components/documerge/actions/convert-file-to-pdf/convert-file-to-pdf.mjs @@ -5,7 +5,7 @@ export default { key: "documerge-convert-file-to-pdf", name: "Convert File to PDF", description: "Converts a specified file into a PDF. [See the documentation](https://app.documerge.ai/api-docs/#tools-POSTapi-tools-pdf-convert)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { documerge, @@ -20,6 +20,11 @@ export default { description: "The URL of the file to convert", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const fileContent = await this.documerge.convertToPdf({ diff --git a/components/documerge/package.json b/components/documerge/package.json index 70633a3ac5936..568c185b6c3e5 100644 --- a/components/documerge/package.json +++ b/components/documerge/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/documerge", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream DocuMerge Components", "main": "documerge.app.mjs", "keywords": [ diff --git a/components/docusign/actions/download-documents/download-documents.mjs b/components/docusign/actions/download-documents/download-documents.mjs index 0ca9b852c8ab7..fd5fdb3c4b737 100644 --- a/components/docusign/actions/download-documents/download-documents.mjs +++ b/components/docusign/actions/download-documents/download-documents.mjs @@ -5,7 +5,7 @@ export default { key: "docusign-download-documents", name: "Download Documents", description: "Download the documents of an envelope to the /tmp directory. [See the documentation here](https://developers.docusign.com/docs/esign-rest-api/how-to/download-envelope-documents/)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { docusign, @@ -73,6 +73,11 @@ export default { label: "Filename", description: "The filename to save the file as in the `/tmp` directory including the file extension (.pdf or .zip)", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, methods: { getEnvelope($, baseUri, envelopeId) { diff --git a/components/docusign/package.json b/components/docusign/package.json index 12f1f7b65675b..d043f76fabba1 100644 --- a/components/docusign/package.json +++ b/components/docusign/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/docusign", - "version": "0.2.1", + "version": "0.2.2", "description": "Pipedream Docusign Components", "main": "docusign.app.mjs", "keywords": [ diff --git a/components/dreamstudio/actions/generate-image/generate-image.mjs b/components/dreamstudio/actions/generate-image/generate-image.mjs index b2d74e161422b..984d5c6da1892 100644 --- a/components/dreamstudio/actions/generate-image/generate-image.mjs +++ b/components/dreamstudio/actions/generate-image/generate-image.mjs @@ -7,7 +7,7 @@ export default { ...common, key: "dreamstudio-generate-image", name: "Generate Image", - version: "0.0.2", + version: "0.0.3", description: "Generate a new image from a text prompt. [See the documentation](https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/textToImage)", type: "action", props: { @@ -88,6 +88,11 @@ export default { ], optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/dreamstudio/actions/modify-image/modify-image.mjs b/components/dreamstudio/actions/modify-image/modify-image.mjs index c125c7f2f11f0..25663b250ec10 100644 --- a/components/dreamstudio/actions/modify-image/modify-image.mjs +++ b/components/dreamstudio/actions/modify-image/modify-image.mjs @@ -9,7 +9,7 @@ export default { ...common, key: "dreamstudio-modify-image", name: "Modify Image", - version: "1.0.0", + version: "1.0.1", description: "Modify an image based on a text prompt. [See the documentation](https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/imageToImage)", type: "action", props: { @@ -92,6 +92,11 @@ export default { reloadProps: true, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read-write", + sync: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/dreamstudio/actions/upscale-image/upscale-image.mjs b/components/dreamstudio/actions/upscale-image/upscale-image.mjs index 79b1317291550..6053ffa1bdcb9 100644 --- a/components/dreamstudio/actions/upscale-image/upscale-image.mjs +++ b/components/dreamstudio/actions/upscale-image/upscale-image.mjs @@ -7,7 +7,7 @@ export default { ...common, key: "dreamstudio-upscale-image", name: "Upscale Image", - version: "1.0.0", + version: "1.0.1", description: "Create a higher resolution version of an input image. [See the documentation](https://platform.stability.ai/docs/api-reference#tag/v1generation/operation/upscaleImage)", type: "action", props: { @@ -31,6 +31,12 @@ export default { ], optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/dreamstudio/common/utils.mjs b/components/dreamstudio/common/utils.mjs index 5443c545025d5..c8cf2cbf70824 100644 --- a/components/dreamstudio/common/utils.mjs +++ b/components/dreamstudio/common/utils.mjs @@ -4,12 +4,17 @@ import moment from "moment"; import stream from "stream"; import { promisify } from "util"; +const getOutputDirectory = () => { + return process.env.STASH_DIR || "/tmp"; +}; + export const getImagePath = async (image) => { const regex = new RegExp(/\/tmp\//, "g"); let imagePath = image; + const outputDir = getOutputDirectory(); if (isUrl(image)) { - imagePath = `/tmp/image_${moment().format("YYYYMMDD")}.png`; + imagePath = `${outputDir}/image_${moment().format("YYYYMMDD")}.png`; const pipeline = promisify(stream.pipeline); await pipeline( got.stream(image), @@ -20,7 +25,7 @@ export const getImagePath = async (image) => { if (imagePath.match(regex)) { return imagePath; } - return `/tmp/${imagePath}`; + return `${outputDir}/${imagePath}`; }; export const isUrl = (string) => { @@ -45,10 +50,12 @@ export const parsePrompts = (textPrompts) => { export const writeImg = async (artifacts) => { const filePaths = []; + const outputDir = getOutputDirectory(); for (const image of artifacts) { - filePaths.push(`/tmp/img_${image.seed}.png`); + const filePath = `${outputDir}/img_${image.seed}.png`; + filePaths.push(filePath); fs.writeFileSync( - `/tmp/img_${image.seed}.png`, + filePath, Buffer.from(image.base64, "base64"), ); } diff --git a/components/dreamstudio/package.json b/components/dreamstudio/package.json index 0d4852051ff33..0af0ca19ff1c6 100644 --- a/components/dreamstudio/package.json +++ b/components/dreamstudio/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/dreamstudio", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream DreamStudio (Stable Diffusion) Components", "main": "dreamstudio.app.mjs", "keywords": [ diff --git a/components/dromo/actions/create-headless-import/create-headless-import.mjs b/components/dromo/actions/create-headless-import/create-headless-import.mjs index 449b4acaec562..cf9127330f7ef 100644 --- a/components/dromo/actions/create-headless-import/create-headless-import.mjs +++ b/components/dromo/actions/create-headless-import/create-headless-import.mjs @@ -5,7 +5,7 @@ export default { key: "dromo-create-headless-import", name: "Create Headless Import", description: "Creates a new headless import. [See the documentation](https://developer.dromo.io/api/#tag/headless/operation/createHeadlessImport)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { dromo, @@ -26,6 +26,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.csv`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { uploadFile(url, data) { diff --git a/components/dromo/package.json b/components/dromo/package.json index 8e29b46d9ca28..ae5145c4664bb 100644 --- a/components/dromo/package.json +++ b/components/dromo/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/dromo", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Dromo Components", "main": "dromo.app.mjs", "keywords": [ diff --git a/components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs b/components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs index eaec9174951ca..dd0c327998062 100644 --- a/components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs +++ b/components/dropbox/actions/download-file-to-tmp/download-file-to-tmp.mjs @@ -9,7 +9,7 @@ export default { name: "Download File to TMP", description: "Download a specific file to the temporary directory. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor).", key: "dropbox-download-file-to-tmp", - version: "0.0.7", + version: "0.0.8", type: "action", props: { dropbox, @@ -28,6 +28,11 @@ export default { description: "The new name of the file to be saved, including it's extension. e.g: `myFile.csv`", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { try { diff --git a/components/dropbox/actions/upload-file/upload-file.mjs b/components/dropbox/actions/upload-file/upload-file.mjs index 99973faf40cd6..748bd976b3e93 100644 --- a/components/dropbox/actions/upload-file/upload-file.mjs +++ b/components/dropbox/actions/upload-file/upload-file.mjs @@ -6,7 +6,7 @@ export default { name: "Upload a File", description: "Uploads a file to a selected folder. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)", key: "dropbox-upload-file", - version: "1.0.0", + version: "1.0.1", type: "action", props: { dropbox, @@ -55,6 +55,12 @@ export default { options: consts.UPLOAD_FILE_MODE_OPTIONS, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/dropbox/actions/upload-multiple-files/upload-multiple-files.mjs b/components/dropbox/actions/upload-multiple-files/upload-multiple-files.mjs index dd488f7abd106..04ea58f50da97 100644 --- a/components/dropbox/actions/upload-multiple-files/upload-multiple-files.mjs +++ b/components/dropbox/actions/upload-multiple-files/upload-multiple-files.mjs @@ -8,7 +8,7 @@ export default { name: "Upload Multiple Files", description: "Uploads multiple file to a selected folder. [See the documentation](https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUpload__anchor)", key: "dropbox-upload-multiple-files", - version: "1.0.0", + version: "1.0.1", type: "action", props: { dropbox, @@ -57,6 +57,12 @@ export default { options: consts.UPLOAD_FILE_MODE_OPTIONS, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/dropbox/common/utils.mjs b/components/dropbox/common/utils.mjs index 1a5e36f32a603..882c20422d152 100644 --- a/components/dropbox/common/utils.mjs +++ b/components/dropbox/common/utils.mjs @@ -1,6 +1,7 @@ export const checkTmp = (filename) => { if (!filename.startsWith("/tmp")) { - return `/tmp/${filename}`; + const baseDir = process.env.STASH_DIR || "/tmp"; + return `${baseDir}/${filename}`; } return filename; }; diff --git a/components/dropbox/package.json b/components/dropbox/package.json index 85b8e5ad1ae3b..76a49336c1dcf 100644 --- a/components/dropbox/package.json +++ b/components/dropbox/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/dropbox", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Dropbox Components", "main": "dropbox.app.mjs", "keywords": [ diff --git a/components/eden_ai/actions/translate-document/translate-document.mjs b/components/eden_ai/actions/translate-document/translate-document.mjs index 3a2fdc20dd943..39b2842c62190 100644 --- a/components/eden_ai/actions/translate-document/translate-document.mjs +++ b/components/eden_ai/actions/translate-document/translate-document.mjs @@ -11,7 +11,7 @@ export default { key: "eden_ai-translate-document", name: "Translate Document", description: "Translates a document from a local file or URL. [See the documentation](https://docs.edenai.co/reference/translation_document_translation_create)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { app, @@ -55,6 +55,12 @@ export default { label: "File Path Or Url", description: "Provide either a file URL or a path to a file in the `/tmp` directory (for example, `/tmp/example.pdf`)", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/eden_ai/package.json b/components/eden_ai/package.json index 8983147a744ad..177f7a010a9ce 100644 --- a/components/eden_ai/package.json +++ b/components/eden_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/eden_ai", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Eden AI Components", "main": "eden_ai.app.mjs", "keywords": [ diff --git a/components/egnyte/actions/upload-file/upload-file.mjs b/components/egnyte/actions/upload-file/upload-file.mjs index 50df16c70fea9..60365c3b13fd1 100644 --- a/components/egnyte/actions/upload-file/upload-file.mjs +++ b/components/egnyte/actions/upload-file/upload-file.mjs @@ -6,7 +6,7 @@ export default { key: "egnyte-upload-file", name: "Upload File", description: "Uploads a file to a specified folder in Egnyte. [See the documentation](https://developers.egnyte.com/docs/File_System_Management_API_Documentation#Upload-a-File)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { egnyte, @@ -20,6 +20,12 @@ export default { label: "Folder Path", description: "The full path to the folder where the file should be uploaded. Example: `/Shared/Documents", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const form = new FormData(); diff --git a/components/egnyte/package.json b/components/egnyte/package.json index efd9a305b59fc..683460347fd79 100644 --- a/components/egnyte/package.json +++ b/components/egnyte/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/egnyte", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Egnyte Components", "main": "egnyte.app.mjs", "keywords": [ diff --git a/components/elevenlabs/actions/add-voice/add-voice.mjs b/components/elevenlabs/actions/add-voice/add-voice.mjs index a0445433d3d10..5f569deb05432 100644 --- a/components/elevenlabs/actions/add-voice/add-voice.mjs +++ b/components/elevenlabs/actions/add-voice/add-voice.mjs @@ -5,7 +5,7 @@ import { getFileStreamAndMetadata } from "@pipedream/platform"; export default { key: "elevenlabs-add-voice", name: "Add Voice", - version: "0.0.4", + version: "0.0.5", description: "Add a voice from one or more audio files. [See the documentation](https://elevenlabs.io/docs/api-reference/add-voice)", type: "action", props: { @@ -32,6 +32,12 @@ export default { description: "Serialized labels dictionary for the voice.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/elevenlabs/actions/download-history-items/download-history-items.mjs b/components/elevenlabs/actions/download-history-items/download-history-items.mjs index e5b65e7fb4a1e..4729164162089 100644 --- a/components/elevenlabs/actions/download-history-items/download-history-items.mjs +++ b/components/elevenlabs/actions/download-history-items/download-history-items.mjs @@ -6,7 +6,7 @@ import elevenlabs from "../../elevenlabs.app.mjs"; export default { key: "elevenlabs-download-history-items", name: "Download History Items", - version: "0.0.4", + version: "0.0.5", description: "Download one or more history items to your workflow's `tmp` directory. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file. [See the documentation](https://docs.elevenlabs.io/api-reference/history-download)", type: "action", props: { @@ -18,6 +18,11 @@ export default { ], type: "string[]", }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/elevenlabs/actions/get-audio-from-history-item/get-audio-from-history-item.mjs b/components/elevenlabs/actions/get-audio-from-history-item/get-audio-from-history-item.mjs index f1349ba425bda..e98054ca838e9 100644 --- a/components/elevenlabs/actions/get-audio-from-history-item/get-audio-from-history-item.mjs +++ b/components/elevenlabs/actions/get-audio-from-history-item/get-audio-from-history-item.mjs @@ -6,7 +6,7 @@ import elevenlabs from "../../elevenlabs.app.mjs"; export default { key: "elevenlabs-get-audio-from-history-item", name: "Get Audio From History Item", - version: "0.0.4", + version: "0.0.5", description: "Returns the audio of an history item and converts it to a file. [See the documentation](https://docs.elevenlabs.io/api-reference/history-audio)", type: "action", props: { @@ -17,6 +17,11 @@ export default { "historyItemId", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/elevenlabs/actions/text-to-speech/text-to-speech.mjs b/components/elevenlabs/actions/text-to-speech/text-to-speech.mjs index c11d75c60c948..404a2d7014221 100644 --- a/components/elevenlabs/actions/text-to-speech/text-to-speech.mjs +++ b/components/elevenlabs/actions/text-to-speech/text-to-speech.mjs @@ -6,7 +6,7 @@ import elevenlabs from "../../elevenlabs.app.mjs"; export default { key: "elevenlabs-text-to-speech", name: "Text To Speech", - version: "0.0.4", + version: "0.0.5", description: "Retrieve an audio file. [See the documentation](https://docs.elevenlabs.io/api-reference/text-to-speech)", type: "action", props: { @@ -41,6 +41,11 @@ export default { description: "Decreasing stability can make speech more expressive with output varying between re-generations. It can also lead to instabilities. Increasing stability will make the voice more consistent between re-generations, but it can also make it sounds a bit monotone. On longer text fragments we recommend lowering this value. It goes from `0.0` to `1.0`.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/elevenlabs/package.json b/components/elevenlabs/package.json index 5a0f210162351..9a99b214583f8 100644 --- a/components/elevenlabs/package.json +++ b/components/elevenlabs/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/elevenlabs", - "version": "0.4.1", + "version": "0.4.2", "description": "Pipedream ElevenLabs Components", "main": "elevenlabs.app.mjs", "keywords": [ diff --git a/components/ezeep_blue/actions/create-print-job/create-print-job.mjs b/components/ezeep_blue/actions/create-print-job/create-print-job.mjs index 905a4d5e21fbd..3496eb07c67fd 100644 --- a/components/ezeep_blue/actions/create-print-job/create-print-job.mjs +++ b/components/ezeep_blue/actions/create-print-job/create-print-job.mjs @@ -7,7 +7,7 @@ export default { key: "ezeep_blue-create-print-job", name: "Create Print Job", description: "Send a new print job to a specified printer.", - version: "1.0.0", + version: "1.0.1", type: "action", props: { ezeepBlue, @@ -106,6 +106,12 @@ export default { ], optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/ezeep_blue/package.json b/components/ezeep_blue/package.json index 24c5671827073..346a8a7f97bae 100644 --- a/components/ezeep_blue/package.json +++ b/components/ezeep_blue/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/ezeep_blue", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream ezeep Blue Components", "main": "ezeep_blue.app.mjs", "keywords": [ diff --git a/components/faktoora/actions/get-invoice/get-invoice.mjs b/components/faktoora/actions/get-invoice/get-invoice.mjs index 0c1150c28ccd6..109bc626f6125 100644 --- a/components/faktoora/actions/get-invoice/get-invoice.mjs +++ b/components/faktoora/actions/get-invoice/get-invoice.mjs @@ -6,7 +6,7 @@ export default { key: "faktoora-get-invoice", name: "Download Invoice", description: "Download an invoice using the unique invoice number to '/tmp' folder. [See the documentation](https://api.faktoora.com/api/v1/api-docs/static/index.html)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { faktoora, @@ -16,6 +16,11 @@ export default { "invoiceNumber", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { try { diff --git a/components/faktoora/package.json b/components/faktoora/package.json index 02fd4a58c5494..8da7b8e15f154 100644 --- a/components/faktoora/package.json +++ b/components/faktoora/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/faktoora", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream faktoora Components", "main": "faktoora.app.mjs", "keywords": [ diff --git a/components/fileforge/actions/generate-pdf/generate-pdf.mjs b/components/fileforge/actions/generate-pdf/generate-pdf.mjs index 83593ed0c9c5f..a41029afb9f42 100644 --- a/components/fileforge/actions/generate-pdf/generate-pdf.mjs +++ b/components/fileforge/actions/generate-pdf/generate-pdf.mjs @@ -7,7 +7,7 @@ export default { key: "fileforge-generate-pdf", name: "Generate PDF", description: "Generate a PDF from provided HTML. [See the documentation](https://docs.fileforge.com/api-reference/api-reference/pdf/generate)", - version: "0.1.0", + version: "0.1.1", type: "action", props: { fileforge, @@ -51,6 +51,12 @@ export default { description: "Specifies whether viewing is allowed.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/fileforge/package.json b/components/fileforge/package.json index e70e4d3565bce..e0d2676c71cf8 100644 --- a/components/fileforge/package.json +++ b/components/fileforge/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/fileforge", - "version": "0.2.0", + "version": "0.2.1", "description": "Pipedream Fileforge Components", "main": "fileforge.app.mjs", "keywords": [ diff --git a/components/filestack/actions/upload-image/upload-image.mjs b/components/filestack/actions/upload-image/upload-image.mjs index 06991d3270146..26afb466018cb 100644 --- a/components/filestack/actions/upload-image/upload-image.mjs +++ b/components/filestack/actions/upload-image/upload-image.mjs @@ -6,7 +6,7 @@ export default { name: "Upload Image", description: "Upload an image from a file or URL to FileStack. [See the documentation](https://www.filestack.com/docs/uploads/uploading/#upload-file)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { filestack, @@ -15,6 +15,12 @@ export default { label: "File Path or URL", description: "Provide a file URL or a path to a file in the `/tmp` directory.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/filestack/package.json b/components/filestack/package.json index 67a668eeffd97..f01554e8434f9 100644 --- a/components/filestack/package.json +++ b/components/filestack/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/filestack", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream FileStack Components", "main": "filestack.app.mjs", "keywords": [ diff --git a/components/flipando/actions/run-app/run-app.mjs b/components/flipando/actions/run-app/run-app.mjs index aaf595368c385..d6e94ae3d9da8 100644 --- a/components/flipando/actions/run-app/run-app.mjs +++ b/components/flipando/actions/run-app/run-app.mjs @@ -6,7 +6,7 @@ export default { key: "flipando-run-app", name: "Run App", description: "Executes a chosen app within Flipando. Returns a 'task_id' to be used in fetching the outcome of this action. [See the documentation]([See the documentation](https://flipandoai.notion.site/Flipando-ai-API-Integration-Guide-6b508cfe1a5d4a249d20b926eac3a1d7#36b02715e5f440c9b21952b668e0e70c))", - version: "1.0.0", + version: "1.0.1", type: "action", props: { flipando, @@ -23,6 +23,12 @@ export default { description: "Set to `true` to poll the API in 3-second intervals until the task is completed", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/flipando/package.json b/components/flipando/package.json index 429551f5237da..7d7c657292fa4 100644 --- a/components/flipando/package.json +++ b/components/flipando/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/flipando", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Flipando Components", "main": "flipando.app.mjs", "keywords": [ diff --git a/components/flippingbook/actions/create-flipbook/create-flipbook.mjs b/components/flippingbook/actions/create-flipbook/create-flipbook.mjs index 4c1f5c13fdded..02cb35899d898 100644 --- a/components/flippingbook/actions/create-flipbook/create-flipbook.mjs +++ b/components/flippingbook/actions/create-flipbook/create-flipbook.mjs @@ -5,7 +5,7 @@ export default { key: "flippingbook-create-flipbook", name: "Create Flipbook", description: "Generates a new flipbook from an input PDF file. [See the documentation](https://apidocs.flippingbook.com/#create-a-new-publication-possibly-attaching-a-new-source-file)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { flippingbook, @@ -39,6 +39,12 @@ export default { "description", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { async getFileData() { diff --git a/components/flippingbook/actions/update-flipbook/update-flipbook.mjs b/components/flippingbook/actions/update-flipbook/update-flipbook.mjs index c77aabde59bcb..fb3b02efdec4a 100644 --- a/components/flippingbook/actions/update-flipbook/update-flipbook.mjs +++ b/components/flippingbook/actions/update-flipbook/update-flipbook.mjs @@ -5,7 +5,7 @@ export default { key: "flippingbook-update-flipbook", name: "Update Flipbook", description: "Edits an existing flipbook by replacing it with a new input PDF file. [See the documentation](https://apidocs.flippingbook.com/#update-the-metadata-for-one-publication-possibly-attaching-a-new-source-file)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { flippingbook, @@ -46,6 +46,12 @@ export default { "description", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: createFlipbook.methods, async run({ $ }) { diff --git a/components/flippingbook/package.json b/components/flippingbook/package.json index 2b59a03f4724f..5f214a794edeb 100644 --- a/components/flippingbook/package.json +++ b/components/flippingbook/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/flippingbook", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream FlippingBook Components", "main": "flippingbook.app.mjs", "keywords": [ diff --git a/components/formstack_documents/actions/create-document/create-document.mjs b/components/formstack_documents/actions/create-document/create-document.mjs index 21d4d807f9557..ebd812976a1cf 100644 --- a/components/formstack_documents/actions/create-document/create-document.mjs +++ b/components/formstack_documents/actions/create-document/create-document.mjs @@ -7,7 +7,7 @@ export default { key: "formstack_documents-create-document", name: "Create Document", description: "Create a new document. [See documentation](https://www.webmerge.me/developers?page=documents)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { formstackDocuments, @@ -35,6 +35,12 @@ export default { description: "The name of the folder to save the document in. If folder doesn't exist, one will be created.", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/formstack_documents/package.json b/components/formstack_documents/package.json index cf901b6935543..9db390924b91c 100644 --- a/components/formstack_documents/package.json +++ b/components/formstack_documents/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/formstack_documents", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Formstack Documents Components", "main": "formstack_documents.app.mjs", "keywords": [ diff --git a/components/generated_photos/actions/generate-similar-faces-by-upload/generate-similar-faces-by-upload.mjs b/components/generated_photos/actions/generate-similar-faces-by-upload/generate-similar-faces-by-upload.mjs index b87833f5ea67d..43c5a9513db17 100644 --- a/components/generated_photos/actions/generate-similar-faces-by-upload/generate-similar-faces-by-upload.mjs +++ b/components/generated_photos/actions/generate-similar-faces-by-upload/generate-similar-faces-by-upload.mjs @@ -6,7 +6,7 @@ export default { key: "generated_photos-generate-similar-faces-by-upload", name: "Generate Similar Faces to Uploaded Image", description: "Generates faces similar to an uploaded image with the Generated Photos API. [See the documentation](https://generated.photos/account#apikey)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { generatedPhotos, @@ -21,6 +21,12 @@ export default { "limit", ], }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/generated_photos/package.json b/components/generated_photos/package.json index 1b558aa6d9088..07f91af7b3715 100644 --- a/components/generated_photos/package.json +++ b/components/generated_photos/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/generated_photos", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Generated_photos Components", "main": "generated_photos.app.mjs", "keywords": [ diff --git a/components/gladia/actions/send-audio-for-transcription/send-audio-for-transcription.mjs b/components/gladia/actions/send-audio-for-transcription/send-audio-for-transcription.mjs index a34d9a3720104..66ac659939591 100644 --- a/components/gladia/actions/send-audio-for-transcription/send-audio-for-transcription.mjs +++ b/components/gladia/actions/send-audio-for-transcription/send-audio-for-transcription.mjs @@ -9,7 +9,7 @@ export default { key: "gladia-send-audio-for-transcription", name: "Send Audio For Transcription", description: "Sends audio to Gladia for transcription and optional translation. [See the documentation](https://docs.gladia.io/reference/pre-recorded)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { gladia, @@ -61,6 +61,12 @@ export default { reloadProps: true, optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async additionalProps() { const props = {}; diff --git a/components/gladia/package.json b/components/gladia/package.json index 64e04eef3ce83..4371c40a70730 100644 --- a/components/gladia/package.json +++ b/components/gladia/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gladia", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Gladia Components", "main": "gladia.app.mjs", "keywords": [ diff --git a/components/gmail/actions/download-attachment/download-attachment.mjs b/components/gmail/actions/download-attachment/download-attachment.mjs index 80ac808d3adc8..b24a5f5401b2d 100644 --- a/components/gmail/actions/download-attachment/download-attachment.mjs +++ b/components/gmail/actions/download-attachment/download-attachment.mjs @@ -7,7 +7,7 @@ export default { key: "gmail-download-attachment", name: "Download Attachment", description: "Download an attachment by attachmentId to the /tmp directory. [See the documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.messages.attachments/get)", - version: "0.0.11", + version: "0.0.12", type: "action", props: { gmail, @@ -33,6 +33,11 @@ export default { description: "Name of the new file. Example: `test.jpg`", optional: true, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const attachmentId = this.attachmentId.value || this.attachmentId; diff --git a/components/gmail/package.json b/components/gmail/package.json index c0067fa19131e..2bf261697d884 100644 --- a/components/gmail/package.json +++ b/components/gmail/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gmail", - "version": "1.1.1", + "version": "1.1.2", "description": "Pipedream Gmail Components", "main": "gmail.app.mjs", "keywords": [ diff --git a/components/google_drive/actions/download-file/download-file.mjs b/components/google_drive/actions/download-file/download-file.mjs index 7ac942153978d..90ca1408cd335 100644 --- a/components/google_drive/actions/download-file/download-file.mjs +++ b/components/google_drive/actions/download-file/download-file.mjs @@ -18,7 +18,7 @@ export default { key: "google_drive-download-file", name: "Download File", description: "Download a file. [See the documentation](https://developers.google.com/drive/api/v3/manage-downloads) for more information", - version: "0.1.10", + version: "0.1.11", type: "action", props: { googleDrive, @@ -88,6 +88,11 @@ export default { }); }, }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { // Get file metadata to get file's MIME type diff --git a/components/google_drive/actions/update-file/update-file.mjs b/components/google_drive/actions/update-file/update-file.mjs index 146585b2e4114..d59f85aa853db 100644 --- a/components/google_drive/actions/update-file/update-file.mjs +++ b/components/google_drive/actions/update-file/update-file.mjs @@ -6,7 +6,7 @@ export default { key: "google_drive-update-file", name: "Update File", description: "Update a file's metadata and/or content. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update) for more information", - version: "2.0.0", + version: "2.0.1", type: "action", props: { googleDrive, @@ -96,6 +96,12 @@ export default { Any additional parameters to pass in the request. [See the documentation](https://developers.google.com/drive/api/v3/reference/files/update#request-body) for all available parameters. `), }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/google_drive/actions/upload-file/upload-file.mjs b/components/google_drive/actions/upload-file/upload-file.mjs index 35c3b3a39f0e5..7d4b9d8436d4c 100644 --- a/components/google_drive/actions/upload-file/upload-file.mjs +++ b/components/google_drive/actions/upload-file/upload-file.mjs @@ -12,7 +12,7 @@ export default { key: "google_drive-upload-file", name: "Upload File", description: "Upload a file to Google Drive. [See the documentation](https://developers.google.com/drive/api/v3/manage-uploads) for more information", - version: "2.0.1", + version: "2.0.2", type: "action", props: { googleDrive, @@ -79,6 +79,12 @@ export default { description: "Additional metadata to supply in the upload. [See the documentation](https://developers.google.com/workspace/drive/api/reference/rest/v3/files) for information on available fields. Values will be parsed as JSON where applicable. Example: `{ \"description\": \"my file description\" }`", optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { const { diff --git a/components/google_drive/package.json b/components/google_drive/package.json index 7786c49e54095..2d62303112ca0 100644 --- a/components/google_drive/package.json +++ b/components/google_drive/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_drive", - "version": "1.0.1", + "version": "1.0.2", "description": "Pipedream Google_drive Components", "main": "google_drive.app.mjs", "keywords": [ diff --git a/components/google_gemini/actions/generate-content-from-text-and-image/generate-content-from-text-and-image.mjs b/components/google_gemini/actions/generate-content-from-text-and-image/generate-content-from-text-and-image.mjs index 513ba7f4698c6..70777e4b0dccc 100644 --- a/components/google_gemini/actions/generate-content-from-text-and-image/generate-content-from-text-and-image.mjs +++ b/components/google_gemini/actions/generate-content-from-text-and-image/generate-content-from-text-and-image.mjs @@ -10,7 +10,7 @@ export default { key: "google_gemini-generate-content-from-text-and-image", name: "Generate Content from Text and Image", description: "Generates content from both text and image input using the Gemini API. [See the documentation](https://ai.google.dev/tutorials/rest_quickstart#text-and-image_input)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { ...common.props, @@ -19,6 +19,12 @@ export default { label: "Media File Paths or URLs", description: "A list of file paths from the `/tmp` directory or URLs for the media to process.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { ...common.methods, diff --git a/components/google_gemini/package.json b/components/google_gemini/package.json index 06b5d8338cfd3..0ec211d4907d1 100644 --- a/components/google_gemini/package.json +++ b/components/google_gemini/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_gemini", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Google Gemini Components", "main": "google_gemini.app.mjs", "keywords": [ diff --git a/components/google_photos/actions/upload-item/upload-item.mjs b/components/google_photos/actions/upload-item/upload-item.mjs index b3669274b5a69..4d1c47a4aee02 100644 --- a/components/google_photos/actions/upload-item/upload-item.mjs +++ b/components/google_photos/actions/upload-item/upload-item.mjs @@ -5,7 +5,7 @@ import { export default { key: "google_photos-upload-item", - version: "1.0.0", + version: "1.0.1", type: "action", name: "Upload Item", description: "Uploads an item to Google Photos. [See the documentation](https://developers.google.com/photos/library/guides/upload-media)", @@ -29,6 +29,12 @@ export default { ], optional: true, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { streamToUint8Array(stream) { diff --git a/components/google_photos/package.json b/components/google_photos/package.json index 3c2476713b188..069e62d2792da 100644 --- a/components/google_photos/package.json +++ b/components/google_photos/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_photos", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Google Photos Components", "main": "google_photos.app.mjs", "keywords": [ diff --git a/components/gptzero_detect_ai/actions/scan-file/scan-file.mjs b/components/gptzero_detect_ai/actions/scan-file/scan-file.mjs index 5eb4a10ba726e..38f6fa50c369f 100644 --- a/components/gptzero_detect_ai/actions/scan-file/scan-file.mjs +++ b/components/gptzero_detect_ai/actions/scan-file/scan-file.mjs @@ -9,7 +9,7 @@ export default { key: "gptzero_detect_ai-scan-file", name: "Scan File for AI Detection", description: "This endpoint takes in file(s) input and returns the model's result. [See the documentation](https://gptzero.stoplight.io/docs/gptzero-api/0a8e7efa751a6-ai-detection-on-an-array-of-files)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { gptzeroDetectAi, @@ -25,6 +25,12 @@ export default { label: "Files or URLs", description: "A list of file paths from the `/tmp` directory or URLs to analyze.", }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, async run({ $ }) { if (this.files.length > 50) { diff --git a/components/gptzero_detect_ai/package.json b/components/gptzero_detect_ai/package.json index cf68eab87824a..d07310a1e9afd 100644 --- a/components/gptzero_detect_ai/package.json +++ b/components/gptzero_detect_ai/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/gptzero_detect_ai", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream GPTZero: Detect AI Components", "main": "gptzero_detect_ai.app.mjs", "keywords": [ diff --git a/components/greenhouse/actions/add-attachment-to-candidate/add-attachment-to-candidate.mjs b/components/greenhouse/actions/add-attachment-to-candidate/add-attachment-to-candidate.mjs index 0249a617b0229..80adb1a6632c4 100644 --- a/components/greenhouse/actions/add-attachment-to-candidate/add-attachment-to-candidate.mjs +++ b/components/greenhouse/actions/add-attachment-to-candidate/add-attachment-to-candidate.mjs @@ -8,7 +8,7 @@ export default { key: "greenhouse-add-attachment-to-candidate", name: "Add Attachment to Candidate", description: "Adds an attachment to a specific candidate or prospect. [See the documentation](https://developers.greenhouse.io/harvest.html#post-add-attachment)", - version: "1.0.0", + version: "1.0.1", type: "action", props: { greenhouse, @@ -51,6 +51,12 @@ export default { optional: true, options: CONTENT_TYPE_OPTIONS, }, + syncDir: { + type: "dir", + accessMode: "read", + sync: true, + optional: true, + }, }, methods: { streamToBase64(stream) { diff --git a/components/greenhouse/package.json b/components/greenhouse/package.json index f5dd6aa6fe6e4..e5f2f4fcd6fe6 100644 --- a/components/greenhouse/package.json +++ b/components/greenhouse/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/greenhouse", - "version": "1.0.0", + "version": "1.0.1", "description": "Pipedream Greenhouse Components", "main": "greenhouse.app.mjs", "keywords": [ diff --git a/components/guru/actions/export-card-to-pdf/export-card-to-pdf.mjs b/components/guru/actions/export-card-to-pdf/export-card-to-pdf.mjs index ff8337b0abbe9..62ecdc3d44916 100644 --- a/components/guru/actions/export-card-to-pdf/export-card-to-pdf.mjs +++ b/components/guru/actions/export-card-to-pdf/export-card-to-pdf.mjs @@ -7,7 +7,7 @@ export default { key: "guru-export-card-to-pdf", name: "Export Card to PDF", description: "Export a specific card identified by its ID to a PDF file. [See the documentation](https://developer.getguru.com/docs/download-cards-to-pdf)", - version: "0.0.1", + version: "0.0.2", type: "action", props: { guru, @@ -17,6 +17,11 @@ export default { "cardId", ], }, + syncDir: { + type: "dir", + accessMode: "write", + sync: true, + }, }, async run({ $ }) { const { diff --git a/components/guru/package.json b/components/guru/package.json index 8fcf089f37ec8..69a7ee61dd255 100644 --- a/components/guru/package.json +++ b/components/guru/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/guru", - "version": "0.1.0", + "version": "0.1.1", "description": "Pipedream Guru Components", "main": "guru.app.mjs", "keywords": [ diff --git a/components/salesforge/salesforge.app.mjs b/components/salesforge/salesforge.app.mjs index 6c8202862b1e4..0efa5793bc144 100644 --- a/components/salesforge/salesforge.app.mjs +++ b/components/salesforge/salesforge.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1ca3be058fb3c..d95aac0e8a961 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1048,8 +1048,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/asters: - specifiers: {} + components/asters: {} components/astica_ai: dependencies: @@ -11615,8 +11614,7 @@ importers: specifier: ^9.0.1 version: 9.0.1 - components/salesforge: - specifiers: {} + components/salesforge: {} components/saleslens: dependencies: @@ -29569,22 +29567,22 @@ packages: superagent@3.8.1: resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==} engines: {node: '>= 4.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . superagent@4.1.0: resolution: {integrity: sha512-FT3QLMasz0YyCd4uIi5HNe+3t/onxMyEho7C3PSqmti3Twgy2rXT4fmkTz6wRL6bTF4uzPcfkUCa8u4JWHw8Ag==} engines: {node: '>= 6.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . superagent@5.3.1: resolution: {integrity: sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==} engines: {node: '>= 7.0.0'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at . superagent@7.1.6: resolution: {integrity: sha512-gZkVCQR1gy/oUXr+kxJMLDjla434KmSOKbx5iGD30Ql+AkJQ/YlPKECJy2nhqOsHLjGHzoDTXNSjhnvWhzKk7g==} engines: {node: '>=6.4.0 <13 || >=14'} - deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net + deprecated: Please downgrade to v7.1.5 if you need IE/ActiveXObject support OR upgrade to v8.0.0 as we no longer support IE and published an incorrect patch version (see https://github.com/visionmedia/superagent/issues/1731) supports-color@2.0.0: resolution: {integrity: sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==} @@ -36515,6 +36513,8 @@ snapshots: '@putout/operator-filesystem': 5.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3)) '@putout/operator-json': 2.2.0 putout: 36.13.1(eslint@8.57.1)(typescript@5.6.3) + transitivePeerDependencies: + - supports-color '@putout/operator-regexp@1.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3))': dependencies: diff --git a/scripts/version-strip-loader.mjs b/scripts/version-strip-loader.mjs new file mode 100644 index 0000000000000..3fe7407e1ed71 --- /dev/null +++ b/scripts/version-strip-loader.mjs @@ -0,0 +1,9 @@ +export async function resolve(specifier, context, nextResolve) { + // Strip version from imports like "got@13.0.0" -> "got" + const versionedImportMatch = specifier.match(/^(.+)@[\d\.\-\w]+$/); + if (versionedImportMatch) { + specifier = versionedImportMatch[1]; + } + + return nextResolve(specifier, context); +} \ No newline at end of file