From 30eef06fb0660f0349182491014f329256f2f459 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:11:07 -0300 Subject: [PATCH 01/31] airtable --- components/airtable/package.json | 6 +++--- .../new-modified-or-deleted-records.mjs | 8 ++++---- .../new-or-modified-records-in-view.mjs | 6 +++--- .../new-or-modified-records/new-or-modified-records.mjs | 6 +++--- .../sources/new-records-in-view/new-records-in-view.mjs | 6 +++--- components/airtable/sources/new-records/new-records.mjs | 6 +++--- 6 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/airtable/package.json b/components/airtable/package.json index 2f0ff04e133a9..053e715db6b43 100644 --- a/components/airtable/package.json +++ b/components/airtable/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/airtable", - "version": "0.3.6", + "version": "0.4.0", "description": "Pipedream Airtable Components", "main": "airtable.app.mjs", "keywords": [ @@ -15,11 +15,11 @@ }, "dependencies": { "airtable": "^0.11.1", - "axios": "^0.21.1", "bottleneck": "^2.19.5", "lodash": "^4.17.21", "lodash.chunk": "^4.2.0", "lodash.isempty": "^4.4.0", - "moment": "^2.29.1" + "moment": "^2.29.1", + "@pipedream/platform": "^1.4.0" } } diff --git a/components/airtable/sources/new-modified-or-deleted-records/new-modified-or-deleted-records.mjs b/components/airtable/sources/new-modified-or-deleted-records/new-modified-or-deleted-records.mjs index 41f4c3b2e4f0f..cc042f07df019 100644 --- a/components/airtable/sources/new-modified-or-deleted-records/new-modified-or-deleted-records.mjs +++ b/components/airtable/sources/new-modified-or-deleted-records/new-modified-or-deleted-records.mjs @@ -1,5 +1,5 @@ import moment from "moment"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import Bottleneck from "bottleneck"; import common from "../common.mjs"; @@ -13,7 +13,7 @@ export default { ...common, name: "New, Modified or Deleted Records", key: "airtable-new-modified-or-deleted-records", - version: "0.1.1", + version: "0.2.0", type: "source", description: "Emits an event each time a record is added, updated, or deleted in an Airtable table. Supports tables up to 10,000 records", @@ -55,7 +55,7 @@ export default { const lastTimestamp = this.db.get("lastTimestamp"); config.params.filterByFormula = `LAST_MODIFIED_TIME() > "${lastTimestamp}"`; - const { data } = await axios(config); + const data = await axios(this, config); let allRecordIds = [], newRecordsCount = 0, @@ -84,7 +84,7 @@ export default { delete config.params.filterByFormula; while (allRecordIds.length === 0 || config.params.offset) { - const { data } = await axiosRateLimiter(config); + const data = await axiosRateLimiter(this, config); if (!data.records.length || data.records.length === 0) return; allRecordIds = [ ...allRecordIds, diff --git a/components/airtable/sources/new-or-modified-records-in-view/new-or-modified-records-in-view.mjs b/components/airtable/sources/new-or-modified-records-in-view/new-or-modified-records-in-view.mjs index 12f00e260b400..e30525abb0226 100644 --- a/components/airtable/sources/new-or-modified-records-in-view/new-or-modified-records-in-view.mjs +++ b/components/airtable/sources/new-or-modified-records-in-view/new-or-modified-records-in-view.mjs @@ -1,5 +1,5 @@ import moment from "moment"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import common from "../common.mjs"; @@ -8,7 +8,7 @@ export default { name: "New or Modified Records in View", description: "Emit an event for each new or modified record in a view", key: "airtable-new-or-modified-records-in-view", - version: "0.1.1", + version: "0.2.0", type: "source", props: { ...common.props, @@ -54,7 +54,7 @@ export default { const lastTimestamp = this.db.get("lastTimestamp"); config.params.filterByFormula = `LAST_MODIFIED_TIME() > "${lastTimestamp}"`; - const { data } = await axios(config); + const data = await axios(this, config); if (!data.records.length) { console.log("No new or modified records."); diff --git a/components/airtable/sources/new-or-modified-records/new-or-modified-records.mjs b/components/airtable/sources/new-or-modified-records/new-or-modified-records.mjs index 015c6e6b01f29..921d336c83bdb 100644 --- a/components/airtable/sources/new-or-modified-records/new-or-modified-records.mjs +++ b/components/airtable/sources/new-or-modified-records/new-or-modified-records.mjs @@ -1,5 +1,5 @@ import moment from "moment"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import common from "../common.mjs"; @@ -8,7 +8,7 @@ export default { name: "New or Modified Records", key: "airtable-new-or-modified-records", description: "Emit an event for each new or modified record in a table", - version: "0.1.1", + version: "0.2.0", type: "source", props: { ...common.props, @@ -40,7 +40,7 @@ export default { const lastTimestamp = this.db.get("lastTimestamp"); config.params.filterByFormula = `LAST_MODIFIED_TIME() > "${lastTimestamp}"`; - const { data } = await axios(config); + const data = await axios(this, config); if (!data.records.length) { console.log("No new or modified records."); diff --git a/components/airtable/sources/new-records-in-view/new-records-in-view.mjs b/components/airtable/sources/new-records-in-view/new-records-in-view.mjs index 27ef7bbd7aa8d..0b060adc27614 100644 --- a/components/airtable/sources/new-records-in-view/new-records-in-view.mjs +++ b/components/airtable/sources/new-records-in-view/new-records-in-view.mjs @@ -1,5 +1,5 @@ import moment from "moment"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import common from "../common.mjs"; @@ -8,7 +8,7 @@ export default { name: "New Records in View", description: "Emit an event for each new record in a view", key: "airtable-new-records-in-view", - version: "0.1.1", + version: "0.2.0", type: "source", props: { ...common.props, @@ -54,7 +54,7 @@ export default { const lastTimestamp = this.db.get("lastTimestamp"); config.params.filterByFormula = `CREATED_TIME() > "${lastTimestamp}"`; - const { data } = await axios(config); + const data = await axios(this, config); if (!data.records.length) { console.log("No new records."); diff --git a/components/airtable/sources/new-records/new-records.mjs b/components/airtable/sources/new-records/new-records.mjs index 1e8baefcd7409..b3c28ddfa36f2 100644 --- a/components/airtable/sources/new-records/new-records.mjs +++ b/components/airtable/sources/new-records/new-records.mjs @@ -1,5 +1,5 @@ import moment from "moment"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import common from "../common.mjs"; @@ -8,7 +8,7 @@ export default { name: "New Records", description: "Emit an event for each new record in a table", key: "airtable-new-records", - version: "0.1.1", + version: "0.2.0", type: "source", props: { ...common.props, @@ -40,7 +40,7 @@ export default { const lastTimestamp = this.db.get("lastTimestamp"); config.params.filterByFormula = `CREATED_TIME() > "${lastTimestamp}"`; - const { data } = await axios(config); + const data = await axios(this, config); if (!data.records.length) { console.log("No new records."); From 73ecdad5c07839b08b583eb712a09d9419d5c9db Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:34:20 -0300 Subject: [PATCH 02/31] aws --- components/aws/common/common-s3.mjs | 6 ++++-- components/aws/package.json | 4 ++-- components/aws/sources/common/sns.mjs | 6 ++++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/components/aws/common/common-s3.mjs b/components/aws/common/common-s3.mjs index 2d6507ae97a46..1eb331472e0a0 100644 --- a/components/aws/common/common-s3.mjs +++ b/components/aws/common/common-s3.mjs @@ -9,7 +9,7 @@ import { GetBucketNotificationConfigurationCommand, PutBucketNotificationConfigurationCommand, } from "@aws-sdk/client-s3"; -import axios from "axios"; // need axios response headers +import { axios } from "@pipedream/platform"; export default { props: { @@ -84,8 +84,10 @@ export default { return this._clientS3().send(new PutObjectCommand(params)); }, async streamFile(fileUrl) { - return axios.get(fileUrl, { + return axios(this, { + url: fileUrl, responseType: "stream", + returnFullResponse: true, }); }, async getBucketNotificationConfiguration(params) { diff --git a/components/aws/package.json b/components/aws/package.json index 2d7692ec51b92..314d88b0ec25f 100644 --- a/components/aws/package.json +++ b/components/aws/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/aws", - "version": "0.3.9", + "version": "0.4.0", "description": "Pipedream Aws Components", "main": "aws.app.js", "keywords": [ @@ -25,7 +25,7 @@ "@aws-sdk/client-ssm": "^3.58.0", "@aws-sdk/client-sts": "^3.58.0", "@pipedream/helper_functions": "^0.3.6", - "@pipedream/platform": "^1.2.0", + "@pipedream/platform": "^1.4.0", "mailparser-mit": "^1.0.0" }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", diff --git a/components/aws/sources/common/sns.mjs b/components/aws/sources/common/sns.mjs index e04732f989fa8..4eb3280849180 100644 --- a/components/aws/sources/common/sns.mjs +++ b/components/aws/sources/common/sns.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import common from "../../common/common-sns.mjs"; export default { @@ -80,7 +80,9 @@ export default { TopicArn: topicArn, }) { console.log(`Confirming subscription to SNS topic '${topicArn}'`); - const { data } = await axios.get(callbackUrl); + const data = await axios(this, { + url: callbackUrl, + }); const subscriptionArn = data .ConfirmSubscriptionResponse .ConfirmSubscriptionResult From fd3b20c39cabf993a62c9842bd52766c3212b084 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:52:23 -0300 Subject: [PATCH 03/31] aws --- components/aws/actions/s3-stream-file/s3-stream-file.mjs | 2 +- .../aws/actions/s3-upload-file-tmp/s3-upload-file-tmp.mjs | 2 +- .../aws/actions/s3-upload-file-url/s3-upload-file-url.mjs | 2 +- components/aws/actions/s3-upload-file/s3-upload-file.mjs | 2 +- .../new-emails-sent-to-ses-catch-all-domain.mjs | 2 +- .../aws/sources/new-scheduled-tasks/new-scheduled-tasks.mjs | 2 +- components/aws/sources/new-sns-messages/new-sns-messages.mjs | 2 +- components/aws/sources/s3-deleted-file/s3-deleted-file.mjs | 2 +- components/aws/sources/s3-new-event/s3-new-event.mjs | 2 +- components/aws/sources/s3-new-file/s3-new-file.mjs | 2 +- components/aws/sources/s3-restored-file/s3-restored-file.mjs | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/components/aws/actions/s3-stream-file/s3-stream-file.mjs b/components/aws/actions/s3-stream-file/s3-stream-file.mjs index a10dff7fd0ed2..0071d623e35a8 100644 --- a/components/aws/actions/s3-stream-file/s3-stream-file.mjs +++ b/components/aws/actions/s3-stream-file/s3-stream-file.mjs @@ -10,7 +10,7 @@ export default { Accepts a file URL, and streams the file to the provided S3 bucket/key. [See the docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) `), - version: "0.3.1", + version: "0.4.0", type: "action", props: { aws: common.props.aws, diff --git a/components/aws/actions/s3-upload-file-tmp/s3-upload-file-tmp.mjs b/components/aws/actions/s3-upload-file-tmp/s3-upload-file-tmp.mjs index 3ec046c4024c2..d789342180019 100644 --- a/components/aws/actions/s3-upload-file-tmp/s3-upload-file-tmp.mjs +++ b/components/aws/actions/s3-upload-file-tmp/s3-upload-file-tmp.mjs @@ -10,7 +10,7 @@ export default { Accepts a file path starting from /tmp, then uploads as a file to S3. [See the docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) `), - version: "0.0.1", + version: "0.1.0", type: "action", props: { aws: common.props.aws, diff --git a/components/aws/actions/s3-upload-file-url/s3-upload-file-url.mjs b/components/aws/actions/s3-upload-file-url/s3-upload-file-url.mjs index 5a2c2888d0d15..fc779c59932c0 100644 --- a/components/aws/actions/s3-upload-file-url/s3-upload-file-url.mjs +++ b/components/aws/actions/s3-upload-file-url/s3-upload-file-url.mjs @@ -14,7 +14,7 @@ export default { Accepts a download link and a filename, downloads it, then uploads to S3. [See the docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) `), - version: "0.0.1", + version: "0.1.0", type: "action", props: { aws: common.props.aws, diff --git a/components/aws/actions/s3-upload-file/s3-upload-file.mjs b/components/aws/actions/s3-upload-file/s3-upload-file.mjs index 6d8fbf6395dd3..ac166c31db0d8 100644 --- a/components/aws/actions/s3-upload-file/s3-upload-file.mjs +++ b/components/aws/actions/s3-upload-file/s3-upload-file.mjs @@ -9,7 +9,7 @@ export default { Accepts a base64-encoded string and a filename, then uploads as a file to S3. [See the docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/upload-objects.html) `), - version: "0.2.1", + version: "0.3.0", type: "action", props: { aws: common.props.aws, diff --git a/components/aws/sources/new-emails-sent-to-ses-catch-all-domain/new-emails-sent-to-ses-catch-all-domain.mjs b/components/aws/sources/new-emails-sent-to-ses-catch-all-domain/new-emails-sent-to-ses-catch-all-domain.mjs index 2ed8bcc3ff757..38cb603492844 100644 --- a/components/aws/sources/new-emails-sent-to-ses-catch-all-domain/new-emails-sent-to-ses-catch-all-domain.mjs +++ b/components/aws/sources/new-emails-sent-to-ses-catch-all-domain/new-emails-sent-to-ses-catch-all-domain.mjs @@ -16,7 +16,7 @@ export default { These events can trigger a Pipedream workflow and can be consumed via SSE or REST API. `), type: "source", - version: "1.1.1", + version: "1.2.0", props: { ...base.props, domain: { diff --git a/components/aws/sources/new-scheduled-tasks/new-scheduled-tasks.mjs b/components/aws/sources/new-scheduled-tasks/new-scheduled-tasks.mjs index 052c1b6b98ae5..eda7628da8642 100644 --- a/components/aws/sources/new-scheduled-tasks/new-scheduled-tasks.mjs +++ b/components/aws/sources/new-scheduled-tasks/new-scheduled-tasks.mjs @@ -10,7 +10,7 @@ export default { to an SNS topic at a specific timestamp. The SNS topic delivers the message to this Pipedream source, and the source emits it as a new event. `), - version: "0.3.0", + version: "0.4.0", type: "source", dedupe: "unique", // Dedupe on SNS message ID methods: { diff --git a/components/aws/sources/new-sns-messages/new-sns-messages.mjs b/components/aws/sources/new-sns-messages/new-sns-messages.mjs index a27216f7d326e..b58f56bb22ce8 100644 --- a/components/aws/sources/new-sns-messages/new-sns-messages.mjs +++ b/components/aws/sources/new-sns-messages/new-sns-messages.mjs @@ -9,7 +9,7 @@ export default { Creates an SNS topic in your AWS account. Messages published to this topic are emitted from the Pipedream source. `), - version: "0.3.0", + version: "0.4.0", type: "source", dedupe: "unique", // Dedupe on SNS message ID props: { diff --git a/components/aws/sources/s3-deleted-file/s3-deleted-file.mjs b/components/aws/sources/s3-deleted-file/s3-deleted-file.mjs index 1b5ea668763a5..9083ce475d7db 100644 --- a/components/aws/sources/s3-deleted-file/s3-deleted-file.mjs +++ b/components/aws/sources/s3-deleted-file/s3-deleted-file.mjs @@ -6,7 +6,7 @@ export default { key: "aws-s3-deleted-file", name: "New Deleted S3 File", description: "Emit new event when a file is deleted from a S3 bucket", - version: "0.0.1", + version: "0.1.0", dedupe: "unique", props: { ...base.props, diff --git a/components/aws/sources/s3-new-event/s3-new-event.mjs b/components/aws/sources/s3-new-event/s3-new-event.mjs index f1ec421336c92..e2ade61cd66f1 100644 --- a/components/aws/sources/s3-new-event/s3-new-event.mjs +++ b/components/aws/sources/s3-new-event/s3-new-event.mjs @@ -6,7 +6,7 @@ export default { key: "aws-s3-new-event", name: "New S3 Event", description: "Emit new S3 events for a given bucket", - version: "0.0.1", + version: "0.1.0", dedupe: "unique", props: { ...base.props, diff --git a/components/aws/sources/s3-new-file/s3-new-file.mjs b/components/aws/sources/s3-new-file/s3-new-file.mjs index 165b1cd0aa0ca..4c4024b403979 100644 --- a/components/aws/sources/s3-new-file/s3-new-file.mjs +++ b/components/aws/sources/s3-new-file/s3-new-file.mjs @@ -6,7 +6,7 @@ export default { key: "aws-s3-new-file", name: "New S3 File", description: "Emit new event when a file is added to an S3 bucket", - version: "0.0.1", + version: "0.1.0", dedupe: "unique", methods: { ...base.methods, diff --git a/components/aws/sources/s3-restored-file/s3-restored-file.mjs b/components/aws/sources/s3-restored-file/s3-restored-file.mjs index b6e52565dd681..176bf1da26d9c 100644 --- a/components/aws/sources/s3-restored-file/s3-restored-file.mjs +++ b/components/aws/sources/s3-restored-file/s3-restored-file.mjs @@ -6,7 +6,7 @@ export default { key: "aws-s3-restored-file", name: "New Restored S3 File", description: "Emit new event when an file is restored into a S3 bucket", - version: "0.0.1", + version: "0.1.0", dedupe: "unique", props: { ...base.props, From 2183fd3bfd9f7c080406dcf9085a56a4af809a21 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:55:39 -0300 Subject: [PATCH 04/31] brex --- .../brex/actions/create-card/create-card.mjs | 2 +- .../brex/actions/invite-user/invite-user.mjs | 2 +- ...t-transactions-for-primary-card-account.mjs | 2 +- ...-transactions-for-selected-cash-account.mjs | 2 +- .../set-limit-for-user/set-limit-for-user.mjs | 2 +- components/brex/common-app.mjs | 18 +++++++++++------- components/brex/package.json | 6 +++--- .../brex/sources/new-transfer-event/common.mjs | 13 +++++++------ .../new-transfer-event/new-transfer-event.mjs | 2 +- 9 files changed, 27 insertions(+), 22 deletions(-) diff --git a/components/brex/actions/create-card/create-card.mjs b/components/brex/actions/create-card/create-card.mjs index 503c59f1d51ef..fcce0ea172fe0 100644 --- a/components/brex/actions/create-card/create-card.mjs +++ b/components/brex/actions/create-card/create-card.mjs @@ -6,7 +6,7 @@ export default { name: "Create Card", description: "Creates a new card. [See the docs here](https://developer.brex.com/openapi/team_api/#operation/createCard).", key: "brex-create-card", - version: "0.0.2", + version: "0.1.0", type: "action", props: { brexApp, diff --git a/components/brex/actions/invite-user/invite-user.mjs b/components/brex/actions/invite-user/invite-user.mjs index 8b6949afb957e..a56b98e2ab738 100644 --- a/components/brex/actions/invite-user/invite-user.mjs +++ b/components/brex/actions/invite-user/invite-user.mjs @@ -6,7 +6,7 @@ export default { name: "Invite User", description: "Invites a new user as an employee. [See the docs here](https://developer.brex.com/openapi/team_api/#operation/createUser).", key: "brex-invite-user", - version: "0.0.2", + version: "0.1.0", type: "action", props: { brexApp, diff --git a/components/brex/actions/list-transactions-for-primary-card-account/list-transactions-for-primary-card-account.mjs b/components/brex/actions/list-transactions-for-primary-card-account/list-transactions-for-primary-card-account.mjs index 5bf17edd16731..1658806dfcdfe 100644 --- a/components/brex/actions/list-transactions-for-primary-card-account/list-transactions-for-primary-card-account.mjs +++ b/components/brex/actions/list-transactions-for-primary-card-account/list-transactions-for-primary-card-account.mjs @@ -6,7 +6,7 @@ export default { name: "List Transactions for Primary Card Account", description: "Lists all settled transactions for the primary card account. [See the docs here](https://developer.brex.com/openapi/transactions_api/#operation/listPrimaryCardTransactions).", key: "brex-list-transactions-for-primary-card-account", - version: "0.0.2", + version: "0.1.0", type: "action", props: { brexApp, diff --git a/components/brex/actions/list-transactions-for-selected-cash-account/list-transactions-for-selected-cash-account.mjs b/components/brex/actions/list-transactions-for-selected-cash-account/list-transactions-for-selected-cash-account.mjs index d98f0453db0ec..a2f2020d5af6e 100644 --- a/components/brex/actions/list-transactions-for-selected-cash-account/list-transactions-for-selected-cash-account.mjs +++ b/components/brex/actions/list-transactions-for-selected-cash-account/list-transactions-for-selected-cash-account.mjs @@ -6,7 +6,7 @@ export default { name: "List Transactions for Selected Cash Account", description: "Lists all transactions for the specified cash account. [See the docs here](https://developer.brex.com/openapi/transactions_api/#operation/listCashTransactions).", key: "brex-list-transactions-for-selected-cash-account", - version: "0.0.2", + version: "0.1.0", type: "action", props: { brexApp, diff --git a/components/brex/actions/set-limit-for-user/set-limit-for-user.mjs b/components/brex/actions/set-limit-for-user/set-limit-for-user.mjs index 7e491f5f45c7f..8ffa1790f5996 100644 --- a/components/brex/actions/set-limit-for-user/set-limit-for-user.mjs +++ b/components/brex/actions/set-limit-for-user/set-limit-for-user.mjs @@ -6,7 +6,7 @@ export default { name: "Set Limit for User", description: "Sets the monthly limit for a user. [See the docs here](https://developer.brex.com/openapi/team_api/#operation/setUserLimit).", key: "brex-set-limit-for-user", - version: "0.0.2", + version: "0.1.0", type: "action", props: { brexApp, diff --git a/components/brex/common-app.mjs b/components/brex/common-app.mjs index d0e3111256892..43870227967a5 100644 --- a/components/brex/common-app.mjs +++ b/components/brex/common-app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import { v4 as uuidv4 } from "uuid"; export default { @@ -117,14 +117,14 @@ export default { if (items.length + limit > TOTAL_LIMIT) { limit -= items.length + limit - TOTAL_LIMIT; } - const res = (await axios(this._getAxiosParams({ + const res = await axios(this, this._getAxiosParams({ ...axiosParams, params: { ...axiosParams.params, limit, cursor, }, - }))).data; + })); if (res.items) { items = [ @@ -139,39 +139,43 @@ export default { return items; }, async getLocations(cursor, limit) { - return axios(this._getAxiosParams({ + return axios(this, this._getAxiosParams({ method: "GET", path: "/v2/locations", params: { cursor, limit, }, + returnFullResponse: true, })); }, async getDepartments(cursor, limit) { - return axios(this._getAxiosParams({ + return axios(this, this._getAxiosParams({ method: "GET", path: "/v2/departments", params: { cursor, limit, }, + returnFullResponse: true, })); }, async getUsers(cursor, limit) { - return axios(this._getAxiosParams({ + return axios(this, this._getAxiosParams({ method: "GET", path: "/v2/users", params: { cursor, limit, }, + returnFullResponse: true, })); }, async getCashAccounts() { - return axios(this._getAxiosParams({ + return axios(this, this._getAxiosParams({ method: "GET", path: "/v2/accounts/cash", + returnFullResponse: true, })); }, }, diff --git a/components/brex/package.json b/components/brex/package.json index 27056c44fb609..e407c485d02bd 100644 --- a/components/brex/package.json +++ b/components/brex/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/brex", - "version": "0.0.4", + "version": "0.1.0", "description": "Pipedream Brex Components", "main": "brex.app.js", "keywords": [ @@ -13,7 +13,7 @@ "access": "public" }, "dependencies": { - "axios": "^0.25.0", - "uuid": "^8.3.2" + "uuid": "^8.3.2", + "@pipedream/platform": "^1.4.0" } } diff --git a/components/brex/sources/new-transfer-event/common.mjs b/components/brex/sources/new-transfer-event/common.mjs index f1c46c9abee5e..62abe532a461c 100644 --- a/components/brex/sources/new-transfer-event/common.mjs +++ b/components/brex/sources/new-transfer-event/common.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import crypto from "crypto"; export default { @@ -21,13 +21,14 @@ export default { hooks: { async activate() { await this.unregisterHook(); - const res = await axios(this.brexApp._getAxiosParams({ + const res = await axios(this, this.brexApp._getAxiosParams({ method: "POST", path: "/v1/webhooks", data: { url: this.http.endpoint, event_types: this.events, }, + returnFullResponse: true, })); if (!res.data?.id) { @@ -48,7 +49,7 @@ export default { if (!hookId) { return; } - await axios(this.brexApp._getAxiosParams({ + await axios(this, this.brexApp._getAxiosParams({ method: "DELETE", path: `/v1/webhooks/${this._getHookId()}`, })); @@ -57,9 +58,10 @@ export default { }, async getSecretKeys() { // Get secrets from Brex - const res = await axios(this.brexApp._getAxiosParams({ + const res = await axios(this, this.brexApp._getAxiosParams({ method: "GET", path: "/v1/webhooks/secrets", + returnFullResponse: true, })); if (res.data?.length === 0) { @@ -82,11 +84,10 @@ export default { throw new Error("The received request is not trustable. The computed signature does not match with the hook signature. THe request was aborted."); }, async getTransactionDetails(transactionId) { - const res = await axios(this.brexApp._getAxiosParams({ + return axios(this, this.brexApp._getAxiosParams({ method: "GET", path: `/v1/transfers/${transactionId}`, })); - return res.data; }, _emit(data) { this.$emit(data, { diff --git a/components/brex/sources/new-transfer-event/new-transfer-event.mjs b/components/brex/sources/new-transfer-event/new-transfer-event.mjs index e7c61904eb6b0..b48393b9d5054 100644 --- a/components/brex/sources/new-transfer-event/new-transfer-event.mjs +++ b/components/brex/sources/new-transfer-event/new-transfer-event.mjs @@ -8,7 +8,7 @@ export default { key: "brex-new-transfer-event", name: "New Transfer Event (Instant)", description: "Emit new event for new failed or processed events", - version: "0.0.2", + version: "0.1.0", props: { brexApp, ...common.props, From cdfaaa205d7305d514623d66aeeb0e15c008aa8e Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:57:47 -0300 Subject: [PATCH 05/31] browserless --- .../actions/convert-html-to-pdf/convert-html-to-pdf.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/browserless/actions/convert-html-to-pdf/convert-html-to-pdf.mjs b/components/browserless/actions/convert-html-to-pdf/convert-html-to-pdf.mjs index 28d0e01e41923..5c905bc7a25a8 100644 --- a/components/browserless/actions/convert-html-to-pdf/convert-html-to-pdf.mjs +++ b/components/browserless/actions/convert-html-to-pdf/convert-html-to-pdf.mjs @@ -1,11 +1,11 @@ // legacy_hash_id: a_B0ip1E -import axios from "axios"; +import { axios } from "@pipedream/platform"; export default { key: "browserless-convert-html-to-pdf", name: "Generate PDF from HTML String", description: "See https://docs.browserless.io/docs/pdf.html", - version: "0.2.1", + version: "0.3.0", type: "action", props: { browserless: { @@ -21,7 +21,7 @@ export default { async run({ $ }) { const { html } = this; - const { data } = await axios({ + const data = await axios($, { method: "POST", url: `https://chrome.browserless.io/pdf?token=${this.browserless.$auth.api_key}`, headers: { From 7b478d3614d489564382fe3ea0a5711c83de3969 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 09:58:29 -0300 Subject: [PATCH 06/31] cisco_webex --- components/cisco_webex/cisco_webex.app.mjs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/components/cisco_webex/cisco_webex.app.mjs b/components/cisco_webex/cisco_webex.app.mjs index 9ff76220fb0ca..e4ad4f3a9b2d4 100644 --- a/components/cisco_webex/cisco_webex.app.mjs +++ b/components/cisco_webex/cisco_webex.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import constants from "./common/constants.mjs"; export default { @@ -137,7 +137,9 @@ export default { rel, }; }, - async makeRequest(customConfig) { + async makeRequest({ + $ = this, ...customConfig + }) { const { path, headers, @@ -147,11 +149,12 @@ export default { const config = { headers: this.getHeaders(headers), url: this.getUrl(path), + returnFullResponse: true, ...otherConfig, }; try { - const response = await axios(config); + const response = await axios($, config); return { ...response.data, From 69165e0e988789c4e40971c8b1f5dd74820776fd Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:00:59 -0300 Subject: [PATCH 07/31] browserless --- components/browserless/package.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 components/browserless/package.json diff --git a/components/browserless/package.json b/components/browserless/package.json new file mode 100644 index 0000000000000..8a3832d54b22c --- /dev/null +++ b/components/browserless/package.json @@ -0,0 +1,19 @@ +{ + "name": "@pipedream/browserless", + "version": "0.0.1", + "description": "Pipedream Browserless Components", + "main": "browserless.app.mjs", + "keywords": [ + "pipedream", + "browserless" + ], + "homepage": "https://pipedream.com/apps/browserless", + "author": "Pipedream (https://pipedream.com/)", + "publishConfig": { + "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^1.4.0", + "puppeteer-core": "^19.7.5" + } +} From 71209c870b7a47197f9fead1ad574bde37d05896 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:04:08 -0300 Subject: [PATCH 08/31] cisco_webex --- .../cisco_webex/actions/create-message/create-message.mjs | 2 +- components/cisco_webex/actions/create-room/create-room.mjs | 2 +- components/cisco_webex/actions/list-messages/list-messages.mjs | 2 +- components/cisco_webex/sources/new-message/new-message.mjs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/cisco_webex/actions/create-message/create-message.mjs b/components/cisco_webex/actions/create-message/create-message.mjs index a2ff6dbe5c8b2..5d3a22733dac7 100644 --- a/components/cisco_webex/actions/create-message/create-message.mjs +++ b/components/cisco_webex/actions/create-message/create-message.mjs @@ -5,7 +5,7 @@ export default { name: "Create Message", description: "Post a plain text or [rich text](https://developer.webex.com/docs/basics#formatting-messages) message, and optionally, a [file attachment](https://developer.webex.com/docs/basics#message-attachments), to a room. [See the docs here](https://developer.webex.com/docs/api/v1/messages/create-a-message)", type: "action", - version: "0.0.1", + version: "0.1.0", props: { ciscoWebex, text: { diff --git a/components/cisco_webex/actions/create-room/create-room.mjs b/components/cisco_webex/actions/create-room/create-room.mjs index 0cf814f1817a1..b6acaeffc88d5 100644 --- a/components/cisco_webex/actions/create-room/create-room.mjs +++ b/components/cisco_webex/actions/create-room/create-room.mjs @@ -5,7 +5,7 @@ export default { name: "Create a Room", description: "Creates a room. The authenticated user is automatically added as a member of the room. [See the docs here](https://developer.webex.com/docs/api/v1/rooms/create-a-room)", type: "action", - version: "0.0.1", + version: "0.1.0", props: { ciscoWebex, title: { diff --git a/components/cisco_webex/actions/list-messages/list-messages.mjs b/components/cisco_webex/actions/list-messages/list-messages.mjs index ab903499ec197..c7516df3b2c88 100644 --- a/components/cisco_webex/actions/list-messages/list-messages.mjs +++ b/components/cisco_webex/actions/list-messages/list-messages.mjs @@ -5,7 +5,7 @@ export default { name: "List Messages", description: "Retrieve messages in a specific room. [See the docs here](https://developer.webex.com/docs/api/v1/messages/list-messages)", type: "action", - version: "0.0.1", + version: "0.1.0", props: { ciscoWebex, roomId: { diff --git a/components/cisco_webex/sources/new-message/new-message.mjs b/components/cisco_webex/sources/new-message/new-message.mjs index 2e5222f7418ec..07734f89bbeaf 100644 --- a/components/cisco_webex/sources/new-message/new-message.mjs +++ b/components/cisco_webex/sources/new-message/new-message.mjs @@ -7,7 +7,7 @@ export default { name: "New Message (Instant)", description: "Emit new event when a message is added. [See the docs here](https://developer.webex.com/docs/api/guides/webhooks#webex-webhooks)", type: "source", - version: "0.0.1", + version: "0.1.0", dedupe: "unique", methods: { ...common.methods, From 90b2af616acfc7ed355fd8db2799b148a91873fc Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:06:18 -0300 Subject: [PATCH 09/31] cisco_webex --- components/cisco_webex/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cisco_webex/package.json b/components/cisco_webex/package.json index 48027ebdc19b9..96d9a4310874a 100644 --- a/components/cisco_webex/package.json +++ b/components/cisco_webex/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/cisco_webex", - "version": "0.3.5", + "version": "0.4.0", "description": "Pipedream Cisco_webex Components", "main": "cisco_webex.app.mjs", "keywords": [ @@ -10,7 +10,7 @@ "homepage": "https://pipedream.com/apps/cisco_webex", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.26.1", + "@pipedream/platform": "^1.4.0", "crypto": "^1.0.1", "uuid": "^8.3.2" }, From fa9284dacde17ed17e4ade54032e033bc55e0996 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:08:43 -0300 Subject: [PATCH 10/31] clone --- components/close/actions/create-lead/create-lead.mjs | 2 +- components/close/actions/custom-action/custom-action.mjs | 2 +- components/close/actions/search-leads/search-leads.mjs | 2 +- components/close/actions/update-lead/update-lead.mjs | 2 +- components/close/close.app.mjs | 6 ++++-- components/close/package.json | 4 ++-- components/close/sources/custom-event/custom-event.mjs | 2 +- .../sources/lead-status-changed/lead-status-changed.mjs | 2 +- components/close/sources/new-lead/new-lead.mjs | 2 +- .../close/sources/new-opportunity/new-opportunity.mjs | 2 +- 10 files changed, 14 insertions(+), 12 deletions(-) diff --git a/components/close/actions/create-lead/create-lead.mjs b/components/close/actions/create-lead/create-lead.mjs index 27ee407940d84..7d15d77320ee6 100644 --- a/components/close/actions/create-lead/create-lead.mjs +++ b/components/close/actions/create-lead/create-lead.mjs @@ -4,7 +4,7 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-create-lead", - version: "0.0.1", + version: "0.1.0", name: "Create Lead", description: "Creates a lead, [See the docs](https://developer.close.com/resources/leads/#create-a-new-lead)", props: { diff --git a/components/close/actions/custom-action/custom-action.mjs b/components/close/actions/custom-action/custom-action.mjs index 2cb918b6a9f14..43fa0c55ef366 100644 --- a/components/close/actions/custom-action/custom-action.mjs +++ b/components/close/actions/custom-action/custom-action.mjs @@ -5,7 +5,7 @@ export default { key: "close-custom-action", name: "Custom Action", description: "Makes an aribitrary call to Close API, [See](https://developer.close.com/) for all options.", - version: "0.0.1", + version: "0.1.0", type: "action", props: { close, diff --git a/components/close/actions/search-leads/search-leads.mjs b/components/close/actions/search-leads/search-leads.mjs index bf18389314b0f..6a8e60b1dae53 100644 --- a/components/close/actions/search-leads/search-leads.mjs +++ b/components/close/actions/search-leads/search-leads.mjs @@ -4,7 +4,7 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-search-leads", - version: "0.0.1", + version: "0.1.0", name: "Search Leads", description: "Searching leads with a given field and word, [See the docs](https://developer.close.com/resources/advanced-filtering/)", props: { diff --git a/components/close/actions/update-lead/update-lead.mjs b/components/close/actions/update-lead/update-lead.mjs index fef84447cb58e..57e80e8f70c3a 100644 --- a/components/close/actions/update-lead/update-lead.mjs +++ b/components/close/actions/update-lead/update-lead.mjs @@ -4,7 +4,7 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "close-update-lead", - version: "0.0.1", + version: "0.1.0", name: "Update Lead", description: "Updates a lead, [See the docs](https://developer.close.com/resources/leads/#update-an-existing-lead)", props: { diff --git a/components/close/close.app.mjs b/components/close/close.app.mjs index 4d605af1b4321..088475cbe86c0 100644 --- a/components/close/close.app.mjs +++ b/components/close/close.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; export default { type: "app", @@ -87,6 +87,7 @@ export default { }; }, async _makeRequest({ + $ = this, path, headers, ...otherConfig @@ -95,9 +96,10 @@ export default { url: this._getUrl(path), headers: this._getHeaders(headers), auth: this._getAuthKeys(), + returnFullResponse: true, ...otherConfig, }; - return axios(config); + return axios($, config); }, async createHook(args = {}) { return this._makeRequest({ diff --git a/components/close/package.json b/components/close/package.json index 5338c678d89fe..16cd2136dc940 100644 --- a/components/close/package.json +++ b/components/close/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/close", - "version": "0.0.3", + "version": "0.1.0", "description": "Pipedream Close Components", "main": "close.app.mjs", "keywords": [ @@ -11,7 +11,7 @@ "homepage": "https://pipedream.com/apps/close", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.27.2" + "@pipedream/platform": "^1.4.0" }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", "publishConfig": { diff --git a/components/close/sources/custom-event/custom-event.mjs b/components/close/sources/custom-event/custom-event.mjs index dd7562b26a600..2e7fb51a90067 100644 --- a/components/close/sources/custom-event/custom-event.mjs +++ b/components/close/sources/custom-event/custom-event.mjs @@ -5,7 +5,7 @@ export default { key: "close-custom-source", name: "New Custom Event", description: "Emit new event when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)", - version: "0.0.1", + version: "0.1.0", type: "source", dedupe: "unique", props: { diff --git a/components/close/sources/lead-status-changed/lead-status-changed.mjs b/components/close/sources/lead-status-changed/lead-status-changed.mjs index 222e4a76b0514..1d2b71a4fde0c 100644 --- a/components/close/sources/lead-status-changed/lead-status-changed.mjs +++ b/components/close/sources/lead-status-changed/lead-status-changed.mjs @@ -5,7 +5,7 @@ export default { key: "close-lead-status-changed", name: "New Lead Status Change", description: "Emit new event when a Lead status is changed", - version: "0.0.1", + version: "0.1.0", type: "source", dedupe: "unique", methods: { diff --git a/components/close/sources/new-lead/new-lead.mjs b/components/close/sources/new-lead/new-lead.mjs index 4af56cd896a17..111592b6653c8 100644 --- a/components/close/sources/new-lead/new-lead.mjs +++ b/components/close/sources/new-lead/new-lead.mjs @@ -5,7 +5,7 @@ export default { key: "close-new-lead", name: "New Lead", description: "Emit new event when a new Lead is created", - version: "0.0.1", + version: "0.1.0", type: "source", dedupe: "unique", methods: { diff --git a/components/close/sources/new-opportunity/new-opportunity.mjs b/components/close/sources/new-opportunity/new-opportunity.mjs index efe599b504513..fdcb31e15fe25 100644 --- a/components/close/sources/new-opportunity/new-opportunity.mjs +++ b/components/close/sources/new-opportunity/new-opportunity.mjs @@ -5,7 +5,7 @@ export default { key: "close-new-opportunity", name: "New Opportunity", description: "Emit new event when a new Opportunity is created", - version: "0.0.1", + version: "0.1.0", type: "source", dedupe: "unique", methods: { From c6e68d1483d3decaf9c2c01869294765aafdee11 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:12:46 -0300 Subject: [PATCH 11/31] confection --- .../get-related-uuids/get-related-uuids.mjs | 2 +- .../get-uuid-details/get-uuid-details.mjs | 2 +- components/confection/confection.app.mjs | 21 +++------ components/confection/package.json | 17 +++++-- .../sources/new-event/new-event.mjs | 2 +- .../new-field-value/new-field-value.mjs | 2 +- .../new-updated-leads/new-updated-leads.mjs | 2 +- components/confection/yarn.lock | 45 ------------------- 8 files changed, 25 insertions(+), 68 deletions(-) delete mode 100644 components/confection/yarn.lock diff --git a/components/confection/actions/get-related-uuids/get-related-uuids.mjs b/components/confection/actions/get-related-uuids/get-related-uuids.mjs index b128eb580834a..ee629280e7c45 100644 --- a/components/confection/actions/get-related-uuids/get-related-uuids.mjs +++ b/components/confection/actions/get-related-uuids/get-related-uuids.mjs @@ -4,7 +4,7 @@ export default { key: "confection-get-related-uuids", name: "Get Related UUIDs", type: "action", - version: "0.0.1", + version: "0.1.0", description: "This action will retrieve all UUIDs that have a likeness score of at least 50 (default) with the provided UUID. The likeness score can be customized in configuration.", props: { diff --git a/components/confection/actions/get-uuid-details/get-uuid-details.mjs b/components/confection/actions/get-uuid-details/get-uuid-details.mjs index 42346b058f62e..135e20029ff2d 100644 --- a/components/confection/actions/get-uuid-details/get-uuid-details.mjs +++ b/components/confection/actions/get-uuid-details/get-uuid-details.mjs @@ -4,7 +4,7 @@ export default { key: "confection-get-uuid-details", name: "Get Full Details of UUID", type: "action", - version: "0.0.1", + version: "0.1.0", description: "This action will retrieve the full details of a specified UUID.", props: { diff --git a/components/confection/confection.app.mjs b/components/confection/confection.app.mjs index 80c2835d9a491..c46f853cccc8d 100644 --- a/components/confection/confection.app.mjs +++ b/components/confection/confection.app.mjs @@ -1,5 +1,4 @@ -import axios from "axios"; -import { axios as pipedreamAxios } from "@pipedream/platform"; +import { axios } from "@pipedream/platform"; const CONFECTION_RESULTS_PER_PAGE = 50; @@ -77,7 +76,7 @@ export default { * @param {object|undefined} $ - Pipedream action $ object (if used in action) * @returns {Promise} */ - async postRequest(path, $) { + async postRequest(path, $ = this) { const baseUrl = this.getBaseUrl(); const url = `${baseUrl}/${path}`; const data = { @@ -87,20 +86,12 @@ export default { Accept: "application/json", }; - if ($) { - return pipedreamAxios($, { - url, - method: "POST", - data, - headers, - }); - } - - const response = await axios.post(url, data, { + return axios($, { + url, + method: "POST", + data, headers, }); - - return response.data; }, /** * Get UUIDs related to the provided one based on certain likeness diff --git a/components/confection/package.json b/components/confection/package.json index fe4ce258a5a3b..92974420ef2be 100644 --- a/components/confection/package.json +++ b/components/confection/package.json @@ -1,7 +1,18 @@ { - "version": "0.0.4", + "name": "@pipedream/confection", + "version": "0.1.0", + "description": "Pipedream Confection Components", + "main": "confection.app.mjs", + "keywords": [ + "pipedream", + "confection" + ], + "homepage": "https://pipedream.com/apps/confection", + "author": "Pipedream (https://pipedream.com/)", + "publishConfig": { + "access": "public" + }, "dependencies": { - "@pipedream/platform": "^1.2.0", - "axios": "^0.23.0" + "@pipedream/platform": "^1.4.0" } } diff --git a/components/confection/sources/new-event/new-event.mjs b/components/confection/sources/new-event/new-event.mjs index 441e9cf36b279..846751486b87b 100644 --- a/components/confection/sources/new-event/new-event.mjs +++ b/components/confection/sources/new-event/new-event.mjs @@ -4,7 +4,7 @@ import confection from "../../confection.app.mjs"; export default { key: "confection-new-event", name: "New Event", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", type: "source", description: diff --git a/components/confection/sources/new-field-value/new-field-value.mjs b/components/confection/sources/new-field-value/new-field-value.mjs index ad90debf65dae..9f7e83f4a1cc7 100644 --- a/components/confection/sources/new-field-value/new-field-value.mjs +++ b/components/confection/sources/new-field-value/new-field-value.mjs @@ -4,7 +4,7 @@ import confection from "../../confection.app.mjs"; export default { key: "confection-new-field-value", name: "New Field Value", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", type: "source", description: diff --git a/components/confection/sources/new-updated-leads/new-updated-leads.mjs b/components/confection/sources/new-updated-leads/new-updated-leads.mjs index 349cccf05122c..9220a72f8902e 100644 --- a/components/confection/sources/new-updated-leads/new-updated-leads.mjs +++ b/components/confection/sources/new-updated-leads/new-updated-leads.mjs @@ -3,7 +3,7 @@ import common from "../common.mjs"; export default { key: "confection-new-updated-leads", name: "New or Updated Leads", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", type: "source", description: diff --git a/components/confection/yarn.lock b/components/confection/yarn.lock deleted file mode 100644 index a0e09ee5c86f1..0000000000000 --- a/components/confection/yarn.lock +++ /dev/null @@ -1,45 +0,0 @@ -# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -# yarn lockfile v1 - - -"@pipedream/platform@^1.2.0": - "integrity" "sha512-rxJh8d1rIA1o5qr1a0hwe79Ua7IVz/mbS5fudWMR3eV9fRgDBxMwKZqQWysmxP+jBT2KrSKcXrMeJpl2zY3u6Q==" - "resolved" "https://registry.npmjs.org/@pipedream/platform/-/platform-1.2.0.tgz" - "version" "1.2.0" - dependencies: - "axios" "^0.21.2" - "fp-ts" "^2.0.2" - "io-ts" "^2.0.0" - "querystring" "^0.2.1" - -"axios@^0.21.2": - "integrity" "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==" - "resolved" "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz" - "version" "0.21.4" - dependencies: - "follow-redirects" "^1.14.0" - -"axios@^0.23.0": - "resolved" "file:../../node_modules/.pnpm/axios@0.23.0/node_modules/axios" - "version" "0.23.0" - dependencies: - "follow-redirects" "^1.14.4" - -"follow-redirects@^1.14.0": - "integrity" "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==" - "resolved" "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz" - "version" "1.15.2" - -"fp-ts@^2.0.2": - "resolved" "file:../../node_modules/.pnpm/fp-ts@2.12.2/node_modules/fp-ts" - "version" "2.12.2" - -"io-ts@^2.0.0": - "integrity" "sha512-ED0GQwvKRr5C2jqOOJCkuJW2clnbzqFexQ8V7Qsb+VB36S1Mk/OKH7k0FjSe4mjKy9qBRA3OqgVGyFMUEKIubw==" - "resolved" "https://registry.npmjs.org/io-ts/-/io-ts-2.2.19.tgz" - "version" "2.2.19" - -"querystring@^0.2.1": - "integrity" "sha512-wkvS7mL/JMugcup3/rMitHmd9ecIGd2lhFhK9N3UUQ450h66d1r3Y9nvXzQAW1Lq+wyx61k/1pfKS5KuKiyEbg==" - "resolved" "https://registry.npmjs.org/querystring/-/querystring-0.2.1.tgz" - "version" "0.2.1" From 5ab51d0823a6926f11fc4059e5bff00a5b2ecc48 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:14:53 -0300 Subject: [PATCH 12/31] discord --- .../send-message-with-file/send-message-with-file.mjs | 8 ++++---- components/discord/package.json | 6 ++++-- 2 files changed, 8 insertions(+), 6 deletions(-) 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 a4577b44c52c5..3b1ec679f847b 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 @@ -1,5 +1,5 @@ import common from "../common/common.mjs"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import fs from "fs"; import { ConfigurationError } from "@pipedream/platform"; @@ -8,7 +8,7 @@ export default { key: "discord-send-message-with-file", name: "Send Message With File", description: "Post a message with an attached file", - version: "1.0.0", + version: "1.1.0", type: "action", props: { ...common.props, @@ -48,11 +48,11 @@ export default { } const file = fileUrl - ? (await axios({ + ? await axios($, { method: "get", url: fileUrl, responseType: "stream", - })).data + }) : fs.createReadStream(filePath); try { diff --git a/components/discord/package.json b/components/discord/package.json index 3d7b0f51efddf..0b1a68fe71ab4 100644 --- a/components/discord/package.json +++ b/components/discord/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/discord", - "version": "1.1.3", + "version": "1.2.0", "description": "Pipedream Discord Components", "main": "discord.app.mjs", "keywords": [ @@ -9,7 +9,9 @@ ], "homepage": "https://pipedream.com/apps/discord", "author": "Pipedream (https://pipedream.com/)", - "dependencies": {}, + "dependencies": { + "@pipedream/platform": "^1.4.0" + }, "publishConfig": { "access": "public" } From df9ea1b1ffc44c8eebb2084b9ff9b4113f1f2c96 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 10:17:46 -0300 Subject: [PATCH 13/31] discord webhook --- .../send-message-advanced/send-message-advanced.mjs | 2 +- .../send-message-with-file.mjs | 8 ++++---- .../actions/send-message/send-message.mjs | 2 +- components/discord_webhook/discord_webhook.app.mjs | 12 +++++++----- components/discord_webhook/package.json | 4 ++-- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/components/discord_webhook/actions/send-message-advanced/send-message-advanced.mjs b/components/discord_webhook/actions/send-message-advanced/send-message-advanced.mjs index 1292267bf41f8..0b396613a63a4 100644 --- a/components/discord_webhook/actions/send-message-advanced/send-message-advanced.mjs +++ b/components/discord_webhook/actions/send-message-advanced/send-message-advanced.mjs @@ -5,7 +5,7 @@ export default { key: "discord_webhook-send-message-advanced", name: "Send Message (Advanced)", description: "Send a simple or structured message (using embeds) to a Discord channel", - version: "0.3.1", + version: "0.4.0", type: "action", props: { ...common.props, diff --git a/components/discord_webhook/actions/send-message-with-file/send-message-with-file.mjs b/components/discord_webhook/actions/send-message-with-file/send-message-with-file.mjs index 086dbf91d604a..c6a537ab20ad9 100644 --- a/components/discord_webhook/actions/send-message-with-file/send-message-with-file.mjs +++ b/components/discord_webhook/actions/send-message-with-file/send-message-with-file.mjs @@ -1,5 +1,5 @@ import common from "../send-message-common.mjs"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import fs from "fs"; export default { @@ -7,7 +7,7 @@ export default { key: "discord_webhook-send-message-with-file", name: "Send Message With File", description: "Post a message with an attached file", - version: "0.2.1", + version: "0.3.0", type: "action", props: { ...common.props, @@ -49,11 +49,11 @@ export default { } const file = fileUrl - ? (await axios({ + ? await axios($, { method: "get", url: fileUrl, responseType: "stream", - })).data + }) : fs.createReadStream(filePath); try { diff --git a/components/discord_webhook/actions/send-message/send-message.mjs b/components/discord_webhook/actions/send-message/send-message.mjs index bc34443adfd89..42b9faad57b5d 100644 --- a/components/discord_webhook/actions/send-message/send-message.mjs +++ b/components/discord_webhook/actions/send-message/send-message.mjs @@ -5,7 +5,7 @@ export default { key: "discord_webhook-send-message", name: "Send Message", description: "Send a simple message to a Discord channel", - version: "0.3.1", + version: "0.4.0", type: "action", props: { ...common.props, diff --git a/components/discord_webhook/discord_webhook.app.mjs b/components/discord_webhook/discord_webhook.app.mjs index c781f6e95c495..e5d984c9a18ae 100644 --- a/components/discord_webhook/discord_webhook.app.mjs +++ b/components/discord_webhook/discord_webhook.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import FormData from "form-data"; export default { @@ -40,13 +40,13 @@ export default { return this.$auth.oauth_uid; }, async sendMessage({ - content, embeds, username, avatarURL, threadID, + $ = this, content, embeds, username, avatarURL, threadID, }) { const serializedContent = (typeof content !== "string") ? JSON.stringify(content) : content; if (!threadID) threadID = undefined; - const resp = await axios({ + const resp = await axios($, { method: "POST", url: this.url(), headers: { @@ -62,6 +62,7 @@ export default { username, avatar_url: avatarURL, }, + returnFullResponse: true, }); if (resp.status >= 400) { throw new Error(JSON.stringify(resp.data)); @@ -69,7 +70,7 @@ export default { return resp.data; }, async sendMessageWithFile({ - content, username, avatarURL, embeds, threadID, file, + $ = this, content, username, avatarURL, embeds, threadID, file, }) { const data = new FormData(); const serializedContent = (typeof content !== "string") @@ -83,7 +84,7 @@ export default { })); if (file) data.append("file", file); if (!threadID) threadID = undefined; - const resp = await axios({ + const resp = await axios($, { method: "POST", url: this.url(), headers: { @@ -95,6 +96,7 @@ export default { }, data, file, + returnFullResponse: true, }); if (resp.status >= 400) { throw new Error(JSON.stringify(resp.data)); diff --git a/components/discord_webhook/package.json b/components/discord_webhook/package.json index fcb2de5808c0b..8596c7d43e250 100644 --- a/components/discord_webhook/package.json +++ b/components/discord_webhook/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/discord_webhook", - "version": "1.0.2", + "version": "1.1.0", "description": "Pipedream Discord_Webook Components", "main": "discord_webhook.app.mjs", "keywords": [ @@ -10,7 +10,7 @@ "homepage": "https://pipedream.com/apps/discord_webhook", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.21.1", + "@pipedream/platform": "^1.4.0", "form-data": "^4.0.0" }, "publishConfig": { From 2e2a4d0177678b0b084856117c24757f94acc6ec Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:09:17 -0300 Subject: [PATCH 14/31] discourse --- .../discourse/actions/create-post/create-post.mjs | 2 +- .../discourse/actions/create-topic/create-topic.mjs | 2 +- components/discourse/discourse.app.mjs | 8 +++++--- components/discourse/package.json | 13 ++++++++----- .../sources/new-posts-added/new-posts-added.mjs | 2 +- .../sources/new-topics-added/new-topics-added.mjs | 2 +- .../sources/new-users-added/new-users-added.mjs | 2 +- 7 files changed, 18 insertions(+), 13 deletions(-) diff --git a/components/discourse/actions/create-post/create-post.mjs b/components/discourse/actions/create-post/create-post.mjs index aa171a32ceafa..e090942f27cb6 100644 --- a/components/discourse/actions/create-post/create-post.mjs +++ b/components/discourse/actions/create-post/create-post.mjs @@ -2,7 +2,7 @@ import discourse from "../../discourse.app.mjs"; export default { name: "Create Post", - version: "0.0.2", + version: "0.1.0", key: "discourse-create-post", description: "Creates a post. [See docs here](https://docs.discourse.org/#tag/Posts/operation/createTopicPostPM)", type: "action", diff --git a/components/discourse/actions/create-topic/create-topic.mjs b/components/discourse/actions/create-topic/create-topic.mjs index 69b5435f4b1f3..85d86183716e7 100644 --- a/components/discourse/actions/create-topic/create-topic.mjs +++ b/components/discourse/actions/create-topic/create-topic.mjs @@ -2,7 +2,7 @@ import discourse from "../../discourse.app.mjs"; export default { name: "Create Topic", - version: "0.0.1", + version: "0.1.0", key: "discourse-create-topic", description: "Creates a topic. [See docs here](https://docs.discourse.org/#tag/Topics/operation/createTopicPostPM)", type: "action", diff --git a/components/discourse/discourse.app.mjs b/components/discourse/discourse.app.mjs index 270196ededbf9..a4281d6d03a11 100644 --- a/components/discourse/discourse.app.mjs +++ b/components/discourse/discourse.app.mjs @@ -1,6 +1,6 @@ import get from "lodash.get"; import sortBy from "lodash.sortby"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import { nanoid } from "nanoid"; export default { @@ -155,7 +155,9 @@ export default { (el) => el.category_id && categories.includes(el.category_id.toString()), ); }, - async _makeRequest(opts) { + async _makeRequest({ + $ = this, ...opts + }) { if (!opts.headers) opts.headers = {}; opts.headers["Accept"] = "application/json"; opts.headers["Content-Type"] = "application/json"; @@ -167,7 +169,7 @@ export default { opts.url = `${this._apiUrl()}${path[0] === "/" ? "" : "/"}${path}`; - return await axios(opts); + return axios($, opts); }, generateSecret() { return nanoid(12); // Discourse requires at least 12 bytes for secrets diff --git a/components/discourse/package.json b/components/discourse/package.json index 84c1d93a10dc1..0fcbe6b4306f9 100644 --- a/components/discourse/package.json +++ b/components/discourse/package.json @@ -1,18 +1,21 @@ { "name": "@pipedream/discourse", - "version": "0.0.4", + "version": "0.1.0", "description": "Pipedream Discourse Components", - "main": "dist/app/discourse.app.mjs", + "main": "discourse.app.mjs", "keywords": [ "pipedream", "discourse" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/discourse", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^1.4.0", + "lodash.get": "^4.4.2", + "lodash.sortby": "^4.7.0", + "nanoid": "^4.0.1" } } diff --git a/components/discourse/sources/new-posts-added/new-posts-added.mjs b/components/discourse/sources/new-posts-added/new-posts-added.mjs index 7ac3185c47988..3d0444cf73e33 100644 --- a/components/discourse/sources/new-posts-added/new-posts-added.mjs +++ b/components/discourse/sources/new-posts-added/new-posts-added.mjs @@ -4,7 +4,7 @@ import discourse from "../../discourse.app.mjs"; export default { name: "New Posts", key: "discourse-new-posts-added", - version: "0.1.4", + version: "0.2.0", type: "source", description: "Emit new posts added to a topic in one of your chosen categories", diff --git a/components/discourse/sources/new-topics-added/new-topics-added.mjs b/components/discourse/sources/new-topics-added/new-topics-added.mjs index 919c0d477bb61..b292b62609db6 100644 --- a/components/discourse/sources/new-topics-added/new-topics-added.mjs +++ b/components/discourse/sources/new-topics-added/new-topics-added.mjs @@ -4,7 +4,7 @@ import discourse from "../../discourse.app.mjs"; export default { name: "New Topics", key: "discourse-new-topics-added", - version: "0.1.4", + version: "0.2.0", type: "source", description: "Emit new topics posted to your chosen categories", diff --git a/components/discourse/sources/new-users-added/new-users-added.mjs b/components/discourse/sources/new-users-added/new-users-added.mjs index 3da31fead66de..fe4a4acba818e 100644 --- a/components/discourse/sources/new-users-added/new-users-added.mjs +++ b/components/discourse/sources/new-users-added/new-users-added.mjs @@ -3,7 +3,7 @@ import common from "../../common.mjs"; export default { name: "New Users", key: "discourse-new-users-added", - version: "0.1.4", + version: "0.2.0", type: "source", description: "Emit new event every time a new user is created on your instance", From 63deb35e632af30eab58721fff622dcfc728a248 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:14:45 -0300 Subject: [PATCH 15/31] google_drive --- .../add-file-sharing-preference.mjs | 2 +- .../actions/copy-file/copy-file.mjs | 2 +- .../create-file-from-template.mjs | 2 +- .../create-file-from-text.mjs | 2 +- .../actions/create-file/create-file.mjs | 18 ++++++------ .../actions/create-folder/create-folder.mjs | 2 +- .../create-shared-drive.mjs | 2 +- .../actions/delete-file/delete-file.mjs | 2 +- .../delete-shared-drive.mjs | 2 +- .../actions/download-file/download-file.mjs | 2 +- .../actions/find-file/find-file.mjs | 2 +- .../actions/find-folder/find-folder.mjs | 2 +- .../find-spreadsheets/find-spreadsheets.mjs | 2 +- .../get-folder-id-for-path.mjs | 2 +- .../get-shared-drive/get-shared-drive.mjs | 2 +- .../actions/list-files/list-files.mjs | 2 +- .../move-file-to-trash/move-file-to-trash.mjs | 2 +- .../actions/move-file/move-file.mjs | 2 +- .../actions/replace-file/replace-file.mjs | 2 +- .../search-shared-drives.mjs | 2 +- .../actions/update-file/update-file.mjs | 2 +- .../update-shared-drive.mjs | 2 +- .../actions/upload-file/upload-file.mjs | 2 +- components/google_drive/common/utils.mjs | 6 ++-- components/google_drive/google_drive.app.mjs | 28 +++++++++---------- components/google_drive/package.json | 5 ++-- ...changes-to-specific-files-shared-drive.mjs | 2 +- .../changes-to-specific-files.mjs | 2 +- .../new-files-instant/new-files-instant.mjs | 2 +- .../new-or-modified-comments.mjs | 2 +- .../new-or-modified-files.mjs | 2 +- .../new-or-modified-folders.mjs | 2 +- .../new-shared-drive/new-shared-drive.mjs | 2 +- .../new-spreadsheet/new-spreadsheet.mjs | 2 +- 34 files changed, 57 insertions(+), 60 deletions(-) diff --git a/components/google_drive/actions/add-file-sharing-preference/add-file-sharing-preference.mjs b/components/google_drive/actions/add-file-sharing-preference/add-file-sharing-preference.mjs index 839e9516c2b73..084c0591be371 100644 --- a/components/google_drive/actions/add-file-sharing-preference/add-file-sharing-preference.mjs +++ b/components/google_drive/actions/add-file-sharing-preference/add-file-sharing-preference.mjs @@ -11,7 +11,7 @@ export default { name: "Add File Sharing Preference", description: "Add a [sharing](https://support.google.com/drive/answer/7166529) permission to the sharing preferences of a file and provide a sharing URL. [See the docs](https://developers.google.com/drive/api/v3/reference/permissions/create) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/copy-file/copy-file.mjs b/components/google_drive/actions/copy-file/copy-file.mjs index 722e13495549d..062dfab217de7 100644 --- a/components/google_drive/actions/copy-file/copy-file.mjs +++ b/components/google_drive/actions/copy-file/copy-file.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-copy-file", name: "Copy File", description: "Create a copy of the specified file. [See the docs](https://developers.google.com/drive/api/v3/reference/files/copy) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/create-file-from-template/create-file-from-template.mjs b/components/google_drive/actions/create-file-from-template/create-file-from-template.mjs index b77f2de9bc2e9..ac4c4e374eb84 100644 --- a/components/google_drive/actions/create-file-from-template/create-file-from-template.mjs +++ b/components/google_drive/actions/create-file-from-template/create-file-from-template.mjs @@ -8,7 +8,7 @@ export default { key: "google_drive-create-file-from-template", name: "Create New File From Template", description: "Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. [See documentation](https://www.npmjs.com/package/google-docs-mustaches)", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/create-file-from-text/create-file-from-text.mjs b/components/google_drive/actions/create-file-from-text/create-file-from-text.mjs index b43304c96e53b..64f362edf1074 100644 --- a/components/google_drive/actions/create-file-from-text/create-file-from-text.mjs +++ b/components/google_drive/actions/create-file-from-text/create-file-from-text.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-create-file-from-text", name: "Create New File From Text", description: "Create a new file from plain text. [See the docs](https://developers.google.com/drive/api/v3/reference/files/create) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/create-file/create-file.mjs b/components/google_drive/actions/create-file/create-file.mjs index 68ef92afd6a6f..d9e982258dff9 100644 --- a/components/google_drive/actions/create-file/create-file.mjs +++ b/components/google_drive/actions/create-file/create-file.mjs @@ -7,7 +7,7 @@ export default { key: "google_drive-create-file", name: "Create a New File", description: "Create a new file from a URL or /tmp/filepath. [See the docs](https://developers.google.com/drive/api/v3/reference/files/create) for more information", - version: "0.0.9", + version: "0.1.0", type: "action", props: { googleDrive, @@ -54,9 +54,9 @@ export default { type: "boolean", label: "Ignore Default Visibility", description: toSingleLineString(` - Whether to ignore the domain's default visibility settings for the created - file. Domain administrators can choose to make all uploaded files visible to the domain - by default; this parameter bypasses that behavior for the request. Permissions are still + Whether to ignore the domain's default visibility settings for the created + file. Domain administrators can choose to make all uploaded files visible to the domain + by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders. `), default: false, @@ -65,7 +65,7 @@ export default { type: "string", label: "Include Permissions For View", description: toSingleLineString(` - Specifies which additional view's permissions to include in the response. Only + Specifies which additional view's permissions to include in the response. Only 'published' is supported. `), optional: true, @@ -115,8 +115,8 @@ export default { type: "boolean", label: "Content Restrictions Read Only", description: toSingleLineString(` - Whether the content of the file is read-only. If a file is read-only, a new revision of - the file may not be added, comments may not be added or modified, and the title of the file + Whether the content of the file is read-only. If a file is read-only, a new revision of + the file may not be added, comments may not be added or modified, and the title of the file may not be modified. `), optional: true, @@ -125,7 +125,7 @@ export default { type: "string", label: "Content Restrictions Reason", description: toSingleLineString(` - Reason for why the content of the file is restricted. This is only mutable on requests + Reason for why the content of the file is restricted. This is only mutable on requests that also set readOnly=true. `), optional: true, @@ -134,7 +134,7 @@ export default { type: "boolean", label: "Copy Requires Writer Permission", description: toSingleLineString(` - Whether the options to copy, print, or download this file, should be disabled for + Whether the options to copy, print, or download this file, should be disabled for readers and commentators `), optional: true, diff --git a/components/google_drive/actions/create-folder/create-folder.mjs b/components/google_drive/actions/create-folder/create-folder.mjs index 3369526329db1..197d2388ab2aa 100644 --- a/components/google_drive/actions/create-folder/create-folder.mjs +++ b/components/google_drive/actions/create-folder/create-folder.mjs @@ -13,7 +13,7 @@ export default { key: "google_drive-create-folder", name: "Create Folder", description: "Create a new empty folder. [See the docs](https://developers.google.com/drive/api/v3/reference/files/create) for more information", - version: "0.0.8", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/create-shared-drive/create-shared-drive.mjs b/components/google_drive/actions/create-shared-drive/create-shared-drive.mjs index 9def266e01857..3acdcb0388919 100644 --- a/components/google_drive/actions/create-shared-drive/create-shared-drive.mjs +++ b/components/google_drive/actions/create-shared-drive/create-shared-drive.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-create-shared-drive", name: "Create Shared Drive", description: "Create a new shared drive. [See the docs](https://developers.google.com/drive/api/v3/reference/drives/create) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/delete-file/delete-file.mjs b/components/google_drive/actions/delete-file/delete-file.mjs index 5790126606015..57371db28f4e1 100644 --- a/components/google_drive/actions/delete-file/delete-file.mjs +++ b/components/google_drive/actions/delete-file/delete-file.mjs @@ -5,7 +5,7 @@ export default { name: "Delete File", description: "Permanently delete a file or folder without moving it to the trash. [See the docs](https://developers.google.com/drive/api/v3/reference/files/delete) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/delete-shared-drive/delete-shared-drive.mjs b/components/google_drive/actions/delete-shared-drive/delete-shared-drive.mjs index 2a845ad1a4e0e..81436d05ba194 100644 --- a/components/google_drive/actions/delete-shared-drive/delete-shared-drive.mjs +++ b/components/google_drive/actions/delete-shared-drive/delete-shared-drive.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-delete-shared-drive", name: "Delete Shared Drive", description: "Delete a shared drive without any content. [See the docs](https://developers.google.com/drive/api/v3/reference/drives/delete) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/download-file/download-file.mjs b/components/google_drive/actions/download-file/download-file.mjs index 3ed39c1425a49..d22e11880fad6 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 docs](https://developers.google.com/drive/api/v3/manage-downloads) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/find-file/find-file.mjs b/components/google_drive/actions/find-file/find-file.mjs index 0d5431ddfaa8b..da4c26888c839 100644 --- a/components/google_drive/actions/find-file/find-file.mjs +++ b/components/google_drive/actions/find-file/find-file.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-find-file", name: "Find File", description: "Search for a specific file by name. [See the docs](https://developers.google.com/drive/api/v3/search-files) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/find-folder/find-folder.mjs b/components/google_drive/actions/find-folder/find-folder.mjs index 1c8efcb3cb7d7..8c3fd7d659d54 100644 --- a/components/google_drive/actions/find-folder/find-folder.mjs +++ b/components/google_drive/actions/find-folder/find-folder.mjs @@ -7,7 +7,7 @@ export default { key: "google_drive-find-folder", name: "Find Folder", description: "Search for a specific folder by name. [See the docs](https://developers.google.com/drive/api/v3/search-files) for more information", - version: "0.0.6", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/find-spreadsheets/find-spreadsheets.mjs b/components/google_drive/actions/find-spreadsheets/find-spreadsheets.mjs index d9d3813fc0506..7e99ecd2c6a47 100644 --- a/components/google_drive/actions/find-spreadsheets/find-spreadsheets.mjs +++ b/components/google_drive/actions/find-spreadsheets/find-spreadsheets.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-find-spreadsheets", name: "Find Spreadsheets", description: "Search for a specific spreadsheet by name. [See the docs](https://developers.google.com/drive/api/v3/search-files) for more information", - version: "0.0.1", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/get-folder-id-for-path/get-folder-id-for-path.mjs b/components/google_drive/actions/get-folder-id-for-path/get-folder-id-for-path.mjs index df6f21d45992d..e2503d852f224 100644 --- a/components/google_drive/actions/get-folder-id-for-path/get-folder-id-for-path.mjs +++ b/components/google_drive/actions/get-folder-id-for-path/get-folder-id-for-path.mjs @@ -12,7 +12,7 @@ export default { key: "google_drive-get-folder-id-for-path", name: "Get Folder ID for a Path", description: "Retrieve a folderId for a path. [See the docs](https://developers.google.com/drive/api/v3/search-files) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/get-shared-drive/get-shared-drive.mjs b/components/google_drive/actions/get-shared-drive/get-shared-drive.mjs index b2e7945bf305a..fd3b993110561 100644 --- a/components/google_drive/actions/get-shared-drive/get-shared-drive.mjs +++ b/components/google_drive/actions/get-shared-drive/get-shared-drive.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-get-shared-drive", name: "Get Shared Drive", description: "Get a shared drive's metadata by ID. [See the docs](https://developers.google.com/drive/api/v3/reference/drives/get) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/list-files/list-files.mjs b/components/google_drive/actions/list-files/list-files.mjs index 57b4eeb148dda..4756065282687 100644 --- a/components/google_drive/actions/list-files/list-files.mjs +++ b/components/google_drive/actions/list-files/list-files.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-list-files", name: "List Files", description: "List files from a specific folder. [See the docs](https://developers.google.com/drive/api/v3/reference/files/list) for more information", - version: "0.0.3", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/move-file-to-trash/move-file-to-trash.mjs b/components/google_drive/actions/move-file-to-trash/move-file-to-trash.mjs index e2549c224cfa3..d41a6dba58ba1 100644 --- a/components/google_drive/actions/move-file-to-trash/move-file-to-trash.mjs +++ b/components/google_drive/actions/move-file-to-trash/move-file-to-trash.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-move-file-to-trash", name: "Move File to Trash", description: "Move a file or folder to trash. [See the docs](https://developers.google.com/drive/api/v3/reference/files/update) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/move-file/move-file.mjs b/components/google_drive/actions/move-file/move-file.mjs index 0f3d3ef27303c..c22fa80945559 100644 --- a/components/google_drive/actions/move-file/move-file.mjs +++ b/components/google_drive/actions/move-file/move-file.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-move-file", name: "Move File", description: "Move a file from one folder to another. [See the docs](https://developers.google.com/drive/api/v3/reference/files/update) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/replace-file/replace-file.mjs b/components/google_drive/actions/replace-file/replace-file.mjs index 767fb3cf8c7cd..430d0a7b47b09 100644 --- a/components/google_drive/actions/replace-file/replace-file.mjs +++ b/components/google_drive/actions/replace-file/replace-file.mjs @@ -15,7 +15,7 @@ export default { key: "google_drive-replace-file", name: "Replace File", description: "Upload a file that replaces an existing file. [See the docs](https://developers.google.com/drive/api/v3/reference/files/update) for more information", - version: "0.0.6", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/search-shared-drives/search-shared-drives.mjs b/components/google_drive/actions/search-shared-drives/search-shared-drives.mjs index a4f46de75bbe4..5037dc25439f7 100644 --- a/components/google_drive/actions/search-shared-drives/search-shared-drives.mjs +++ b/components/google_drive/actions/search-shared-drives/search-shared-drives.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-search-shared-drives", name: "Search for Shared Drives", description: "Search for shared drives with query options. [See the docs](https://developers.google.com/drive/api/v3/search-shareddrives) for more information", - version: "0.0.4", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/update-file/update-file.mjs b/components/google_drive/actions/update-file/update-file.mjs index 4d56162c3bf94..cb7cf4e4e3099 100644 --- a/components/google_drive/actions/update-file/update-file.mjs +++ b/components/google_drive/actions/update-file/update-file.mjs @@ -8,7 +8,7 @@ export default { key: "google_drive-update-file", name: "Update File", description: "Update a file's metadata and/or content. [See the docs](https://developers.google.com/drive/api/v3/reference/files/update) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/update-shared-drive/update-shared-drive.mjs b/components/google_drive/actions/update-shared-drive/update-shared-drive.mjs index 0a81a89747520..d6e16f1f4b8b2 100644 --- a/components/google_drive/actions/update-shared-drive/update-shared-drive.mjs +++ b/components/google_drive/actions/update-shared-drive/update-shared-drive.mjs @@ -4,7 +4,7 @@ export default { key: "google_drive-update-shared-drive", name: "Update Shared Drive", description: "Update an existing shared drive. [See the docs](https://developers.google.com/drive/api/v3/reference/drives/update) for more information", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/actions/upload-file/upload-file.mjs b/components/google_drive/actions/upload-file/upload-file.mjs index ef80f4ecbb243..bb028fa49560b 100644 --- a/components/google_drive/actions/upload-file/upload-file.mjs +++ b/components/google_drive/actions/upload-file/upload-file.mjs @@ -10,7 +10,7 @@ export default { key: "google_drive-upload-file", name: "Upload File", description: "Copy an existing file to Google Drive. [See the docs](https://developers.google.com/drive/api/v3/manage-uploads) for more information", - version: "0.0.8", + version: "0.1.0", type: "action", props: { googleDrive, diff --git a/components/google_drive/common/utils.mjs b/components/google_drive/common/utils.mjs index a69be6f9c1cae..bdcc306c67e7e 100644 --- a/components/google_drive/common/utils.mjs +++ b/components/google_drive/common/utils.mjs @@ -1,5 +1,5 @@ import fs from "fs"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; import { MY_DRIVE_VALUE, LEGACY_MY_DRIVE_VALUE, @@ -74,11 +74,11 @@ async function getFileStream({ }) { if (fileUrl) { try { - return (await axios({ + return await axios(this, { url: fileUrl, method: "GET", responseType: "stream", - })).data; + }); } catch (e) { throw new Error(`Status ${e.response.status} ${e.response.statusText}. ${e.message}`); } diff --git a/components/google_drive/google_drive.app.mjs b/components/google_drive/google_drive.app.mjs index ab450ff857c84..256df1f84b697 100644 --- a/components/google_drive/google_drive.app.mjs +++ b/components/google_drive/google_drive.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import drive from "@googleapis/drive"; import { v4 as uuid } from "uuid"; import isoLanguages from "./actions/language-codes.mjs"; @@ -116,7 +116,7 @@ export default { updateTypes: { type: "string[]", label: "Types of updates", - description: `The types of updates you want to watch for on these files. + description: `The types of updates you want to watch for on these files. [See Google's docs] (https://developers.google.com/drive/api/v3/push#understanding-drive-api-notification-events).`, default: GOOGLE_DRIVE_UPDATE_TYPES, @@ -134,7 +134,7 @@ export default { type: "string", label: "File URL", description: toSingleLineString(` - The URL of the file you want to upload to Google Drive. Must specify either **File URL** + The URL of the file you want to upload to Google Drive. Must specify either **File URL** or **File Path**. `), optional: true, @@ -184,10 +184,10 @@ export default { label: "Upload Type", description: `The type of upload request to the /upload URI. If you are uploading data (using an /upload URI), this field is required. If you are creating a metadata-only file, - this field is not required. + this field is not required. media - Simple upload. Upload the media only, without any metadata. multipart - Multipart upload. Upload both the media and its metadata, in a single request. - resumable - Resumable upload. Upload the file in a resumable fashion, using a series of + resumable - Resumable upload. Upload the file in a resumable fashion, using a series of at least two requests where the first request includes the metadata.`, options: GOOGLE_DRIVE_UPLOAD_TYPES, }, @@ -249,7 +249,7 @@ export default { label: "Keep Revision Forever", description: toSingleLineString(` Whether to set the 'keepForever' field in the new head revision. This is only applicable - to files with binary content in Google Drive. Only 200 revisions for the file can be kept + to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions. `), optional: true, @@ -277,15 +277,13 @@ export default { // which we can use to fetch the file's metadata. So we use axios here // (vs. the Node client) to get that. async getFileMetadata(url) { - return ( - await axios({ - method: "GET", - headers: { - Authorization: `Bearer ${this.$auth.oauth_access_token}`, - }, - url, - }) - ).data; + return axios(this, { + method: "GET", + url, + headers: { + Authorization: `Bearer ${this.$auth.oauth_access_token}`, + }, + }); }, /** * This method yields a list of changes that occurred to files in a diff --git a/components/google_drive/package.json b/components/google_drive/package.json index fab2ae213b503..79cfbc5bf8fa4 100644 --- a/components/google_drive/package.json +++ b/components/google_drive/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_drive", - "version": "0.4.15", + "version": "0.5.0", "description": "Pipedream Google_drive Components", "main": "google_drive.app.mjs", "keywords": [ @@ -11,8 +11,7 @@ "author": "Pipedream (https://pipedream.com/)", "dependencies": { "@googleapis/drive": "^2.3.0", - "@pipedream/platform": "^1.2.0", - "axios": "^0.21.1", + "@pipedream/platform": "^1.4.0", "mime-db": "^1.51.0", "uuid": "^8.3.2" }, diff --git a/components/google_drive/sources/changes-to-specific-files-shared-drive/changes-to-specific-files-shared-drive.mjs b/components/google_drive/sources/changes-to-specific-files-shared-drive/changes-to-specific-files-shared-drive.mjs index 2ab5bbc96efd7..e4fc775342a16 100644 --- a/components/google_drive/sources/changes-to-specific-files-shared-drive/changes-to-specific-files-shared-drive.mjs +++ b/components/google_drive/sources/changes-to-specific-files-shared-drive/changes-to-specific-files-shared-drive.mjs @@ -25,7 +25,7 @@ export default { key: "google_drive-changes-to-specific-files-shared-drive", name: "Changes to Specific Files (Shared Drive)", description: "Watches for changes to specific files in a shared drive, emitting an event any time a change is made to one of those files", - version: "0.0.2", + version: "0.1.0", type: "source", // Dedupe events based on the "x-goog-message-number" header for the target channel: // https://developers.google.com/drive/api/v3/push#making-watch-requests diff --git a/components/google_drive/sources/changes-to-specific-files/changes-to-specific-files.mjs b/components/google_drive/sources/changes-to-specific-files/changes-to-specific-files.mjs index 81eecd404ed2f..4e5cfecff44aa 100644 --- a/components/google_drive/sources/changes-to-specific-files/changes-to-specific-files.mjs +++ b/components/google_drive/sources/changes-to-specific-files/changes-to-specific-files.mjs @@ -16,7 +16,7 @@ export default { key: "google_drive-changes-to-specific-files", name: "Changes to Specific Files", description: "Watches for changes to specific files, emitting an event any time a change is made to one of those files. To watch for changes to [shared drive](https://support.google.com/a/users/answer/9310351) files, use the **Changes to Specific Files (Shared Drive)** source instead.", - version: "0.0.20", + version: "0.1.0", type: "source", // Dedupe events based on the "x-goog-message-number" header for the target channel: // https://developers.google.com/drive/api/v3/push#making-watch-requests diff --git a/components/google_drive/sources/new-files-instant/new-files-instant.mjs b/components/google_drive/sources/new-files-instant/new-files-instant.mjs index 5688654c5ec9c..ffac66bfece89 100644 --- a/components/google_drive/sources/new-files-instant/new-files-instant.mjs +++ b/components/google_drive/sources/new-files-instant/new-files-instant.mjs @@ -9,7 +9,7 @@ export default { key: "google_drive-new-files-instant", name: "New Files (Instant)", description: "Emit new event any time a new file is added in your linked Google Drive", - version: "0.0.16", + version: "0.1.0", type: "source", dedupe: "unique", props: { diff --git a/components/google_drive/sources/new-or-modified-comments/new-or-modified-comments.mjs b/components/google_drive/sources/new-or-modified-comments/new-or-modified-comments.mjs index 83851c8bcaf49..50dc8b0ac3fd4 100644 --- a/components/google_drive/sources/new-or-modified-comments/new-or-modified-comments.mjs +++ b/components/google_drive/sources/new-or-modified-comments/new-or-modified-comments.mjs @@ -17,7 +17,7 @@ export default { name: "New or Modified Comments", description: "Emits a new event any time a file comment is added, modified, or deleted in your linked Google Drive", - version: "0.0.10", + version: "0.1.0", type: "source", // Dedupe events based on the "x-goog-message-number" header for the target channel: // https://developers.google.com/drive/api/v3/push#making-watch-requests diff --git a/components/google_drive/sources/new-or-modified-files/new-or-modified-files.mjs b/components/google_drive/sources/new-or-modified-files/new-or-modified-files.mjs index dd779a2b63551..c6244ee913635 100644 --- a/components/google_drive/sources/new-or-modified-files/new-or-modified-files.mjs +++ b/components/google_drive/sources/new-or-modified-files/new-or-modified-files.mjs @@ -20,7 +20,7 @@ export default { key: "google_drive-new-or-modified-files", name: "New or Modified Files", description: "Emit new event any time any file in your linked Google Drive is added, modified, or deleted", - version: "0.0.22", + version: "0.1.0", type: "source", // Dedupe events based on the "x-goog-message-number" header for the target channel: // https://developers.google.com/drive/api/v3/push#making-watch-requests diff --git a/components/google_drive/sources/new-or-modified-folders/new-or-modified-folders.mjs b/components/google_drive/sources/new-or-modified-folders/new-or-modified-folders.mjs index e659b181ec3ac..e5db596c5e2e5 100644 --- a/components/google_drive/sources/new-or-modified-folders/new-or-modified-folders.mjs +++ b/components/google_drive/sources/new-or-modified-folders/new-or-modified-folders.mjs @@ -20,7 +20,7 @@ export default { key: "google_drive-new-or-modified-folders", name: "New or Modified Folders", description: "Emit new event any time any folder in your linked Google Drive is added, modified, or deleted", - version: "0.0.11", + version: "0.1.0", type: "source", // Dedupe events based on the "x-goog-message-number" header for the target channel: // https://developers.google.com/drive/api/v3/push#making-watch-requests diff --git a/components/google_drive/sources/new-shared-drive/new-shared-drive.mjs b/components/google_drive/sources/new-shared-drive/new-shared-drive.mjs index dc35d3734321a..b03794e189a86 100644 --- a/components/google_drive/sources/new-shared-drive/new-shared-drive.mjs +++ b/components/google_drive/sources/new-shared-drive/new-shared-drive.mjs @@ -5,7 +5,7 @@ export default { key: "google_drive-new-shared-drive", name: "New Shared Drive", description: "Emits a new event any time a shared drive is created.", - version: "0.0.12", + version: "0.1.0", type: "source", dedupe: "unique", props: { diff --git a/components/google_drive/sources/new-spreadsheet/new-spreadsheet.mjs b/components/google_drive/sources/new-spreadsheet/new-spreadsheet.mjs index 3d6071d857d0c..ac888f2cb08c9 100644 --- a/components/google_drive/sources/new-spreadsheet/new-spreadsheet.mjs +++ b/components/google_drive/sources/new-spreadsheet/new-spreadsheet.mjs @@ -6,7 +6,7 @@ export default { type: "source", name: "New Spreadsheet (Instant)", description: "Emit new event each time a new spreadsheet is created in a drive.", - version: "0.0.2", + version: "0.1.0", props: { googleDrive: newFilesInstant.props.googleDrive, db: newFilesInstant.props.db, From 8f2b3be850dac319843c08d70846d24eaafe48e0 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:19:34 -0300 Subject: [PATCH 16/31] google_sheets --- .../actions/add-multiple-rows/add-multiple-rows.mjs | 2 +- .../actions/add-single-row/add-single-row.mjs | 2 +- components/google_sheets/actions/clear-cell/clear-cell.mjs | 2 +- components/google_sheets/actions/clear-row/clear-row.mjs | 2 +- .../actions/copy-worksheet/copy-worksheet.mjs | 2 +- .../google_sheets/actions/create-column/create-column.mjs | 2 +- .../actions/create-spreadsheet/create-spreadsheet.mjs | 2 +- .../actions/create-worksheet/create-worksheet.mjs | 2 +- components/google_sheets/actions/delete-row/delete-row.mjs | 2 +- .../actions/delete-worksheet/delete-worksheet.mjs | 2 +- components/google_sheets/actions/find-row/find-row.mjs | 2 +- components/google_sheets/actions/get-cell/get-cell.mjs | 2 +- .../get-spreadsheet-by-id/get-spreadsheet-by-id.mjs | 2 +- .../actions/get-values-in-range/get-values-in-range.mjs | 2 +- components/google_sheets/actions/get-values/get-values.mjs | 2 +- .../actions/insert-anchored-note/insert-anchored-note.mjs | 2 +- .../actions/insert-comment/insert-comment.mjs | 2 +- .../actions/list-worksheets/list-worksheets.mjs | 2 +- .../google_sheets/actions/update-cell/update-cell.mjs | 2 +- components/google_sheets/actions/update-row/update-row.mjs | 2 +- .../google_sheets/actions/update-rows/update-rows.mjs | 2 +- components/google_sheets/actions/upsert-row/upsert-row.mjs | 2 +- components/google_sheets/google_sheets.app.mjs | 7 ++++--- components/google_sheets/package.json | 5 ++--- .../new-row-added-shared-drive.mjs | 2 +- .../google_sheets/sources/new-row-added/new-row-added.mjs | 2 +- .../new-updates-shared-drive/new-updates-shared-drive.mjs | 2 +- .../google_sheets/sources/new-updates/new-updates.mjs | 2 +- .../new-worksheet-shared-drive.mjs | 2 +- .../google_sheets/sources/new-worksheet/new-worksheet.mjs | 2 +- 30 files changed, 34 insertions(+), 34 deletions(-) diff --git a/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs b/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs index f5d1f989023bd..bc1f1ce1df3a5 100644 --- a/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs +++ b/components/google_sheets/actions/add-multiple-rows/add-multiple-rows.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-add-multiple-rows", name: "Add Multiple Rows", description: "Add multiple rows of data to a Google Sheet", - version: "0.1.6", + version: "0.2.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/add-single-row/add-single-row.mjs b/components/google_sheets/actions/add-single-row/add-single-row.mjs index 7145105913e5f..d31610a05e6a2 100644 --- a/components/google_sheets/actions/add-single-row/add-single-row.mjs +++ b/components/google_sheets/actions/add-single-row/add-single-row.mjs @@ -5,7 +5,7 @@ export default { key: "google_sheets-add-single-row", name: "Add Single Row", description: "Add a single row of data to Google Sheets", - version: "2.0.10", + version: "2.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/clear-cell/clear-cell.mjs b/components/google_sheets/actions/clear-cell/clear-cell.mjs index a7ab946e20e7c..f6f9723c47e38 100644 --- a/components/google_sheets/actions/clear-cell/clear-cell.mjs +++ b/components/google_sheets/actions/clear-cell/clear-cell.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-clear-cell", name: "Clear Cell", description: "Delete the content of a specific cell in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/clear-row/clear-row.mjs b/components/google_sheets/actions/clear-row/clear-row.mjs index 6081d75b2bf5a..f0cd5b33c2ef5 100644 --- a/components/google_sheets/actions/clear-row/clear-row.mjs +++ b/components/google_sheets/actions/clear-row/clear-row.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-clear-row", name: "Clear Row", description: "Delete the content of a row in a spreadsheet. Deleted rows will appear as blank rows.", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs b/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs index 165c8b242b099..5269034aed0aa 100644 --- a/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs +++ b/components/google_sheets/actions/copy-worksheet/copy-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-copy-worksheet", name: "Copy Worksheet", description: "Copy an existing worksheet to another Google Sheets file", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/create-column/create-column.mjs b/components/google_sheets/actions/create-column/create-column.mjs index 0c9dfc0339f0b..709140a823641 100644 --- a/components/google_sheets/actions/create-column/create-column.mjs +++ b/components/google_sheets/actions/create-column/create-column.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-create-column", name: "Create Column", description: "Create a new column in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs b/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs index 40545db0b26b8..f9396b521bb5e 100644 --- a/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs +++ b/components/google_sheets/actions/create-spreadsheet/create-spreadsheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-create-spreadsheet", name: "Create Spreadsheet", description: "Create a blank spreadsheet or duplicate an existing spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/create-worksheet/create-worksheet.mjs b/components/google_sheets/actions/create-worksheet/create-worksheet.mjs index 9478ee26e9265..8025c8c19a268 100644 --- a/components/google_sheets/actions/create-worksheet/create-worksheet.mjs +++ b/components/google_sheets/actions/create-worksheet/create-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-create-worksheet", name: "Create Worksheet", description: "Create a blank worksheet with a title", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/delete-row/delete-row.mjs b/components/google_sheets/actions/delete-row/delete-row.mjs index 899e031bd324b..610448ceb54a0 100644 --- a/components/google_sheets/actions/delete-row/delete-row.mjs +++ b/components/google_sheets/actions/delete-row/delete-row.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-delete-row", name: "Delete Row", description: "Deletes a specific row in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs b/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs index c17728141d2e4..36e2c10bd8f42 100644 --- a/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs +++ b/components/google_sheets/actions/delete-worksheet/delete-worksheet.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-delete-worksheet", name: "Delete Worksheet", description: "Delete a specific worksheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/find-row/find-row.mjs b/components/google_sheets/actions/find-row/find-row.mjs index e0b55b4b1d1fc..8698f28170ee0 100644 --- a/components/google_sheets/actions/find-row/find-row.mjs +++ b/components/google_sheets/actions/find-row/find-row.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-find-row", name: "Find Row", description: "Find one or more rows by a column and value", - version: "0.1.4", + version: "0.2.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/get-cell/get-cell.mjs b/components/google_sheets/actions/get-cell/get-cell.mjs index 2850a80b954b8..d985c53041893 100644 --- a/components/google_sheets/actions/get-cell/get-cell.mjs +++ b/components/google_sheets/actions/get-cell/get-cell.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-get-cell", name: "Get Cell", description: "Fetch the contents of a specific cell in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs b/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs index 7496cf627a887..70b7fb345a8ca 100644 --- a/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs +++ b/components/google_sheets/actions/get-spreadsheet-by-id/get-spreadsheet-by-id.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-get-spreadsheet-by-id", name: "Get Spreadsheet by ID", description: "Returns the spreadsheet at the given ID. [See the docs](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get) for more information", - version: "0.0.1", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs b/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs index d718b845a1977..e7034502c4dd8 100644 --- a/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs +++ b/components/google_sheets/actions/get-values-in-range/get-values-in-range.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-get-values-in-range", name: "Get Values in Range", description: "Get values from a range of cells using A1 notation.", - version: "0.0.9", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/get-values/get-values.mjs b/components/google_sheets/actions/get-values/get-values.mjs index 9fbbda602090c..1cf6d19dd8c70 100644 --- a/components/google_sheets/actions/get-values/get-values.mjs +++ b/components/google_sheets/actions/get-values/get-values.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-get-values", name: "Get Values", description: "Get all values from a sheet.", - version: "0.0.17", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs b/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs index 0d5dadb6dd932..c3eb10b2fb7e5 100644 --- a/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs +++ b/components/google_sheets/actions/insert-anchored-note/insert-anchored-note.mjs @@ -5,7 +5,7 @@ export default { key: "google_sheets-insert-anchored-note", name: "Insert an Anchored Note", description: "Insert a note on a spreadsheet cell. [See the docs here](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/batchUpdate)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { app, diff --git a/components/google_sheets/actions/insert-comment/insert-comment.mjs b/components/google_sheets/actions/insert-comment/insert-comment.mjs index a135fc2255892..a4c0a247399e9 100644 --- a/components/google_sheets/actions/insert-comment/insert-comment.mjs +++ b/components/google_sheets/actions/insert-comment/insert-comment.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-insert-comment", name: "Insert Comment", description: "Insert a comment into a spreadsheet. [See the docs here](https://developers.google.com/drive/api/v3/reference/comments/create)", - version: "0.0.3", + version: "0.1.0", type: "action", props: { app, diff --git a/components/google_sheets/actions/list-worksheets/list-worksheets.mjs b/components/google_sheets/actions/list-worksheets/list-worksheets.mjs index 4b328095b0625..0429d4ecdf466 100644 --- a/components/google_sheets/actions/list-worksheets/list-worksheets.mjs +++ b/components/google_sheets/actions/list-worksheets/list-worksheets.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-list-worksheets", name: "List Worksheets", description: "Get a list of all worksheets in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/update-cell/update-cell.mjs b/components/google_sheets/actions/update-cell/update-cell.mjs index 6c5fae12d3ba8..84d18a3ca9b71 100644 --- a/components/google_sheets/actions/update-cell/update-cell.mjs +++ b/components/google_sheets/actions/update-cell/update-cell.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-update-cell", name: "Update Cell", description: "Update a cell in a spreadsheet", - version: "0.0.6", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/update-row/update-row.mjs b/components/google_sheets/actions/update-row/update-row.mjs index fe04127b2a535..554929f431bdd 100644 --- a/components/google_sheets/actions/update-row/update-row.mjs +++ b/components/google_sheets/actions/update-row/update-row.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-update-row", name: "Update Row", description: "Update a row in a spreadsheet", - version: "0.0.5", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/update-rows/update-rows.mjs b/components/google_sheets/actions/update-rows/update-rows.mjs index d5f1fd353dd0c..f55f30b0e77b7 100644 --- a/components/google_sheets/actions/update-rows/update-rows.mjs +++ b/components/google_sheets/actions/update-rows/update-rows.mjs @@ -4,7 +4,7 @@ export default { key: "google_sheets-update-rows", name: "Update Rows", description: "Update multiple rows in a spreadsheet defined by a range", - version: "0.0.2", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/actions/upsert-row/upsert-row.mjs b/components/google_sheets/actions/upsert-row/upsert-row.mjs index 587a4373c3f6d..deca33aa4196b 100644 --- a/components/google_sheets/actions/upsert-row/upsert-row.mjs +++ b/components/google_sheets/actions/upsert-row/upsert-row.mjs @@ -21,7 +21,7 @@ export default { key: "google_sheets-upsert-row", name: "Upsert Row", description: "Upsert a row of data in a Google Sheet", - version: "0.0.7", + version: "0.1.0", type: "action", props: { googleSheets, diff --git a/components/google_sheets/google_sheets.app.mjs b/components/google_sheets/google_sheets.app.mjs index 34033f1b8c69c..0d86a7db1709a 100644 --- a/components/google_sheets/google_sheets.app.mjs +++ b/components/google_sheets/google_sheets.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import sheets from "@googleapis/sheets"; import googleDrive from "../google_drive/google_drive.app.mjs"; import { @@ -389,9 +389,9 @@ export default { return (await sheets.spreadsheets.values.clear(request)).data; }, async addRowsToSheet({ - spreadsheetId, range, rows, params, + $ = this, spreadsheetId, range, rows, params, }) { - const resp = await axios({ + const resp = await axios($, { method: "POST", url: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${encodeURIComponent(`${range}!A:A`)}:append`, headers: { @@ -406,6 +406,7 @@ export default { data: { values: rows, }, + returnFullResponse: true, }); if (resp.status >= 400) { throw new Error(JSON.stringify(resp.data)); diff --git a/components/google_sheets/package.json b/components/google_sheets/package.json index 3184afb52b912..0f26d8774c0f8 100644 --- a/components/google_sheets/package.json +++ b/components/google_sheets/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_sheets", - "version": "0.3.15", + "version": "0.4.0", "description": "Pipedream Google_sheets Components", "main": "google_sheets.app.mjs", "keywords": [ @@ -11,8 +11,7 @@ "author": "Pipedream (https://pipedream.com/)", "dependencies": { "@googleapis/sheets": "^0.3.0", - "@pipedream/platform": "^0.10.0", - "axios": "^0.21.1", + "@pipedream/platform": "^1.4.0", "uuidv4": "^6.2.6" }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", diff --git a/components/google_sheets/sources/new-row-added-shared-drive/new-row-added-shared-drive.mjs b/components/google_sheets/sources/new-row-added-shared-drive/new-row-added-shared-drive.mjs index b62b1606eb8e7..09b01a4e67420 100644 --- a/components/google_sheets/sources/new-row-added-shared-drive/new-row-added-shared-drive.mjs +++ b/components/google_sheets/sources/new-row-added-shared-drive/new-row-added-shared-drive.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-new-row-added-shared-drive", name: "New Row Added (Shared Drive, Instant)", description: "Emit new events each time a row or rows are added to the bottom of a spreadsheet in a shared drive", - version: "0.0.5", + version: "0.1.0", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-row-added/new-row-added.mjs b/components/google_sheets/sources/new-row-added/new-row-added.mjs index 86948eeca46d7..d9000f60efcbb 100644 --- a/components/google_sheets/sources/new-row-added/new-row-added.mjs +++ b/components/google_sheets/sources/new-row-added/new-row-added.mjs @@ -7,7 +7,7 @@ export default { key: "google_sheets-new-row-added", name: "New Row Added (Instant)", description: "Emit new events each time a row or rows are added to the bottom of a spreadsheet. To use this source with a spreadsheet in a [Shared Drive](https://support.google.com/a/users/answer/9310351), use the **New Row Added (Shared Drive, Instant)** source instead.", - version: "0.0.30", + version: "0.1.0", dedupe: "unique", type: "source", props: { diff --git a/components/google_sheets/sources/new-updates-shared-drive/new-updates-shared-drive.mjs b/components/google_sheets/sources/new-updates-shared-drive/new-updates-shared-drive.mjs index 728281bbd6394..b18e18cff7ff9 100644 --- a/components/google_sheets/sources/new-updates-shared-drive/new-updates-shared-drive.mjs +++ b/components/google_sheets/sources/new-updates-shared-drive/new-updates-shared-drive.mjs @@ -8,7 +8,7 @@ export default { type: "source", name: "New Updates (Shared Drive, Instant)", description: "Emit new event each time a row or cell is updated in a spreadsheet in a shared drive", - version: "0.0.2", + version: "0.1.0", dedupe: "unique", props: { ...httpBase.props, diff --git a/components/google_sheets/sources/new-updates/new-updates.mjs b/components/google_sheets/sources/new-updates/new-updates.mjs index f2f190840d827..7e82941f0b646 100644 --- a/components/google_sheets/sources/new-updates/new-updates.mjs +++ b/components/google_sheets/sources/new-updates/new-updates.mjs @@ -8,7 +8,7 @@ export default { type: "source", name: "New Updates (Instant)", description: "Emit new event each time a row or cell is updated in a spreadsheet. To use this source with a spreadsheet in a [Shared Drive](https://support.google.com/a/users/answer/9310351), use the **New Updates (Shared Drive, Instant)** source instead.", - version: "0.0.28", + version: "0.1.0", dedupe: "unique", props: { ...httpBase.props, diff --git a/components/google_sheets/sources/new-worksheet-shared-drive/new-worksheet-shared-drive.mjs b/components/google_sheets/sources/new-worksheet-shared-drive/new-worksheet-shared-drive.mjs index 554c6298764a4..025484116c3f9 100644 --- a/components/google_sheets/sources/new-worksheet-shared-drive/new-worksheet-shared-drive.mjs +++ b/components/google_sheets/sources/new-worksheet-shared-drive/new-worksheet-shared-drive.mjs @@ -8,7 +8,7 @@ export default { type: "source", name: "New Worksheet (Shared Drive, Instant)", description: "Emit new event each time a new worksheet is created in a spreadsheet in a shared drive", - version: "0.0.2", + version: "0.1.0", dedupe: "unique", hooks: { ...httpBase.hooks, diff --git a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs index f87e124869c33..769403652408e 100644 --- a/components/google_sheets/sources/new-worksheet/new-worksheet.mjs +++ b/components/google_sheets/sources/new-worksheet/new-worksheet.mjs @@ -8,7 +8,7 @@ export default { type: "source", name: "New Worksheet (Instant)", description: "Emit new event each time a new worksheet is created in a spreadsheet. To use this source with a spreadsheet in a [Shared Drive](https://support.google.com/a/users/answer/9310351), use the **New Worksheet (Shared Drive, Instant)** source instead.", - version: "0.0.15", + version: "0.1.0", dedupe: "unique", hooks: { ...httpBase.hooks, From b649c09c9223403164aae54611c66ce27e83b01f Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:21:35 -0300 Subject: [PATCH 17/31] netlify --- components/netlify/actions/get-site/get-site.mjs | 2 +- components/netlify/actions/list-files/list-files.mjs | 2 +- .../actions/list-site-deploys/list-site-deploys.mjs | 2 +- .../netlify/actions/rollback-deploy/rollback-deploy.mjs | 2 +- components/netlify/netlify.app.mjs | 9 ++++++--- components/netlify/package.json | 4 ++-- .../sources/new-deploy-failure/new-deploy-failure.mjs | 2 +- .../sources/new-deploy-start/new-deploy-start.mjs | 2 +- .../sources/new-deploy-success/new-deploy-success.mjs | 2 +- .../sources/new-form-submission/new-form-submission.mjs | 2 +- 10 files changed, 16 insertions(+), 13 deletions(-) diff --git a/components/netlify/actions/get-site/get-site.mjs b/components/netlify/actions/get-site/get-site.mjs index 4e8c917e4f911..75815a06f249b 100644 --- a/components/netlify/actions/get-site/get-site.mjs +++ b/components/netlify/actions/get-site/get-site.mjs @@ -4,7 +4,7 @@ export default { key: "netlify-get-site", name: "Get Site", description: "Get a specified site. [See docs](https://docs.netlify.com/api/get-started/#get-sites)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { netlify, diff --git a/components/netlify/actions/list-files/list-files.mjs b/components/netlify/actions/list-files/list-files.mjs index 65b923e9a5bb6..d494b06f23751 100644 --- a/components/netlify/actions/list-files/list-files.mjs +++ b/components/netlify/actions/list-files/list-files.mjs @@ -4,7 +4,7 @@ export default { key: "netlify-list-files", name: "List Files", description: "Returns a list of all the files in the current deploy. [See docs](https://docs.netlify.com/api/get-started/#get-files)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { netlify, diff --git a/components/netlify/actions/list-site-deploys/list-site-deploys.mjs b/components/netlify/actions/list-site-deploys/list-site-deploys.mjs index beb15de32345f..76078a55b1d2f 100644 --- a/components/netlify/actions/list-site-deploys/list-site-deploys.mjs +++ b/components/netlify/actions/list-site-deploys/list-site-deploys.mjs @@ -4,7 +4,7 @@ export default { key: "netlify-list-site-deploys", name: "List Site Deploys", description: "Returns a list of all deploys for a specific site. [See docs](https://docs.netlify.com/api/get-started/#get-deploys)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { netlify, diff --git a/components/netlify/actions/rollback-deploy/rollback-deploy.mjs b/components/netlify/actions/rollback-deploy/rollback-deploy.mjs index 6d90c05879706..d8c155a497018 100644 --- a/components/netlify/actions/rollback-deploy/rollback-deploy.mjs +++ b/components/netlify/actions/rollback-deploy/rollback-deploy.mjs @@ -4,7 +4,7 @@ export default { key: "netlify-rollback-deploy", name: "Rollback Deploy", description: "Restores an old deploy and makes it the live version of the site. [See docs](https://docs.netlify.com/api/get-started/#restore-deploy-rollback)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { netlify, diff --git a/components/netlify/netlify.app.mjs b/components/netlify/netlify.app.mjs index e4028843094ed..75451d5fe849b 100644 --- a/components/netlify/netlify.app.mjs +++ b/components/netlify/netlify.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import { randomBytes, createHash, @@ -129,8 +129,11 @@ export default { const { data, headers, - } = await axios.get(url, - requestConfig); + } = await axios(this, { + url, + returnFullResponse: true, + ...requestConfig, + }); // https://docs.netlify.com/api/get-started/#link-header const { next } = parseLinkHeader(headers.link); diff --git a/components/netlify/package.json b/components/netlify/package.json index 3a468f918ed41..30d697c5c3141 100644 --- a/components/netlify/package.json +++ b/components/netlify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/netlify", - "version": "0.3.5", + "version": "0.4.0", "description": "Pipedream Netlify Components", "main": "netlify.app.js", "keywords": [ @@ -10,7 +10,7 @@ "homepage": "https://pipedream.com/apps/netlify", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.21.1", + "@pipedream/platform": "^1.4.0", "jwt-simple": "^0.5.6", "netlify": "^6.0.9", "parse-link-header": "^1.0.1" diff --git a/components/netlify/sources/new-deploy-failure/new-deploy-failure.mjs b/components/netlify/sources/new-deploy-failure/new-deploy-failure.mjs index 6192cac8d0d49..c54632654b799 100644 --- a/components/netlify/sources/new-deploy-failure/new-deploy-failure.mjs +++ b/components/netlify/sources/new-deploy-failure/new-deploy-failure.mjs @@ -7,7 +7,7 @@ export default { name: "New Deploy Failure (Instant)", description: "Emit new event when a new deployment fails", type: "source", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", methods: { ...webhook.methods, diff --git a/components/netlify/sources/new-deploy-start/new-deploy-start.mjs b/components/netlify/sources/new-deploy-start/new-deploy-start.mjs index 5759d3b23e6ff..04224bc60baa2 100644 --- a/components/netlify/sources/new-deploy-start/new-deploy-start.mjs +++ b/components/netlify/sources/new-deploy-start/new-deploy-start.mjs @@ -7,7 +7,7 @@ export default { name: "New Deploy Start (Instant)", description: "Emit new event when a new deployment is started", type: "source", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", methods: { ...webhook.methods, diff --git a/components/netlify/sources/new-deploy-success/new-deploy-success.mjs b/components/netlify/sources/new-deploy-success/new-deploy-success.mjs index a5051c7703283..9041575ecda5d 100644 --- a/components/netlify/sources/new-deploy-success/new-deploy-success.mjs +++ b/components/netlify/sources/new-deploy-success/new-deploy-success.mjs @@ -7,7 +7,7 @@ export default { name: "New Deploy Success (Instant)", description: "Emit new event when a new deployment is completed", type: "source", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", methods: { ...webhook.methods, diff --git a/components/netlify/sources/new-form-submission/new-form-submission.mjs b/components/netlify/sources/new-form-submission/new-form-submission.mjs index 26b2e278225bd..0d1d1f3299c87 100644 --- a/components/netlify/sources/new-form-submission/new-form-submission.mjs +++ b/components/netlify/sources/new-form-submission/new-form-submission.mjs @@ -7,7 +7,7 @@ export default { name: "New Form Submission (Instant)", description: "Emit new event when a user submits a form", type: "source", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", methods: { ...webhook.methods, From d9b47aaafedbaac2a5d30e2964768ddef05124d3 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:24:11 -0300 Subject: [PATCH 18/31] pinterest --- components/pinterest/actions/create-pin/create-pin.mjs | 2 +- components/pinterest/common/utils.mjs | 5 +++-- components/pinterest/package.json | 7 +++---- components/pinterest/sources/new-board/new-board.mjs | 2 +- components/pinterest/sources/new-pin/new-pin.mjs | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/pinterest/actions/create-pin/create-pin.mjs b/components/pinterest/actions/create-pin/create-pin.mjs index f94d6d221055b..a927c2d10d394 100644 --- a/components/pinterest/actions/create-pin/create-pin.mjs +++ b/components/pinterest/actions/create-pin/create-pin.mjs @@ -5,7 +5,7 @@ import utils from "../../common/utils.mjs"; export default { type: "action", key: "pinterest-create-pin", - version: "0.0.2", + version: "0.1.0", name: "Create a Pin", description: "Create a Pin on a board or board section, [See the docs](https://developers.pinterest.com/docs/api/v5/#operation/pins/create)", props: { diff --git a/components/pinterest/common/utils.mjs b/components/pinterest/common/utils.mjs index 6f7b8d0971b27..fe586b1587266 100644 --- a/components/pinterest/common/utils.mjs +++ b/components/pinterest/common/utils.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import fs from "fs"; import urlExists from "url-exist"; import { encode } from "js-base64"; @@ -33,10 +33,11 @@ export default { async getUrlResource(url) { try { const path = `/tmp/${(Math.random() + 1).toString(36).substring(2)}`; - const response = await axios({ + const response = await axios(this, { url, method: "GET", responseType: "stream", + returnFullResponse: true, }); return new Promise((resolve, reject) => { const writeStream = response.data.pipe(fs.createWriteStream(path)); diff --git a/components/pinterest/package.json b/components/pinterest/package.json index c59bc52909ceb..bb8e169abd9f6 100644 --- a/components/pinterest/package.json +++ b/components/pinterest/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/pinterest", - "version": "0.0.3", + "version": "0.1.0", "description": "Pipedream Pinterest Components", "main": "pinterest.app.mjs", "keywords": [ @@ -10,11 +10,10 @@ "homepage": "https://pipedream.com/apps/pinterest", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "@pipedream/platform": "^0.10.0", + "@pipedream/platform": "^1.4.0", "url-exist": "^3.0.0", "js-base64": "^3.7.2", - "mime-types": "^2.1.35", - "axios": "^0.27.2" + "mime-types": "^2.1.35" }, "publishConfig": { "access": "public" diff --git a/components/pinterest/sources/new-board/new-board.mjs b/components/pinterest/sources/new-board/new-board.mjs index 6e82d01229e95..3a80807e0379d 100644 --- a/components/pinterest/sources/new-board/new-board.mjs +++ b/components/pinterest/sources/new-board/new-board.mjs @@ -5,7 +5,7 @@ export default { key: "pinterest-new-board", name: "New Board Event", description: "Emit new events when new boards are created. [See the docs](https://developers.pinterest.com/docs/api/v5/#operation/boards/list)", - version: "0.0.2", + version: "0.1.0", type: "source", ...common, props: { diff --git a/components/pinterest/sources/new-pin/new-pin.mjs b/components/pinterest/sources/new-pin/new-pin.mjs index 2583326139237..3dbd06354b0d0 100644 --- a/components/pinterest/sources/new-pin/new-pin.mjs +++ b/components/pinterest/sources/new-pin/new-pin.mjs @@ -5,7 +5,7 @@ export default { key: "pinterest-new-pin", name: "New Pin Event", description: "Emit new events when new pins are created on a board or board section. [See the docs here](https://developers.pinterest.com/docs/api/v5/#operation/boards/list_pins) and [here](https://developers.pinterest.com/docs/api/v5/#operation/board_sections/list_pins)", - version: "0.0.2", + version: "0.1.0", type: "source", ...common, props: { From bdbcc524d5f6129c97f9a4d82b5db9e6e502b897 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:27:02 -0300 Subject: [PATCH 19/31] pipedream --- .../actions/create-subscription/create-subscription.mjs | 2 +- .../actions/delete-subscription/delete-subscription.mjs | 2 +- .../pipedream/actions/get-component/get-component.mjs | 2 +- components/pipedream/package.json | 5 ++--- components/pipedream/pipedream.app.mjs | 8 +++++--- .../sources/new-scheduled-tasks/new-scheduled-tasks.mjs | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/components/pipedream/actions/create-subscription/create-subscription.mjs b/components/pipedream/actions/create-subscription/create-subscription.mjs index 7a369f87b26b1..096d799018160 100644 --- a/components/pipedream/actions/create-subscription/create-subscription.mjs +++ b/components/pipedream/actions/create-subscription/create-subscription.mjs @@ -4,7 +4,7 @@ export default { key: "pipedream-create-subscription", name: "Create a Subscription", description: "Create a Subscription. [See Doc](https://pipedream.com/docs/api/rest/#subscriptions)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { pipedream, diff --git a/components/pipedream/actions/delete-subscription/delete-subscription.mjs b/components/pipedream/actions/delete-subscription/delete-subscription.mjs index efecfa6585925..564c313aaaa00 100644 --- a/components/pipedream/actions/delete-subscription/delete-subscription.mjs +++ b/components/pipedream/actions/delete-subscription/delete-subscription.mjs @@ -4,7 +4,7 @@ export default { key: "pipedream-delete-subscription", name: "Delete a Subscription", description: "Delete a Subscription. [See Doc](https://pipedream.com/docs/api/rest/#delete-a-subscription)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { pipedream, diff --git a/components/pipedream/actions/get-component/get-component.mjs b/components/pipedream/actions/get-component/get-component.mjs index fb54df076e1e6..dd684afdf9ffe 100644 --- a/components/pipedream/actions/get-component/get-component.mjs +++ b/components/pipedream/actions/get-component/get-component.mjs @@ -4,7 +4,7 @@ export default { key: "pipedream-get-component", name: "Get Component", description: "Get info for a published component. [See docs](https://pipedream.com/docs/api/rest/#get-a-component)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { pipedream, diff --git a/components/pipedream/package.json b/components/pipedream/package.json index 60e6aa7682f9f..c577331ea4c2e 100644 --- a/components/pipedream/package.json +++ b/components/pipedream/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/pipedream", - "version": "0.3.7", + "version": "0.4.0", "description": "Pipedream Pipedream Components", "main": "pipedream.app.mjs", "keywords": [ @@ -10,8 +10,7 @@ "homepage": "https://pipedream.com/apps/pipedream", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.21.1", - "convert-array-to-csv": "^2.0.0", + "@pipedream/platform": "^1.4.0", "uuidv4": "^6.2.13" }, "gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535", diff --git a/components/pipedream/pipedream.app.mjs b/components/pipedream/pipedream.app.mjs index 6df90af859ffd..d436568f9d387 100644 --- a/components/pipedream/pipedream.app.mjs +++ b/components/pipedream/pipedream.app.mjs @@ -1,5 +1,5 @@ /* eslint-disable camelcase */ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import constants from "./common/constants.mjs"; export default { @@ -63,7 +63,9 @@ export default { }, }, methods: { - async _makeAPIRequest(opts) { + async _makeAPIRequest({ + $ = this, ...opts + }) { if (!opts.headers) opts.headers = {}; opts.headers["Authorization"] = `Bearer ${this.$auth.api_key}`; opts.headers["Content-Type"] = "application/json"; @@ -74,7 +76,7 @@ export default { ? "" : "/" }${path}`; - return (await axios(opts)).data; + return axios($, opts); }, async getComponent(key, globalRegistry) { let path = "/components/"; diff --git a/components/pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs b/components/pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs index 0f46ece433e88..89efbf1613c9d 100644 --- a/components/pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs +++ b/components/pipedream/sources/new-scheduled-tasks/new-scheduled-tasks.mjs @@ -7,7 +7,7 @@ export default { type: "source", description: "Exposes an HTTP API for scheduling messages to be emitted at a future time", - version: "0.2.0", + version: "0.3.0", dedupe: "unique", // Dedupe on a UUID generated for every scheduled task props: { pipedream, From 278b62ab8dfa6efcbeb1505b1618a63dce6677f5 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:28:54 -0300 Subject: [PATCH 20/31] reddit --- .../list-comments-in-a-post/list-comments-in-a-post.mjs | 2 +- .../list-subreddits-by-query/list-subreddits-by-query.mjs | 2 +- components/reddit/actions/search-post/search-post.mjs | 2 +- .../reddit/actions/submit-a-comment/submit-a-comment.mjs | 3 +-- components/reddit/actions/submit-a-post/submit-a-post.mjs | 3 +-- components/reddit/package.json | 4 ++-- components/reddit/reddit.app.mjs | 8 +++++--- .../sources/new-comments-by-user/new-comments-by-user.mjs | 2 +- .../new-comments-on-a-post/new-comments-on-a-post.mjs | 2 +- .../new-hot-posts-on-a-subreddit.mjs | 2 +- .../sources/new-links-by-user/new-links-by-user.mjs | 2 +- .../new-links-on-a-subreddit/new-links-on-a-subreddit.mjs | 2 +- .../new-saved-post-by-user/new-saved-post-by-user.mjs | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) diff --git a/components/reddit/actions/list-comments-in-a-post/list-comments-in-a-post.mjs b/components/reddit/actions/list-comments-in-a-post/list-comments-in-a-post.mjs index 48a7573fa57f6..9ab81ef21f338 100644 --- a/components/reddit/actions/list-comments-in-a-post/list-comments-in-a-post.mjs +++ b/components/reddit/actions/list-comments-in-a-post/list-comments-in-a-post.mjs @@ -4,7 +4,7 @@ import { axios } from "@pipedream/platform"; export default { type: "action", key: "reddit-list-comments-in-a-post", - version: "0.0.2", + version: "0.1.0", name: "List Comments in a Post", description: "List comments for a specific post. [See the docs here](https://www.reddit.com/dev/api/#GET_comments_{article})", props: { diff --git a/components/reddit/actions/list-subreddits-by-query/list-subreddits-by-query.mjs b/components/reddit/actions/list-subreddits-by-query/list-subreddits-by-query.mjs index 60825112d3bc3..ccf961a9e48d0 100644 --- a/components/reddit/actions/list-subreddits-by-query/list-subreddits-by-query.mjs +++ b/components/reddit/actions/list-subreddits-by-query/list-subreddits-by-query.mjs @@ -4,7 +4,7 @@ import { axios } from "@pipedream/platform"; export default { type: "action", key: "reddit-list-subreddits-by-query", - version: "0.0.1", + version: "0.1.0", name: "List Subreddits by Query", description: "List subreddits based on a search criteria. [See the docs here](https://www.reddit.com/dev/api/#GET_subreddits_search)", props: { diff --git a/components/reddit/actions/search-post/search-post.mjs b/components/reddit/actions/search-post/search-post.mjs index 9ed0896ea5290..e0ddd87820587 100644 --- a/components/reddit/actions/search-post/search-post.mjs +++ b/components/reddit/actions/search-post/search-post.mjs @@ -3,7 +3,7 @@ import reddit from "../../reddit.app.mjs"; export default { type: "action", key: "reddit-search-post", - version: "0.0.1", + version: "0.1.0", name: "Search Post", description: "Search posts by title. [See the docs here](https://www.reddit.com/dev/api/#GET_search)", props: { diff --git a/components/reddit/actions/submit-a-comment/submit-a-comment.mjs b/components/reddit/actions/submit-a-comment/submit-a-comment.mjs index 516d3d97b1be7..66d87fccadf3b 100644 --- a/components/reddit/actions/submit-a-comment/submit-a-comment.mjs +++ b/components/reddit/actions/submit-a-comment/submit-a-comment.mjs @@ -4,7 +4,7 @@ import reddit from "../../reddit.app.mjs"; export default { type: "action", key: "reddit-submit-a-comment", - version: "0.0.1", + version: "0.1.0", name: "Submit a Comment", description: "Submit a new comment or reply to a message. [See the docs here](https://www.reddit.com/dev/api/#POST_api_comment)", props: { @@ -39,4 +39,3 @@ export default { return res?.json?.data?.things?.[0] || res; }, }; - diff --git a/components/reddit/actions/submit-a-post/submit-a-post.mjs b/components/reddit/actions/submit-a-post/submit-a-post.mjs index 488e7c9b56b73..cabb504f1ba59 100644 --- a/components/reddit/actions/submit-a-post/submit-a-post.mjs +++ b/components/reddit/actions/submit-a-post/submit-a-post.mjs @@ -5,7 +5,7 @@ import tzs from "../../pytz-timezones.mjs"; export default { type: "action", key: "reddit-submit-a-post", - version: "0.0.1", + version: "0.1.0", name: "Submit a Post", description: "Create a post to a subreddit. [See the docs here](https://www.reddit.com/dev/api/#POST_api_submit)", props: { @@ -110,4 +110,3 @@ export default { return res?.json?.data || res; }, }; - diff --git a/components/reddit/package.json b/components/reddit/package.json index 448bf6886eb36..c060ca930c958 100644 --- a/components/reddit/package.json +++ b/components/reddit/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/reddit", - "version": "1.0.3", + "version": "1.1.0", "description": "Pipedream Reddit Components", "main": "reddit.app.mjs", "keywords": [ @@ -13,7 +13,7 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.2.0", + "@pipedream/platform": "^1.4.0", "async-retry": "^1.3.3", "axios": "^0.27.2", "lodash": "^4.17.21", diff --git a/components/reddit/reddit.app.mjs b/components/reddit/reddit.app.mjs index 209a8c2a60bf9..3faba459ea62a 100644 --- a/components/reddit/reddit.app.mjs +++ b/components/reddit/reddit.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import qs from "qs"; import isNil from "lodash/isNil.js"; import retry from "async-retry"; @@ -220,7 +220,9 @@ export default { ))); } }, - async _makeRequest(opts) { + async _makeRequest({ + $ = this, ...opts + }) { if (!opts.headers) opts.headers = {}; opts.headers.authorization = `Bearer ${this._accessToken()}`; opts.headers["user-agent"] = "@PipedreamHQ/pipedream v0.1"; @@ -229,7 +231,7 @@ export default { opts.url = `${this._apiUrl()}${path[0] === "/" ? "" : "/"}${path}`; - return (await axios(opts)).data; + return axios($, opts); }, _isRetriableStatusCode(statusCode) { return [ diff --git a/components/reddit/sources/new-comments-by-user/new-comments-by-user.mjs b/components/reddit/sources/new-comments-by-user/new-comments-by-user.mjs index d86a3e8e3bf49..437a3c748ba76 100644 --- a/components/reddit/sources/new-comments-by-user/new-comments-by-user.mjs +++ b/components/reddit/sources/new-comments-by-user/new-comments-by-user.mjs @@ -7,7 +7,7 @@ export default { key: "reddit-new-comments-by-user", name: "New Comments by User", description: "Emit new event each time a user posts a new comment.", - version: "0.0.8", + version: "0.1.0", dedupe: "unique", props: { ...common.props, diff --git a/components/reddit/sources/new-comments-on-a-post/new-comments-on-a-post.mjs b/components/reddit/sources/new-comments-on-a-post/new-comments-on-a-post.mjs index 1acb0c2d2b861..7fe49b7b44f7b 100644 --- a/components/reddit/sources/new-comments-on-a-post/new-comments-on-a-post.mjs +++ b/components/reddit/sources/new-comments-on-a-post/new-comments-on-a-post.mjs @@ -9,7 +9,7 @@ export default { name: "New comments on a post", description: "Emit new event each time a new comment is added to a subreddit.", - version: "0.0.8", + version: "0.1.0", dedupe: "unique", props: { ...common.props, diff --git a/components/reddit/sources/new-hot-posts-on-a-subreddit/new-hot-posts-on-a-subreddit.mjs b/components/reddit/sources/new-hot-posts-on-a-subreddit/new-hot-posts-on-a-subreddit.mjs index c22a6f349af35..e68e59ebe6e2b 100644 --- a/components/reddit/sources/new-hot-posts-on-a-subreddit/new-hot-posts-on-a-subreddit.mjs +++ b/components/reddit/sources/new-hot-posts-on-a-subreddit/new-hot-posts-on-a-subreddit.mjs @@ -10,7 +10,7 @@ export default { name: "New hot posts on a subreddit", description: "Emit new event each time a new hot post is added to the top 10 items in a subreddit.", - version: "0.1.6", + version: "0.2.0", dedupe: "unique", props: { ...common.props, diff --git a/components/reddit/sources/new-links-by-user/new-links-by-user.mjs b/components/reddit/sources/new-links-by-user/new-links-by-user.mjs index 2058f29cf484c..4803b318afdc2 100644 --- a/components/reddit/sources/new-links-by-user/new-links-by-user.mjs +++ b/components/reddit/sources/new-links-by-user/new-links-by-user.mjs @@ -7,7 +7,7 @@ export default { key: "reddit-new-links-by-user", name: "New Links by User", description: "Emit new event each time a user posts a new link.", - version: "0.0.8", + version: "0.1.0", dedupe: "unique", props: { ...common.props, diff --git a/components/reddit/sources/new-links-on-a-subreddit/new-links-on-a-subreddit.mjs b/components/reddit/sources/new-links-on-a-subreddit/new-links-on-a-subreddit.mjs index 7dde8a64da639..0aca13911b370 100644 --- a/components/reddit/sources/new-links-on-a-subreddit/new-links-on-a-subreddit.mjs +++ b/components/reddit/sources/new-links-on-a-subreddit/new-links-on-a-subreddit.mjs @@ -8,7 +8,7 @@ export default { key: "reddit-new-links-on-a-subreddit", name: "New Links on a Subreddit", description: "Emit new event each time a new link is added to a subreddit", - version: "0.0.9", + version: "0.1.0", dedupe: "unique", props: { ...common.props, diff --git a/components/reddit/sources/new-saved-post-by-user/new-saved-post-by-user.mjs b/components/reddit/sources/new-saved-post-by-user/new-saved-post-by-user.mjs index a56d77e69d6ef..b96b0202e07fb 100644 --- a/components/reddit/sources/new-saved-post-by-user/new-saved-post-by-user.mjs +++ b/components/reddit/sources/new-saved-post-by-user/new-saved-post-by-user.mjs @@ -7,7 +7,7 @@ export default { key: "reddit-new-saved-post-by-user", name: "New Saved Post by User", description: "Emit new event each time a user saves a post.", - version: "0.0.7", + version: "0.1.0", props: { ...common.props, username: { From e4ebdbfbe53e4e5d2218cc28cffe917729bd8c80 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:30:48 -0300 Subject: [PATCH 21/31] sentry --- .../list-issue-events/list-issue-events.mjs | 2 +- .../list-project-events.mjs | 2 +- .../list-project-issues.mjs | 2 +- .../actions/update-issue/update-issue.mjs | 2 +- components/sentry/package.json | 4 +- components/sentry/sentry.app.mjs | 68 +++++++++++++++---- .../sources/issue-event/issue-event.mjs | 2 +- 7 files changed, 60 insertions(+), 22 deletions(-) diff --git a/components/sentry/actions/list-issue-events/list-issue-events.mjs b/components/sentry/actions/list-issue-events/list-issue-events.mjs index a9e683f770319..e74831efe4922 100644 --- a/components/sentry/actions/list-issue-events/list-issue-events.mjs +++ b/components/sentry/actions/list-issue-events/list-issue-events.mjs @@ -4,7 +4,7 @@ export default { key: "sentry-list-issue-events", name: "List Issue Events", description: "Return a list of events bound to an issue. [See the docs here](https://docs.sentry.io/api/events/list-an-issues-events/)", - version: "0.0.1", + version: "0.1.0", type: "action", props: { sentry, diff --git a/components/sentry/actions/list-project-events/list-project-events.mjs b/components/sentry/actions/list-project-events/list-project-events.mjs index 1bc8d366c7159..5955e8f9faa91 100644 --- a/components/sentry/actions/list-project-events/list-project-events.mjs +++ b/components/sentry/actions/list-project-events/list-project-events.mjs @@ -2,7 +2,7 @@ import app from "../../sentry.app.mjs"; export default { key: "sentry-list-project-events", - version: "0.0.2", + version: "0.1.0", type: "action", name: "List Project Events.", description: "Return a list of events bound to a project. [See the docs here](https://docs.sentry.io/api/events/list-a-projects-events/)", diff --git a/components/sentry/actions/list-project-issues/list-project-issues.mjs b/components/sentry/actions/list-project-issues/list-project-issues.mjs index 10f4aa1e05c1c..a1498f37b8569 100644 --- a/components/sentry/actions/list-project-issues/list-project-issues.mjs +++ b/components/sentry/actions/list-project-issues/list-project-issues.mjs @@ -2,7 +2,7 @@ import app from "../../sentry.app.mjs"; export default { key: "sentry-list-project-issues", - version: "0.0.2", + version: "0.1.0", type: "action", name: "List Project Issues.", description: "Return a list of issues bound to a project. [See the docs here](https://docs.sentry.io/api/issues/list-a-projects-issues/)", diff --git a/components/sentry/actions/update-issue/update-issue.mjs b/components/sentry/actions/update-issue/update-issue.mjs index eff87405e9944..312ca7d5270b6 100644 --- a/components/sentry/actions/update-issue/update-issue.mjs +++ b/components/sentry/actions/update-issue/update-issue.mjs @@ -3,7 +3,7 @@ import options from "../../options.mjs"; export default { key: "sentry-update-issue", - version: "0.0.2", + version: "0.1.0", type: "action", name: "Update Issue.", description: "Updates an individual issue's attributes. Only the attributes submitted are modified.[See the docs here](https://docs.sentry.io/api/events/update-an-issue/)", diff --git a/components/sentry/package.json b/components/sentry/package.json index 5d0fba5d7352b..08bdd727477d3 100644 --- a/components/sentry/package.json +++ b/components/sentry/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/sentry", - "version": "0.3.5", + "version": "0.4.0", "description": "Pipedream Sentry Components", "main": "sentry.app.js", "keywords": [ @@ -10,7 +10,7 @@ "homepage": "https://pipedream.com/apps/sentry", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "axios": "^0.21.1", + "@pipedream/platform": "^1.4.0", "parse-link-header": "^1.0.1", "slugify": "^1.4.6" }, diff --git a/components/sentry/sentry.app.mjs b/components/sentry/sentry.app.mjs index 9bcc3d33baec1..3776f210dad8b 100644 --- a/components/sentry/sentry.app.mjs +++ b/components/sentry/sentry.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import parseLinkHeader from "parse-link-header"; import { createHmac } from "crypto"; import utils from "./common/utils.mjs"; @@ -185,7 +185,11 @@ export default { const { data, headers: { link }, - } = await axios.get(url, requestConfig); + } = await axios(this, { + url, + returnFullResponse: true, + ...requestConfig, + }); const { next } = parseLinkHeader(link); return { @@ -209,36 +213,52 @@ export default { async createIntegration(eventSourceName, organization, webhookUrl) { const url = this._integrationsEndpoint(); const name = utils.formatIntegrationName(eventSourceName); - const requestData = { + const data = { ...this._baseIntegrationParams(), name, organization, webhookUrl, }; const requestConfig = this._makeRequestConfig(); - const { data } = await axios.post(url, requestData, requestConfig); - return data; + return axios(this, { + url, + method: "post", + data, + ...requestConfig, + }); }, async deleteIntegration(integrationSlug) { const url = this._integrationsEndpoint(integrationSlug); const requestConfig = this._makeRequestConfig(); - await axios.delete(url, requestConfig); + await axios(this, { + url, + method: "delete", + ...requestConfig, + }); }, async disableIntegration(integrationSlug) { const url = this._integrationsEndpoint(integrationSlug); const requestConfig = this._makeRequestConfig(); - const requestData = { + const data = { events: null, isAlertable: false, name: "pipedream (disabled)", webhookUrl: null, }; - await axios.put(url, requestData, requestConfig); + await axios(this, { + url, + method: "put", + data, + ...requestConfig, + }); }, async getClientSecret(integrationSlug) { const url = this._integrationsEndpoint(integrationSlug); const requestConfig = this._makeRequestConfig(); - const { data } = await axios.get(url, requestConfig); + const data = await axios(this, { + url, + ...requestConfig, + }); return data.clientSecret; }, isValidSource(event, clientSecret) { @@ -254,54 +274,72 @@ export default { async listUserProjects(cursor) { const url = `${this._apiUrl()}/projects/`; const requestConfig = this._makeRequestConfig(); - return axios.get(url, { + return axios(this, { ...requestConfig, + url, params: { cursor, }, + returnFullResponse: true, }); }, async listProjectEvents(organizationSlug, projectSlug, params, cursor) { const url = `${this._apiUrl()}/projects/${organizationSlug}/${projectSlug}/events/`; const requestConfig = this._makeRequestConfig(); - return axios.get(url, { + return axios(this, { ...requestConfig, + url, params: { ...params, cursor, }, + returnFullResponse: true, }); }, async listProjectIssues(organizationSlug, projectSlug, params, cursor) { const url = `${this._apiUrl()}/projects/${organizationSlug}/${projectSlug}/issues/`; const requestConfig = this._makeRequestConfig(); - return axios.get(url, { + return axios(this, { ...requestConfig, + url, params: { ...params, cursor, }, + returnFullResponse: true, }); }, async listOrganizationUser(organizationSlug) { const url = `${this._apiUrl()}/organizations/${organizationSlug}/users/`; const requestConfig = this._makeRequestConfig(); - return axios.get(url, requestConfig); + return axios(this, { + url, + returnFullResponse: true, + ...requestConfig, + }); }, async updateIssue(issueId, data) { const url = `${this._apiUrl()}/issues/${issueId}/`; const requestConfig = this._makeRequestConfig(); - return axios.put(url, data, requestConfig); + return axios(this, { + url, + method: "put", + data, + returnFullResponse: true, + ...requestConfig, + }); }, async listIssueEvents(issueId, params, cursor) { const url = `${this._apiUrl()}/issues/${issueId}/events/`; const requestConfig = this._makeRequestConfig(); - return axios.get(url, { + return axios(this, { ...requestConfig, + url, params: { ...params, cursor, }, + returnFullResponse: true, }); }, }, diff --git a/components/sentry/sources/issue-event/issue-event.mjs b/components/sentry/sources/issue-event/issue-event.mjs index 14cb7af25340c..7d261cf1646fc 100644 --- a/components/sentry/sources/issue-event/issue-event.mjs +++ b/components/sentry/sources/issue-event/issue-event.mjs @@ -2,7 +2,7 @@ import sentry from "../../sentry.app.mjs"; export default { key: "sentry-issue-event", - version: "0.0.5", + version: "0.1.0", name: "New Issue Event (Instant)", description: "Emit new events for issues that have been created or updated.", type: "source", From 27779e92f9584590f3dec0ca30ca78b5403bccaf Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 11:33:08 -0300 Subject: [PATCH 22/31] spotify --- .../add-items-to-playlist/add-items-to-playlist.mjs | 2 +- .../spotify/actions/create-playlist/create-playlist.mjs | 2 +- .../get-all-tracks-by-artist/get-all-tracks-by-artist.mjs | 2 +- .../get-artist-top-tracks/get-artist-top-tracks.mjs | 2 +- .../get-audio-features-for-a-track.mjs | 2 +- .../get-categorys-playlist/get-categorys-playlist.mjs | 2 +- .../actions/get-playlist-items/get-playlist-items.mjs | 2 +- .../actions/get-recommendations/get-recommendations.mjs | 2 +- components/spotify/actions/get-track/get-track.mjs | 2 +- .../remove-items-from-playlist.mjs | 2 +- .../remove-user-saved-tracks/remove-user-saved-tracks.mjs | 2 +- components/spotify/actions/save-track/save-track.mjs | 2 +- components/spotify/package.json | 4 ++-- components/spotify/sources/new-playlist/new-playlist.mjs | 2 +- .../spotify/sources/new-saved-track/new-saved-track.mjs | 2 +- .../sources/new-track-by-artist/new-track-by-artist.mjs | 2 +- .../new-track-in-playlist/new-track-in-playlist.mjs | 2 +- components/spotify/spotify.app.mjs | 8 +++++--- 18 files changed, 23 insertions(+), 21 deletions(-) diff --git a/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs b/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs index da78b9ec1048e..1560b016d63cf 100644 --- a/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs +++ b/components/spotify/actions/add-items-to-playlist/add-items-to-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Add Items to a Playlist", description: "Add one or more items to a user’s playlist. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/add-tracks-to-playlist).", key: "spotify-add-items-to-playlist", - version: "0.0.6", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/create-playlist/create-playlist.mjs b/components/spotify/actions/create-playlist/create-playlist.mjs index 3b1a0edfbf278..57648fae7badf 100644 --- a/components/spotify/actions/create-playlist/create-playlist.mjs +++ b/components/spotify/actions/create-playlist/create-playlist.mjs @@ -5,7 +5,7 @@ export default { name: "Create a Playlist", description: "Create a playlist for a Spotify user. The playlist will be empty until you add tracks. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/create-playlist).", key: "spotify-create-playlist", - version: "0.0.6", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs b/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs index 877f8c2661cdc..3057f77238d2c 100644 --- a/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs +++ b/components/spotify/actions/get-all-tracks-by-artist/get-all-tracks-by-artist.mjs @@ -5,7 +5,7 @@ export default { name: "Get All Tracks by Artist", description: "Get Spotify tracks information related with an artist's. [see docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums).", key: "spotify-get-all-tracks-by-artist", - version: "0.0.1", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs b/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs index 130df681cc04e..7d3b6eecf74de 100644 --- a/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs +++ b/components/spotify/actions/get-artist-top-tracks/get-artist-top-tracks.mjs @@ -6,7 +6,7 @@ export default { name: "Get an Artist's Top Tracks", description: "Get Spotify catalog information about an artist’s top tracks by country. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-an-artists-top-tracks).", key: "spotify-get-artist-top-tracks", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs b/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs index 395189c746963..17de9a60b1df8 100644 --- a/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs +++ b/components/spotify/actions/get-audio-features-for-a-track/get-audio-features-for-a-track.mjs @@ -6,7 +6,7 @@ export default { name: "Get Audio Features for a Track", description: "Get audio feature information for a single track identified by its unique Spotify ID. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-audio-features).", key: "spotify-get-audio-features-for-a-track", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs b/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs index 9cc910891d005..be3abf07d203f 100644 --- a/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs +++ b/components/spotify/actions/get-categorys-playlist/get-categorys-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Category's Playlists", description: "Get a list of Spotify playlists tagged with a particular category. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-a-categories-playlists).", key: "spotify-get-categorys-playlist", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-playlist-items/get-playlist-items.mjs b/components/spotify/actions/get-playlist-items/get-playlist-items.mjs index f66e18a7ba089..bb9be41d72128 100644 --- a/components/spotify/actions/get-playlist-items/get-playlist-items.mjs +++ b/components/spotify/actions/get-playlist-items/get-playlist-items.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Playlist's Items", description: "Get full details of the items of a playlist owned by a Spotify user. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-playlists-tracks).", key: "spotify-get-playlist-items", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-recommendations/get-recommendations.mjs b/components/spotify/actions/get-recommendations/get-recommendations.mjs index 44b614b02e140..ef3e3aecd44f8 100644 --- a/components/spotify/actions/get-recommendations/get-recommendations.mjs +++ b/components/spotify/actions/get-recommendations/get-recommendations.mjs @@ -5,7 +5,7 @@ export default { name: "Get Recommendations", description: "Create a list of recommendations based on the available information for a given seed entity and matched against similar artists and tracks. If there is sufficient information about the provided seeds, a list of tracks will be returned together with pool size details. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-recommendations).", key: "spotify-get-recommendations", - version: "0.0.2", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/get-track/get-track.mjs b/components/spotify/actions/get-track/get-track.mjs index 3cf1a2a88d83e..17cdb1c0e92e5 100644 --- a/components/spotify/actions/get-track/get-track.mjs +++ b/components/spotify/actions/get-track/get-track.mjs @@ -6,7 +6,7 @@ export default { name: "Get a Track", description: "Get a track by its name or ID. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/search)", key: "spotify-get-track", - version: "0.0.8", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs b/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs index 8bccd3690a60d..77b96bc58b9eb 100644 --- a/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs +++ b/components/spotify/actions/remove-items-from-playlist/remove-items-from-playlist.mjs @@ -6,7 +6,7 @@ export default { name: "Remove Items from a Playlist", description: "Remove one or more items from a user’s playlist. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/remove-tracks-playlist)", key: "spotify-remove-items-from-playlist", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs b/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs index 2e3c27024f4ad..b130fa8ab19e2 100644 --- a/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs +++ b/components/spotify/actions/remove-user-saved-tracks/remove-user-saved-tracks.mjs @@ -5,7 +5,7 @@ export default { name: "Remove User's Saved Tracks", description: "Remove one or more tracks from the current user’s ‘Your Music’ library. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/remove-tracks-user)", key: "spotify-remove-user-saved-tracks", - version: "0.0.5", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/actions/save-track/save-track.mjs b/components/spotify/actions/save-track/save-track.mjs index aa22c36249779..c920b5f9e8c5e 100644 --- a/components/spotify/actions/save-track/save-track.mjs +++ b/components/spotify/actions/save-track/save-track.mjs @@ -6,7 +6,7 @@ export default { name: "Save Tracks for User", description: "Save one or more tracks to the current user’s \"Your Music\" library. [See the docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/save-tracks-user).", key: "spotify-save-track", - version: "0.0.6", + version: "0.1.0", type: "action", props: { spotify, diff --git a/components/spotify/package.json b/components/spotify/package.json index 8d80901b5927d..9bf18f7d25ade 100644 --- a/components/spotify/package.json +++ b/components/spotify/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/spotify", - "version": "0.4.0", + "version": "0.5.0", "description": "Pipedream Spotify Components", "main": "spotify.app.js", "keywords": [ @@ -14,6 +14,6 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.2.0" + "@pipedream/platform": "^1.4.0" } } diff --git a/components/spotify/sources/new-playlist/new-playlist.mjs b/components/spotify/sources/new-playlist/new-playlist.mjs index 3941a9ad646e7..17532e94f9485 100644 --- a/components/spotify/sources/new-playlist/new-playlist.mjs +++ b/components/spotify/sources/new-playlist/new-playlist.mjs @@ -6,7 +6,7 @@ export default { key: "spotify-new-playlist", name: "New Playlist", description: "Emit new event when a new playlist is created or followed by the current Spotify user.", - version: "0.0.10", + version: "0.1.0", props: { ...common.props, }, diff --git a/components/spotify/sources/new-saved-track/new-saved-track.mjs b/components/spotify/sources/new-saved-track/new-saved-track.mjs index 4f459183b7e12..f736fb8cf6c64 100644 --- a/components/spotify/sources/new-saved-track/new-saved-track.mjs +++ b/components/spotify/sources/new-saved-track/new-saved-track.mjs @@ -6,7 +6,7 @@ export default { key: "spotify-new-saved-track", name: "New Saved Track", description: "Emit new event for each new track saved to the current Spotify user's Music Library.", - version: "0.0.10", + version: "0.1.0", props: { ...common.props, db: "$.service.db", diff --git a/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs b/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs index cc1d8dc828dd8..819434bba623e 100644 --- a/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs +++ b/components/spotify/sources/new-track-by-artist/new-track-by-artist.mjs @@ -7,7 +7,7 @@ export default { key: "spotify-new-track-by-artist", name: "New Track by Artist", description: "Emit new event for each new Spotify track related with an artist. [see docs here](https://developer.spotify.com/documentation/web-api/reference/#/operations/get-multiple-albums)", - version: "0.0.1", + version: "0.1.0", props: { ...common.props, db: "$.service.db", diff --git a/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs b/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs index ae1541db05af3..4c7bcb0b53f39 100644 --- a/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs +++ b/components/spotify/sources/new-track-in-playlist/new-track-in-playlist.mjs @@ -7,7 +7,7 @@ export default { key: "spotify-new-track-in-playlist", name: "New Track in Playlist", description: "Emit new event for each new Spotify track added to a playlist", - version: "0.0.10", + version: "0.1.0", props: { ...common.props, db: "$.service.db", diff --git a/components/spotify/spotify.app.mjs b/components/spotify/spotify.app.mjs index b70f40654f901..b24745462e9a9 100644 --- a/components/spotify/spotify.app.mjs +++ b/components/spotify/spotify.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import get from "lodash/get.js"; import isNil from "lodash/isNil.js"; import isArray from "lodash/isArray.js"; @@ -302,8 +302,10 @@ export default { async retry(config, retries = 3) { let response; try { - response = await axios(config); - return response; + return await axios(this, { + ...config, + returnFullResponse: true, + }); } catch (err) { if (retries <= 1) { throw new Error(err); From 8475a08e8794e7e882075e4e170665ec6c29712c Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:43:50 -0300 Subject: [PATCH 23/31] twitch --- components/twitch/actions/block-user/block-user.mjs | 2 +- .../check-channel-subscription.mjs | 2 +- components/twitch/actions/delete-video/delete-video.mjs | 2 +- .../actions/get-channel-editors/get-channel-editors.mjs | 2 +- .../get-channel-information/get-channel-information.mjs | 2 +- .../twitch/actions/get-channel-teams/get-channel-teams.mjs | 2 +- components/twitch/actions/get-clips/get-clips.mjs | 4 ++-- .../actions/get-followed-channels/get-followed-channels.mjs | 2 +- components/twitch/actions/get-followers/get-followers.mjs | 2 +- .../twitch/actions/get-my-followers/get-my-followers.mjs | 2 +- .../twitch/actions/get-stream-by-user/get-stream-by-user.mjs | 2 +- components/twitch/actions/get-top-games/get-top-games.mjs | 2 +- components/twitch/actions/get-users/get-users.mjs | 2 +- components/twitch/actions/get-videos/get-videos.mjs | 2 +- .../twitch/actions/search-channels/search-channels.mjs | 4 ++-- components/twitch/actions/search-games/search-games.mjs | 2 +- components/twitch/actions/unblock-user/unblock-user.mjs | 2 +- components/twitch/actions/update-channel/update-channel.mjs | 2 +- components/twitch/package.json | 5 ++--- .../twitch/sources/followed-streams/followed-streams.mjs | 2 +- .../sources/new-clip-by-streamer/new-clip-by-streamer.mjs | 2 +- components/twitch/sources/new-clips/new-clips.mjs | 2 +- components/twitch/sources/new-follower/new-follower.mjs | 2 +- components/twitch/sources/new-videos/new-videos.mjs | 2 +- .../twitch/sources/streams-by-game/streams-by-game.mjs | 2 +- .../sources/streams-by-streamer/streams-by-streamer.mjs | 2 +- components/twitch/twitch.app.mjs | 5 +++-- 27 files changed, 32 insertions(+), 32 deletions(-) diff --git a/components/twitch/actions/block-user/block-user.mjs b/components/twitch/actions/block-user/block-user.mjs index 4954fb1be6017..cee89f3c130ea 100644 --- a/components/twitch/actions/block-user/block-user.mjs +++ b/components/twitch/actions/block-user/block-user.mjs @@ -5,7 +5,7 @@ export default { name: "Block User", key: "twitch-block-user", description: "Blocks a user; that is, adds a specified target user to your blocks list", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/check-channel-subscription/check-channel-subscription.mjs b/components/twitch/actions/check-channel-subscription/check-channel-subscription.mjs index 4ff494bf71615..f107b039a43fb 100644 --- a/components/twitch/actions/check-channel-subscription/check-channel-subscription.mjs +++ b/components/twitch/actions/check-channel-subscription/check-channel-subscription.mjs @@ -5,7 +5,7 @@ export default { name: "Check Channel Subscription", key: "twitch-check-channel-subscription", description: "Checks if you are subscribed to the specified user's channel", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/delete-video/delete-video.mjs b/components/twitch/actions/delete-video/delete-video.mjs index 2020e8fcaebe7..5a07080ec77d9 100644 --- a/components/twitch/actions/delete-video/delete-video.mjs +++ b/components/twitch/actions/delete-video/delete-video.mjs @@ -5,7 +5,7 @@ export default { name: "Delete Video", key: "twitch-delete-video", description: "Deletes a specified video", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-channel-editors/get-channel-editors.mjs b/components/twitch/actions/get-channel-editors/get-channel-editors.mjs index 65302413caf94..7864dc4844aa0 100644 --- a/components/twitch/actions/get-channel-editors/get-channel-editors.mjs +++ b/components/twitch/actions/get-channel-editors/get-channel-editors.mjs @@ -5,7 +5,7 @@ export default { name: "Get Channel Editors", key: "twitch-get-channel-editors", description: "Gets a list of users who are editors for your channel", - version: "0.0.3", + version: "0.1.0", type: "action", async run() { // get the userID of the authenticated user diff --git a/components/twitch/actions/get-channel-information/get-channel-information.mjs b/components/twitch/actions/get-channel-information/get-channel-information.mjs index d22390ac69698..d378fddf8c0f7 100644 --- a/components/twitch/actions/get-channel-information/get-channel-information.mjs +++ b/components/twitch/actions/get-channel-information/get-channel-information.mjs @@ -5,7 +5,7 @@ export default { name: "Get Channel Information", key: "twitch-get-channel-information", description: "Retrieves information about a particular broadcaster's channel", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-channel-teams/get-channel-teams.mjs b/components/twitch/actions/get-channel-teams/get-channel-teams.mjs index bb4f6a44ad24e..bdfe8ee4abd22 100644 --- a/components/twitch/actions/get-channel-teams/get-channel-teams.mjs +++ b/components/twitch/actions/get-channel-teams/get-channel-teams.mjs @@ -5,7 +5,7 @@ export default { name: "Get Channel Teams", key: "twitch-get-channel-teams", description: "Gets a list of teams to which a specified channel belongs", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-clips/get-clips.mjs b/components/twitch/actions/get-clips/get-clips.mjs index 883c2804eb351..f4f7ac8dbaac1 100644 --- a/components/twitch/actions/get-clips/get-clips.mjs +++ b/components/twitch/actions/get-clips/get-clips.mjs @@ -5,7 +5,7 @@ export default { name: "Get Clips", key: "twitch-get-clips", description: "Gets clip information by clip ID, user ID, or game ID", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, @@ -28,7 +28,7 @@ export default { gameId: { type: "string", label: "Game ID", - description: `ID of the game the clip is of. + description: `ID of the game the clip is of. For a query to be valid, id, broadcaster_id, or game_id must be specified. You may specify only one of these parameters.`, optional: true, }, diff --git a/components/twitch/actions/get-followed-channels/get-followed-channels.mjs b/components/twitch/actions/get-followed-channels/get-followed-channels.mjs index 24d5d2fc9f895..62aa391fa7c4c 100644 --- a/components/twitch/actions/get-followed-channels/get-followed-channels.mjs +++ b/components/twitch/actions/get-followed-channels/get-followed-channels.mjs @@ -5,7 +5,7 @@ export default { name: "Get Followed Channels", key: "twitch-get-followed-channels", description: "Retrieves a list of channels that the authenticated user follows", - version: "0.0.3", + version: "0.1.0", type: "action", async run() { // get the userID of the authenticated user diff --git a/components/twitch/actions/get-followers/get-followers.mjs b/components/twitch/actions/get-followers/get-followers.mjs index a9e74f551b14a..e000d51a796a0 100644 --- a/components/twitch/actions/get-followers/get-followers.mjs +++ b/components/twitch/actions/get-followers/get-followers.mjs @@ -5,7 +5,7 @@ export default { name: "Get Followers", key: "twitch-get-followers", description: "Retrieves a list of users who follow the specified user", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-my-followers/get-my-followers.mjs b/components/twitch/actions/get-my-followers/get-my-followers.mjs index e80d775936cad..53769de7607d5 100644 --- a/components/twitch/actions/get-my-followers/get-my-followers.mjs +++ b/components/twitch/actions/get-my-followers/get-my-followers.mjs @@ -5,7 +5,7 @@ export default { name: "Get My Followers", key: "twitch-get-my-followers", description: "Retrieves a list of users who follow the authenticated user", - version: "0.0.3", + version: "0.1.0", type: "action", async run() { // get the userID of the authenticated user diff --git a/components/twitch/actions/get-stream-by-user/get-stream-by-user.mjs b/components/twitch/actions/get-stream-by-user/get-stream-by-user.mjs index f95de21350e03..6426b8d89485c 100644 --- a/components/twitch/actions/get-stream-by-user/get-stream-by-user.mjs +++ b/components/twitch/actions/get-stream-by-user/get-stream-by-user.mjs @@ -5,7 +5,7 @@ export default { name: "Get Stream By User", key: "twitch-get-stream-by-user", description: "Gets stream information (the stream object) for a specified user", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-top-games/get-top-games.mjs b/components/twitch/actions/get-top-games/get-top-games.mjs index cc833b4a3033a..8499c0fe4bb40 100644 --- a/components/twitch/actions/get-top-games/get-top-games.mjs +++ b/components/twitch/actions/get-top-games/get-top-games.mjs @@ -5,7 +5,7 @@ export default { name: "Get Top Games", key: "twitch-get-top-games", description: "Gets games sorted by number of current viewers on Twitch, most popular first", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-users/get-users.mjs b/components/twitch/actions/get-users/get-users.mjs index 110e42e526823..d43f5b35f98ff 100644 --- a/components/twitch/actions/get-users/get-users.mjs +++ b/components/twitch/actions/get-users/get-users.mjs @@ -5,7 +5,7 @@ export default { name: "Get Users", key: "twitch-get-users", description: "Gets the user objects for the specified Twitch login names", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/get-videos/get-videos.mjs b/components/twitch/actions/get-videos/get-videos.mjs index 20de2095dfdb9..37494ef40906c 100644 --- a/components/twitch/actions/get-videos/get-videos.mjs +++ b/components/twitch/actions/get-videos/get-videos.mjs @@ -5,7 +5,7 @@ export default { name: "Get Videos", key: "twitch-get-videos", description: "Gets video information by video ID, user ID, or game ID", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/search-channels/search-channels.mjs b/components/twitch/actions/search-channels/search-channels.mjs index a47ef615225ef..90cafaeb7927e 100644 --- a/components/twitch/actions/search-channels/search-channels.mjs +++ b/components/twitch/actions/search-channels/search-channels.mjs @@ -5,9 +5,9 @@ export default { name: "Search Channels", key: "twitch-search-channels", description: `Returns a list of channels (users who have streamed within the past 6 months) - that match the query via channel name or description either entirely or partially. Results + that match the query via channel name or description either entirely or partially. Results include both live and offline channels.`, - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/search-games/search-games.mjs b/components/twitch/actions/search-games/search-games.mjs index d3b385abe3650..ffbc478e42115 100644 --- a/components/twitch/actions/search-games/search-games.mjs +++ b/components/twitch/actions/search-games/search-games.mjs @@ -7,7 +7,7 @@ export default { description: `Searches for games based on a specified query parameter. A game is returned if the query parameter is matched entirely or partially in the channel description or game name`, - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/unblock-user/unblock-user.mjs b/components/twitch/actions/unblock-user/unblock-user.mjs index d6fbec1f97178..a4393218780cb 100644 --- a/components/twitch/actions/unblock-user/unblock-user.mjs +++ b/components/twitch/actions/unblock-user/unblock-user.mjs @@ -5,7 +5,7 @@ export default { name: "Unblock User", key: "twitch-unblock-user", description: "Unblocks a user; that is, deletes a specified target user to your blocks list", - version: "0.0.3", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/actions/update-channel/update-channel.mjs b/components/twitch/actions/update-channel/update-channel.mjs index 09fca122ca173..f09e459e58f9f 100644 --- a/components/twitch/actions/update-channel/update-channel.mjs +++ b/components/twitch/actions/update-channel/update-channel.mjs @@ -7,7 +7,7 @@ export default { key: "twitch-update-channel", description: `Update information for the channel owned by the authenticated user. At least one parameter must be provided.`, - version: "0.0.4", + version: "0.1.0", type: "action", props: { ...common.props, diff --git a/components/twitch/package.json b/components/twitch/package.json index 71f6542cbc889..6730aa790da7f 100644 --- a/components/twitch/package.json +++ b/components/twitch/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/twitch", - "version": "0.0.6", + "version": "0.1.0", "description": "Pipedream Twitch Components", "main": "twitch.app.mjs", "keywords": [ @@ -14,8 +14,7 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.2.0", - "axios": "^0.27.2", + "@pipedream/platform": "^1.4.0", "crypto": "^1.0.1", "qs": "^6.10.5", "uuid": "^8.3.2" diff --git a/components/twitch/sources/followed-streams/followed-streams.mjs b/components/twitch/sources/followed-streams/followed-streams.mjs index c8d481a9e01a8..c01337d241c3e 100644 --- a/components/twitch/sources/followed-streams/followed-streams.mjs +++ b/components/twitch/sources/followed-streams/followed-streams.mjs @@ -5,7 +5,7 @@ export default { name: "New Followed Streams", key: "twitch-followed-streams", description: "Emit new event when a followed stream is live.", - version: "0.0.7", + version: "0.1.0", type: "source", methods: { ...common.methods, diff --git a/components/twitch/sources/new-clip-by-streamer/new-clip-by-streamer.mjs b/components/twitch/sources/new-clip-by-streamer/new-clip-by-streamer.mjs index 54346ad2e291c..3183bc258fae0 100644 --- a/components/twitch/sources/new-clip-by-streamer/new-clip-by-streamer.mjs +++ b/components/twitch/sources/new-clip-by-streamer/new-clip-by-streamer.mjs @@ -6,7 +6,7 @@ export default { name: "New Clip By Streamer", key: "twitch-new-clip-by-streamer", description: "Emit new event when there is a new clip for the specified streamer.", - version: "0.0.4", + version: "0.1.0", type: "source", props: { ...common.props, diff --git a/components/twitch/sources/new-clips/new-clips.mjs b/components/twitch/sources/new-clips/new-clips.mjs index 8fe49a279eb8e..60e4e0b094974 100644 --- a/components/twitch/sources/new-clips/new-clips.mjs +++ b/components/twitch/sources/new-clips/new-clips.mjs @@ -6,7 +6,7 @@ export default { name: "New Clips", key: "twitch-new-clips", description: "Emit new event when there is a new clip for the specified game.", - version: "0.0.5", + version: "0.1.0", type: "source", props: { ...common.props, diff --git a/components/twitch/sources/new-follower/new-follower.mjs b/components/twitch/sources/new-follower/new-follower.mjs index 1b1d9e95dcd79..26a173cd07d0c 100644 --- a/components/twitch/sources/new-follower/new-follower.mjs +++ b/components/twitch/sources/new-follower/new-follower.mjs @@ -6,7 +6,7 @@ export default { key: "twitch-new-follower", description: "Emit new event when a new user follows your channel.", type: "source", - version: "0.0.7", + version: "0.1.0", methods: { ...common.methods, async getTopics() { diff --git a/components/twitch/sources/new-videos/new-videos.mjs b/components/twitch/sources/new-videos/new-videos.mjs index 4813d1f7fd6bf..6599a12dd0d29 100644 --- a/components/twitch/sources/new-videos/new-videos.mjs +++ b/components/twitch/sources/new-videos/new-videos.mjs @@ -6,7 +6,7 @@ export default { name: "New Videos", key: "twitch-new-videos", description: "Emit new event when there is a new video from channels you follow.", - version: "0.0.5", + version: "0.1.0", type: "source", props: { ...common.props, diff --git a/components/twitch/sources/streams-by-game/streams-by-game.mjs b/components/twitch/sources/streams-by-game/streams-by-game.mjs index 61a432db490e7..977a0ebd286c6 100644 --- a/components/twitch/sources/streams-by-game/streams-by-game.mjs +++ b/components/twitch/sources/streams-by-game/streams-by-game.mjs @@ -6,7 +6,7 @@ export default { name: "New Streams By Game", key: "twitch-streams-by-game", description: "Emit new event when a live stream starts from any stream matching the game and language specified.", - version: "0.0.5", + version: "0.1.0", type: "source", props: { ...common.props, diff --git a/components/twitch/sources/streams-by-streamer/streams-by-streamer.mjs b/components/twitch/sources/streams-by-streamer/streams-by-streamer.mjs index b0db2484f1e5a..81124d5052d63 100644 --- a/components/twitch/sources/streams-by-streamer/streams-by-streamer.mjs +++ b/components/twitch/sources/streams-by-streamer/streams-by-streamer.mjs @@ -5,7 +5,7 @@ export default { name: "New Streams By Streamer", key: "twitch-streams-by-streamer", description: "Emit new event when a live stream starts from the streamers you specify.", - version: "0.0.7", + version: "0.1.0", type: "source", props: { ...common.props, diff --git a/components/twitch/twitch.app.mjs b/components/twitch/twitch.app.mjs index 4115860a68988..1f909faf41566 100644 --- a/components/twitch/twitch.app.mjs +++ b/components/twitch/twitch.app.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import crypto from "crypto"; import qs from "qs"; @@ -65,8 +65,9 @@ export default { paramsSerializer: { serializer: this._getParamsSerializer(params), }, + returnFullResponse: true, }; - return await axios(config); + return axios(this, config); }, // Uses Twitch API to create or delete webhook subscriptions. // Set mode to "subscribe" to create a webhook and "unsubscribe" to delete it. From a9b8641dab23f8704b8ee3128ec21525bf14f5c8 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:45:57 -0300 Subject: [PATCH 24/31] verifalia --- .../actions/verify-email/verify-email.mjs | 7 +- .../verify-list-emails/verify-list-emails.mjs | 7 +- components/verifalia/package-lock.json | 247 ------------------ components/verifalia/package.json | 3 +- 4 files changed, 10 insertions(+), 254 deletions(-) delete mode 100644 components/verifalia/package-lock.json diff --git a/components/verifalia/actions/verify-email/verify-email.mjs b/components/verifalia/actions/verify-email/verify-email.mjs index a1b00c0f1adf5..e9f99f86e0dda 100644 --- a/components/verifalia/actions/verify-email/verify-email.mjs +++ b/components/verifalia/actions/verify-email/verify-email.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import verifalia from "../../verifalia.app.mjs"; import common from "../../common.mjs"; @@ -12,7 +12,7 @@ export default { description: "Verify an email address and check if it is properly formatted, really exists and can accept mails, " + "flagging spam traps, disposable emails and much more. [See the docs](https://verifalia.com/developers#email-validations-creating) for more information", key: "verifalia-verify-email", - version: "1.0.4", + version: "1.1.0", type: "action", props: { verifalia, @@ -135,7 +135,7 @@ export default { // webhook completion callback, as the external one may take a few seconds to // fire and we wish to continue the flow as fast as possible. - return await axios({ + return axios($, { method: "POST", url: resumeUrl, data: { @@ -146,6 +146,7 @@ export default { }, }, }, + returnFullResponse: true, }); } diff --git a/components/verifalia/actions/verify-list-emails/verify-list-emails.mjs b/components/verifalia/actions/verify-list-emails/verify-list-emails.mjs index 21fd1351a9b02..57aff765bd589 100644 --- a/components/verifalia/actions/verify-list-emails/verify-list-emails.mjs +++ b/components/verifalia/actions/verify-list-emails/verify-list-emails.mjs @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import verifalia from "../../verifalia.app.mjs"; import common from "../../common.mjs"; @@ -12,7 +12,7 @@ export default { description: "Verify a list of email address and check if it is properly formatted, really exists and can accept mails, " + "flagging spam traps, disposable emails and much more. [See the docs](https://verifalia.com/developers#email-validations-creating) for more information", key: "verifalia-verify-list-emails", - version: "0.0.1", + version: "0.1.0", type: "action", props: { verifalia, @@ -139,7 +139,7 @@ export default { // webhook completion callback, as the external one may take a few seconds to // fire and we wish to continue the flow as fast as possible. - return await axios({ + return axios($, { method: "POST", url: resumeUrl, data: { @@ -150,6 +150,7 @@ export default { }, }, }, + returnFullResponse: true, }); } diff --git a/components/verifalia/package-lock.json b/components/verifalia/package-lock.json deleted file mode 100644 index deb73335b3f34..0000000000000 --- a/components/verifalia/package-lock.json +++ /dev/null @@ -1,247 +0,0 @@ -{ - "name": "@pipedream/verifalia", - "version": "1.0.2", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "name": "@pipedream/verifalia", - "version": "1.0.2", - "license": "MIT", - "dependencies": { - "verifalia": "3.2.2" - } - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "node_modules/tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "node_modules/verifalia": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/verifalia/-/verifalia-3.2.2.tgz", - "integrity": "sha512-HqQcMK36oW2P0bHtMapRNz88z5EzrKhiSAmWw89g5zhkKnornANJPsxzQ+B98GsbXH2US2tjUxT+CW4rvX/dRg==", - "dependencies": { - "abort-controller": "^3.0.0", - "form-data": "^3.0.0", - "node-fetch": "^2.6.1", - "tslib": "^2.0.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - } - }, - "dependencies": { - "abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "requires": { - "event-target-shim": "^5.0.0" - } - }, - "asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" - }, - "combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "requires": { - "delayed-stream": "~1.0.0" - } - }, - "delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==" - }, - "event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==" - }, - "form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "requires": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - } - }, - "mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==" - }, - "mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "requires": { - "mime-db": "1.52.0" - } - }, - "node-fetch": { - "version": "2.6.7", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", - "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", - "requires": { - "whatwg-url": "^5.0.0" - } - }, - "tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, - "tslib": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", - "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" - }, - "verifalia": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/verifalia/-/verifalia-3.2.2.tgz", - "integrity": "sha512-HqQcMK36oW2P0bHtMapRNz88z5EzrKhiSAmWw89g5zhkKnornANJPsxzQ+B98GsbXH2US2tjUxT+CW4rvX/dRg==", - "requires": { - "abort-controller": "^3.0.0", - "form-data": "^3.0.0", - "node-fetch": "^2.6.1", - "tslib": "^2.0.3" - } - }, - "webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, - "whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "requires": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - } - } -} diff --git a/components/verifalia/package.json b/components/verifalia/package.json index 25fca4985f947..fbf677c9b1592 100644 --- a/components/verifalia/package.json +++ b/components/verifalia/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/verifalia", - "version": "1.0.4", + "version": "1.1.0", "description": "Pipedream Verifalia Components", "main": "verifalia.app.mjs", "keywords": [ @@ -16,6 +16,7 @@ "access": "public" }, "dependencies": { + "@pipedream/platform": "^1.4.0", "verifalia": "3.2.2" } } From eddb433bea7bc27cd658d87788197493faa6383b Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:47:22 -0300 Subject: [PATCH 25/31] xero_accounting_api --- .../actions/download-invoice/download-invoice.mjs | 8 ++++---- components/xero_accounting_api/package.json | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/xero_accounting_api/actions/download-invoice/download-invoice.mjs b/components/xero_accounting_api/actions/download-invoice/download-invoice.mjs index e1dd4c0d12f8a..6d55cf88d6442 100644 --- a/components/xero_accounting_api/actions/download-invoice/download-invoice.mjs +++ b/components/xero_accounting_api/actions/download-invoice/download-invoice.mjs @@ -1,12 +1,12 @@ // legacy_hash_id: a_k6irBN import fs from "fs"; -import axios from "axios"; +import { axios } from "@pipedream/platform"; export default { key: "xero_accounting_api-download-invoice", name: "Download Invoice", description: "Downloads an invoice as pdf file. File will be placed at the action's associated workflow temporary folder.", - version: "0.1.2", + version: "0.2.0", type: "action", props: { xero_accounting_api: { @@ -30,7 +30,7 @@ export default { throw new Error("Must provide tenant_id, invoice_id parameters."); } - const resp = await axios({ + const data = await axios($, { url: `https://api.xero.com/api.xro/2.0/Invoices/${this.invoice_id}`, headers: { "Authorization": `Bearer ${this.xero_accounting_api.$auth.oauth_access_token}`, @@ -40,7 +40,7 @@ export default { responseType: "arraybuffer", }); - const invoicePdf = resp.data.toString("base64"); + const invoicePdf = data.toString("base64"); const buffer = Buffer.from(invoicePdf, "base64"); const tmpDir = "/tmp"; const invoicePath = `${tmpDir}/${this.invoice_id}.pdf`; diff --git a/components/xero_accounting_api/package.json b/components/xero_accounting_api/package.json index bd14960ed3aa1..7138ecd394301 100644 --- a/components/xero_accounting_api/package.json +++ b/components/xero_accounting_api/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/xero_accounting_api", - "version": "0.0.4", + "version": "0.1.0", "description": "Pipedream Xero Components", "main": "xero_accounting_api.app.mjs", "keywords": [ @@ -10,7 +10,7 @@ "homepage": "https://pipedream.com/apps/xero_accounting_api", "author": "Pipedream (https://pipedream.com/)", "dependencies": { - "@pipedream/platform": "^1.2.0" + "@pipedream/platform": "^1.4.0" }, "publishConfig": { "access": "public" From 997f51bdc9cf12e0e4c1ace1716e2efb346e00fe Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:52:42 -0300 Subject: [PATCH 26/31] zoom --- .../add-meeting-registrant/add-meeting-registrant.mjs | 2 +- .../add-webinar-panelist/add-webinar-panelist.mjs | 2 +- .../add-webinar-registrant/add-webinar-registrant.mjs | 2 +- .../actions/create-meeting/create-meeting.mjs | 2 +- .../actions/create-webinar/create-webinar.mjs | 2 +- .../delete-cloud-recording/delete-cloud-recording.mjs | 2 +- .../actions/delete-meeting/delete-meeting.mjs | 2 +- .../delete-webinar-panelist.mjs | 2 +- .../actions/delete-webinar/delete-webinar.mjs | 2 +- .../zoom_admin/actions/end-meeting/end-meeting.mjs | 2 +- .../zoom_admin/actions/get-meeting/get-meeting.mjs | 2 +- .../zoom_admin/actions/get-webinar/get-webinar.mjs | 2 +- .../list-cloud-recordings/list-cloud-recordings.mjs | 2 +- .../list-meeting-registrants.mjs | 2 +- .../actions/list-meetings/list-meetings.mjs | 2 +- .../list-webinar-registrants.mjs | 2 +- .../actions/list-webinars/list-webinars.mjs | 2 +- .../actions/update-meeting/update-meeting.mjs | 2 +- .../update-webinar-registrant-status.mjs | 2 +- .../actions/update-webinar/update-webinar.mjs | 2 +- components/zoom_admin/package.json | 5 +++-- .../sources/account-created/account-created.mjs | 2 +- .../account-settings-updated.mjs | 2 +- .../sources/account-updated/account-updated.mjs | 2 +- .../sources/custom-events/custom-events.mjs | 2 +- .../sources/meeting-created/meeting-created.mjs | 2 +- .../sources/meeting-deleted/meeting-deleted.mjs | 2 +- .../sources/meeting-ended/meeting-ended.mjs | 2 +- .../sources/meeting-started/meeting-started.mjs | 2 +- .../sources/meeting-updated/meeting-updated.mjs | 2 +- .../recording-completed/recording-completed.mjs | 2 +- .../sources/user-activated/user-activated.mjs | 2 +- .../zoom_admin/sources/user-created/user-created.mjs | 2 +- .../sources/user-deactivated/user-deactivated.mjs | 2 +- .../zoom_admin/sources/user-deleted/user-deleted.mjs | 2 +- .../user-invitation-accepted.mjs | 2 +- .../zoom_admin/sources/user-updated/user-updated.mjs | 2 +- .../webinar-changes-to-panelists.mjs | 2 +- .../sources/webinar-created/webinar-created.mjs | 2 +- .../sources/webinar-deleted/webinar-deleted.mjs | 3 ++- .../sources/webinar-ended/webinar-ended.mjs | 2 +- .../sources/webinar-started/webinar-started.mjs | 2 +- .../sources/webinar-updated/webinar-updated.mjs | 2 +- components/zoom_admin/zoom_admin.app.mjs | 11 ++++++++--- 44 files changed, 54 insertions(+), 47 deletions(-) diff --git a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs index a30832ca23cf3..786724c929168 100644 --- a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs +++ b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs @@ -7,7 +7,7 @@ export default { name: "Add meeting registrant", description: "Register a participant for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)", key: "zoom_admin-action-add-meeting-registrant", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs index ff74a5158d28e..46d6d5bf77aae 100644 --- a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs +++ b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs @@ -6,7 +6,7 @@ export default { name: "Add webinar panelist", description: "Register a panelist for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistcreate)", key: "zoom_admin-action-add-webinar-panelist", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs index f4fecb1ec1634..eb51667a84dc5 100644 --- a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs +++ b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs @@ -7,7 +7,7 @@ export default { name: "Add webinar registrant", description: "Register a participant for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate)", key: "zoom_admin-action-add-webinar-registrant", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-meeting/create-meeting.mjs b/components/zoom_admin/actions/create-meeting/create-meeting.mjs index b51f885db1f9f..e5a7e4797a42b 100644 --- a/components/zoom_admin/actions/create-meeting/create-meeting.mjs +++ b/components/zoom_admin/actions/create-meeting/create-meeting.mjs @@ -9,7 +9,7 @@ export default { name: "Create a meeting", description: "Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)", key: "zoom_admin-action-create-a-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-webinar/create-webinar.mjs b/components/zoom_admin/actions/create-webinar/create-webinar.mjs index e76c408189dae..8a8c57159842b 100644 --- a/components/zoom_admin/actions/create-webinar/create-webinar.mjs +++ b/components/zoom_admin/actions/create-webinar/create-webinar.mjs @@ -9,7 +9,7 @@ export default { name: "Create Webinar", description: "Create a webinar for an user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate)", key: "zoom_admin-action-create-a-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs index 586905bdee303..784e753b39391 100644 --- a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs +++ b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs @@ -7,7 +7,7 @@ export default { name: "Delete Cloud Recording", description: "Remove a recording from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdeleteone)", key: "zoom_admin-action-delete-cloud-recording", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs index 54fd0533179c7..9aa59be0f1e37 100644 --- a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs +++ b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "Delete meeting", description: "Delete a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingdelete)", key: "zoom_admin-action-delete-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs index 6f11740e4619e..4516c7500ebb0 100644 --- a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs +++ b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs @@ -6,7 +6,7 @@ export default { name: "Delete webinar panelist", description: "Remove a panelist from a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistdelete)", key: "zoom_admin-action-remove-webinar-panelist", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs index 1297b5934efa6..ed0814f18c5ea 100644 --- a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs +++ b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs @@ -6,7 +6,7 @@ export default { name: "Delete webinar", description: "Delete a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinardelete)", key: "zoom_admin-action-delete-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/end-meeting/end-meeting.mjs b/components/zoom_admin/actions/end-meeting/end-meeting.mjs index 05e7eff6ea3e5..6220d2113634c 100644 --- a/components/zoom_admin/actions/end-meeting/end-meeting.mjs +++ b/components/zoom_admin/actions/end-meeting/end-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "End meeting", description: "End a meeting for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingstatus)", key: "zoom_admin-action-end-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-meeting/get-meeting.mjs b/components/zoom_admin/actions/get-meeting/get-meeting.mjs index 2fd21bbf172a6..ad19acea17051 100644 --- a/components/zoom_admin/actions/get-meeting/get-meeting.mjs +++ b/components/zoom_admin/actions/get-meeting/get-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "Get Meeting", description: "Retrieve the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)", key: "zoom_admin-action-get-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-webinar/get-webinar.mjs b/components/zoom_admin/actions/get-webinar/get-webinar.mjs index 5c7bf333cc822..4ef75e5114b71 100644 --- a/components/zoom_admin/actions/get-webinar/get-webinar.mjs +++ b/components/zoom_admin/actions/get-webinar/get-webinar.mjs @@ -6,7 +6,7 @@ export default { name: "Get Webinar", description: "Retrieve the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinar)", key: "zoom_admin-action-get-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs index ef159250e5a21..8023b399a87a8 100644 --- a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs +++ b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs @@ -6,7 +6,7 @@ export default { name: "List Cloud Recordings", description: "Search cloud recordings from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist)", key: "zoom_admin-action-list-cloud-recordings", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs index b21657b2b9a7e..ed2146d8e0203 100644 --- a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs +++ b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs @@ -7,7 +7,7 @@ export default { name: "List meeting registrants", description: "List all users who have registered for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants)", key: "zoom_admin-action-list-meeting-registrants", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meetings/list-meetings.mjs b/components/zoom_admin/actions/list-meetings/list-meetings.mjs index 0da52b76dd39a..3e0e94627fa87 100644 --- a/components/zoom_admin/actions/list-meetings/list-meetings.mjs +++ b/components/zoom_admin/actions/list-meetings/list-meetings.mjs @@ -6,7 +6,7 @@ export default { name: "List meetings", description: "List all meetings. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings)", key: "zoom_admin-action-list-meetings", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs index f08e7d791dd99..5e98f91239142 100644 --- a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs +++ b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs @@ -7,7 +7,7 @@ export default { name: "List webinar registrants", description: "List all users that have registered for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants)", key: "zoom_admin-action-list-webinar-registrants", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinars/list-webinars.mjs b/components/zoom_admin/actions/list-webinars/list-webinars.mjs index 48d42f90c400c..1338c1eda9784 100644 --- a/components/zoom_admin/actions/list-webinars/list-webinars.mjs +++ b/components/zoom_admin/actions/list-webinars/list-webinars.mjs @@ -5,7 +5,7 @@ export default { name: "List Webinars", description: "List all webinars for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinars)", key: "zoom_admin-action-list-webinars", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-meeting/update-meeting.mjs b/components/zoom_admin/actions/update-meeting/update-meeting.mjs index aaa182592831f..104b9d5396c1e 100644 --- a/components/zoom_admin/actions/update-meeting/update-meeting.mjs +++ b/components/zoom_admin/actions/update-meeting/update-meeting.mjs @@ -10,7 +10,7 @@ export default { name: "Update a meeting", description: "Update the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate)", key: "zoom_admin-action-update-a-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs index b7d13d1d051ac..b0c5ad91bbedb 100644 --- a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs +++ b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs @@ -8,7 +8,7 @@ export default { name: "Update Webinar Registrant Status", description: "Update registrant status for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantstatus)", key: "zoom_admin-action-update-webinar-registrant-status", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar/update-webinar.mjs b/components/zoom_admin/actions/update-webinar/update-webinar.mjs index e3c8063333d7e..818894d80062c 100644 --- a/components/zoom_admin/actions/update-webinar/update-webinar.mjs +++ b/components/zoom_admin/actions/update-webinar/update-webinar.mjs @@ -13,7 +13,7 @@ export default { name: "Update Webinar", description: "Update the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarupdate)", key: "zoom_admin-action-update-a-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/package.json b/components/zoom_admin/package.json index 84edcb3b37e93..1d003053f14c8 100644 --- a/components/zoom_admin/package.json +++ b/components/zoom_admin/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/zoom_admin", - "version": "0.3.6", + "version": "0.4.0", "description": "Pipedream Zoom_admin Components", "main": "zoom_admin.app.js", "keywords": [ @@ -14,7 +14,8 @@ "access": "public" }, "dependencies": { - "@pipedream/platform": "^1.2.0", + "@pipedream/platform": "^1.4.0", + "lodash": "^4.17.21", "uuid": "^8.3.2" } } diff --git a/components/zoom_admin/sources/account-created/account-created.mjs b/components/zoom_admin/sources/account-created/account-created.mjs index 9fea76d6e1970..60c155443065e 100644 --- a/components/zoom_admin/sources/account-created/account-created.mjs +++ b/components/zoom_admin/sources/account-created/account-created.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Account Created", description: "Emits an event each time a sub-account is created in your master account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on account ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/account-settings-updated/account-settings-updated.mjs b/components/zoom_admin/sources/account-settings-updated/account-settings-updated.mjs index 727a04db3a91b..2cd43d0a3e640 100644 --- a/components/zoom_admin/sources/account-settings-updated/account-settings-updated.mjs +++ b/components/zoom_admin/sources/account-settings-updated/account-settings-updated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Account Settings Updated", description: "Emits an event each time your master account or sub-account settings are updated", - version: "0.0.3", + version: "0.1.0", props: { zoomAdmin, zoomApphook: { diff --git a/components/zoom_admin/sources/account-updated/account-updated.mjs b/components/zoom_admin/sources/account-updated/account-updated.mjs index 6ddbf1d9650bd..566b28671f71a 100644 --- a/components/zoom_admin/sources/account-updated/account-updated.mjs +++ b/components/zoom_admin/sources/account-updated/account-updated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Account Updated", description: "Emits an event each time your master account or sub-account profile is updated", - version: "0.0.3", + version: "0.1.0", props: { zoomAdmin, zoomApphook: { diff --git a/components/zoom_admin/sources/custom-events/custom-events.mjs b/components/zoom_admin/sources/custom-events/custom-events.mjs index 3f2bcd9f2a4ba..17c754dca5aeb 100644 --- a/components/zoom_admin/sources/custom-events/custom-events.mjs +++ b/components/zoom_admin/sources/custom-events/custom-events.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Custom Events", description: "Listen for any events tied to your Zoom account", - version: "0.0.4", + version: "0.1.0", props: { zoomAdmin, eventNameOptions: { diff --git a/components/zoom_admin/sources/meeting-created/meeting-created.mjs b/components/zoom_admin/sources/meeting-created/meeting-created.mjs index 1464329c86ac8..b128f9d2dd944 100644 --- a/components/zoom_admin/sources/meeting-created/meeting-created.mjs +++ b/components/zoom_admin/sources/meeting-created/meeting-created.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Meeting Created", description: "Emits an event each time a meeting is created in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on meeting ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/meeting-deleted/meeting-deleted.mjs b/components/zoom_admin/sources/meeting-deleted/meeting-deleted.mjs index b336926b42364..6afc86e8eceb4 100644 --- a/components/zoom_admin/sources/meeting-deleted/meeting-deleted.mjs +++ b/components/zoom_admin/sources/meeting-deleted/meeting-deleted.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Meeting Deleted", description: "Emits an event each time a meeting is deleted in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on meeting ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/meeting-ended/meeting-ended.mjs b/components/zoom_admin/sources/meeting-ended/meeting-ended.mjs index eaa26ce621f4c..1f1152303faa7 100644 --- a/components/zoom_admin/sources/meeting-ended/meeting-ended.mjs +++ b/components/zoom_admin/sources/meeting-ended/meeting-ended.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Meeting Ended", description: "Emits an event each time a meeting ends in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on meeting ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/meeting-started/meeting-started.mjs b/components/zoom_admin/sources/meeting-started/meeting-started.mjs index 88654a5522dec..dab9726976685 100644 --- a/components/zoom_admin/sources/meeting-started/meeting-started.mjs +++ b/components/zoom_admin/sources/meeting-started/meeting-started.mjs @@ -6,7 +6,7 @@ export default { type: "source", name: "Meeting Started", description: "Emits an event each time a meeting starts in your Zoom account", - version: "0.0.4", + version: "0.1.0", dedupe: "unique", // Dedupe based on meeting ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/meeting-updated/meeting-updated.mjs b/components/zoom_admin/sources/meeting-updated/meeting-updated.mjs index 8f691fa952d24..cff97685b5c5f 100644 --- a/components/zoom_admin/sources/meeting-updated/meeting-updated.mjs +++ b/components/zoom_admin/sources/meeting-updated/meeting-updated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Meeting Updated", description: "Emits an event each time a meeting is updated in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // dedupe on the meeting ID + timestamp props: { zoomAdmin, diff --git a/components/zoom_admin/sources/recording-completed/recording-completed.mjs b/components/zoom_admin/sources/recording-completed/recording-completed.mjs index 12d733907102f..18de8b4d84895 100644 --- a/components/zoom_admin/sources/recording-completed/recording-completed.mjs +++ b/components/zoom_admin/sources/recording-completed/recording-completed.mjs @@ -6,7 +6,7 @@ export default { type: "source", name: "Recording Completed", description: "Emits an event each time a recording is ready for viewing in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe events based on the ID of the recording file props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-activated/user-activated.mjs b/components/zoom_admin/sources/user-activated/user-activated.mjs index b659f5ad987f1..18837d7ae4db2 100644 --- a/components/zoom_admin/sources/user-activated/user-activated.mjs +++ b/components/zoom_admin/sources/user-activated/user-activated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Activated", description: "Emits an event each time a user is activated in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-created/user-created.mjs b/components/zoom_admin/sources/user-created/user-created.mjs index ca9a9a9fc516e..82a2054e95c9d 100644 --- a/components/zoom_admin/sources/user-created/user-created.mjs +++ b/components/zoom_admin/sources/user-created/user-created.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Created", description: "Emits an event each time a user is created in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-deactivated/user-deactivated.mjs b/components/zoom_admin/sources/user-deactivated/user-deactivated.mjs index 7cee2727e91b3..e955d7d793b4c 100644 --- a/components/zoom_admin/sources/user-deactivated/user-deactivated.mjs +++ b/components/zoom_admin/sources/user-deactivated/user-deactivated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Deactivated", description: "Emits an event each time a user is deactivated in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-deleted/user-deleted.mjs b/components/zoom_admin/sources/user-deleted/user-deleted.mjs index 42b82fcf1a05a..b308f5dd951c2 100644 --- a/components/zoom_admin/sources/user-deleted/user-deleted.mjs +++ b/components/zoom_admin/sources/user-deleted/user-deleted.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Deleted", description: "Emits an event each time a user is deleted in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-invitation-accepted/user-invitation-accepted.mjs b/components/zoom_admin/sources/user-invitation-accepted/user-invitation-accepted.mjs index 91800bb4fb3e9..3133222d226d3 100644 --- a/components/zoom_admin/sources/user-invitation-accepted/user-invitation-accepted.mjs +++ b/components/zoom_admin/sources/user-invitation-accepted/user-invitation-accepted.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Invitation Accepted", description: "Emits an event each time a user accepts an invite to your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/user-updated/user-updated.mjs b/components/zoom_admin/sources/user-updated/user-updated.mjs index 93c2414ae4e4b..381406a8bd375 100644 --- a/components/zoom_admin/sources/user-updated/user-updated.mjs +++ b/components/zoom_admin/sources/user-updated/user-updated.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "User Updated", description: "Emits an event each time a user's settings are updated in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on user ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/webinar-changes-to-panelists/webinar-changes-to-panelists.mjs b/components/zoom_admin/sources/webinar-changes-to-panelists/webinar-changes-to-panelists.mjs index 13ee471e88705..49100086d25e3 100644 --- a/components/zoom_admin/sources/webinar-changes-to-panelists/webinar-changes-to-panelists.mjs +++ b/components/zoom_admin/sources/webinar-changes-to-panelists/webinar-changes-to-panelists.mjs @@ -8,7 +8,7 @@ export default { type: "source", name: "Changes to Webinar Panelists", key: "zoom_admin-webinar-changes-to-panelists", - version: "0.0.4", + version: "0.1.0", description: "Emit new event every time a panelist is added or removed from a webinar, or any time their details change", dedupe: "unique", props: { diff --git a/components/zoom_admin/sources/webinar-created/webinar-created.mjs b/components/zoom_admin/sources/webinar-created/webinar-created.mjs index d192ad76d5c15..9f6ec8a8fed57 100644 --- a/components/zoom_admin/sources/webinar-created/webinar-created.mjs +++ b/components/zoom_admin/sources/webinar-created/webinar-created.mjs @@ -6,7 +6,7 @@ export default { name: "Webinar Created", description: "Emits an event each time a webinar is created in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on webinar ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/webinar-deleted/webinar-deleted.mjs b/components/zoom_admin/sources/webinar-deleted/webinar-deleted.mjs index b4929ce722e8f..f9ce3ccd5f3b8 100644 --- a/components/zoom_admin/sources/webinar-deleted/webinar-deleted.mjs +++ b/components/zoom_admin/sources/webinar-deleted/webinar-deleted.mjs @@ -5,7 +5,8 @@ export default { name: "Webinar Deleted", description: "Emits an event each time a webinar is deleted in your Zoom account", - version: "0.0.3", + version: "0.1.0", + type: "source", dedupe: "unique", // Dedupe based on webinar ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/webinar-ended/webinar-ended.mjs b/components/zoom_admin/sources/webinar-ended/webinar-ended.mjs index 14ba518958fd2..5c29b0f5c7f20 100644 --- a/components/zoom_admin/sources/webinar-ended/webinar-ended.mjs +++ b/components/zoom_admin/sources/webinar-ended/webinar-ended.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Webinar Ended", description: "Emits an event each time a webinar ends in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on webinar ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/webinar-started/webinar-started.mjs b/components/zoom_admin/sources/webinar-started/webinar-started.mjs index 4794ba988b45c..0670598ab0984 100644 --- a/components/zoom_admin/sources/webinar-started/webinar-started.mjs +++ b/components/zoom_admin/sources/webinar-started/webinar-started.mjs @@ -5,7 +5,7 @@ export default { type: "source", name: "Webinar Started", description: "Emits an event each time a webinar starts in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on webinar ID props: { zoomAdmin, diff --git a/components/zoom_admin/sources/webinar-updated/webinar-updated.mjs b/components/zoom_admin/sources/webinar-updated/webinar-updated.mjs index 9a54bed1bba3a..3083ee926d8aa 100644 --- a/components/zoom_admin/sources/webinar-updated/webinar-updated.mjs +++ b/components/zoom_admin/sources/webinar-updated/webinar-updated.mjs @@ -6,7 +6,7 @@ export default { name: "Webinar Updated", description: "Emits an event each time a webinar is updated in your Zoom account", - version: "0.0.3", + version: "0.1.0", dedupe: "unique", // Dedupe based on webinar ID props: { zoomAdmin, diff --git a/components/zoom_admin/zoom_admin.app.mjs b/components/zoom_admin/zoom_admin.app.mjs index c3e08798a1cd3..07dcb23260689 100644 --- a/components/zoom_admin/zoom_admin.app.mjs +++ b/components/zoom_admin/zoom_admin.app.mjs @@ -1,5 +1,5 @@ /* eslint-disable camelcase */ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import get from "lodash/get.js"; import sortBy from "lodash/sortBy.js"; import flatten from "lodash/flatten.js"; @@ -252,8 +252,13 @@ export default { headers: this._getHeaders(), }; }, - async _makeRequest(opts) { - return axios(this._getAxiosParams(opts)); + async _makeRequest({ + $ = this, ...opts + }) { + return axios($, this._getAxiosParams({ + ...opts, + returnFullResponse: true, + })); }, async listMeetings(nextPageToken) { const { data } = await this._makeRequest({ From 372b419ae180b4849fc9d3ff15b6d5ba82265325 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:57:00 -0300 Subject: [PATCH 27/31] rss --- components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts | 2 +- components/rss/app/rss.app.ts | 5 +++-- components/rss/package.json | 5 ++--- .../new-item-from-multiple-feeds.ts | 2 +- components/rss/sources/new-item-in-feed/new-item-in-feed.ts | 2 +- .../random-item-in-multiple-feeds.ts | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts b/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts index 4db58f315ca82..dd81599ee4a74 100644 --- a/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts +++ b/components/rss/actions/merge-rss-feeds/merge-rss-feeds.ts @@ -5,7 +5,7 @@ export default defineAction({ name: "Merge RSS Feeds", description: "Retrieve multiple RSS feeds and return a merged array of items sorted by date [See docs](https://www.rssboard.org/rss-specification)", key: "rss-merge-rss-feeds", - version: "1.1.1", + version: "1.2.0", type: "action", props: { rss, diff --git a/components/rss/app/rss.app.ts b/components/rss/app/rss.app.ts index 9c6b5cdbb41a5..85432b1be1ef1 100644 --- a/components/rss/app/rss.app.ts +++ b/components/rss/app/rss.app.ts @@ -1,4 +1,4 @@ -import axios from "axios"; +import { axios } from "@pipedream/platform"; import FeedParser from "feedparser"; import { Item } from "feedparser"; import hash from "object-hash"; @@ -53,7 +53,7 @@ export default defineApp({ return hash(item); }, async fetchFeed(url: string): Promise { - const res = await axios({ + const res = await axios(this, { url, method: "GET", headers: { @@ -61,6 +61,7 @@ export default defineApp({ }, validateStatus: () => true, // does not throw on any bad status code responseType: "stream", // stream is required for feedparser + returnResponse: true, }); // Handle status codes as error codes diff --git a/components/rss/package.json b/components/rss/package.json index 3b932b097438f..7ecca6b43bd2a 100644 --- a/components/rss/package.json +++ b/components/rss/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/rss", - "version": "0.4.3", + "version": "0.5.0", "description": "Pipedream RSS Components", "main": "dist/app/rss.app.mjs", "types": "dist/app/rss.app.d.ts", @@ -25,8 +25,7 @@ }, "dependencies": { "@pipedream/helpers": "^1.3.9", - "@pipedream/platform": "^1.2.0", - "axios": "^0.27.2", + "@pipedream/platform": "^1.4.0", "feedparser": "^2.2.10", "object-hash": "^3.0.0", "rss-parser": "^3.12.0", diff --git a/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts b/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts index b69624b9315a4..9ac12df206a14 100644 --- a/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts +++ b/components/rss/sources/new-item-from-multiple-feeds/new-item-from-multiple-feeds.ts @@ -8,7 +8,7 @@ export default defineSource({ name: "New Item From Multiple RSS Feeds", type: "source", description: "Emit new items from multiple RSS feeds", - version: "1.1.1", + version: "1.2.0", props: { ...rssCommon.props, urls: { diff --git a/components/rss/sources/new-item-in-feed/new-item-in-feed.ts b/components/rss/sources/new-item-in-feed/new-item-in-feed.ts index 246abc8ee14ed..9573f8c3c80ba 100644 --- a/components/rss/sources/new-item-in-feed/new-item-in-feed.ts +++ b/components/rss/sources/new-item-in-feed/new-item-in-feed.ts @@ -7,7 +7,7 @@ export default defineSource({ key: "rss-new-item-in-feed", name: "New Item in Feed", description: "Emit new items from an RSS feed", - version: "1.1.2", + version: "1.2.0", type: "source", dedupe: "unique", props: { diff --git a/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts b/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts index db1edc1487b2a..fb6c82c97fc19 100644 --- a/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts +++ b/components/rss/sources/random-item-in-multiple-feeds/random-item-in-multiple-feeds.ts @@ -8,7 +8,7 @@ export default defineSource({ name: "Random item from multiple RSS feeds", type: "source", description: "Emit a random item from multiple RSS feeds", - version: "0.1.1", + version: "0.2.0", props: { ...rssCommon.props, urls: { From 97b9386f4a9405f75d8753bdeadf56e5f10cd670 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 12:57:36 -0300 Subject: [PATCH 28/31] pnpm-lock --- pnpm-lock.yaml | 429 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 319 insertions(+), 110 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7484293bdc7a3..2610d829a49ba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -147,16 +147,16 @@ importers: components/airtable: specifiers: + '@pipedream/platform': ^1.4.0 airtable: ^0.11.1 - axios: ^0.21.1 bottleneck: ^2.19.5 lodash: ^4.17.21 lodash.chunk: ^4.2.0 lodash.isempty: ^4.4.0 moment: ^2.29.1 dependencies: + '@pipedream/platform': 1.4.0 airtable: 0.11.4 - axios: 0.21.4 bottleneck: 2.19.5 lodash: 4.17.21 lodash.chunk: 4.2.0 @@ -314,7 +314,7 @@ importers: '@aws-sdk/client-ssm': ^3.58.0 '@aws-sdk/client-sts': ^3.58.0 '@pipedream/helper_functions': ^0.3.6 - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 mailparser-mit: ^1.0.0 dependencies: '@aws-sdk/client-cloudwatch-logs': 3.131.0 @@ -332,7 +332,7 @@ importers: '@aws-sdk/client-ssm': 3.231.0 '@aws-sdk/client-sts': 3.131.0 '@pipedream/helper_functions': 0.3.8 - '@pipedream/platform': 1.2.1 + '@pipedream/platform': 1.4.0 mailparser-mit: 1.0.0 components/azure_devops: @@ -388,6 +388,9 @@ importers: components/beaconstac: specifiers: {} + components/beanstalkapp: + specifiers: {} + components/beehiiv: specifiers: '@pipedream/platform': ^1.1.1 @@ -402,6 +405,9 @@ importers: dependencies: '@pipedream/platform': 1.1.1 + components/bigml: + specifiers: {} + components/bill: specifiers: {} @@ -452,10 +458,10 @@ importers: components/brex: specifiers: - axios: ^0.25.0 + '@pipedream/platform': ^1.4.0 uuid: ^8.3.2 dependencies: - axios: 0.25.0 + '@pipedream/platform': 1.4.0 uuid: 8.3.2 components/brex_staging: @@ -471,12 +477,23 @@ importers: components/brosix: specifiers: {} + components/browserless: + specifiers: + '@pipedream/platform': ^1.4.0 + puppeteer-core: ^19.7.5 + dependencies: + '@pipedream/platform': 1.4.0 + puppeteer-core: 19.7.5 + components/bugsnag: specifiers: {} components/builder_io: specifiers: {} + components/bulkgate: + specifiers: {} + components/burst_sms: specifiers: {} @@ -525,12 +542,18 @@ importers: components/callingly: specifiers: {} + components/campayn: + specifiers: {} + components/captaindata: specifiers: {} components/cartes: specifiers: {} + components/cascade_strategy: + specifiers: {} + components/cdc_national_environmental_public_health_tracking: specifiers: {} @@ -564,19 +587,25 @@ importers: components/chatsonic: specifiers: {} + components/cheddar: + specifiers: {} + components/circl_hash_lookup: specifiers: {} components/circle: specifiers: {} + components/cisco_meraki: + specifiers: {} + components/cisco_webex: specifiers: - axios: ^0.26.1 + '@pipedream/platform': ^1.4.0 crypto: ^1.0.1 uuid: ^8.3.2 dependencies: - axios: 0.26.1 + '@pipedream/platform': 1.4.0 crypto: 1.0.1 uuid: 8.3.2 @@ -624,9 +653,9 @@ importers: components/close: specifiers: - axios: ^0.27.2 + '@pipedream/platform': ^1.4.0 dependencies: - axios: 0.27.2 + '@pipedream/platform': 1.4.0 components/cloudcart: specifiers: {} @@ -701,11 +730,9 @@ importers: components/confection: specifiers: - '@pipedream/platform': ^1.2.0 - axios: ^0.23.0 + '@pipedream/platform': ^1.4.0 dependencies: - '@pipedream/platform': 1.2.0 - axios: 0.23.0 + '@pipedream/platform': 1.4.0 components/confluent: specifiers: {} @@ -902,7 +929,10 @@ importers: '@pipedream/platform': 1.2.1 components/discord: - specifiers: {} + specifiers: + '@pipedream/platform': ^1.4.0 + dependencies: + '@pipedream/platform': 1.4.0 components/discord_bot: specifiers: @@ -914,14 +944,23 @@ importers: components/discord_webhook: specifiers: - axios: ^0.21.1 + '@pipedream/platform': ^1.4.0 form-data: ^4.0.0 dependencies: - axios: 0.21.4 + '@pipedream/platform': 1.4.0 form-data: 4.0.0 components/discourse: - specifiers: {} + specifiers: + '@pipedream/platform': ^1.4.0 + lodash.get: ^4.4.2 + lodash.sortby: ^4.7.0 + nanoid: ^4.0.1 + dependencies: + '@pipedream/platform': 1.4.0 + lodash.get: 4.4.2 + lodash.sortby: 4.7.0 + nanoid: 4.0.1 components/dispatch: specifiers: {} @@ -1497,14 +1536,12 @@ importers: components/google_drive: specifiers: '@googleapis/drive': ^2.3.0 - '@pipedream/platform': ^1.2.0 - axios: ^0.21.1 + '@pipedream/platform': ^1.4.0 mime-db: ^1.51.0 uuid: ^8.3.2 dependencies: '@googleapis/drive': 2.4.0 - '@pipedream/platform': 1.2.0 - axios: 0.21.4 + '@pipedream/platform': 1.4.0 mime-db: 1.52.0 uuid: 8.3.2 @@ -1523,13 +1560,11 @@ importers: components/google_sheets: specifiers: '@googleapis/sheets': ^0.3.0 - '@pipedream/platform': ^0.10.0 - axios: ^0.21.1 + '@pipedream/platform': ^1.4.0 uuidv4: ^6.2.6 dependencies: '@googleapis/sheets': 0.3.0 - '@pipedream/platform': 0.10.0 - axios: 0.21.4 + '@pipedream/platform': 1.4.0 uuidv4: 6.2.13 components/google_slides: @@ -1714,6 +1749,9 @@ importers: components/idealspot: specifiers: {} + components/idx_broker: + specifiers: {} + components/ifttt: specifiers: '@pipedream/platform': ^0.10.0 @@ -2282,12 +2320,12 @@ importers: components/netlify: specifiers: - axios: ^0.21.1 + '@pipedream/platform': ^1.4.0 jwt-simple: ^0.5.6 netlify: ^6.0.9 parse-link-header: ^1.0.1 dependencies: - axios: 0.21.4 + '@pipedream/platform': 1.4.0 jwt-simple: 0.5.6 netlify: 6.1.29 parse-link-header: 1.0.1 @@ -2667,26 +2705,22 @@ importers: components/pinterest: specifiers: - '@pipedream/platform': ^0.10.0 - axios: ^0.27.2 + '@pipedream/platform': ^1.4.0 js-base64: ^3.7.2 mime-types: ^2.1.35 url-exist: ^3.0.0 dependencies: - '@pipedream/platform': 0.10.0 - axios: 0.27.2 + '@pipedream/platform': 1.4.0 js-base64: 3.7.2 mime-types: 2.1.35 url-exist: 3.0.0 components/pipedream: specifiers: - axios: ^0.21.1 - convert-array-to-csv: ^2.0.0 + '@pipedream/platform': ^1.4.0 uuidv4: ^6.2.13 dependencies: - axios: 0.21.4 - convert-array-to-csv: 2.0.0 + '@pipedream/platform': 1.4.0 uuidv4: 6.2.13 components/pipedrive: @@ -3006,13 +3040,13 @@ importers: components/reddit: specifiers: - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 async-retry: ^1.3.3 axios: ^0.27.2 lodash: ^4.17.21 qs: ^6.11.0 dependencies: - '@pipedream/platform': 1.2.0 + '@pipedream/platform': 1.4.0 async-retry: 1.3.3 axios: 0.27.2 lodash: 4.17.21 @@ -3124,20 +3158,18 @@ importers: components/rss: specifiers: '@pipedream/helpers': ^1.3.9 - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 '@types/axios': ^0.14.0 '@types/feedparser': ^2.2.5 '@types/node': ^17.0.36 '@types/object-hash': ^2.2.1 - axios: ^0.27.2 feedparser: ^2.2.10 object-hash: ^3.0.0 rss-parser: ^3.12.0 string-to-stream: ^3.0.1 dependencies: '@pipedream/helpers': 1.3.12 - '@pipedream/platform': 1.2.0 - axios: 0.27.2 + '@pipedream/platform': 1.4.0 feedparser: 2.2.10 object-hash: 3.0.0 rss-parser: 3.12.0 @@ -3154,6 +3186,9 @@ importers: components/rudderstack_transformation: specifiers: {} + components/rytr: + specifiers: {} + components/ryver: specifiers: {} @@ -3289,11 +3324,11 @@ importers: components/sentry: specifiers: - axios: ^0.21.1 + '@pipedream/platform': ^1.4.0 parse-link-header: ^1.0.1 slugify: ^1.4.6 dependencies: - axios: 0.21.4 + '@pipedream/platform': 1.4.0 parse-link-header: 1.0.1 slugify: 1.6.5 @@ -3440,6 +3475,9 @@ importers: components/simpletexting: specifiers: {} + components/sitecreator_io: + specifiers: {} + components/siteleaf: specifiers: '@pipedream/platform': ^1.2.0 @@ -3583,9 +3621,9 @@ importers: components/spotify: specifiers: - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 dependencies: - '@pipedream/platform': 1.2.0 + '@pipedream/platform': 1.4.0 components/square: specifiers: @@ -4039,14 +4077,12 @@ importers: components/twitch: specifiers: - '@pipedream/platform': ^1.2.0 - axios: ^0.27.2 + '@pipedream/platform': ^1.4.0 crypto: ^1.0.1 qs: ^6.10.5 uuid: ^8.3.2 dependencies: - '@pipedream/platform': 1.2.0 - axios: 0.27.2 + '@pipedream/platform': 1.4.0 crypto: 1.0.1 qs: 6.11.0 uuid: 8.3.2 @@ -4196,8 +4232,10 @@ importers: components/verifalia: specifiers: + '@pipedream/platform': ^1.4.0 verifalia: 3.2.2 dependencies: + '@pipedream/platform': 1.4.0 verifalia: 3.2.2 components/verifybee: @@ -4432,9 +4470,9 @@ importers: components/xero_accounting_api: specifiers: - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 dependencies: - '@pipedream/platform': 1.2.0 + '@pipedream/platform': 1.4.0 components/xperiencify: specifiers: @@ -4603,10 +4641,12 @@ importers: components/zoom_admin: specifiers: - '@pipedream/platform': ^1.2.0 + '@pipedream/platform': ^1.4.0 + lodash: ^4.17.21 uuid: ^8.3.2 dependencies: - '@pipedream/platform': 1.2.0 + '@pipedream/platform': 1.4.0 + lodash: 4.17.21 uuid: 8.3.2 components/zulip: @@ -9248,7 +9288,7 @@ packages: engines: {node: ^8.13.0 || >=10.10.0} dependencies: '@grpc/proto-loader': 0.6.13 - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@grpc/proto-loader/0.6.13: @@ -9303,7 +9343,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 jest-message-util: 27.5.1 jest-util: 27.5.1 @@ -9315,7 +9355,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 jest-message-util: 29.1.2 jest-util: 29.1.2 @@ -9415,7 +9455,7 @@ packages: dependencies: '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-mock: 27.5.1 dev: true @@ -9425,7 +9465,7 @@ packages: dependencies: '@jest/fake-timers': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-mock: 29.1.2 dev: true @@ -9452,7 +9492,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@sinonjs/fake-timers': 8.1.0 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-message-util: 27.5.1 jest-mock: 27.5.1 jest-util: 27.5.1 @@ -9464,7 +9504,7 @@ packages: dependencies: '@jest/types': 29.1.2 '@sinonjs/fake-timers': 9.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-message-util: 29.1.2 jest-mock: 29.1.2 jest-util: 29.1.2 @@ -9505,7 +9545,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -9544,7 +9584,7 @@ packages: '@jest/transform': 29.1.2 '@jest/types': 29.1.2 '@jridgewell/trace-mapping': 0.3.16 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 collect-v8-coverage: 1.0.1 exit: 0.1.2 @@ -9686,7 +9726,7 @@ packages: dependencies: '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 '@types/yargs': 16.0.4 chalk: 4.1.2 dev: true @@ -10052,7 +10092,7 @@ packages: /@pipedream/helper_functions/0.3.7: resolution: {integrity: sha512-pWU8IkdqmOrdtElc1N9WUVtY+GuuOFDuGJjfC+kF81+bGmGYV7hL4bd1jLFy8Ka5zs+FO48FEAPQeQDJ/b34kQ==} dependencies: - '@pipedream/platform': 1.3.0 + '@pipedream/platform': 1.4.0 streamifier: 0.1.1 xml-js: 1.6.11 transitivePeerDependencies: @@ -10062,7 +10102,7 @@ packages: /@pipedream/helper_functions/0.3.8: resolution: {integrity: sha512-0hktyMN6jc9F3JLR+1YdWwxOfo1EwakHh04/ml8MWr76cS9bF+v46Br0rt9W2ZHpM6UGb8EeR/sAze9IHLE3Jg==} dependencies: - '@pipedream/platform': 1.3.0 + '@pipedream/platform': 1.4.0 streamifier: 0.1.1 xml-js: 1.6.11 transitivePeerDependencies: @@ -10150,6 +10190,17 @@ packages: - debug dev: false + /@pipedream/platform/1.4.0: + resolution: {integrity: sha512-ZFiSecfg1Dt4vRgHeKUGBz/1T1JswdcckZB6sZ72iQPvrmgLN9h3t+nJ9VQ3RVV8RlG9hs/A83TTI1+dI6Hq4Q==} + dependencies: + axios: 0.21.4 + fp-ts: 2.12.2 + io-ts: 2.2.16_fp-ts@2.12.2 + querystring: 0.2.1 + transitivePeerDependencies: + - debug + dev: false + /@pipedream/types/0.0.5: resolution: {integrity: sha512-VVQB9j+94XG/EB7fzKA1t0McQcQIPhaireePeLRTlJIN4y5W59SJjERjW4h5l7zWIfTnwpLizk3qGholyiw1Vw==} dependencies: @@ -11949,14 +12000,14 @@ packages: dependencies: '@types/http-cache-semantics': 4.0.1 '@types/keyv': 3.1.4 - '@types/node': 17.0.45 + '@types/node': 18.0.6 '@types/responselike': 1.0.0 dev: false /@types/connect/3.4.35: resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/debug/4.1.7: @@ -11984,7 +12035,7 @@ packages: /@types/express-serve-static-core/4.17.29: resolution: {integrity: sha512-uMd++6dMKS32EOuw1Uli3e3BPgdLIXmezcfHv7N4c1s3gkhikBplORPpMq3fuWkxncZN1reb16d5n8yhQ80x7Q==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 '@types/qs': 6.9.7 '@types/range-parser': 1.2.4 dev: false @@ -12008,20 +12059,20 @@ packages: /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: true /@types/glob/7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 3.0.5 - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/graceful-fs/4.1.5: resolution: {integrity: sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: true /@types/hast/2.3.4: @@ -12069,13 +12120,13 @@ packages: /@types/jsonwebtoken/8.5.8: resolution: {integrity: sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/keyv/3.1.4: resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/lodash-es/4.17.6: @@ -12168,7 +12219,7 @@ packages: /@types/responselike/1.0.0: resolution: {integrity: sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/retry/0.12.0: @@ -12185,7 +12236,7 @@ packages: resolution: {integrity: sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ==} dependencies: '@types/mime': 1.3.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/source-map/0.5.7: @@ -12201,7 +12252,7 @@ packages: /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: false /@types/unist/2.0.6: @@ -12218,7 +12269,7 @@ packages: /@types/whatwg-url/8.2.2: resolution: {integrity: sha512-FtQu10RWgn3D9U4aazdwIE2yzphmTJREDqNdODHrbrZmmMqI0vMheC/6NE/J1Yveaj8H+ela+YwWTjq5PGmuhA==} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 '@types/webidl-conversions': 6.1.1 dev: false @@ -12244,6 +12295,14 @@ packages: '@types/yargs-parser': 21.0.0 dev: true + /@types/yauzl/2.10.0: + resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} + requiresBuild: true + dependencies: + '@types/node': 18.0.6 + dev: false + optional: true + /@typescript-eslint/eslint-plugin/5.30.7_j3fwdls2rzb3mq7xmqckumqsle: resolution: {integrity: sha512-l4L6Do+tfeM2OK0GJsU7TUcM/1oN/N25xHm3Jb4z3OiDU4Lj8dIuxX9LpVMS9riSXQs42D1ieX7b85/r16H9Fw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -12895,14 +12954,6 @@ packages: - debug dev: false - /axios/0.23.0: - resolution: {integrity: sha512-NmvAE4i0YAv5cKq8zlDoPd1VLKAqX5oLuZKs8xkJa4qi6RGn0uhCYFjWtHHC9EM/MwOwYWOs53W+V0aqEXq1sg==} - dependencies: - follow-redirects: 1.15.1 - transitivePeerDependencies: - - debug - dev: false - /axios/0.24.0: resolution: {integrity: sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==} dependencies: @@ -13601,11 +13652,24 @@ packages: dev: false optional: true + /chownr/1.1.4: + resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + dev: false + /chownr/2.0.0: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} dev: true + /chromium-bidi/0.4.5_6o5gdkn34s2j2m26x63ssheuqa: + resolution: {integrity: sha512-rkav9YzRfAshSTG3wNXF7P7yNiI29QAo1xBXElPoCoSQR5n20q3cOyVhDv6S7+GlF/CJ/emUxlQiR0xOPurkGg==} + peerDependencies: + devtools-protocol: '*' + dependencies: + devtools-protocol: 0.0.1094867 + mitt: 3.0.0 + dev: false + /ci-info/2.0.0: resolution: {integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==} dev: true @@ -13958,10 +14022,6 @@ packages: engines: {node: '>= 0.6'} dev: false - /convert-array-to-csv/2.0.0: - resolution: {integrity: sha512-dxUINCt28k6WbXGMoB+AaKjGY0Y6GkKwZmT+kvD4nJgVCOKsnIQ3G6n0v2II1lG4NwXQk6EWZ+pPDub9wcqqMg==} - dev: false - /convert-source-map/1.8.0: resolution: {integrity: sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==} dependencies: @@ -14561,6 +14621,10 @@ packages: - supports-color dev: false + /devtools-protocol/0.0.1094867: + resolution: {integrity: sha512-pmMDBKiRVjh0uKK6CT1WqZmM3hBVSgD+N2MrgyV1uNizAZMw4tx6i/RTc+/uCsKSCmg0xXx7arCP/OFcIwTsiQ==} + dev: false + /dezalgo/1.0.3: resolution: {integrity: sha512-K7i4zNfT2kgQz3GylDw40ot9GAE47sFZ9EXHFSPP6zONLgH6kWXE0KWJchkbQJLBkRazq4APwZ4OwiFFlT95OQ==} dependencies: @@ -15411,6 +15475,20 @@ packages: resolution: {integrity: sha512-CvdFfHkC95B4bBBk36hcEmvdR2awOdhhVUYH6S/zrVj3477zven/fJMYg7121h4T1xHZC+tetUpubpAhxwI7hQ==} engines: {node: ^10.17.0 || ^12.0.0 || >= 13.7.0} + /extract-zip/2.0.1: + resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} + engines: {node: '>= 10.17.0'} + hasBin: true + dependencies: + debug: 4.3.4 + get-stream: 5.2.0 + yauzl: 2.10.0 + optionalDependencies: + '@types/yauzl': 2.10.0 + transitivePeerDependencies: + - supports-color + dev: false + /extsprintf/1.3.0: resolution: {integrity: sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g==} engines: {'0': node >=0.6.0} @@ -15506,6 +15584,12 @@ packages: bser: 2.1.1 dev: true + /fd-slicer/1.1.0: + resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + dependencies: + pend: 1.2.0 + dev: false + /fecha/4.2.3: resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==} dev: false @@ -16172,6 +16256,16 @@ packages: once: 1.4.0 dev: false + /glob/9.3.0: + resolution: {integrity: sha512-EAZejC7JvnQINayvB/7BJbpZpNOJ8Lrw2OZNEvQxe0vaLn1SuwMcfV7/MNaX8L/T0wmptBFI4YMtDvSBxYDc7w==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + fs.realpath: 1.0.0 + minimatch: 7.4.2 + minipass: 4.2.5 + path-scurry: 1.6.1 + dev: false + /global-dirs/3.0.0: resolution: {integrity: sha512-v8ho2DS5RiCjftj1nD9NmnfaOzTdud7RRnVd9kFNOjqZbISlx5DQ+OrTkywgd0dIt7oFCvKetZSHoHcP3sDdiA==} engines: {node: '>=10'} @@ -17542,7 +17636,7 @@ packages: '@jest/environment': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -17570,7 +17664,7 @@ packages: '@jest/expect': 29.1.2 '@jest/test-result': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 co: 4.6.0 dedent: 0.7.0 @@ -17827,7 +17921,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-mock: 27.5.1 jest-util: 27.5.1 jsdom: 16.7.0 @@ -17845,7 +17939,7 @@ packages: '@jest/environment': 27.5.1 '@jest/fake-timers': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-mock: 27.5.1 jest-util: 27.5.1 dev: true @@ -17857,7 +17951,7 @@ packages: '@jest/environment': 29.1.2 '@jest/fake-timers': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-mock: 29.1.2 jest-util: 29.1.2 dev: true @@ -17878,7 +17972,7 @@ packages: dependencies: '@jest/types': 27.5.1 '@types/graceful-fs': 4.1.5 - '@types/node': 17.0.45 + '@types/node': 18.0.6 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17898,7 +17992,7 @@ packages: dependencies: '@jest/types': 29.1.2 '@types/graceful-fs': 4.1.5 - '@types/node': 17.0.45 + '@types/node': 18.0.6 anymatch: 3.1.2 fb-watchman: 2.0.1 graceful-fs: 4.2.10 @@ -17919,7 +18013,7 @@ packages: '@jest/source-map': 27.5.1 '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 co: 4.6.0 expect: 27.5.1 @@ -18007,7 +18101,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 dev: true /jest-mock/29.1.2: @@ -18015,7 +18109,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-util: 29.1.2 dev: true @@ -18114,7 +18208,7 @@ packages: '@jest/test-result': 27.5.1 '@jest/transform': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 emittery: 0.8.1 graceful-fs: 4.2.10 @@ -18146,7 +18240,7 @@ packages: '@jest/test-result': 29.1.2 '@jest/transform': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 emittery: 0.10.2 graceful-fs: 4.2.10 @@ -18207,7 +18301,7 @@ packages: '@jest/test-result': 29.1.2 '@jest/transform': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 cjs-module-lexer: 1.2.2 collect-v8-coverage: 1.0.1 @@ -18230,7 +18324,7 @@ packages: resolution: {integrity: sha512-jZCyo6iIxO1aqUxpuBlwTDMkzOAJS4a3eYz3YzgxxVQFwLeSA7Jfq5cbqCY+JLvTDrWirgusI/0KwxKMgrdf7w==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 graceful-fs: 4.2.10 dev: true @@ -18301,7 +18395,7 @@ packages: engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} dependencies: '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 ci-info: 3.3.2 graceful-fs: 4.2.10 @@ -18313,7 +18407,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 chalk: 4.1.2 ci-info: 3.3.2 graceful-fs: 4.2.10 @@ -18350,7 +18444,7 @@ packages: dependencies: '@jest/test-result': 27.5.1 '@jest/types': 27.5.1 - '@types/node': 17.0.45 + '@types/node': 18.0.6 ansi-escapes: 4.3.2 chalk: 4.1.2 jest-util: 27.5.1 @@ -18363,7 +18457,7 @@ packages: dependencies: '@jest/test-result': 29.1.2 '@jest/types': 29.1.2 - '@types/node': 17.0.45 + '@types/node': 18.0.6 ansi-escapes: 4.3.2 chalk: 4.1.2 emittery: 0.10.2 @@ -18375,7 +18469,7 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true @@ -18384,7 +18478,7 @@ packages: resolution: {integrity: sha512-AdTZJxKjTSPHbXT/AIOjQVmoFx0LHFcVabWu0sxI7PAy7rFf8c0upyvgBKgguVXdM4vY74JdwkyD4hSmpTW8jA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: - '@types/node': 17.0.45 + '@types/node': 18.0.6 jest-util: 29.1.2 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -19266,6 +19360,11 @@ packages: dependencies: yallist: 4.0.0 + /lru-cache/7.18.3: + resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + engines: {node: '>=12'} + dev: false + /lru-memoizer/2.1.4: resolution: {integrity: sha512-IXAq50s4qwrOBrXJklY+KhgZF+5y98PDaNo0gi/v2KQBFLyWr+JyFvijZXkGKjQj/h9c0OwoE+JZbwUXce76hQ==} dependencies: @@ -19963,6 +20062,13 @@ packages: brace-expansion: 2.0.1 dev: false + /minimatch/7.4.2: + resolution: {integrity: sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: false + /minimist-options/4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} @@ -19988,6 +20094,11 @@ packages: yallist: 4.0.0 dev: true + /minipass/4.2.5: + resolution: {integrity: sha512-+yQl7SX3bIT83Lhb4BVorMAHVuqsskxRdlmO9kTpyukp8vsm2Sn/fUOV9xlnG8/a5JsypJzap21lz/y3FBMJ8Q==} + engines: {node: '>=8'} + dev: false + /minizlib/2.1.2: resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} engines: {node: '>= 8'} @@ -19996,6 +20107,14 @@ packages: yallist: 4.0.0 dev: true + /mitt/3.0.0: + resolution: {integrity: sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==} + dev: false + + /mkdirp-classic/0.5.3: + resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + dev: false + /mkdirp/0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true @@ -20145,6 +20264,13 @@ packages: /nanoid/3.3.4: resolution: {integrity: sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + /nanoid/4.0.1: + resolution: {integrity: sha512-udKGtCCUafD3nQtJg9wBhRP3KMbPglUsgV5JVsXhvyBs/oefqb4sqMEhKBBgqZncYowu58p1prsZQBYvAj/Gww==} + engines: {node: ^14 || ^16 || >=18} + hasBin: true + dev: false /natural-compare/1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -20925,6 +21051,14 @@ packages: /path-parse/1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + /path-scurry/1.6.1: + resolution: {integrity: sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA==} + engines: {node: '>=14'} + dependencies: + lru-cache: 7.18.3 + minipass: 4.2.5 + dev: false + /path-to-regexp/6.2.1: resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==} dev: false @@ -20968,6 +21102,10 @@ packages: engines: {node: '>=8'} dev: false + /pend/1.2.0: + resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + dev: false + /performance-now/2.1.0: resolution: {integrity: sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow==} @@ -21390,6 +21528,33 @@ packages: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} engines: {node: '>=6'} + /puppeteer-core/19.7.5: + resolution: {integrity: sha512-EJuNha+SxPfaYFbkoWU80H3Wb1SiQH5fFyb2xdbWda0ziax5mhV63UMlqNfPeTDIWarwtR4OIcq/9VqY8HPOsg==} + engines: {node: '>=14.14.0'} + peerDependencies: + typescript: '>= 4.7.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + chromium-bidi: 0.4.5_6o5gdkn34s2j2m26x63ssheuqa + cross-fetch: 3.1.5 + debug: 4.3.4 + devtools-protocol: 0.0.1094867 + extract-zip: 2.0.1 + https-proxy-agent: 5.0.1 + proxy-from-env: 1.1.0 + rimraf: 4.4.0 + tar-fs: 2.1.1 + unbzip2-stream: 1.4.3 + ws: 8.12.1 + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + dev: false + /putout/26.24.0: resolution: {integrity: sha512-9CUFtINZxlAvlo6eNvbrZBjv5tCXb7psJ5cXLCIdoMGJkn4DSMx8XriBQzeZPsp6+Fnz8qQGd62bmy81FUsNyg==} engines: {node: '>=16'} @@ -22392,6 +22557,14 @@ packages: dependencies: glob: 7.2.3 + /rimraf/4.4.0: + resolution: {integrity: sha512-X36S+qpCUR0HjXlkDe4NAOhS//aHH0Z+h8Ckf2auGJk3PTnx5rLmrHkwNdbVQuCSUhOyFrlRvFEllZOYE+yZGQ==} + engines: {node: '>=14'} + hasBin: true + dependencies: + glob: 9.3.0 + dev: false + /ripemd160/2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} dependencies: @@ -23462,6 +23635,15 @@ packages: strip-ansi: 6.0.1 dev: true + /tar-fs/2.1.1: + resolution: {integrity: sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==} + dependencies: + chownr: 1.1.4 + mkdirp-classic: 0.5.3 + pump: 3.0.0 + tar-stream: 2.2.0 + dev: false + /tar-stream/2.2.0: resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} engines: {node: '>=6'} @@ -24030,6 +24212,13 @@ packages: which-boxed-primitive: 1.0.2 dev: false + /unbzip2-stream/1.4.3: + resolution: {integrity: sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==} + dependencies: + buffer: 5.7.1 + through: 2.3.8 + dev: false + /unc-path-regex/0.1.2: resolution: {integrity: sha512-eXL4nmJT7oCpkZsHZUOJo8hcX3GbsiDOa0Qu9F646fi8dT3XuSVopVqAcEiVzSKKH7UoDti23wNX3qGFxcW5Qg==} engines: {node: '>=0.10.0'} @@ -24879,6 +25068,19 @@ packages: optional: true dev: false + /ws/8.12.1: + resolution: {integrity: sha512-1qo+M9Ba+xNhPB+YTWUlK6M17brTut5EXbcBaMRN5pH5dFrXz7lzz1ChFSUq3bOUl8yEvSenhHmYUNJxFzdJew==} + 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 + dev: false + /ws/8.7.0: resolution: {integrity: sha512-c2gsP0PRwcLFzUiA8Mkr37/MI7ilIlHQxaEAtd0uNMbVMoy8puJyafRlm0bV9MbGSabUPeLrRRaqIBcFcA2Pqg==} engines: {node: '>=10.0.0'} @@ -25064,6 +25266,13 @@ packages: requiresBuild: true dev: false + /yauzl/2.10.0: + resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} + dependencies: + buffer-crc32: 0.2.13 + fd-slicer: 1.1.0 + dev: false + /ynab/1.29.0: resolution: {integrity: sha512-KEyELnL8T1fJiu4QMcNKZXfFgJsiAzOoCkgd5CZCORDVssX593JWDllKJrIYEFeiwI/giHdwlx+VlLEV0L6JhA==} engines: {node: <17.0.0} From 80c35a2a640f9cc6725029b1dc51831a1fdbe6d2 Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 13:15:13 -0300 Subject: [PATCH 29/31] fix component keys --- components/close/sources/custom-event/custom-event.mjs | 4 ++-- .../actions/add-meeting-registrant/add-meeting-registrant.mjs | 4 ++-- .../actions/add-webinar-panelist/add-webinar-panelist.mjs | 4 ++-- .../actions/add-webinar-registrant/add-webinar-registrant.mjs | 4 ++-- .../zoom_admin/actions/create-meeting/create-meeting.mjs | 4 ++-- .../zoom_admin/actions/create-webinar/create-webinar.mjs | 4 ++-- .../actions/delete-cloud-recording/delete-cloud-recording.mjs | 4 ++-- .../zoom_admin/actions/delete-meeting/delete-meeting.mjs | 4 ++-- .../delete-webinar-panelist/delete-webinar-panelist.mjs | 4 ++-- .../zoom_admin/actions/delete-webinar/delete-webinar.mjs | 4 ++-- components/zoom_admin/actions/end-meeting/end-meeting.mjs | 4 ++-- components/zoom_admin/actions/get-meeting/get-meeting.mjs | 4 ++-- components/zoom_admin/actions/get-webinar/get-webinar.mjs | 4 ++-- .../actions/list-cloud-recordings/list-cloud-recordings.mjs | 4 ++-- .../list-meeting-registrants/list-meeting-registrants.mjs | 4 ++-- components/zoom_admin/actions/list-meetings/list-meetings.mjs | 4 ++-- .../list-webinar-registrants/list-webinar-registrants.mjs | 4 ++-- components/zoom_admin/actions/list-webinars/list-webinars.mjs | 4 ++-- .../zoom_admin/actions/update-meeting/update-meeting.mjs | 4 ++-- .../update-webinar-registrant-status.mjs | 4 ++-- .../zoom_admin/actions/update-webinar/update-webinar.mjs | 4 ++-- 21 files changed, 42 insertions(+), 42 deletions(-) diff --git a/components/close/sources/custom-event/custom-event.mjs b/components/close/sources/custom-event/custom-event.mjs index 2e7fb51a90067..e7765d226c52e 100644 --- a/components/close/sources/custom-event/custom-event.mjs +++ b/components/close/sources/custom-event/custom-event.mjs @@ -2,10 +2,10 @@ import common from "../common.mjs"; export default { ...common, - key: "close-custom-source", + key: "close-custom-event", name: "New Custom Event", description: "Emit new event when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)", - version: "0.1.0", + version: "0.0.1", type: "source", dedupe: "unique", props: { diff --git a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs index 786724c929168..12f3616f1e49e 100644 --- a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs +++ b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs @@ -6,8 +6,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Add meeting registrant", description: "Register a participant for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)", - key: "zoom_admin-action-add-meeting-registrant", - version: "0.1.0", + key: "zoom_admin-add-meeting-registrant", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs index 46d6d5bf77aae..4c73a410fa43b 100644 --- a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs +++ b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Add webinar panelist", description: "Register a panelist for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistcreate)", - key: "zoom_admin-action-add-webinar-panelist", - version: "0.1.0", + key: "zoom_admin-add-webinar-panelist", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs index eb51667a84dc5..1e3d1fd4010d8 100644 --- a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs +++ b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs @@ -6,8 +6,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Add webinar registrant", description: "Register a participant for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate)", - key: "zoom_admin-action-add-webinar-registrant", - version: "0.1.0", + key: "zoom_admin-add-webinar-registrant", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-meeting/create-meeting.mjs b/components/zoom_admin/actions/create-meeting/create-meeting.mjs index e5a7e4797a42b..9a2c3502eee9c 100644 --- a/components/zoom_admin/actions/create-meeting/create-meeting.mjs +++ b/components/zoom_admin/actions/create-meeting/create-meeting.mjs @@ -8,8 +8,8 @@ const { MEETING_TYPE_OPTIONS } = consts; export default { name: "Create a meeting", description: "Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)", - key: "zoom_admin-action-create-a-meeting", - version: "0.1.0", + key: "zoom_admin-create-a-meeting", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-webinar/create-webinar.mjs b/components/zoom_admin/actions/create-webinar/create-webinar.mjs index 8a8c57159842b..0d05f203d252e 100644 --- a/components/zoom_admin/actions/create-webinar/create-webinar.mjs +++ b/components/zoom_admin/actions/create-webinar/create-webinar.mjs @@ -8,8 +8,8 @@ const { RECURRENCE_TYPE_OPTIONS } = consts; export default { name: "Create Webinar", description: "Create a webinar for an user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate)", - key: "zoom_admin-action-create-a-webinar", - version: "0.1.0", + key: "zoom_admin-create-a-webinar", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs index 784e753b39391..58ec878ebc666 100644 --- a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs +++ b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs @@ -6,8 +6,8 @@ import consts from "../../consts.mjs"; export default { name: "Delete Cloud Recording", description: "Remove a recording from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdeleteone)", - key: "zoom_admin-action-delete-cloud-recording", - version: "0.1.0", + key: "zoom_admin-delete-cloud-recording", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs index 9aa59be0f1e37..71c1a940c7017 100644 --- a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs +++ b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Delete meeting", description: "Delete a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingdelete)", - key: "zoom_admin-action-delete-meeting", - version: "0.1.0", + key: "zoom_admin-delete-meeting", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs index 4516c7500ebb0..7b2c7fb4987f8 100644 --- a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs +++ b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Delete webinar panelist", description: "Remove a panelist from a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistdelete)", - key: "zoom_admin-action-remove-webinar-panelist", - version: "0.1.0", + key: "zoom_admin-remove-webinar-panelist", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs index ed0814f18c5ea..29cef1dd845ad 100644 --- a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs +++ b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Delete webinar", description: "Delete a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinardelete)", - key: "zoom_admin-action-delete-webinar", - version: "0.1.0", + key: "zoom_admin-delete-webinar", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/end-meeting/end-meeting.mjs b/components/zoom_admin/actions/end-meeting/end-meeting.mjs index 6220d2113634c..b151c19627c9a 100644 --- a/components/zoom_admin/actions/end-meeting/end-meeting.mjs +++ b/components/zoom_admin/actions/end-meeting/end-meeting.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "End meeting", description: "End a meeting for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingstatus)", - key: "zoom_admin-action-end-meeting", - version: "0.1.0", + key: "zoom_admin-end-meeting", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-meeting/get-meeting.mjs b/components/zoom_admin/actions/get-meeting/get-meeting.mjs index ad19acea17051..3f0814c3481e1 100644 --- a/components/zoom_admin/actions/get-meeting/get-meeting.mjs +++ b/components/zoom_admin/actions/get-meeting/get-meeting.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Get Meeting", description: "Retrieve the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)", - key: "zoom_admin-action-get-meeting", - version: "0.1.0", + key: "zoom_admin-get-meeting", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-webinar/get-webinar.mjs b/components/zoom_admin/actions/get-webinar/get-webinar.mjs index 4ef75e5114b71..103671eb1270f 100644 --- a/components/zoom_admin/actions/get-webinar/get-webinar.mjs +++ b/components/zoom_admin/actions/get-webinar/get-webinar.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Get Webinar", description: "Retrieve the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinar)", - key: "zoom_admin-action-get-webinar", - version: "0.1.0", + key: "zoom_admin-get-webinar", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs index 8023b399a87a8..d940e3699223a 100644 --- a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs +++ b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "List Cloud Recordings", description: "Search cloud recordings from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist)", - key: "zoom_admin-action-list-cloud-recordings", - version: "0.1.0", + key: "zoom_admin-list-cloud-recordings", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs index ed2146d8e0203..60b97b0f49772 100644 --- a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs +++ b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs @@ -6,8 +6,8 @@ import { axios } from "@pipedream/platform"; export default { name: "List meeting registrants", description: "List all users who have registered for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants)", - key: "zoom_admin-action-list-meeting-registrants", - version: "0.1.0", + key: "zoom_admin-list-meeting-registrants", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meetings/list-meetings.mjs b/components/zoom_admin/actions/list-meetings/list-meetings.mjs index 3e0e94627fa87..b2b75b0ca866a 100644 --- a/components/zoom_admin/actions/list-meetings/list-meetings.mjs +++ b/components/zoom_admin/actions/list-meetings/list-meetings.mjs @@ -5,8 +5,8 @@ import { axios } from "@pipedream/platform"; export default { name: "List meetings", description: "List all meetings. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings)", - key: "zoom_admin-action-list-meetings", - version: "0.1.0", + key: "zoom_admin-list-meetings", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs index 5e98f91239142..c867c6672b2d1 100644 --- a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs +++ b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs @@ -6,8 +6,8 @@ import { axios } from "@pipedream/platform"; export default { name: "List webinar registrants", description: "List all users that have registered for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants)", - key: "zoom_admin-action-list-webinar-registrants", - version: "0.1.0", + key: "zoom_admin-list-webinar-registrants", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinars/list-webinars.mjs b/components/zoom_admin/actions/list-webinars/list-webinars.mjs index 1338c1eda9784..73fb960482721 100644 --- a/components/zoom_admin/actions/list-webinars/list-webinars.mjs +++ b/components/zoom_admin/actions/list-webinars/list-webinars.mjs @@ -4,8 +4,8 @@ import { axios } from "@pipedream/platform"; export default { name: "List Webinars", description: "List all webinars for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinars)", - key: "zoom_admin-action-list-webinars", - version: "0.1.0", + key: "zoom_admin-list-webinars", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-meeting/update-meeting.mjs b/components/zoom_admin/actions/update-meeting/update-meeting.mjs index 104b9d5396c1e..37b2a5588e294 100644 --- a/components/zoom_admin/actions/update-meeting/update-meeting.mjs +++ b/components/zoom_admin/actions/update-meeting/update-meeting.mjs @@ -9,8 +9,8 @@ const { MEETING_TYPE_OPTIONS } = consts; export default { name: "Update a meeting", description: "Update the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate)", - key: "zoom_admin-action-update-a-meeting", - version: "0.1.0", + key: "zoom_admin-update-a-meeting", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs index b0c5ad91bbedb..6cc11fc3abce4 100644 --- a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs +++ b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs @@ -7,8 +7,8 @@ import { axios } from "@pipedream/platform"; export default { name: "Update Webinar Registrant Status", description: "Update registrant status for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantstatus)", - key: "zoom_admin-action-update-webinar-registrant-status", - version: "0.1.0", + key: "zoom_admin-update-webinar-registrant-status", + version: "0.0.1", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar/update-webinar.mjs b/components/zoom_admin/actions/update-webinar/update-webinar.mjs index 818894d80062c..138acf2bbe736 100644 --- a/components/zoom_admin/actions/update-webinar/update-webinar.mjs +++ b/components/zoom_admin/actions/update-webinar/update-webinar.mjs @@ -12,8 +12,8 @@ const { export default { name: "Update Webinar", description: "Update the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarupdate)", - key: "zoom_admin-action-update-a-webinar", - version: "0.1.0", + key: "zoom_admin-update-a-webinar", + version: "0.0.1", type: "action", props: { zoomAdmin, From 5107014e23e51110a5044bb20fd0745ae05f42bb Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 13:22:43 -0300 Subject: [PATCH 30/31] bump versions --- components/close/sources/custom-event/custom-event.mjs | 2 +- .../actions/add-meeting-registrant/add-meeting-registrant.mjs | 2 +- .../actions/add-webinar-panelist/add-webinar-panelist.mjs | 2 +- .../actions/add-webinar-registrant/add-webinar-registrant.mjs | 2 +- components/zoom_admin/actions/create-meeting/create-meeting.mjs | 2 +- components/zoom_admin/actions/create-webinar/create-webinar.mjs | 2 +- .../actions/delete-cloud-recording/delete-cloud-recording.mjs | 2 +- components/zoom_admin/actions/delete-meeting/delete-meeting.mjs | 2 +- .../actions/delete-webinar-panelist/delete-webinar-panelist.mjs | 2 +- components/zoom_admin/actions/delete-webinar/delete-webinar.mjs | 2 +- components/zoom_admin/actions/end-meeting/end-meeting.mjs | 2 +- components/zoom_admin/actions/get-meeting/get-meeting.mjs | 2 +- components/zoom_admin/actions/get-webinar/get-webinar.mjs | 2 +- .../actions/list-cloud-recordings/list-cloud-recordings.mjs | 2 +- .../list-meeting-registrants/list-meeting-registrants.mjs | 2 +- components/zoom_admin/actions/list-meetings/list-meetings.mjs | 2 +- .../list-webinar-registrants/list-webinar-registrants.mjs | 2 +- components/zoom_admin/actions/list-webinars/list-webinars.mjs | 2 +- components/zoom_admin/actions/update-meeting/update-meeting.mjs | 2 +- .../update-webinar-registrant-status.mjs | 2 +- components/zoom_admin/actions/update-webinar/update-webinar.mjs | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/components/close/sources/custom-event/custom-event.mjs b/components/close/sources/custom-event/custom-event.mjs index e7765d226c52e..4d8adea08b8bf 100644 --- a/components/close/sources/custom-event/custom-event.mjs +++ b/components/close/sources/custom-event/custom-event.mjs @@ -5,7 +5,7 @@ export default { key: "close-custom-event", name: "New Custom Event", description: "Emit new event when configured type of events triggered, [See all possibilities](https://developer.close.com/resources/event-log/list-of-events/)", - version: "0.0.1", + version: "0.1.0", type: "source", dedupe: "unique", props: { diff --git a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs index 12f3616f1e49e..2bf96343a5469 100644 --- a/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs +++ b/components/zoom_admin/actions/add-meeting-registrant/add-meeting-registrant.mjs @@ -7,7 +7,7 @@ export default { name: "Add meeting registrant", description: "Register a participant for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantcreate)", key: "zoom_admin-add-meeting-registrant", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs index 4c73a410fa43b..1000782e39864 100644 --- a/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs +++ b/components/zoom_admin/actions/add-webinar-panelist/add-webinar-panelist.mjs @@ -6,7 +6,7 @@ export default { name: "Add webinar panelist", description: "Register a panelist for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistcreate)", key: "zoom_admin-add-webinar-panelist", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs index 1e3d1fd4010d8..4ba0cc5cec124 100644 --- a/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs +++ b/components/zoom_admin/actions/add-webinar-registrant/add-webinar-registrant.mjs @@ -7,7 +7,7 @@ export default { name: "Add webinar registrant", description: "Register a participant for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate)", key: "zoom_admin-add-webinar-registrant", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-meeting/create-meeting.mjs b/components/zoom_admin/actions/create-meeting/create-meeting.mjs index 9a2c3502eee9c..97e70ac3e54e1 100644 --- a/components/zoom_admin/actions/create-meeting/create-meeting.mjs +++ b/components/zoom_admin/actions/create-meeting/create-meeting.mjs @@ -9,7 +9,7 @@ export default { name: "Create a meeting", description: "Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)", key: "zoom_admin-create-a-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/create-webinar/create-webinar.mjs b/components/zoom_admin/actions/create-webinar/create-webinar.mjs index 0d05f203d252e..8cedaaa9f6b44 100644 --- a/components/zoom_admin/actions/create-webinar/create-webinar.mjs +++ b/components/zoom_admin/actions/create-webinar/create-webinar.mjs @@ -9,7 +9,7 @@ export default { name: "Create Webinar", description: "Create a webinar for an user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate)", key: "zoom_admin-create-a-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs index 58ec878ebc666..239b421f541c0 100644 --- a/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs +++ b/components/zoom_admin/actions/delete-cloud-recording/delete-cloud-recording.mjs @@ -7,7 +7,7 @@ export default { name: "Delete Cloud Recording", description: "Remove a recording from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingdeleteone)", key: "zoom_admin-delete-cloud-recording", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs index 71c1a940c7017..a66adef333c56 100644 --- a/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs +++ b/components/zoom_admin/actions/delete-meeting/delete-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "Delete meeting", description: "Delete a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingdelete)", key: "zoom_admin-delete-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs index 7b2c7fb4987f8..8e102ee45855e 100644 --- a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs +++ b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs @@ -6,7 +6,7 @@ export default { name: "Delete webinar panelist", description: "Remove a panelist from a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistdelete)", key: "zoom_admin-remove-webinar-panelist", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs index 29cef1dd845ad..9e41cfdb2bfca 100644 --- a/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs +++ b/components/zoom_admin/actions/delete-webinar/delete-webinar.mjs @@ -6,7 +6,7 @@ export default { name: "Delete webinar", description: "Delete a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinardelete)", key: "zoom_admin-delete-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/end-meeting/end-meeting.mjs b/components/zoom_admin/actions/end-meeting/end-meeting.mjs index b151c19627c9a..55d90969da66a 100644 --- a/components/zoom_admin/actions/end-meeting/end-meeting.mjs +++ b/components/zoom_admin/actions/end-meeting/end-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "End meeting", description: "End a meeting for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingstatus)", key: "zoom_admin-end-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-meeting/get-meeting.mjs b/components/zoom_admin/actions/get-meeting/get-meeting.mjs index 3f0814c3481e1..0a24b75c4494c 100644 --- a/components/zoom_admin/actions/get-meeting/get-meeting.mjs +++ b/components/zoom_admin/actions/get-meeting/get-meeting.mjs @@ -6,7 +6,7 @@ export default { name: "Get Meeting", description: "Retrieve the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)", key: "zoom_admin-get-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/get-webinar/get-webinar.mjs b/components/zoom_admin/actions/get-webinar/get-webinar.mjs index 103671eb1270f..e69422b535193 100644 --- a/components/zoom_admin/actions/get-webinar/get-webinar.mjs +++ b/components/zoom_admin/actions/get-webinar/get-webinar.mjs @@ -6,7 +6,7 @@ export default { name: "Get Webinar", description: "Retrieve the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinar)", key: "zoom_admin-get-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs index d940e3699223a..126a29ce696b6 100644 --- a/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs +++ b/components/zoom_admin/actions/list-cloud-recordings/list-cloud-recordings.mjs @@ -6,7 +6,7 @@ export default { name: "List Cloud Recordings", description: "Search cloud recordings from a meeting or webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingslist)", key: "zoom_admin-list-cloud-recordings", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs index 60b97b0f49772..a6b926afef441 100644 --- a/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs +++ b/components/zoom_admin/actions/list-meeting-registrants/list-meeting-registrants.mjs @@ -7,7 +7,7 @@ export default { name: "List meeting registrants", description: "List all users who have registered for a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrants)", key: "zoom_admin-list-meeting-registrants", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-meetings/list-meetings.mjs b/components/zoom_admin/actions/list-meetings/list-meetings.mjs index b2b75b0ca866a..48a62a666f782 100644 --- a/components/zoom_admin/actions/list-meetings/list-meetings.mjs +++ b/components/zoom_admin/actions/list-meetings/list-meetings.mjs @@ -6,7 +6,7 @@ export default { name: "List meetings", description: "List all meetings. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings)", key: "zoom_admin-list-meetings", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs index c867c6672b2d1..c5856dbae5b20 100644 --- a/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs +++ b/components/zoom_admin/actions/list-webinar-registrants/list-webinar-registrants.mjs @@ -7,7 +7,7 @@ export default { name: "List webinar registrants", description: "List all users that have registered for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrants)", key: "zoom_admin-list-webinar-registrants", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/list-webinars/list-webinars.mjs b/components/zoom_admin/actions/list-webinars/list-webinars.mjs index 73fb960482721..f03f981be5d1b 100644 --- a/components/zoom_admin/actions/list-webinars/list-webinars.mjs +++ b/components/zoom_admin/actions/list-webinars/list-webinars.mjs @@ -5,7 +5,7 @@ export default { name: "List Webinars", description: "List all webinars for a user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinars)", key: "zoom_admin-list-webinars", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-meeting/update-meeting.mjs b/components/zoom_admin/actions/update-meeting/update-meeting.mjs index 37b2a5588e294..af4a53f4c36a1 100644 --- a/components/zoom_admin/actions/update-meeting/update-meeting.mjs +++ b/components/zoom_admin/actions/update-meeting/update-meeting.mjs @@ -10,7 +10,7 @@ export default { name: "Update a meeting", description: "Update the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate)", key: "zoom_admin-update-a-meeting", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs index 6cc11fc3abce4..fc925acfc9a33 100644 --- a/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs +++ b/components/zoom_admin/actions/update-webinar-registrant-status/update-webinar-registrant-status.mjs @@ -8,7 +8,7 @@ export default { name: "Update Webinar Registrant Status", description: "Update registrant status for a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingregistrantstatus)", key: "zoom_admin-update-webinar-registrant-status", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, diff --git a/components/zoom_admin/actions/update-webinar/update-webinar.mjs b/components/zoom_admin/actions/update-webinar/update-webinar.mjs index 138acf2bbe736..fcf496c02cf10 100644 --- a/components/zoom_admin/actions/update-webinar/update-webinar.mjs +++ b/components/zoom_admin/actions/update-webinar/update-webinar.mjs @@ -13,7 +13,7 @@ export default { name: "Update Webinar", description: "Update the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarupdate)", key: "zoom_admin-update-a-webinar", - version: "0.0.1", + version: "0.1.0", type: "action", props: { zoomAdmin, From 2af0f0248362ce8c0b4dadda0399f37d359fad0f Mon Sep 17 00:00:00 2001 From: Andrew Chuang Date: Tue, 14 Mar 2023 13:35:25 -0300 Subject: [PATCH 31/31] fix more component keys --- components/zoom_admin/actions/create-meeting/create-meeting.mjs | 2 +- components/zoom_admin/actions/create-webinar/create-webinar.mjs | 2 +- .../actions/delete-webinar-panelist/delete-webinar-panelist.mjs | 2 +- components/zoom_admin/actions/update-meeting/update-meeting.mjs | 2 +- components/zoom_admin/actions/update-webinar/update-webinar.mjs | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/zoom_admin/actions/create-meeting/create-meeting.mjs b/components/zoom_admin/actions/create-meeting/create-meeting.mjs index 97e70ac3e54e1..1ca85da9fcd2d 100644 --- a/components/zoom_admin/actions/create-meeting/create-meeting.mjs +++ b/components/zoom_admin/actions/create-meeting/create-meeting.mjs @@ -8,7 +8,7 @@ const { MEETING_TYPE_OPTIONS } = consts; export default { name: "Create a meeting", description: "Create a new room in zoom. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)", - key: "zoom_admin-create-a-meeting", + key: "zoom_admin-create-meeting", version: "0.1.0", type: "action", props: { diff --git a/components/zoom_admin/actions/create-webinar/create-webinar.mjs b/components/zoom_admin/actions/create-webinar/create-webinar.mjs index 8cedaaa9f6b44..ce106c0e20736 100644 --- a/components/zoom_admin/actions/create-webinar/create-webinar.mjs +++ b/components/zoom_admin/actions/create-webinar/create-webinar.mjs @@ -8,7 +8,7 @@ const { RECURRENCE_TYPE_OPTIONS } = consts; export default { name: "Create Webinar", description: "Create a webinar for an user. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate)", - key: "zoom_admin-create-a-webinar", + key: "zoom_admin-create-webinar", version: "0.1.0", type: "action", props: { diff --git a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs index 8e102ee45855e..67431ec4d11c1 100644 --- a/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs +++ b/components/zoom_admin/actions/delete-webinar-panelist/delete-webinar-panelist.mjs @@ -5,7 +5,7 @@ import { axios } from "@pipedream/platform"; export default { name: "Delete webinar panelist", description: "Remove a panelist from a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarpanelistdelete)", - key: "zoom_admin-remove-webinar-panelist", + key: "zoom_admin-delete-webinar-panelist", version: "0.1.0", type: "action", props: { diff --git a/components/zoom_admin/actions/update-meeting/update-meeting.mjs b/components/zoom_admin/actions/update-meeting/update-meeting.mjs index af4a53f4c36a1..fe25a2eeeb82b 100644 --- a/components/zoom_admin/actions/update-meeting/update-meeting.mjs +++ b/components/zoom_admin/actions/update-meeting/update-meeting.mjs @@ -9,7 +9,7 @@ const { MEETING_TYPE_OPTIONS } = consts; export default { name: "Update a meeting", description: "Update the details of a meeting. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingupdate)", - key: "zoom_admin-update-a-meeting", + key: "zoom_admin-update-meeting", version: "0.1.0", type: "action", props: { diff --git a/components/zoom_admin/actions/update-webinar/update-webinar.mjs b/components/zoom_admin/actions/update-webinar/update-webinar.mjs index fcf496c02cf10..999b3d833390e 100644 --- a/components/zoom_admin/actions/update-webinar/update-webinar.mjs +++ b/components/zoom_admin/actions/update-webinar/update-webinar.mjs @@ -12,7 +12,7 @@ const { export default { name: "Update Webinar", description: "Update the details of a webinar. [See the docs here](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarupdate)", - key: "zoom_admin-update-a-webinar", + key: "zoom_admin-update-webinar", version: "0.1.0", type: "action", props: {