Skip to content

Commit a758b23

Browse files
authored
Merging pull request #18061
* updates * pnpm-lock.yaml * pnpm-lock.yaml * pnpm-lock.yaml
1 parent 5ac2033 commit a758b23

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

components/calendly_v2/actions/create-scheduling-link/create-scheduling-link.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import calendly from "../../calendly_v2.app.mjs";
2+
import { ConfigurationError } from "@pipedream/platform";
23

34
export default {
45
key: "calendly_v2-create-scheduling-link",
56
name: "Create a Scheduling Link",
67
description: "Creates a single-use scheduling link. [See the documentation](https://calendly.stoplight.io/docs/api-docs/b3A6MzQyNTM0OQ-create-single-use-scheduling-link)",
7-
version: "0.0.6",
8+
version: "0.0.7",
89
type: "action",
910
props: {
1011
calendly,
@@ -23,6 +24,10 @@ export default {
2324
},
2425
},
2526
async run({ $ }) {
27+
if (!this.owner) {
28+
throw new ConfigurationError("Owner prop is required. Please provide the unique identifier of an event type.");
29+
}
30+
2631
const params = {};
2732
params.max_event_count = this.maxEventCount;
2833
params.owner = this.owner;

components/calendly_v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/calendly_v2",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Pipedream Calendly V2 Components",
55
"main": "calendly_v2.app.mjs",
66
"keywords": [

components/google_calendar/actions/quick-add-event/quick-add-event.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import googleCalendar from "../../google_calendar.app.mjs";
22
import createEventCommon from "../common/create-event-common.mjs";
3+
import { ConfigurationError } from "@pipedream/platform";
34

45
export default {
56
key: "google_calendar-quick-add-event",
67
name: "Add Quick Event",
78
description: "Create a quick event to the Google Calendar. [See the documentation](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#quickAdd)",
8-
version: "0.1.7",
9+
version: "0.1.8",
910
type: "action",
1011
props: {
1112
googleCalendar,
@@ -28,6 +29,10 @@ export default {
2829
},
2930
},
3031
async run({ $ }) {
32+
if (!this.calendarId) {
33+
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 '[email protected]'");
34+
}
35+
3136
const response = await this.googleCalendar.quickAddEvent({
3237
calendarId: this.calendarId,
3338
text: this.text,

components/google_calendar/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/google_calendar",
3-
"version": "0.5.10",
3+
"version": "0.5.11",
44
"description": "Pipedream Google_calendar Components",
55
"main": "google_calendar.app.mjs",
66
"keywords": [

pnpm-lock.yaml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)