google-mcp-suite 1.1.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 +18 -13
- package/dist/calendar/entities/CalendarListEntry.d.ts +2 -2
- package/dist/calendar/entities/Event.d.ts +2 -2
- package/dist/calendar/entities/EventDateTime.d.ts.map +1 -1
- package/dist/calendar/entities/EventDateTime.js +4 -1
- package/dist/calendar/entities/EventDateTime.js.map +1 -1
- package/dist/calendar/entities/Reminder.d.ts +2 -2
- package/dist/calendar/entities/Reminder.d.ts.map +1 -1
- package/dist/calendar/entities/Reminder.js +2 -1
- package/dist/calendar/entities/Reminder.js.map +1 -1
- package/dist/calendar/lib/event.d.ts +1 -1
- package/dist/calendar/lib/event.d.ts.map +1 -1
- package/dist/calendar/lib/event.js +2 -2
- package/dist/calendar/lib/event.js.map +1 -1
- 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/suggest.d.ts +2 -0
- package/dist/calendar/lib/suggest.d.ts.map +1 -1
- package/dist/calendar/lib/suggest.js +11 -1
- package/dist/calendar/lib/suggest.js.map +1 -1
- package/dist/calendar/methods/add_calendar_entry/index.d.ts +2 -2
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts +2 -2
- package/dist/calendar/methods/get_calendar_entry/index.d.ts +2 -2
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts +2 -2
- package/dist/calendar/methods/list_event_instances/index.d.ts +4 -4
- package/dist/calendar/methods/list_event_instances/schema.d.ts +4 -4
- package/dist/calendar/methods/move_event/index.d.ts +2 -2
- package/dist/calendar/methods/move_event/schema.d.ts +2 -2
- package/dist/calendar/methods/patch_event/index.d.ts +2 -2
- package/dist/calendar/methods/patch_event/schema.d.ts +2 -2
- package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -1
- package/dist/calendar/methods/query_free_busy/handler.js +1 -12
- package/dist/calendar/methods/query_free_busy/handler.js.map +1 -1
- package/dist/calendar/methods/quick_add_event/index.d.ts +2 -2
- package/dist/calendar/methods/quick_add_event/schema.d.ts +2 -2
- package/dist/calendar/methods/registry.d.ts +18 -18
- package/dist/calendar/methods/update_calendar_entry/handler.js +1 -1
- package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -1
- package/dist/calendar/methods/update_calendar_entry/index.d.ts +4 -4
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts +4 -4
- package/dist/calendar/operation.d.ts +1 -1
- package/dist/calendar/operation.d.ts.map +1 -1
- package/dist/calendar/operation.js.map +1 -1
- package/dist/calendar/tools/create_event/handler.d.ts.map +1 -1
- package/dist/calendar/tools/create_event/handler.js +4 -1
- package/dist/calendar/tools/create_event/handler.js.map +1 -1
- package/dist/calendar/tools/create_event/index.d.ts +4 -4
- package/dist/calendar/tools/create_event/schema.d.ts +4 -4
- package/dist/calendar/tools/delete_event/index.d.ts +2 -2
- package/dist/calendar/tools/delete_event/schema.d.ts +2 -2
- package/dist/calendar/tools/get_event/index.d.ts +2 -2
- package/dist/calendar/tools/get_event/schema.d.ts +2 -2
- package/dist/calendar/tools/list_events/index.d.ts +4 -4
- package/dist/calendar/tools/list_events/schema.d.ts +4 -4
- package/dist/calendar/tools/registry.d.ts +18 -18
- package/dist/calendar/tools/respond_to_event/index.d.ts +2 -2
- package/dist/calendar/tools/respond_to_event/schema.d.ts +2 -2
- package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -1
- package/dist/calendar/tools/suggest_time/handler.js +2 -1
- package/dist/calendar/tools/suggest_time/handler.js.map +1 -1
- package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -1
- package/dist/calendar/tools/suggest_time/schema.js +3 -4
- package/dist/calendar/tools/suggest_time/schema.js.map +1 -1
- package/dist/calendar/tools/update_event/handler.d.ts.map +1 -1
- package/dist/calendar/tools/update_event/handler.js +4 -1
- package/dist/calendar/tools/update_event/handler.js.map +1 -1
- package/dist/calendar/tools/update_event/index.d.ts +4 -4
- package/dist/calendar/tools/update_event/schema.d.ts +4 -4
- package/dist/doctor/services.d.ts.map +1 -1
- package/dist/doctor/services.js +15 -1
- 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 +9 -4
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter */
|
|
2
|
+
export declare const batch_update_values_by_data_filter: 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
|
+
dataFilter: import("zod").ZodObject<{
|
|
6
|
+
a1Range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
7
|
+
gridRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
8
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
9
|
+
startRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
10
|
+
endRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
|
+
startColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
12
|
+
endColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
13
|
+
}, import("zod/v4/core").$strip>>;
|
|
14
|
+
developerMetadataLookup: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
15
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
16
|
+
ROW: "ROW";
|
|
17
|
+
COLUMN: "COLUMN";
|
|
18
|
+
SHEET: "SHEET";
|
|
19
|
+
SPREADSHEET: "SPREADSHEET";
|
|
20
|
+
}>>;
|
|
21
|
+
metadataLocation: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
22
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
23
|
+
ROW: "ROW";
|
|
24
|
+
COLUMN: "COLUMN";
|
|
25
|
+
SHEET: "SHEET";
|
|
26
|
+
SPREADSHEET: "SPREADSHEET";
|
|
27
|
+
}>>;
|
|
28
|
+
spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
29
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
30
|
+
dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
31
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
|
+
dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
33
|
+
ROWS: "ROWS";
|
|
34
|
+
COLUMNS: "COLUMNS";
|
|
35
|
+
}>>;
|
|
36
|
+
startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
|
+
}, import("zod/v4/core").$strip>>;
|
|
39
|
+
}, import("zod/v4/core").$strip>>;
|
|
40
|
+
locationMatchingStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
41
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
42
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
43
|
+
}>>;
|
|
44
|
+
metadataId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
45
|
+
metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
46
|
+
metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
47
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
48
|
+
DOCUMENT: "DOCUMENT";
|
|
49
|
+
PROJECT: "PROJECT";
|
|
50
|
+
}>>;
|
|
51
|
+
}, import("zod/v4/core").$strip>>;
|
|
52
|
+
}, import("zod/v4/core").$strip>;
|
|
53
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
54
|
+
ROWS: "ROWS";
|
|
55
|
+
COLUMNS: "COLUMNS";
|
|
56
|
+
}>>;
|
|
57
|
+
values: import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>;
|
|
58
|
+
}, import("zod/v4/core").$strip>>;
|
|
59
|
+
valueInputOption: import("zod").ZodEnum<{
|
|
60
|
+
RAW: "RAW";
|
|
61
|
+
USER_ENTERED: "USER_ENTERED";
|
|
62
|
+
}>;
|
|
63
|
+
includeValuesInResponse: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
64
|
+
responseValueRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
65
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
66
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
67
|
+
FORMULA: "FORMULA";
|
|
68
|
+
}>>;
|
|
69
|
+
responseDateTimeRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
70
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
71
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
72
|
+
}>>;
|
|
73
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
74
|
+
spreadsheetId: import("zod").ZodString;
|
|
75
|
+
totalUpdatedRows: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
76
|
+
totalUpdatedColumns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
77
|
+
totalUpdatedCells: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
78
|
+
totalUpdatedSheets: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
79
|
+
responses: import("zod").ZodArray<import("zod").ZodObject<{
|
|
80
|
+
updatedRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
+
updatedRows: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
82
|
+
updatedColumns: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
83
|
+
updatedCells: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
84
|
+
dataFilter: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
85
|
+
a1Range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
86
|
+
gridRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
87
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
88
|
+
startRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
89
|
+
endRowIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
90
|
+
startColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
91
|
+
endColumnIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
92
|
+
}, import("zod/v4/core").$strip>>;
|
|
93
|
+
developerMetadataLookup: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
94
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
95
|
+
ROW: "ROW";
|
|
96
|
+
COLUMN: "COLUMN";
|
|
97
|
+
SHEET: "SHEET";
|
|
98
|
+
SPREADSHEET: "SPREADSHEET";
|
|
99
|
+
}>>;
|
|
100
|
+
metadataLocation: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
101
|
+
locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
102
|
+
ROW: "ROW";
|
|
103
|
+
COLUMN: "COLUMN";
|
|
104
|
+
SHEET: "SHEET";
|
|
105
|
+
SPREADSHEET: "SPREADSHEET";
|
|
106
|
+
}>>;
|
|
107
|
+
spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
108
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
109
|
+
dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
110
|
+
sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
111
|
+
dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
112
|
+
ROWS: "ROWS";
|
|
113
|
+
COLUMNS: "COLUMNS";
|
|
114
|
+
}>>;
|
|
115
|
+
startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
116
|
+
endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
117
|
+
}, import("zod/v4/core").$strip>>;
|
|
118
|
+
}, import("zod/v4/core").$strip>>;
|
|
119
|
+
locationMatchingStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
120
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
121
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
122
|
+
}>>;
|
|
123
|
+
metadataId: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
124
|
+
metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
125
|
+
metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
|
|
126
|
+
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
127
|
+
DOCUMENT: "DOCUMENT";
|
|
128
|
+
PROJECT: "PROJECT";
|
|
129
|
+
}>>;
|
|
130
|
+
}, import("zod/v4/core").$strip>>;
|
|
131
|
+
}, import("zod/v4/core").$strip>>;
|
|
132
|
+
updatedData: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
133
|
+
range: import("zod").ZodOptional<import("zod").ZodString>;
|
|
134
|
+
majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
135
|
+
ROWS: "ROWS";
|
|
136
|
+
COLUMNS: "COLUMNS";
|
|
137
|
+
}>>;
|
|
138
|
+
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]>>>>;
|
|
139
|
+
}, import("zod/v4/core").$strip>>;
|
|
140
|
+
}, import("zod/v4/core").$strip>>;
|
|
141
|
+
}, import("zod/v4/core").$strip>>;
|
|
142
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values_by_data_filter/index.ts"],"names":[],"mappings":"AAIA,+HAA+H;AAC/H,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK7C,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/batchUpdateByDataFilter */
|
|
5
|
+
export const batch_update_values_by_data_filter = sheetsOperation({
|
|
6
|
+
description: 'Write values into the ranges matched by data filters; when a filter matches multiple ranges, the values apply to all of them.',
|
|
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_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,+HAA+H;AAC/H,MAAM,CAAC,MAAM,kCAAkC,GAAG,eAAe,CAAC;IAChE,WAAW,EACT,+HAA+H;IACjI,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/batchUpdateByDataFilter */\nexport const batch_update_values_by_data_filter = sheetsOperation({\n description:\n 'Write values into the ranges matched by data filters; when a filter matches multiple ranges, the values apply to all of them.',\n schema,\n handler,\n});\n"]}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
dataFilter: z.ZodObject<{
|
|
8
|
+
a1Range: z.ZodOptional<z.ZodString>;
|
|
9
|
+
gridRange: z.ZodOptional<z.ZodObject<{
|
|
10
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
18
|
+
ROW: "ROW";
|
|
19
|
+
COLUMN: "COLUMN";
|
|
20
|
+
SHEET: "SHEET";
|
|
21
|
+
SPREADSHEET: "SPREADSHEET";
|
|
22
|
+
}>>;
|
|
23
|
+
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
ROW: "ROW";
|
|
26
|
+
COLUMN: "COLUMN";
|
|
27
|
+
SHEET: "SHEET";
|
|
28
|
+
SPREADSHEET: "SPREADSHEET";
|
|
29
|
+
}>>;
|
|
30
|
+
spreadsheet: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
33
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
dimension: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
ROWS: "ROWS";
|
|
36
|
+
COLUMNS: "COLUMNS";
|
|
37
|
+
}>>;
|
|
38
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
locationMatchingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
44
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
45
|
+
}>>;
|
|
46
|
+
metadataId: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
metadataKey: z.ZodOptional<z.ZodString>;
|
|
48
|
+
metadataValue: z.ZodOptional<z.ZodString>;
|
|
49
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
50
|
+
DOCUMENT: "DOCUMENT";
|
|
51
|
+
PROJECT: "PROJECT";
|
|
52
|
+
}>>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
56
|
+
ROWS: "ROWS";
|
|
57
|
+
COLUMNS: "COLUMNS";
|
|
58
|
+
}>>;
|
|
59
|
+
values: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
valueInputOption: z.ZodEnum<{
|
|
62
|
+
RAW: "RAW";
|
|
63
|
+
USER_ENTERED: "USER_ENTERED";
|
|
64
|
+
}>;
|
|
65
|
+
includeValuesInResponse: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
responseValueRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
FORMATTED_VALUE: "FORMATTED_VALUE";
|
|
68
|
+
UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
|
|
69
|
+
FORMULA: "FORMULA";
|
|
70
|
+
}>>;
|
|
71
|
+
responseDateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
73
|
+
FORMATTED_STRING: "FORMATTED_STRING";
|
|
74
|
+
}>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
76
|
+
output: z.ZodObject<{
|
|
77
|
+
spreadsheetId: z.ZodString;
|
|
78
|
+
totalUpdatedRows: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
totalUpdatedColumns: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
totalUpdatedCells: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
totalUpdatedSheets: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
responses: z.ZodArray<z.ZodObject<{
|
|
83
|
+
updatedRange: z.ZodOptional<z.ZodString>;
|
|
84
|
+
updatedRows: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
updatedColumns: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
updatedCells: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
dataFilter: z.ZodOptional<z.ZodObject<{
|
|
88
|
+
a1Range: z.ZodOptional<z.ZodString>;
|
|
89
|
+
gridRange: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
94
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
98
|
+
ROW: "ROW";
|
|
99
|
+
COLUMN: "COLUMN";
|
|
100
|
+
SHEET: "SHEET";
|
|
101
|
+
SPREADSHEET: "SPREADSHEET";
|
|
102
|
+
}>>;
|
|
103
|
+
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
104
|
+
locationType: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
ROW: "ROW";
|
|
106
|
+
COLUMN: "COLUMN";
|
|
107
|
+
SHEET: "SHEET";
|
|
108
|
+
SPREADSHEET: "SPREADSHEET";
|
|
109
|
+
}>>;
|
|
110
|
+
spreadsheet: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
dimension: z.ZodOptional<z.ZodEnum<{
|
|
115
|
+
ROWS: "ROWS";
|
|
116
|
+
COLUMNS: "COLUMNS";
|
|
117
|
+
}>>;
|
|
118
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
}, z.core.$strip>>;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
locationMatchingStrategy: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
EXACT_LOCATION: "EXACT_LOCATION";
|
|
124
|
+
INTERSECTING_LOCATION: "INTERSECTING_LOCATION";
|
|
125
|
+
}>>;
|
|
126
|
+
metadataId: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
metadataKey: z.ZodOptional<z.ZodString>;
|
|
128
|
+
metadataValue: z.ZodOptional<z.ZodString>;
|
|
129
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
DOCUMENT: "DOCUMENT";
|
|
131
|
+
PROJECT: "PROJECT";
|
|
132
|
+
}>>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
updatedData: z.ZodOptional<z.ZodObject<{
|
|
136
|
+
range: z.ZodOptional<z.ZodString>;
|
|
137
|
+
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
ROWS: "ROWS";
|
|
139
|
+
COLUMNS: "COLUMNS";
|
|
140
|
+
}>>;
|
|
141
|
+
values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
};
|
|
146
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values_by_data_filter/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,+HAA+H;AAC/H,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyClB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { DataFilterValueRange } from '../../entities/DataFilterValueRange.js';
|
|
3
|
+
import { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';
|
|
4
|
+
import { UpdateValuesByDataFilterResponse } from '../../entities/UpdateValuesByDataFilterResponse.js';
|
|
5
|
+
import { ValueInputOption } from '../../entities/ValueInputOption.js';
|
|
6
|
+
import { ValueRenderOption } from '../../entities/ValueRenderOption.js';
|
|
7
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter */
|
|
8
|
+
export const schema = {
|
|
9
|
+
input: z.object({
|
|
10
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet to update.'),
|
|
11
|
+
data: z
|
|
12
|
+
.array(DataFilterValueRange)
|
|
13
|
+
.min(1)
|
|
14
|
+
.describe('The new values to apply: one entry per data filter; when a filter matches multiple ranges, the values apply to all of them.'),
|
|
15
|
+
valueInputOption: ValueInputOption,
|
|
16
|
+
includeValuesInResponse: z
|
|
17
|
+
.boolean()
|
|
18
|
+
.optional()
|
|
19
|
+
.describe('Whether each response should include the values of the cells that were updated. Defaults to false.'),
|
|
20
|
+
responseValueRenderOption: ValueRenderOption.optional(),
|
|
21
|
+
responseDateTimeRenderOption: DateTimeRenderOption.optional(),
|
|
22
|
+
}),
|
|
23
|
+
output: z.object({
|
|
24
|
+
spreadsheetId: z.string().describe('The spreadsheet the updates were applied to.'),
|
|
25
|
+
totalUpdatedRows: z
|
|
26
|
+
.number()
|
|
27
|
+
.int()
|
|
28
|
+
.optional()
|
|
29
|
+
.describe('The total number of rows where at least one cell in the row was updated.'),
|
|
30
|
+
totalUpdatedColumns: z
|
|
31
|
+
.number()
|
|
32
|
+
.int()
|
|
33
|
+
.optional()
|
|
34
|
+
.describe('The total number of columns where at least one cell in the column was updated.'),
|
|
35
|
+
totalUpdatedCells: z.number().int().optional().describe('The total number of cells updated.'),
|
|
36
|
+
totalUpdatedSheets: z
|
|
37
|
+
.number()
|
|
38
|
+
.int()
|
|
39
|
+
.optional()
|
|
40
|
+
.describe('The total number of sheets where at least one cell in the sheet was updated.'),
|
|
41
|
+
responses: z
|
|
42
|
+
.array(UpdateValuesByDataFilterResponse)
|
|
43
|
+
.describe('The response for each range updated.'),
|
|
44
|
+
}),
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/batch_update_values_by_data_filter/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,gCAAgC,EAAE,MAAM,oDAAoD,CAAC;AACtG,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,+HAA+H;AAC/H,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QAC1E,IAAI,EAAE,CAAC;aACJ,KAAK,CAAC,oBAAoB,CAAC;aAC3B,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,CACP,6HAA6H,CAC9H;QACH,gBAAgB,EAAE,gBAAgB;QAClC,uBAAuB,EAAE,CAAC;aACvB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,oGAAoG,CACrG;QACH,yBAAyB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;QACvD,4BAA4B,EAAE,oBAAoB,CAAC,QAAQ,EAAE;KAC9D,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;QAClF,gBAAgB,EAAE,CAAC;aAChB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,0EAA0E,CAAC;QACvF,mBAAmB,EAAE,CAAC;aACnB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,gFAAgF,CAAC;QAC7F,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QAC7F,kBAAkB,EAAE,CAAC;aAClB,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,CAAC,8EAA8E,CAAC;QAC3F,SAAS,EAAE,CAAC;aACT,KAAK,CAAC,gCAAgC,CAAC;aACvC,QAAQ,CAAC,sCAAsC,CAAC;KACpD,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DataFilterValueRange } from '../../entities/DataFilterValueRange.js';\nimport { DateTimeRenderOption } from '../../entities/DateTimeRenderOption.js';\nimport { UpdateValuesByDataFilterResponse } from '../../entities/UpdateValuesByDataFilterResponse.js';\nimport { ValueInputOption } from '../../entities/ValueInputOption.js';\nimport { ValueRenderOption } from '../../entities/ValueRenderOption.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdateByDataFilter */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to update.'),\n data: z\n .array(DataFilterValueRange)\n .min(1)\n .describe(\n 'The new values to apply: one entry per data filter; when a filter matches multiple ranges, the values apply to all of them.',\n ),\n valueInputOption: ValueInputOption,\n includeValuesInResponse: z\n .boolean()\n .optional()\n .describe(\n 'Whether each response should include the values of the cells that were updated. Defaults to false.',\n ),\n responseValueRenderOption: ValueRenderOption.optional(),\n responseDateTimeRenderOption: DateTimeRenderOption.optional(),\n }),\n output: z.object({\n spreadsheetId: z.string().describe('The spreadsheet the updates were applied to.'),\n totalUpdatedRows: z\n .number()\n .int()\n .optional()\n .describe('The total number of rows where at least one cell in the row was updated.'),\n totalUpdatedColumns: z\n .number()\n .int()\n .optional()\n .describe('The total number of columns where at least one cell in the column was updated.'),\n totalUpdatedCells: z.number().int().optional().describe('The total number of cells updated.'),\n totalUpdatedSheets: z\n .number()\n .int()\n .optional()\n .describe('The total number of sheets where at least one cell in the sheet was updated.'),\n responses: z\n .array(UpdateValuesByDataFilterResponse)\n .describe('The response for each range updated.'),\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/clear_values/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,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,CAUxC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export async function handler(sheets, args) {
|
|
2
|
+
const { data } = await sheets.spreadsheets.values.clear({
|
|
3
|
+
spreadsheetId: args.spreadsheetId,
|
|
4
|
+
range: args.range,
|
|
5
|
+
requestBody: {},
|
|
6
|
+
});
|
|
7
|
+
return {
|
|
8
|
+
spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,
|
|
9
|
+
clearedRange: data.clearedRange ?? undefined,
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=handler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/clear_values/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC;QACtD,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,WAAW,EAAE,EAAE;KAChB,CAAC,CAAC;IACH,OAAO;QACL,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa;QACvD,YAAY,EAAE,IAAI,CAAC,YAAY,IAAI,SAAS;KAC7C,CAAC;AACJ,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\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.clear({\n spreadsheetId: args.spreadsheetId,\n range: args.range,\n requestBody: {},\n });\n return {\n spreadsheetId: data.spreadsheetId ?? args.spreadsheetId,\n clearedRange: data.clearedRange ?? undefined,\n };\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear
|
|
3
|
+
*
|
|
4
|
+
* Destructive: cleared values are unrecoverable through the API. Formatting,
|
|
5
|
+
* data validation, and the cells themselves are kept; only values go.
|
|
6
|
+
*/
|
|
7
|
+
export declare const clear_values: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
|
|
8
|
+
spreadsheetId: import("zod").ZodString;
|
|
9
|
+
range: import("zod").ZodString;
|
|
10
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
11
|
+
spreadsheetId: import("zod").ZodString;
|
|
12
|
+
clearedRange: import("zod").ZodOptional<import("zod").ZodString>;
|
|
13
|
+
}, import("zod/v4/core").$strip>>;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/clear_values/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;iCAMvB,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.values/clear
|
|
6
|
+
*
|
|
7
|
+
* Destructive: cleared values are unrecoverable through the API. Formatting,
|
|
8
|
+
* data validation, and the cells themselves are kept; only values go.
|
|
9
|
+
*/
|
|
10
|
+
export const clear_values = sheetsOperation({
|
|
11
|
+
description: 'Clear the values in a range, irreversibly; formatting and data validation are kept.',
|
|
12
|
+
schema,
|
|
13
|
+
handler,
|
|
14
|
+
destructive: true,
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/clear_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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,WAAW,EACT,qFAAqF;IACvF,MAAM;IACN,OAAO;IACP,WAAW,EAAE,IAAI;CAClB,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.values/clear\n *\n * Destructive: cleared values are unrecoverable through the API. Formatting,\n * data validation, and the cells themselves are kept; only values go.\n */\nexport const clear_values = sheetsOperation({\n description:\n 'Clear the values in a range, irreversibly; formatting and data validation are kept.',\n schema,\n handler,\n destructive: true,\n});\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear */
|
|
3
|
+
export declare const schema: {
|
|
4
|
+
input: z.ZodObject<{
|
|
5
|
+
spreadsheetId: z.ZodString;
|
|
6
|
+
range: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
output: z.ZodObject<{
|
|
9
|
+
spreadsheetId: z.ZodString;
|
|
10
|
+
clearedRange: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/clear_values/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,6GAA6G;AAC7G,eAAO,MAAM,MAAM;;;;;;;;;CAclB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear */
|
|
3
|
+
export const schema = {
|
|
4
|
+
input: z.object({
|
|
5
|
+
spreadsheetId: z.string().describe('The ID of the spreadsheet to update.'),
|
|
6
|
+
range: z.string().describe('The A1 notation or R1C1 notation of the values to clear.'),
|
|
7
|
+
}),
|
|
8
|
+
output: z.object({
|
|
9
|
+
spreadsheetId: z.string().describe('The spreadsheet the updates were applied to.'),
|
|
10
|
+
clearedRange: z
|
|
11
|
+
.string()
|
|
12
|
+
.optional()
|
|
13
|
+
.describe('The range (in A1 notation) that was cleared; for an unbounded request, the actual extent that was cleared.'),
|
|
14
|
+
}),
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/clear_values/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,6GAA6G;AAC7G,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QAC1E,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,0DAA0D,CAAC;KACvF,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;QAClF,YAAY,EAAE,CAAC;aACZ,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,4GAA4G,CAC7G;KACJ,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/clear */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to update.'),\n range: z.string().describe('The A1 notation or R1C1 notation of the values to clear.'),\n }),\n output: z.object({\n spreadsheetId: z.string().describe('The spreadsheet the updates were applied to.'),\n clearedRange: z\n .string()\n .optional()\n .describe(\n 'The range (in A1 notation) that was cleared; for an unbounded request, the actual extent that was cleared.',\n ),\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/copy_sheet/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,CAOxC"}
|
|
@@ -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"]}
|