@frogbotai/piece-google-calendar 0.25.0 → 0.27.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/actions/events.d.ts +5 -5
- package/dist/actions/options.d.ts +2 -2
- package/dist/actions/read.d.ts +3 -3
- package/dist/client.d.ts +2 -2
- package/dist/index.d.ts +9 -9
- package/package.json +5 -5
package/dist/actions/events.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare const createEvent: {
|
|
|
97
97
|
options: {
|
|
98
98
|
calendarId: ({ client, req }: {
|
|
99
99
|
client: GoogleCalendar;
|
|
100
|
-
req: import("frogbot").
|
|
100
|
+
req: import("frogbot").FrogBotRequest;
|
|
101
101
|
}) => Promise<{
|
|
102
102
|
label: string;
|
|
103
103
|
value: string;
|
|
@@ -202,7 +202,7 @@ export declare const updateEvent: {
|
|
|
202
202
|
options: {
|
|
203
203
|
calendarId: ({ client, req }: {
|
|
204
204
|
client: GoogleCalendar;
|
|
205
|
-
req: import("frogbot").
|
|
205
|
+
req: import("frogbot").FrogBotRequest;
|
|
206
206
|
}) => Promise<{
|
|
207
207
|
label: string;
|
|
208
208
|
value: string;
|
|
@@ -287,7 +287,7 @@ export declare const addAttendees: {
|
|
|
287
287
|
options: {
|
|
288
288
|
calendarId: ({ client, req }: {
|
|
289
289
|
client: GoogleCalendar;
|
|
290
|
-
req: import("frogbot").
|
|
290
|
+
req: import("frogbot").FrogBotRequest;
|
|
291
291
|
}) => Promise<{
|
|
292
292
|
label: string;
|
|
293
293
|
value: string;
|
|
@@ -369,7 +369,7 @@ export declare const createQuickEvent: {
|
|
|
369
369
|
options: {
|
|
370
370
|
calendarId: ({ client, req }: {
|
|
371
371
|
client: GoogleCalendar;
|
|
372
|
-
req: import("frogbot").
|
|
372
|
+
req: import("frogbot").FrogBotRequest;
|
|
373
373
|
}) => Promise<{
|
|
374
374
|
label: string;
|
|
375
375
|
value: string;
|
|
@@ -405,7 +405,7 @@ export declare const deleteEvent: {
|
|
|
405
405
|
options: {
|
|
406
406
|
calendarId: ({ client, req }: {
|
|
407
407
|
client: GoogleCalendar;
|
|
408
|
-
req: import("frogbot").
|
|
408
|
+
req: import("frogbot").FrogBotRequest;
|
|
409
409
|
}) => Promise<{
|
|
410
410
|
label: string;
|
|
411
411
|
value: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FrogBotRequest } from 'frogbot';
|
|
2
2
|
import { type GoogleCalendar } from '../client.js';
|
|
3
3
|
type CalendarOptionsArgs = {
|
|
4
4
|
client: GoogleCalendar;
|
|
5
|
-
req:
|
|
5
|
+
req: FrogBotRequest;
|
|
6
6
|
};
|
|
7
7
|
export declare const calendars: (minAccessRole?: "writer") => ({ client, req }: CalendarOptionsArgs) => Promise<{
|
|
8
8
|
label: string;
|
package/dist/actions/read.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const getEvent: {
|
|
|
69
69
|
options: {
|
|
70
70
|
calendarId: ({ client, req }: {
|
|
71
71
|
client: GoogleCalendar;
|
|
72
|
-
req: import("frogbot").
|
|
72
|
+
req: import("frogbot").FrogBotRequest;
|
|
73
73
|
}) => Promise<{
|
|
74
74
|
label: string;
|
|
75
75
|
value: string;
|
|
@@ -175,7 +175,7 @@ export declare const listEvents: {
|
|
|
175
175
|
options: {
|
|
176
176
|
calendarId: ({ client, req }: {
|
|
177
177
|
client: GoogleCalendar;
|
|
178
|
-
req: import("frogbot").
|
|
178
|
+
req: import("frogbot").FrogBotRequest;
|
|
179
179
|
}) => Promise<{
|
|
180
180
|
label: string;
|
|
181
181
|
value: string;
|
|
@@ -222,7 +222,7 @@ export declare const findFreeBusyPeriods: {
|
|
|
222
222
|
options: {
|
|
223
223
|
calendarIds: ({ client, req }: {
|
|
224
224
|
client: GoogleCalendar;
|
|
225
|
-
req: import("frogbot").
|
|
225
|
+
req: import("frogbot").FrogBotRequest;
|
|
226
226
|
}) => Promise<{
|
|
227
227
|
label: string;
|
|
228
228
|
value: string;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FrogBotRequest } from 'frogbot';
|
|
2
2
|
import { type calendar_v3 } from 'googleapis';
|
|
3
3
|
export type GoogleCalendar = calendar_v3.Calendar;
|
|
4
4
|
export declare function createGoogleCalendarClient({ auth }: {
|
|
5
5
|
auth: unknown;
|
|
6
6
|
}): calendar_v3.Calendar;
|
|
7
|
-
export declare function requestOptions(req:
|
|
7
|
+
export declare function requestOptions(req: FrogBotRequest): {
|
|
8
8
|
signal: AbortSignal | undefined;
|
|
9
9
|
retry: boolean;
|
|
10
10
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
31
31
|
readonly account: ({ tokens, req }: {
|
|
32
32
|
tokens: import("frogbot").OAuthTokens;
|
|
33
33
|
client: unknown;
|
|
34
|
-
req: import("frogbot").
|
|
34
|
+
req: import("frogbot").FrogBotRequest;
|
|
35
35
|
}) => Promise<{
|
|
36
36
|
id: string;
|
|
37
37
|
label: string;
|
|
@@ -104,7 +104,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
104
104
|
options: {
|
|
105
105
|
calendarId: ({ client, req }: {
|
|
106
106
|
client: import("./client.js").GoogleCalendar;
|
|
107
|
-
req: import("frogbot").
|
|
107
|
+
req: import("frogbot").FrogBotRequest;
|
|
108
108
|
}) => Promise<{
|
|
109
109
|
label: string;
|
|
110
110
|
value: string;
|
|
@@ -185,7 +185,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
185
185
|
options: {
|
|
186
186
|
calendarId: ({ client, req }: {
|
|
187
187
|
client: import("./client.js").GoogleCalendar;
|
|
188
|
-
req: import("frogbot").
|
|
188
|
+
req: import("frogbot").FrogBotRequest;
|
|
189
189
|
}) => Promise<{
|
|
190
190
|
label: string;
|
|
191
191
|
value: string;
|
|
@@ -275,7 +275,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
275
275
|
options: {
|
|
276
276
|
calendarId: ({ client, req }: {
|
|
277
277
|
client: import("./client.js").GoogleCalendar;
|
|
278
|
-
req: import("frogbot").
|
|
278
|
+
req: import("frogbot").FrogBotRequest;
|
|
279
279
|
}) => Promise<{
|
|
280
280
|
label: string;
|
|
281
281
|
value: string;
|
|
@@ -382,7 +382,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
382
382
|
options: {
|
|
383
383
|
calendarId: ({ client, req }: {
|
|
384
384
|
client: import("./client.js").GoogleCalendar;
|
|
385
|
-
req: import("frogbot").
|
|
385
|
+
req: import("frogbot").FrogBotRequest;
|
|
386
386
|
}) => Promise<{
|
|
387
387
|
label: string;
|
|
388
388
|
value: string;
|
|
@@ -481,7 +481,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
481
481
|
options: {
|
|
482
482
|
calendarId: ({ client, req }: {
|
|
483
483
|
client: import("./client.js").GoogleCalendar;
|
|
484
|
-
req: import("frogbot").
|
|
484
|
+
req: import("frogbot").FrogBotRequest;
|
|
485
485
|
}) => Promise<{
|
|
486
486
|
label: string;
|
|
487
487
|
value: string;
|
|
@@ -527,7 +527,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
527
527
|
options: {
|
|
528
528
|
calendarId: ({ client, req }: {
|
|
529
529
|
client: import("./client.js").GoogleCalendar;
|
|
530
|
-
req: import("frogbot").
|
|
530
|
+
req: import("frogbot").FrogBotRequest;
|
|
531
531
|
}) => Promise<{
|
|
532
532
|
label: string;
|
|
533
533
|
value: string;
|
|
@@ -578,7 +578,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
578
578
|
options: {
|
|
579
579
|
calendarIds: ({ client, req }: {
|
|
580
580
|
client: import("./client.js").GoogleCalendar;
|
|
581
|
-
req: import("frogbot").
|
|
581
|
+
req: import("frogbot").FrogBotRequest;
|
|
582
582
|
}) => Promise<{
|
|
583
583
|
label: string;
|
|
584
584
|
value: string;
|
|
@@ -651,7 +651,7 @@ export declare const createGoogleCalendar: import("frogbot").PieceFactory<{
|
|
|
651
651
|
options: {
|
|
652
652
|
calendarId: ({ client, req }: {
|
|
653
653
|
client: import("./client.js").GoogleCalendar;
|
|
654
|
-
req: import("frogbot").
|
|
654
|
+
req: import("frogbot").FrogBotRequest;
|
|
655
655
|
}) => Promise<{
|
|
656
656
|
label: string;
|
|
657
657
|
value: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-google-calendar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Google Calendar tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"googleapis": "^180.0.0",
|
|
28
28
|
"zod": "^4.3.6",
|
|
29
|
-
"@frogbotai/piece-google": "0.
|
|
29
|
+
"@frogbotai/piece-google": "0.27.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"frogbot": "0.
|
|
32
|
+
"frogbot": "0.27.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "5.6.2",
|
|
36
|
-
"frogbot": "0.
|
|
36
|
+
"frogbot": "0.27.0"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
|
-
"build": "tsc -p tsconfig.json",
|
|
42
|
+
"build": "rm -rf dist && tsc -p tsconfig.json",
|
|
43
43
|
"clean": "rm -rf dist",
|
|
44
44
|
"typecheck": "tsc --noEmit"
|
|
45
45
|
}
|