google-mcp-suite 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -20
- package/dist/calendar/capabilities.d.ts +3 -0
- package/dist/calendar/capabilities.d.ts.map +1 -0
- package/dist/calendar/capabilities.js +21 -0
- package/dist/calendar/capabilities.js.map +1 -0
- package/dist/calendar/entities/Attendee.d.ts +24 -0
- package/dist/calendar/entities/Attendee.d.ts.map +1 -0
- package/dist/calendar/entities/Attendee.js +34 -0
- package/dist/calendar/entities/Attendee.js.map +1 -0
- package/dist/calendar/entities/Calendar.d.ts +20 -0
- package/dist/calendar/entities/Calendar.d.ts.map +1 -0
- package/dist/calendar/entities/Calendar.js +25 -0
- package/dist/calendar/entities/Calendar.js.map +1 -0
- package/dist/calendar/entities/CalendarListEntry.d.ts +36 -0
- package/dist/calendar/entities/CalendarListEntry.d.ts.map +1 -0
- package/dist/calendar/entities/CalendarListEntry.js +60 -0
- package/dist/calendar/entities/CalendarListEntry.js.map +1 -0
- package/dist/calendar/entities/Colors.d.ts +31 -0
- package/dist/calendar/entities/Colors.d.ts.map +1 -0
- package/dist/calendar/entities/Colors.js +34 -0
- package/dist/calendar/entities/Colors.js.map +1 -0
- package/dist/calendar/entities/Event.d.ts +76 -0
- package/dist/calendar/entities/Event.d.ts.map +1 -0
- package/dist/calendar/entities/Event.js +72 -0
- package/dist/calendar/entities/Event.js.map +1 -0
- package/dist/calendar/entities/EventDateTime.d.ts +19 -0
- package/dist/calendar/entities/EventDateTime.d.ts.map +1 -0
- package/dist/calendar/entities/EventDateTime.js +34 -0
- package/dist/calendar/entities/EventDateTime.js.map +1 -0
- package/dist/calendar/entities/FreeBusy.d.ts +30 -0
- package/dist/calendar/entities/FreeBusy.d.ts.map +1 -0
- package/dist/calendar/entities/FreeBusy.js +33 -0
- package/dist/calendar/entities/FreeBusy.js.map +1 -0
- package/dist/calendar/entities/NotificationLevel.d.ts +19 -0
- package/dist/calendar/entities/NotificationLevel.d.ts.map +1 -0
- package/dist/calendar/entities/NotificationLevel.js +14 -0
- package/dist/calendar/entities/NotificationLevel.js.map +1 -0
- package/dist/calendar/entities/Principal.d.ts +17 -0
- package/dist/calendar/entities/Principal.d.ts.map +1 -0
- package/dist/calendar/entities/Principal.js +19 -0
- package/dist/calendar/entities/Principal.js.map +1 -0
- package/dist/calendar/entities/Reminder.d.ts +19 -0
- package/dist/calendar/entities/Reminder.d.ts.map +1 -0
- package/dist/calendar/entities/Reminder.js +21 -0
- package/dist/calendar/entities/Reminder.js.map +1 -0
- package/dist/calendar/entities/Setting.d.ts +12 -0
- package/dist/calendar/entities/Setting.d.ts.map +1 -0
- package/dist/calendar/entities/Setting.js +13 -0
- package/dist/calendar/entities/Setting.js.map +1 -0
- package/dist/calendar/index.d.ts +3 -0
- package/dist/calendar/index.d.ts.map +1 -0
- package/dist/calendar/index.js +19 -0
- package/dist/calendar/index.js.map +1 -0
- package/dist/calendar/lib/attendees.d.ts +24 -0
- package/dist/calendar/lib/attendees.d.ts.map +1 -0
- package/dist/calendar/lib/attendees.js +41 -0
- package/dist/calendar/lib/attendees.js.map +1 -0
- package/dist/calendar/lib/calendar.d.ts +8 -0
- package/dist/calendar/lib/calendar.d.ts.map +1 -0
- package/dist/calendar/lib/calendar.js +33 -0
- package/dist/calendar/lib/calendar.js.map +1 -0
- package/dist/calendar/lib/datetime.d.ts +20 -0
- package/dist/calendar/lib/datetime.d.ts.map +1 -0
- package/dist/calendar/lib/datetime.js +22 -0
- package/dist/calendar/lib/datetime.js.map +1 -0
- package/dist/calendar/lib/event.d.ts +13 -0
- package/dist/calendar/lib/event.d.ts.map +1 -0
- package/dist/calendar/lib/event.js +76 -0
- package/dist/calendar/lib/event.js.map +1 -0
- package/dist/calendar/lib/freebusy.d.ts +11 -0
- package/dist/calendar/lib/freebusy.d.ts.map +1 -0
- package/dist/calendar/lib/freebusy.js +21 -0
- package/dist/calendar/lib/freebusy.js.map +1 -0
- package/dist/calendar/lib/meet.d.ts +14 -0
- package/dist/calendar/lib/meet.d.ts.map +1 -0
- package/dist/calendar/lib/meet.js +20 -0
- package/dist/calendar/lib/meet.js.map +1 -0
- package/dist/calendar/lib/notifications.d.ts +15 -0
- package/dist/calendar/lib/notifications.d.ts.map +1 -0
- package/dist/calendar/lib/notifications.js +14 -0
- package/dist/calendar/lib/notifications.js.map +1 -0
- package/dist/calendar/lib/suggest.d.ts +47 -0
- package/dist/calendar/lib/suggest.d.ts.map +1 -0
- package/dist/calendar/lib/suggest.js +118 -0
- package/dist/calendar/lib/suggest.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/add_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/handler.js +8 -0
- package/dist/calendar/methods/add_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/index.d.ts +33 -0
- package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/index.js +17 -0
- package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts +30 -0
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/add_calendar_entry/schema.js +12 -0
- package/dist/calendar/methods/add_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/clear_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/handler.js +6 -0
- package/dist/calendar/methods/clear_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/index.d.ts +13 -0
- package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/index.js +17 -0
- package/dist/calendar/methods/clear_calendar/index.js.map +1 -0
- package/dist/calendar/methods/clear_calendar/schema.d.ts +12 -0
- package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/clear_calendar/schema.js +15 -0
- package/dist/calendar/methods/clear_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/create_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/create_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/handler.js +14 -0
- package/dist/calendar/methods/create_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/create_calendar/index.d.ts +19 -0
- package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/index.js +15 -0
- package/dist/calendar/methods/create_calendar/index.js.map +1 -0
- package/dist/calendar/methods/create_calendar/schema.d.ts +18 -0
- package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/create_calendar/schema.js +19 -0
- package/dist/calendar/methods/create_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/delete_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/handler.js +5 -0
- package/dist/calendar/methods/delete_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/index.d.ts +14 -0
- package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/index.js +18 -0
- package/dist/calendar/methods/delete_calendar/index.js.map +1 -0
- package/dist/calendar/methods/delete_calendar/schema.d.ts +12 -0
- package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/delete_calendar/schema.js +14 -0
- package/dist/calendar/methods/delete_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/get_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/get_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/handler.js +6 -0
- package/dist/calendar/methods/get_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/get_calendar/index.d.ts +16 -0
- package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/index.js +15 -0
- package/dist/calendar/methods/get_calendar/index.js.map +1 -0
- package/dist/calendar/methods/get_calendar/schema.d.ts +15 -0
- package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar/schema.js +13 -0
- package/dist/calendar/methods/get_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/get_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/handler.js +6 -0
- package/dist/calendar/methods/get_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/index.d.ts +31 -0
- package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/index.js +15 -0
- package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts +30 -0
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_calendar_entry/schema.js +13 -0
- package/dist/calendar/methods/get_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/get_colors/handler.d.ts +5 -0
- package/dist/calendar/methods/get_colors/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/handler.js +19 -0
- package/dist/calendar/methods/get_colors/handler.js.map +1 -0
- package/dist/calendar/methods/get_colors/index.d.ts +19 -0
- package/dist/calendar/methods/get_colors/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/index.js +16 -0
- package/dist/calendar/methods/get_colors/index.js.map +1 -0
- package/dist/calendar/methods/get_colors/schema.d.ts +17 -0
- package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_colors/schema.js +8 -0
- package/dist/calendar/methods/get_colors/schema.js.map +1 -0
- package/dist/calendar/methods/get_setting/handler.d.ts +5 -0
- package/dist/calendar/methods/get_setting/handler.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/handler.js +8 -0
- package/dist/calendar/methods/get_setting/handler.js.map +1 -0
- package/dist/calendar/methods/get_setting/index.d.ts +11 -0
- package/dist/calendar/methods/get_setting/index.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/index.js +13 -0
- package/dist/calendar/methods/get_setting/index.js.map +1 -0
- package/dist/calendar/methods/get_setting/schema.d.ts +12 -0
- package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -0
- package/dist/calendar/methods/get_setting/schema.js +12 -0
- package/dist/calendar/methods/get_setting/schema.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/handler.d.ts +5 -0
- package/dist/calendar/methods/list_event_instances/handler.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/handler.js +28 -0
- package/dist/calendar/methods/list_event_instances/handler.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/index.d.ts +95 -0
- package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/index.js +17 -0
- package/dist/calendar/methods/list_event_instances/index.js.map +1 -0
- package/dist/calendar/methods/list_event_instances/schema.d.ts +92 -0
- package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -0
- package/dist/calendar/methods/list_event_instances/schema.js +63 -0
- package/dist/calendar/methods/list_event_instances/schema.js.map +1 -0
- package/dist/calendar/methods/list_settings/handler.d.ts +5 -0
- package/dist/calendar/methods/list_settings/handler.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/handler.js +15 -0
- package/dist/calendar/methods/list_settings/handler.js.map +1 -0
- package/dist/calendar/methods/list_settings/index.d.ts +17 -0
- package/dist/calendar/methods/list_settings/index.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/index.js +15 -0
- package/dist/calendar/methods/list_settings/index.js.map +1 -0
- package/dist/calendar/methods/list_settings/schema.d.ts +21 -0
- package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -0
- package/dist/calendar/methods/list_settings/schema.js +27 -0
- package/dist/calendar/methods/list_settings/schema.js.map +1 -0
- package/dist/calendar/methods/move_event/handler.d.ts +5 -0
- package/dist/calendar/methods/move_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/handler.js +12 -0
- package/dist/calendar/methods/move_event/handler.js.map +1 -0
- package/dist/calendar/methods/move_event/index.d.ts +79 -0
- package/dist/calendar/methods/move_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/index.js +17 -0
- package/dist/calendar/methods/move_event/index.js.map +1 -0
- package/dist/calendar/methods/move_event/schema.d.ts +76 -0
- package/dist/calendar/methods/move_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/move_event/schema.js +19 -0
- package/dist/calendar/methods/move_event/schema.js.map +1 -0
- package/dist/calendar/methods/patch_event/handler.d.ts +5 -0
- package/dist/calendar/methods/patch_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/handler.js +29 -0
- package/dist/calendar/methods/patch_event/handler.js.map +1 -0
- package/dist/calendar/methods/patch_event/index.d.ts +131 -0
- package/dist/calendar/methods/patch_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/index.js +18 -0
- package/dist/calendar/methods/patch_event/index.js.map +1 -0
- package/dist/calendar/methods/patch_event/schema.d.ts +127 -0
- package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/patch_event/schema.js +110 -0
- package/dist/calendar/methods/patch_event/schema.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/handler.d.ts +5 -0
- package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/handler.js +21 -0
- package/dist/calendar/methods/query_free_busy/handler.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/index.d.ts +29 -0
- package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/index.js +16 -0
- package/dist/calendar/methods/query_free_busy/index.js.map +1 -0
- package/dist/calendar/methods/query_free_busy/schema.d.ts +27 -0
- package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -0
- package/dist/calendar/methods/query_free_busy/schema.js +36 -0
- package/dist/calendar/methods/query_free_busy/schema.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/handler.d.ts +5 -0
- package/dist/calendar/methods/quick_add_event/handler.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/handler.js +11 -0
- package/dist/calendar/methods/quick_add_event/handler.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/index.d.ts +77 -0
- package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/index.js +16 -0
- package/dist/calendar/methods/quick_add_event/index.js.map +1 -0
- package/dist/calendar/methods/quick_add_event/schema.d.ts +75 -0
- package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -0
- package/dist/calendar/methods/quick_add_event/schema.js +20 -0
- package/dist/calendar/methods/quick_add_event/schema.js.map +1 -0
- package/dist/calendar/methods/registry.d.ts +538 -0
- package/dist/calendar/methods/registry.d.ts.map +1 -0
- package/dist/calendar/methods/registry.js +48 -0
- package/dist/calendar/methods/registry.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.js +5 -0
- package/dist/calendar/methods/remove_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts +13 -0
- package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/index.js +16 -0
- package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.d.ts +12 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.js +14 -0
- package/dist/calendar/methods/remove_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/methods/update_calendar/handler.d.ts +5 -0
- package/dist/calendar/methods/update_calendar/handler.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/handler.js +15 -0
- package/dist/calendar/methods/update_calendar/handler.js.map +1 -0
- package/dist/calendar/methods/update_calendar/index.d.ts +18 -0
- package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/index.js +13 -0
- package/dist/calendar/methods/update_calendar/index.js.map +1 -0
- package/dist/calendar/methods/update_calendar/schema.d.ts +19 -0
- package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar/schema.js +23 -0
- package/dist/calendar/methods/update_calendar/schema.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/handler.d.ts +5 -0
- package/dist/calendar/methods/update_calendar_entry/handler.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/handler.js +22 -0
- package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/index.d.ts +46 -0
- package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/index.js +17 -0
- package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts +43 -0
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -0
- package/dist/calendar/methods/update_calendar_entry/schema.js +39 -0
- package/dist/calendar/methods/update_calendar_entry/schema.js.map +1 -0
- package/dist/calendar/operation.d.ts +12 -0
- package/dist/calendar/operation.d.ts.map +1 -0
- package/dist/calendar/operation.js +10 -0
- package/dist/calendar/operation.js.map +1 -0
- package/dist/calendar/tools/create_event/handler.d.ts +5 -0
- package/dist/calendar/tools/create_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/handler.js +41 -0
- package/dist/calendar/tools/create_event/handler.js.map +1 -0
- package/dist/calendar/tools/create_event/index.d.ts +101 -0
- package/dist/calendar/tools/create_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/index.js +17 -0
- package/dist/calendar/tools/create_event/index.js.map +1 -0
- package/dist/calendar/tools/create_event/schema.d.ts +98 -0
- package/dist/calendar/tools/create_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/create_event/schema.js +54 -0
- package/dist/calendar/tools/create_event/schema.js.map +1 -0
- package/dist/calendar/tools/delete_event/handler.d.ts +5 -0
- package/dist/calendar/tools/delete_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/handler.js +15 -0
- package/dist/calendar/tools/delete_event/handler.js.map +1 -0
- package/dist/calendar/tools/delete_event/index.d.ts +76 -0
- package/dist/calendar/tools/delete_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/index.js +16 -0
- package/dist/calendar/tools/delete_event/index.js.map +1 -0
- package/dist/calendar/tools/delete_event/schema.d.ts +75 -0
- package/dist/calendar/tools/delete_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/delete_event/schema.js +16 -0
- package/dist/calendar/tools/delete_event/schema.js.map +1 -0
- package/dist/calendar/tools/get_event/handler.d.ts +5 -0
- package/dist/calendar/tools/get_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/handler.js +9 -0
- package/dist/calendar/tools/get_event/handler.js.map +1 -0
- package/dist/calendar/tools/get_event/index.d.ts +66 -0
- package/dist/calendar/tools/get_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/index.js +10 -0
- package/dist/calendar/tools/get_event/index.js.map +1 -0
- package/dist/calendar/tools/get_event/schema.d.ts +70 -0
- package/dist/calendar/tools/get_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/get_event/schema.js +14 -0
- package/dist/calendar/tools/get_event/schema.js.map +1 -0
- package/dist/calendar/tools/list_calendars/handler.d.ts +5 -0
- package/dist/calendar/tools/list_calendars/handler.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/handler.js +17 -0
- package/dist/calendar/tools/list_calendars/handler.js.map +1 -0
- package/dist/calendar/tools/list_calendars/index.d.ts +20 -0
- package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/index.js +16 -0
- package/dist/calendar/tools/list_calendars/index.js.map +1 -0
- package/dist/calendar/tools/list_calendars/schema.d.ts +18 -0
- package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -0
- package/dist/calendar/tools/list_calendars/schema.js +26 -0
- package/dist/calendar/tools/list_calendars/schema.js.map +1 -0
- package/dist/calendar/tools/list_events/handler.d.ts +5 -0
- package/dist/calendar/tools/list_events/handler.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/handler.js +45 -0
- package/dist/calendar/tools/list_events/handler.js.map +1 -0
- package/dist/calendar/tools/list_events/index.d.ts +107 -0
- package/dist/calendar/tools/list_events/index.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/index.js +17 -0
- package/dist/calendar/tools/list_events/index.js.map +1 -0
- package/dist/calendar/tools/list_events/schema.d.ts +104 -0
- package/dist/calendar/tools/list_events/schema.d.ts.map +1 -0
- package/dist/calendar/tools/list_events/schema.js +66 -0
- package/dist/calendar/tools/list_events/schema.js.map +1 -0
- package/dist/calendar/tools/registry.d.ts +529 -0
- package/dist/calendar/tools/registry.d.ts.map +1 -0
- package/dist/calendar/tools/registry.js +24 -0
- package/dist/calendar/tools/registry.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/handler.d.ts +5 -0
- package/dist/calendar/tools/respond_to_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/handler.js +19 -0
- package/dist/calendar/tools/respond_to_event/handler.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/index.d.ts +83 -0
- package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/index.js +16 -0
- package/dist/calendar/tools/respond_to_event/index.js.map +1 -0
- package/dist/calendar/tools/respond_to_event/schema.d.ts +81 -0
- package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/respond_to_event/schema.js +23 -0
- package/dist/calendar/tools/respond_to_event/schema.js.map +1 -0
- package/dist/calendar/tools/suggest_time/handler.d.ts +5 -0
- package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/handler.js +37 -0
- package/dist/calendar/tools/suggest_time/handler.js.map +1 -0
- package/dist/calendar/tools/suggest_time/index.d.ts +34 -0
- package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/index.js +23 -0
- package/dist/calendar/tools/suggest_time/index.js.map +1 -0
- package/dist/calendar/tools/suggest_time/schema.d.ts +25 -0
- package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -0
- package/dist/calendar/tools/suggest_time/schema.js +69 -0
- package/dist/calendar/tools/suggest_time/schema.js.map +1 -0
- package/dist/calendar/tools/update_event/handler.d.ts +5 -0
- package/dist/calendar/tools/update_event/handler.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/handler.js +53 -0
- package/dist/calendar/tools/update_event/handler.js.map +1 -0
- package/dist/calendar/tools/update_event/index.d.ts +100 -0
- package/dist/calendar/tools/update_event/index.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/index.js +17 -0
- package/dist/calendar/tools/update_event/index.js.map +1 -0
- package/dist/calendar/tools/update_event/schema.d.ts +97 -0
- package/dist/calendar/tools/update_event/schema.d.ts.map +1 -0
- package/dist/calendar/tools/update_event/schema.js +59 -0
- package/dist/calendar/tools/update_event/schema.js.map +1 -0
- package/dist/doctor/services.d.ts.map +1 -1
- package/dist/doctor/services.js +23 -2
- package/dist/doctor/services.js.map +1 -1
- package/dist/gmail/operation.d.ts +1 -1
- package/dist/gmail/operation.d.ts.map +1 -1
- package/dist/gmail/operation.js.map +1 -1
- package/dist/lib/operation.d.ts +4 -4
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/lib/operation.js +1 -1
- package/dist/lib/operation.js.map +1 -1
- package/dist/lib/server.d.ts +6 -5
- package/dist/lib/server.d.ts.map +1 -1
- package/dist/lib/server.js +20 -7
- package/dist/lib/server.js.map +1 -1
- package/dist/sheets/capabilities.d.ts +3 -0
- package/dist/sheets/capabilities.d.ts.map +1 -0
- package/dist/sheets/capabilities.js +15 -0
- package/dist/sheets/capabilities.js.map +1 -0
- package/dist/sheets/entities/CellValue.d.ts +14 -0
- package/dist/sheets/entities/CellValue.d.ts.map +1 -0
- package/dist/sheets/entities/CellValue.js +15 -0
- package/dist/sheets/entities/CellValue.js.map +1 -0
- package/dist/sheets/entities/DataFilter.d.ts +57 -0
- package/dist/sheets/entities/DataFilter.d.ts.map +1 -0
- package/dist/sheets/entities/DataFilter.js +15 -0
- package/dist/sheets/entities/DataFilter.js.map +1 -0
- package/dist/sheets/entities/DataFilterValueRange.d.ts +64 -0
- package/dist/sheets/entities/DataFilterValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/DataFilterValueRange.js +18 -0
- package/dist/sheets/entities/DataFilterValueRange.js.map +1 -0
- package/dist/sheets/entities/DateTimeRenderOption.d.ts +13 -0
- package/dist/sheets/entities/DateTimeRenderOption.d.ts.map +1 -0
- package/dist/sheets/entities/DateTimeRenderOption.js +11 -0
- package/dist/sheets/entities/DateTimeRenderOption.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadata.d.ts +40 -0
- package/dist/sheets/entities/DeveloperMetadata.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadata.js +28 -0
- package/dist/sheets/entities/DeveloperMetadata.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.d.ts +28 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.js +25 -0
- package/dist/sheets/entities/DeveloperMetadataLocation.js.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.d.ts +48 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.d.ts.map +1 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.js +38 -0
- package/dist/sheets/entities/DeveloperMetadataLookup.js.map +1 -0
- package/dist/sheets/entities/DimensionRange.d.ts +18 -0
- package/dist/sheets/entities/DimensionRange.d.ts.map +1 -0
- package/dist/sheets/entities/DimensionRange.js +22 -0
- package/dist/sheets/entities/DimensionRange.js.map +1 -0
- package/dist/sheets/entities/GridProperties.d.ts +16 -0
- package/dist/sheets/entities/GridProperties.d.ts.map +1 -0
- package/dist/sheets/entities/GridProperties.js +23 -0
- package/dist/sheets/entities/GridProperties.js.map +1 -0
- package/dist/sheets/entities/GridRange.d.ts +17 -0
- package/dist/sheets/entities/GridRange.d.ts.map +1 -0
- package/dist/sheets/entities/GridRange.js +32 -0
- package/dist/sheets/entities/GridRange.js.map +1 -0
- package/dist/sheets/entities/MajorDimension.d.ts +13 -0
- package/dist/sheets/entities/MajorDimension.d.ts.map +1 -0
- package/dist/sheets/entities/MajorDimension.js +11 -0
- package/dist/sheets/entities/MajorDimension.js.map +1 -0
- package/dist/sheets/entities/MatchedValueRange.d.ts +67 -0
- package/dist/sheets/entities/MatchedValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/MatchedValueRange.js +17 -0
- package/dist/sheets/entities/MatchedValueRange.js.map +1 -0
- package/dist/sheets/entities/SheetProperties.d.ts +28 -0
- package/dist/sheets/entities/SheetProperties.d.ts.map +1 -0
- package/dist/sheets/entities/SheetProperties.js +32 -0
- package/dist/sheets/entities/SheetProperties.js.map +1 -0
- package/dist/sheets/entities/Spreadsheet.d.ts +44 -0
- package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -0
- package/dist/sheets/entities/Spreadsheet.js +23 -0
- package/dist/sheets/entities/Spreadsheet.js.map +1 -0
- package/dist/sheets/entities/SpreadsheetProperties.d.ts +20 -0
- package/dist/sheets/entities/SpreadsheetProperties.d.ts.map +1 -0
- package/dist/sheets/entities/SpreadsheetProperties.js +24 -0
- package/dist/sheets/entities/SpreadsheetProperties.js.map +1 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts +72 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts.map +1 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js +30 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js.map +1 -0
- package/dist/sheets/entities/UpdateValuesResponse.d.ts +25 -0
- package/dist/sheets/entities/UpdateValuesResponse.d.ts.map +1 -0
- package/dist/sheets/entities/UpdateValuesResponse.js +29 -0
- package/dist/sheets/entities/UpdateValuesResponse.js.map +1 -0
- package/dist/sheets/entities/ValueInputOption.d.ts +14 -0
- package/dist/sheets/entities/ValueInputOption.d.ts.map +1 -0
- package/dist/sheets/entities/ValueInputOption.js +12 -0
- package/dist/sheets/entities/ValueInputOption.js.map +1 -0
- package/dist/sheets/entities/ValueRange.d.ts +17 -0
- package/dist/sheets/entities/ValueRange.d.ts.map +1 -0
- package/dist/sheets/entities/ValueRange.js +21 -0
- package/dist/sheets/entities/ValueRange.js.map +1 -0
- package/dist/sheets/entities/ValueRenderOption.d.ts +14 -0
- package/dist/sheets/entities/ValueRenderOption.d.ts.map +1 -0
- package/dist/sheets/entities/ValueRenderOption.js +11 -0
- package/dist/sheets/entities/ValueRenderOption.js.map +1 -0
- package/dist/sheets/index.d.ts +3 -0
- package/dist/sheets/index.d.ts.map +1 -0
- package/dist/sheets/index.js +22 -0
- package/dist/sheets/index.js.map +1 -0
- package/dist/sheets/lib/enums.d.ts +8 -0
- package/dist/sheets/lib/enums.d.ts.map +1 -0
- package/dist/sheets/lib/enums.js +10 -0
- package/dist/sheets/lib/enums.js.map +1 -0
- package/dist/sheets/lib/filters.d.ts +10 -0
- package/dist/sheets/lib/filters.d.ts.map +1 -0
- package/dist/sheets/lib/filters.js +82 -0
- package/dist/sheets/lib/filters.js.map +1 -0
- package/dist/sheets/lib/metadata.d.ts +5 -0
- package/dist/sheets/lib/metadata.d.ts.map +1 -0
- package/dist/sheets/lib/metadata.js +13 -0
- package/dist/sheets/lib/metadata.js.map +1 -0
- package/dist/sheets/lib/spreadsheet.d.ts +12 -0
- package/dist/sheets/lib/spreadsheet.d.ts.map +1 -0
- package/dist/sheets/lib/spreadsheet.js +42 -0
- package/dist/sheets/lib/spreadsheet.js.map +1 -0
- package/dist/sheets/lib/values.d.ts +13 -0
- package/dist/sheets/lib/values.d.ts.map +1 -0
- package/dist/sheets/lib/values.js +26 -0
- package/dist/sheets/lib/values.js.map +1 -0
- package/dist/sheets/methods/append_values/handler.d.ts +5 -0
- package/dist/sheets/methods/append_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/handler.js +23 -0
- package/dist/sheets/methods/append_values/handler.js.map +1 -0
- package/dist/sheets/methods/append_values/index.d.ts +52 -0
- package/dist/sheets/methods/append_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/index.js +15 -0
- package/dist/sheets/methods/append_values/index.js.map +1 -0
- package/dist/sheets/methods/append_values/schema.d.ts +51 -0
- package/dist/sheets/methods/append_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/append_values/schema.js +40 -0
- package/dist/sheets/methods/append_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_clear_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/handler.js +11 -0
- package/dist/sheets/methods/batch_clear_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/index.d.ts +14 -0
- package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/index.js +16 -0
- package/dist/sheets/methods/batch_clear_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/schema.d.ts +13 -0
- package/dist/sheets/methods/batch_clear_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values/schema.js +19 -0
- package/dist/sheets/methods/batch_clear_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js +12 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts +61 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +16 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts +60 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js +20 -0
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_get_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/handler.js +16 -0
- package/dist/sheets/methods/batch_get_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/index.d.ts +29 -0
- package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/index.js +10 -0
- package/dist/sheets/methods/batch_get_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_get_values/schema.d.ts +33 -0
- package/dist/sheets/methods/batch_get_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values/schema.js +25 -0
- package/dist/sheets/methods/batch_get_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js +22 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts +126 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +10 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts +130 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js +26 -0
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_update_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/handler.js +23 -0
- package/dist/sheets/methods/batch_update_values/handler.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/index.d.ts +48 -0
- package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/index.js +10 -0
- package/dist/sheets/methods/batch_update_values/index.js.map +1 -0
- package/dist/sheets/methods/batch_update_values/schema.d.ts +52 -0
- package/dist/sheets/methods/batch_update_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values/schema.js +46 -0
- package/dist/sheets/methods/batch_update_values/schema.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts +5 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js +35 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts +142 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +10 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts +146 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts.map +1 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js +46 -0
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js.map +1 -0
- package/dist/sheets/methods/clear_values/handler.d.ts +5 -0
- package/dist/sheets/methods/clear_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/handler.js +12 -0
- package/dist/sheets/methods/clear_values/handler.js.map +1 -0
- package/dist/sheets/methods/clear_values/index.d.ts +14 -0
- package/dist/sheets/methods/clear_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/index.js +16 -0
- package/dist/sheets/methods/clear_values/index.js.map +1 -0
- package/dist/sheets/methods/clear_values/schema.d.ts +13 -0
- package/dist/sheets/methods/clear_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/clear_values/schema.js +16 -0
- package/dist/sheets/methods/clear_values/schema.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/handler.d.ts +5 -0
- package/dist/sheets/methods/copy_sheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/handler.js +10 -0
- package/dist/sheets/methods/copy_sheet/handler.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/index.d.ts +28 -0
- package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/index.js +15 -0
- package/dist/sheets/methods/copy_sheet/index.js.map +1 -0
- package/dist/sheets/methods/copy_sheet/schema.d.ts +27 -0
- package/dist/sheets/methods/copy_sheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/copy_sheet/schema.js +14 -0
- package/dist/sheets/methods/copy_sheet/schema.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/handler.d.ts +5 -0
- package/dist/sheets/methods/create_spreadsheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/handler.js +16 -0
- package/dist/sheets/methods/create_spreadsheet/handler.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/index.d.ts +46 -0
- package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/index.js +16 -0
- package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts +50 -0
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/create_spreadsheet/schema.js +28 -0
- package/dist/sheets/methods/create_spreadsheet/schema.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/handler.d.ts +5 -0
- package/dist/sheets/methods/get_developer_metadata/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/handler.js +9 -0
- package/dist/sheets/methods/get_developer_metadata/handler.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/index.d.ts +33 -0
- package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/index.js +10 -0
- package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts +37 -0
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/schema.js +11 -0
- package/dist/sheets/methods/get_developer_metadata/schema.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/handler.d.ts +5 -0
- package/dist/sheets/methods/get_spreadsheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/handler.js +6 -0
- package/dist/sheets/methods/get_spreadsheet/handler.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/index.d.ts +42 -0
- package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/index.js +17 -0
- package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts +39 -0
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_spreadsheet/schema.js +10 -0
- package/dist/sheets/methods/get_spreadsheet/schema.js.map +1 -0
- package/dist/sheets/methods/get_values/handler.d.ts +5 -0
- package/dist/sheets/methods/get_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/handler.js +13 -0
- package/dist/sheets/methods/get_values/handler.js.map +1 -0
- package/dist/sheets/methods/get_values/index.d.ts +26 -0
- package/dist/sheets/methods/get_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/index.js +10 -0
- package/dist/sheets/methods/get_values/index.js.map +1 -0
- package/dist/sheets/methods/get_values/schema.d.ts +30 -0
- package/dist/sheets/methods/get_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/get_values/schema.js +19 -0
- package/dist/sheets/methods/get_values/schema.js.map +1 -0
- package/dist/sheets/methods/registry.d.ts +775 -0
- package/dist/sheets/methods/registry.d.ts.map +1 -0
- package/dist/sheets/methods/registry.js +45 -0
- package/dist/sheets/methods/registry.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/handler.d.ts +5 -0
- package/dist/sheets/methods/search_developer_metadata/handler.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/handler.js +17 -0
- package/dist/sheets/methods/search_developer_metadata/handler.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/index.d.ts +132 -0
- package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/index.js +10 -0
- package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts +136 -0
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/schema.js +25 -0
- package/dist/sheets/methods/search_developer_metadata/schema.js.map +1 -0
- package/dist/sheets/methods/update_values/handler.d.ts +5 -0
- package/dist/sheets/methods/update_values/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/handler.js +18 -0
- package/dist/sheets/methods/update_values/handler.js.map +1 -0
- package/dist/sheets/methods/update_values/index.d.ts +39 -0
- package/dist/sheets/methods/update_values/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/index.js +10 -0
- package/dist/sheets/methods/update_values/index.js.map +1 -0
- package/dist/sheets/methods/update_values/schema.d.ts +43 -0
- package/dist/sheets/methods/update_values/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_values/schema.js +29 -0
- package/dist/sheets/methods/update_values/schema.js.map +1 -0
- package/dist/sheets/operation.d.ts +12 -0
- package/dist/sheets/operation.d.ts.map +1 -0
- package/dist/sheets/operation.js +10 -0
- package/dist/sheets/operation.js.map +1 -0
- package/package.json +16 -5
|
@@ -0,0 +1,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.ZodOptional<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"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Event } from '../../entities/Event.js';
|
|
3
|
+
import { EventDateTime } from '../../entities/EventDateTime.js';
|
|
4
|
+
/**
|
|
5
|
+
* The full REST attendee shape, for writing. Unlike the tools' projection
|
|
6
|
+
* (entities/Attendee), `optional` keeps its REST name, and the read-only
|
|
7
|
+
* fields (id, organizer, self) are absent.
|
|
8
|
+
*/
|
|
9
|
+
const RestAttendee = z.object({
|
|
10
|
+
email: z.string().describe("The attendee's email address."),
|
|
11
|
+
displayName: z.string().optional().describe("The attendee's name."),
|
|
12
|
+
optional: z
|
|
13
|
+
.boolean()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('Whether this is an optional attendee. The default is false.'),
|
|
16
|
+
resource: z
|
|
17
|
+
.boolean()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('Whether the attendee is a resource (such as a meeting room). Can only be set when the attendee is first added to the event; later modifications are ignored. The default is false.'),
|
|
20
|
+
responseStatus: z
|
|
21
|
+
.enum(['needsAction', 'declined', 'tentative', 'accepted'])
|
|
22
|
+
.optional()
|
|
23
|
+
.describe("The attendee's response status."),
|
|
24
|
+
comment: z.string().optional().describe("The attendee's response comment."),
|
|
25
|
+
additionalGuests: z
|
|
26
|
+
.number()
|
|
27
|
+
.int()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('Number of additional guests. The default is 0.'),
|
|
30
|
+
});
|
|
31
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/patch */
|
|
32
|
+
export const schema = {
|
|
33
|
+
input: z.object({
|
|
34
|
+
eventId: z.string().describe('The ID of the event to patch.'),
|
|
35
|
+
calendarId: z
|
|
36
|
+
.string()
|
|
37
|
+
.optional()
|
|
38
|
+
.describe("The calendar ID of the event to patch. The default is the user's primary calendar."),
|
|
39
|
+
summary: z.string().optional().describe('The new title of the event.'),
|
|
40
|
+
description: z
|
|
41
|
+
.string()
|
|
42
|
+
.optional()
|
|
43
|
+
.describe('The new description of the event. Can contain HTML.'),
|
|
44
|
+
location: z.string().optional().describe('The new location of the event as free-form text.'),
|
|
45
|
+
start: EventDateTime.optional().describe('The new (inclusive) start of the event: date for an all-day event, dateTime otherwise.'),
|
|
46
|
+
end: EventDateTime.optional().describe('The new (exclusive) end of the event: date for an all-day event, dateTime otherwise.'),
|
|
47
|
+
recurrence: z
|
|
48
|
+
.array(z.string())
|
|
49
|
+
.optional()
|
|
50
|
+
.describe('List of RRULE, EXRULE, RDATE, and EXDATE lines for a recurring event, as specified in RFC5545. DTSTART and DTEND lines are not allowed; start and end carry those.'),
|
|
51
|
+
status: z
|
|
52
|
+
.enum(['confirmed', 'tentative', 'cancelled'])
|
|
53
|
+
.optional()
|
|
54
|
+
.describe('Status of the event: confirmed, tentative, or cancelled.'),
|
|
55
|
+
transparency: z
|
|
56
|
+
.enum(['opaque', 'transparent'])
|
|
57
|
+
.optional()
|
|
58
|
+
.describe('Whether the event blocks time on the calendar: opaque (shows as Busy) or transparent (shows as Available).'),
|
|
59
|
+
visibility: z
|
|
60
|
+
.enum(['default', 'public', 'private', 'confidential'])
|
|
61
|
+
.optional()
|
|
62
|
+
.describe('Visibility of the event: default, public, private, or confidential.'),
|
|
63
|
+
attendees: z
|
|
64
|
+
.array(RestAttendee)
|
|
65
|
+
.optional()
|
|
66
|
+
.describe('The full attendee list; if set, it replaces all existing attendees.'),
|
|
67
|
+
extendedProperties: z
|
|
68
|
+
.object({
|
|
69
|
+
private: z
|
|
70
|
+
.record(z.string(), z.string())
|
|
71
|
+
.optional()
|
|
72
|
+
.describe('Properties private to this copy of the event.'),
|
|
73
|
+
shared: z
|
|
74
|
+
.record(z.string(), z.string())
|
|
75
|
+
.optional()
|
|
76
|
+
.describe("Properties shared between copies of the event on other attendees' calendars."),
|
|
77
|
+
})
|
|
78
|
+
.optional()
|
|
79
|
+
.describe('Extended properties of the event: arbitrary string key-value pairs.'),
|
|
80
|
+
guestsCanInviteOthers: z
|
|
81
|
+
.boolean()
|
|
82
|
+
.optional()
|
|
83
|
+
.describe('Whether attendees other than the organizer can invite others to the event. The default is true.'),
|
|
84
|
+
guestsCanModify: z
|
|
85
|
+
.boolean()
|
|
86
|
+
.optional()
|
|
87
|
+
.describe('Whether attendees other than the organizer can modify the event. The default is false.'),
|
|
88
|
+
guestsCanSeeOtherGuests: z
|
|
89
|
+
.boolean()
|
|
90
|
+
.optional()
|
|
91
|
+
.describe("Whether attendees other than the organizer can see who the event's attendees are. The default is true."),
|
|
92
|
+
colorId: z
|
|
93
|
+
.string()
|
|
94
|
+
.optional()
|
|
95
|
+
.describe('The color of the event: an ID (1 through 11) referring to an entry in the event section of the colors definition.'),
|
|
96
|
+
sendUpdates: z
|
|
97
|
+
.enum(['all', 'externalOnly', 'none'])
|
|
98
|
+
.optional()
|
|
99
|
+
.describe('Which guests receive email notifications about the update: all, externalOnly (attendees outside Google Calendar only), or none.'),
|
|
100
|
+
conferenceDataVersion: z
|
|
101
|
+
.number()
|
|
102
|
+
.int()
|
|
103
|
+
.min(0)
|
|
104
|
+
.max(1)
|
|
105
|
+
.optional()
|
|
106
|
+
.describe("Version number of conference data supported by the client. Set 1 to carry the event's conference data through the patch; 0 (the default) ignores conference data."),
|
|
107
|
+
}),
|
|
108
|
+
output: Event,
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/patch_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE;;;;GAIG;AACH,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IAC3D,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;IACnE,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oLAAoL,CACrL;IACH,cAAc,EAAE,CAAC;SACd,IAAI,CAAC,CAAC,aAAa,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;SAC1D,QAAQ,EAAE;SACV,QAAQ,CAAC,iCAAiC,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kCAAkC,CAAC;IAC3E,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;CAC9D,CAAC,CAAC;AAEH,6FAA6F;AAC7F,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC7D,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,oFAAoF,CACrF;QACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;QACtE,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,qDAAqD,CAAC;QAClE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;QAC5F,KAAK,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtC,wFAAwF,CACzF;QACD,GAAG,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACpC,sFAAsF,CACvF;QACD,UAAU,EAAE,CAAC;aACV,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,EAAE;aACV,QAAQ,CACP,oKAAoK,CACrK;QACH,MAAM,EAAE,CAAC;aACN,IAAI,CAAC,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;aAC7C,QAAQ,EAAE;aACV,QAAQ,CAAC,0DAA0D,CAAC;QACvE,YAAY,EAAE,CAAC;aACZ,IAAI,CAAC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;aAC/B,QAAQ,EAAE;aACV,QAAQ,CACP,4GAA4G,CAC7G;QACH,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,cAAc,CAAC,CAAC;aACtD,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;QAClF,SAAS,EAAE,CAAC;aACT,KAAK,CAAC,YAAY,CAAC;aACnB,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;QAClF,kBAAkB,EAAE,CAAC;aAClB,MAAM,CAAC;YACN,OAAO,EAAE,CAAC;iBACP,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;iBAC9B,QAAQ,EAAE;iBACV,QAAQ,CAAC,+CAA+C,CAAC;YAC5D,MAAM,EAAE,CAAC;iBACN,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;iBAC9B,QAAQ,EAAE;iBACV,QAAQ,CAAC,8EAA8E,CAAC;SAC5F,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;QAClF,qBAAqB,EAAE,CAAC;aACrB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,iGAAiG,CAClG;QACH,eAAe,EAAE,CAAC;aACf,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,wFAAwF,CACzF;QACH,uBAAuB,EAAE,CAAC;aACvB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,wGAAwG,CACzG;QACH,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,mHAAmH,CACpH;QACH,WAAW,EAAE,CAAC;aACX,IAAI,CAAC,CAAC,KAAK,EAAE,cAAc,EAAE,MAAM,CAAC,CAAC;aACrC,QAAQ,EAAE;aACV,QAAQ,CACP,iIAAiI,CAClI;QACH,qBAAqB,EAAE,CAAC;aACrB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,mKAAmK,CACpK;KACJ,CAAC;IACF,MAAM,EAAE,KAAK;CACd,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Event } from '../../entities/Event.js';\nimport { EventDateTime } from '../../entities/EventDateTime.js';\n\n/**\n * The full REST attendee shape, for writing. Unlike the tools' projection\n * (entities/Attendee), `optional` keeps its REST name, and the read-only\n * fields (id, organizer, self) are absent.\n */\nconst RestAttendee = z.object({\n email: z.string().describe(\"The attendee's email address.\"),\n displayName: z.string().optional().describe(\"The attendee's name.\"),\n optional: z\n .boolean()\n .optional()\n .describe('Whether this is an optional attendee. The default is false.'),\n resource: z\n .boolean()\n .optional()\n .describe(\n 'Whether the attendee is a resource (such as a meeting room). Can only be set when the attendee is first added to the event; later modifications are ignored. The default is false.',\n ),\n responseStatus: z\n .enum(['needsAction', 'declined', 'tentative', 'accepted'])\n .optional()\n .describe(\"The attendee's response status.\"),\n comment: z.string().optional().describe(\"The attendee's response comment.\"),\n additionalGuests: z\n .number()\n .int()\n .optional()\n .describe('Number of additional guests. The default is 0.'),\n});\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/patch */\nexport const schema = {\n input: z.object({\n eventId: z.string().describe('The ID of the event to patch.'),\n calendarId: z\n .string()\n .optional()\n .describe(\n \"The calendar ID of the event to patch. The default is the user's primary calendar.\",\n ),\n summary: z.string().optional().describe('The new title of the event.'),\n description: z\n .string()\n .optional()\n .describe('The new description of the event. Can contain HTML.'),\n location: z.string().optional().describe('The new location of the event as free-form text.'),\n start: EventDateTime.optional().describe(\n 'The new (inclusive) start of the event: date for an all-day event, dateTime otherwise.',\n ),\n end: EventDateTime.optional().describe(\n 'The new (exclusive) end of the event: date for an all-day event, dateTime otherwise.',\n ),\n recurrence: z\n .array(z.string())\n .optional()\n .describe(\n 'List of RRULE, EXRULE, RDATE, and EXDATE lines for a recurring event, as specified in RFC5545. DTSTART and DTEND lines are not allowed; start and end carry those.',\n ),\n status: z\n .enum(['confirmed', 'tentative', 'cancelled'])\n .optional()\n .describe('Status of the event: confirmed, tentative, or cancelled.'),\n transparency: z\n .enum(['opaque', 'transparent'])\n .optional()\n .describe(\n 'Whether the event blocks time on the calendar: opaque (shows as Busy) or transparent (shows as Available).',\n ),\n visibility: z\n .enum(['default', 'public', 'private', 'confidential'])\n .optional()\n .describe('Visibility of the event: default, public, private, or confidential.'),\n attendees: z\n .array(RestAttendee)\n .optional()\n .describe('The full attendee list; if set, it replaces all existing attendees.'),\n extendedProperties: z\n .object({\n private: z\n .record(z.string(), z.string())\n .optional()\n .describe('Properties private to this copy of the event.'),\n shared: z\n .record(z.string(), z.string())\n .optional()\n .describe(\"Properties shared between copies of the event on other attendees' calendars.\"),\n })\n .optional()\n .describe('Extended properties of the event: arbitrary string key-value pairs.'),\n guestsCanInviteOthers: z\n .boolean()\n .optional()\n .describe(\n 'Whether attendees other than the organizer can invite others to the event. The default is true.',\n ),\n guestsCanModify: z\n .boolean()\n .optional()\n .describe(\n 'Whether attendees other than the organizer can modify the event. The default is false.',\n ),\n guestsCanSeeOtherGuests: z\n .boolean()\n .optional()\n .describe(\n \"Whether attendees other than the organizer can see who the event's attendees are. The default is true.\",\n ),\n colorId: z\n .string()\n .optional()\n .describe(\n 'The color of the event: an ID (1 through 11) referring to an entry in the event section of the colors definition.',\n ),\n sendUpdates: z\n .enum(['all', 'externalOnly', 'none'])\n .optional()\n .describe(\n 'Which guests receive email notifications about the update: all, externalOnly (attendees outside Google Calendar only), or none.',\n ),\n conferenceDataVersion: z\n .number()\n .int()\n .min(0)\n .max(1)\n .optional()\n .describe(\n \"Version number of conference data supported by the client. Set 1 to carry the event's conference data through the patch; 0 (the default) ignores conference data.\",\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/query_free_busy/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,CAmBxC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectFreeBusyCalendar } from '../../lib/freebusy.js';
|
|
3
|
+
export async function handler(calendar, args) {
|
|
4
|
+
const { data } = await calendar.freebusy.query({
|
|
5
|
+
requestBody: forGoogle({
|
|
6
|
+
timeMin: args.timeMin,
|
|
7
|
+
timeMax: args.timeMax,
|
|
8
|
+
timeZone: args.timeZone,
|
|
9
|
+
items: args.items,
|
|
10
|
+
}),
|
|
11
|
+
});
|
|
12
|
+
return {
|
|
13
|
+
timeMin: data.timeMin ?? undefined,
|
|
14
|
+
timeMax: data.timeMax ?? undefined,
|
|
15
|
+
calendars: Object.fromEntries(Object.entries(data.calendars ?? {}).map(([id, entry]) => [
|
|
16
|
+
id,
|
|
17
|
+
projectFreeBusyCalendar(entry),
|
|
18
|
+
])),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/query_free_busy/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAGhE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC7C,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EAAE,IAAI,CAAC,KAAK;SAClB,CAAC;KACH,CAAC,CAAC;IACH,OAAO;QACL,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS;QAClC,OAAO,EAAE,IAAI,CAAC,OAAO,IAAI,SAAS;QAClC,SAAS,EAAE,MAAM,CAAC,WAAW,CAC3B,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC;YACxD,EAAE;YACF,uBAAuB,CAAC,KAAK,CAAC;SAC/B,CAAC,CACH;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectFreeBusyCalendar } from '../../lib/freebusy.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n calendar: calendar_v3.Calendar,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await calendar.freebusy.query({\n requestBody: forGoogle({\n timeMin: args.timeMin,\n timeMax: args.timeMax,\n timeZone: args.timeZone,\n items: args.items,\n }),\n });\n return {\n timeMin: data.timeMin ?? undefined,\n timeMax: data.timeMax ?? undefined,\n calendars: Object.fromEntries(\n Object.entries(data.calendars ?? {}).map(([id, entry]) => [\n id,\n projectFreeBusyCalendar(entry),\n ]),\n ),\n };\n}\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query
|
|
3
|
+
*
|
|
4
|
+
* The raw busy intervals per calendar. The suggest_time tool builds on this
|
|
5
|
+
* same query and computes open slots; this method returns what Google reports,
|
|
6
|
+
* untransformed.
|
|
7
|
+
*/
|
|
8
|
+
export declare const query_free_busy: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
9
|
+
timeMin: import("zod").ZodString;
|
|
10
|
+
timeMax: import("zod").ZodString;
|
|
11
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
items: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13
|
+
id: import("zod").ZodString;
|
|
14
|
+
}, import("zod/v4/core").$strip>>;
|
|
15
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
16
|
+
timeMin: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
timeMax: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
calendars: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
19
|
+
busy: import("zod").ZodArray<import("zod").ZodObject<{
|
|
20
|
+
start: import("zod").ZodString;
|
|
21
|
+
end: import("zod").ZodString;
|
|
22
|
+
}, import("zod/v4/core").$strip>>;
|
|
23
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
24
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
26
|
+
}, import("zod/v4/core").$strip>>>;
|
|
27
|
+
}, import("zod/v4/core").$strip>>;
|
|
28
|
+
}, import("zod/v4/core").$strip>>;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/query_free_busy/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;iCAI1B,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/freebusy/query
|
|
6
|
+
*
|
|
7
|
+
* The raw busy intervals per calendar. The suggest_time tool builds on this
|
|
8
|
+
* same query and computes open slots; this method returns what Google reports,
|
|
9
|
+
* untransformed.
|
|
10
|
+
*/
|
|
11
|
+
export const query_free_busy = calendarOperation({
|
|
12
|
+
description: 'Query the busy intervals of a set of calendars over a time window.',
|
|
13
|
+
schema,
|
|
14
|
+
handler,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/query_free_busy/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,oEAAoE;IACjF,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/freebusy/query\n *\n * The raw busy intervals per calendar. The suggest_time tool builds on this\n * same query and computes open slots; this method returns what Google reports,\n * untransformed.\n */\nexport const query_free_busy = calendarOperation({\n description: 'Query the busy intervals of a set of calendars over a time window.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
timeMin: z.ZodString;
|
|
6
|
+
timeMax: z.ZodString;
|
|
7
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
8
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
output: z.ZodObject<{
|
|
13
|
+
timeMin: z.ZodOptional<z.ZodString>;
|
|
14
|
+
timeMax: z.ZodOptional<z.ZodString>;
|
|
15
|
+
calendars: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
16
|
+
busy: z.ZodArray<z.ZodObject<{
|
|
17
|
+
start: z.ZodString;
|
|
18
|
+
end: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
22
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/query_free_busy/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,+FAA+F;AAC/F,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CAmClB,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FreeBusyCalendar } from '../../entities/FreeBusy.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
timeMin: z
|
|
7
|
+
.string()
|
|
8
|
+
.describe('The start of the interval for the query, as an RFC3339 timestamp.'),
|
|
9
|
+
timeMax: z.string().describe('The end of the interval for the query, as an RFC3339 timestamp.'),
|
|
10
|
+
timeZone: z
|
|
11
|
+
.string()
|
|
12
|
+
.optional()
|
|
13
|
+
.describe('Time zone used in the response, as an IANA Time Zone Database name. The default is UTC.'),
|
|
14
|
+
items: z
|
|
15
|
+
.array(z.object({
|
|
16
|
+
id: z
|
|
17
|
+
.string()
|
|
18
|
+
.describe("A calendar id to query; use 'primary' for the user's primary calendar."),
|
|
19
|
+
}))
|
|
20
|
+
.describe('The calendars to query.'),
|
|
21
|
+
}),
|
|
22
|
+
output: z.object({
|
|
23
|
+
timeMin: z
|
|
24
|
+
.string()
|
|
25
|
+
.optional()
|
|
26
|
+
.describe('The start of the queried interval, as an RFC3339 timestamp.'),
|
|
27
|
+
timeMax: z
|
|
28
|
+
.string()
|
|
29
|
+
.optional()
|
|
30
|
+
.describe('The end of the queried interval, as an RFC3339 timestamp.'),
|
|
31
|
+
calendars: z
|
|
32
|
+
.record(z.string(), FreeBusyCalendar)
|
|
33
|
+
.describe('Free/busy information per queried calendar id.'),
|
|
34
|
+
}),
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/query_free_busy/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,+FAA+F;AAC/F,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,mEAAmE,CAAC;QAChF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iEAAiE,CAAC;QAC/F,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,yFAAyF,CAC1F;QACH,KAAK,EAAE,CAAC;aACL,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,EAAE,EAAE,CAAC;iBACF,MAAM,EAAE;iBACR,QAAQ,CAAC,wEAAwE,CAAC;SACtF,CAAC,CACH;aACA,QAAQ,CAAC,yBAAyB,CAAC;KACvC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,6DAA6D,CAAC;QAC1E,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,2DAA2D,CAAC;QACxE,SAAS,EAAE,CAAC;aACT,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,gBAAgB,CAAC;aACpC,QAAQ,CAAC,gDAAgD,CAAC;KAC9D,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { FreeBusyCalendar } from '../../entities/FreeBusy.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query */\nexport const schema = {\n input: z.object({\n timeMin: z\n .string()\n .describe('The start of the interval for the query, as an RFC3339 timestamp.'),\n timeMax: z.string().describe('The end of the interval for the query, as an RFC3339 timestamp.'),\n timeZone: z\n .string()\n .optional()\n .describe(\n 'Time zone used in the response, as an IANA Time Zone Database name. The default is UTC.',\n ),\n items: z\n .array(\n z.object({\n id: z\n .string()\n .describe(\"A calendar id to query; use 'primary' for the user's primary calendar.\"),\n }),\n )\n .describe('The calendars to query.'),\n }),\n output: z.object({\n timeMin: z\n .string()\n .optional()\n .describe('The start of the queried interval, as an RFC3339 timestamp.'),\n timeMax: z\n .string()\n .optional()\n .describe('The end of the queried interval, as an RFC3339 timestamp.'),\n calendars: z\n .record(z.string(), FreeBusyCalendar)\n .describe('Free/busy information per queried calendar id.'),\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/quick_add_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,CASxC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
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.quickAdd(forGoogle({
|
|
5
|
+
calendarId: args.calendarId ?? 'primary',
|
|
6
|
+
text: args.text,
|
|
7
|
+
sendUpdates: args.sendUpdates,
|
|
8
|
+
}));
|
|
9
|
+
return projectEvent(data);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/quick_add_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,QAAQ,CAC7C,SAAS,CAAC;QACR,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,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.quickAdd(\n forGoogle({\n calendarId: args.calendarId ?? 'primary',\n text: args.text,\n sendUpdates: args.sendUpdates,\n }),\n );\n return projectEvent(data);\n}\n"]}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/calendar/api/v3/reference/events/quickAdd
|
|
3
|
+
*
|
|
4
|
+
* Google parses the text into a title, time, and location (the same parser as
|
|
5
|
+
* the Calendar UI's quick-add box). For structured input use create_event,
|
|
6
|
+
* which controls each field explicitly.
|
|
7
|
+
*/
|
|
8
|
+
export declare const quick_add_event: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
|
|
9
|
+
text: import("zod").ZodString;
|
|
10
|
+
calendarId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
sendUpdates: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
12
|
+
all: "all";
|
|
13
|
+
externalOnly: "externalOnly";
|
|
14
|
+
none: "none";
|
|
15
|
+
}>>;
|
|
16
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
17
|
+
id: import("zod").ZodString;
|
|
18
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
htmlLink: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
created: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
updated: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
summary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
location: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
creator: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
26
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
28
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
29
|
+
}, import("zod/v4/core").$strip>>;
|
|
30
|
+
organizer: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
31
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
32
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
34
|
+
}, import("zod/v4/core").$strip>>;
|
|
35
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
36
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
39
|
+
}, import("zod/v4/core").$strip>>;
|
|
40
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
41
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
42
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
|
+
}, import("zod/v4/core").$strip>>;
|
|
45
|
+
recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
46
|
+
recurringEventId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
originalStartTime: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
48
|
+
date: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
dateTime: import("zod").ZodOptional<import("zod").ZodString>;
|
|
50
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
51
|
+
}, import("zod/v4/core").$strip>>;
|
|
52
|
+
transparency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
|
+
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
|
+
attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
55
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
|
+
email: import("zod").ZodString;
|
|
57
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
58
|
+
organizer: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
59
|
+
self: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
60
|
+
resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
61
|
+
optionalAttendee: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
62
|
+
responseStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
comment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
65
|
+
}, import("zod/v4/core").$strip>>>;
|
|
66
|
+
eventType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
|
+
conferenceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
68
|
+
colorId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
overrideReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
70
|
+
method: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
71
|
+
email: "email";
|
|
72
|
+
popup: "popup";
|
|
73
|
+
}>>;
|
|
74
|
+
minutes: import("zod").ZodNumber;
|
|
75
|
+
}, import("zod/v4/core").$strip>>>;
|
|
76
|
+
}, import("zod/v4/core").$strip>>;
|
|
77
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/quick_add_event/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAI1B,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/events/quickAdd
|
|
6
|
+
*
|
|
7
|
+
* Google parses the text into a title, time, and location (the same parser as
|
|
8
|
+
* the Calendar UI's quick-add box). For structured input use create_event,
|
|
9
|
+
* which controls each field explicitly.
|
|
10
|
+
*/
|
|
11
|
+
export const quick_add_event = calendarOperation({
|
|
12
|
+
description: 'Create an event from a natural-language description.',
|
|
13
|
+
schema,
|
|
14
|
+
handler,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/quick_add_event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,sDAAsD;IACnE,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/quickAdd\n *\n * Google parses the text into a title, time, and location (the same parser as\n * the Calendar UI's quick-add box). For structured input use create_event,\n * which controls each field explicitly.\n */\nexport const quick_add_event = calendarOperation({\n description: 'Create an event from a natural-language description.',\n schema,\n handler,\n});\n"]}
|