diff --git a/components/calendly_v2/actions/create-scheduling-link/create-scheduling-link.mjs b/components/calendly_v2/actions/create-scheduling-link/create-scheduling-link.mjs index 3583be42f2550..5fb8d36be4281 100644 --- a/components/calendly_v2/actions/create-scheduling-link/create-scheduling-link.mjs +++ b/components/calendly_v2/actions/create-scheduling-link/create-scheduling-link.mjs @@ -1,10 +1,11 @@ import calendly from "../../calendly_v2.app.mjs"; +import { ConfigurationError } from "@pipedream/platform"; export default { key: "calendly_v2-create-scheduling-link", name: "Create a Scheduling Link", description: "Creates a single-use scheduling link. [See the documentation](https://calendly.stoplight.io/docs/api-docs/b3A6MzQyNTM0OQ-create-single-use-scheduling-link)", - version: "0.0.6", + version: "0.0.7", type: "action", props: { calendly, @@ -23,6 +24,10 @@ export default { }, }, async run({ $ }) { + if (!this.owner) { + throw new ConfigurationError("Owner prop is required. Please provide the unique identifier of an event type."); + } + const params = {}; params.max_event_count = this.maxEventCount; params.owner = this.owner; diff --git a/components/calendly_v2/package.json b/components/calendly_v2/package.json index 944d182f36798..2e50e9fb91952 100644 --- a/components/calendly_v2/package.json +++ b/components/calendly_v2/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/calendly_v2", - "version": "1.3.1", + "version": "1.3.2", "description": "Pipedream Calendly V2 Components", "main": "calendly_v2.app.mjs", "keywords": [ diff --git a/components/google_calendar/actions/quick-add-event/quick-add-event.mjs b/components/google_calendar/actions/quick-add-event/quick-add-event.mjs index 61ca10131f42f..87167642d329e 100644 --- a/components/google_calendar/actions/quick-add-event/quick-add-event.mjs +++ b/components/google_calendar/actions/quick-add-event/quick-add-event.mjs @@ -1,11 +1,12 @@ import googleCalendar from "../../google_calendar.app.mjs"; import createEventCommon from "../common/create-event-common.mjs"; +import { ConfigurationError } from "@pipedream/platform"; export default { key: "google_calendar-quick-add-event", name: "Add Quick Event", description: "Create a quick event to the Google Calendar. [See the documentation](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#quickAdd)", - version: "0.1.7", + version: "0.1.8", type: "action", props: { googleCalendar, @@ -28,6 +29,10 @@ export default { }, }, async run({ $ }) { + if (!this.calendarId) { + throw new ConfigurationError("Calendar ID prop is missing or empty. Please provide a valid string representing the calendar's identifier. For example, 'primary' or an email address such as 'user@example.com'"); + } + const response = await this.googleCalendar.quickAddEvent({ calendarId: this.calendarId, text: this.text, diff --git a/components/google_calendar/package.json b/components/google_calendar/package.json index cd1a2e60f0714..97978b29edb23 100644 --- a/components/google_calendar/package.json +++ b/components/google_calendar/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/google_calendar", - "version": "0.5.10", + "version": "0.5.11", "description": "Pipedream Google_calendar Components", "main": "google_calendar.app.mjs", "keywords": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8919f705cc00e..e216aeb7a6237 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13364,8 +13364,7 @@ importers: specifier: ^4.0.0 version: 4.0.1 - components/sperse: - specifiers: {} + components/sperse: {} components/spider: dependencies: @@ -16442,14 +16441,6 @@ importers: specifier: ^6.0.0 version: 6.2.0 - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/cjs: {} - - modelcontextprotocol/node_modules2/@modelcontextprotocol/sdk/dist/esm: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/cjs: {} - - modelcontextprotocol/node_modules2/zod-to-json-schema/dist/esm: {} - packages/ai: dependencies: '@pipedream/sdk': @@ -31938,22 +31929,22 @@ packages: superagent@3.8.1: resolution: {integrity: sha512-VMBFLYgFuRdfeNQSMLbxGSLfmXL/xc+OO+BZp41Za/NRDBet/BNbkRJrYzCUu0u4GU0i/ml2dtT8b9qgkw9z6Q==} engines: {node: '>= 4.0'} - deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@4.1.0: resolution: {integrity: sha512-FT3QLMasz0YyCd4uIi5HNe+3t/onxMyEho7C3PSqmti3Twgy2rXT4fmkTz6wRL6bTF4uzPcfkUCa8u4JWHw8Ag==} engines: {node: '>= 6.0'} - deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@5.3.1: resolution: {integrity: sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==} engines: {node: '>= 7.0.0'} - deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net superagent@7.1.6: resolution: {integrity: sha512-gZkVCQR1gy/oUXr+kxJMLDjla434KmSOKbx5iGD30Ql+AkJQ/YlPKECJy2nhqOsHLjGHzoDTXNSjhnvWhzKk7g==} engines: {node: '>=6.4.0 <13 || >=14'} - deprecated: Please upgrade to superagent v10.2.2+, see release notes at https://github.com/forwardemail/superagent/releases/tag/v10.2.2 - maintenance is supported by Forward Email @ https://forwardemail.net + deprecated: Please upgrade to v9.0.0+ as we have fixed a public vulnerability with formidable dependency. Note that v9.0.0+ requires Node.js v14.18.0+. See https://github.com/ladjs/superagent/pull/1800 for insight. This project is supported and maintained by the team at Forward Email @ https://forwardemail.net supports-color@10.0.0: resolution: {integrity: sha512-HRVVSbCCMbj7/kdWF9Q+bbckjBHLtHMEoJWlkmYzzdwhYMkjkOwubLM6t7NbWKjgKamGDrWL1++KrjUO1t9oAQ==}