@node2flow/google-calendar-mcp 1.0.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/Dockerfile +10 -0
- package/LICENSE +21 -0
- package/README.md +174 -0
- package/dist/calendar-client.d.ts +235 -0
- package/dist/calendar-client.d.ts.map +1 -0
- package/dist/calendar-client.js +475 -0
- package/dist/calendar-client.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +167 -0
- package/dist/index.js.map +1 -0
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +401 -0
- package/dist/server.js.map +1 -0
- package/dist/tools.d.ts +6 -0
- package/dist/tools.d.ts.map +1 -0
- package/dist/tools.js +491 -0
- package/dist/tools.js.map +1 -0
- package/dist/types.d.ts +264 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/dist/worker.d.ts +8 -0
- package/dist/worker.d.ts.map +1 -0
- package/dist/worker.js +69 -0
- package/dist/worker.js.map +1 -0
- package/docker-compose.yml +9 -0
- package/package.json +52 -0
- package/smithery-config.json +18 -0
- package/src/calendar-client.ts +641 -0
- package/src/index.ts +184 -0
- package/src/server.ts +447 -0
- package/src/tools.ts +497 -0
- package/src/types.ts +317 -0
- package/src/worker.ts +88 -0
- package/tsconfig.json +18 -0
- package/wrangler.toml +14 -0
package/Dockerfile
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Node2Flow
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# @node2flow/google-calendar-mcp
|
|
2
|
+
|
|
3
|
+
[](https://smithery.ai/server/node2flow/google-calendar)
|
|
4
|
+
[](https://www.npmjs.com/package/@node2flow/google-calendar-mcp)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
MCP server for **Google Calendar** — create events, manage calendars, check availability, and share calendars through 28 tools via the Model Context Protocol.
|
|
8
|
+
|
|
9
|
+
## Quick Start
|
|
10
|
+
|
|
11
|
+
### Claude Desktop / Cursor
|
|
12
|
+
|
|
13
|
+
Add to your MCP config:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"mcpServers": {
|
|
18
|
+
"google-calendar": {
|
|
19
|
+
"command": "npx",
|
|
20
|
+
"args": ["-y", "@node2flow/google-calendar-mcp"],
|
|
21
|
+
"env": {
|
|
22
|
+
"GOOGLE_CLIENT_ID": "your-client-id",
|
|
23
|
+
"GOOGLE_CLIENT_SECRET": "your-client-secret",
|
|
24
|
+
"GOOGLE_REFRESH_TOKEN": "your-refresh-token"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### HTTP Mode
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
GOOGLE_CLIENT_ID=xxx GOOGLE_CLIENT_SECRET=xxx GOOGLE_REFRESH_TOKEN=xxx npx @node2flow/google-calendar-mcp --http
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
MCP endpoint: `http://localhost:3000/mcp`
|
|
38
|
+
|
|
39
|
+
### Cloudflare Worker
|
|
40
|
+
|
|
41
|
+
Available at: `https://google-calendar-mcp-community.node2flow.net/mcp`
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
POST https://google-calendar-mcp-community.node2flow.net/mcp?GOOGLE_CLIENT_ID=xxx&GOOGLE_CLIENT_SECRET=xxx&GOOGLE_REFRESH_TOKEN=xxx
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Tools (28)
|
|
50
|
+
|
|
51
|
+
### Events (10)
|
|
52
|
+
|
|
53
|
+
| Tool | Description |
|
|
54
|
+
|------|-------------|
|
|
55
|
+
| `gcal_list_events` | List events with time range, search query, pagination |
|
|
56
|
+
| `gcal_get_event` | Get event details (attendees, reminders, recurrence) |
|
|
57
|
+
| `gcal_create_event` | Create event (timed/all-day, attendees, recurrence, reminders) |
|
|
58
|
+
| `gcal_update_event` | Full update of an event (PUT — replaces all fields) |
|
|
59
|
+
| `gcal_patch_event` | Partial update (PATCH — only specified fields change) |
|
|
60
|
+
| `gcal_delete_event` | Delete an event |
|
|
61
|
+
| `gcal_quick_add` | Create event from natural language text |
|
|
62
|
+
| `gcal_move_event` | Move event to another calendar |
|
|
63
|
+
| `gcal_list_instances` | List instances of a recurring event |
|
|
64
|
+
| `gcal_import_event` | Import event with iCalUID |
|
|
65
|
+
|
|
66
|
+
### CalendarList (5)
|
|
67
|
+
|
|
68
|
+
| Tool | Description |
|
|
69
|
+
|------|-------------|
|
|
70
|
+
| `gcal_list_calendars` | List user's subscribed calendars |
|
|
71
|
+
| `gcal_get_calendar_entry` | Get calendar display settings |
|
|
72
|
+
| `gcal_add_calendar` | Subscribe to an existing calendar |
|
|
73
|
+
| `gcal_update_calendar_entry` | Update display settings (color, name, reminders) |
|
|
74
|
+
| `gcal_remove_calendar` | Unsubscribe from a calendar |
|
|
75
|
+
|
|
76
|
+
### Calendars (5)
|
|
77
|
+
|
|
78
|
+
| Tool | Description |
|
|
79
|
+
|------|-------------|
|
|
80
|
+
| `gcal_get_calendar` | Get calendar metadata |
|
|
81
|
+
| `gcal_create_calendar` | Create a new secondary calendar |
|
|
82
|
+
| `gcal_update_calendar` | Update calendar metadata |
|
|
83
|
+
| `gcal_delete_calendar` | Delete a secondary calendar |
|
|
84
|
+
| `gcal_clear_calendar` | Delete all events from a calendar |
|
|
85
|
+
|
|
86
|
+
### ACL (5)
|
|
87
|
+
|
|
88
|
+
| Tool | Description |
|
|
89
|
+
|------|-------------|
|
|
90
|
+
| `gcal_list_acl` | List access control rules |
|
|
91
|
+
| `gcal_get_acl` | Get a specific ACL rule |
|
|
92
|
+
| `gcal_create_acl` | Share calendar with user/group/domain |
|
|
93
|
+
| `gcal_update_acl` | Update sharing permission |
|
|
94
|
+
| `gcal_delete_acl` | Remove sharing permission |
|
|
95
|
+
|
|
96
|
+
### Utility (3)
|
|
97
|
+
|
|
98
|
+
| Tool | Description |
|
|
99
|
+
|------|-------------|
|
|
100
|
+
| `gcal_query_freebusy` | Check availability for scheduling |
|
|
101
|
+
| `gcal_get_colors` | Get color palette for events/calendars |
|
|
102
|
+
| `gcal_list_settings` | List user calendar settings |
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## DateTime Format
|
|
107
|
+
|
|
108
|
+
Google Calendar uses **RFC 3339** format for date-times:
|
|
109
|
+
|
|
110
|
+
```
|
|
111
|
+
Timed events: 2026-03-15T10:00:00-05:00 (with timezone offset)
|
|
112
|
+
2026-03-15T15:00:00Z (UTC)
|
|
113
|
+
All-day events: 2026-03-15 (date only, YYYY-MM-DD)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
For all-day events, the end date is **exclusive** — a single-day event on March 15 uses `start_date=2026-03-15` and `end_date=2026-03-16`.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Recurrence Rules
|
|
121
|
+
|
|
122
|
+
Events can repeat using RRULE format:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
Daily: ["RRULE:FREQ=DAILY"]
|
|
126
|
+
Weekly: ["RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR"]
|
|
127
|
+
Monthly: ["RRULE:FREQ=MONTHLY;BYMONTHDAY=15"]
|
|
128
|
+
Yearly: ["RRULE:FREQ=YEARLY;BYMONTH=3;BYMONTHDAY=15"]
|
|
129
|
+
Until: ["RRULE:FREQ=WEEKLY;BYDAY=MO;UNTIL=20261231T235959Z"]
|
|
130
|
+
Count: ["RRULE:FREQ=DAILY;COUNT=10"]
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Configuration
|
|
136
|
+
|
|
137
|
+
| Parameter | Required | Description |
|
|
138
|
+
|-----------|----------|-------------|
|
|
139
|
+
| `GOOGLE_CLIENT_ID` | Yes | OAuth 2.0 Client ID from Google Cloud Console |
|
|
140
|
+
| `GOOGLE_CLIENT_SECRET` | Yes | OAuth 2.0 Client Secret |
|
|
141
|
+
| `GOOGLE_REFRESH_TOKEN` | Yes | Refresh token (obtained via OAuth consent flow) |
|
|
142
|
+
|
|
143
|
+
### Getting Your Credentials
|
|
144
|
+
|
|
145
|
+
1. Go to [Google Cloud Console](https://console.cloud.google.com/)
|
|
146
|
+
2. Create a project and enable **Google Calendar API**
|
|
147
|
+
3. Create **OAuth 2.0 Client ID** (Desktop app type)
|
|
148
|
+
4. Use the [OAuth Playground](https://developers.google.com/oauthplayground/) or your app to get a refresh token with the Calendar scope
|
|
149
|
+
|
|
150
|
+
### OAuth Scopes
|
|
151
|
+
|
|
152
|
+
| Scope | Access |
|
|
153
|
+
|-------|--------|
|
|
154
|
+
| `calendar` | Full read/write access (recommended) |
|
|
155
|
+
| `calendar.readonly` | Read-only access |
|
|
156
|
+
| `calendar.events` | Read/write events only |
|
|
157
|
+
| `calendar.events.readonly` | Read events only |
|
|
158
|
+
| `calendar.settings.readonly` | Read calendar settings |
|
|
159
|
+
| `calendar.calendarlist.readonly` | Read calendar list only |
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## License
|
|
164
|
+
|
|
165
|
+
MIT License - see [LICENSE](LICENSE)
|
|
166
|
+
|
|
167
|
+
Copyright (c) 2026 [Node2Flow](https://node2flow.net)
|
|
168
|
+
|
|
169
|
+
## Links
|
|
170
|
+
|
|
171
|
+
- [npm Package](https://www.npmjs.com/package/@node2flow/google-calendar-mcp)
|
|
172
|
+
- [Google Calendar API](https://developers.google.com/calendar/api/v3/reference)
|
|
173
|
+
- [MCP Protocol](https://modelcontextprotocol.io/)
|
|
174
|
+
- [Node2Flow](https://node2flow.net)
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Calendar API v3 Client — OAuth 2.0 refresh token pattern
|
|
3
|
+
*/
|
|
4
|
+
import type { Event, EventList, CalendarListEntry, CalendarListList, Calendar, AclRule, AclList, FreeBusyResponse, Colors, SettingsList } from './types.js';
|
|
5
|
+
export interface CalendarClientConfig {
|
|
6
|
+
clientId: string;
|
|
7
|
+
clientSecret: string;
|
|
8
|
+
refreshToken: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class CalendarClient {
|
|
11
|
+
private config;
|
|
12
|
+
private accessToken;
|
|
13
|
+
private tokenExpiry;
|
|
14
|
+
private static readonly BASE;
|
|
15
|
+
private static readonly TOKEN_URL;
|
|
16
|
+
constructor(config: CalendarClientConfig);
|
|
17
|
+
private getAccessToken;
|
|
18
|
+
private request;
|
|
19
|
+
listEvents(opts: {
|
|
20
|
+
calendarId: string;
|
|
21
|
+
timeMin?: string;
|
|
22
|
+
timeMax?: string;
|
|
23
|
+
q?: string;
|
|
24
|
+
maxResults?: number;
|
|
25
|
+
pageToken?: string;
|
|
26
|
+
singleEvents?: boolean;
|
|
27
|
+
orderBy?: string;
|
|
28
|
+
timeZone?: string;
|
|
29
|
+
showDeleted?: boolean;
|
|
30
|
+
}): Promise<EventList>;
|
|
31
|
+
getEvent(opts: {
|
|
32
|
+
calendarId: string;
|
|
33
|
+
eventId: string;
|
|
34
|
+
timeZone?: string;
|
|
35
|
+
}): Promise<Event>;
|
|
36
|
+
createEvent(opts: {
|
|
37
|
+
calendarId: string;
|
|
38
|
+
summary?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
location?: string;
|
|
41
|
+
startDateTime?: string;
|
|
42
|
+
startDate?: string;
|
|
43
|
+
startTimeZone?: string;
|
|
44
|
+
endDateTime?: string;
|
|
45
|
+
endDate?: string;
|
|
46
|
+
endTimeZone?: string;
|
|
47
|
+
attendees?: string[];
|
|
48
|
+
recurrence?: string[];
|
|
49
|
+
reminders?: {
|
|
50
|
+
useDefault: boolean;
|
|
51
|
+
overrides?: {
|
|
52
|
+
method: string;
|
|
53
|
+
minutes: number;
|
|
54
|
+
}[];
|
|
55
|
+
};
|
|
56
|
+
colorId?: string;
|
|
57
|
+
visibility?: string;
|
|
58
|
+
transparency?: string;
|
|
59
|
+
sendUpdates?: string;
|
|
60
|
+
conferenceDataVersion?: number;
|
|
61
|
+
}): Promise<Event>;
|
|
62
|
+
updateEvent(opts: {
|
|
63
|
+
calendarId: string;
|
|
64
|
+
eventId: string;
|
|
65
|
+
summary?: string;
|
|
66
|
+
description?: string;
|
|
67
|
+
location?: string;
|
|
68
|
+
startDateTime?: string;
|
|
69
|
+
startDate?: string;
|
|
70
|
+
startTimeZone?: string;
|
|
71
|
+
endDateTime?: string;
|
|
72
|
+
endDate?: string;
|
|
73
|
+
endTimeZone?: string;
|
|
74
|
+
attendees?: string[];
|
|
75
|
+
recurrence?: string[];
|
|
76
|
+
reminders?: {
|
|
77
|
+
useDefault: boolean;
|
|
78
|
+
overrides?: {
|
|
79
|
+
method: string;
|
|
80
|
+
minutes: number;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
colorId?: string;
|
|
84
|
+
visibility?: string;
|
|
85
|
+
transparency?: string;
|
|
86
|
+
sendUpdates?: string;
|
|
87
|
+
}): Promise<Event>;
|
|
88
|
+
patchEvent(opts: {
|
|
89
|
+
calendarId: string;
|
|
90
|
+
eventId: string;
|
|
91
|
+
summary?: string;
|
|
92
|
+
description?: string;
|
|
93
|
+
location?: string;
|
|
94
|
+
startDateTime?: string;
|
|
95
|
+
startDate?: string;
|
|
96
|
+
startTimeZone?: string;
|
|
97
|
+
endDateTime?: string;
|
|
98
|
+
endDate?: string;
|
|
99
|
+
endTimeZone?: string;
|
|
100
|
+
attendees?: string[];
|
|
101
|
+
colorId?: string;
|
|
102
|
+
visibility?: string;
|
|
103
|
+
transparency?: string;
|
|
104
|
+
sendUpdates?: string;
|
|
105
|
+
}): Promise<Event>;
|
|
106
|
+
deleteEvent(opts: {
|
|
107
|
+
calendarId: string;
|
|
108
|
+
eventId: string;
|
|
109
|
+
sendUpdates?: string;
|
|
110
|
+
}): Promise<void>;
|
|
111
|
+
quickAdd(opts: {
|
|
112
|
+
calendarId: string;
|
|
113
|
+
text: string;
|
|
114
|
+
sendUpdates?: string;
|
|
115
|
+
}): Promise<Event>;
|
|
116
|
+
moveEvent(opts: {
|
|
117
|
+
calendarId: string;
|
|
118
|
+
eventId: string;
|
|
119
|
+
destination: string;
|
|
120
|
+
sendUpdates?: string;
|
|
121
|
+
}): Promise<Event>;
|
|
122
|
+
listInstances(opts: {
|
|
123
|
+
calendarId: string;
|
|
124
|
+
eventId: string;
|
|
125
|
+
timeMin?: string;
|
|
126
|
+
timeMax?: string;
|
|
127
|
+
maxResults?: number;
|
|
128
|
+
pageToken?: string;
|
|
129
|
+
timeZone?: string;
|
|
130
|
+
}): Promise<EventList>;
|
|
131
|
+
importEvent(opts: {
|
|
132
|
+
calendarId: string;
|
|
133
|
+
iCalUID: string;
|
|
134
|
+
summary?: string;
|
|
135
|
+
description?: string;
|
|
136
|
+
location?: string;
|
|
137
|
+
startDateTime?: string;
|
|
138
|
+
startDate?: string;
|
|
139
|
+
startTimeZone?: string;
|
|
140
|
+
endDateTime?: string;
|
|
141
|
+
endDate?: string;
|
|
142
|
+
endTimeZone?: string;
|
|
143
|
+
}): Promise<Event>;
|
|
144
|
+
listCalendars(opts: {
|
|
145
|
+
maxResults?: number;
|
|
146
|
+
pageToken?: string;
|
|
147
|
+
showDeleted?: boolean;
|
|
148
|
+
showHidden?: boolean;
|
|
149
|
+
}): Promise<CalendarListList>;
|
|
150
|
+
getCalendarEntry(opts: {
|
|
151
|
+
calendarId: string;
|
|
152
|
+
}): Promise<CalendarListEntry>;
|
|
153
|
+
addCalendar(opts: {
|
|
154
|
+
id: string;
|
|
155
|
+
colorId?: string;
|
|
156
|
+
summaryOverride?: string;
|
|
157
|
+
hidden?: boolean;
|
|
158
|
+
selected?: boolean;
|
|
159
|
+
}): Promise<CalendarListEntry>;
|
|
160
|
+
updateCalendarEntry(opts: {
|
|
161
|
+
calendarId: string;
|
|
162
|
+
colorId?: string;
|
|
163
|
+
summaryOverride?: string;
|
|
164
|
+
hidden?: boolean;
|
|
165
|
+
selected?: boolean;
|
|
166
|
+
defaultReminders?: {
|
|
167
|
+
method: string;
|
|
168
|
+
minutes: number;
|
|
169
|
+
}[];
|
|
170
|
+
}): Promise<CalendarListEntry>;
|
|
171
|
+
removeCalendar(opts: {
|
|
172
|
+
calendarId: string;
|
|
173
|
+
}): Promise<void>;
|
|
174
|
+
getCalendar(opts: {
|
|
175
|
+
calendarId: string;
|
|
176
|
+
}): Promise<Calendar>;
|
|
177
|
+
createCalendar(opts: {
|
|
178
|
+
summary: string;
|
|
179
|
+
description?: string;
|
|
180
|
+
location?: string;
|
|
181
|
+
timeZone?: string;
|
|
182
|
+
}): Promise<Calendar>;
|
|
183
|
+
updateCalendar(opts: {
|
|
184
|
+
calendarId: string;
|
|
185
|
+
summary?: string;
|
|
186
|
+
description?: string;
|
|
187
|
+
location?: string;
|
|
188
|
+
timeZone?: string;
|
|
189
|
+
}): Promise<Calendar>;
|
|
190
|
+
deleteCalendar(opts: {
|
|
191
|
+
calendarId: string;
|
|
192
|
+
}): Promise<void>;
|
|
193
|
+
clearCalendar(opts: {
|
|
194
|
+
calendarId: string;
|
|
195
|
+
}): Promise<void>;
|
|
196
|
+
listAcl(opts: {
|
|
197
|
+
calendarId: string;
|
|
198
|
+
maxResults?: number;
|
|
199
|
+
pageToken?: string;
|
|
200
|
+
showDeleted?: boolean;
|
|
201
|
+
}): Promise<AclList>;
|
|
202
|
+
getAcl(opts: {
|
|
203
|
+
calendarId: string;
|
|
204
|
+
ruleId: string;
|
|
205
|
+
}): Promise<AclRule>;
|
|
206
|
+
createAcl(opts: {
|
|
207
|
+
calendarId: string;
|
|
208
|
+
role: string;
|
|
209
|
+
scopeType: string;
|
|
210
|
+
scopeValue?: string;
|
|
211
|
+
sendNotifications?: boolean;
|
|
212
|
+
}): Promise<AclRule>;
|
|
213
|
+
updateAcl(opts: {
|
|
214
|
+
calendarId: string;
|
|
215
|
+
ruleId: string;
|
|
216
|
+
role: string;
|
|
217
|
+
sendNotifications?: boolean;
|
|
218
|
+
}): Promise<AclRule>;
|
|
219
|
+
deleteAcl(opts: {
|
|
220
|
+
calendarId: string;
|
|
221
|
+
ruleId: string;
|
|
222
|
+
}): Promise<void>;
|
|
223
|
+
queryFreeBusy(opts: {
|
|
224
|
+
timeMin: string;
|
|
225
|
+
timeMax: string;
|
|
226
|
+
timeZone?: string;
|
|
227
|
+
calendarIds: string[];
|
|
228
|
+
}): Promise<FreeBusyResponse>;
|
|
229
|
+
getColors(): Promise<Colors>;
|
|
230
|
+
listSettings(opts: {
|
|
231
|
+
maxResults?: number;
|
|
232
|
+
pageToken?: string;
|
|
233
|
+
}): Promise<SettingsList>;
|
|
234
|
+
}
|
|
235
|
+
//# sourceMappingURL=calendar-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-client.d.ts","sourceRoot":"","sources":["../src/calendar-client.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,SAAS,EACT,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,MAAM,EACN,YAAY,EACb,MAAM,YAAY,CAAC;AAEpB,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAAuB;IACrC,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,WAAW,CAAK;IAExB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAA4C;IACxE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAyC;gBAE9D,MAAM,EAAE,oBAAoB;YAM1B,cAAc;YA2Bd,OAAO;IA2Bf,UAAU,CAAC,IAAI,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,CAAC,CAAC,EAAE,MAAM,CAAC;QACX,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,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