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,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
/** Clear returns no body; we confirm the id. */
|
|
8
|
+
output: z.ZodObject<{
|
|
9
|
+
calendarId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gGAAgG;AAChG,eAAO,MAAM,MAAM;;;;IASjB,gDAAgD;;;;CAIjD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */
|
|
3
|
+
export const schema = {
|
|
4
|
+
input: z.object({
|
|
5
|
+
calendarId: z
|
|
6
|
+
.string()
|
|
7
|
+
.optional()
|
|
8
|
+
.describe('The calendar ID to clear. The default (and the only value the API accepts) is the primary calendar.'),
|
|
9
|
+
}),
|
|
10
|
+
/** Clear returns no body; we confirm the id. */
|
|
11
|
+
output: z.object({
|
|
12
|
+
calendarId: z.string().describe('The ID of the cleared calendar.'),
|
|
13
|
+
}),
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gGAAgG;AAChG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qGAAqG,CACtG;KACJ,CAAC;IACF,gDAAgD;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\n 'The calendar ID to clear. The default (and the only value the API accepts) is the primary calendar.',\n ),\n }),\n /** Clear returns no body; we confirm the id. */\n output: z.object({\n calendarId: z.string().describe('The ID of the cleared calendar.'),\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/create_calendar/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,14 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectCalendar } from '../../lib/calendar.js';
|
|
3
|
+
export async function handler(calendar, args) {
|
|
4
|
+
const { data } = await calendar.calendars.insert({
|
|
5
|
+
requestBody: forGoogle({
|
|
6
|
+
summary: args.summary,
|
|
7
|
+
description: args.description,
|
|
8
|
+
location: args.location,
|
|
9
|
+
timeZone: args.timeZone,
|
|
10
|
+
}),
|
|
11
|
+
});
|
|
12
|
+
return projectCalendar(data);
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC;QAC/C,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC;KACH,CAAC,CAAC;IACH,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectCalendar } from '../../lib/calendar.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.calendars.insert({\n requestBody: forGoogle({\n summary: args.summary,\n description: args.description,\n location: args.location,\n timeZone: args.timeZone,\n }),\n });\n return projectCalendar(data);\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert
|
|
3
|
+
*
|
|
4
|
+
* Creates a secondary calendar owned by the user. The new calendar appears on
|
|
5
|
+
* the user's calendar list; the returned id addresses it everywhere else.
|
|
6
|
+
*/
|
|
7
|
+
export declare const create_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
8
|
+
summary: import("zod").ZodString;
|
|
9
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
13
|
+
id: import("zod").ZodString;
|
|
14
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
}, import("zod/v4/core").$strip>>;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;iCAI1B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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/calendars/insert
|
|
6
|
+
*
|
|
7
|
+
* Creates a secondary calendar owned by the user. The new calendar appears on
|
|
8
|
+
* the user's calendar list; the returned id addresses it everywhere else.
|
|
9
|
+
*/
|
|
10
|
+
export const create_calendar = calendarOperation({
|
|
11
|
+
description: 'Create a secondary calendar.',
|
|
12
|
+
schema,
|
|
13
|
+
handler,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,8BAA8B;IAC3C,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/calendars/insert\n *\n * Creates a secondary calendar owned by the user. The new calendar appears on\n * the user's calendar list; the returned id addresses it everywhere else.\n */\nexport const create_calendar = calendarOperation({\n description: 'Create a secondary calendar.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
summary: z.ZodString;
|
|
6
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7
|
+
location: z.ZodOptional<z.ZodString>;
|
|
8
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
output: z.ZodObject<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
13
|
+
description: z.ZodOptional<z.ZodString>;
|
|
14
|
+
location: z.ZodOptional<z.ZodString>;
|
|
15
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAclB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Calendar } from '../../entities/Calendar.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
summary: z.string().describe('Title of the calendar.'),
|
|
7
|
+
description: z.string().optional().describe('Description of the calendar.'),
|
|
8
|
+
location: z
|
|
9
|
+
.string()
|
|
10
|
+
.optional()
|
|
11
|
+
.describe('Geographic location of the calendar as free-form text.'),
|
|
12
|
+
timeZone: z
|
|
13
|
+
.string()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('The time zone of the calendar, as an IANA Time Zone Database name.'),
|
|
16
|
+
}),
|
|
17
|
+
output: Calendar,
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACtD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC3E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,wDAAwD,CAAC;QACrE,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,oEAAoE,CAAC;KAClF,CAAC;IACF,MAAM,EAAE,QAAQ;CACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Calendar } from '../../entities/Calendar.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */\nexport const schema = {\n input: z.object({\n summary: z.string().describe('Title of the calendar.'),\n description: z.string().optional().describe('Description of the calendar.'),\n location: z\n .string()\n .optional()\n .describe('Geographic location of the calendar as free-form text.'),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),\n }),\n output: Calendar,\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/delete_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,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,CAGxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACjE,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AACzC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\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 await calendar.calendars.delete({ calendarId: args.calendarId });\n return { calendarId: args.calendarId };\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete
|
|
3
|
+
*
|
|
4
|
+
* Irreversible: permanently removes a secondary calendar and every event on
|
|
5
|
+
* it. The primary calendar cannot be deleted (the API rejects it); to wipe the
|
|
6
|
+
* primary calendar's events, see clear_calendar. To merely unsubscribe from a
|
|
7
|
+
* calendar without destroying it, see remove_calendar_entry.
|
|
8
|
+
*/
|
|
9
|
+
export declare const delete_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
10
|
+
calendarId: import("zod").ZodString;
|
|
11
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
12
|
+
calendarId: import("zod").ZodString;
|
|
13
|
+
}, import("zod/v4/core").$strip>>;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;iCAK1B,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/calendars/delete
|
|
6
|
+
*
|
|
7
|
+
* Irreversible: permanently removes a secondary calendar and every event on
|
|
8
|
+
* it. The primary calendar cannot be deleted (the API rejects it); to wipe the
|
|
9
|
+
* primary calendar's events, see clear_calendar. To merely unsubscribe from a
|
|
10
|
+
* calendar without destroying it, see remove_calendar_entry.
|
|
11
|
+
*/
|
|
12
|
+
export const delete_calendar = calendarOperation({
|
|
13
|
+
description: 'Permanently delete a secondary calendar and all of its events.',
|
|
14
|
+
destructive: true,
|
|
15
|
+
schema,
|
|
16
|
+
handler,
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/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,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,gEAAgE;IAC7E,WAAW,EAAE,IAAI;IACjB,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/calendars/delete\n *\n * Irreversible: permanently removes a secondary calendar and every event on\n * it. The primary calendar cannot be deleted (the API rejects it); to wipe the\n * primary calendar's events, see clear_calendar. To merely unsubscribe from a\n * calendar without destroying it, see remove_calendar_entry.\n */\nexport const delete_calendar = calendarOperation({\n description: 'Permanently delete a secondary calendar and all of its events.',\n destructive: true,\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
calendarId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
/** Delete returns no body; we confirm the id. */
|
|
8
|
+
output: z.ZodObject<{
|
|
9
|
+
calendarId: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;IAMjB,iDAAiD;;;;CAIlD,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */
|
|
3
|
+
export const schema = {
|
|
4
|
+
input: z.object({
|
|
5
|
+
// Required, no primary default: the caller must name the calendar it is
|
|
6
|
+
// destroying, and the primary calendar cannot be deleted anyway.
|
|
7
|
+
calendarId: z.string().describe('The calendar ID of the secondary calendar to delete.'),
|
|
8
|
+
}),
|
|
9
|
+
/** Delete returns no body; we confirm the id. */
|
|
10
|
+
output: z.object({
|
|
11
|
+
calendarId: z.string().describe('The ID of the deleted calendar.'),
|
|
12
|
+
}),
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,wEAAwE;QACxE,iEAAiE;QACjE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC;KACxF,CAAC;IACF,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */\nexport const schema = {\n input: z.object({\n // Required, no primary default: the caller must name the calendar it is\n // destroying, and the primary calendar cannot be deleted anyway.\n calendarId: z.string().describe('The calendar ID of the secondary calendar to delete.'),\n }),\n /** Delete returns no body; we confirm the id. */\n output: z.object({\n calendarId: z.string().describe('The ID of the deleted calendar.'),\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/get_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,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,CAGxC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { projectCalendar } from '../../lib/calendar.js';
|
|
2
|
+
export async function handler(calendar, args) {
|
|
3
|
+
const { data } = await calendar.calendars.get({ calendarId: args.calendarId ?? 'primary' });
|
|
4
|
+
return projectCalendar(data);
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS,EAAE,CAAC,CAAC;IAC5F,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { projectCalendar } from '../../lib/calendar.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.calendars.get({ calendarId: args.calendarId ?? 'primary' });\n return projectCalendar(data);\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get
|
|
3
|
+
*
|
|
4
|
+
* The calendar's own metadata. For the user's view of a calendar (color,
|
|
5
|
+
* visibility, access role), see get_calendar_entry.
|
|
6
|
+
*/
|
|
7
|
+
export declare const get_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
8
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10
|
+
id: import("zod").ZodString;
|
|
11
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
}, import("zod/v4/core").$strip>>;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;iCAIvB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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/calendars/get
|
|
6
|
+
*
|
|
7
|
+
* The calendar's own metadata. For the user's view of a calendar (color,
|
|
8
|
+
* visibility, access role), see get_calendar_entry.
|
|
9
|
+
*/
|
|
10
|
+
export const get_calendar = calendarOperation({
|
|
11
|
+
description: 'Get a calendar (its title, description, location, and time zone) by id.',
|
|
12
|
+
schema,
|
|
13
|
+
handler,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC5C,WAAW,EAAE,yEAAyE;IACtF,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/calendars/get\n *\n * The calendar's own metadata. For the user's view of a calendar (color,\n * visibility, access role), see get_calendar_entry.\n */\nexport const get_calendar = calendarOperation({\n description: 'Get a calendar (its title, description, location, and time zone) by id.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
output: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
10
|
+
description: z.ZodOptional<z.ZodString>;
|
|
11
|
+
location: z.ZodOptional<z.ZodString>;
|
|
12
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8FAA8F;AAC9F,eAAO,MAAM,MAAM;;;;;;;;;;;CAQlB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Calendar } from '../../entities/Calendar.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
calendarId: z
|
|
7
|
+
.string()
|
|
8
|
+
.optional()
|
|
9
|
+
.describe("The calendar ID to get. The default is the user's primary calendar."),
|
|
10
|
+
}),
|
|
11
|
+
output: Calendar,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,8FAA8F;AAC9F,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;KACnF,CAAC;IACF,MAAM,EAAE,QAAQ;CACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Calendar } from '../../entities/Calendar.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\"The calendar ID to get. The default is the user's primary calendar.\"),\n }),\n output: Calendar,\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/get_calendar_entry/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,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,CAGxC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { projectCalendarListEntry } from '../../lib/calendar.js';
|
|
2
|
+
export async function handler(calendar, args) {
|
|
3
|
+
const { data } = await calendar.calendarList.get({ calendarId: args.calendarId ?? 'primary' });
|
|
4
|
+
return projectCalendarListEntry(data);
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS,EAAE,CAAC,CAAC;IAC/F,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { projectCalendarListEntry } from '../../lib/calendar.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.calendarList.get({ calendarId: args.calendarId ?? 'primary' });\n return projectCalendarListEntry(data);\n}\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get
|
|
3
|
+
*
|
|
4
|
+
* The user's view of a calendar on their calendar list. For the calendar's
|
|
5
|
+
* own metadata, see get_calendar.
|
|
6
|
+
*/
|
|
7
|
+
export declare const get_calendar_entry: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
8
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
10
|
+
id: import("zod").ZodString;
|
|
11
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
summaryOverride: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
accessRole: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
foregroundColor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
21
|
+
selected: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
22
|
+
primary: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
23
|
+
defaultReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
24
|
+
method: import("zod").ZodEnum<{
|
|
25
|
+
email: "email";
|
|
26
|
+
popup: "popup";
|
|
27
|
+
}>;
|
|
28
|
+
minutes: import("zod").ZodNumber;
|
|
29
|
+
}, import("zod/v4/core").$strip>>>;
|
|
30
|
+
}, import("zod/v4/core").$strip>>;
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;iCAK7B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
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/calendarList/get
|
|
6
|
+
*
|
|
7
|
+
* The user's view of a calendar on their calendar list. For the calendar's
|
|
8
|
+
* own metadata, see get_calendar.
|
|
9
|
+
*/
|
|
10
|
+
export const get_calendar_entry = calendarOperation({
|
|
11
|
+
description: "Get the user's calendar list entry for a calendar: access role, colors, visibility, and default reminders.",
|
|
12
|
+
schema,
|
|
13
|
+
handler,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IAClD,WAAW,EACT,4GAA4G;IAC9G,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/calendarList/get\n *\n * The user's view of a calendar on their calendar list. For the calendar's\n * own metadata, see get_calendar.\n */\nexport const get_calendar_entry = calendarOperation({\n description:\n \"Get the user's calendar list entry for a calendar: access role, colors, visibility, and default reminders.\",\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
calendarId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
output: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
10
|
+
summaryOverride: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
location: z.ZodOptional<z.ZodString>;
|
|
13
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
accessRole: z.ZodOptional<z.ZodString>;
|
|
15
|
+
colorId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
foregroundColor: z.ZodOptional<z.ZodString>;
|
|
18
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
selected: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
+
defaultReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
|
+
method: z.ZodEnum<{
|
|
23
|
+
email: "email";
|
|
24
|
+
popup: "popup";
|
|
25
|
+
}>;
|
|
26
|
+
minutes: z.ZodNumber;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CalendarListEntry } from '../../entities/CalendarListEntry.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
calendarId: z
|
|
7
|
+
.string()
|
|
8
|
+
.optional()
|
|
9
|
+
.describe("The calendar ID of the entry to get. The default is the user's primary calendar."),
|
|
10
|
+
}),
|
|
11
|
+
output: CalendarListEntry,
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,kFAAkF,CAAC;KAChG,CAAC;IACF,MAAM,EAAE,iBAAiB;CAC1B,CAAC","sourcesContent":["import { z } from 'zod';\nimport { CalendarListEntry } from '../../entities/CalendarListEntry.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\"The calendar ID of the entry to get. The default is the user's primary calendar.\"),\n }),\n output: CalendarListEntry,\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/get_colors/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAiB1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GAClC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAOxC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** Project one palette map, cleaning nulls to empty strings. */
|
|
2
|
+
function projectPalette(palette) {
|
|
3
|
+
return Object.fromEntries(Object.entries(palette ?? {}).map(([id, definition]) => [
|
|
4
|
+
id,
|
|
5
|
+
{
|
|
6
|
+
background: definition.background ?? '',
|
|
7
|
+
foreground: definition.foreground ?? '',
|
|
8
|
+
},
|
|
9
|
+
]));
|
|
10
|
+
}
|
|
11
|
+
export async function handler(calendar, _args) {
|
|
12
|
+
const { data } = await calendar.colors.get();
|
|
13
|
+
return {
|
|
14
|
+
updated: data.updated ?? undefined,
|
|
15
|
+
calendar: projectPalette(data.calendar),
|
|
16
|
+
event: projectPalette(data.event),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_colors/handler.ts"],"names":[],"mappings":"AAKA,gEAAgE;AAChE,SAAS,cAAc,CACrB,OAA8E;IAE9E,OAAO,MAAM,CAAC,WAAW,CACvB,MAAM,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC;QACtD,EAAE;QACF;YACE,UAAU,EAAE,UAAU,CAAC,UAAU,IAAI,EAAE;YACvC,UAAU,EAAE,UAAU,CAAC,UAAU,IAAI,EAAE;SACxC;KACF,CAAC,CACH,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,KAAmC;IAEnC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;IAC7C,OAAO;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS;QAClC,QAAQ,EAAE,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC;QACvC,KAAK,EAAE,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;KAClC,CAAC;AACJ,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport type { ColorDefinition } from '../../entities/Colors.js';\nimport type { schema } from './schema.js';\n\n/** Project one palette map, cleaning nulls to empty strings. */\nfunction projectPalette(\n palette: Record<string, calendar_v3.Schema$ColorDefinition> | null | undefined,\n): Record<string, ColorDefinition> {\n return Object.fromEntries(\n Object.entries(palette ?? {}).map(([id, definition]) => [\n id,\n {\n background: definition.background ?? '',\n foreground: definition.foreground ?? '',\n },\n ]),\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 { data } = await calendar.colors.get();\n return {\n updated: data.updated ?? undefined,\n calendar: projectPalette(data.calendar),\n event: projectPalette(data.event),\n };\n}\n"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/colors/get
|
|
3
|
+
*
|
|
4
|
+
* The global palettes that colorId fields refer to: an event's colorId indexes
|
|
5
|
+
* the event palette, and a calendar list entry's colorId indexes the calendar
|
|
6
|
+
* palette. The palettes are account-independent constants.
|
|
7
|
+
*/
|
|
8
|
+
export declare const get_colors: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
9
|
+
updated: import("zod").ZodOptional<import("zod").ZodString>;
|
|
10
|
+
calendar: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
11
|
+
background: import("zod").ZodString;
|
|
12
|
+
foreground: import("zod").ZodString;
|
|
13
|
+
}, import("zod/v4/core").$strip>>;
|
|
14
|
+
event: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
15
|
+
background: import("zod").ZodString;
|
|
16
|
+
foreground: import("zod").ZodString;
|
|
17
|
+
}, import("zod/v4/core").$strip>>;
|
|
18
|
+
}, import("zod/v4/core").$strip>>;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_colors/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;iCAIrB,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/colors/get
|
|
6
|
+
*
|
|
7
|
+
* The global palettes that colorId fields refer to: an event's colorId indexes
|
|
8
|
+
* the event palette, and a calendar list entry's colorId indexes the calendar
|
|
9
|
+
* palette. The palettes are account-independent constants.
|
|
10
|
+
*/
|
|
11
|
+
export const get_colors = calendarOperation({
|
|
12
|
+
description: 'Get the color palettes for calendars and events, keyed by color ID.',
|
|
13
|
+
schema,
|
|
14
|
+
handler,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|