@pipedream/google_calendar 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/actions/create-event/create-event.mjs +9 -9
- package/actions/delete-event/delete-event.mjs +1 -1
- package/actions/get-calendar/get-calendar.mjs +1 -1
- package/actions/get-event/get-event.mjs +1 -1
- package/actions/list-calendars/list-calendars.mjs +2 -2
- package/actions/list-events/list-events.mjs +1 -1
- package/actions/query-free-busy-calendars/query-free-busy-calendars.mjs +1 -1
- package/actions/quick-add-event/quick-add-event.mjs +1 -1
- package/actions/update-event/update-event.mjs +1 -1
- package/actions/update-event-attendees/update-event-attendees.mjs +1 -1
- package/google_calendar.app.mjs +5 -3
- package/package.json +1 -1
- package/sources/event-cancelled/event-cancelled.mjs +3 -1
- package/sources/event-ended/event-ended.mjs +3 -1
- package/sources/event-start/event-start.mjs +3 -1
- package/sources/new-calendar/new-calendar.mjs +2 -1
- package/sources/new-event/new-event.mjs +1 -1
- package/sources/new-event-search/new-event-search.mjs +3 -1
- package/sources/new-or-updated-event/new-or-updated-event.mjs +2 -1
- package/sources/new-or-updated-event-instant/new-or-updated-event-instant.mjs +1 -1
- package/sources/upcoming-event-alert/upcoming-event-alert.mjs +2 -1
package/README.md
CHANGED
|
@@ -18,3 +18,5 @@ include:
|
|
|
18
18
|
to see their tasks and events in one place.
|
|
19
19
|
- A reminder application that uses Google Calendar data to remind users of
|
|
20
20
|
upcoming events.
|
|
21
|
+
|
|
22
|
+
Pipedream's use and transfer of information received from Google APIs to any other app will adhere to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy#additional_requirements_for_specific_api_scopes), including the Limited Use requirements.
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-create-event",
|
|
5
5
|
name: "Create Event",
|
|
6
6
|
description: "Create an event to the Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#insert)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.5",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -17,41 +17,41 @@ export default {
|
|
|
17
17
|
summary: {
|
|
18
18
|
label: "Event Title",
|
|
19
19
|
type: "string",
|
|
20
|
-
description: "Enter
|
|
20
|
+
description: "Enter a title for the event",
|
|
21
21
|
optional: true,
|
|
22
22
|
},
|
|
23
23
|
location: {
|
|
24
|
-
label: "Event
|
|
24
|
+
label: "Event Location",
|
|
25
25
|
type: "string",
|
|
26
|
-
description: "
|
|
26
|
+
description: "Specify the location of the event",
|
|
27
27
|
optional: true,
|
|
28
28
|
},
|
|
29
29
|
description: {
|
|
30
30
|
label: "Event Description",
|
|
31
31
|
type: "string",
|
|
32
|
-
description: "Enter
|
|
32
|
+
description: "Enter a description for the event",
|
|
33
33
|
optional: true,
|
|
34
34
|
},
|
|
35
35
|
attendees: {
|
|
36
36
|
label: "Attendees",
|
|
37
37
|
type: "string[]",
|
|
38
|
-
description: "Enter
|
|
38
|
+
description: "Enter an array of email addresses for any attendees",
|
|
39
39
|
optional: true,
|
|
40
40
|
},
|
|
41
41
|
eventStartDate: {
|
|
42
42
|
label: "Event Date",
|
|
43
43
|
type: "string",
|
|
44
|
-
description: "For all-day events, enter the Event day in the format
|
|
44
|
+
description: "For all-day events, enter the Event day in the format `yyyy-mm-dd`. For events with time, format according to [RFC3339](https://www.rfc-editor.org/rfc/rfc3339.html#section-1): `yyyy-mm-ddThh:mm:ss+01:00`. A time zone offset is required unless a time zone is explicitly specified in timeZone.",
|
|
45
45
|
},
|
|
46
46
|
eventEndDate: {
|
|
47
47
|
label: "Event End Date",
|
|
48
48
|
type: "string",
|
|
49
|
-
description: "For all-day events, enter the Event day in the format
|
|
49
|
+
description: "For all-day events, enter the Event day in the format `yyyy-mm-dd`. For events with time, format according to [RFC3339](https://www.rfc-editor.org/rfc/rfc3339.html#section-1): `yyyy-mm-ddThh:mm:ss+01:00`. A time zone offset is required unless a time zone is explicitly specified in timeZone.",
|
|
50
50
|
},
|
|
51
51
|
sendUpdates: {
|
|
52
52
|
label: "Send Updates",
|
|
53
53
|
type: "string",
|
|
54
|
-
description: "
|
|
54
|
+
description: "Configure whether to send notifications about the creation of the new event",
|
|
55
55
|
optional: true,
|
|
56
56
|
options: [
|
|
57
57
|
"all",
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-delete-event",
|
|
5
5
|
name: "Delete an Event",
|
|
6
6
|
description: "Delete an event to the Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#delete)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.1",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-get-calendar",
|
|
5
5
|
name: "Retrieve Calendar Details",
|
|
6
6
|
description: "Retrieve Calendar details of a Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Calendars.html#get)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-get-event",
|
|
5
5
|
name: "Retrieve Event Details",
|
|
6
6
|
description: "Retrieve event details from the Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#get)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import googleCalendar from "../../google_calendar.app.mjs";
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
key: "google_calendar-list-
|
|
4
|
+
key: "google_calendar-list-calendars",
|
|
5
5
|
name: "List calendars from user account",
|
|
6
6
|
description: "Retrieve calendars from the user account. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Calendarlist.html#list)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-list-events",
|
|
5
5
|
name: "List Events",
|
|
6
6
|
description: "Retrieve a list of event from the Google Calendar. [See the docs here](https://developers.google.com/calendar/api/v3/reference/events/list)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-query-free-busy-calendars",
|
|
5
5
|
name: "Retrieve Free/Busy Calendar Details",
|
|
6
6
|
description: "Retrieve Free/Busy Calendar Details from the user account. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Freebusy.html#query)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-quick-add-event",
|
|
5
5
|
name: "Add Quick Event",
|
|
6
6
|
description: "Create an event to the Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#quickAdd)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.1",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-update-event",
|
|
5
5
|
name: "Update Event",
|
|
6
6
|
description: "Update an event to the Google Calendar. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#update)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.2",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
|
@@ -4,7 +4,7 @@ export default {
|
|
|
4
4
|
key: "google_calendar-update-event-attendees",
|
|
5
5
|
name: "Update attendees of an event",
|
|
6
6
|
description: "Update attendees of an existing event. [See the docs here](https://googleapis.dev/nodejs/googleapis/latest/calendar/classes/Resource$Events.html#update)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.1",
|
|
8
8
|
type: "action",
|
|
9
9
|
props: {
|
|
10
10
|
googleCalendar,
|
package/google_calendar.app.mjs
CHANGED
|
@@ -7,9 +7,11 @@ export default {
|
|
|
7
7
|
app: "google_calendar",
|
|
8
8
|
propDefinitions: {
|
|
9
9
|
calendarId: {
|
|
10
|
-
label: "Calendar
|
|
10
|
+
label: "Calendar",
|
|
11
11
|
type: "string",
|
|
12
|
-
description: "
|
|
12
|
+
description: "Optionally select the calendar you'd like to use (defaults to the primary calendar for the logged-in user)",
|
|
13
|
+
default: "primary",
|
|
14
|
+
optional: true,
|
|
13
15
|
async options({ prevContext }) {
|
|
14
16
|
const { nextPageToken } = prevContext;
|
|
15
17
|
if (nextPageToken === false) {
|
|
@@ -154,7 +156,7 @@ export default {
|
|
|
154
156
|
},
|
|
155
157
|
timeZone: {
|
|
156
158
|
type: "string",
|
|
157
|
-
label: "Time
|
|
159
|
+
label: "Time Zone",
|
|
158
160
|
description: "Time zone used in the response. Optional. The default is the time zone of the calendar.",
|
|
159
161
|
optional: true,
|
|
160
162
|
options() {
|
package/package.json
CHANGED
|
@@ -3,9 +3,11 @@ import common from "../common.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "google_calendar-event-cancelled",
|
|
6
|
+
// eslint-disable-next-line pipedream/source-name
|
|
6
7
|
name: "Event Cancelled",
|
|
8
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
9
|
description: "Emits when an event is cancelled or deleted",
|
|
8
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.3",
|
|
9
11
|
type: "source",
|
|
10
12
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
13
|
methods: {
|
|
@@ -3,9 +3,11 @@ import common from "../common.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "google_calendar-event-ended",
|
|
6
|
+
// eslint-disable-next-line pipedream/source-name
|
|
6
7
|
name: "Event Ended",
|
|
8
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
9
|
description: "Emits when an event ends",
|
|
8
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.3",
|
|
9
11
|
type: "source",
|
|
10
12
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
13
|
methods: {
|
|
@@ -3,9 +3,11 @@ import common from "../common.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "google_calendar-event-start",
|
|
6
|
+
// eslint-disable-next-line pipedream/source-name
|
|
6
7
|
name: "Event Start",
|
|
8
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
9
|
description: "Emits a specified time before an event starts",
|
|
8
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.3",
|
|
9
11
|
type: "source",
|
|
10
12
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
13
|
methods: {
|
|
@@ -4,8 +4,9 @@ import { DEFAULT_POLLING_SOURCE_TIMER_INTERVAL } from "@pipedream/platform";
|
|
|
4
4
|
export default {
|
|
5
5
|
key: "google_calendar-new-calendar",
|
|
6
6
|
name: "New Calendar",
|
|
7
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
8
|
description: "Emit an event when a calendar is created.",
|
|
8
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.3",
|
|
9
10
|
type: "source",
|
|
10
11
|
props: {
|
|
11
12
|
db: "$.service.db",
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
key: "google_calendar-new-event",
|
|
6
6
|
name: "New Event",
|
|
7
7
|
description: "Emits when an event is created",
|
|
8
|
-
version: "0.1.
|
|
8
|
+
version: "0.1.3",
|
|
9
9
|
type: "source",
|
|
10
10
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
11
|
methods: {
|
|
@@ -3,9 +3,11 @@ import common from "../common.mjs";
|
|
|
3
3
|
export default {
|
|
4
4
|
...common,
|
|
5
5
|
key: "google_calendar-new-event-search",
|
|
6
|
+
// eslint-disable-next-line pipedream/source-name
|
|
6
7
|
name: "Event Search",
|
|
8
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
9
|
description: "Emit when an event is created that matches a search",
|
|
8
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.3",
|
|
9
11
|
type: "source",
|
|
10
12
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
13
|
props: {
|
|
@@ -4,8 +4,9 @@ export default {
|
|
|
4
4
|
...common,
|
|
5
5
|
key: "google_calendar-new-or-updated-event",
|
|
6
6
|
name: "New or Updated Event",
|
|
7
|
+
// eslint-disable-next-line pipedream/source-description
|
|
7
8
|
description: "Emits when an event is created or updated (except when it's cancelled)",
|
|
8
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.3",
|
|
9
10
|
type: "source",
|
|
10
11
|
dedupe: "unique", // Dedupe events based on the Google Calendar event ID
|
|
11
12
|
methods: {
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
type: "source",
|
|
8
8
|
name: "New or Updated Event (Instant)",
|
|
9
9
|
description: "Emit new calendar events when an event is created or updated (does not emit cancelled events)",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.6",
|
|
11
11
|
dedupe: "unique",
|
|
12
12
|
props: {
|
|
13
13
|
googleCalendar,
|
|
@@ -6,10 +6,11 @@ const docLink = "https://pipedream.com/docs/examples/waiting-to-execute-next-ste
|
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
key: "google_calendar-upcoming-event-alert",
|
|
9
|
+
// eslint-disable-next-line pipedream/source-name
|
|
9
10
|
name: "Upcoming Event Alert",
|
|
10
11
|
description: `Triggers based on a time interval before an upcoming event in the calendar. This source uses Pipedream's Task Scheduler.
|
|
11
12
|
[See here](${docLink}) for more information and instructions for connecting your Pipedream account.`,
|
|
12
|
-
version: "0.0.
|
|
13
|
+
version: "0.0.2",
|
|
13
14
|
type: "source",
|
|
14
15
|
props: {
|
|
15
16
|
pipedream: taskScheduler.props.pipedream,
|