@frogbotai/piece-google-calendar 0.15.0 → 0.17.0
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/dist/index.d.ts +1 -1
- package/dist/index.js +23 -23
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PieceFactoryConfig } from
|
|
1
|
+
import { type PieceFactoryConfig } from 'frogbot/pieces';
|
|
2
2
|
export declare const googleCalendarActions: readonly ["google-calendar-add-attendees", "create_quick_event", "create_google_calendar_event", "google_calendar_get_events", "update_event", "delete_event", "google_calendar_find_busy_free_periods", "google_calendar_get_event_by_id"];
|
|
3
3
|
export declare const googleCalendarScopes: readonly ["https://www.googleapis.com/auth/calendar.events", "https://www.googleapis.com/auth/calendar.readonly"];
|
|
4
4
|
export declare function createGoogleCalendar(config?: PieceFactoryConfig): import("frogbot/pieces").Piece & {
|
package/dist/index.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import * as module from
|
|
2
|
-
import { createActivepiecesPiece } from
|
|
1
|
+
import * as module from '@activepieces/piece-google-calendar';
|
|
2
|
+
import { createActivepiecesPiece } from 'frogbot/pieces';
|
|
3
3
|
export const googleCalendarActions = [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
'google-calendar-add-attendees',
|
|
5
|
+
'create_quick_event',
|
|
6
|
+
'create_google_calendar_event',
|
|
7
|
+
'google_calendar_get_events',
|
|
8
|
+
'update_event',
|
|
9
|
+
'delete_event',
|
|
10
|
+
'google_calendar_find_busy_free_periods',
|
|
11
|
+
'google_calendar_get_event_by_id',
|
|
12
12
|
];
|
|
13
13
|
export const googleCalendarScopes = [
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
'https://www.googleapis.com/auth/calendar.events',
|
|
15
|
+
'https://www.googleapis.com/auth/calendar.readonly',
|
|
16
16
|
];
|
|
17
17
|
export function createGoogleCalendar(config) {
|
|
18
18
|
const piece = createActivepiecesPiece({
|
|
19
19
|
module: module,
|
|
20
|
-
service:
|
|
21
|
-
credentialType:
|
|
20
|
+
service: 'google-calendar',
|
|
21
|
+
credentialType: 'oauth2',
|
|
22
22
|
defaultActions: googleCalendarActions,
|
|
23
23
|
scopes: googleCalendarScopes,
|
|
24
24
|
config,
|
|
25
25
|
});
|
|
26
26
|
return Object.assign(piece, {
|
|
27
27
|
/** Add Attendees to Event: Add one or more person to existing event. */
|
|
28
|
-
googleCalendarAddAttendees: piece.tool(
|
|
28
|
+
googleCalendarAddAttendees: piece.tool('google-calendar-add-attendees'),
|
|
29
29
|
/** Create Quick Event: Add Quick Calendar Event */
|
|
30
|
-
createQuickEvent: piece.tool(
|
|
30
|
+
createQuickEvent: piece.tool('create_quick_event'),
|
|
31
31
|
/** Create Event: Add Event */
|
|
32
|
-
createGoogleCalendarEvent: piece.tool(
|
|
32
|
+
createGoogleCalendarEvent: piece.tool('create_google_calendar_event'),
|
|
33
33
|
/** Get all Events: Get Events */
|
|
34
|
-
googleCalendarGetEvents: piece.tool(
|
|
34
|
+
googleCalendarGetEvents: piece.tool('google_calendar_get_events'),
|
|
35
35
|
/** Update Event: Updates an event in Google Calendar. */
|
|
36
|
-
updateEvent: piece.tool(
|
|
36
|
+
updateEvent: piece.tool('update_event'),
|
|
37
37
|
/** Delete Event: Deletes an event from Google Calendar. */
|
|
38
|
-
deleteEvent: piece.tool(
|
|
38
|
+
deleteEvent: piece.tool('delete_event'),
|
|
39
39
|
/** Find Busy/Free Periods in Calendar: Finds free/busy calendar details from Google Calendar. */
|
|
40
|
-
googleCalendarFindBusyFreePeriods: piece.tool(
|
|
40
|
+
googleCalendarFindBusyFreePeriods: piece.tool('google_calendar_find_busy_free_periods'),
|
|
41
41
|
/** Get Event by ID: Fetch event details by its unique ID from Google Calendar. */
|
|
42
|
-
googleCalendarGetEventById: piece.tool(
|
|
42
|
+
googleCalendarGetEventById: piece.tool('google_calendar_get_event_by_id'),
|
|
43
43
|
/** Custom API Call: Make a custom API call to a specific endpoint */
|
|
44
|
-
customApiCall: piece.tool(
|
|
44
|
+
customApiCall: piece.tool('custom_api_call'),
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-google-calendar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "Google Calendar tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"@activepieces/piece-google-calendar": "0.9.5"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"frogbot": "0.
|
|
30
|
+
"frogbot": "0.17.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"typescript": "5.6.2",
|
|
34
|
-
"frogbot": "0.
|
|
34
|
+
"frogbot": "0.17.0"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"access": "public"
|