Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/calendly_v2/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/google_calendar/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
19 changes: 5 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading