diff --git a/components/amplenote/actions/create-note/create-note.ts b/components/amplenote/actions/create-note/create-note.ts index 74655132d9488..0466844c8fa5f 100644 --- a/components/amplenote/actions/create-note/create-note.ts +++ b/components/amplenote/actions/create-note/create-note.ts @@ -4,7 +4,12 @@ import { ConfigurationError } from "@pipedream/platform"; export default defineAction({ name: "Create Note", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, key: "amplenote-create-note", description: "Creates a new note. [See docs here](https://www.amplenote.com/api_documentation#post-/notes)", type: "action", diff --git a/components/amplenote/actions/create-task/create-task.ts b/components/amplenote/actions/create-task/create-task.ts index 9862c695fc31c..d6c83d700c916 100644 --- a/components/amplenote/actions/create-task/create-task.ts +++ b/components/amplenote/actions/create-task/create-task.ts @@ -4,7 +4,12 @@ import { ConfigurationError } from "@pipedream/platform"; export default defineAction({ name: "Create Task", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, key: "amplenote-create-task", description: "Creates a new task. [See docs here](https://www.amplenote.com/api_documentation#post-/notes/-uuid-/actions)", type: "action", diff --git a/components/apitemplate_io/actions/account-information/account-information.ts b/components/apitemplate_io/actions/account-information/account-information.ts index 4563f6706e2f2..1b9d2a4fd236e 100644 --- a/components/apitemplate_io/actions/account-information/account-information.ts +++ b/components/apitemplate_io/actions/account-information/account-information.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Account Information", description: "Retrieves information about your account. [See the docs](https://apitemplate.io/apiv2/) for more information", key: "apitemplate_io-account-information", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/apitemplate_io/actions/create-image/create-image.ts b/components/apitemplate_io/actions/create-image/create-image.ts index abc855eb29e50..8d1da91f745a4 100644 --- a/components/apitemplate_io/actions/create-image/create-image.ts +++ b/components/apitemplate_io/actions/create-image/create-image.ts @@ -6,7 +6,12 @@ export default defineAction({ name: "Create an Image", description: "Create a JPEG file(along with PNG) with JSON data and your template. [See the docs](https://apitemplate.io/apiv2/#tag/API-Integration/operation/create-image) for more information", key: "apitemplate_io-create-image", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/apitemplate_io/actions/create-pdf/create-pdf.ts b/components/apitemplate_io/actions/create-pdf/create-pdf.ts index dcd365c245883..919d4abcd08e1 100644 --- a/components/apitemplate_io/actions/create-pdf/create-pdf.ts +++ b/components/apitemplate_io/actions/create-pdf/create-pdf.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Create a PDF", description: "Create a PDF file with JSON data and your template. [See the docs](https://apitemplate.io/apiv2/#tag/API-Integration/operation/create-pdf) for more information", key: "apitemplate_io-create-pdf", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/apitemplate_io/actions/delete-object/delete-object.ts b/components/apitemplate_io/actions/delete-object/delete-object.ts index ffcbc5aebeebf..5fabf23b2332f 100644 --- a/components/apitemplate_io/actions/delete-object/delete-object.ts +++ b/components/apitemplate_io/actions/delete-object/delete-object.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Delete an Object", description: "Delete a PDF or an image from CDN and mark the transaction as deleted. [See the docs](https://apitemplate.io/apiv2/#tag/API-Integration/operation/delete-object) for more information", key: "apitemplate_io-delete-object", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/apitemplate_io/actions/list-objects/list-objects.ts b/components/apitemplate_io/actions/list-objects/list-objects.ts index 16d6cb545c643..690d38e169e03 100644 --- a/components/apitemplate_io/actions/list-objects/list-objects.ts +++ b/components/apitemplate_io/actions/list-objects/list-objects.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "List Generated Objects", description: "Retrieves all the generated PDFs and images. [See the docs](https://apitemplate.io/apiv2/#tag/API-Integration/operation/list-objects) for more information", key: "apitemplate_io-list-objects", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/baserow/actions/create-row/create-row.ts b/components/baserow/actions/create-row/create-row.ts index a974e0a54e976..88fd7a1683ea4 100644 --- a/components/baserow/actions/create-row/create-row.ts +++ b/components/baserow/actions/create-row/create-row.ts @@ -11,7 +11,12 @@ export default defineAction({ name: "Create Row", description: `Create a row [See docs here](${DOCS_LINK})`, key: "baserow-create-row", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { ...common.props, diff --git a/components/baserow/actions/delete-row/delete-row.ts b/components/baserow/actions/delete-row/delete-row.ts index ae1f6987f44c8..59b3218f9cc4c 100644 --- a/components/baserow/actions/delete-row/delete-row.ts +++ b/components/baserow/actions/delete-row/delete-row.ts @@ -10,7 +10,12 @@ export default defineAction({ description: `Delete a row [See docs here](${DOCS_LINK})`, key: "baserow-delete-row", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { ...common.props, diff --git a/components/baserow/actions/get-row/get-row.ts b/components/baserow/actions/get-row/get-row.ts index 86430c19eb29c..22d0777e909db 100644 --- a/components/baserow/actions/get-row/get-row.ts +++ b/components/baserow/actions/get-row/get-row.ts @@ -12,7 +12,12 @@ export default defineAction({ description: `Get a single row [See docs here](${DOCS_LINK})`, key: "baserow-get-row", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { ...common.props, diff --git a/components/baserow/actions/list-rows/list-rows.ts b/components/baserow/actions/list-rows/list-rows.ts index 63fc29d9d70f7..30e431feb2be9 100644 --- a/components/baserow/actions/list-rows/list-rows.ts +++ b/components/baserow/actions/list-rows/list-rows.ts @@ -11,7 +11,12 @@ export default defineAction({ description: `List a table's rows [See docs here](${DOCS_LINK})`, key: "baserow-list-rows", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", async run({ $ }) { const { tableId } = this; diff --git a/components/baserow/actions/update-row/update-row.ts b/components/baserow/actions/update-row/update-row.ts index 93377ed4e49c1..32d64caeb4e65 100644 --- a/components/baserow/actions/update-row/update-row.ts +++ b/components/baserow/actions/update-row/update-row.ts @@ -11,7 +11,12 @@ export default defineAction({ name: "Update Row", description: `Update a row [See docs here](${DOCS_LINK})`, key: "baserow-update-row", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { ...common.props, diff --git a/components/beehiiv/actions/create-subscriber/create-subscriber.ts b/components/beehiiv/actions/create-subscriber/create-subscriber.ts index 892d5171b1510..e10a453f2bb6f 100644 --- a/components/beehiiv/actions/create-subscriber/create-subscriber.ts +++ b/components/beehiiv/actions/create-subscriber/create-subscriber.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Create Subscriber", description: "Create a new subscriber. [See docs](https://www.beehiiv.com/developers/docs)", key: "beehiiv-create-subscriber", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/beehiiv/actions/list-all-publications/list-all-publications.ts b/components/beehiiv/actions/list-all-publications/list-all-publications.ts index 77328ac8cdafb..1104146fdcfe1 100644 --- a/components/beehiiv/actions/list-all-publications/list-all-publications.ts +++ b/components/beehiiv/actions/list-all-publications/list-all-publications.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "List All Publications", description: "Get a list of all your publications. [See docs](https://www.beehiiv.com/developers/docs)", key: "beehiiv-list-all-publications", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/clientary/actions/create-client/create-client.ts b/components/clientary/actions/create-client/create-client.ts index eb6bf6218cb67..a883fc51ec0c9 100644 --- a/components/clientary/actions/create-client/create-client.ts +++ b/components/clientary/actions/create-client/create-client.ts @@ -3,7 +3,12 @@ import app from "../../app/clientary.app"; export default defineAction({ key: "clientary-create-client", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Client", description: "Creates a new client. [See docs here](https://www.clientary.com/api/clients)", type: "action", diff --git a/components/clientary/actions/create-estimate/create-estimate.ts b/components/clientary/actions/create-estimate/create-estimate.ts index 60bab9625863a..e3e8899a6f9ac 100644 --- a/components/clientary/actions/create-estimate/create-estimate.ts +++ b/components/clientary/actions/create-estimate/create-estimate.ts @@ -4,7 +4,12 @@ import app from "../../app/clientary.app"; export default defineAction({ key: "clientary-create-estimate", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Estimate", description: "Creates a new estimate. [See docs here](https://www.clientary.com/api/estimates)", type: "action", @@ -38,8 +43,8 @@ export default defineAction({ if (this.estimateItemsAttributes) { try { estimateItemsAttributes = JSON.parse(this.estimateItemsAttributes); - } catch (err) { - throw new ConfigurationError("`Estimate Items Attributes` must be a valid JSON Array string"); + } catch { + throw new ConfigurationError("Estimate Items Attributes must be a valid JSON Array string"); } } const response = await this.app.getRequestMethod("createEstimate")({ diff --git a/components/clientary/actions/create-expense/create-expense.ts b/components/clientary/actions/create-expense/create-expense.ts index d89c0a0e4ae24..6f63af5ebb08d 100644 --- a/components/clientary/actions/create-expense/create-expense.ts +++ b/components/clientary/actions/create-expense/create-expense.ts @@ -3,7 +3,12 @@ import app from "../../app/clientary.app"; export default defineAction({ key: "clientary-create-expense", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Expense", description: "Creates a new expense. [See docs here](https://www.clientary.com/api/expenses)", type: "action", diff --git a/components/clientary/actions/create-invoice/create-invoice.ts b/components/clientary/actions/create-invoice/create-invoice.ts index 6cb47bab730af..26727bf21bdda 100644 --- a/components/clientary/actions/create-invoice/create-invoice.ts +++ b/components/clientary/actions/create-invoice/create-invoice.ts @@ -4,7 +4,12 @@ import app from "../../app/clientary.app"; export default defineAction({ key: "clientary-create-invoice", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Invoice", description: "Creates a new invoice. [See docs here](https://www.clientary.com/api/invoices)", type: "action", @@ -43,7 +48,7 @@ export default defineAction({ if (this.invoiceItemsAttributes) { try { invoiceItemsAttributes = JSON.parse(this.invoiceItemsAttributes); - } catch (err) { + } catch { throw new ConfigurationError("`Estimate Items Attributes` must be a valid JSON Array string"); } } diff --git a/components/clientary/actions/create-task/create-task.ts b/components/clientary/actions/create-task/create-task.ts index dc411b92d2f34..1aa1dc2755caa 100644 --- a/components/clientary/actions/create-task/create-task.ts +++ b/components/clientary/actions/create-task/create-task.ts @@ -3,7 +3,12 @@ import app from "../../app/clientary.app"; export default defineAction({ key: "clientary-create-task", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Task", description: "Creates a new task. [See docs here](https://www.clientary.com/api/tasks)", type: "action", diff --git a/components/clientary/package.json b/components/clientary/package.json index 79c43206254fd..2c31316f7d9a7 100644 --- a/components/clientary/package.json +++ b/components/clientary/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/clientary", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Clientary Components", "main": "dist/app/clientary.app.mjs", "keywords": [ diff --git a/components/cloudmersive/actions/convert-to-pdf/convert-to-pdf.ts b/components/cloudmersive/actions/convert-to-pdf/convert-to-pdf.ts index deda9517642d4..06b67f10f5070 100644 --- a/components/cloudmersive/actions/convert-to-pdf/convert-to-pdf.ts +++ b/components/cloudmersive/actions/convert-to-pdf/convert-to-pdf.ts @@ -13,7 +13,12 @@ export default defineAction({ name: "Convert to PDF", description: `Convert Office Word Documents (docx) to PDF [See the documentation](${DOCS.convertToPDF})`, key: "cloudmersive-convert-to-pdf", - version: "1.0.0", + version: "1.0.1", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { cloudmersive, diff --git a/components/cloudmersive/actions/screenshot-website/screenshot-website.ts b/components/cloudmersive/actions/screenshot-website/screenshot-website.ts index cabe1666c99bc..77f17916af814 100644 --- a/components/cloudmersive/actions/screenshot-website/screenshot-website.ts +++ b/components/cloudmersive/actions/screenshot-website/screenshot-website.ts @@ -7,7 +7,12 @@ export default defineAction({ name: "Screenshot Website", description: `Take a screenshot of a website [See docs here](${DOCS.screenshotWebsite})`, key: "cloudmersive-screenshot-website", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { cloudmersive, diff --git a/components/cloudmersive/actions/validate-email-address/validate-email-address.ts b/components/cloudmersive/actions/validate-email-address/validate-email-address.ts index 827374b2b50d9..558ceee7153e8 100644 --- a/components/cloudmersive/actions/validate-email-address/validate-email-address.ts +++ b/components/cloudmersive/actions/validate-email-address/validate-email-address.ts @@ -7,7 +7,12 @@ export default defineAction({ name: "Validate Email Address", description: `Validate an email address [See docs here](${DOCS.validateEmailAddress})`, key: "cloudmersive-validate-email-address", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { cloudmersive, diff --git a/components/coassemble/actions/create-new-course/create-new-course.ts b/components/coassemble/actions/create-new-course/create-new-course.ts index 9df34f3a76e16..9cebe2cf492bd 100644 --- a/components/coassemble/actions/create-new-course/create-new-course.ts +++ b/components/coassemble/actions/create-new-course/create-new-course.ts @@ -3,7 +3,12 @@ import coassemble from "../../app/coassemble.app"; export default { key: "coassemble-create-new-course", name: "Create New Course", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, description: "Use this endpoint to create new courses in your workspace. [See the docs here](https://developers.coassemble.com/api/courses#create-a-new-course)", type: "action", props: { diff --git a/components/coassemble/actions/create-new-user/create-new-user.ts b/components/coassemble/actions/create-new-user/create-new-user.ts index 429d50876db38..4c547b2a191b2 100644 --- a/components/coassemble/actions/create-new-user/create-new-user.ts +++ b/components/coassemble/actions/create-new-user/create-new-user.ts @@ -3,7 +3,12 @@ import coassemble from "../../app/coassemble.app"; export default { key: "coassemble-create-new-user", name: "Create New User", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, description: "Create a user as a member of your campus or add an existing user to it. [See the docs here](https://developers.coassemble.com/api/users#add-users)", type: "action", props: { diff --git a/components/coassemble/actions/send-course-invitation/send-course-invitation.ts b/components/coassemble/actions/send-course-invitation/send-course-invitation.ts index 8332d03446d62..22de49ff73a88 100644 --- a/components/coassemble/actions/send-course-invitation/send-course-invitation.ts +++ b/components/coassemble/actions/send-course-invitation/send-course-invitation.ts @@ -3,7 +3,12 @@ import coassemble from "../../app/coassemble.app"; export default { key: "coassemble-send-course-invitation", name: "Send Course Invitation", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, description: "Enrol existing users into a course. [See the docs here](https://developers.coassemble.com/api/enrolments#create-enrolments)", type: "action", props: { diff --git a/components/concord/actions/copy-contract/copy-contract.ts b/components/concord/actions/copy-contract/copy-contract.ts index 710abd0ba487c..d2cb112a0e86c 100644 --- a/components/concord/actions/copy-contract/copy-contract.ts +++ b/components/concord/actions/copy-contract/copy-contract.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Create a Contract from another Contract [See the documentation](https://api.doc.concordnow.com/#tag/Agreement/operation/AgreementCreate)", key: "concord-copy-contract", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/concord/actions/create-draft-from-template/create-draft-from-template.ts b/components/concord/actions/create-draft-from-template/create-draft-from-template.ts index d94294533bcd5..7a79c3f7e8678 100644 --- a/components/concord/actions/create-draft-from-template/create-draft-from-template.ts +++ b/components/concord/actions/create-draft-from-template/create-draft-from-template.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Create a Draft from a Template [See the documentation](https://api.doc.concordnow.com/#tag/Agreement/operation/AgreementCreate)", key: "concord-create-draft-from-template", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/concord/actions/create-template/create-template.ts b/components/concord/actions/create-template/create-template.ts index f47dac3982c7d..1745054eff95a 100644 --- a/components/concord/actions/create-template/create-template.ts +++ b/components/concord/actions/create-template/create-template.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Create a Template [See the documentation](https://api.doc.concordnow.com/#tag/Agreement/operation/AgreementCreate)", key: "concord-create-template", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/concord/actions/request-signature/request-signature.ts b/components/concord/actions/request-signature/request-signature.ts index 856ea9529a95c..4426ab7e58cf3 100644 --- a/components/concord/actions/request-signature/request-signature.ts +++ b/components/concord/actions/request-signature/request-signature.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Request signers to sign an agreement [See the documentation](https://api.doc.concordnow.com/#tag/Signature/operation/RequestSignature)", key: "concord-request-signature", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/concord/actions/update-agreement-status/update-agreement-status.ts b/components/concord/actions/update-agreement-status/update-agreement-status.ts index 14655cf306012..940ddb9f0b4b7 100644 --- a/components/concord/actions/update-agreement-status/update-agreement-status.ts +++ b/components/concord/actions/update-agreement-status/update-agreement-status.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Update an agreement's status [See the documentation](https://api.doc.concordnow.com/#tag/Agreement/operation/PatchAgreement)", key: "concord-update-agreement-status", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/currencyscoop/actions/convert-currency/convert-currency.ts b/components/currencyscoop/actions/convert-currency/convert-currency.ts index 42beae9a3f23e..29444bf584e88 100644 --- a/components/currencyscoop/actions/convert-currency/convert-currency.ts +++ b/components/currencyscoop/actions/convert-currency/convert-currency.ts @@ -6,7 +6,12 @@ export default defineAction({ name: "Convert Currency", description: "Convert a specified amount from one currency to another [See the documentation](https://currencybeacon.com/api-documentation)", key: "currencyscoop-convert-currency", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/currencyscoop/actions/get-historical-rates/get-historical-rates.ts b/components/currencyscoop/actions/get-historical-rates/get-historical-rates.ts index 7c2b0366d5d55..9317e99638351 100644 --- a/components/currencyscoop/actions/get-historical-rates/get-historical-rates.ts +++ b/components/currencyscoop/actions/get-historical-rates/get-historical-rates.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Get Historical Rates", description: "Get historical rates for a currency [See the documentation](https://currencybeacon.com/api-documentation)", key: "currencyscoop-get-historical-rates", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/currencyscoop/actions/get-latest-exchange-rates/get-latest-exchange-rates.ts b/components/currencyscoop/actions/get-latest-exchange-rates/get-latest-exchange-rates.ts index b4cef910fc614..2d122a011e6d5 100644 --- a/components/currencyscoop/actions/get-latest-exchange-rates/get-latest-exchange-rates.ts +++ b/components/currencyscoop/actions/get-latest-exchange-rates/get-latest-exchange-rates.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "Get Latest Exchanges Rates", description: "Get the latest exchange rates for a currency [See the documentation](https://currencybeacon.com/api-documentation)", key: "currencyscoop-get-latest-exchange-rates", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/data_axle_platform/actions/get-person-by-id/get-person-by-id.ts b/components/data_axle_platform/actions/get-person-by-id/get-person-by-id.ts index 070ef7f1dca8f..73d56e8353cdf 100644 --- a/components/data_axle_platform/actions/get-person-by-id/get-person-by-id.ts +++ b/components/data_axle_platform/actions/get-person-by-id/get-person-by-id.ts @@ -4,9 +4,14 @@ import { PEOPLE_PACKAGES } from "../../common/constants"; export default { key: "data_axle_platform-get-person-by-id", name: "Get Person", - description: "Retrive a specific person by id. [See the docs here](https://platform.data-axle.com/people/docs/search_api#ids-query)", + description: "Retrieve a specific person by id. [See the docs here](https://platform.data-axle.com/people/docs/search_api#ids-query)", type: "action", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, props: { dataAxlePlatform, personId: { diff --git a/components/data_axle_platform/actions/search-companies/search-companies.ts b/components/data_axle_platform/actions/search-companies/search-companies.ts index 40375131abbcf..6b16a5cba4a45 100644 --- a/components/data_axle_platform/actions/search-companies/search-companies.ts +++ b/components/data_axle_platform/actions/search-companies/search-companies.ts @@ -6,7 +6,12 @@ export default { name: "Search Companies", description: "Find relevant listings in the database. [See the docs here](https://platform.data-axle.com/places/docs/search_api#getting-started)", type: "action", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, props: { dataAxlePlatform, query: { diff --git a/components/detrack/actions/create-job/create-job.ts b/components/detrack/actions/create-job/create-job.ts index 69d610da302b7..8c2b5e875c3f1 100644 --- a/components/detrack/actions/create-job/create-job.ts +++ b/components/detrack/actions/create-job/create-job.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Create a job [See docs here](https://detrackapiv2.docs.apiary.io/#reference/jobs/list-create/create)", key: "detrack-create-job", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { detrack, diff --git a/components/docupilot/actions/create-document/create-document.ts b/components/docupilot/actions/create-document/create-document.ts index 342dcc3943381..da192c290fe83 100644 --- a/components/docupilot/actions/create-document/create-document.ts +++ b/components/docupilot/actions/create-document/create-document.ts @@ -10,7 +10,12 @@ export default defineAction({ description: "Create a document [See docs here](https://help.docupilot.app/create-document/api-and-webhook-integration#api-integration)", key: "docupilot-create-document", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { docupilot, diff --git a/components/expensify/actions/create-expense/create-expense.ts b/components/expensify/actions/create-expense/create-expense.ts index 4855fdc99c863..d48e759386c1e 100644 --- a/components/expensify/actions/create-expense/create-expense.ts +++ b/components/expensify/actions/create-expense/create-expense.ts @@ -3,7 +3,12 @@ import expensify from "../../app/expensify.app"; export default defineAction({ key: "expensify-create-expense", - version: "0.0.4", + version: "0.0.5", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Expense", description: "Creates a new expense. [See docs here](https://integrations.expensify.com/Integration-Server/doc/#expense-creator)", type: "action", diff --git a/components/expensify/actions/create-report/create-report.ts b/components/expensify/actions/create-report/create-report.ts index df42bfbb7a167..2b68f606f4c2c 100644 --- a/components/expensify/actions/create-report/create-report.ts +++ b/components/expensify/actions/create-report/create-report.ts @@ -4,7 +4,12 @@ import utils from "../../common/utils"; export default defineAction({ key: "expensify-create-report", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create Report", description: "Creates a new report with transactions in a user's account. [See docs here](https://integrations.expensify.com/Integration-Server/doc/#report-creator)", type: "action", diff --git a/components/expensify/actions/export-report-to-pdf/export-report-to-pdf.ts b/components/expensify/actions/export-report-to-pdf/export-report-to-pdf.ts index b854857cc5686..8da7df14dbb69 100644 --- a/components/expensify/actions/export-report-to-pdf/export-report-to-pdf.ts +++ b/components/expensify/actions/export-report-to-pdf/export-report-to-pdf.ts @@ -4,7 +4,12 @@ import fs from "fs"; export default defineAction({ key: "expensify-export-report-to-pdf", - version: "0.0.4", + version: "0.0.5", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, name: "Export Report To PDF", description: "Export a report to PDF. [See docs here](https://integrations.expensify.com/Integration-Server/doc/#report-exporter)", type: "action", diff --git a/components/expensify/actions/export-report/export-report.ts b/components/expensify/actions/export-report/export-report.ts index d59e02f92233b..9e82796cd2acc 100644 --- a/components/expensify/actions/export-report/export-report.ts +++ b/components/expensify/actions/export-report/export-report.ts @@ -10,7 +10,12 @@ export default defineAction({ key: "expensify-export-report", name: "Export Report", description: "Export Expensify reports to a file (csv, xls, xlsx, txt, pdf, json, xml). [See the documentation](https://integrations.expensify.com/Integration-Server/doc/#report-exporter)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { expensify, diff --git a/components/expensify/actions/list-policies/list-policies.ts b/components/expensify/actions/list-policies/list-policies.ts index ea21ce50e4b36..0cbc121c55335 100644 --- a/components/expensify/actions/list-policies/list-policies.ts +++ b/components/expensify/actions/list-policies/list-policies.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "expensify-list-policies", name: "List Policies", description: "Retrieves a list of policies. [See the documentation](https://integrations.expensify.com/Integration-Server/doc/#policy-list-getter)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { expensify, diff --git a/components/formatting/actions/add-subtract-time/add-subtract-time.ts b/components/formatting/actions/add-subtract-time/add-subtract-time.ts index b5acfa8062dee..68d98d7b5ad22 100644 --- a/components/formatting/actions/add-subtract-time/add-subtract-time.ts +++ b/components/formatting/actions/add-subtract-time/add-subtract-time.ts @@ -18,7 +18,12 @@ export default defineAction({ name: "[Date/Time] Add/Subtract Time", description: "Add or subtract time from a given input", key: "formatting-add-subtract-time", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { ...commonDateTime.props, diff --git a/components/formatting/actions/compare-dates/compare-dates.ts b/components/formatting/actions/compare-dates/compare-dates.ts index c52735ac7f779..11a3f33b2ac8d 100644 --- a/components/formatting/actions/compare-dates/compare-dates.ts +++ b/components/formatting/actions/compare-dates/compare-dates.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.", key: "formatting-compare-dates", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { ...commonDateTime.props, diff --git a/components/formatting/actions/convert-html-to-markdown/convert-html-to-markdown.ts b/components/formatting/actions/convert-html-to-markdown/convert-html-to-markdown.ts index 7ac0ce4fe1650..004cd408231ce 100644 --- a/components/formatting/actions/convert-html-to-markdown/convert-html-to-markdown.ts +++ b/components/formatting/actions/convert-html-to-markdown/convert-html-to-markdown.ts @@ -7,7 +7,12 @@ export default defineAction({ name: "[Text] Convert HTML to Markdown", description: "Convert valid HTML to Markdown text", key: "formatting-convert-html-to-markdown", - version: "0.0.6", + version: "0.0.7", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/formatting/actions/convert-html-to-text/convert-html-to-text.ts b/components/formatting/actions/convert-html-to-text/convert-html-to-text.ts index 2c7c9e96970d0..ea77a11e5a9c6 100644 --- a/components/formatting/actions/convert-html-to-text/convert-html-to-text.ts +++ b/components/formatting/actions/convert-html-to-text/convert-html-to-text.ts @@ -6,7 +6,12 @@ export default defineAction({ name: "[Text] Convert HTML to text", description: "Convert valid HTML to text", key: "formatting-convert-html-to-text", - version: "0.0.4", + version: "0.0.5", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/formatting/actions/convert-json-to-string/convert-json-to-string.ts b/components/formatting/actions/convert-json-to-string/convert-json-to-string.ts index 3e8aeca735984..d6137cf4ca606 100644 --- a/components/formatting/actions/convert-json-to-string/convert-json-to-string.ts +++ b/components/formatting/actions/convert-json-to-string/convert-json-to-string.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Data] Convert JSON to String", description: "Convert an object to a JSON format string", key: "formatting-convert-json-to-string", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: false, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/formatting/actions/convert-markdown-to-html/convert-markdown-to-html.ts b/components/formatting/actions/convert-markdown-to-html/convert-markdown-to-html.ts index 6b166034730c0..23243672fe4cf 100644 --- a/components/formatting/actions/convert-markdown-to-html/convert-markdown-to-html.ts +++ b/components/formatting/actions/convert-markdown-to-html/convert-markdown-to-html.ts @@ -7,7 +7,12 @@ export default defineAction({ name: "[Text] Convert Markdown to HTML", description: "Convert Markdown text to HTML", key: "formatting-convert-markdown-to-html", - version: "0.0.6", + version: "0.0.7", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/formatting/actions/date-time-format/date-time-format.ts b/components/formatting/actions/date-time-format/date-time-format.ts index 1b786bc5f0bbe..69f93724fa1d8 100644 --- a/components/formatting/actions/date-time-format/date-time-format.ts +++ b/components/formatting/actions/date-time-format/date-time-format.ts @@ -10,7 +10,12 @@ export default defineAction({ name: "[Date/Time] Format", description: "Format a date string to another date string. For more examples on formatting, see the [Sugar Date Format](https://sugarjs.com/dates/#/Formatting) documentation.", key: "formatting-date-time-format", - version: "0.0.6", + version: "0.0.7", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { ...commonDateTime.props, @@ -37,7 +42,9 @@ export default defineAction({ $.export("$summary", "Successfully formatted date/time"); return output; } catch (err) { - throw new ConfigurationError("**Parse error** - check your input and if the selected format is correct."); + throw new ConfigurationError(`**Parse error** - check your input and if the selected format is correct. + +${err.message}`); } }, }); diff --git a/components/formatting/actions/extract-by-regular-expression/extract-by-regular-expression.ts b/components/formatting/actions/extract-by-regular-expression/extract-by-regular-expression.ts index a13d59389d186..ae2f450758bed 100644 --- a/components/formatting/actions/extract-by-regular-expression/extract-by-regular-expression.ts +++ b/components/formatting/actions/extract-by-regular-expression/extract-by-regular-expression.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Find a match for a regular expression pattern. Returns all matched groups with start and end position.", key: "formatting-extract-by-regular-expression", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/formatting/actions/extract-email-address/extract-email-address.ts b/components/formatting/actions/extract-email-address/extract-email-address.ts index 969a20211d30a..6b3c6e15f4840 100644 --- a/components/formatting/actions/extract-email-address/extract-email-address.ts +++ b/components/formatting/actions/extract-email-address/extract-email-address.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Find an email address out of a text field. Finds the first email address only.", key: "formatting-extract-email-address", - version: "0.0.6", + version: "0.0.7", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { ...commonExtractText.props, diff --git a/components/formatting/actions/extract-number/extract-number.ts b/components/formatting/actions/extract-number/extract-number.ts index 69443b4443ffd..a786be920aa4c 100644 --- a/components/formatting/actions/extract-number/extract-number.ts +++ b/components/formatting/actions/extract-number/extract-number.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Find a number out of a text field. Finds the first number only.", key: "formatting-extract-number", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: false, + readOnlyHint: true, + }, type: "action", props: { ...commonExtractText.props, diff --git a/components/formatting/actions/extract-phone-number/extract-phone-number.ts b/components/formatting/actions/extract-phone-number/extract-phone-number.ts index 592e3361d2c81..ecaa561a8f132 100644 --- a/components/formatting/actions/extract-phone-number/extract-phone-number.ts +++ b/components/formatting/actions/extract-phone-number/extract-phone-number.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Find a complete phone number out of a text field. Finds the first number only.", key: "formatting-extract-phone-number", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { ...commonExtractText.props, diff --git a/components/formatting/actions/extract-url/extract-url.ts b/components/formatting/actions/extract-url/extract-url.ts index 311907d012875..f0e8edc14eece 100644 --- a/components/formatting/actions/extract-url/extract-url.ts +++ b/components/formatting/actions/extract-url/extract-url.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Find a web URL out of a text field. Finds the first URL only.", key: "formatting-extract-url", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { ...commonExtractText.props, diff --git a/components/formatting/actions/format-currency/format-currency.ts b/components/formatting/actions/format-currency/format-currency.ts index 1a54078356603..a5c447047ba12 100644 --- a/components/formatting/actions/format-currency/format-currency.ts +++ b/components/formatting/actions/format-currency/format-currency.ts @@ -9,7 +9,12 @@ export default defineAction({ name: "[Numbers] Format Currency", description: "Format a number as a currency", key: "formatting-format-currency", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/format-number/format-number.ts b/components/formatting/actions/format-number/format-number.ts index b8292130f87d6..f5005be9c8fa2 100644 --- a/components/formatting/actions/format-number/format-number.ts +++ b/components/formatting/actions/format-number/format-number.ts @@ -11,7 +11,12 @@ export default defineAction({ description: "Format a number to a new style. Does not perform any rounding or padding of the number.", key: "formatting-format-number", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/parse-json/parse-json.ts b/components/formatting/actions/parse-json/parse-json.ts index ad9b72b7085c6..dfa82487d61de 100644 --- a/components/formatting/actions/parse-json/parse-json.ts +++ b/components/formatting/actions/parse-json/parse-json.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Data] Parse JSON", description: "Parse a JSON string", key: "formatting-parse-json", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: false, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/replace-text/replace-text.ts b/components/formatting/actions/replace-text/replace-text.ts index 18e8160f3309b..f0d89c38ef338 100644 --- a/components/formatting/actions/replace-text/replace-text.ts +++ b/components/formatting/actions/replace-text/replace-text.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Replace all instances of any character, word or phrase in the text with another character, word or phrase.", key: "formatting-replace-text", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: true, + openWorldHint: false, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/set-default-value/set-default-value.ts b/components/formatting/actions/set-default-value/set-default-value.ts index 15ef43aea4e6c..f727e87d291b7 100644 --- a/components/formatting/actions/set-default-value/set-default-value.ts +++ b/components/formatting/actions/set-default-value/set-default-value.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Text] Set Default Value", description: "Return a default value if the text is empty", key: "formatting-set-default-value", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/split-text/split-text.ts b/components/formatting/actions/split-text/split-text.ts index 19bd83790c698..1c948bd933d0b 100644 --- a/components/formatting/actions/split-text/split-text.ts +++ b/components/formatting/actions/split-text/split-text.ts @@ -10,7 +10,12 @@ export default defineAction({ description: "Split the text on a character or word and return one or all segments", key: "formatting-split-text", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/transform-case/transform-case.ts b/components/formatting/actions/transform-case/transform-case.ts index 974b4c60b8a96..ada7971d62d82 100644 --- a/components/formatting/actions/transform-case/transform-case.ts +++ b/components/formatting/actions/transform-case/transform-case.ts @@ -9,7 +9,12 @@ export default defineAction({ name: "[Text] Transform Case", description: "Transform case for a text input", key: "formatting-transform-case", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, @@ -38,7 +43,9 @@ export default defineAction({ $.export("$summary", "Successfully transformed text case"); return result; } catch (err) { - throw new ConfigurationError("**Parse error** - check your input and if the selected operation is correct."); + throw new ConfigurationError(`**Parse error** - check your input and if the selected operation is correct. + +${err.message}`); } }, }); diff --git a/components/formatting/actions/trim-whitespace/trim-whitespace.ts b/components/formatting/actions/trim-whitespace/trim-whitespace.ts index 2fd83ebdb787f..13c88d1189fdb 100644 --- a/components/formatting/actions/trim-whitespace/trim-whitespace.ts +++ b/components/formatting/actions/trim-whitespace/trim-whitespace.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Text] Trim Whitespace", description: "Removes leading and trailing whitespace", key: "formatting-trim-whitespace", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/url-decode/url-decode.ts b/components/formatting/actions/url-decode/url-decode.ts index c885a830257a4..d160644184647 100644 --- a/components/formatting/actions/url-decode/url-decode.ts +++ b/components/formatting/actions/url-decode/url-decode.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Text] Decode URL", description: "Decode a URL string", key: "formatting-url-decode", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: false, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/actions/url-encode/url-encode.ts b/components/formatting/actions/url-encode/url-encode.ts index 62a10b2d512ae..52e5857b17427 100644 --- a/components/formatting/actions/url-encode/url-encode.ts +++ b/components/formatting/actions/url-encode/url-encode.ts @@ -5,7 +5,12 @@ export default defineAction({ name: "[Text] Encode URL", description: "Encode a string as a URL", key: "formatting-url-encode", - version: "0.0.5", + version: "0.0.6", + annotations: { + destructiveHint: false, + openWorldHint: false, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/formatting/package.json b/components/formatting/package.json index e83e67fd181f3..0efc654dc89d8 100644 --- a/components/formatting/package.json +++ b/components/formatting/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/formatting", - "version": "0.2.1", + "version": "0.2.2", "description": "Pipedream Formatting Components", "main": "dist/app/formatting.app.mjs", "keywords": [ diff --git a/components/google_my_business/actions/create-post/create-post.ts b/components/google_my_business/actions/create-post/create-post.ts index 129596e146d39..e35e740cfdec6 100644 --- a/components/google_my_business/actions/create-post/create-post.ts +++ b/components/google_my_business/actions/create-post/create-post.ts @@ -12,7 +12,12 @@ export default defineAction({ key: "google_my_business-create-post", name: "Create Post", description: `Create a new local post associated with a location. [See the documentation](${DOCS_LINK})`, - version: "0.0.4", + version: "0.0.5", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/google_my_business/actions/create-update-reply-to-review/create-update-reply-to-review.ts b/components/google_my_business/actions/create-update-reply-to-review/create-update-reply-to-review.ts index 5f0f309b8f6c9..959c786bf4837 100644 --- a/components/google_my_business/actions/create-update-reply-to-review/create-update-reply-to-review.ts +++ b/components/google_my_business/actions/create-update-reply-to-review/create-update-reply-to-review.ts @@ -8,7 +8,12 @@ export default defineAction({ key: "google_my_business-create-update-reply-to-review", name: "Create or Update Reply to Review", description: `Create or update a reply to the specified review. [See the documentation](${DOCS_LINK})`, - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { app, diff --git a/components/google_my_business/actions/get-reviews-multiple-locations/get-reviews-multiple-locations.ts b/components/google_my_business/actions/get-reviews-multiple-locations/get-reviews-multiple-locations.ts index 5d688dd2834ec..6ed88077fce8f 100644 --- a/components/google_my_business/actions/get-reviews-multiple-locations/get-reviews-multiple-locations.ts +++ b/components/google_my_business/actions/get-reviews-multiple-locations/get-reviews-multiple-locations.ts @@ -8,7 +8,12 @@ export default defineAction({ key: "google_my_business-get-reviews-multiple-locations", name: "Get Reviews from Multiple Locations", description: `Get reviews from multiple locations at once. [See the documentation](${DOCS_LINK})`, - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/google_my_business/actions/get-specific-review/get-specific-review.ts b/components/google_my_business/actions/get-specific-review/get-specific-review.ts index 2b976f155cba9..588b1a05c859f 100644 --- a/components/google_my_business/actions/get-specific-review/get-specific-review.ts +++ b/components/google_my_business/actions/get-specific-review/get-specific-review.ts @@ -8,7 +8,12 @@ export default defineAction({ key: "google_my_business-get-specific-review", name: "Get a Specific Review", description: `Return a specific review by name. [See the documentation](${DOCS_LINK})`, - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/google_my_business/actions/list-all-reviews/list-all-reviews.ts b/components/google_my_business/actions/list-all-reviews/list-all-reviews.ts index 0de038f37dc39..37d4127ba832f 100644 --- a/components/google_my_business/actions/list-all-reviews/list-all-reviews.ts +++ b/components/google_my_business/actions/list-all-reviews/list-all-reviews.ts @@ -8,7 +8,12 @@ export default defineAction({ key: "google_my_business-list-all-reviews", name: "List All Reviews", description: `List all reviews of a location to audit reviews in bulk. [See the documentation](${DOCS_LINK})`, - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/google_my_business/actions/list-posts/list-posts.ts b/components/google_my_business/actions/list-posts/list-posts.ts index a1d98f5716006..096334d6f9637 100644 --- a/components/google_my_business/actions/list-posts/list-posts.ts +++ b/components/google_my_business/actions/list-posts/list-posts.ts @@ -9,7 +9,12 @@ export default defineAction({ key: "google_my_business-list-posts", name: "List Posts", description: `List local posts associated with a location. [See the documentation](${DOCS_LINK})`, - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { app, diff --git a/components/google_recaptcha/actions/validate-recaptcha/validate-recaptcha.ts b/components/google_recaptcha/actions/validate-recaptcha/validate-recaptcha.ts index 085e16e2a44fa..45bf5aebb1efc 100644 --- a/components/google_recaptcha/actions/validate-recaptcha/validate-recaptcha.ts +++ b/components/google_recaptcha/actions/validate-recaptcha/validate-recaptcha.ts @@ -3,7 +3,12 @@ import { defineAction } from "@pipedream/types"; export default defineAction({ name: "Validate reCAPTCHA Response", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, key: "google_recaptcha-validate-recaptcha", description: "Validate a Google reCAPTCHA request (v2 or v3). [See docs here](https://developers.google.com/recaptcha/docs/verify)", props: { diff --git a/components/google_workspace/actions/list-activities-by-admin/list-activities-by-admin.ts b/components/google_workspace/actions/list-activities-by-admin/list-activities-by-admin.ts index bcf51ba6dc58a..561b81a0bed4e 100644 --- a/components/google_workspace/actions/list-activities-by-admin/list-activities-by-admin.ts +++ b/components/google_workspace/actions/list-activities-by-admin/list-activities-by-admin.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "google_workspace-list-activities-by-admin", name: "List Activities By Admin", description: "Retrieves a report of all Admin console activities done by a specific administrator. [See the docs](https://developers.google.com/admin-sdk/reports/v1/guides/manage-audit-admin#get_admin_events) for more information", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { googleWorkspace, diff --git a/components/google_workspace/actions/list-activities-by-event-and-admin/list-activities-by-event-and-admin.ts b/components/google_workspace/actions/list-activities-by-event-and-admin/list-activities-by-event-and-admin.ts index 21b9775a685d1..852adab02d575 100644 --- a/components/google_workspace/actions/list-activities-by-event-and-admin/list-activities-by-event-and-admin.ts +++ b/components/google_workspace/actions/list-activities-by-event-and-admin/list-activities-by-event-and-admin.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "google_workspace-list-activities-by-event-and-admin", name: "List Activities By Event Name and Admin", description: "Retrieves a report of all activities for a specific event name and admin. [See the docs](https://developers.google.com/admin-sdk/reports/v1/guides/manage-audit-admin#get_admin_event) for more information", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { googleWorkspace, diff --git a/components/google_workspace/actions/list-activities-by-event-name/list-activities-by-event-name.ts b/components/google_workspace/actions/list-activities-by-event-name/list-activities-by-event-name.ts index 3f42172ac7dc8..e742778ed29f9 100644 --- a/components/google_workspace/actions/list-activities-by-event-name/list-activities-by-event-name.ts +++ b/components/google_workspace/actions/list-activities-by-event-name/list-activities-by-event-name.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "google_workspace-list-activities-by-event-name", name: "List Activities By Event Name", description: "Retrieves a report of all activities for a specific event name. [See the docs](https://developers.google.com/admin-sdk/reports/v1/guides/manage-audit-admin#get_all_events) for more information", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { googleWorkspace, diff --git a/components/google_workspace/actions/list-all-activities/list-all-activities.ts b/components/google_workspace/actions/list-all-activities/list-all-activities.ts index 7c96bb7536ae9..0d42469ec9b96 100644 --- a/components/google_workspace/actions/list-all-activities/list-all-activities.ts +++ b/components/google_workspace/actions/list-all-activities/list-all-activities.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "google_workspace-list-all-activities", name: "List All Activities", description: "Retrieves a report of all administrative activities done for an account. [See the docs](https://developers.google.com/admin-sdk/reports/v1/guides/manage-audit-admin#get_account_events) for more information", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { googleWorkspace, diff --git a/components/infusionsoft/actions/create-order-item/create-order-item.ts b/components/infusionsoft/actions/create-order-item/create-order-item.ts index 58c663c5a4247..43a672ce0950f 100644 --- a/components/infusionsoft/actions/create-order-item/create-order-item.ts +++ b/components/infusionsoft/actions/create-order-item/create-order-item.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Add an item to an existing order [See docs here](https://developer.infusionsoft.com/docs/rest/#operation/createOrderItemsOnOrderUsingPOST)", key: "infusionsoft-create-order-item", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { infusionsoft, diff --git a/components/infusionsoft/actions/create-payment/create-payment.ts b/components/infusionsoft/actions/create-payment/create-payment.ts index a6ac5d2080eae..47add22c1255e 100644 --- a/components/infusionsoft/actions/create-payment/create-payment.ts +++ b/components/infusionsoft/actions/create-payment/create-payment.ts @@ -7,7 +7,12 @@ export default defineAction({ description: "Create or add a payment record [See docs here](https://developer.infusionsoft.com/docs/rest/#operation/createPaymentOnOrderUsingPOST)", key: "infusionsoft-create-payment", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { infusionsoft, diff --git a/components/infusionsoft/actions/get-company/get-company.ts b/components/infusionsoft/actions/get-company/get-company.ts index dfef0cd91eec8..09b5f504aa734 100644 --- a/components/infusionsoft/actions/get-company/get-company.ts +++ b/components/infusionsoft/actions/get-company/get-company.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Retrieve details of a Company [See docs here](https://developer.infusionsoft.com/docs/rest/#operation/getCompanyUsingGET)", key: "infusionsoft-get-company", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { infusionsoft, diff --git a/components/infusionsoft/actions/get-contact/get-contact.ts b/components/infusionsoft/actions/get-contact/get-contact.ts index 9b6a11efaa422..6de9f2e7d3287 100644 --- a/components/infusionsoft/actions/get-contact/get-contact.ts +++ b/components/infusionsoft/actions/get-contact/get-contact.ts @@ -8,7 +8,12 @@ export default defineAction({ description: "Retrieve details of a Contact [See docs here](https://developer.infusionsoft.com/docs/rest/#operation/getContactUsingGET)", key: "infusionsoft-get-contact", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { infusionsoft, diff --git a/components/kanbanflow/actions/create-task/create-task.ts b/components/kanbanflow/actions/create-task/create-task.ts index 42281dfa91374..896c34d529b0e 100644 --- a/components/kanbanflow/actions/create-task/create-task.ts +++ b/components/kanbanflow/actions/create-task/create-task.ts @@ -10,7 +10,12 @@ export default defineAction({ name: "Create Task", description: "Create a task (docs available on board settings)", key: "kanbanflow-create-task", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", methods: { splitFlagPropValue(value: string, splitKey: string): object { @@ -112,7 +117,9 @@ export default defineAction({ try { additionalOptions = JSON.parse(this.additionalOptions); } catch (err) { - throw new ConfigurationError("Error when parsing the **additionalOptions** prop. Check if it is a valid JSON-stringified object."); + throw new ConfigurationError(`Error when parsing the **additionalOptions** prop. Check if it is a valid JSON-stringified object. + +${err.message}`); } } diff --git a/components/kanbanflow/package.json b/components/kanbanflow/package.json index ccad5fe09f011..2b7f707896245 100644 --- a/components/kanbanflow/package.json +++ b/components/kanbanflow/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/kanbanflow", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream KanbanFlow Components", "main": "dist/app/kanbanflow.app.mjs", "keywords": [ diff --git a/components/lemon_squeezy/actions/retrieve-customer/retrieve-customer.ts b/components/lemon_squeezy/actions/retrieve-customer/retrieve-customer.ts index 1bbed5046d117..df1788dd5945b 100644 --- a/components/lemon_squeezy/actions/retrieve-customer/retrieve-customer.ts +++ b/components/lemon_squeezy/actions/retrieve-customer/retrieve-customer.ts @@ -3,9 +3,14 @@ import lemonSqueezy from "../../app/lemon_squeezy.app"; export default defineAction({ name: "Retrieve A Customer", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, key: "lemon_squeezy-retrieve-customer", - description: "Retrive an existent customer. [See docs here](https://docs.lemonsqueezy.com/api/customers#retrieve-a-customer)", + description: "Retrieve an existent customer. [See docs here](https://docs.lemonsqueezy.com/api/customers#retrieve-a-customer)", type: "action", props: { lemonSqueezy, diff --git a/components/lemon_squeezy/actions/retrieve-order/retrieve-order.ts b/components/lemon_squeezy/actions/retrieve-order/retrieve-order.ts index d95041901f3a4..1ef59e01a61cb 100644 --- a/components/lemon_squeezy/actions/retrieve-order/retrieve-order.ts +++ b/components/lemon_squeezy/actions/retrieve-order/retrieve-order.ts @@ -3,9 +3,14 @@ import lemonSqueezy from "../../app/lemon_squeezy.app"; export default defineAction({ name: "Retrieve An Order", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, key: "lemon_squeezy-retrieve-order", - description: "Retrive an existent order. [See docs here](https://docs.lemonsqueezy.com/api/orders#retrieve-an-order)", + description: "Retrieve an existent order. [See docs here](https://docs.lemonsqueezy.com/api/orders#retrieve-an-order)", type: "action", props: { lemonSqueezy, diff --git a/components/lemon_squeezy/actions/retrieve-product/retrieve-product.ts b/components/lemon_squeezy/actions/retrieve-product/retrieve-product.ts index dbf7d2eda0f39..6e9aa8adf7caa 100644 --- a/components/lemon_squeezy/actions/retrieve-product/retrieve-product.ts +++ b/components/lemon_squeezy/actions/retrieve-product/retrieve-product.ts @@ -3,9 +3,14 @@ import lemonSqueezy from "../../app/lemon_squeezy.app"; export default defineAction({ name: "Retrieve A Product", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, key: "lemon_squeezy-retrieve-product", - description: "Retrive an existent product. [See docs here](https://docs.lemonsqueezy.com/api/products#retrieve-a-product)", + description: "Retrieve an existent product. [See docs here](https://docs.lemonsqueezy.com/api/products#retrieve-a-product)", type: "action", props: { lemonSqueezy, diff --git a/components/lob/actions/cancel-postcard/cancel-postcard.ts b/components/lob/actions/cancel-postcard/cancel-postcard.ts index b65f56a7423b2..e535263844633 100644 --- a/components/lob/actions/cancel-postcard/cancel-postcard.ts +++ b/components/lob/actions/cancel-postcard/cancel-postcard.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "lob-cancel-postcard", name: "Cancel Postcard", description: "Completely removes a postcard from production. This can only be done if the postcard has a `send_date` and the `send_date` has not yet passed. [See docs here](https://docs.lob.com/#tag/Postcards/operation/postcard_delete).", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { lob, diff --git a/components/lob/actions/create-letter/create-letter.ts b/components/lob/actions/create-letter/create-letter.ts index 8b8a8999b20ae..d04088881bc1b 100644 --- a/components/lob/actions/create-letter/create-letter.ts +++ b/components/lob/actions/create-letter/create-letter.ts @@ -7,7 +7,12 @@ export default defineAction({ key: "lob-create-letter", name: "Create Letter", description: "Creates a new letter. [See docs here](https://docs.lob.com/#tag/Letters/operation/letter_create).", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { lob, diff --git a/components/lob/actions/create-postcard/create-postcard.ts b/components/lob/actions/create-postcard/create-postcard.ts index 37da122a4f5d4..39543eca2b320 100644 --- a/components/lob/actions/create-postcard/create-postcard.ts +++ b/components/lob/actions/create-postcard/create-postcard.ts @@ -6,7 +6,12 @@ export default defineAction({ key: "lob-create-postcard", name: "Create Postcard", description: "Creates a new postcard given information. [See docs here](https://docs.lob.com/#tag/Postcards/operation/postcard_create).", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { lob, diff --git a/components/lob/actions/list-postcards/list-postcards.ts b/components/lob/actions/list-postcards/list-postcards.ts index 17d19d89c2778..f60675f507f62 100644 --- a/components/lob/actions/list-postcards/list-postcards.ts +++ b/components/lob/actions/list-postcards/list-postcards.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "lob-list-postcards", name: "List Postcards", description: "Returns a list of your postcards. [See docs here](https://docs.lob.com/#tag/Postcards/operation/postcards_list).", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { lob, diff --git a/components/lob/actions/retrieve-postcard/retrieve-postcard.ts b/components/lob/actions/retrieve-postcard/retrieve-postcard.ts index cfcfd243d2f52..906c524bb5158 100644 --- a/components/lob/actions/retrieve-postcard/retrieve-postcard.ts +++ b/components/lob/actions/retrieve-postcard/retrieve-postcard.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "lob-retrieve-postcard", name: "Retrieve Postcard", description: "Retrieves the details of an existing postcard. [See docs here](https://docs.lob.com/#tag/Postcards/operation/postcard_retrieve).", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { lob, diff --git a/components/mailbluster/actions/create-lead/create-lead.ts b/components/mailbluster/actions/create-lead/create-lead.ts index c7a90e9adbbce..ae43976093277 100644 --- a/components/mailbluster/actions/create-lead/create-lead.ts +++ b/components/mailbluster/actions/create-lead/create-lead.ts @@ -5,7 +5,12 @@ export default { name: "Create New Lead", description: "Create a new lead. [See the documentation](https://app.mailbluster.com/api-doc/leads)", type: "action", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, props: { mailbluster, email: { diff --git a/components/mailbluster/actions/create-new-order/create-new-order.ts b/components/mailbluster/actions/create-new-order/create-new-order.ts index a5d8c586625f4..36d2371376deb 100644 --- a/components/mailbluster/actions/create-new-order/create-new-order.ts +++ b/components/mailbluster/actions/create-new-order/create-new-order.ts @@ -5,7 +5,12 @@ export default { name: "Create New Order", description: "Create a new order. [See the documentation](https://app.mailbluster.com/api-doc/orders)", type: "action", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, props: { mailbluster, id: { diff --git a/components/mailbluster/actions/create-product/create-product.ts b/components/mailbluster/actions/create-product/create-product.ts index bd597f9a23c18..aa4355745d9e6 100644 --- a/components/mailbluster/actions/create-product/create-product.ts +++ b/components/mailbluster/actions/create-product/create-product.ts @@ -5,7 +5,12 @@ export default { name: "Create New Product", description: "Create a new product. [See the documentation](https://app.mailbluster.com/api-doc/products)", type: "action", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, props: { mailbluster, id: { diff --git a/components/mailbluster/actions/get-lead/get-lead.ts b/components/mailbluster/actions/get-lead/get-lead.ts index 183ecc155be19..d7852270501d1 100644 --- a/components/mailbluster/actions/get-lead/get-lead.ts +++ b/components/mailbluster/actions/get-lead/get-lead.ts @@ -6,7 +6,12 @@ export default { name: "Get Lead", description: "Get a specific lead. [See the documentation](https://app.mailbluster.com/api-doc/leads/read)", type: "action", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, props: { mailbluster, email: { diff --git a/components/mailbluster/actions/get-product/get-product.ts b/components/mailbluster/actions/get-product/get-product.ts index e0517df3c60f2..7eeca51d28df2 100644 --- a/components/mailbluster/actions/get-product/get-product.ts +++ b/components/mailbluster/actions/get-product/get-product.ts @@ -5,7 +5,12 @@ export default { name: "Get Product", description: "Get a specific product. [See the documentation](https://app.mailbluster.com/api-doc/products/read)", type: "action", - version: "0.0.2", + version: "0.0.3", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, props: { mailbluster, productId: { diff --git a/components/mailboxvalidator/actions/validate-email/validate-email.ts b/components/mailboxvalidator/actions/validate-email/validate-email.ts index aa497400fca86..28a4c850f45d1 100644 --- a/components/mailboxvalidator/actions/validate-email/validate-email.ts +++ b/components/mailboxvalidator/actions/validate-email/validate-email.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Validate an email address [See docs here](https://www.mailboxvalidator.com/api-single-validation)", key: "mailboxvalidator-validate-email", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { mailboxvalidator, diff --git a/components/mattermost/actions/post-message/post-message.ts b/components/mattermost/actions/post-message/post-message.ts index 8fa10efd8927f..096d93398bc3d 100644 --- a/components/mattermost/actions/post-message/post-message.ts +++ b/components/mattermost/actions/post-message/post-message.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Create a new post in a channel [See docs here](https://api.mattermost.com/#tag/posts/operation/CreatePost)", key: "mattermost-post-message", - version: "0.0.3", + version: "0.0.4", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { mattermost, diff --git a/components/namely/actions/create-user/create-user.ts b/components/namely/actions/create-user/create-user.ts index 772d835b8251d..3328fe03997ca 100644 --- a/components/namely/actions/create-user/create-user.ts +++ b/components/namely/actions/create-user/create-user.ts @@ -1,10 +1,17 @@ -import { defineAction } from "@pipedream/types"; +import { + defineAction, JSONValue, +} from "@pipedream/types"; import dayjs from "dayjs"; import namely from "../../app/namely.app"; export default defineAction({ key: "namely-create-user", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, name: "Create User", description: "Creates a new user. [See docs here](https://developers.namely.com/docs/namely-api/28db3994d16fe-create-a-user)", type: "action", @@ -57,7 +64,7 @@ export default defineAction({ }, async run({ $ }) { - const body: any = { + const body: Record = { first_name: this.firstName, last_name: this.lastName, user_status: this.userStatus, diff --git a/components/namely/actions/get-user/get-user.ts b/components/namely/actions/get-user/get-user.ts index bb3dda4beada4..0b11f996afb02 100644 --- a/components/namely/actions/get-user/get-user.ts +++ b/components/namely/actions/get-user/get-user.ts @@ -3,7 +3,12 @@ import namely from "../../app/namely.app"; export default defineAction({ key: "namely-get-user", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, name: "Get User", description: "Get a user. [See docs here](https://developers.namely.com/docs/namely-api/1c7f311bfa8e8-get-a-profile)", type: "action", diff --git a/components/namely/actions/update-user/update-user.ts b/components/namely/actions/update-user/update-user.ts index e8bd3c3f479bb..c9bba70529e49 100644 --- a/components/namely/actions/update-user/update-user.ts +++ b/components/namely/actions/update-user/update-user.ts @@ -1,10 +1,17 @@ -import { defineAction } from "@pipedream/types"; +import { + defineAction, JSONValue, +} from "@pipedream/types"; import dayjs from "dayjs"; import namely from "../../app/namely.app"; export default defineAction({ key: "namely-update-user", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: true, + openWorldHint: true, + readOnlyHint: false, + }, name: "Update User", description: "Updates a user. [See docs here](https://developers.namely.com/docs/namely-api/2bfe77e091d74-update-a-profile)", type: "action", @@ -68,7 +75,7 @@ export default defineAction({ }, async run({ $ }) { - const body: any = { + const body: Record = { first_name: this.firstName, last_name: this.lastName, user_status: this.userStatus, diff --git a/components/namely/package.json b/components/namely/package.json index 2375c88e8bbee..782f61d0e8205 100644 --- a/components/namely/package.json +++ b/components/namely/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/namely", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Namely Components", "main": "dist/app/namely.app.mjs", "keywords": [ diff --git a/components/nectar_crm/actions/create-appointment/create-appointment.ts b/components/nectar_crm/actions/create-appointment/create-appointment.ts index 09c6cf4202125..11197fa02ca52 100644 --- a/components/nectar_crm/actions/create-appointment/create-appointment.ts +++ b/components/nectar_crm/actions/create-appointment/create-appointment.ts @@ -5,7 +5,12 @@ export default defineAction({ key: "nectar_crm-create-appointment", name: "Create Appointment", description: "Created a new appointment. [See docs here](https://nectarcrm.docs.apiary.io/#reference/0/compromissos/criar)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { nectar_crm, diff --git a/components/nectar_crm/actions/create-contact/create-contact.ts b/components/nectar_crm/actions/create-contact/create-contact.ts index 23a4cf8341cc9..d65aa53e2b601 100644 --- a/components/nectar_crm/actions/create-contact/create-contact.ts +++ b/components/nectar_crm/actions/create-contact/create-contact.ts @@ -6,7 +6,12 @@ export default defineAction({ key: "nectar_crm-create-contact", name: "Create Contact", description: "Created a new contact. [See docs here](https://nectarcrm.docs.apiary.io/#reference/0/contatos/criar)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { nectar_crm, diff --git a/components/nectar_crm/actions/create-sale-opportunity/create-sale-opportunity.ts b/components/nectar_crm/actions/create-sale-opportunity/create-sale-opportunity.ts index 2f690260b736d..54529b8b9bab2 100644 --- a/components/nectar_crm/actions/create-sale-opportunity/create-sale-opportunity.ts +++ b/components/nectar_crm/actions/create-sale-opportunity/create-sale-opportunity.ts @@ -1,12 +1,16 @@ import { defineAction } from "@pipedream/types"; import nectar_crm from "../../app/nectar_crm.app"; -import constants from "../common/constants"; export default defineAction({ key: "nectar_crm-create-sale-opportunity", name: "Create Sale Opportunity", description: "Created a sale opportunity. [See docs here](https://nectarcrm.docs.apiary.io/#reference/0/oportunidades/criar)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { nectar_crm, diff --git a/components/nectar_crm/actions/create-task/create-task.ts b/components/nectar_crm/actions/create-task/create-task.ts index 50676d5548ae0..36b488fffbebb 100644 --- a/components/nectar_crm/actions/create-task/create-task.ts +++ b/components/nectar_crm/actions/create-task/create-task.ts @@ -6,7 +6,12 @@ export default defineAction({ key: "nectar_crm-create-task", name: "Create Task", description: "Created a new task. [See docs here](https://nectarcrm.docs.apiary.io/#reference/0/tarefas/criar)", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: false, + }, type: "action", props: { nectar_crm, diff --git a/components/nectar_crm/package.json b/components/nectar_crm/package.json index 2942466a53752..1d11440be5533 100644 --- a/components/nectar_crm/package.json +++ b/components/nectar_crm/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/nectar_crm", - "version": "0.0.5", + "version": "0.0.6", "description": "Pipedream Nectar CRM Components", "main": "dist/app/nectar_crm.app.mjs", "keywords": [ diff --git a/components/neverbounce/actions/verify-email-address/verify-email-address.ts b/components/neverbounce/actions/verify-email-address/verify-email-address.ts index 9d262f41eeb71..a97575d0d2b57 100644 --- a/components/neverbounce/actions/verify-email-address/verify-email-address.ts +++ b/components/neverbounce/actions/verify-email-address/verify-email-address.ts @@ -9,7 +9,12 @@ export default defineAction({ description: "Verify an email address [See docs here](https://developers.neverbounce.com/docs/verifying-an-email)", key: "neverbounce-verify-email-address", - version: "0.0.1", + version: "0.0.2", + annotations: { + destructiveHint: false, + openWorldHint: true, + readOnlyHint: true, + }, type: "action", props: { neverbounce, diff --git a/components/verdict_as_a_service/actions/request-verdict-for-file/request-verdict-for-file.ts b/components/verdict_as_a_service/actions/request-verdict-for-file/request-verdict-for-file.ts index 6742c35f947c1..063ac3bd66f00 100644 --- a/components/verdict_as_a_service/actions/request-verdict-for-file/request-verdict-for-file.ts +++ b/components/verdict_as_a_service/actions/request-verdict-for-file/request-verdict-for-file.ts @@ -5,7 +5,7 @@ export default defineAction({ name: "Request Verdict For A File", description: "Scans a file for malware and other threats. [See the docs here](https://github.com/GDATASoftwareAG/vaas/tree/main/typescript#request-a-verdict)", key: "verdict_as_a_service-request-verdict-for-file", - version: "0.0.2", + version: "0.0.3", annotations: { destructiveHint: false, openWorldHint: true, diff --git a/components/verdict_as_a_service/app/verdict_as_a_service.app.ts b/components/verdict_as_a_service/app/verdict_as_a_service.app.ts index 85472486d837f..d77dd6bc78d26 100644 --- a/components/verdict_as_a_service/app/verdict_as_a_service.app.ts +++ b/components/verdict_as_a_service/app/verdict_as_a_service.app.ts @@ -3,8 +3,8 @@ import { open } from "fs/promises"; import { defineApp } from "@pipedream/types"; import { Vaas, - CreateVaasWithClientCredentialsGrant as createVaas, VAAS_URL, + ClientCredentialsGrantAuthenticator, } from "gdata-vaas"; export default defineApp({ @@ -18,14 +18,22 @@ export default defineApp({ }, }, methods: { - getClient() { + async getClient() { const { client_id: clientId, client_secret: secret, token_url: tokenUrl, vaas_url: url = VAAS_URL, } = this.$auth; - return createVaas(clientId, secret, tokenUrl, url); + const authenticator = new ClientCredentialsGrantAuthenticator( + clientId, + secret, + tokenUrl, + ); + const token = await authenticator.getToken(); + const vaas = new Vaas(); + await vaas.connect(token, url); + return vaas; }, async requestVerdictForFile(file: PathLike) { const client: Vaas = await this.getClient(); diff --git a/components/verdict_as_a_service/package.json b/components/verdict_as_a_service/package.json index a10529bf78664..a0482a498212d 100644 --- a/components/verdict_as_a_service/package.json +++ b/components/verdict_as_a_service/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/verdict_as_a_service", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Verdict as a Service Components", "main": "dist/app/verdict_as_a_service.app.mjs", "keywords": [ @@ -16,9 +16,9 @@ "access": "public" }, "dependencies": { - "gdata-vaas": "^2.2.7" + "gdata-vaas": "^7.7.3" }, "devDependencies": { - "@pipedream/types": "^0.1.4" + "@pipedream/types": "^0.3.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2af094a37cb1e..dbaa302acec65 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1924,8 +1924,7 @@ importers: components/braintree: {} - components/brandblast: - specifiers: {} + components/brandblast: {} components/brandfetch: {} @@ -15325,12 +15324,12 @@ importers: components/verdict_as_a_service: dependencies: gdata-vaas: - specifier: ^2.2.7 - version: 2.4.1 + specifier: ^7.7.3 + version: 7.7.3 devDependencies: '@pipedream/types': - specifier: ^0.1.4 - version: 0.1.6 + specifier: ^0.3.4 + version: 0.3.4 components/verifalia: dependencies: @@ -18442,6 +18441,11 @@ packages: peerDependencies: postcss-selector-parser: ^6.1.0 + '@d-fischer/isomorphic-ws@7.0.2': + resolution: {integrity: sha512-xK+qIJUF0ne3dsjq5Y3BviQ4M+gx9dzkN+dPP7abBMje4YRfow+X9jBgeEoTe5e+Q6+8hI9R0b37Okkk8Vf0hQ==} + peerDependencies: + ws: ^8.2.0 + '@dabh/diagnostics@2.0.3': resolution: {integrity: sha512-hrlQOIi7hAfzsMqlGSFyVucrx38O+j6wiGOf//H2ecvIEqYN4ADBSS2iLMh5UFyDunCNniUIPk/q3riFv45xRA==} @@ -20455,6 +20459,9 @@ packages: '@pipedream/types@0.3.2': resolution: {integrity: sha512-sX4UUdEbgCs7JkvyWPLqdtiJkGJ8ishKfo/V4CjH7AhTRuI0oStspphUJI+rj8jqp8nCviw+ba0mRGWlCk+iZQ==} + '@pipedream/types@0.3.4': + resolution: {integrity: sha512-VR7yqai7ADg5gvlSF2vfcTZjostxiHcFAwpRnAyJOZWGxzIwfzYI/DM17M9+p2WxpNqC7JDWkmLWuAoYRKXXVg==} + '@pipedream/youtube_data_api@1.0.1': resolution: {integrity: sha512-yEh7+PJgzuOY+L8rWjxgb6vIQf+6wL7QyfQLEQ3KTn6dnDdhTTO8+93og7W83FhgmOd1lhUG2jfrmfuSFqHKpg==} @@ -22817,6 +22824,9 @@ packages: '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/uuid@10.0.0': + resolution: {integrity: sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==} + '@types/uuid@8.3.4': resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} @@ -22829,12 +22839,12 @@ packages: '@types/whatwg-url@8.2.2': resolution: {integrity: sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==} + '@types/ws@8.18.1': + resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} + '@types/ws@8.5.13': resolution: {integrity: sha512-osM/gWBTPKgHV8XkTunnegTRIsvF6owmf5w+JtAfOw472dptdm0dlGv4xCt6GwQRcC2XVOvvRE/0bAoQcL2QkA==} - '@types/ws@8.5.3': - resolution: {integrity: sha512-6YOoWjruKj1uLf3INHH7D3qTXwFfEsg1kf3c0uDdSBJwfa/llkwIjrAGV7j7mVgGNbzTQ3HiHKKDXl6bJPD97w==} - '@types/yargs-parser@21.0.3': resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} @@ -26161,8 +26171,8 @@ packages: resolution: {integrity: sha512-3PfRTzvT3Msu0Hy8Gf9ypxJvaClG2IB9pyH0r8QOmRBW5mUcrHgYpF4GYP+XulDbfhxEhBYtJtJJQb5S2wM+LA==} engines: {node: '>=18'} - gdata-vaas@2.4.1: - resolution: {integrity: sha512-G7Rn3jJ1QtMfr4fxtJ9ZwA2UikE1CAd9fAjc/HxeELJ+FwtqiTORSFdyE7boZsyCYzp5PcQ/69W8zSvz8xytUg==} + gdata-vaas@7.7.3: + resolution: {integrity: sha512-nTXLFPKQKxnce/b4rwF4j3LVaDuNqZnd9U4slJQOEt1G2lQ+oOVRNf3mrn6Od4/slg/GdujadCWdBYI7SfiaXw==} generate-function@2.3.1: resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} @@ -31829,8 +31839,8 @@ packages: typescript: optional: true - typescript-json-serializer@3.4.5: - resolution: {integrity: sha512-KWsDGa1vddY3alUIzE9oBo6AfVzVXQCCHm9ATF4oiGAoTHTTIV0IBGSRAu2uiJHrpPC/n7fxnnAagOhLQZyTcg==} + typescript-json-serializer@6.0.1: + resolution: {integrity: sha512-95UQOeV3V+WIx5+7dBZd6/pN+cQSsGXxIdDvPmYhkHYH6VrIgQ3DK+IM3ixKVjFwvch8LnWhIY3F/Zhp4bNfSA==} typescript@3.9.10: resolution: {integrity: sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==} @@ -32633,18 +32643,6 @@ packages: utf-8-validate: optional: true - ws@8.7.0: - resolution: {integrity: sha512-c2gsP0PRwcLFzUiA8Mkr37/MI7ilIlHQxaEAtd0uNMbVMoy8puJyafRlm0bV9MbGSabUPeLrRRaqIBcFcA2Pqg==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - xdg-basedir@5.1.0: resolution: {integrity: sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==} engines: {node: '>=12'} @@ -36736,6 +36734,10 @@ snapshots: dependencies: postcss-selector-parser: 6.1.2 + '@d-fischer/isomorphic-ws@7.0.2(ws@8.18.3)': + dependencies: + ws: 8.18.3 + '@dabh/diagnostics@2.0.3': dependencies: colorspace: 1.1.4 @@ -37676,7 +37678,7 @@ snapshots: '@httptoolkit/websocket-stream@6.0.1': dependencies: - '@types/ws': 8.5.13 + '@types/ws': 8.18.1 duplexify: 3.7.1 inherits: 2.0.4 isomorphic-ws: 4.0.1(ws@8.18.3) @@ -39357,6 +39359,10 @@ snapshots: dependencies: typescript: 5.6.3 + '@pipedream/types@0.3.4': + dependencies: + typescript: 5.6.3 + '@pipedream/youtube_data_api@1.0.1': dependencies: '@googleapis/youtube': 6.0.0 @@ -42238,6 +42244,8 @@ snapshots: '@types/unist@3.0.3': {} + '@types/uuid@10.0.0': {} + '@types/uuid@8.3.4': {} '@types/uuid@9.0.8': {} @@ -42249,11 +42257,11 @@ snapshots: '@types/node': 20.17.30 '@types/webidl-conversions': 7.0.3 - '@types/ws@8.5.13': + '@types/ws@8.18.1': dependencies: '@types/node': 20.17.30 - '@types/ws@8.5.3': + '@types/ws@8.5.13': dependencies: '@types/node': 20.17.30 @@ -46471,17 +46479,17 @@ snapshots: transitivePeerDependencies: - supports-color - gdata-vaas@2.4.1: + gdata-vaas@7.7.3: dependencies: - '@types/uuid': 8.3.4 - '@types/ws': 8.5.3 + '@d-fischer/isomorphic-ws': 7.0.2(ws@8.18.3) + '@types/uuid': 10.0.0 + '@types/ws': 8.18.1 '@ungap/url-search-params': 0.2.2 - axios: 0.27.2 + axios: 1.11.0(debug@3.2.7) fast-sha256: 1.3.0 - isomorphic-ws: 4.0.1(ws@8.7.0) - typescript-json-serializer: 3.4.5 - uuid: 8.3.2 - ws: 8.7.0 + typescript-json-serializer: 6.0.1 + uuid: 11.1.0 + ws: 8.18.3 transitivePeerDependencies: - bufferutil - debug @@ -47897,10 +47905,6 @@ snapshots: dependencies: ws: 8.18.3 - isomorphic-ws@4.0.1(ws@8.7.0): - dependencies: - ws: 8.7.0 - isows@1.0.7(ws@8.18.3): dependencies: ws: 8.18.3 @@ -54278,7 +54282,7 @@ snapshots: transitivePeerDependencies: - supports-color - typescript-json-serializer@3.4.5: + typescript-json-serializer@6.0.1: dependencies: reflect-metadata: 0.1.14 tslib: 2.8.1 @@ -55037,8 +55041,6 @@ snapshots: ws@8.18.3: {} - ws@8.7.0: {} - xdg-basedir@5.1.0: {} xml-js@1.6.11: