google-mcp-suite 1.0.0 → 1.1.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 +32 -15
- 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 +31 -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 +20 -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/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 +45 -0
- package/dist/calendar/lib/suggest.d.ts.map +1 -0
- package/dist/calendar/lib/suggest.js +108 -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 +32 -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 +38 -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 +36 -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 +70 -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 +50 -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 +8 -1
- package/dist/doctor/services.js.map +1 -1
- package/package.json +11 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/list_settings/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,GAAG,CAAC;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,gFAAgF,CAAC;QAC7F,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;KAC3F,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC;QACzD,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,oDAAoD,CAAC;KAClE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Setting } from '../../entities/Setting.js';\n\n/**\n * Source: https://developers.google.com/workspace/calendar/api/v3/reference/settings/list\n *\n * The response's nextSyncToken is intentionally not surfaced; incremental\n * sync is deferred (issue #21).\n */\nexport const schema = {\n input: z.object({\n maxResults: z\n .number()\n .int()\n .max(250)\n .optional()\n .describe('Maximum number of settings returned on one result page (default 100, max 250).'),\n pageToken: z.string().optional().describe('Token specifying which result page to return.'),\n }),\n output: z.object({\n settings: z.array(Setting).describe('The user settings.'),\n nextPageToken: z\n .string()\n .optional()\n .describe('Token used to access the next page of this result.'),\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/methods/move_event/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,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,CAUxC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectEvent } from '../../lib/event.js';
|
|
3
|
+
export async function handler(calendar, args) {
|
|
4
|
+
const { data } = await calendar.events.move(forGoogle({
|
|
5
|
+
calendarId: args.calendarId ?? 'primary',
|
|
6
|
+
eventId: args.eventId,
|
|
7
|
+
destination: args.destination,
|
|
8
|
+
sendUpdates: args.sendUpdates,
|
|
9
|
+
}));
|
|
10
|
+
return projectEvent(data);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/move_event/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,IAAI,CACzC,SAAS,CAAC;QACR,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,WAAW,EAAE,IAAI,CAAC,WAAW;KAC9B,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 { projectEvent } from '../../lib/event.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.events.move(\n forGoogle({\n calendarId: args.calendarId ?? 'primary',\n eventId: args.eventId,\n destination: args.destination,\n sendUpdates: args.sendUpdates,\n }),\n );\n return projectEvent(data);\n}\n"]}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/move
|
|
3
|
+
*
|
|
4
|
+
* Changes which calendar an event lives on, making the destination calendar
|
|
5
|
+
* its organizer. The API only moves events whose eventType is `default`;
|
|
6
|
+
* other types (focusTime, outOfOffice, workingLocation, birthday, fromGmail)
|
|
7
|
+
* are rejected.
|
|
8
|
+
*/
|
|
9
|
+
export declare const move_event: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
10
|
+
eventId: import("zod").ZodString;
|
|
11
|
+
destination: import("zod").ZodString;
|
|
12
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
sendUpdates: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
14
|
+
all: "all";
|
|
15
|
+
externalOnly: "externalOnly";
|
|
16
|
+
none: "none";
|
|
17
|
+
}>>;
|
|
18
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
19
|
+
id: import("zod").ZodString;
|
|
20
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
htmlLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
created: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
updated: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
creator: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
28
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
30
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
31
|
+
}, import("zod/v4/core").$strip>>;
|
|
32
|
+
organizer: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
33
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
36
|
+
}, import("zod/v4/core").$strip>>;
|
|
37
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
38
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
41
|
+
}, import("zod/v4/core").$strip>>;
|
|
42
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
43
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
}, import("zod/v4/core").$strip>>;
|
|
47
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
48
|
+
recurringEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
originalStartTime: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
50
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
51
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
52
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
}, import("zod/v4/core").$strip>>;
|
|
54
|
+
transparency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
+
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
+
attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
57
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
email: import("zod").ZodString;
|
|
59
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
organizer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
61
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
62
|
+
resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
63
|
+
optionalAttendee: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
64
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
|
+
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
66
|
+
additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
67
|
+
}, import("zod/v4/core").$strip>>>;
|
|
68
|
+
eventType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
conferenceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
overrideReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
72
|
+
method: import("zod").ZodEnum<{
|
|
73
|
+
email: "email";
|
|
74
|
+
popup: "popup";
|
|
75
|
+
}>;
|
|
76
|
+
minutes: import("zod").ZodNumber;
|
|
77
|
+
}, import("zod/v4/core").$strip>>>;
|
|
78
|
+
}, import("zod/v4/core").$strip>>;
|
|
79
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/move_event/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIrB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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/events/move
|
|
6
|
+
*
|
|
7
|
+
* Changes which calendar an event lives on, making the destination calendar
|
|
8
|
+
* its organizer. The API only moves events whose eventType is `default`;
|
|
9
|
+
* other types (focusTime, outOfOffice, workingLocation, birthday, fromGmail)
|
|
10
|
+
* are rejected.
|
|
11
|
+
*/
|
|
12
|
+
export const move_event = calendarOperation({
|
|
13
|
+
description: 'Move an event to another calendar; only default-type events can move.',
|
|
14
|
+
schema,
|
|
15
|
+
handler,
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/move_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;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC;IAC1C,WAAW,EAAE,uEAAuE;IACpF,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/events/move\n *\n * Changes which calendar an event lives on, making the destination calendar\n * its organizer. The API only moves events whose eventType is `default`;\n * other types (focusTime, outOfOffice, workingLocation, birthday, fromGmail)\n * are rejected.\n */\nexport const move_event = calendarOperation({\n description: 'Move an event to another calendar; only default-type events can move.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/move */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
eventId: z.ZodString;
|
|
6
|
+
destination: z.ZodString;
|
|
7
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
sendUpdates: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
all: "all";
|
|
10
|
+
externalOnly: "externalOnly";
|
|
11
|
+
none: "none";
|
|
12
|
+
}>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
output: z.ZodObject<{
|
|
15
|
+
id: z.ZodString;
|
|
16
|
+
status: z.ZodOptional<z.ZodString>;
|
|
17
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
18
|
+
created: z.ZodOptional<z.ZodString>;
|
|
19
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
20
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
21
|
+
description: z.ZodOptional<z.ZodString>;
|
|
22
|
+
location: z.ZodOptional<z.ZodString>;
|
|
23
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
email: z.ZodOptional<z.ZodString>;
|
|
25
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
26
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
organizer: 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
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
34
|
+
date: z.ZodOptional<z.ZodString>;
|
|
35
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
36
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
end: 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
|
+
recurrence: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
originalStartTime: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
date: z.ZodOptional<z.ZodString>;
|
|
47
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
48
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
transparency: z.ZodOptional<z.ZodString>;
|
|
51
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
52
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
|
+
id: z.ZodOptional<z.ZodString>;
|
|
54
|
+
email: z.ZodString;
|
|
55
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
56
|
+
organizer: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
+
optionalAttendee: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
responseStatus: z.ZodOptional<z.ZodString>;
|
|
61
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
62
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
}, z.core.$strip>>>;
|
|
64
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
65
|
+
conferenceUrl: z.ZodOptional<z.ZodString>;
|
|
66
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
67
|
+
overrideReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
68
|
+
method: z.ZodEnum<{
|
|
69
|
+
email: "email";
|
|
70
|
+
popup: "popup";
|
|
71
|
+
}>;
|
|
72
|
+
minutes: z.ZodNumber;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/move_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,4FAA4F;AAC5F,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBlB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Event } from '../../entities/Event.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/move */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
eventId: z.string().describe('The ID of the event to move.'),
|
|
7
|
+
destination: z.string().describe('The calendar ID of the target calendar the event moves to.'),
|
|
8
|
+
calendarId: z
|
|
9
|
+
.string()
|
|
10
|
+
.optional()
|
|
11
|
+
.describe("The calendar ID of the source calendar the event is currently on. The default is the user's primary calendar."),
|
|
12
|
+
sendUpdates: z
|
|
13
|
+
.enum(['all', 'externalOnly', 'none'])
|
|
14
|
+
.optional()
|
|
15
|
+
.describe("Which guests receive email notifications about the change of the event's organizer: all, externalOnly (attendees outside Google Calendar only), or none."),
|
|
16
|
+
}),
|
|
17
|
+
output: Event,
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/move_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,4FAA4F;AAC5F,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC5D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4DAA4D,CAAC;QAC9F,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,+GAA+G,CAChH;QACH,WAAW,EAAE,CAAC;aACX,IAAI,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,CAAC,CAAC;aACrC,QAAQ,EAAE;aACV,QAAQ,CACP,0JAA0J,CAC3J;KACJ,CAAC;IACF,MAAM,EAAE,KAAK;CACd,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Event } from '../../entities/Event.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/move */\nexport const schema = {\n input: z.object({\n eventId: z.string().describe('The ID of the event to move.'),\n destination: z.string().describe('The calendar ID of the target calendar the event moves to.'),\n calendarId: z\n .string()\n .optional()\n .describe(\n \"The calendar ID of the source calendar the event is currently on. The default is the user's primary calendar.\",\n ),\n sendUpdates: z\n .enum(['all', 'externalOnly', 'none'])\n .optional()\n .describe(\n \"Which guests receive email notifications about the change of the event's organizer: all, externalOnly (attendees outside Google Calendar only), or none.\",\n ),\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/methods/patch_event/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,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,CA4BxC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectEvent } from '../../lib/event.js';
|
|
3
|
+
export async function handler(calendar, args) {
|
|
4
|
+
const { data } = await calendar.events.patch(forGoogle({
|
|
5
|
+
calendarId: args.calendarId ?? 'primary',
|
|
6
|
+
eventId: args.eventId,
|
|
7
|
+
sendUpdates: args.sendUpdates,
|
|
8
|
+
conferenceDataVersion: args.conferenceDataVersion,
|
|
9
|
+
requestBody: forGoogle({
|
|
10
|
+
summary: args.summary,
|
|
11
|
+
description: args.description,
|
|
12
|
+
location: args.location,
|
|
13
|
+
start: args.start === undefined ? undefined : forGoogle(args.start),
|
|
14
|
+
end: args.end === undefined ? undefined : forGoogle(args.end),
|
|
15
|
+
recurrence: args.recurrence,
|
|
16
|
+
status: args.status,
|
|
17
|
+
transparency: args.transparency,
|
|
18
|
+
visibility: args.visibility,
|
|
19
|
+
attendees: args.attendees?.map((attendee) => forGoogle(attendee)),
|
|
20
|
+
extendedProperties: args.extendedProperties === undefined ? undefined : forGoogle(args.extendedProperties),
|
|
21
|
+
guestsCanInviteOthers: args.guestsCanInviteOthers,
|
|
22
|
+
guestsCanModify: args.guestsCanModify,
|
|
23
|
+
guestsCanSeeOtherGuests: args.guestsCanSeeOtherGuests,
|
|
24
|
+
colorId: args.colorId,
|
|
25
|
+
}),
|
|
26
|
+
}));
|
|
27
|
+
return projectEvent(data);
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/patch_event/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGlD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAC1C,SAAS,CAAC;QACR,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;QACjD,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC;YACnE,GAAG,EAAE,IAAI,CAAC,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC;YAC7D,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;YACjE,kBAAkB,EAChB,IAAI,CAAC,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC;YACxF,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;YACrD,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 { projectEvent } from '../../lib/event.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.events.patch(\n forGoogle({\n calendarId: args.calendarId ?? 'primary',\n eventId: args.eventId,\n sendUpdates: args.sendUpdates,\n conferenceDataVersion: args.conferenceDataVersion,\n requestBody: forGoogle({\n summary: args.summary,\n description: args.description,\n location: args.location,\n start: args.start === undefined ? undefined : forGoogle(args.start),\n end: args.end === undefined ? undefined : forGoogle(args.end),\n recurrence: args.recurrence,\n status: args.status,\n transparency: args.transparency,\n visibility: args.visibility,\n attendees: args.attendees?.map((attendee) => forGoogle(attendee)),\n extendedProperties:\n args.extendedProperties === undefined ? undefined : forGoogle(args.extendedProperties),\n guestsCanInviteOthers: args.guestsCanInviteOthers,\n guestsCanModify: args.guestsCanModify,\n guestsCanSeeOtherGuests: args.guestsCanSeeOtherGuests,\n colorId: args.colorId,\n }),\n }),\n );\n return projectEvent(data);\n}\n"]}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/patch
|
|
3
|
+
*
|
|
4
|
+
* The fidelity gap-filler for the update_event tool: exposes the REST fields
|
|
5
|
+
* the MCP toolset omits (recurrence, status, transparency, the full attendee
|
|
6
|
+
* shape, extendedProperties, and the guest permissions). Patch semantics:
|
|
7
|
+
* unset fields are left unchanged. Where update_event applies attendee deltas,
|
|
8
|
+
* attendees here, when set, replace the whole guest list.
|
|
9
|
+
*/
|
|
10
|
+
export declare const patch_event: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
11
|
+
eventId: import("zod").ZodString;
|
|
12
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
17
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
}, import("zod/v4/core").$strip>>;
|
|
21
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
22
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
}, import("zod/v4/core").$strip>>;
|
|
26
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
27
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
28
|
+
cancelled: "cancelled";
|
|
29
|
+
tentative: "tentative";
|
|
30
|
+
confirmed: "confirmed";
|
|
31
|
+
}>>;
|
|
32
|
+
transparency: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
33
|
+
opaque: "opaque";
|
|
34
|
+
transparent: "transparent";
|
|
35
|
+
}>>;
|
|
36
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
37
|
+
default: "default";
|
|
38
|
+
public: "public";
|
|
39
|
+
private: "private";
|
|
40
|
+
confidential: "confidential";
|
|
41
|
+
}>>;
|
|
42
|
+
attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
43
|
+
email: import("zod").ZodString;
|
|
44
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
optional: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
46
|
+
resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
47
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
48
|
+
needsAction: "needsAction";
|
|
49
|
+
declined: "declined";
|
|
50
|
+
tentative: "tentative";
|
|
51
|
+
accepted: "accepted";
|
|
52
|
+
}>>;
|
|
53
|
+
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
+
additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
55
|
+
}, import("zod/v4/core").$strip>>>;
|
|
56
|
+
extendedProperties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
57
|
+
private: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
58
|
+
shared: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
59
|
+
}, import("zod/v4/core").$strip>>;
|
|
60
|
+
guestsCanInviteOthers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
61
|
+
guestsCanModify: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
62
|
+
guestsCanSeeOtherGuests: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
63
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
sendUpdates: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
65
|
+
all: "all";
|
|
66
|
+
externalOnly: "externalOnly";
|
|
67
|
+
none: "none";
|
|
68
|
+
}>>;
|
|
69
|
+
conferenceDataVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
70
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
71
|
+
id: import("zod").ZodString;
|
|
72
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
htmlLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
created: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
+
updated: import("zod").ZodOptional<import("zod").ZodString>;
|
|
76
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
78
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
79
|
+
creator: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
80
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
82
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
83
|
+
}, import("zod/v4/core").$strip>>;
|
|
84
|
+
organizer: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
85
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
87
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
88
|
+
}, import("zod/v4/core").$strip>>;
|
|
89
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
90
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
91
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
92
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
|
+
}, import("zod/v4/core").$strip>>;
|
|
94
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
95
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
97
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
}, import("zod/v4/core").$strip>>;
|
|
99
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
100
|
+
recurringEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
+
originalStartTime: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
102
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
103
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
105
|
+
}, import("zod/v4/core").$strip>>;
|
|
106
|
+
transparency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
+
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
|
+
attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
109
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
110
|
+
email: import("zod").ZodString;
|
|
111
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
112
|
+
organizer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
113
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
114
|
+
resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
115
|
+
optionalAttendee: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
116
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
|
+
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
|
+
additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
119
|
+
}, import("zod/v4/core").$strip>>>;
|
|
120
|
+
eventType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
121
|
+
conferenceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
122
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
123
|
+
overrideReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
124
|
+
method: import("zod").ZodEnum<{
|
|
125
|
+
email: "email";
|
|
126
|
+
popup: "popup";
|
|
127
|
+
}>;
|
|
128
|
+
minutes: import("zod").ZodNumber;
|
|
129
|
+
}, import("zod/v4/core").$strip>>>;
|
|
130
|
+
}, import("zod/v4/core").$strip>>;
|
|
131
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/patch_event/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAKtB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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/events/patch
|
|
6
|
+
*
|
|
7
|
+
* The fidelity gap-filler for the update_event tool: exposes the REST fields
|
|
8
|
+
* the MCP toolset omits (recurrence, status, transparency, the full attendee
|
|
9
|
+
* shape, extendedProperties, and the guest permissions). Patch semantics:
|
|
10
|
+
* unset fields are left unchanged. Where update_event applies attendee deltas,
|
|
11
|
+
* attendees here, when set, replace the whole guest list.
|
|
12
|
+
*/
|
|
13
|
+
export const patch_event = calendarOperation({
|
|
14
|
+
description: 'Patch any REST field of an event, including those update_event omits; unset fields are left unchanged.',
|
|
15
|
+
schema,
|
|
16
|
+
handler,
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/patch_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;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC3C,WAAW,EACT,wGAAwG;IAC1G,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/events/patch\n *\n * The fidelity gap-filler for the update_event tool: exposes the REST fields\n * the MCP toolset omits (recurrence, status, transparency, the full attendee\n * shape, extendedProperties, and the guest permissions). Patch semantics:\n * unset fields are left unchanged. Where update_event applies attendee deltas,\n * attendees here, when set, replace the whole guest list.\n */\nexport const patch_event = calendarOperation({\n description:\n 'Patch any REST field of an event, including those update_event omits; unset fields are left unchanged.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/patch */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
eventId: z.ZodString;
|
|
6
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
location: z.ZodOptional<z.ZodString>;
|
|
10
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
date: z.ZodOptional<z.ZodString>;
|
|
12
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
13
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
date: z.ZodOptional<z.ZodString>;
|
|
17
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
18
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
recurrence: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
cancelled: "cancelled";
|
|
23
|
+
tentative: "tentative";
|
|
24
|
+
confirmed: "confirmed";
|
|
25
|
+
}>>;
|
|
26
|
+
transparency: z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
opaque: "opaque";
|
|
28
|
+
transparent: "transparent";
|
|
29
|
+
}>>;
|
|
30
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
default: "default";
|
|
32
|
+
public: "public";
|
|
33
|
+
private: "private";
|
|
34
|
+
confidential: "confidential";
|
|
35
|
+
}>>;
|
|
36
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
|
+
email: z.ZodString;
|
|
38
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
39
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
responseStatus: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
needsAction: "needsAction";
|
|
43
|
+
declined: "declined";
|
|
44
|
+
tentative: "tentative";
|
|
45
|
+
accepted: "accepted";
|
|
46
|
+
}>>;
|
|
47
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
48
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
50
|
+
extendedProperties: z.ZodOptional<z.ZodObject<{
|
|
51
|
+
private: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
52
|
+
shared: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
guestsCanInviteOthers: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
guestsCanModify: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
guestsCanSeeOtherGuests: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
sendUpdates: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
all: "all";
|
|
60
|
+
externalOnly: "externalOnly";
|
|
61
|
+
none: "none";
|
|
62
|
+
}>>;
|
|
63
|
+
conferenceDataVersion: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
output: z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
status: z.ZodOptional<z.ZodString>;
|
|
68
|
+
htmlLink: z.ZodOptional<z.ZodString>;
|
|
69
|
+
created: z.ZodOptional<z.ZodString>;
|
|
70
|
+
updated: z.ZodOptional<z.ZodString>;
|
|
71
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
72
|
+
description: z.ZodOptional<z.ZodString>;
|
|
73
|
+
location: z.ZodOptional<z.ZodString>;
|
|
74
|
+
creator: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
email: z.ZodOptional<z.ZodString>;
|
|
76
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
77
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
organizer: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
email: z.ZodOptional<z.ZodString>;
|
|
81
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
82
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
start: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
date: z.ZodOptional<z.ZodString>;
|
|
86
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
87
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
end: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
date: z.ZodOptional<z.ZodString>;
|
|
91
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
92
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
recurrence: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
|
+
recurringEventId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
originalStartTime: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
date: z.ZodOptional<z.ZodString>;
|
|
98
|
+
dateTime: z.ZodOptional<z.ZodString>;
|
|
99
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
100
|
+
}, z.core.$strip>>;
|
|
101
|
+
transparency: z.ZodOptional<z.ZodString>;
|
|
102
|
+
visibility: z.ZodOptional<z.ZodString>;
|
|
103
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
104
|
+
id: z.ZodOptional<z.ZodString>;
|
|
105
|
+
email: z.ZodString;
|
|
106
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
107
|
+
organizer: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
self: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
resource: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
optionalAttendee: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
responseStatus: z.ZodOptional<z.ZodString>;
|
|
112
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
113
|
+
additionalGuests: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
}, z.core.$strip>>>;
|
|
115
|
+
eventType: z.ZodOptional<z.ZodString>;
|
|
116
|
+
conferenceUrl: z.ZodOptional<z.ZodString>;
|
|
117
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
118
|
+
overrideReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
119
|
+
method: z.ZodEnum<{
|
|
120
|
+
email: "email";
|
|
121
|
+
popup: "popup";
|
|
122
|
+
}>;
|
|
123
|
+
minutes: z.ZodNumber;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
};
|
|
127
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/patch_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkCxB,6FAA6F;AAC7F,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGlB,CAAC"}
|