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,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGet */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
ranges: z.ZodArray<z.ZodString>;
|
|
7
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
ROWS: "ROWS";
|
|
9
|
+
COLUMNS: "COLUMNS";
|
|
10
|
+
}>>;
|
|
11
|
+
valueRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
13
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
14
|
+
FORMULA: "FORMULA";
|
|
15
|
+
}>>;
|
|
16
|
+
dateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
18
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
19
|
+
}>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
output: z.ZodObject<{
|
|
22
|
+
spreadsheetId: z.ZodString;
|
|
23
|
+
valueRanges: z.ZodArray<z.ZodObject<{
|
|
24
|
+
range: z.ZodOptional<z.ZodString>;
|
|
25
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
ROWS: "ROWS";
|
|
27
|
+
COLUMNS: "COLUMNS";
|
|
28
|
+
}>>;
|
|
29
|
+
values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
30
|
+
}, z.core.$strip>>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,gHAAgH;AAChH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBlB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';
|
|
3
|
+
import { MajorDimension } from '../../entities/MajorDimension.js';
|
|
4
|
+
import { ValueRange } from '../../entities/ValueRange.js';
|
|
5
|
+
import { ValueRenderOption } from '../../entities/ValueRenderOption.js';
|
|
6
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGet */
|
|
7
|
+
export const schema = {
|
|
8
|
+
input: z.object({
|
|
9
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve data from.'),
|
|
10
|
+
ranges: z
|
|
11
|
+
.array(z.string())
|
|
12
|
+
.min(1)
|
|
13
|
+
.describe('The A1 notation or R1C1 notation of the ranges to retrieve values from.'),
|
|
14
|
+
majorDimension: MajorDimension.optional(),
|
|
15
|
+
valueRenderOption: ValueRenderOption.optional(),
|
|
16
|
+
dateTimeRenderOption: DateTimeRenderOption.optional(),
|
|
17
|
+
}),
|
|
18
|
+
output: z.object({
|
|
19
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet the data was retrieved from.'),
|
|
20
|
+
valueRanges: z
|
|
21
|
+
.array(ValueRange)
|
|
22
|
+
.describe('The requested values, in the same order as the requested ranges.'),
|
|
23
|
+
}),
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,gHAAgH;AAChH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;QACtF,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CAAC,yEAAyE,CAAC;QACtF,cAAc,EAAE,cAAc,CAAC,QAAQ,EAAE;QACzC,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QAC/C,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;KACtD,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;QAC5F,WAAW,EAAE,CAAC;aACX,KAAK,CAAC,UAAU,CAAC;aACjB,QAAQ,CAAC,kEAAkE,CAAC;KAChF,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';\nimport { MajorDimension } from '../../entities/MajorDimension.js';\nimport { ValueRange } from '../../entities/ValueRange.js';\nimport { ValueRenderOption } from '../../entities/ValueRenderOption.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGet */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve data from.'),\n ranges: z\n .array(z.string())\n .min(1)\n .describe('The A1 notation or R1C1 notation of the ranges to retrieve values from.'),\n majorDimension: MajorDimension.optional(),\n valueRenderOption: ValueRenderOption.optional(),\n dateTimeRenderOption: DateTimeRenderOption.optional(),\n }),\n output: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet the data was retrieved from.'),\n valueRanges: z\n .array(ValueRange)\n .describe('The requested values, in the same order as the requested ranges.'),\n }),\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/batch_get_values_by_data_filter/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,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,CAiBxC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectDataFilter, toGoogleDataFilter } from '../../lib/filters.js';
|
|
3
|
+
import { projectValueRange } from '../../lib/values.js';
|
|
4
|
+
export async function handler(sheets, args) {
|
|
5
|
+
const { data } = await sheets.spreadsheets.values.batchGetByDataFilter({
|
|
6
|
+
spreadsheetId: args.spreadsheetId,
|
|
7
|
+
requestBody: forGoogle({
|
|
8
|
+
dataFilters: args.dataFilters.map(toGoogleDataFilter),
|
|
9
|
+
majorDimension: args.majorDimension,
|
|
10
|
+
valueRenderOption: args.valueRenderOption,
|
|
11
|
+
dateTimeRenderOption: args.dateTimeRenderOption,
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
return {
|
|
15
|
+
spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,
|
|
16
|
+
valueRanges: (data.valueRanges ?? []).map((matched) => ({
|
|
17
|
+
valueRange: matched.valueRange ? projectValueRange(matched.valueRange) : undefined,
|
|
18
|
+
dataFilters: matched.dataFilters ? matched.dataFilters.map(projectDataFilter) : undefined,
|
|
19
|
+
})),
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values_by_data_filter/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,oBAAoB,CAAC;QACrE,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,WAAW,EAAE,SAAS,CAAC;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,kBAAkB,CAAC;YACrD,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;SAChD,CAAC;KACH,CAAC,CAAC;IACH,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa;QACvD,WAAW,EAAE,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;YACtD,UAAU,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,iBAAiB,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS;YAClF,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,SAAS;SAC1F,CAAC,CAAC;KACJ,CAAC;AACJ,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectDataFilter, toGoogleDataFilter } from '../../lib/filters.js';\nimport { projectValueRange } from '../../lib/values.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.values.batchGetByDataFilter({\n spreadsheetId: args.spreadsheetId,\n requestBody: forGoogle({\n dataFilters: args.dataFilters.map(toGoogleDataFilter),\n majorDimension: args.majorDimension,\n valueRenderOption: args.valueRenderOption,\n dateTimeRenderOption: args.dateTimeRenderOption,\n }),\n });\n return {\n spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,\n valueRanges: (data.valueRanges ?? []).map((matched) => ({\n valueRange: matched.valueRange ? projectValueRange(matched.valueRange) : undefined,\n dataFilters: matched.dataFilters ? matched.dataFilters.map(projectDataFilter) : undefined,\n })),\n };\n}\n"]}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter */
|
|
2
|
+
export declare const batch_get_values_by_data_filter: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
3
|
+
spreadsheetId: import("zod").ZodString;
|
|
4
|
+
dataFilters: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5
|
+
a1Range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
gridRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
7
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
8
|
+
startRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9
|
+
endRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
|
+
startColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
|
+
endColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
12
|
+
}, import("zod/v4/core").$strip>>;
|
|
13
|
+
developerMetadataLookup: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
14
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
15
|
+
ROW: "ROW";
|
|
16
|
+
COLUMN: "COLUMN";
|
|
17
|
+
SHEET: "SHEET";
|
|
18
|
+
SPREADSHEET: "SPREADSHEET";
|
|
19
|
+
}>>;
|
|
20
|
+
metadataLocation: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
21
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
22
|
+
ROW: "ROW";
|
|
23
|
+
COLUMN: "COLUMN";
|
|
24
|
+
SHEET: "SHEET";
|
|
25
|
+
SPREADSHEET: "SPREADSHEET";
|
|
26
|
+
}>>;
|
|
27
|
+
spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
28
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29
|
+
dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
30
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
31
|
+
dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
32
|
+
ROWS: "ROWS";
|
|
33
|
+
COLUMNS: "COLUMNS";
|
|
34
|
+
}>>;
|
|
35
|
+
startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
36
|
+
endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
}, import("zod/v4/core").$strip>>;
|
|
38
|
+
}, import("zod/v4/core").$strip>>;
|
|
39
|
+
locationMatchingStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
40
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
41
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
42
|
+
}>>;
|
|
43
|
+
metadataId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
44
|
+
metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
45
|
+
metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
47
|
+
DOCUMENT: "DOCUMENT";
|
|
48
|
+
PROJECT: "PROJECT";
|
|
49
|
+
}>>;
|
|
50
|
+
}, import("zod/v4/core").$strip>>;
|
|
51
|
+
}, import("zod/v4/core").$strip>>;
|
|
52
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
53
|
+
ROWS: "ROWS";
|
|
54
|
+
COLUMNS: "COLUMNS";
|
|
55
|
+
}>>;
|
|
56
|
+
valueRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
57
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
58
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
59
|
+
FORMULA: "FORMULA";
|
|
60
|
+
}>>;
|
|
61
|
+
dateTimeRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
62
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
63
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
64
|
+
}>>;
|
|
65
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
66
|
+
spreadsheetId: import("zod").ZodString;
|
|
67
|
+
valueRanges: import("zod").ZodArray<import("zod").ZodObject<{
|
|
68
|
+
valueRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
69
|
+
range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
71
|
+
ROWS: "ROWS";
|
|
72
|
+
COLUMNS: "COLUMNS";
|
|
73
|
+
}>>;
|
|
74
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>>;
|
|
75
|
+
}, import("zod/v4/core").$strip>>;
|
|
76
|
+
dataFilters: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
77
|
+
a1Range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
78
|
+
gridRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
79
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
80
|
+
startRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
81
|
+
endRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
82
|
+
startColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
83
|
+
endColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
84
|
+
}, import("zod/v4/core").$strip>>;
|
|
85
|
+
developerMetadataLookup: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
86
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
87
|
+
ROW: "ROW";
|
|
88
|
+
COLUMN: "COLUMN";
|
|
89
|
+
SHEET: "SHEET";
|
|
90
|
+
SPREADSHEET: "SPREADSHEET";
|
|
91
|
+
}>>;
|
|
92
|
+
metadataLocation: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
93
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
94
|
+
ROW: "ROW";
|
|
95
|
+
COLUMN: "COLUMN";
|
|
96
|
+
SHEET: "SHEET";
|
|
97
|
+
SPREADSHEET: "SPREADSHEET";
|
|
98
|
+
}>>;
|
|
99
|
+
spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
100
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
101
|
+
dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
102
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
103
|
+
dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
104
|
+
ROWS: "ROWS";
|
|
105
|
+
COLUMNS: "COLUMNS";
|
|
106
|
+
}>>;
|
|
107
|
+
startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
108
|
+
endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
109
|
+
}, import("zod/v4/core").$strip>>;
|
|
110
|
+
}, import("zod/v4/core").$strip>>;
|
|
111
|
+
locationMatchingStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
112
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
113
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
114
|
+
}>>;
|
|
115
|
+
metadataId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
116
|
+
metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
|
+
metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
118
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
119
|
+
DOCUMENT: "DOCUMENT";
|
|
120
|
+
PROJECT: "PROJECT";
|
|
121
|
+
}>>;
|
|
122
|
+
}, import("zod/v4/core").$strip>>;
|
|
123
|
+
}, import("zod/v4/core").$strip>>>;
|
|
124
|
+
}, import("zod/v4/core").$strip>>;
|
|
125
|
+
}, import("zod/v4/core").$strip>>;
|
|
126
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values_by_data_filter/index.ts"],"names":[],"mappings":"AAIA,4HAA4H;AAC5H,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK1C,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.values/batchGetByDataFilter */
|
|
5
|
+
export const batch_get_values_by_data_filter = sheetsOperation({
|
|
6
|
+
description: 'Read the ranges of values matched by data filters (A1 ranges, grid ranges, or developer-metadata lookups), with the filters that matched each range.',
|
|
7
|
+
schema,
|
|
8
|
+
handler,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values_by_data_filter/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,4HAA4H;AAC5H,MAAM,CAAC,MAAM,+BAA+B,GAAG,eAAe,CAAC;IAC7D,WAAW,EACT,sJAAsJ;IACxJ,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.values/batchGetByDataFilter */\nexport const batch_get_values_by_data_filter = sheetsOperation({\n description:\n 'Read the ranges of values matched by data filters (A1 ranges, grid ranges, or developer-metadata lookups), with the filters that matched each range.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
dataFilters: z.ZodArray<z.ZodObject<{
|
|
7
|
+
a1Range: z.ZodOptional<z.ZodString>;
|
|
8
|
+
gridRange: z.ZodOptional<z.ZodObject<{
|
|
9
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
ROW: "ROW";
|
|
18
|
+
COLUMN: "COLUMN";
|
|
19
|
+
SHEET: "SHEET";
|
|
20
|
+
SPREADSHEET: "SPREADSHEET";
|
|
21
|
+
}>>;
|
|
22
|
+
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
23
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
ROW: "ROW";
|
|
25
|
+
COLUMN: "COLUMN";
|
|
26
|
+
SHEET: "SHEET";
|
|
27
|
+
SPREADSHEET: "SPREADSHEET";
|
|
28
|
+
}>>;
|
|
29
|
+
spreadsheet: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
dimension: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
ROWS: "ROWS";
|
|
35
|
+
COLUMNS: "COLUMNS";
|
|
36
|
+
}>>;
|
|
37
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
38
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
locationMatchingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
42
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
43
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
44
|
+
}>>;
|
|
45
|
+
metadataId: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
metadataKey: z.ZodOptional<z.ZodString>;
|
|
47
|
+
metadataValue: z.ZodOptional<z.ZodString>;
|
|
48
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
49
|
+
DOCUMENT: "DOCUMENT";
|
|
50
|
+
PROJECT: "PROJECT";
|
|
51
|
+
}>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
ROWS: "ROWS";
|
|
56
|
+
COLUMNS: "COLUMNS";
|
|
57
|
+
}>>;
|
|
58
|
+
valueRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
60
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
61
|
+
FORMULA: "FORMULA";
|
|
62
|
+
}>>;
|
|
63
|
+
dateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
65
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
66
|
+
}>>;
|
|
67
|
+
}, z.core.$strip>;
|
|
68
|
+
output: z.ZodObject<{
|
|
69
|
+
spreadsheetId: z.ZodString;
|
|
70
|
+
valueRanges: z.ZodArray<z.ZodObject<{
|
|
71
|
+
valueRange: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
range: z.ZodOptional<z.ZodString>;
|
|
73
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
74
|
+
ROWS: "ROWS";
|
|
75
|
+
COLUMNS: "COLUMNS";
|
|
76
|
+
}>>;
|
|
77
|
+
values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
dataFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
80
|
+
a1Range: z.ZodOptional<z.ZodString>;
|
|
81
|
+
gridRange: z.ZodOptional<z.ZodObject<{
|
|
82
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
}, z.core.$strip>>;
|
|
88
|
+
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
90
|
+
ROW: "ROW";
|
|
91
|
+
COLUMN: "COLUMN";
|
|
92
|
+
SHEET: "SHEET";
|
|
93
|
+
SPREADSHEET: "SPREADSHEET";
|
|
94
|
+
}>>;
|
|
95
|
+
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
96
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
97
|
+
ROW: "ROW";
|
|
98
|
+
COLUMN: "COLUMN";
|
|
99
|
+
SHEET: "SHEET";
|
|
100
|
+
SPREADSHEET: "SPREADSHEET";
|
|
101
|
+
}>>;
|
|
102
|
+
spreadsheet: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
dimension: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
ROWS: "ROWS";
|
|
108
|
+
COLUMNS: "COLUMNS";
|
|
109
|
+
}>>;
|
|
110
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
}, z.core.$strip>>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
locationMatchingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
116
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
117
|
+
}>>;
|
|
118
|
+
metadataId: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
metadataKey: z.ZodOptional<z.ZodString>;
|
|
120
|
+
metadataValue: z.ZodOptional<z.ZodString>;
|
|
121
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
DOCUMENT: "DOCUMENT";
|
|
123
|
+
PROJECT: "PROJECT";
|
|
124
|
+
}>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>>>;
|
|
127
|
+
}, z.core.$strip>>;
|
|
128
|
+
}, z.core.$strip>;
|
|
129
|
+
};
|
|
130
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values_by_data_filter/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,4HAA4H;AAC5H,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBlB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DataFilter } from '../../entities/DataFilter.js';
|
|
3
|
+
import { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';
|
|
4
|
+
import { MajorDimension } from '../../entities/MajorDimension.js';
|
|
5
|
+
import { MatchedValueRange } from '../../entities/MatchedValueRange.js';
|
|
6
|
+
import { ValueRenderOption } from '../../entities/ValueRenderOption.js';
|
|
7
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter */
|
|
8
|
+
export const schema = {
|
|
9
|
+
input: z.object({
|
|
10
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve data from.'),
|
|
11
|
+
dataFilters: z
|
|
12
|
+
.array(DataFilter)
|
|
13
|
+
.min(1)
|
|
14
|
+
.describe('The data filters used to match the ranges of values to retrieve; ranges matching any filter are included.'),
|
|
15
|
+
majorDimension: MajorDimension.optional(),
|
|
16
|
+
valueRenderOption: ValueRenderOption.optional(),
|
|
17
|
+
dateTimeRenderOption: DateTimeRenderOption.optional(),
|
|
18
|
+
}),
|
|
19
|
+
output: z.object({
|
|
20
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet the data was retrieved from.'),
|
|
21
|
+
valueRanges: z
|
|
22
|
+
.array(MatchedValueRange)
|
|
23
|
+
.describe('The requested values with the list of data filters that matched them.'),
|
|
24
|
+
}),
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_get_values_by_data_filter/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,4HAA4H;AAC5H,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;QACtF,WAAW,EAAE,CAAC;aACX,KAAK,CAAC,UAAU,CAAC;aACjB,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,2GAA2G,CAC5G;QACH,cAAc,EAAE,cAAc,CAAC,QAAQ,EAAE;QACzC,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QAC/C,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,EAAE;KACtD,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;QAC5F,WAAW,EAAE,CAAC;aACX,KAAK,CAAC,iBAAiB,CAAC;aACxB,QAAQ,CAAC,uEAAuE,CAAC;KACrF,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DataFilter } from '../../entities/DataFilter.js';\nimport { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';\nimport { MajorDimension } from '../../entities/MajorDimension.js';\nimport { MatchedValueRange } from '../../entities/MatchedValueRange.js';\nimport { ValueRenderOption } from '../../entities/ValueRenderOption.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchGetByDataFilter */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve data from.'),\n dataFilters: z\n .array(DataFilter)\n .min(1)\n .describe(\n 'The data filters used to match the ranges of values to retrieve; ranges matching any filter are included.',\n ),\n majorDimension: MajorDimension.optional(),\n valueRenderOption: ValueRenderOption.optional(),\n dateTimeRenderOption: DateTimeRenderOption.optional(),\n }),\n output: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet the data was retrieved from.'),\n valueRanges: z\n .array(MatchedValueRange)\n .describe('The requested values with the list of data filters that matched them.'),\n }),\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/batch_update_values/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,CAmBxC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { forGoogle } from '../../../lib/google.js';
|
|
2
|
+
import { projectUpdateValuesResponse } from '../../lib/values.js';
|
|
3
|
+
export async function handler(sheets, args) {
|
|
4
|
+
const { data } = await sheets.spreadsheets.values.batchUpdate({
|
|
5
|
+
spreadsheetId: args.spreadsheetId,
|
|
6
|
+
requestBody: forGoogle({
|
|
7
|
+
valueInputOption: args.valueInputOption,
|
|
8
|
+
data: args.data.map((valueRange) => forGoogle(valueRange)),
|
|
9
|
+
includeValuesInResponse: args.includeValuesInResponse,
|
|
10
|
+
responseValueRenderOption: args.responseValueRenderOption,
|
|
11
|
+
responseDateTimeRenderOption: args.responseDateTimeRenderOption,
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
return {
|
|
15
|
+
spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,
|
|
16
|
+
totalUpdatedRows: data.totalUpdatedRows ?? undefined,
|
|
17
|
+
totalUpdatedColumns: data.totalUpdatedColumns ?? undefined,
|
|
18
|
+
totalUpdatedCells: data.totalUpdatedCells ?? undefined,
|
|
19
|
+
totalUpdatedSheets: data.totalUpdatedSheets ?? undefined,
|
|
20
|
+
responses: (data.responses ?? []).map(projectUpdateValuesResponse),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAGlE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,WAAW,CAAC;QAC5D,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,WAAW,EAAE,SAAS,CAAC;YACrB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB;YACvC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;YAC1D,uBAAuB,EAAE,IAAI,CAAC,uBAAuB;YACrD,yBAAyB,EAAE,IAAI,CAAC,yBAAyB;YACzD,4BAA4B,EAAE,IAAI,CAAC,4BAA4B;SAChE,CAAC;KACH,CAAC,CAAC;IACH,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa;QACvD,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,IAAI,SAAS;QACpD,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,IAAI,SAAS;QAC1D,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,IAAI,SAAS;QACtD,kBAAkB,EAAE,IAAI,CAAC,kBAAkB,IAAI,SAAS;QACxD,SAAS,EAAE,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,2BAA2B,CAAC;KACnE,CAAC;AACJ,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectUpdateValuesResponse } from '../../lib/values.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.values.batchUpdate({\n spreadsheetId: args.spreadsheetId,\n requestBody: forGoogle({\n valueInputOption: args.valueInputOption,\n data: args.data.map((valueRange) => forGoogle(valueRange)),\n includeValuesInResponse: args.includeValuesInResponse,\n responseValueRenderOption: args.responseValueRenderOption,\n responseDateTimeRenderOption: args.responseDateTimeRenderOption,\n }),\n });\n return {\n spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,\n totalUpdatedRows: data.totalUpdatedRows ?? undefined,\n totalUpdatedColumns: data.totalUpdatedColumns ?? undefined,\n totalUpdatedCells: data.totalUpdatedCells ?? undefined,\n totalUpdatedSheets: data.totalUpdatedSheets ?? undefined,\n responses: (data.responses ?? []).map(projectUpdateValuesResponse),\n };\n}\n"]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate */
|
|
2
|
+
export declare const batch_update_values: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
3
|
+
spreadsheetId: import("zod").ZodString;
|
|
4
|
+
data: import("zod").ZodArray<import("zod").ZodObject<{
|
|
5
|
+
range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
6
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
7
|
+
ROWS: "ROWS";
|
|
8
|
+
COLUMNS: "COLUMNS";
|
|
9
|
+
}>>;
|
|
10
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>>;
|
|
11
|
+
}, import("zod/v4/core").$strip>>;
|
|
12
|
+
valueInputOption: import("zod").ZodEnum<{
|
|
13
|
+
RAW: "RAW";
|
|
14
|
+
USER_ENTERED: "USER_ENTERED";
|
|
15
|
+
}>;
|
|
16
|
+
includeValuesInResponse: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17
|
+
responseValueRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
18
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
19
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
20
|
+
FORMULA: "FORMULA";
|
|
21
|
+
}>>;
|
|
22
|
+
responseDateTimeRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
23
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
24
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
25
|
+
}>>;
|
|
26
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
27
|
+
spreadsheetId: import("zod").ZodString;
|
|
28
|
+
totalUpdatedRows: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
29
|
+
totalUpdatedColumns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
30
|
+
totalUpdatedCells: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
31
|
+
totalUpdatedSheets: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
|
+
responses: import("zod").ZodArray<import("zod").ZodObject<{
|
|
33
|
+
spreadsheetId: import("zod").ZodString;
|
|
34
|
+
updatedRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
updatedRows: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
36
|
+
updatedColumns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
updatedCells: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
|
+
updatedData: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
39
|
+
range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
40
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
41
|
+
ROWS: "ROWS";
|
|
42
|
+
COLUMNS: "COLUMNS";
|
|
43
|
+
}>>;
|
|
44
|
+
values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>>;
|
|
45
|
+
}, import("zod/v4/core").$strip>>;
|
|
46
|
+
}, import("zod/v4/core").$strip>>;
|
|
47
|
+
}, import("zod/v4/core").$strip>>;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values/index.ts"],"names":[],"mappings":"AAIA,mHAAmH;AACnH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK9B,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.values/batchUpdate */
|
|
5
|
+
export const batch_update_values = sheetsOperation({
|
|
6
|
+
description: 'Write values into multiple ranges of a spreadsheet in one call; one ValueRange per target range.',
|
|
7
|
+
schema,
|
|
8
|
+
handler,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values/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,mHAAmH;AACnH,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAC;IACjD,WAAW,EACT,kGAAkG;IACpG,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.values/batchUpdate */\nexport const batch_update_values = sheetsOperation({\n description:\n 'Write values into multiple ranges of a spreadsheet in one call; one ValueRange per target range.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
range: z.ZodOptional<z.ZodString>;
|
|
8
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
ROWS: "ROWS";
|
|
10
|
+
COLUMNS: "COLUMNS";
|
|
11
|
+
}>>;
|
|
12
|
+
values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
valueInputOption: z.ZodEnum<{
|
|
15
|
+
RAW: "RAW";
|
|
16
|
+
USER_ENTERED: "USER_ENTERED";
|
|
17
|
+
}>;
|
|
18
|
+
includeValuesInResponse: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
responseValueRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
21
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
22
|
+
FORMULA: "FORMULA";
|
|
23
|
+
}>>;
|
|
24
|
+
responseDateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
26
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
27
|
+
}>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
output: z.ZodObject<{
|
|
30
|
+
spreadsheetId: z.ZodString;
|
|
31
|
+
totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
totalUpdatedColumns: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
totalUpdatedCells: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
|
|
35
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
36
|
+
spreadsheetId: z.ZodString;
|
|
37
|
+
updatedRange: z.ZodOptional<z.ZodString>;
|
|
38
|
+
updatedRows: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
updatedColumns: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
updatedCells: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
updatedData: z.ZodOptional<z.ZodObject<{
|
|
42
|
+
range: z.ZodOptional<z.ZodString>;
|
|
43
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
ROWS: "ROWS";
|
|
45
|
+
COLUMNS: "COLUMNS";
|
|
46
|
+
}>>;
|
|
47
|
+
values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,mHAAmH;AACnH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyClB,CAAC"}
|