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,10 @@
|
|
|
1
|
+
import { projectSheetProperties } from '../../lib/spreadsheet.js';
|
|
2
|
+
export async function handler(sheets, args) {
|
|
3
|
+
const { data } = await sheets.spreadsheets.sheets.copyTo({
|
|
4
|
+
spreadsheetId: args.spreadsheetId,
|
|
5
|
+
sheetId: args.sheetId,
|
|
6
|
+
requestBody: { destinationSpreadsheetId: args.destinationSpreadsheetId },
|
|
7
|
+
});
|
|
8
|
+
return projectSheetProperties(data);
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/copy_sheet/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,MAAM,CAAC;QACvD,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,WAAW,EAAE,EAAE,wBAAwB,EAAE,IAAI,CAAC,wBAAwB,EAAE;KACzE,CAAC,CAAC;IACH,OAAO,sBAAsB,CAAC,IAAI,CAAC,CAAC;AACtC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { projectSheetProperties } from '../../lib/spreadsheet.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.sheets.copyTo({\n spreadsheetId: args.spreadsheetId,\n sheetId: args.sheetId,\n requestBody: { destinationSpreadsheetId: args.destinationSpreadsheetId },\n });\n return projectSheetProperties(data);\n}\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo
|
|
3
|
+
*
|
|
4
|
+
* Returns the properties of the newly created sheet; in the destination its
|
|
5
|
+
* title arrives as "Copy of <source title>".
|
|
6
|
+
*/
|
|
7
|
+
export declare const copy_sheet: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
8
|
+
spreadsheetId: import("zod").ZodString;
|
|
9
|
+
sheetId: import("zod").ZodNumber;
|
|
10
|
+
destinationSpreadsheetId: import("zod").ZodString;
|
|
11
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
12
|
+
sheetId: import("zod").ZodNumber;
|
|
13
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
index: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15
|
+
sheetType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
16
|
+
GRID: "GRID";
|
|
17
|
+
OBJECT: "OBJECT";
|
|
18
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
19
|
+
}>>;
|
|
20
|
+
gridProperties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
21
|
+
rowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
22
|
+
columnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
23
|
+
frozenRowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
24
|
+
frozenColumnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
25
|
+
}, import("zod/v4/core").$strip>>;
|
|
26
|
+
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
27
|
+
}, import("zod/v4/core").$strip>>;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/copy_sheet/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;iCAKrB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { sheetsOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo
|
|
6
|
+
*
|
|
7
|
+
* Returns the properties of the newly created sheet; in the destination its
|
|
8
|
+
* title arrives as "Copy of <source title>".
|
|
9
|
+
*/
|
|
10
|
+
export const copy_sheet = sheetsOperation({
|
|
11
|
+
description: 'Copy a single sheet (tab) from a spreadsheet to another spreadsheet (or the same one); returns the properties of the new sheet.',
|
|
12
|
+
schema,
|
|
13
|
+
handler,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/copy_sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,WAAW,EACT,iIAAiI;IACnI,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo\n *\n * Returns the properties of the newly created sheet; in the destination its\n * title arrives as \"Copy of <source title>\".\n */\nexport const copy_sheet = sheetsOperation({\n description:\n 'Copy a single sheet (tab) from a spreadsheet to another spreadsheet (or the same one); returns the properties of the new sheet.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
sheetId: z.ZodNumber;
|
|
7
|
+
destinationSpreadsheetId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
output: z.ZodObject<{
|
|
10
|
+
sheetId: z.ZodNumber;
|
|
11
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
sheetType: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
GRID: "GRID";
|
|
15
|
+
OBJECT: "OBJECT";
|
|
16
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
17
|
+
}>>;
|
|
18
|
+
gridProperties: z.ZodOptional<z.ZodObject<{
|
|
19
|
+
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
columnCount: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
frozenRowCount: z.ZodOptional<z.ZodNumber>;
|
|
22
|
+
frozenColumnCount: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/copy_sheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8GAA8G;AAC9G,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CASlB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { SheetProperties } from '../../entities/SheetProperties.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet containing the sheet to copy.'),
|
|
7
|
+
sheetId: z.number().int().describe('The ID of the sheet to copy.'),
|
|
8
|
+
destinationSpreadsheetId: z
|
|
9
|
+
.string()
|
|
10
|
+
.describe('The ID of the spreadsheet to copy the sheet to (may be the same spreadsheet).'),
|
|
11
|
+
}),
|
|
12
|
+
output: SheetProperties,
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/copy_sheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,8GAA8G;AAC9G,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;QAC7F,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAClE,wBAAwB,EAAE,CAAC;aACxB,MAAM,EAAE;aACR,QAAQ,CAAC,+EAA+E,CAAC;KAC7F,CAAC;IACF,MAAM,EAAE,eAAe;CACxB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { SheetProperties } from '../../entities/SheetProperties.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet containing the sheet to copy.'),\n sheetId: z.number().int().describe('The ID of the sheet to copy.'),\n destinationSpreadsheetId: z\n .string()\n .describe('The ID of the spreadsheet to copy the sheet to (may be the same spreadsheet).'),\n }),\n output: SheetProperties,\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { sheets_v4 } from '@googleapis/sheets';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { schema } from './schema.js';
|
|
4
|
+
export declare function handler(sheets: sheets_v4.Sheets, 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/sheets/methods/create_spreadsheet/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAYxC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectSpreadsheet } from '../../lib/spreadsheet.js';
|
|
3
|
+
export async function handler(sheets, args) {
|
|
4
|
+
const { data } = await sheets.spreadsheets.create({
|
|
5
|
+
requestBody: forGoogle({
|
|
6
|
+
properties: forGoogle({
|
|
7
|
+
title: args.title,
|
|
8
|
+
locale: args.locale,
|
|
9
|
+
timeZone: args.timeZone,
|
|
10
|
+
}),
|
|
11
|
+
sheets: args.sheets?.map((sheet) => ({ properties: { title: sheet.title } })),
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
return projectSpreadsheet(data);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC;QAChD,WAAW,EAAE,SAAS,CAAC;YACrB,UAAU,EAAE,SAAS,CAAC;gBACpB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;SAC9E,CAAC;KACH,CAAC,CAAC;IACH,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectSpreadsheet } from '../../lib/spreadsheet.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.create({\n requestBody: forGoogle({\n properties: forGoogle({\n title: args.title,\n locale: args.locale,\n timeZone: args.timeZone,\n }),\n sheets: args.sheets?.map((sheet) => ({ properties: { title: sheet.title } })),\n }),\n });\n return projectSpreadsheet(data);\n}\n"]}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
|
|
3
|
+
*
|
|
4
|
+
* The new spreadsheet lands in the account's Drive root. The Sheets API has no
|
|
5
|
+
* delete: removing a spreadsheet is Drive's `files.delete`, outside this
|
|
6
|
+
* server's surface.
|
|
7
|
+
*/
|
|
8
|
+
export declare const create_spreadsheet: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
9
|
+
title: import("zod").ZodString;
|
|
10
|
+
locale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
13
|
+
title: import("zod").ZodString;
|
|
14
|
+
}, import("zod/v4/core").$strip>>>;
|
|
15
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
16
|
+
spreadsheetId: import("zod").ZodString;
|
|
17
|
+
spreadsheetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
properties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
19
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
20
|
+
locale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
+
autoRecalc: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
23
|
+
ON_CHANGE: "ON_CHANGE";
|
|
24
|
+
MINUTE: "MINUTE";
|
|
25
|
+
HOUR: "HOUR";
|
|
26
|
+
}>>;
|
|
27
|
+
}, import("zod/v4/core").$strip>>;
|
|
28
|
+
sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
29
|
+
sheetId: import("zod").ZodNumber;
|
|
30
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
31
|
+
index: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
|
+
sheetType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
33
|
+
GRID: "GRID";
|
|
34
|
+
OBJECT: "OBJECT";
|
|
35
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
36
|
+
}>>;
|
|
37
|
+
gridProperties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
38
|
+
rowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
39
|
+
columnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
40
|
+
frozenRowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
41
|
+
frozenColumnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
42
|
+
}, import("zod/v4/core").$strip>>;
|
|
43
|
+
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
44
|
+
}, import("zod/v4/core").$strip>>>;
|
|
45
|
+
}, import("zod/v4/core").$strip>>;
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK7B,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { sheetsOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
|
|
6
|
+
*
|
|
7
|
+
* The new spreadsheet lands in the account's Drive root. The Sheets API has no
|
|
8
|
+
* delete: removing a spreadsheet is Drive's `files.delete`, outside this
|
|
9
|
+
* server's surface.
|
|
10
|
+
*/
|
|
11
|
+
export const create_spreadsheet = sheetsOperation({
|
|
12
|
+
description: 'Create a spreadsheet with a title and optionally named sheets (tabs); returns the new spreadsheet and its id.',
|
|
13
|
+
schema,
|
|
14
|
+
handler,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAChD,WAAW,EACT,+GAA+G;IACjH,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create\n *\n * The new spreadsheet lands in the account's Drive root. The Sheets API has no\n * delete: removing a spreadsheet is Drive's `files.delete`, outside this\n * server's surface.\n */\nexport const create_spreadsheet = sheetsOperation({\n description:\n 'Create a spreadsheet with a title and optionally named sheets (tabs); returns the new spreadsheet and its id.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
|
|
4
|
+
*
|
|
5
|
+
* The REST body is a full Spreadsheet resource; this input is the curated
|
|
6
|
+
* subset that makes sense at creation time (the rest of the resource is
|
|
7
|
+
* formatting and grid data, deferred with issues #27 and #28).
|
|
8
|
+
*/
|
|
9
|
+
export declare const schema: {
|
|
10
|
+
input: z.ZodObject<{
|
|
11
|
+
title: z.ZodString;
|
|
12
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
13
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
title: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
output: z.ZodObject<{
|
|
19
|
+
spreadsheetId: z.ZodString;
|
|
20
|
+
spreadsheetUrl: z.ZodOptional<z.ZodString>;
|
|
21
|
+
properties: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
title: z.ZodOptional<z.ZodString>;
|
|
23
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
24
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
25
|
+
autoRecalc: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
ON_CHANGE: "ON_CHANGE";
|
|
27
|
+
MINUTE: "MINUTE";
|
|
28
|
+
HOUR: "HOUR";
|
|
29
|
+
}>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
+
sheetId: z.ZodNumber;
|
|
33
|
+
title: z.ZodOptional<z.ZodString>;
|
|
34
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
sheetType: z.ZodOptional<z.ZodEnum<{
|
|
36
|
+
GRID: "GRID";
|
|
37
|
+
OBJECT: "OBJECT";
|
|
38
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
39
|
+
}>>;
|
|
40
|
+
gridProperties: z.ZodOptional<z.ZodObject<{
|
|
41
|
+
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
columnCount: z.ZodOptional<z.ZodNumber>;
|
|
43
|
+
frozenRowCount: z.ZodOptional<z.ZodNumber>;
|
|
44
|
+
frozenColumnCount: z.ZodOptional<z.ZodNumber>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
}, z.core.$strip>>>;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { Spreadsheet } from '../../entities/Spreadsheet.js';
|
|
3
|
+
/**
|
|
4
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
|
|
5
|
+
*
|
|
6
|
+
* The REST body is a full Spreadsheet resource; this input is the curated
|
|
7
|
+
* subset that makes sense at creation time (the rest of the resource is
|
|
8
|
+
* formatting and grid data, deferred with issues #27 and #28).
|
|
9
|
+
*/
|
|
10
|
+
export const schema = {
|
|
11
|
+
input: z.object({
|
|
12
|
+
title: z.string().describe('The title of the spreadsheet.'),
|
|
13
|
+
locale: z
|
|
14
|
+
.string()
|
|
15
|
+
.optional()
|
|
16
|
+
.describe('The locale of the spreadsheet: an ISO 639-1 code such as en, an ISO 639-2 code such as fil, or a language+country combination such as en_US.'),
|
|
17
|
+
timeZone: z
|
|
18
|
+
.string()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe('The time zone of the spreadsheet, in CLDR format such as America/New_York.'),
|
|
21
|
+
sheets: z
|
|
22
|
+
.array(z.object({ title: z.string().describe('The name of the sheet.') }))
|
|
23
|
+
.optional()
|
|
24
|
+
.describe('The sheets (tabs) to create the spreadsheet with, by title. Omitted, the spreadsheet gets one default sheet.'),
|
|
25
|
+
}),
|
|
26
|
+
output: Spreadsheet,
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC3D,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,8IAA8I,CAC/I;QACH,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;QACzF,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;aACzE,QAAQ,EAAE;aACV,QAAQ,CACP,8GAA8G,CAC/G;KACJ,CAAC;IACF,MAAM,EAAE,WAAW;CACpB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Spreadsheet } from '../../entities/Spreadsheet.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create\n *\n * The REST body is a full Spreadsheet resource; this input is the curated\n * subset that makes sense at creation time (the rest of the resource is\n * formatting and grid data, deferred with issues #27 and #28).\n */\nexport const schema = {\n input: z.object({\n title: z.string().describe('The title of the spreadsheet.'),\n locale: z\n .string()\n .optional()\n .describe(\n 'The locale of the spreadsheet: an ISO 639-1 code such as en, an ISO 639-2 code such as fil, or a language+country combination such as en_US.',\n ),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the spreadsheet, in CLDR format such as America/New_York.'),\n sheets: z\n .array(z.object({ title: z.string().describe('The name of the sheet.') }))\n .optional()\n .describe(\n 'The sheets (tabs) to create the spreadsheet with, by title. Omitted, the spreadsheet gets one default sheet.',\n ),\n }),\n output: Spreadsheet,\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { sheets_v4 } from '@googleapis/sheets';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { schema } from './schema.js';
|
|
4
|
+
export declare function handler(sheets: sheets_v4.Sheets, 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/sheets/methods/get_developer_metadata/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAMxC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { projectDeveloperMetadata } from '../../lib/metadata.js';
|
|
2
|
+
export async function handler(sheets, args) {
|
|
3
|
+
const { data } = await sheets.spreadsheets.developerMetadata.get({
|
|
4
|
+
spreadsheetId: args.spreadsheetId,
|
|
5
|
+
metadataId: args.metadataId,
|
|
6
|
+
});
|
|
7
|
+
return projectDeveloperMetadata(data);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC,GAAG,CAAC;QAC/D,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,CAAC,CAAC;IACH,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { projectDeveloperMetadata } from '../../lib/metadata.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.developerMetadata.get({\n spreadsheetId: args.spreadsheetId,\n metadataId: args.metadataId,\n });\n return projectDeveloperMetadata(data);\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
|
|
2
|
+
export declare const get_developer_metadata: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
3
|
+
spreadsheetId: import("zod").ZodString;
|
|
4
|
+
metadataId: import("zod").ZodNumber;
|
|
5
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
6
|
+
metadataId: import("zod").ZodNumber;
|
|
7
|
+
metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
8
|
+
metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
location: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
10
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
11
|
+
ROW: "ROW";
|
|
12
|
+
COLUMN: "COLUMN";
|
|
13
|
+
SHEET: "SHEET";
|
|
14
|
+
SPREADSHEET: "SPREADSHEET";
|
|
15
|
+
}>>;
|
|
16
|
+
spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
18
|
+
dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
19
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
20
|
+
dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
21
|
+
ROWS: "ROWS";
|
|
22
|
+
COLUMNS: "COLUMNS";
|
|
23
|
+
}>>;
|
|
24
|
+
startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
25
|
+
endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
26
|
+
}, import("zod/v4/core").$strip>>;
|
|
27
|
+
}, import("zod/v4/core").$strip>>;
|
|
28
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29
|
+
DOCUMENT: "DOCUMENT";
|
|
30
|
+
PROJECT: "PROJECT";
|
|
31
|
+
}>>;
|
|
32
|
+
}, import("zod/v4/core").$strip>>;
|
|
33
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/index.ts"],"names":[],"mappings":"AAIA,sHAAsH;AACtH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIjC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { sheetsOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
|
|
5
|
+
export const get_developer_metadata = sheetsOperation({
|
|
6
|
+
description: 'Get one developer metadata entry by its spreadsheet-scoped id.',
|
|
7
|
+
schema,
|
|
8
|
+
handler,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,sHAAsH;AACtH,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC;IACpD,WAAW,EAAE,gEAAgE;IAC7E,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */\nexport const get_developer_metadata = sheetsOperation({\n description: 'Get one developer metadata entry by its spreadsheet-scoped id.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
metadataId: z.ZodNumber;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
output: z.ZodObject<{
|
|
9
|
+
metadataId: z.ZodNumber;
|
|
10
|
+
metadataKey: z.ZodOptional<z.ZodString>;
|
|
11
|
+
metadataValue: z.ZodOptional<z.ZodString>;
|
|
12
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
ROW: "ROW";
|
|
15
|
+
COLUMN: "COLUMN";
|
|
16
|
+
SHEET: "SHEET";
|
|
17
|
+
SPREADSHEET: "SPREADSHEET";
|
|
18
|
+
}>>;
|
|
19
|
+
spreadsheet: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
dimension: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
ROWS: "ROWS";
|
|
25
|
+
COLUMNS: "COLUMNS";
|
|
26
|
+
}>>;
|
|
27
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
DOCUMENT: "DOCUMENT";
|
|
33
|
+
PROJECT: "PROJECT";
|
|
34
|
+
}>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,sHAAsH;AACtH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DeveloperMetadata } from '../../entities/DeveloperMetadata.js';
|
|
3
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
|
|
4
|
+
export const schema = {
|
|
5
|
+
input: z.object({
|
|
6
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve metadata from.'),
|
|
7
|
+
metadataId: z.number().int().describe('The ID of the developer metadata to retrieve.'),
|
|
8
|
+
}),
|
|
9
|
+
output: DeveloperMetadata,
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC;QAC1F,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;KACvF,CAAC;IACF,MAAM,EAAE,iBAAiB;CAC1B,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DeveloperMetadata } from '../../entities/DeveloperMetadata.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve metadata from.'),\n metadataId: z.number().int().describe('The ID of the developer metadata to retrieve.'),\n }),\n output: DeveloperMetadata,\n};\n"]}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { sheets_v4 } from '@googleapis/sheets';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
|
+
import type { schema } from './schema.js';
|
|
4
|
+
export declare function handler(sheets: sheets_v4.Sheets, 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/sheets/methods/get_spreadsheet/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,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 { projectSpreadsheet } from '../../lib/spreadsheet.js';
|
|
2
|
+
export async function handler(sheets, args) {
|
|
3
|
+
const { data } = await sheets.spreadsheets.get({ spreadsheetId: args.spreadsheetId });
|
|
4
|
+
return projectSpreadsheet(data);
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;IACtF,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { projectSpreadsheet } from '../../lib/spreadsheet.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.get({ spreadsheetId: args.spreadsheetId });\n return projectSpreadsheet(data);\n}\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get
|
|
3
|
+
*
|
|
4
|
+
* Metadata only by design: the projection carries identity, spreadsheet
|
|
5
|
+
* properties, and per-sheet properties; grid data (per-cell formatting,
|
|
6
|
+
* validation, notes) is not exposed (issue #28). Cell contents are read with
|
|
7
|
+
* the values operations.
|
|
8
|
+
*/
|
|
9
|
+
export declare const get_spreadsheet: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
10
|
+
spreadsheetId: import("zod").ZodString;
|
|
11
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
12
|
+
spreadsheetId: import("zod").ZodString;
|
|
13
|
+
spreadsheetUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
14
|
+
properties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
15
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
locale: import("zod").ZodOptional<import("zod").ZodString>;
|
|
17
|
+
timeZone: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
autoRecalc: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
19
|
+
ON_CHANGE: "ON_CHANGE";
|
|
20
|
+
MINUTE: "MINUTE";
|
|
21
|
+
HOUR: "HOUR";
|
|
22
|
+
}>>;
|
|
23
|
+
}, import("zod/v4/core").$strip>>;
|
|
24
|
+
sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
25
|
+
sheetId: import("zod").ZodNumber;
|
|
26
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
27
|
+
index: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
28
|
+
sheetType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
29
|
+
GRID: "GRID";
|
|
30
|
+
OBJECT: "OBJECT";
|
|
31
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
32
|
+
}>>;
|
|
33
|
+
gridProperties: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
34
|
+
rowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
35
|
+
columnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
36
|
+
frozenRowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
frozenColumnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
|
+
}, import("zod/v4/core").$strip>>;
|
|
39
|
+
hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
40
|
+
}, import("zod/v4/core").$strip>>>;
|
|
41
|
+
}, import("zod/v4/core").$strip>>;
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK1B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { sheetsOperation } from '../../operation.js';
|
|
2
|
+
import { handler } from './handler.js';
|
|
3
|
+
import { schema } from './schema.js';
|
|
4
|
+
/**
|
|
5
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get
|
|
6
|
+
*
|
|
7
|
+
* Metadata only by design: the projection carries identity, spreadsheet
|
|
8
|
+
* properties, and per-sheet properties; grid data (per-cell formatting,
|
|
9
|
+
* validation, notes) is not exposed (issue #28). Cell contents are read with
|
|
10
|
+
* the values operations.
|
|
11
|
+
*/
|
|
12
|
+
export const get_spreadsheet = sheetsOperation({
|
|
13
|
+
description: 'Get a spreadsheet by id: its properties (title, locale, time zone) and the properties of every sheet (tab). Cell data is read with the values operations.',
|
|
14
|
+
schema,
|
|
15
|
+
handler,
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,WAAW,EACT,2JAA2J;IAC7J,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get\n *\n * Metadata only by design: the projection carries identity, spreadsheet\n * properties, and per-sheet properties; grid data (per-cell formatting,\n * validation, notes) is not exposed (issue #28). Cell contents are read with\n * the values operations.\n */\nexport const get_spreadsheet = sheetsOperation({\n description:\n 'Get a spreadsheet by id: its properties (title, locale, time zone) and the properties of every sheet (tab). Cell data is read with the values operations.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
output: z.ZodObject<{
|
|
8
|
+
spreadsheetId: z.ZodString;
|
|
9
|
+
spreadsheetUrl: z.ZodOptional<z.ZodString>;
|
|
10
|
+
properties: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
title: z.ZodOptional<z.ZodString>;
|
|
12
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
13
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
autoRecalc: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
ON_CHANGE: "ON_CHANGE";
|
|
16
|
+
MINUTE: "MINUTE";
|
|
17
|
+
HOUR: "HOUR";
|
|
18
|
+
}>>;
|
|
19
|
+
}, z.core.$strip>>;
|
|
20
|
+
sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
21
|
+
sheetId: z.ZodNumber;
|
|
22
|
+
title: z.ZodOptional<z.ZodString>;
|
|
23
|
+
index: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
sheetType: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
GRID: "GRID";
|
|
26
|
+
OBJECT: "OBJECT";
|
|
27
|
+
DATA_SOURCE: "DATA_SOURCE";
|
|
28
|
+
}>>;
|
|
29
|
+
gridProperties: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
rowCount: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
columnCount: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
frozenRowCount: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
frozenColumnCount: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,oGAAoG;AACpG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlB,CAAC"}
|