google-mcp-suite 1.0.0 → 1.2.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/README.md +42 -20
- package/dist/calendar/capabilities.d.ts +3 -0
- package/dist/calendar/capabilities.d.ts.map +1 -0
- package/dist/calendar/capabilities.js +21 -0
- package/dist/calendar/capabilities.js.map +1 -0
- package/dist/calendar/entities/Attendee.d.ts +24 -0
- package/dist/calendar/entities/Attendee.d.ts.map +1 -0
- package/dist/calendar/entities/Attendee.js +34 -0
- package/dist/calendar/entities/Attendee.js.map +1 -0
- package/dist/calendar/entities/Calendar.d.ts +20 -0
- package/dist/calendar/entities/Calendar.d.ts.map +1 -0
- package/dist/calendar/entities/Calendar.js +25 -0
- package/dist/calendar/entities/Calendar.js.map +1 -0
- package/dist/calendar/entities/CalendarListEntry.d.ts +36 -0
- package/dist/calendar/entities/CalendarListEntry.d.ts.map +1 -0
- package/dist/calendar/entities/CalendarListEntry.js +60 -0
- package/dist/calendar/entities/CalendarListEntry.js.map +1 -0
- package/dist/calendar/entities/Colors.d.ts +31 -0
- package/dist/calendar/entities/Colors.d.ts.map +1 -0
- package/dist/calendar/entities/Colors.js +34 -0
- package/dist/calendar/entities/Colors.js.map +1 -0
- package/dist/calendar/entities/Event.d.ts +76 -0
- package/dist/calendar/entities/Event.d.ts.map +1 -0
- package/dist/calendar/entities/Event.js +72 -0
- package/dist/calendar/entities/Event.js.map +1 -0
- package/dist/calendar/entities/EventDateTime.d.ts +19 -0
- package/dist/calendar/entities/EventDateTime.d.ts.map +1 -0
- package/dist/calendar/entities/EventDateTime.js +34 -0
- package/dist/calendar/entities/EventDateTime.js.map +1 -0
- package/dist/calendar/entities/FreeBusy.d.ts +30 -0
- package/dist/calendar/entities/FreeBusy.d.ts.map +1 -0
- package/dist/calendar/entities/FreeBusy.js +33 -0
- package/dist/calendar/entities/FreeBusy.js.map +1 -0
- package/dist/calendar/entities/NotificationLevel.d.ts +19 -0
- package/dist/calendar/entities/NotificationLevel.d.ts.map +1 -0
- package/dist/calendar/entities/NotificationLevel.js +14 -0
- package/dist/calendar/entities/NotificationLevel.js.map +1 -0
- package/dist/calendar/entities/Principal.d.ts +17 -0
- package/dist/calendar/entities/Principal.d.ts.map +1 -0
- package/dist/calendar/entities/Principal.js +19 -0
- package/dist/calendar/entities/Principal.js.map +1 -0
- package/dist/calendar/entities/Reminder.d.ts +19 -0
- package/dist/calendar/entities/Reminder.d.ts.map +1 -0
- package/dist/calendar/entities/Reminder.js +21 -0
- package/dist/calendar/entities/Reminder.js.map +1 -0
- package/dist/calendar/entities/Setting.d.ts +12 -0
- package/dist/calendar/entities/Setting.d.ts.map +1 -0
- package/dist/calendar/entities/Setting.js +13 -0
- package/dist/calendar/entities/Setting.js.map +1 -0
- package/dist/calendar/index.d.ts +3 -0
- package/dist/calendar/index.d.ts.map +1 -0
- package/dist/calendar/index.js +19 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/calendar/lib/attendees.d.ts +24 -0
- package/dist/calendar/lib/attendees.d.ts.map +1 -0
- package/dist/calendar/lib/attendees.js +41 -0
- package/dist/calendar/lib/attendees.js.map +1 -0
- package/dist/calendar/lib/calendar.d.ts +8 -0
- package/dist/calendar/lib/calendar.d.ts.map +1 -0
- package/dist/calendar/lib/calendar.js +33 -0
- package/dist/calendar/lib/calendar.js.map +1 -0
- package/dist/calendar/lib/datetime.d.ts +20 -0
- package/dist/calendar/lib/datetime.d.ts.map +1 -0
- package/dist/calendar/lib/datetime.js +22 -0
- package/dist/calendar/lib/datetime.js.map +1 -0
- package/dist/calendar/lib/event.d.ts +13 -0
- package/dist/calendar/lib/event.d.ts.map +1 -0
- package/dist/calendar/lib/event.js +76 -0
- package/dist/calendar/lib/event.js.map +1 -0
- package/dist/calendar/lib/freebusy.d.ts +11 -0
- package/dist/calendar/lib/freebusy.d.ts.map +1 -0
- package/dist/calendar/lib/freebusy.js +21 -0
- package/dist/calendar/lib/freebusy.js.map +1 -0
- package/dist/calendar/lib/meet.d.ts +14 -0
- package/dist/calendar/lib/meet.d.ts.map +1 -0
- package/dist/calendar/lib/meet.js +20 -0
- package/dist/calendar/lib/meet.js.map +1 -0
- package/dist/calendar/lib/notifications.d.ts +15 -0
- package/dist/calendar/lib/notifications.d.ts.map +1 -0
- package/dist/calendar/lib/notifications.js +14 -0
- package/dist/calendar/lib/notifications.js.map +1 -0
- package/dist/calendar/lib/suggest.d.ts +47 -0
- package/dist/calendar/lib/suggest.d.ts.map +1 -0
- package/dist/calendar/lib/suggest.js +118 -0
- package/dist/calendar/lib/suggest.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/add_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/handler.js +8 -0
- package/dist/calendar/methods/add_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/index.d.ts +33 -0
- package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/index.js +17 -0
- package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts +30 -0
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/schema.js +12 -0
- package/dist/calendar/methods/add_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/clear_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/handler.js +6 -0
- package/dist/calendar/methods/clear_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/index.d.ts +13 -0
- package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/index.js +17 -0
- package/dist/calendar/methods/clear_calendar/index.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/schema.d.ts +12 -0
- package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/schema.js +15 -0
- package/dist/calendar/methods/clear_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/create_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/create_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/handler.js +14 -0
- package/dist/calendar/methods/create_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/create_calendar/index.d.ts +19 -0
- package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/index.js +15 -0
- package/dist/calendar/methods/create_calendar/index.js.map +1 -0
- package/dist/calendar/methods/create_calendar/schema.d.ts +18 -0
- package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/schema.js +19 -0
- package/dist/calendar/methods/create_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/delete_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/handler.js +5 -0
- package/dist/calendar/methods/delete_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/index.d.ts +14 -0
- package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/index.js +18 -0
- package/dist/calendar/methods/delete_calendar/index.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/schema.d.ts +12 -0
- package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/schema.js +14 -0
- package/dist/calendar/methods/delete_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/get_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/get_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/handler.js +6 -0
- package/dist/calendar/methods/get_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/get_calendar/index.d.ts +16 -0
- package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/index.js +15 -0
- package/dist/calendar/methods/get_calendar/index.js.map +1 -0
- package/dist/calendar/methods/get_calendar/schema.d.ts +15 -0
- package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/schema.js +13 -0
- package/dist/calendar/methods/get_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/get_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/handler.js +6 -0
- package/dist/calendar/methods/get_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/index.d.ts +31 -0
- package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/index.js +15 -0
- package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts +30 -0
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/schema.js +13 -0
- package/dist/calendar/methods/get_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/get_colors/handler.d.ts +5 -0
- package/dist/calendar/methods/get_colors/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/handler.js +19 -0
- package/dist/calendar/methods/get_colors/handler.js.map +1 -0
- package/dist/calendar/methods/get_colors/index.d.ts +19 -0
- package/dist/calendar/methods/get_colors/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/index.js +16 -0
- package/dist/calendar/methods/get_colors/index.js.map +1 -0
- package/dist/calendar/methods/get_colors/schema.d.ts +17 -0
- package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/schema.js +8 -0
- package/dist/calendar/methods/get_colors/schema.js.map +1 -0
- package/dist/calendar/methods/get_setting/handler.d.ts +5 -0
- package/dist/calendar/methods/get_setting/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/handler.js +8 -0
- package/dist/calendar/methods/get_setting/handler.js.map +1 -0
- package/dist/calendar/methods/get_setting/index.d.ts +11 -0
- package/dist/calendar/methods/get_setting/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/index.js +13 -0
- package/dist/calendar/methods/get_setting/index.js.map +1 -0
- package/dist/calendar/methods/get_setting/schema.d.ts +12 -0
- package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/schema.js +12 -0
- package/dist/calendar/methods/get_setting/schema.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/handler.d.ts +5 -0
- package/dist/calendar/methods/list_event_instances/handler.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/handler.js +28 -0
- package/dist/calendar/methods/list_event_instances/handler.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/index.d.ts +95 -0
- package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/index.js +17 -0
- package/dist/calendar/methods/list_event_instances/index.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/schema.d.ts +92 -0
- package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/schema.js +63 -0
- package/dist/calendar/methods/list_event_instances/schema.js.map +1 -0
- package/dist/calendar/methods/list_settings/handler.d.ts +5 -0
- package/dist/calendar/methods/list_settings/handler.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/handler.js +15 -0
- package/dist/calendar/methods/list_settings/handler.js.map +1 -0
- package/dist/calendar/methods/list_settings/index.d.ts +17 -0
- package/dist/calendar/methods/list_settings/index.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/index.js +15 -0
- package/dist/calendar/methods/list_settings/index.js.map +1 -0
- package/dist/calendar/methods/list_settings/schema.d.ts +21 -0
- package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/schema.js +27 -0
- package/dist/calendar/methods/list_settings/schema.js.map +1 -0
- package/dist/calendar/methods/move_event/handler.d.ts +5 -0
- package/dist/calendar/methods/move_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/handler.js +12 -0
- package/dist/calendar/methods/move_event/handler.js.map +1 -0
- package/dist/calendar/methods/move_event/index.d.ts +79 -0
- package/dist/calendar/methods/move_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/index.js +17 -0
- package/dist/calendar/methods/move_event/index.js.map +1 -0
- package/dist/calendar/methods/move_event/schema.d.ts +76 -0
- package/dist/calendar/methods/move_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/schema.js +19 -0
- package/dist/calendar/methods/move_event/schema.js.map +1 -0
- package/dist/calendar/methods/patch_event/handler.d.ts +5 -0
- package/dist/calendar/methods/patch_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/handler.js +29 -0
- package/dist/calendar/methods/patch_event/handler.js.map +1 -0
- package/dist/calendar/methods/patch_event/index.d.ts +131 -0
- package/dist/calendar/methods/patch_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/index.js +18 -0
- package/dist/calendar/methods/patch_event/index.js.map +1 -0
- package/dist/calendar/methods/patch_event/schema.d.ts +127 -0
- package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/schema.js +110 -0
- package/dist/calendar/methods/patch_event/schema.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/handler.d.ts +5 -0
- package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/handler.js +21 -0
- package/dist/calendar/methods/query_free_busy/handler.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/index.d.ts +29 -0
- package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/index.js +16 -0
- package/dist/calendar/methods/query_free_busy/index.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/schema.d.ts +27 -0
- package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/schema.js +36 -0
- package/dist/calendar/methods/query_free_busy/schema.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/handler.d.ts +5 -0
- package/dist/calendar/methods/quick_add_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/handler.js +11 -0
- package/dist/calendar/methods/quick_add_event/handler.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/index.d.ts +77 -0
- package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/index.js +16 -0
- package/dist/calendar/methods/quick_add_event/index.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/schema.d.ts +75 -0
- package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/schema.js +20 -0
- package/dist/calendar/methods/quick_add_event/schema.js.map +1 -0
- package/dist/calendar/methods/registry.d.ts +538 -0
- package/dist/calendar/methods/registry.d.ts.map +1 -0
- package/dist/calendar/methods/registry.js +48 -0
- package/dist/calendar/methods/registry.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.js +5 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts +13 -0
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/index.js +16 -0
- package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.d.ts +12 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.js +14 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/update_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/update_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/handler.js +15 -0
- package/dist/calendar/methods/update_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/update_calendar/index.d.ts +18 -0
- package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/index.js +13 -0
- package/dist/calendar/methods/update_calendar/index.js.map +1 -0
- package/dist/calendar/methods/update_calendar/schema.d.ts +19 -0
- package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/schema.js +23 -0
- package/dist/calendar/methods/update_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/update_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/handler.js +22 -0
- package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/index.d.ts +46 -0
- package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/index.js +17 -0
- package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts +43 -0
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/schema.js +39 -0
- package/dist/calendar/methods/update_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/operation.d.ts +12 -0
- package/dist/calendar/operation.d.ts.map +1 -0
- package/dist/calendar/operation.js +10 -0
- package/dist/calendar/operation.js.map +1 -0
- package/dist/calendar/tools/create_event/handler.d.ts +5 -0
- package/dist/calendar/tools/create_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/handler.js +41 -0
- package/dist/calendar/tools/create_event/handler.js.map +1 -0
- package/dist/calendar/tools/create_event/index.d.ts +101 -0
- package/dist/calendar/tools/create_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/index.js +17 -0
- package/dist/calendar/tools/create_event/index.js.map +1 -0
- package/dist/calendar/tools/create_event/schema.d.ts +98 -0
- package/dist/calendar/tools/create_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/schema.js +54 -0
- package/dist/calendar/tools/create_event/schema.js.map +1 -0
- package/dist/calendar/tools/delete_event/handler.d.ts +5 -0
- package/dist/calendar/tools/delete_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/handler.js +15 -0
- package/dist/calendar/tools/delete_event/handler.js.map +1 -0
- package/dist/calendar/tools/delete_event/index.d.ts +76 -0
- package/dist/calendar/tools/delete_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/index.js +16 -0
- package/dist/calendar/tools/delete_event/index.js.map +1 -0
- package/dist/calendar/tools/delete_event/schema.d.ts +75 -0
- package/dist/calendar/tools/delete_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/schema.js +16 -0
- package/dist/calendar/tools/delete_event/schema.js.map +1 -0
- package/dist/calendar/tools/get_event/handler.d.ts +5 -0
- package/dist/calendar/tools/get_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/handler.js +9 -0
- package/dist/calendar/tools/get_event/handler.js.map +1 -0
- package/dist/calendar/tools/get_event/index.d.ts +66 -0
- package/dist/calendar/tools/get_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/index.js +10 -0
- package/dist/calendar/tools/get_event/index.js.map +1 -0
- package/dist/calendar/tools/get_event/schema.d.ts +70 -0
- package/dist/calendar/tools/get_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/schema.js +14 -0
- package/dist/calendar/tools/get_event/schema.js.map +1 -0
- package/dist/calendar/tools/list_calendars/handler.d.ts +5 -0
- package/dist/calendar/tools/list_calendars/handler.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/handler.js +17 -0
- package/dist/calendar/tools/list_calendars/handler.js.map +1 -0
- package/dist/calendar/tools/list_calendars/index.d.ts +20 -0
- package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/index.js +16 -0
- package/dist/calendar/tools/list_calendars/index.js.map +1 -0
- package/dist/calendar/tools/list_calendars/schema.d.ts +18 -0
- package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/schema.js +26 -0
- package/dist/calendar/tools/list_calendars/schema.js.map +1 -0
- package/dist/calendar/tools/list_events/handler.d.ts +5 -0
- package/dist/calendar/tools/list_events/handler.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/handler.js +45 -0
- package/dist/calendar/tools/list_events/handler.js.map +1 -0
- package/dist/calendar/tools/list_events/index.d.ts +107 -0
- package/dist/calendar/tools/list_events/index.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/index.js +17 -0
- package/dist/calendar/tools/list_events/index.js.map +1 -0
- package/dist/calendar/tools/list_events/schema.d.ts +104 -0
- package/dist/calendar/tools/list_events/schema.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/schema.js +66 -0
- package/dist/calendar/tools/list_events/schema.js.map +1 -0
- package/dist/calendar/tools/registry.d.ts +529 -0
- package/dist/calendar/tools/registry.d.ts.map +1 -0
- package/dist/calendar/tools/registry.js +24 -0
- package/dist/calendar/tools/registry.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/handler.d.ts +5 -0
- package/dist/calendar/tools/respond_to_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/handler.js +19 -0
- package/dist/calendar/tools/respond_to_event/handler.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/index.d.ts +83 -0
- package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/index.js +16 -0
- package/dist/calendar/tools/respond_to_event/index.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/schema.d.ts +81 -0
- package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/schema.js +23 -0
- package/dist/calendar/tools/respond_to_event/schema.js.map +1 -0
- package/dist/calendar/tools/suggest_time/handler.d.ts +5 -0
- package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/handler.js +37 -0
- package/dist/calendar/tools/suggest_time/handler.js.map +1 -0
- package/dist/calendar/tools/suggest_time/index.d.ts +34 -0
- package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/index.js +23 -0
- package/dist/calendar/tools/suggest_time/index.js.map +1 -0
- package/dist/calendar/tools/suggest_time/schema.d.ts +25 -0
- package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/schema.js +69 -0
- package/dist/calendar/tools/suggest_time/schema.js.map +1 -0
- package/dist/calendar/tools/update_event/handler.d.ts +5 -0
- package/dist/calendar/tools/update_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/handler.js +53 -0
- package/dist/calendar/tools/update_event/handler.js.map +1 -0
- package/dist/calendar/tools/update_event/index.d.ts +100 -0
- package/dist/calendar/tools/update_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/index.js +17 -0
- package/dist/calendar/tools/update_event/index.js.map +1 -0
- package/dist/calendar/tools/update_event/schema.d.ts +97 -0
- package/dist/calendar/tools/update_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/schema.js +59 -0
- package/dist/calendar/tools/update_event/schema.js.map +1 -0
- package/dist/doctor/services.d.ts.map +1 -1
- package/dist/doctor/services.js +23 -2
- package/dist/doctor/services.js.map +1 -1
- package/dist/gmail/operation.d.ts +1 -1
- package/dist/gmail/operation.d.ts.map +1 -1
- package/dist/gmail/operation.js.map +1 -1
- package/dist/lib/operation.d.ts +4 -4
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/operation.js +1 -1
- package/dist/lib/operation.js.map +1 -1
- package/dist/lib/server.d.ts +6 -5
- package/dist/lib/server.d.ts.map +1 -1
- package/dist/lib/server.js +20 -7
- package/dist/lib/server.js.map +1 -1
- package/dist/sheets/capabilities.d.ts +3 -0
- package/dist/sheets/capabilities.d.ts.map +1 -0
- package/dist/sheets/capabilities.js +15 -0
- package/dist/sheets/capabilities.js.map +1 -0
- package/dist/sheets/entities/CellValue.d.ts +14 -0
- package/dist/sheets/entities/CellValue.d.ts.map +1 -0
- package/dist/sheets/entities/CellValue.js +15 -0
- package/dist/sheets/entities/CellValue.js.map +1 -0
- package/dist/sheets/entities/DataFilter.d.ts +57 -0
- package/dist/sheets/entities/DataFilter.d.ts.map +1 -0
- package/dist/sheets/entities/DataFilter.js +15 -0
- package/dist/sheets/entities/DataFilter.js.map +1 -0
- package/dist/sheets/entities/DataFilterValueRange.d.ts +64 -0
- package/dist/sheets/entities/DataFilterValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/DataFilterValueRange.js +18 -0
- package/dist/sheets/entities/DataFilterValueRange.js.map +1 -0
- package/dist/sheets/entities/DateTimeRenderOption.d.ts +13 -0
- package/dist/sheets/entities/DateTimeRenderOption.d.ts.map +1 -0
- package/dist/sheets/entities/DateTimeRenderOption.js +11 -0
- package/dist/sheets/entities/DateTimeRenderOption.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadata.d.ts +40 -0
- package/dist/sheets/entities/DeveloperMetadata.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadata.js +28 -0
- package/dist/sheets/entities/DeveloperMetadata.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.d.ts +28 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.js +25 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.d.ts +48 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.js +38 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.js.map +1 -0
- package/dist/sheets/entities/DimensionRange.d.ts +18 -0
- package/dist/sheets/entities/DimensionRange.d.ts.map +1 -0
- package/dist/sheets/entities/DimensionRange.js +22 -0
- package/dist/sheets/entities/DimensionRange.js.map +1 -0
- package/dist/sheets/entities/GridProperties.d.ts +16 -0
- package/dist/sheets/entities/GridProperties.d.ts.map +1 -0
- package/dist/sheets/entities/GridProperties.js +23 -0
- package/dist/sheets/entities/GridProperties.js.map +1 -0
- package/dist/sheets/entities/GridRange.d.ts +17 -0
- package/dist/sheets/entities/GridRange.d.ts.map +1 -0
- package/dist/sheets/entities/GridRange.js +32 -0
- package/dist/sheets/entities/GridRange.js.map +1 -0
- package/dist/sheets/entities/MajorDimension.d.ts +13 -0
- package/dist/sheets/entities/MajorDimension.d.ts.map +1 -0
- package/dist/sheets/entities/MajorDimension.js +11 -0
- package/dist/sheets/entities/MajorDimension.js.map +1 -0
- package/dist/sheets/entities/MatchedValueRange.d.ts +67 -0
- package/dist/sheets/entities/MatchedValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/MatchedValueRange.js +17 -0
- package/dist/sheets/entities/MatchedValueRange.js.map +1 -0
- package/dist/sheets/entities/SheetProperties.d.ts +28 -0
- package/dist/sheets/entities/SheetProperties.d.ts.map +1 -0
- package/dist/sheets/entities/SheetProperties.js +32 -0
- package/dist/sheets/entities/SheetProperties.js.map +1 -0
- package/dist/sheets/entities/Spreadsheet.d.ts +44 -0
- package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -0
- package/dist/sheets/entities/Spreadsheet.js +23 -0
- package/dist/sheets/entities/Spreadsheet.js.map +1 -0
- package/dist/sheets/entities/SpreadsheetProperties.d.ts +20 -0
- package/dist/sheets/entities/SpreadsheetProperties.d.ts.map +1 -0
- package/dist/sheets/entities/SpreadsheetProperties.js +24 -0
- package/dist/sheets/entities/SpreadsheetProperties.js.map +1 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts +72 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts.map +1 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js +30 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js.map +1 -0
- package/dist/sheets/entities/UpdateValuesResponse.d.ts +25 -0
- package/dist/sheets/entities/UpdateValuesResponse.d.ts.map +1 -0
- package/dist/sheets/entities/UpdateValuesResponse.js +29 -0
- package/dist/sheets/entities/UpdateValuesResponse.js.map +1 -0
- package/dist/sheets/entities/ValueInputOption.d.ts +14 -0
- package/dist/sheets/entities/ValueInputOption.d.ts.map +1 -0
- package/dist/sheets/entities/ValueInputOption.js +12 -0
- package/dist/sheets/entities/ValueInputOption.js.map +1 -0
- package/dist/sheets/entities/ValueRange.d.ts +17 -0
- package/dist/sheets/entities/ValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/ValueRange.js +21 -0
- package/dist/sheets/entities/ValueRange.js.map +1 -0
- package/dist/sheets/entities/ValueRenderOption.d.ts +14 -0
- package/dist/sheets/entities/ValueRenderOption.d.ts.map +1 -0
- package/dist/sheets/entities/ValueRenderOption.js +11 -0
- package/dist/sheets/entities/ValueRenderOption.js.map +1 -0
- package/dist/sheets/index.d.ts +3 -0
- package/dist/sheets/index.d.ts.map +1 -0
- package/dist/sheets/index.js +22 -0
- package/dist/sheets/index.js.map +1 -0
- package/dist/sheets/lib/enums.d.ts +8 -0
- package/dist/sheets/lib/enums.d.ts.map +1 -0
- package/dist/sheets/lib/enums.js +10 -0
- package/dist/sheets/lib/enums.js.map +1 -0
- package/dist/sheets/lib/filters.d.ts +10 -0
- package/dist/sheets/lib/filters.d.ts.map +1 -0
- package/dist/sheets/lib/filters.js +82 -0
- package/dist/sheets/lib/filters.js.map +1 -0
- package/dist/sheets/lib/metadata.d.ts +5 -0
- package/dist/sheets/lib/metadata.d.ts.map +1 -0
- package/dist/sheets/lib/metadata.js +13 -0
- package/dist/sheets/lib/metadata.js.map +1 -0
- package/dist/sheets/lib/spreadsheet.d.ts +12 -0
- package/dist/sheets/lib/spreadsheet.d.ts.map +1 -0
- package/dist/sheets/lib/spreadsheet.js +42 -0
- package/dist/sheets/lib/spreadsheet.js.map +1 -0
- package/dist/sheets/lib/values.d.ts +13 -0
- package/dist/sheets/lib/values.d.ts.map +1 -0
- package/dist/sheets/lib/values.js +26 -0
- package/dist/sheets/lib/values.js.map +1 -0
- package/dist/sheets/methods/append_values/handler.d.ts +5 -0
- package/dist/sheets/methods/append_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/handler.js +23 -0
- package/dist/sheets/methods/append_values/handler.js.map +1 -0
- package/dist/sheets/methods/append_values/index.d.ts +52 -0
- package/dist/sheets/methods/append_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/index.js +15 -0
- package/dist/sheets/methods/append_values/index.js.map +1 -0
- package/dist/sheets/methods/append_values/schema.d.ts +51 -0
- package/dist/sheets/methods/append_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/schema.js +40 -0
- package/dist/sheets/methods/append_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_clear_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/handler.js +11 -0
- package/dist/sheets/methods/batch_clear_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/index.d.ts +14 -0
- package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/index.js +16 -0
- package/dist/sheets/methods/batch_clear_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/schema.d.ts +13 -0
- package/dist/sheets/methods/batch_clear_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/schema.js +19 -0
- package/dist/sheets/methods/batch_clear_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js +12 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts +61 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +16 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts +60 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js +20 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_get_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/handler.js +16 -0
- package/dist/sheets/methods/batch_get_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/index.d.ts +29 -0
- package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/index.js +10 -0
- package/dist/sheets/methods/batch_get_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/schema.d.ts +33 -0
- package/dist/sheets/methods/batch_get_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/schema.js +25 -0
- package/dist/sheets/methods/batch_get_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js +22 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts +126 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +10 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts +130 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js +26 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_update_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/handler.js +23 -0
- package/dist/sheets/methods/batch_update_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/index.d.ts +48 -0
- package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/index.js +10 -0
- package/dist/sheets/methods/batch_update_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/schema.d.ts +52 -0
- package/dist/sheets/methods/batch_update_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/schema.js +46 -0
- package/dist/sheets/methods/batch_update_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js +35 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts +142 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +10 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts +146 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js +46 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/clear_values/handler.d.ts +5 -0
- package/dist/sheets/methods/clear_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/handler.js +12 -0
- package/dist/sheets/methods/clear_values/handler.js.map +1 -0
- package/dist/sheets/methods/clear_values/index.d.ts +14 -0
- package/dist/sheets/methods/clear_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/index.js +16 -0
- package/dist/sheets/methods/clear_values/index.js.map +1 -0
- package/dist/sheets/methods/clear_values/schema.d.ts +13 -0
- package/dist/sheets/methods/clear_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/schema.js +16 -0
- package/dist/sheets/methods/clear_values/schema.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/handler.d.ts +5 -0
- package/dist/sheets/methods/copy_sheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/handler.js +10 -0
- package/dist/sheets/methods/copy_sheet/handler.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/index.d.ts +28 -0
- package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/index.js +15 -0
- package/dist/sheets/methods/copy_sheet/index.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/schema.d.ts +27 -0
- package/dist/sheets/methods/copy_sheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/schema.js +14 -0
- package/dist/sheets/methods/copy_sheet/schema.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/handler.d.ts +5 -0
- package/dist/sheets/methods/create_spreadsheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/handler.js +16 -0
- package/dist/sheets/methods/create_spreadsheet/handler.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/index.d.ts +46 -0
- package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/index.js +16 -0
- package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts +50 -0
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/schema.js +28 -0
- package/dist/sheets/methods/create_spreadsheet/schema.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/handler.d.ts +5 -0
- package/dist/sheets/methods/get_developer_metadata/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/handler.js +9 -0
- package/dist/sheets/methods/get_developer_metadata/handler.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/index.d.ts +33 -0
- package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/index.js +10 -0
- package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts +37 -0
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/schema.js +11 -0
- package/dist/sheets/methods/get_developer_metadata/schema.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/handler.d.ts +5 -0
- package/dist/sheets/methods/get_spreadsheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/handler.js +6 -0
- package/dist/sheets/methods/get_spreadsheet/handler.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/index.d.ts +42 -0
- package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/index.js +17 -0
- package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts +39 -0
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/schema.js +10 -0
- package/dist/sheets/methods/get_spreadsheet/schema.js.map +1 -0
- package/dist/sheets/methods/get_values/handler.d.ts +5 -0
- package/dist/sheets/methods/get_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/handler.js +13 -0
- package/dist/sheets/methods/get_values/handler.js.map +1 -0
- package/dist/sheets/methods/get_values/index.d.ts +26 -0
- package/dist/sheets/methods/get_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/index.js +10 -0
- package/dist/sheets/methods/get_values/index.js.map +1 -0
- package/dist/sheets/methods/get_values/schema.d.ts +30 -0
- package/dist/sheets/methods/get_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/schema.js +19 -0
- package/dist/sheets/methods/get_values/schema.js.map +1 -0
- package/dist/sheets/methods/registry.d.ts +775 -0
- package/dist/sheets/methods/registry.d.ts.map +1 -0
- package/dist/sheets/methods/registry.js +45 -0
- package/dist/sheets/methods/registry.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/handler.d.ts +5 -0
- package/dist/sheets/methods/search_developer_metadata/handler.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/handler.js +17 -0
- package/dist/sheets/methods/search_developer_metadata/handler.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/index.d.ts +132 -0
- package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/index.js +10 -0
- package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts +136 -0
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/schema.js +25 -0
- package/dist/sheets/methods/search_developer_metadata/schema.js.map +1 -0
- package/dist/sheets/methods/update_values/handler.d.ts +5 -0
- package/dist/sheets/methods/update_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/handler.js +18 -0
- package/dist/sheets/methods/update_values/handler.js.map +1 -0
- package/dist/sheets/methods/update_values/index.d.ts +39 -0
- package/dist/sheets/methods/update_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/index.js +10 -0
- package/dist/sheets/methods/update_values/index.js.map +1 -0
- package/dist/sheets/methods/update_values/schema.d.ts +43 -0
- package/dist/sheets/methods/update_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/schema.js +29 -0
- package/dist/sheets/methods/update_values/schema.js.map +1 -0
- package/dist/sheets/operation.d.ts +12 -0
- package/dist/sheets/operation.d.ts.map +1 -0
- package/dist/sheets/operation.js +10 -0
- package/dist/sheets/operation.js.map +1 -0
- package/package.json +16 -5
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event
|
|
3
|
+
*
|
|
4
|
+
* A composition, not a transcription of one REST method: the handler reads
|
|
5
|
+
* the event, rewrites the self attendee's responseStatus (and comment, when
|
|
6
|
+
* given), and patches the attendee array back.
|
|
7
|
+
*/
|
|
8
|
+
export declare const respond_to_event: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
9
|
+
eventId: import("zod").ZodString;
|
|
10
|
+
responseStatus: import("zod").ZodEnum<{
|
|
11
|
+
declined: "declined";
|
|
12
|
+
tentative: "tentative";
|
|
13
|
+
accepted: "accepted";
|
|
14
|
+
}>;
|
|
15
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
notificationLevel: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
17
|
+
NONE: "NONE";
|
|
18
|
+
EXTERNAL_ONLY: "EXTERNAL_ONLY";
|
|
19
|
+
ALL: "ALL";
|
|
20
|
+
}>>;
|
|
21
|
+
responseComment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
23
|
+
id: import("zod").ZodString;
|
|
24
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
htmlLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
+
created: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
updated: import("zod").ZodOptional<import("zod").ZodString>;
|
|
28
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
|
+
creator: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
35
|
+
}, import("zod/v4/core").$strip>>;
|
|
36
|
+
organizer: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
37
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
40
|
+
}, import("zod/v4/core").$strip>>;
|
|
41
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
42
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
}, import("zod/v4/core").$strip>>;
|
|
46
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
47
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
50
|
+
}, import("zod/v4/core").$strip>>;
|
|
51
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
52
|
+
recurringEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
originalStartTime: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
54
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
57
|
+
}, import("zod/v4/core").$strip>>;
|
|
58
|
+
transparency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
61
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
email: import("zod").ZodString;
|
|
63
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
organizer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
65
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
66
|
+
resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
67
|
+
optionalAttendee: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
68
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
71
|
+
}, import("zod/v4/core").$strip>>>;
|
|
72
|
+
eventType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
conferenceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
+
overrideReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
76
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
77
|
+
email: "email";
|
|
78
|
+
popup: "popup";
|
|
79
|
+
}>>;
|
|
80
|
+
minutes: import("zod").ZodNumber;
|
|
81
|
+
}, import("zod/v4/core").$strip>>>;
|
|
82
|
+
}, import("zod/v4/core").$strip>>;
|
|
83
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAI3B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { calendarOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event
|
|
6
|
+
*
|
|
7
|
+
* A composition, not a transcription of one REST method: the handler reads
|
|
8
|
+
* the event, rewrites the self attendee's responseStatus (and comment, when
|
|
9
|
+
* given), and patches the attendee array back.
|
|
10
|
+
*/
|
|
11
|
+
export const respond_to_event = calendarOperation({
|
|
12
|
+
description: 'Respond to an event invitation: declined, tentative, or accepted.',
|
|
13
|
+
schema,
|
|
14
|
+
handler,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,WAAW,EAAE,mEAAmE;IAChF,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { calendarOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event\n *\n * A composition, not a transcription of one REST method: the handler reads\n * the event, rewrites the self attendee's responseStatus (and comment, when\n * given), and patches the attendee array back.\n */\nexport const respond_to_event = calendarOperation({\n description: 'Respond to an event invitation: declined, tentative, or accepted.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
eventId: z.ZodString;
|
|
6
|
+
responseStatus: z.ZodEnum<{
|
|
7
|
+
declined: "declined";
|
|
8
|
+
tentative: "tentative";
|
|
9
|
+
accepted: "accepted";
|
|
10
|
+
}>;
|
|
11
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
notificationLevel: z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
NONE: "NONE";
|
|
14
|
+
EXTERNAL_ONLY: "EXTERNAL_ONLY";
|
|
15
|
+
ALL: "ALL";
|
|
16
|
+
}>>;
|
|
17
|
+
responseComment: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
output: z.ZodObject<{
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
status: z.ZodOptional<z.ZodString>;
|
|
22
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
23
|
+
created: z.ZodOptional<z.ZodString>;
|
|
24
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
25
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
26
|
+
description: z.ZodOptional<z.ZodString>;
|
|
27
|
+
location: z.ZodOptional<z.ZodString>;
|
|
28
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
email: z.ZodOptional<z.ZodString>;
|
|
30
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
31
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
email: z.ZodOptional<z.ZodString>;
|
|
35
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
36
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
date: z.ZodOptional<z.ZodString>;
|
|
40
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
41
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
date: z.ZodOptional<z.ZodString>;
|
|
45
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
46
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
recurrence: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
50
|
+
originalStartTime: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
date: z.ZodOptional<z.ZodString>;
|
|
52
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
53
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
54
|
+
}, z.core.$strip>>;
|
|
55
|
+
transparency: z.ZodOptional<z.ZodString>;
|
|
56
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
57
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
58
|
+
id: z.ZodOptional<z.ZodString>;
|
|
59
|
+
email: z.ZodString;
|
|
60
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
61
|
+
organizer: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
optionalAttendee: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
responseStatus: z.ZodOptional<z.ZodString>;
|
|
66
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
67
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
70
|
+
conferenceUrl: z.ZodOptional<z.ZodString>;
|
|
71
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
72
|
+
overrideReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
73
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
email: "email";
|
|
75
|
+
popup: "popup";
|
|
76
|
+
}>>;
|
|
77
|
+
minutes: z.ZodNumber;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
}, z.core.$strip>;
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,gHAAgH;AAChH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Event } from '../../entities/Event.js';
|
|
3
|
+
import { NotificationLevel } from '../../entities/NotificationLevel.js';
|
|
4
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */
|
|
5
|
+
export const schema = {
|
|
6
|
+
input: z.object({
|
|
7
|
+
eventId: z.string().describe('The ID of the event to respond to.'),
|
|
8
|
+
responseStatus: z
|
|
9
|
+
.enum(['declined', 'tentative', 'accepted'])
|
|
10
|
+
.describe("The user's response status for the event: declined, tentative, or accepted."),
|
|
11
|
+
calendarId: z
|
|
12
|
+
.string()
|
|
13
|
+
.optional()
|
|
14
|
+
.describe("The calendar ID of the event to respond to. The default is the user's primary calendar."),
|
|
15
|
+
notificationLevel: NotificationLevel.optional().describe('Which email notification should be sent for this event update: NONE (the default, no notifications), EXTERNAL_ONLY (attendees outside Google Calendar only), or ALL (all attendees).'),
|
|
16
|
+
responseComment: z
|
|
17
|
+
.string()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('An optional comment attached to the response.'),
|
|
20
|
+
}),
|
|
21
|
+
output: Event,
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,gHAAgH;AAChH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QAClE,cAAc,EAAE,CAAC;aACd,IAAI,CAAC,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;aAC3C,QAAQ,CAAC,6EAA6E,CAAC;QAC1F,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,yFAAyF,CAC1F;QACH,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtD,sLAAsL,CACvL;QACD,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,+CAA+C,CAAC;KAC7D,CAAC;IACF,MAAM,EAAE,KAAK;CACd,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Event } from '../../entities/Event.js';\nimport { NotificationLevel } from '../../entities/NotificationLevel.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */\nexport const schema = {\n input: z.object({\n eventId: z.string().describe('The ID of the event to respond to.'),\n responseStatus: z\n .enum(['declined', 'tentative', 'accepted'])\n .describe(\"The user's response status for the event: declined, tentative, or accepted.\"),\n calendarId: z\n .string()\n .optional()\n .describe(\n \"The calendar ID of the event to respond to. The default is the user's primary calendar.\",\n ),\n notificationLevel: NotificationLevel.optional().describe(\n 'Which email notification should be sent for this event update: NONE (the default, no notifications), EXTERNAL_ONLY (attendees outside Google Calendar only), or ALL (all attendees).',\n ),\n responseComment: z\n .string()\n .optional()\n .describe('An optional comment attached to the response.'),\n }),\n output: Event,\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { calendar_v3 } from '@googleapis/calendar';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { schema } from './schema.js';
|
|
4
|
+
export declare function handler(calendar: calendar_v3.Calendar, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
|
|
5
|
+
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAkCxC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { busyPeriods } from '../../lib/freebusy.js';
|
|
3
|
+
import { suggestSlots } from '../../lib/suggest.js';
|
|
4
|
+
export async function handler(calendar, args) {
|
|
5
|
+
const { data } = await calendar.freebusy.query({
|
|
6
|
+
requestBody: forGoogle({
|
|
7
|
+
timeMin: args.startTime,
|
|
8
|
+
timeMax: args.endTime,
|
|
9
|
+
timeZone: args.timeZone,
|
|
10
|
+
// The literal 'primary' entry passes straight through; Google resolves
|
|
11
|
+
// it to the authenticated user's primary calendar.
|
|
12
|
+
items: args.attendeeEmails.map((id) => ({ id })),
|
|
13
|
+
}),
|
|
14
|
+
});
|
|
15
|
+
const calendars = data.calendars ?? {};
|
|
16
|
+
// A calendar that reports errors (unknown id, not shared) contributes no
|
|
17
|
+
// busy intervals, so suggesting from the rest would confidently propose
|
|
18
|
+
// slots that conflict with it. Refuse instead of answering from partial data.
|
|
19
|
+
const unreadable = Object.entries(calendars)
|
|
20
|
+
.filter(([, entry]) => (entry.errors ?? []).length > 0)
|
|
21
|
+
.map(([id]) => id);
|
|
22
|
+
if (unreadable.length > 0) {
|
|
23
|
+
throw new Error(`Free/busy is unavailable for ${unreadable.join(', ')}; suggestions would ignore those calendars' events. Check the calendar ids and their sharing, then retry.`);
|
|
24
|
+
}
|
|
25
|
+
const busy = Object.values(calendars).flatMap(busyPeriods);
|
|
26
|
+
return {
|
|
27
|
+
timeSlots: suggestSlots({
|
|
28
|
+
busy,
|
|
29
|
+
windowStart: args.startTime,
|
|
30
|
+
windowEnd: args.endTime,
|
|
31
|
+
durationMinutes: args.durationMinutes ?? 30,
|
|
32
|
+
timeZone: args.timeZone,
|
|
33
|
+
preferences: args.preferences,
|
|
34
|
+
}),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC7C,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,SAAS;YACvB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,uEAAuE;YACvE,mDAAmD;YACnD,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;SACjD,CAAC;KACH,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC;IACvC,yEAAyE;IACzE,wEAAwE;IACxE,8EAA8E;IAC9E,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;SACzC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;SACtD,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IACrB,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,gCAAgC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,2GAA2G,CACjK,CAAC;IACJ,CAAC;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC3D,OAAO;QACL,SAAS,EAAE,YAAY,CAAC;YACtB,IAAI;YACJ,WAAW,EAAE,IAAI,CAAC,SAAS;YAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;YACvB,eAAe,EAAE,IAAI,CAAC,eAAe,IAAI,EAAE;YAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;KACH,CAAC;AACJ,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { busyPeriods } from '../../lib/freebusy.js';\nimport { suggestSlots } from '../../lib/suggest.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n calendar: calendar_v3.Calendar,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await calendar.freebusy.query({\n requestBody: forGoogle({\n timeMin: args.startTime,\n timeMax: args.endTime,\n timeZone: args.timeZone,\n // The literal 'primary' entry passes straight through; Google resolves\n // it to the authenticated user's primary calendar.\n items: args.attendeeEmails.map((id) => ({ id })),\n }),\n });\n const calendars = data.calendars ?? {};\n // A calendar that reports errors (unknown id, not shared) contributes no\n // busy intervals, so suggesting from the rest would confidently propose\n // slots that conflict with it. Refuse instead of answering from partial data.\n const unreadable = Object.entries(calendars)\n .filter(([, entry]) => (entry.errors ?? []).length > 0)\n .map(([id]) => id);\n if (unreadable.length > 0) {\n throw new Error(\n `Free/busy is unavailable for ${unreadable.join(', ')}; suggestions would ignore those calendars' events. Check the calendar ids and their sharing, then retry.`,\n );\n }\n const busy = Object.values(calendars).flatMap(busyPeriods);\n return {\n timeSlots: suggestSlots({\n busy,\n windowStart: args.startTime,\n windowEnd: args.endTime,\n durationMinutes: args.durationMinutes ?? 30,\n timeZone: args.timeZone,\n preferences: args.preferences,\n }),\n };\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time
|
|
3
|
+
*
|
|
4
|
+
* A composition, not a transcription: there is no REST suggest endpoint. The
|
|
5
|
+
* handler queries freebusy over the window for every attendee calendar,
|
|
6
|
+
* flattens the busy periods, and computes the free slots in lib/suggest.ts.
|
|
7
|
+
* Working hours and weekend exclusion are evaluated in the given time zone
|
|
8
|
+
* (default UTC), judged by each slot's start instant.
|
|
9
|
+
*
|
|
10
|
+
* Refuses rather than degrades: when any attendee's free/busy is unreadable
|
|
11
|
+
* (unknown id, calendar not shared), the handler throws instead of suggesting
|
|
12
|
+
* slots computed from partial data, which would conflict with the unreadable
|
|
13
|
+
* calendar's real events.
|
|
14
|
+
*/
|
|
15
|
+
export declare const suggest_time: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
16
|
+
attendeeEmails: import("zod").ZodArray<import("zod").ZodString>;
|
|
17
|
+
startTime: import("zod").ZodString;
|
|
18
|
+
endTime: import("zod").ZodString;
|
|
19
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
durationMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
21
|
+
preferences: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
22
|
+
startHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
endHour: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
excludeWeekends: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
25
|
+
pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
26
|
+
}, import("zod/v4/core").$strip>>;
|
|
27
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
28
|
+
timeSlots: import("zod").ZodArray<import("zod").ZodObject<{
|
|
29
|
+
startTime: import("zod").ZodString;
|
|
30
|
+
endTime: import("zod").ZodString;
|
|
31
|
+
durationMinutes: import("zod").ZodNumber;
|
|
32
|
+
}, import("zod/v4/core").$strip>>;
|
|
33
|
+
}, import("zod/v4/core").$strip>>;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { calendarOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time
|
|
6
|
+
*
|
|
7
|
+
* A composition, not a transcription: there is no REST suggest endpoint. The
|
|
8
|
+
* handler queries freebusy over the window for every attendee calendar,
|
|
9
|
+
* flattens the busy periods, and computes the free slots in lib/suggest.ts.
|
|
10
|
+
* Working hours and weekend exclusion are evaluated in the given time zone
|
|
11
|
+
* (default UTC), judged by each slot's start instant.
|
|
12
|
+
*
|
|
13
|
+
* Refuses rather than degrades: when any attendee's free/busy is unreadable
|
|
14
|
+
* (unknown id, calendar not shared), the handler throws instead of suggesting
|
|
15
|
+
* slots computed from partial data, which would conflict with the unreadable
|
|
16
|
+
* calendar's real events.
|
|
17
|
+
*/
|
|
18
|
+
export const suggest_time = calendarOperation({
|
|
19
|
+
description: 'Suggest free time slots where the given attendees can meet within a time window.',
|
|
20
|
+
schema,
|
|
21
|
+
handler,
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC5C,WAAW,EAAE,kFAAkF;IAC/F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { calendarOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time\n *\n * A composition, not a transcription: there is no REST suggest endpoint. The\n * handler queries freebusy over the window for every attendee calendar,\n * flattens the busy periods, and computes the free slots in lib/suggest.ts.\n * Working hours and weekend exclusion are evaluated in the given time zone\n * (default UTC), judged by each slot's start instant.\n *\n * Refuses rather than degrades: when any attendee's free/busy is unreadable\n * (unknown id, calendar not shared), the handler throws instead of suggesting\n * slots computed from partial data, which would conflict with the unreadable\n * calendar's real events.\n */\nexport const suggest_time = calendarOperation({\n description: 'Suggest free time slots where the given attendees can meet within a time window.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
attendeeEmails: z.ZodArray<z.ZodString>;
|
|
6
|
+
startTime: z.ZodString;
|
|
7
|
+
endTime: z.ZodString;
|
|
8
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9
|
+
durationMinutes: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
preferences: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
startHour: z.ZodOptional<z.ZodString>;
|
|
12
|
+
endHour: z.ZodOptional<z.ZodString>;
|
|
13
|
+
excludeWeekends: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
output: z.ZodObject<{
|
|
18
|
+
timeSlots: z.ZodArray<z.ZodObject<{
|
|
19
|
+
startTime: z.ZodString;
|
|
20
|
+
endTime: z.ZodString;
|
|
21
|
+
durationMinutes: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,4GAA4G;AAC5G,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HOUR_OF_DAY } from '../../lib/suggest.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
attendeeEmails: z
|
|
7
|
+
.array(z.string())
|
|
8
|
+
.describe("The attendee emails to find free time for. Include the literal 'primary' for the authenticated user's primary calendar."),
|
|
9
|
+
startTime: z
|
|
10
|
+
.string()
|
|
11
|
+
.describe('The start of the interval for the query, as an ISO 8601 timestamp.'),
|
|
12
|
+
endTime: z
|
|
13
|
+
.string()
|
|
14
|
+
.describe('The end of the interval for the query, as an ISO 8601 timestamp.'),
|
|
15
|
+
timeZone: z
|
|
16
|
+
.string()
|
|
17
|
+
.optional()
|
|
18
|
+
.describe('Time zone used for the working-hour and weekend preferences, as an IANA Time Zone Database name (for example America/Los_Angeles). The default is UTC.'),
|
|
19
|
+
durationMinutes: z
|
|
20
|
+
.number()
|
|
21
|
+
.int()
|
|
22
|
+
.positive()
|
|
23
|
+
.optional()
|
|
24
|
+
.describe('Minimum duration of a free time slot in minutes (default 30); suggested slots are exactly this length.'),
|
|
25
|
+
preferences: z
|
|
26
|
+
.object({
|
|
27
|
+
startHour: z
|
|
28
|
+
.string()
|
|
29
|
+
.regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 09:00.')
|
|
30
|
+
.optional()
|
|
31
|
+
.describe('The preferred start hour of day, as HH:MM (for example 09:00).'),
|
|
32
|
+
endHour: z
|
|
33
|
+
.string()
|
|
34
|
+
.regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 17:00.')
|
|
35
|
+
.optional()
|
|
36
|
+
.describe('The preferred end hour of day, as HH:MM (for example 17:00).'),
|
|
37
|
+
excludeWeekends: z
|
|
38
|
+
.boolean()
|
|
39
|
+
.optional()
|
|
40
|
+
.describe('Whether to exclude weekends (Saturdays and Sundays).'),
|
|
41
|
+
pageSize: z
|
|
42
|
+
.number()
|
|
43
|
+
.int()
|
|
44
|
+
.positive()
|
|
45
|
+
.max(50)
|
|
46
|
+
.optional()
|
|
47
|
+
.describe('Maximum number of time slots to return (default 5, max 50).'),
|
|
48
|
+
})
|
|
49
|
+
.optional()
|
|
50
|
+
.describe('Scheduling preferences narrowing where the suggested slots may fall.'),
|
|
51
|
+
}),
|
|
52
|
+
output: z.object({
|
|
53
|
+
timeSlots: z
|
|
54
|
+
.array(z.object({
|
|
55
|
+
startTime: z
|
|
56
|
+
.string()
|
|
57
|
+
.describe('The start time of the free time slot, as an ISO 8601 timestamp.'),
|
|
58
|
+
endTime: z
|
|
59
|
+
.string()
|
|
60
|
+
.describe('The end time of the free time slot, as an ISO 8601 timestamp.'),
|
|
61
|
+
durationMinutes: z
|
|
62
|
+
.number()
|
|
63
|
+
.int()
|
|
64
|
+
.describe('The duration of the free time slot in minutes.'),
|
|
65
|
+
}))
|
|
66
|
+
.describe('The suggested free time slots, in chronological order.'),
|
|
67
|
+
}),
|
|
68
|
+
};
|
|
69
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,4GAA4G;AAC5G,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,cAAc,EAAE,CAAC;aACd,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,CACP,yHAAyH,CAC1H;QACH,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,kEAAkE,CAAC;QAC/E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,wJAAwJ,CACzJ;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,EAAE;aACV,QAAQ,CACP,wGAAwG,CACzG;QACH,WAAW,EAAE,CAAC;aACX,MAAM,CAAC;YACN,SAAS,EAAE,CAAC;iBACT,MAAM,EAAE;iBACR,KAAK,CAAC,WAAW,EAAE,mDAAmD,CAAC;iBACvE,QAAQ,EAAE;iBACV,QAAQ,CAAC,gEAAgE,CAAC;YAC7E,OAAO,EAAE,CAAC;iBACP,MAAM,EAAE;iBACR,KAAK,CAAC,WAAW,EAAE,mDAAmD,CAAC;iBACvE,QAAQ,EAAE;iBACV,QAAQ,CAAC,8DAA8D,CAAC;YAC3E,eAAe,EAAE,CAAC;iBACf,OAAO,EAAE;iBACT,QAAQ,EAAE;iBACV,QAAQ,CAAC,sDAAsD,CAAC;YACnE,QAAQ,EAAE,CAAC;iBACR,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,QAAQ,EAAE;iBACV,GAAG,CAAC,EAAE,CAAC;iBACP,QAAQ,EAAE;iBACV,QAAQ,CAAC,6DAA6D,CAAC;SAC3E,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CAAC,sEAAsE,CAAC;KACpF,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,SAAS,EAAE,CAAC;aACT,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,SAAS,EAAE,CAAC;iBACT,MAAM,EAAE;iBACR,QAAQ,CAAC,iEAAiE,CAAC;YAC9E,OAAO,EAAE,CAAC;iBACP,MAAM,EAAE;iBACR,QAAQ,CAAC,+DAA+D,CAAC;YAC5E,eAAe,EAAE,CAAC;iBACf,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,QAAQ,CAAC,gDAAgD,CAAC;SAC9D,CAAC,CACH;aACA,QAAQ,CAAC,wDAAwD,CAAC;KACtE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { HOUR_OF_DAY } from '../../lib/suggest.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */\nexport const schema = {\n input: z.object({\n attendeeEmails: z\n .array(z.string())\n .describe(\n \"The attendee emails to find free time for. Include the literal 'primary' for the authenticated user's primary calendar.\",\n ),\n startTime: z\n .string()\n .describe('The start of the interval for the query, as an ISO 8601 timestamp.'),\n endTime: z\n .string()\n .describe('The end of the interval for the query, as an ISO 8601 timestamp.'),\n timeZone: z\n .string()\n .optional()\n .describe(\n 'Time zone used for the working-hour and weekend preferences, as an IANA Time Zone Database name (for example America/Los_Angeles). The default is UTC.',\n ),\n durationMinutes: z\n .number()\n .int()\n .positive()\n .optional()\n .describe(\n 'Minimum duration of a free time slot in minutes (default 30); suggested slots are exactly this length.',\n ),\n preferences: z\n .object({\n startHour: z\n .string()\n .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 09:00.')\n .optional()\n .describe('The preferred start hour of day, as HH:MM (for example 09:00).'),\n endHour: z\n .string()\n .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 17:00.')\n .optional()\n .describe('The preferred end hour of day, as HH:MM (for example 17:00).'),\n excludeWeekends: z\n .boolean()\n .optional()\n .describe('Whether to exclude weekends (Saturdays and Sundays).'),\n pageSize: z\n .number()\n .int()\n .positive()\n .max(50)\n .optional()\n .describe('Maximum number of time slots to return (default 5, max 50).'),\n })\n .optional()\n .describe('Scheduling preferences narrowing where the suggested slots may fall.'),\n }),\n output: z.object({\n timeSlots: z\n .array(\n z.object({\n startTime: z\n .string()\n .describe('The start time of the free time slot, as an ISO 8601 timestamp.'),\n endTime: z\n .string()\n .describe('The end time of the free time slot, as an ISO 8601 timestamp.'),\n durationMinutes: z\n .number()\n .int()\n .describe('The duration of the free time slot in minutes.'),\n }),\n )\n .describe('The suggested free time slots, in chronological order.'),\n }),\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { calendar_v3 } from '@googleapis/calendar';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { schema } from './schema.js';
|
|
4
|
+
export declare function handler(calendar: calendar_v3.Calendar, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
|
|
5
|
+
//# sourceMappingURL=handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/update_event/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQ7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAsB1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAkCxC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { applyAttendeeDeltas } from '../../lib/attendees.js';
|
|
3
|
+
import { buildEventDateTime } from '../../lib/datetime.js';
|
|
4
|
+
import { projectEvent } from '../../lib/event.js';
|
|
5
|
+
import { meetConferenceData } from '../../lib/meet.js';
|
|
6
|
+
import { toSendUpdates } from '../../lib/notifications.js';
|
|
7
|
+
/**
|
|
8
|
+
* The patched guest list: when either attendee delta is given, read the
|
|
9
|
+
* event's current attendees and apply the deltas; otherwise leave the guest
|
|
10
|
+
* list out of the patch entirely.
|
|
11
|
+
*/
|
|
12
|
+
async function patchedAttendees(calendar, calendarId, args) {
|
|
13
|
+
if (args.addedAttendeeEmails === undefined && args.removedAttendeeEmails === undefined) {
|
|
14
|
+
return undefined;
|
|
15
|
+
}
|
|
16
|
+
const { data } = await calendar.events.get({ calendarId, eventId: args.eventId });
|
|
17
|
+
return applyAttendeeDeltas(data.attendees ?? [], {
|
|
18
|
+
added: args.addedAttendeeEmails,
|
|
19
|
+
removed: args.removedAttendeeEmails,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function handler(calendar, args) {
|
|
23
|
+
const calendarId = args.calendarId ?? 'primary';
|
|
24
|
+
const attendees = await patchedAttendees(calendar, calendarId, args);
|
|
25
|
+
const conferenceData = meetConferenceData(args);
|
|
26
|
+
const { data } = await calendar.events.patch(forGoogle({
|
|
27
|
+
calendarId,
|
|
28
|
+
eventId: args.eventId,
|
|
29
|
+
sendUpdates: toSendUpdates(args.notificationLevel),
|
|
30
|
+
conferenceDataVersion: conferenceData === undefined ? undefined : 1,
|
|
31
|
+
requestBody: forGoogle({
|
|
32
|
+
summary: args.summary,
|
|
33
|
+
description: args.description,
|
|
34
|
+
location: args.location,
|
|
35
|
+
start: args.startTime === undefined
|
|
36
|
+
? undefined
|
|
37
|
+
: buildEventDateTime({ dateTime: args.startTime }),
|
|
38
|
+
end: args.endTime === undefined ? undefined : buildEventDateTime({ dateTime: args.endTime }),
|
|
39
|
+
attendees,
|
|
40
|
+
reminders: args.overrideReminders
|
|
41
|
+
? {
|
|
42
|
+
useDefault: false,
|
|
43
|
+
overrides: args.overrideReminders.map((reminder) => forGoogle(reminder)),
|
|
44
|
+
}
|
|
45
|
+
: undefined,
|
|
46
|
+
conferenceData,
|
|
47
|
+
visibility: args.visibility,
|
|
48
|
+
colorId: args.colorId,
|
|
49
|
+
}),
|
|
50
|
+
}));
|
|
51
|
+
return projectEvent(data);
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/tools/update_event/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D;;;;GAIG;AACH,KAAK,UAAU,gBAAgB,CAC7B,QAA8B,EAC9B,UAAkB,EAClB,IAAkC;IAElC,IAAI,IAAI,CAAC,mBAAmB,KAAK,SAAS,IAAI,IAAI,CAAC,qBAAqB,KAAK,SAAS,EAAE,CAAC;QACvF,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAClF,OAAO,mBAAmB,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,EAAE;QAC/C,KAAK,EAAE,IAAI,CAAC,mBAAmB;QAC/B,OAAO,EAAE,IAAI,CAAC,qBAAqB;KACpC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,SAAS,CAAC;IAChD,MAAM,SAAS,GAAG,MAAM,gBAAgB,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;IACrE,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAC1C,SAAS,CAAC;QACR,UAAU;QACV,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,WAAW,EAAE,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC;QAClD,qBAAqB,EAAE,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACnE,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EACH,IAAI,CAAC,SAAS,KAAK,SAAS;gBAC1B,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;YACtD,GAAG,EACD,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;YACzF,SAAS;YACT,SAAS,EAAE,IAAI,CAAC,iBAAiB;gBAC/B,CAAC,CAAC;oBACE,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;iBACzE;gBACH,CAAC,CAAC,SAAS;YACb,cAAc;YACd,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC;KACH,CAAC,CACH,CAAC;IACF,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport type { Optional } from '../../../lib/types.js';\nimport { applyAttendeeDeltas } from '../../lib/attendees.js';\nimport { buildEventDateTime } from '../../lib/datetime.js';\nimport { projectEvent } from '../../lib/event.js';\nimport { meetConferenceData } from '../../lib/meet.js';\nimport { toSendUpdates } from '../../lib/notifications.js';\nimport type { schema } from './schema.js';\n\n/**\n * The patched guest list: when either attendee delta is given, read the\n * event's current attendees and apply the deltas; otherwise leave the guest\n * list out of the patch entirely.\n */\nasync function patchedAttendees(\n calendar: calendar_v3.Calendar,\n calendarId: string,\n args: z.infer<typeof schema.input>,\n): Promise<Optional<calendar_v3.Schema$EventAttendee[]>> {\n if (args.addedAttendeeEmails === undefined && args.removedAttendeeEmails === undefined) {\n return undefined;\n }\n const { data } = await calendar.events.get({ calendarId, eventId: args.eventId });\n return applyAttendeeDeltas(data.attendees ?? [], {\n added: args.addedAttendeeEmails,\n removed: args.removedAttendeeEmails,\n });\n}\n\nexport async function handler(\n calendar: calendar_v3.Calendar,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const calendarId = args.calendarId ?? 'primary';\n const attendees = await patchedAttendees(calendar, calendarId, args);\n const conferenceData = meetConferenceData(args);\n const { data } = await calendar.events.patch(\n forGoogle({\n calendarId,\n eventId: args.eventId,\n sendUpdates: toSendUpdates(args.notificationLevel),\n conferenceDataVersion: conferenceData === undefined ? undefined : 1,\n requestBody: forGoogle({\n summary: args.summary,\n description: args.description,\n location: args.location,\n start:\n args.startTime === undefined\n ? undefined\n : buildEventDateTime({ dateTime: args.startTime }),\n end:\n args.endTime === undefined ? undefined : buildEventDateTime({ dateTime: args.endTime }),\n attendees,\n reminders: args.overrideReminders\n ? {\n useDefault: false,\n overrides: args.overrideReminders.map((reminder) => forGoogle(reminder)),\n }\n : undefined,\n conferenceData,\n visibility: args.visibility,\n colorId: args.colorId,\n }),\n }),\n );\n return projectEvent(data);\n}\n"]}
|