google-mcp-suite 1.11.2 → 1.13.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/ADOPTING.md +4 -3
- package/README.md +7 -7
- package/dist/auth/config.js.map +1 -1
- package/dist/auth/oauth.js.map +1 -1
- package/dist/calendar/capabilities.js.map +1 -1
- package/dist/calendar/entities/NotificationLevel.d.ts +2 -2
- package/dist/calendar/lib/notifications.d.ts +3 -3
- package/dist/calendar/lib/notifications.d.ts.map +1 -1
- package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -1
- package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -1
- package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -1
- package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -1
- package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -1
- package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -1
- package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -1
- package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -1
- package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -1
- package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -1
- package/dist/calendar/methods/move_event/schema.d.ts.map +1 -1
- package/dist/calendar/methods/patch_event/index.d.ts +6 -6
- package/dist/calendar/methods/patch_event/schema.d.ts +6 -6
- package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -1
- package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -1
- package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -1
- package/dist/calendar/methods/registry.d.ts +6 -6
- package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -1
- package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -1
- package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -1
- package/dist/calendar/operation.d.ts.map +1 -1
- package/dist/calendar/tools/create_event/index.d.ts +3 -3
- package/dist/calendar/tools/create_event/schema.d.ts +3 -3
- package/dist/calendar/tools/create_event/schema.d.ts.map +1 -1
- 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/delete_event/schema.d.ts.map +1 -1
- package/dist/calendar/tools/get_event/schema.d.ts.map +1 -1
- package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -1
- 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/list_events/schema.d.ts.map +1 -1
- package/dist/calendar/tools/registry.d.ts +15 -15
- package/dist/calendar/tools/respond_to_event/index.d.ts +3 -3
- package/dist/calendar/tools/respond_to_event/schema.d.ts +3 -3
- package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -1
- package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -1
- package/dist/calendar/tools/update_event/index.d.ts +3 -3
- package/dist/calendar/tools/update_event/schema.d.ts +3 -3
- package/dist/calendar/tools/update_event/schema.d.ts.map +1 -1
- package/dist/docs/capabilities.js.map +1 -1
- package/dist/docs/entities/ParagraphStyle.d.ts +4 -4
- package/dist/docs/entities/TextStyle.d.ts +1 -1
- package/dist/docs/methods/create_document/schema.d.ts.map +1 -1
- package/dist/docs/methods/create_paragraph_bullets/index.d.ts +6 -6
- package/dist/docs/methods/create_paragraph_bullets/schema.d.ts +6 -6
- package/dist/docs/methods/create_paragraph_bullets/schema.d.ts.map +1 -1
- package/dist/docs/methods/delete_content_range/schema.d.ts.map +1 -1
- package/dist/docs/methods/delete_paragraph_bullets/schema.d.ts.map +1 -1
- package/dist/docs/methods/get_document/schema.d.ts.map +1 -1
- package/dist/docs/methods/insert_text/schema.d.ts.map +1 -1
- package/dist/docs/methods/registry.d.ts +11 -11
- package/dist/docs/methods/replace_all_text/schema.d.ts.map +1 -1
- package/dist/docs/methods/update_paragraph_style/index.d.ts +4 -4
- package/dist/docs/methods/update_paragraph_style/schema.d.ts +4 -4
- package/dist/docs/methods/update_paragraph_style/schema.d.ts.map +1 -1
- package/dist/docs/methods/update_text_style/index.d.ts +1 -1
- package/dist/docs/methods/update_text_style/schema.d.ts +1 -1
- package/dist/docs/methods/update_text_style/schema.d.ts.map +1 -1
- package/dist/docs/operation.d.ts.map +1 -1
- package/dist/doctor/auth.js.map +1 -1
- package/dist/doctor/browser.js.map +1 -1
- package/dist/doctor/diagnose.js.map +1 -1
- package/dist/doctor/services.js.map +1 -1
- package/dist/drive/capabilities.js.map +1 -1
- package/dist/drive/entities/Comment.d.ts +1 -1
- package/dist/drive/entities/Permission.d.ts +5 -5
- package/dist/drive/entities/Reply.d.ts +1 -1
- package/dist/drive/methods/create_comment/index.d.ts +1 -1
- package/dist/drive/methods/create_comment/schema.d.ts +1 -1
- package/dist/drive/methods/create_comment/schema.d.ts.map +1 -1
- package/dist/drive/methods/create_reply/index.d.ts +2 -2
- package/dist/drive/methods/create_reply/schema.d.ts +2 -2
- package/dist/drive/methods/create_reply/schema.d.ts.map +1 -1
- package/dist/drive/methods/create_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/methods/delete_comment/schema.d.ts.map +1 -1
- package/dist/drive/methods/delete_file/schema.d.ts.map +1 -1
- package/dist/drive/methods/delete_reply/schema.d.ts.map +1 -1
- package/dist/drive/methods/delete_revision/schema.d.ts.map +1 -1
- package/dist/drive/methods/delete_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/methods/empty_trash/schema.d.ts.map +1 -1
- package/dist/drive/methods/get_about/schema.d.ts.map +1 -1
- package/dist/drive/methods/get_comment/index.d.ts +1 -1
- package/dist/drive/methods/get_comment/schema.d.ts +1 -1
- package/dist/drive/methods/get_comment/schema.d.ts.map +1 -1
- package/dist/drive/methods/get_reply/index.d.ts +1 -1
- package/dist/drive/methods/get_reply/schema.d.ts +1 -1
- package/dist/drive/methods/get_reply/schema.d.ts.map +1 -1
- package/dist/drive/methods/get_revision/schema.d.ts.map +1 -1
- package/dist/drive/methods/get_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/methods/hide_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/methods/list_comments/index.d.ts +1 -1
- package/dist/drive/methods/list_comments/schema.d.ts +1 -1
- package/dist/drive/methods/list_comments/schema.d.ts.map +1 -1
- package/dist/drive/methods/list_replies/index.d.ts +1 -1
- package/dist/drive/methods/list_replies/schema.d.ts +1 -1
- package/dist/drive/methods/list_replies/schema.d.ts.map +1 -1
- package/dist/drive/methods/list_revisions/schema.d.ts.map +1 -1
- package/dist/drive/methods/list_shared_drives/schema.d.ts.map +1 -1
- package/dist/drive/methods/registry.d.ts +9 -9
- package/dist/drive/methods/trash_file/schema.d.ts.map +1 -1
- package/dist/drive/methods/unhide_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/methods/untrash_file/schema.d.ts.map +1 -1
- package/dist/drive/methods/update_comment/index.d.ts +1 -1
- package/dist/drive/methods/update_comment/schema.d.ts +1 -1
- package/dist/drive/methods/update_comment/schema.d.ts.map +1 -1
- package/dist/drive/methods/update_file/schema.d.ts.map +1 -1
- package/dist/drive/methods/update_reply/index.d.ts +1 -1
- package/dist/drive/methods/update_reply/schema.d.ts +1 -1
- package/dist/drive/methods/update_reply/schema.d.ts.map +1 -1
- package/dist/drive/methods/update_revision/schema.d.ts.map +1 -1
- package/dist/drive/methods/update_shared_drive/schema.d.ts.map +1 -1
- package/dist/drive/operation.d.ts.map +1 -1
- package/dist/drive/tools/copy_file/schema.d.ts.map +1 -1
- package/dist/drive/tools/create_file/schema.d.ts.map +1 -1
- package/dist/drive/tools/download_file_content/schema.d.ts.map +1 -1
- package/dist/drive/tools/get_file_metadata/schema.d.ts.map +1 -1
- package/dist/drive/tools/get_file_permissions/index.d.ts +5 -5
- package/dist/drive/tools/get_file_permissions/schema.d.ts +5 -5
- package/dist/drive/tools/get_file_permissions/schema.d.ts.map +1 -1
- package/dist/drive/tools/list_recent_files/index.d.ts +1 -1
- package/dist/drive/tools/list_recent_files/schema.d.ts +1 -1
- package/dist/drive/tools/list_recent_files/schema.d.ts.map +1 -1
- package/dist/drive/tools/read_file_content/schema.d.ts.map +1 -1
- package/dist/drive/tools/registry.d.ts +6 -6
- package/dist/drive/tools/search_files/schema.d.ts.map +1 -1
- package/dist/gmail/capabilities.js.map +1 -1
- package/dist/gmail/entities/Filter.d.ts +1 -1
- package/dist/gmail/entities/FilterCriteria.d.ts +1 -1
- package/dist/gmail/methods/batch_delete_messages/schema.d.ts.map +1 -1
- package/dist/gmail/methods/batch_modify_messages/schema.d.ts.map +1 -1
- package/dist/gmail/methods/create_filter/index.d.ts +2 -2
- package/dist/gmail/methods/create_filter/schema.d.ts +2 -2
- package/dist/gmail/methods/create_filter/schema.d.ts.map +1 -1
- package/dist/gmail/methods/delete_draft/schema.d.ts.map +1 -1
- package/dist/gmail/methods/delete_filter/schema.d.ts.map +1 -1
- package/dist/gmail/methods/delete_label/schema.d.ts.map +1 -1
- package/dist/gmail/methods/delete_message/schema.d.ts.map +1 -1
- package/dist/gmail/methods/delete_thread/schema.d.ts.map +1 -1
- package/dist/gmail/methods/download_attachment/schema.d.ts.map +1 -1
- package/dist/gmail/methods/get_draft/schema.d.ts.map +1 -1
- package/dist/gmail/methods/get_filter/index.d.ts +1 -1
- package/dist/gmail/methods/get_filter/schema.d.ts +1 -1
- package/dist/gmail/methods/get_filter/schema.d.ts.map +1 -1
- package/dist/gmail/methods/get_label/schema.d.ts.map +1 -1
- package/dist/gmail/methods/get_message/index.d.ts +1 -1
- package/dist/gmail/methods/get_message/schema.d.ts +1 -1
- package/dist/gmail/methods/get_message/schema.d.ts.map +1 -1
- package/dist/gmail/methods/list_filters/index.d.ts +1 -1
- package/dist/gmail/methods/list_filters/schema.d.ts +1 -1
- package/dist/gmail/methods/list_filters/schema.d.ts.map +1 -1
- package/dist/gmail/methods/list_messages/schema.d.ts.map +1 -1
- package/dist/gmail/methods/registry.d.ts +5 -5
- package/dist/gmail/methods/send_draft/schema.d.ts.map +1 -1
- package/dist/gmail/methods/send_message/schema.d.ts.map +1 -1
- package/dist/gmail/methods/trash_message/schema.d.ts.map +1 -1
- package/dist/gmail/methods/trash_thread/schema.d.ts.map +1 -1
- package/dist/gmail/methods/untrash_message/schema.d.ts.map +1 -1
- package/dist/gmail/methods/untrash_thread/schema.d.ts.map +1 -1
- package/dist/gmail/methods/update_draft/schema.d.ts.map +1 -1
- package/dist/gmail/methods/update_label/schema.d.ts.map +1 -1
- package/dist/gmail/operation.d.ts.map +1 -1
- package/dist/gmail/tools/create_draft/schema.d.ts.map +1 -1
- package/dist/gmail/tools/create_label/schema.d.ts.map +1 -1
- package/dist/gmail/tools/get_thread/index.d.ts +1 -1
- package/dist/gmail/tools/get_thread/schema.d.ts +1 -1
- package/dist/gmail/tools/get_thread/schema.d.ts.map +1 -1
- package/dist/gmail/tools/label_message/schema.d.ts.map +1 -1
- package/dist/gmail/tools/label_thread/schema.d.ts.map +1 -1
- package/dist/gmail/tools/list_drafts/schema.d.ts.map +1 -1
- package/dist/gmail/tools/list_labels/schema.d.ts.map +1 -1
- package/dist/gmail/tools/registry.d.ts +1 -1
- package/dist/gmail/tools/search_threads/schema.d.ts.map +1 -1
- package/dist/gmail/tools/unlabel_message/schema.d.ts.map +1 -1
- package/dist/gmail/tools/unlabel_thread/schema.d.ts.map +1 -1
- package/dist/lib/instructions.d.ts +1 -1
- package/dist/lib/instructions.js +2 -2
- package/dist/lib/instructions.js.map +1 -1
- package/dist/lib/operation.d.ts.map +1 -1
- package/dist/sheets/capabilities.js.map +1 -1
- package/dist/sheets/entities/BasicChartSpec.d.ts +72 -0
- package/dist/sheets/entities/BasicChartSpec.d.ts.map +1 -0
- package/dist/sheets/entities/BasicChartSpec.js +53 -0
- package/dist/sheets/entities/BasicChartSpec.js.map +1 -0
- package/dist/sheets/entities/BooleanCondition.d.ts +56 -0
- package/dist/sheets/entities/BooleanCondition.d.ts.map +1 -0
- package/dist/sheets/entities/BooleanCondition.js +51 -0
- package/dist/sheets/entities/BooleanCondition.js.map +1 -0
- package/dist/sheets/entities/BooleanRule.d.ts +99 -0
- package/dist/sheets/entities/BooleanRule.d.ts.map +1 -0
- package/dist/sheets/entities/BooleanRule.js +34 -0
- package/dist/sheets/entities/BooleanRule.js.map +1 -0
- package/dist/sheets/entities/Border.d.ts +38 -0
- package/dist/sheets/entities/Border.d.ts.map +1 -0
- package/dist/sheets/entities/Border.js +15 -0
- package/dist/sheets/entities/Border.js.map +1 -0
- package/dist/sheets/entities/CellData.d.ts +131 -0
- package/dist/sheets/entities/CellData.d.ts.map +1 -0
- package/dist/sheets/entities/CellData.js +23 -0
- package/dist/sheets/entities/CellData.js.map +1 -0
- package/dist/sheets/entities/CellFormat.d.ts +89 -0
- package/dist/sheets/entities/CellFormat.d.ts.map +1 -0
- package/dist/sheets/entities/CellFormat.js +30 -0
- package/dist/sheets/entities/CellFormat.js.map +1 -0
- package/dist/sheets/entities/ChartData.d.ts +20 -0
- package/dist/sheets/entities/ChartData.d.ts.map +1 -0
- package/dist/sheets/entities/ChartData.js +18 -0
- package/dist/sheets/entities/ChartData.js.map +1 -0
- package/dist/sheets/entities/ChartSpec.d.ts +111 -0
- package/dist/sheets/entities/ChartSpec.d.ts.map +1 -0
- package/dist/sheets/entities/ChartSpec.js +18 -0
- package/dist/sheets/entities/ChartSpec.js.map +1 -0
- package/dist/sheets/entities/Color.d.ts +15 -0
- package/dist/sheets/entities/Color.d.ts.map +1 -0
- package/dist/sheets/entities/Color.js +24 -0
- package/dist/sheets/entities/Color.js.map +1 -0
- package/dist/sheets/entities/ColorStyle.d.ts +29 -0
- package/dist/sheets/entities/ColorStyle.d.ts.map +1 -0
- package/dist/sheets/entities/ColorStyle.js +28 -0
- package/dist/sheets/entities/ColorStyle.js.map +1 -0
- package/dist/sheets/entities/ConditionValue.d.ts +21 -0
- package/dist/sheets/entities/ConditionValue.d.ts.map +1 -0
- package/dist/sheets/entities/ConditionValue.js +19 -0
- package/dist/sheets/entities/ConditionValue.js.map +1 -0
- package/dist/sheets/entities/ConditionalFormatRule.d.ts +196 -0
- package/dist/sheets/entities/ConditionalFormatRule.d.ts.map +1 -0
- package/dist/sheets/entities/ConditionalFormatRule.js +22 -0
- package/dist/sheets/entities/ConditionalFormatRule.js.map +1 -0
- package/dist/sheets/entities/ConditionalFormatRuleReadout.d.ts +83 -0
- package/dist/sheets/entities/ConditionalFormatRuleReadout.d.ts.map +1 -0
- package/dist/sheets/entities/ConditionalFormatRuleReadout.js +84 -0
- package/dist/sheets/entities/ConditionalFormatRuleReadout.js.map +1 -0
- package/dist/sheets/entities/DataFilter.d.ts +3 -3
- package/dist/sheets/entities/DataFilterValueRange.d.ts +4 -4
- package/dist/sheets/entities/DataValidationRule.d.ts +59 -0
- package/dist/sheets/entities/DataValidationRule.d.ts.map +1 -0
- package/dist/sheets/entities/DataValidationRule.js +22 -0
- package/dist/sheets/entities/DataValidationRule.js.map +1 -0
- package/dist/sheets/entities/DateTimeRenderOption.d.ts +1 -1
- package/dist/sheets/entities/DeveloperMetadata.d.ts +2 -2
- package/dist/sheets/entities/DeveloperMetadataLocation.d.ts +2 -2
- package/dist/sheets/entities/DeveloperMetadataLookup.d.ts +3 -3
- package/dist/sheets/entities/DimensionRange.d.ts +1 -1
- package/dist/sheets/entities/DimensionRange.d.ts.map +1 -1
- package/dist/sheets/entities/DimensionRange.js +2 -0
- package/dist/sheets/entities/DimensionRange.js.map +1 -1
- package/dist/sheets/entities/Editors.d.ts +14 -0
- package/dist/sheets/entities/Editors.d.ts.map +1 -0
- package/dist/sheets/entities/Editors.js +22 -0
- package/dist/sheets/entities/Editors.js.map +1 -0
- package/dist/sheets/entities/EmbeddedObjectPosition.d.ts +24 -0
- package/dist/sheets/entities/EmbeddedObjectPosition.d.ts.map +1 -0
- package/dist/sheets/entities/EmbeddedObjectPosition.js +17 -0
- package/dist/sheets/entities/EmbeddedObjectPosition.js.map +1 -0
- package/dist/sheets/entities/ExtendedValue.d.ts +17 -0
- package/dist/sheets/entities/ExtendedValue.d.ts.map +1 -0
- package/dist/sheets/entities/ExtendedValue.js +25 -0
- package/dist/sheets/entities/ExtendedValue.js.map +1 -0
- package/dist/sheets/entities/GradientRule.d.ts +96 -0
- package/dist/sheets/entities/GradientRule.d.ts.map +1 -0
- package/dist/sheets/entities/GradientRule.js +15 -0
- package/dist/sheets/entities/GradientRule.js.map +1 -0
- package/dist/sheets/entities/GridCoordinate.d.ts +13 -0
- package/dist/sheets/entities/GridCoordinate.d.ts.map +1 -0
- package/dist/sheets/entities/GridCoordinate.js +12 -0
- package/dist/sheets/entities/GridCoordinate.js.map +1 -0
- package/dist/sheets/entities/GridProperties.d.ts +1 -1
- package/dist/sheets/entities/GridProperties.d.ts.map +1 -1
- package/dist/sheets/entities/GridProperties.js +10 -3
- package/dist/sheets/entities/GridProperties.js.map +1 -1
- package/dist/sheets/entities/InterpolationPoint.d.ts +37 -0
- package/dist/sheets/entities/InterpolationPoint.d.ts.map +1 -0
- package/dist/sheets/entities/InterpolationPoint.js +19 -0
- package/dist/sheets/entities/InterpolationPoint.js.map +1 -0
- package/dist/sheets/entities/MajorDimension.d.ts +1 -1
- package/dist/sheets/entities/MatchedValueRange.d.ts +4 -4
- package/dist/sheets/entities/NamedRange.d.ts +21 -0
- package/dist/sheets/entities/NamedRange.d.ts.map +1 -0
- package/dist/sheets/entities/NamedRange.js +15 -0
- package/dist/sheets/entities/NamedRange.js.map +1 -0
- package/dist/sheets/entities/NumberFormat.d.ts +21 -0
- package/dist/sheets/entities/NumberFormat.d.ts.map +1 -0
- package/dist/sheets/entities/NumberFormat.js +16 -0
- package/dist/sheets/entities/NumberFormat.js.map +1 -0
- package/dist/sheets/entities/OverlayPosition.d.ts +20 -0
- package/dist/sheets/entities/OverlayPosition.d.ts.map +1 -0
- package/dist/sheets/entities/OverlayPosition.js +34 -0
- package/dist/sheets/entities/OverlayPosition.js.map +1 -0
- package/dist/sheets/entities/PieChartSpec.d.ts +42 -0
- package/dist/sheets/entities/PieChartSpec.d.ts.map +1 -0
- package/dist/sheets/entities/PieChartSpec.js +30 -0
- package/dist/sheets/entities/PieChartSpec.js.map +1 -0
- package/dist/sheets/entities/ProtectedRange.d.ts +38 -0
- package/dist/sheets/entities/ProtectedRange.d.ts.map +1 -0
- package/dist/sheets/entities/ProtectedRange.js +35 -0
- package/dist/sheets/entities/ProtectedRange.js.map +1 -0
- package/dist/sheets/entities/SheetProperties.d.ts +23 -5
- package/dist/sheets/entities/SheetProperties.d.ts.map +1 -1
- package/dist/sheets/entities/SheetProperties.js +5 -3
- package/dist/sheets/entities/SheetProperties.js.map +1 -1
- package/dist/sheets/entities/Spreadsheet.d.ts +150 -8
- package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -1
- package/dist/sheets/entities/Spreadsheet.js +34 -6
- package/dist/sheets/entities/Spreadsheet.js.map +1 -1
- package/dist/sheets/entities/SpreadsheetProperties.d.ts +2 -2
- package/dist/sheets/entities/TextFormat.d.ts +38 -0
- package/dist/sheets/entities/TextFormat.d.ts.map +1 -0
- package/dist/sheets/entities/TextFormat.js +26 -0
- package/dist/sheets/entities/TextFormat.js.map +1 -0
- package/dist/sheets/entities/TextFormatRun.d.ts +43 -0
- package/dist/sheets/entities/TextFormatRun.d.ts.map +1 -0
- package/dist/sheets/entities/TextFormatRun.js +19 -0
- package/dist/sheets/entities/TextFormatRun.js.map +1 -0
- package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts +4 -4
- package/dist/sheets/entities/UpdateValuesResponse.d.ts +1 -1
- package/dist/sheets/entities/ValueRange.d.ts +1 -1
- package/dist/sheets/entities/ValueRenderOption.d.ts +1 -1
- package/dist/sheets/instructions.d.ts.map +1 -1
- package/dist/sheets/instructions.js +29 -5
- package/dist/sheets/instructions.js.map +1 -1
- package/dist/sheets/lib/cells.d.ts +20 -0
- package/dist/sheets/lib/cells.d.ts.map +1 -0
- package/dist/sheets/lib/cells.js +41 -0
- package/dist/sheets/lib/cells.js.map +1 -0
- package/dist/sheets/lib/charts.d.ts +15 -0
- package/dist/sheets/lib/charts.d.ts.map +1 -0
- package/dist/sheets/lib/charts.js +66 -0
- package/dist/sheets/lib/charts.js.map +1 -0
- package/dist/sheets/lib/formats.d.ts +29 -0
- package/dist/sheets/lib/formats.d.ts.map +1 -0
- package/dist/sheets/lib/formats.js +62 -0
- package/dist/sheets/lib/formats.js.map +1 -0
- package/dist/sheets/lib/requests.d.ts +33 -0
- package/dist/sheets/lib/requests.d.ts.map +1 -0
- package/dist/sheets/lib/requests.js +79 -0
- package/dist/sheets/lib/requests.js.map +1 -0
- package/dist/sheets/lib/rules.d.ts +37 -0
- package/dist/sheets/lib/rules.d.ts.map +1 -0
- package/dist/sheets/lib/rules.js +116 -0
- package/dist/sheets/lib/rules.js.map +1 -0
- package/dist/sheets/lib/spreadsheet.d.ts +15 -3
- package/dist/sheets/lib/spreadsheet.d.ts.map +1 -1
- package/dist/sheets/lib/spreadsheet.js +142 -4
- package/dist/sheets/lib/spreadsheet.js.map +1 -1
- package/dist/sheets/methods/add_chart/handler.d.ts +5 -0
- package/dist/sheets/methods/add_chart/handler.d.ts.map +1 -0
- package/dist/sheets/methods/add_chart/handler.js +25 -0
- package/dist/sheets/methods/add_chart/handler.js.map +1 -0
- package/dist/sheets/methods/add_chart/index.d.ts +125 -0
- package/dist/sheets/methods/add_chart/index.d.ts.map +1 -0
- package/dist/sheets/methods/add_chart/index.js +20 -0
- package/dist/sheets/methods/add_chart/index.js.map +1 -0
- package/dist/sheets/methods/add_chart/schema.d.ts +126 -0
- package/dist/sheets/methods/add_chart/schema.d.ts.map +1 -0
- package/dist/sheets/methods/add_chart/schema.js +23 -0
- package/dist/sheets/methods/add_chart/schema.js.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/handler.d.ts +5 -0
- package/dist/sheets/methods/add_conditional_format_rule/handler.d.ts.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/handler.js +13 -0
- package/dist/sheets/methods/add_conditional_format_rule/handler.js.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/index.d.ts +198 -0
- package/dist/sheets/methods/add_conditional_format_rule/index.d.ts.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/index.js +22 -0
- package/dist/sheets/methods/add_conditional_format_rule/index.js.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/schema.d.ts +197 -0
- package/dist/sheets/methods/add_conditional_format_rule/schema.d.ts.map +1 -0
- package/dist/sheets/methods/add_conditional_format_rule/schema.js +22 -0
- package/dist/sheets/methods/add_conditional_format_rule/schema.js.map +1 -0
- package/dist/sheets/methods/add_named_range/handler.d.ts +5 -0
- package/dist/sheets/methods/add_named_range/handler.d.ts.map +1 -0
- package/dist/sheets/methods/add_named_range/handler.js +16 -0
- package/dist/sheets/methods/add_named_range/handler.js.map +1 -0
- package/dist/sheets/methods/add_named_range/index.d.ts +26 -0
- package/dist/sheets/methods/add_named_range/index.d.ts.map +1 -0
- package/dist/sheets/methods/add_named_range/index.js +20 -0
- package/dist/sheets/methods/add_named_range/index.js.map +1 -0
- package/dist/sheets/methods/add_named_range/schema.d.ts +26 -0
- package/dist/sheets/methods/add_named_range/schema.d.ts.map +1 -0
- package/dist/sheets/methods/add_named_range/schema.js +14 -0
- package/dist/sheets/methods/add_named_range/schema.js.map +1 -0
- package/dist/sheets/methods/add_protected_range/handler.d.ts +5 -0
- package/dist/sheets/methods/add_protected_range/handler.d.ts.map +1 -0
- package/dist/sheets/methods/add_protected_range/handler.js +29 -0
- package/dist/sheets/methods/add_protected_range/handler.js.map +1 -0
- package/dist/sheets/methods/add_protected_range/index.d.ts +61 -0
- package/dist/sheets/methods/add_protected_range/index.d.ts.map +1 -0
- package/dist/sheets/methods/add_protected_range/index.js +25 -0
- package/dist/sheets/methods/add_protected_range/index.js.map +1 -0
- package/dist/sheets/methods/add_protected_range/schema.d.ts +56 -0
- package/dist/sheets/methods/add_protected_range/schema.d.ts.map +1 -0
- package/dist/sheets/methods/add_protected_range/schema.js +31 -0
- package/dist/sheets/methods/add_protected_range/schema.js.map +1 -0
- package/dist/sheets/methods/add_sheet/handler.d.ts +5 -0
- package/dist/sheets/methods/add_sheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/add_sheet/handler.js +19 -0
- package/dist/sheets/methods/add_sheet/handler.js.map +1 -0
- package/dist/sheets/methods/add_sheet/index.d.ts +69 -0
- package/dist/sheets/methods/add_sheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/add_sheet/index.js +20 -0
- package/dist/sheets/methods/add_sheet/index.js.map +1 -0
- package/dist/sheets/methods/add_sheet/schema.d.ts +69 -0
- package/dist/sheets/methods/add_sheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/add_sheet/schema.js +24 -0
- package/dist/sheets/methods/add_sheet/schema.js.map +1 -0
- package/dist/sheets/methods/append_values/index.d.ts +5 -5
- package/dist/sheets/methods/append_values/schema.d.ts +5 -5
- package/dist/sheets/methods/append_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/auto_resize_dimensions/handler.d.ts +5 -0
- package/dist/sheets/methods/auto_resize_dimensions/handler.d.ts.map +1 -0
- package/dist/sheets/methods/auto_resize_dimensions/handler.js +9 -0
- package/dist/sheets/methods/auto_resize_dimensions/handler.js.map +1 -0
- package/dist/sheets/methods/auto_resize_dimensions/index.d.ts +16 -0
- package/dist/sheets/methods/auto_resize_dimensions/index.d.ts.map +1 -0
- package/dist/sheets/methods/auto_resize_dimensions/index.js +17 -0
- package/dist/sheets/methods/auto_resize_dimensions/index.js.map +1 -0
- package/dist/sheets/methods/auto_resize_dimensions/schema.d.ts +20 -0
- package/dist/sheets/methods/auto_resize_dimensions/schema.d.ts.map +1 -0
- package/dist/sheets/methods/auto_resize_dimensions/schema.js +13 -0
- package/dist/sheets/methods/auto_resize_dimensions/schema.js.map +1 -0
- package/dist/sheets/methods/batch_clear_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts +3 -3
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts +3 -3
- package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts.map +1 -1
- package/dist/sheets/methods/batch_get_values/index.d.ts +4 -4
- package/dist/sheets/methods/batch_get_values/schema.d.ts +4 -4
- package/dist/sheets/methods/batch_get_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts +10 -10
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts +10 -10
- package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts.map +1 -1
- package/dist/sheets/methods/batch_update_values/index.d.ts +4 -4
- package/dist/sheets/methods/batch_update_values/schema.d.ts +4 -4
- package/dist/sheets/methods/batch_update_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts +10 -10
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts +10 -10
- package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts.map +1 -1
- package/dist/sheets/methods/clear_data_validation/handler.d.ts +5 -0
- package/dist/sheets/methods/clear_data_validation/handler.d.ts.map +1 -0
- package/dist/sheets/methods/clear_data_validation/handler.js +12 -0
- package/dist/sheets/methods/clear_data_validation/handler.js.map +1 -0
- package/dist/sheets/methods/clear_data_validation/index.d.ts +19 -0
- package/dist/sheets/methods/clear_data_validation/index.d.ts.map +1 -0
- package/dist/sheets/methods/clear_data_validation/index.js +21 -0
- package/dist/sheets/methods/clear_data_validation/index.js.map +1 -0
- package/dist/sheets/methods/clear_data_validation/schema.d.ts +19 -0
- package/dist/sheets/methods/clear_data_validation/schema.d.ts.map +1 -0
- package/dist/sheets/methods/clear_data_validation/schema.js +17 -0
- package/dist/sheets/methods/clear_data_validation/schema.js.map +1 -0
- package/dist/sheets/methods/clear_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/copy_sheet/index.d.ts +20 -2
- package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/copy_sheet/schema.d.ts +20 -2
- package/dist/sheets/methods/copy_sheet/schema.d.ts.map +1 -1
- package/dist/sheets/methods/create_spreadsheet/index.d.ts +145 -4
- package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts +145 -4
- package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -1
- package/dist/sheets/methods/delete_conditional_format_rule/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_conditional_format_rule/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_conditional_format_rule/handler.js +8 -0
- package/dist/sheets/methods/delete_conditional_format_rule/handler.js.map +1 -0
- package/dist/sheets/methods/delete_conditional_format_rule/index.d.ts +16 -0
- package/dist/sheets/methods/delete_conditional_format_rule/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_conditional_format_rule/index.js +23 -0
- package/dist/sheets/methods/delete_conditional_format_rule/index.js.map +1 -0
- package/dist/sheets/methods/delete_conditional_format_rule/schema.d.ts +14 -0
- package/dist/sheets/methods/delete_conditional_format_rule/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_conditional_format_rule/schema.js +16 -0
- package/dist/sheets/methods/delete_conditional_format_rule/schema.js.map +1 -0
- package/dist/sheets/methods/delete_dimension/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_dimension/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_dimension/handler.js +9 -0
- package/dist/sheets/methods/delete_dimension/handler.js.map +1 -0
- package/dist/sheets/methods/delete_dimension/index.d.ts +19 -0
- package/dist/sheets/methods/delete_dimension/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_dimension/index.js +20 -0
- package/dist/sheets/methods/delete_dimension/index.js.map +1 -0
- package/dist/sheets/methods/delete_dimension/schema.d.ts +20 -0
- package/dist/sheets/methods/delete_dimension/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_dimension/schema.js +13 -0
- package/dist/sheets/methods/delete_dimension/schema.js.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_embedded_object/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/handler.js +8 -0
- package/dist/sheets/methods/delete_embedded_object/handler.js.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/index.d.ts +12 -0
- package/dist/sheets/methods/delete_embedded_object/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/index.js +20 -0
- package/dist/sheets/methods/delete_embedded_object/index.js.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/schema.d.ts +13 -0
- package/dist/sheets/methods/delete_embedded_object/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_embedded_object/schema.js +16 -0
- package/dist/sheets/methods/delete_embedded_object/schema.js.map +1 -0
- package/dist/sheets/methods/delete_named_range/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_named_range/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_named_range/handler.js +8 -0
- package/dist/sheets/methods/delete_named_range/handler.js.map +1 -0
- package/dist/sheets/methods/delete_named_range/index.d.ts +12 -0
- package/dist/sheets/methods/delete_named_range/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_named_range/index.js +20 -0
- package/dist/sheets/methods/delete_named_range/index.js.map +1 -0
- package/dist/sheets/methods/delete_named_range/schema.d.ts +13 -0
- package/dist/sheets/methods/delete_named_range/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_named_range/schema.js +15 -0
- package/dist/sheets/methods/delete_named_range/schema.js.map +1 -0
- package/dist/sheets/methods/delete_protected_range/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_protected_range/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_protected_range/handler.js +8 -0
- package/dist/sheets/methods/delete_protected_range/handler.js.map +1 -0
- package/dist/sheets/methods/delete_protected_range/index.d.ts +13 -0
- package/dist/sheets/methods/delete_protected_range/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_protected_range/index.js +21 -0
- package/dist/sheets/methods/delete_protected_range/index.js.map +1 -0
- package/dist/sheets/methods/delete_protected_range/schema.d.ts +13 -0
- package/dist/sheets/methods/delete_protected_range/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_protected_range/schema.js +15 -0
- package/dist/sheets/methods/delete_protected_range/schema.js.map +1 -0
- package/dist/sheets/methods/delete_sheet/handler.d.ts +5 -0
- package/dist/sheets/methods/delete_sheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/delete_sheet/handler.js +6 -0
- package/dist/sheets/methods/delete_sheet/handler.js.map +1 -0
- package/dist/sheets/methods/delete_sheet/index.d.ts +13 -0
- package/dist/sheets/methods/delete_sheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/delete_sheet/index.js +21 -0
- package/dist/sheets/methods/delete_sheet/index.js.map +1 -0
- package/dist/sheets/methods/delete_sheet/schema.d.ts +13 -0
- package/dist/sheets/methods/delete_sheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/delete_sheet/schema.js +13 -0
- package/dist/sheets/methods/delete_sheet/schema.js.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/handler.d.ts +5 -0
- package/dist/sheets/methods/duplicate_sheet/handler.d.ts.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/handler.js +15 -0
- package/dist/sheets/methods/duplicate_sheet/handler.js.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/index.d.ts +46 -0
- package/dist/sheets/methods/duplicate_sheet/index.d.ts.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/index.js +20 -0
- package/dist/sheets/methods/duplicate_sheet/index.js.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/schema.d.ts +46 -0
- package/dist/sheets/methods/duplicate_sheet/schema.d.ts.map +1 -0
- package/dist/sheets/methods/duplicate_sheet/schema.js +26 -0
- package/dist/sheets/methods/duplicate_sheet/schema.js.map +1 -0
- package/dist/sheets/methods/get_developer_metadata/index.d.ts +2 -2
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts +2 -2
- package/dist/sheets/methods/get_developer_metadata/schema.d.ts.map +1 -1
- package/dist/sheets/methods/get_spreadsheet/index.d.ts +152 -8
- package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -1
- package/dist/sheets/methods/get_spreadsheet/index.js +8 -5
- package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -1
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts +145 -4
- package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -1
- package/dist/sheets/methods/get_values/index.d.ts +4 -4
- package/dist/sheets/methods/get_values/schema.d.ts +4 -4
- package/dist/sheets/methods/get_values/schema.d.ts.map +1 -1
- package/dist/sheets/methods/insert_dimension/handler.d.ts +5 -0
- package/dist/sheets/methods/insert_dimension/handler.d.ts.map +1 -0
- package/dist/sheets/methods/insert_dimension/handler.js +18 -0
- package/dist/sheets/methods/insert_dimension/handler.js.map +1 -0
- package/dist/sheets/methods/insert_dimension/index.d.ts +16 -0
- package/dist/sheets/methods/insert_dimension/index.d.ts.map +1 -0
- package/dist/sheets/methods/insert_dimension/index.js +16 -0
- package/dist/sheets/methods/insert_dimension/index.js.map +1 -0
- package/dist/sheets/methods/insert_dimension/schema.d.ts +21 -0
- package/dist/sheets/methods/insert_dimension/schema.d.ts.map +1 -0
- package/dist/sheets/methods/insert_dimension/schema.js +22 -0
- package/dist/sheets/methods/insert_dimension/schema.js.map +1 -0
- package/dist/sheets/methods/merge_cells/handler.d.ts +5 -0
- package/dist/sheets/methods/merge_cells/handler.d.ts.map +1 -0
- package/dist/sheets/methods/merge_cells/handler.js +12 -0
- package/dist/sheets/methods/merge_cells/handler.js.map +1 -0
- package/dist/sheets/methods/merge_cells/index.d.ts +23 -0
- package/dist/sheets/methods/merge_cells/index.d.ts.map +1 -0
- package/dist/sheets/methods/merge_cells/index.js +21 -0
- package/dist/sheets/methods/merge_cells/index.js.map +1 -0
- package/dist/sheets/methods/merge_cells/schema.d.ts +23 -0
- package/dist/sheets/methods/merge_cells/schema.d.ts.map +1 -0
- package/dist/sheets/methods/merge_cells/schema.js +16 -0
- package/dist/sheets/methods/merge_cells/schema.js.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/handler.d.ts +5 -0
- package/dist/sheets/methods/move_conditional_format_rule/handler.d.ts.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/handler.js +18 -0
- package/dist/sheets/methods/move_conditional_format_rule/handler.js.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/index.d.ts +17 -0
- package/dist/sheets/methods/move_conditional_format_rule/index.d.ts.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/index.js +22 -0
- package/dist/sheets/methods/move_conditional_format_rule/index.js.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/schema.d.ts +16 -0
- package/dist/sheets/methods/move_conditional_format_rule/schema.d.ts.map +1 -0
- package/dist/sheets/methods/move_conditional_format_rule/schema.js +24 -0
- package/dist/sheets/methods/move_conditional_format_rule/schema.js.map +1 -0
- package/dist/sheets/methods/registry.d.ts +1840 -65
- package/dist/sheets/methods/registry.d.ts.map +1 -1
- package/dist/sheets/methods/registry.js +65 -2
- package/dist/sheets/methods/registry.js.map +1 -1
- package/dist/sheets/methods/repeat_cell/handler.d.ts +5 -0
- package/dist/sheets/methods/repeat_cell/handler.d.ts.map +1 -0
- package/dist/sheets/methods/repeat_cell/handler.js +22 -0
- package/dist/sheets/methods/repeat_cell/handler.js.map +1 -0
- package/dist/sheets/methods/repeat_cell/index.d.ts +100 -0
- package/dist/sheets/methods/repeat_cell/index.d.ts.map +1 -0
- package/dist/sheets/methods/repeat_cell/index.js +24 -0
- package/dist/sheets/methods/repeat_cell/index.js.map +1 -0
- package/dist/sheets/methods/repeat_cell/schema.d.ts +97 -0
- package/dist/sheets/methods/repeat_cell/schema.d.ts.map +1 -0
- package/dist/sheets/methods/repeat_cell/schema.js +18 -0
- package/dist/sheets/methods/repeat_cell/schema.js.map +1 -0
- package/dist/sheets/methods/search_developer_metadata/index.d.ts +8 -8
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts +8 -8
- package/dist/sheets/methods/search_developer_metadata/schema.d.ts.map +1 -1
- package/dist/sheets/methods/set_data_validation/handler.d.ts +5 -0
- package/dist/sheets/methods/set_data_validation/handler.d.ts.map +1 -0
- package/dist/sheets/methods/set_data_validation/handler.js +14 -0
- package/dist/sheets/methods/set_data_validation/handler.js.map +1 -0
- package/dist/sheets/methods/set_data_validation/index.d.ts +69 -0
- package/dist/sheets/methods/set_data_validation/index.d.ts.map +1 -0
- package/dist/sheets/methods/set_data_validation/index.js +22 -0
- package/dist/sheets/methods/set_data_validation/index.js.map +1 -0
- package/dist/sheets/methods/set_data_validation/schema.d.ts +68 -0
- package/dist/sheets/methods/set_data_validation/schema.d.ts.map +1 -0
- package/dist/sheets/methods/set_data_validation/schema.js +19 -0
- package/dist/sheets/methods/set_data_validation/schema.js.map +1 -0
- package/dist/sheets/methods/unmerge_cells/handler.d.ts +5 -0
- package/dist/sheets/methods/unmerge_cells/handler.d.ts.map +1 -0
- package/dist/sheets/methods/unmerge_cells/handler.js +9 -0
- package/dist/sheets/methods/unmerge_cells/handler.js.map +1 -0
- package/dist/sheets/methods/unmerge_cells/index.d.ts +17 -0
- package/dist/sheets/methods/unmerge_cells/index.d.ts.map +1 -0
- package/dist/sheets/methods/unmerge_cells/index.js +20 -0
- package/dist/sheets/methods/unmerge_cells/index.js.map +1 -0
- package/dist/sheets/methods/unmerge_cells/schema.d.ts +18 -0
- package/dist/sheets/methods/unmerge_cells/schema.d.ts.map +1 -0
- package/dist/sheets/methods/unmerge_cells/schema.js +13 -0
- package/dist/sheets/methods/unmerge_cells/schema.js.map +1 -0
- package/dist/sheets/methods/update_borders/handler.d.ts +5 -0
- package/dist/sheets/methods/update_borders/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_borders/handler.js +21 -0
- package/dist/sheets/methods/update_borders/handler.js.map +1 -0
- package/dist/sheets/methods/update_borders/index.d.ts +191 -0
- package/dist/sheets/methods/update_borders/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_borders/index.js +20 -0
- package/dist/sheets/methods/update_borders/index.js.map +1 -0
- package/dist/sheets/methods/update_borders/schema.d.ts +192 -0
- package/dist/sheets/methods/update_borders/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_borders/schema.js +20 -0
- package/dist/sheets/methods/update_borders/schema.js.map +1 -0
- package/dist/sheets/methods/update_cells/handler.d.ts +5 -0
- package/dist/sheets/methods/update_cells/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_cells/handler.js +22 -0
- package/dist/sheets/methods/update_cells/handler.js.map +1 -0
- package/dist/sheets/methods/update_cells/index.d.ts +148 -0
- package/dist/sheets/methods/update_cells/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_cells/index.js +24 -0
- package/dist/sheets/methods/update_cells/index.js.map +1 -0
- package/dist/sheets/methods/update_cells/schema.d.ts +145 -0
- package/dist/sheets/methods/update_cells/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_cells/schema.js +25 -0
- package/dist/sheets/methods/update_cells/schema.js.map +1 -0
- package/dist/sheets/methods/update_chart_spec/handler.d.ts +5 -0
- package/dist/sheets/methods/update_chart_spec/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_chart_spec/handler.js +10 -0
- package/dist/sheets/methods/update_chart_spec/handler.js.map +1 -0
- package/dist/sheets/methods/update_chart_spec/index.d.ts +112 -0
- package/dist/sheets/methods/update_chart_spec/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_chart_spec/index.js +20 -0
- package/dist/sheets/methods/update_chart_spec/index.js.map +1 -0
- package/dist/sheets/methods/update_chart_spec/schema.d.ts +113 -0
- package/dist/sheets/methods/update_chart_spec/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_chart_spec/schema.js +15 -0
- package/dist/sheets/methods/update_chart_spec/schema.js.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/handler.d.ts +5 -0
- package/dist/sheets/methods/update_conditional_format_rule/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/handler.js +17 -0
- package/dist/sheets/methods/update_conditional_format_rule/handler.js.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/index.d.ts +200 -0
- package/dist/sheets/methods/update_conditional_format_rule/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/index.js +24 -0
- package/dist/sheets/methods/update_conditional_format_rule/index.js.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/schema.d.ts +197 -0
- package/dist/sheets/methods/update_conditional_format_rule/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_conditional_format_rule/schema.js +19 -0
- package/dist/sheets/methods/update_conditional_format_rule/schema.js.map +1 -0
- package/dist/sheets/methods/update_protected_range/handler.d.ts +5 -0
- package/dist/sheets/methods/update_protected_range/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_protected_range/handler.js +31 -0
- package/dist/sheets/methods/update_protected_range/handler.js.map +1 -0
- package/dist/sheets/methods/update_protected_range/index.d.ts +38 -0
- package/dist/sheets/methods/update_protected_range/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_protected_range/index.js +23 -0
- package/dist/sheets/methods/update_protected_range/index.js.map +1 -0
- package/dist/sheets/methods/update_protected_range/schema.d.ts +36 -0
- package/dist/sheets/methods/update_protected_range/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_protected_range/schema.js +33 -0
- package/dist/sheets/methods/update_protected_range/schema.js.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/handler.d.ts +5 -0
- package/dist/sheets/methods/update_sheet_properties/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/handler.js +30 -0
- package/dist/sheets/methods/update_sheet_properties/handler.js.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/index.d.ts +44 -0
- package/dist/sheets/methods/update_sheet_properties/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/index.js +24 -0
- package/dist/sheets/methods/update_sheet_properties/index.js.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/schema.d.ts +41 -0
- package/dist/sheets/methods/update_sheet_properties/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_sheet_properties/schema.js +28 -0
- package/dist/sheets/methods/update_sheet_properties/schema.js.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/handler.d.ts +5 -0
- package/dist/sheets/methods/update_spreadsheet_properties/handler.d.ts.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/handler.js +26 -0
- package/dist/sheets/methods/update_spreadsheet_properties/handler.js.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/index.d.ts +20 -0
- package/dist/sheets/methods/update_spreadsheet_properties/index.d.ts.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/index.js +21 -0
- package/dist/sheets/methods/update_spreadsheet_properties/index.js.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/schema.d.ts +20 -0
- package/dist/sheets/methods/update_spreadsheet_properties/schema.d.ts.map +1 -0
- package/dist/sheets/methods/update_spreadsheet_properties/schema.js +19 -0
- package/dist/sheets/methods/update_spreadsheet_properties/schema.js.map +1 -0
- package/dist/sheets/methods/update_values/index.d.ts +4 -4
- package/dist/sheets/methods/update_values/schema.d.ts +4 -4
- package/dist/sheets/methods/update_values/schema.d.ts.map +1 -1
- package/dist/sheets/operation.d.ts.map +1 -1
- package/dist/suite/dispatch.d.ts +1 -1
- package/dist/suite/dispatch.d.ts.map +1 -1
- package/package.json +6 -6
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* One value of a condition: either a literal (parsed as if typed into a
|
|
4
|
+
* cell, so formulas work) or a date relative to the current date. Provide
|
|
5
|
+
* exactly one of the two fields.
|
|
6
|
+
*
|
|
7
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#ConditionValue
|
|
8
|
+
*/
|
|
9
|
+
export const ConditionValue = z.strictObject({
|
|
10
|
+
relativeDate: z
|
|
11
|
+
.enum(['PAST_YEAR', 'PAST_MONTH', 'PAST_WEEK', 'YESTERDAY', 'TODAY', 'TOMORROW'])
|
|
12
|
+
.optional()
|
|
13
|
+
.describe('A date relative to the current date; provide this or userEnteredValue, not both. Valid only with date-comparison condition types in conditional formatting and filters, never in data validation; in practice that pairs it with DATE_BEFORE and DATE_AFTER (Google documents the ON_OR variants as data-validation types).'),
|
|
14
|
+
userEnteredValue: z
|
|
15
|
+
.string()
|
|
16
|
+
.optional()
|
|
17
|
+
.describe('A value the condition is based on; provide this or relativeDate, not both. Parsed as if the user typed it into a cell, so a value beginning with = or + becomes a live formula that executes in the sheet; do not pass untrusted text that starts with either. ONE_OF_LIST values do not support formulas.'),
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=ConditionValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionValue.js","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,YAAY,EAAE,CAAC;SACZ,IAAI,CAAC,CAAC,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;SAChF,QAAQ,EAAE;SACV,QAAQ,CACP,6TAA6T,CAC9T;IACH,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,4SAA4S,CAC7S;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * One value of a condition: either a literal (parsed as if typed into a\n * cell, so formulas work) or a date relative to the current date. Provide\n * exactly one of the two fields.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#ConditionValue\n */\nexport const ConditionValue = z.strictObject({\n relativeDate: z\n .enum(['PAST_YEAR', 'PAST_MONTH', 'PAST_WEEK', 'YESTERDAY', 'TODAY', 'TOMORROW'])\n .optional()\n .describe(\n 'A date relative to the current date; provide this or userEnteredValue, not both. Valid only with date-comparison condition types in conditional formatting and filters, never in data validation; in practice that pairs it with DATE_BEFORE and DATE_AFTER (Google documents the ON_OR variants as data-validation types).',\n ),\n userEnteredValue: z\n .string()\n .optional()\n .describe(\n 'A value the condition is based on; provide this or relativeDate, not both. Parsed as if the user typed it into a cell, so a value beginning with = or + becomes a live formula that executes in the sheet; do not pass untrusted text that starts with either. ONE_OF_LIST values do not support formulas.',\n ),\n});\n\nexport type ConditionValue = z.infer<typeof ConditionValue>;\n"]}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* A rule describing a conditional format: either a boolean rule (an on/off
|
|
4
|
+
* format gated on a condition) or a gradient rule (a continuous color scale).
|
|
5
|
+
* Provide exactly one of the two. Rules live per sheet in an ordered list
|
|
6
|
+
* and are addressed by index; earlier rules take precedence where rules
|
|
7
|
+
* overlap.
|
|
8
|
+
*
|
|
9
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#ConditionalFormatRule
|
|
10
|
+
*/
|
|
11
|
+
export declare const ConditionalFormatRule: z.ZodObject<{
|
|
12
|
+
ranges: z.ZodArray<z.ZodObject<{
|
|
13
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
18
|
+
}, z.core.$strict>>;
|
|
19
|
+
booleanRule: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
condition: z.ZodObject<{
|
|
21
|
+
type: z.ZodEnum<{
|
|
22
|
+
BLANK: "BLANK";
|
|
23
|
+
BOOLEAN: "BOOLEAN";
|
|
24
|
+
CUSTOM_FORMULA: "CUSTOM_FORMULA";
|
|
25
|
+
DATE_AFTER: "DATE_AFTER";
|
|
26
|
+
DATE_BEFORE: "DATE_BEFORE";
|
|
27
|
+
DATE_BETWEEN: "DATE_BETWEEN";
|
|
28
|
+
DATE_EQ: "DATE_EQ";
|
|
29
|
+
DATE_IS_VALID: "DATE_IS_VALID";
|
|
30
|
+
DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
|
|
31
|
+
DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
|
|
32
|
+
DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
|
|
33
|
+
NOT_BLANK: "NOT_BLANK";
|
|
34
|
+
NUMBER_BETWEEN: "NUMBER_BETWEEN";
|
|
35
|
+
NUMBER_EQ: "NUMBER_EQ";
|
|
36
|
+
NUMBER_GREATER: "NUMBER_GREATER";
|
|
37
|
+
NUMBER_GREATER_THAN_EQ: "NUMBER_GREATER_THAN_EQ";
|
|
38
|
+
NUMBER_LESS: "NUMBER_LESS";
|
|
39
|
+
NUMBER_LESS_THAN_EQ: "NUMBER_LESS_THAN_EQ";
|
|
40
|
+
NUMBER_NOT_BETWEEN: "NUMBER_NOT_BETWEEN";
|
|
41
|
+
NUMBER_NOT_EQ: "NUMBER_NOT_EQ";
|
|
42
|
+
ONE_OF_LIST: "ONE_OF_LIST";
|
|
43
|
+
ONE_OF_RANGE: "ONE_OF_RANGE";
|
|
44
|
+
TEXT_CONTAINS: "TEXT_CONTAINS";
|
|
45
|
+
TEXT_ENDS_WITH: "TEXT_ENDS_WITH";
|
|
46
|
+
TEXT_EQ: "TEXT_EQ";
|
|
47
|
+
TEXT_IS_EMAIL: "TEXT_IS_EMAIL";
|
|
48
|
+
TEXT_IS_URL: "TEXT_IS_URL";
|
|
49
|
+
TEXT_NOT_CONTAINS: "TEXT_NOT_CONTAINS";
|
|
50
|
+
TEXT_STARTS_WITH: "TEXT_STARTS_WITH";
|
|
51
|
+
}>;
|
|
52
|
+
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
|
+
relativeDate: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
PAST_MONTH: "PAST_MONTH";
|
|
55
|
+
PAST_WEEK: "PAST_WEEK";
|
|
56
|
+
PAST_YEAR: "PAST_YEAR";
|
|
57
|
+
TODAY: "TODAY";
|
|
58
|
+
TOMORROW: "TOMORROW";
|
|
59
|
+
YESTERDAY: "YESTERDAY";
|
|
60
|
+
}>>;
|
|
61
|
+
userEnteredValue: z.ZodOptional<z.ZodString>;
|
|
62
|
+
}, z.core.$strict>>>;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
format: z.ZodObject<{
|
|
65
|
+
backgroundColorStyle: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
68
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
69
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
}, z.core.$strict>>;
|
|
71
|
+
themeColor: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
ACCENT1: "ACCENT1";
|
|
73
|
+
ACCENT2: "ACCENT2";
|
|
74
|
+
ACCENT3: "ACCENT3";
|
|
75
|
+
ACCENT4: "ACCENT4";
|
|
76
|
+
ACCENT5: "ACCENT5";
|
|
77
|
+
ACCENT6: "ACCENT6";
|
|
78
|
+
BACKGROUND: "BACKGROUND";
|
|
79
|
+
LINK: "LINK";
|
|
80
|
+
TEXT: "TEXT";
|
|
81
|
+
}>>;
|
|
82
|
+
}, z.core.$strict>>;
|
|
83
|
+
textFormat: z.ZodOptional<z.ZodObject<{
|
|
84
|
+
foregroundColorStyle: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
}, z.core.$strict>>;
|
|
90
|
+
themeColor: z.ZodOptional<z.ZodEnum<{
|
|
91
|
+
ACCENT1: "ACCENT1";
|
|
92
|
+
ACCENT2: "ACCENT2";
|
|
93
|
+
ACCENT3: "ACCENT3";
|
|
94
|
+
ACCENT4: "ACCENT4";
|
|
95
|
+
ACCENT5: "ACCENT5";
|
|
96
|
+
ACCENT6: "ACCENT6";
|
|
97
|
+
BACKGROUND: "BACKGROUND";
|
|
98
|
+
LINK: "LINK";
|
|
99
|
+
TEXT: "TEXT";
|
|
100
|
+
}>>;
|
|
101
|
+
}, z.core.$strict>>;
|
|
102
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
103
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
strikethrough: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
+
}, z.core.$strict>>;
|
|
106
|
+
}, z.core.$strict>;
|
|
107
|
+
}, z.core.$strict>>;
|
|
108
|
+
gradientRule: z.ZodOptional<z.ZodObject<{
|
|
109
|
+
minpoint: z.ZodObject<{
|
|
110
|
+
colorStyle: z.ZodObject<{
|
|
111
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
112
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
themeColor: z.ZodOptional<z.ZodEnum<{
|
|
117
|
+
ACCENT1: "ACCENT1";
|
|
118
|
+
ACCENT2: "ACCENT2";
|
|
119
|
+
ACCENT3: "ACCENT3";
|
|
120
|
+
ACCENT4: "ACCENT4";
|
|
121
|
+
ACCENT5: "ACCENT5";
|
|
122
|
+
ACCENT6: "ACCENT6";
|
|
123
|
+
BACKGROUND: "BACKGROUND";
|
|
124
|
+
LINK: "LINK";
|
|
125
|
+
TEXT: "TEXT";
|
|
126
|
+
}>>;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
type: z.ZodEnum<{
|
|
129
|
+
MAX: "MAX";
|
|
130
|
+
MIN: "MIN";
|
|
131
|
+
NUMBER: "NUMBER";
|
|
132
|
+
PERCENT: "PERCENT";
|
|
133
|
+
PERCENTILE: "PERCENTILE";
|
|
134
|
+
}>;
|
|
135
|
+
value: z.ZodOptional<z.ZodString>;
|
|
136
|
+
}, z.core.$strict>;
|
|
137
|
+
midpoint: z.ZodOptional<z.ZodObject<{
|
|
138
|
+
colorStyle: z.ZodObject<{
|
|
139
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
}, z.core.$strict>>;
|
|
144
|
+
themeColor: z.ZodOptional<z.ZodEnum<{
|
|
145
|
+
ACCENT1: "ACCENT1";
|
|
146
|
+
ACCENT2: "ACCENT2";
|
|
147
|
+
ACCENT3: "ACCENT3";
|
|
148
|
+
ACCENT4: "ACCENT4";
|
|
149
|
+
ACCENT5: "ACCENT5";
|
|
150
|
+
ACCENT6: "ACCENT6";
|
|
151
|
+
BACKGROUND: "BACKGROUND";
|
|
152
|
+
LINK: "LINK";
|
|
153
|
+
TEXT: "TEXT";
|
|
154
|
+
}>>;
|
|
155
|
+
}, z.core.$strict>;
|
|
156
|
+
type: z.ZodEnum<{
|
|
157
|
+
MAX: "MAX";
|
|
158
|
+
MIN: "MIN";
|
|
159
|
+
NUMBER: "NUMBER";
|
|
160
|
+
PERCENT: "PERCENT";
|
|
161
|
+
PERCENTILE: "PERCENTILE";
|
|
162
|
+
}>;
|
|
163
|
+
value: z.ZodOptional<z.ZodString>;
|
|
164
|
+
}, z.core.$strict>>;
|
|
165
|
+
maxpoint: z.ZodObject<{
|
|
166
|
+
colorStyle: z.ZodObject<{
|
|
167
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
168
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
169
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
170
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
}, z.core.$strict>>;
|
|
172
|
+
themeColor: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
ACCENT1: "ACCENT1";
|
|
174
|
+
ACCENT2: "ACCENT2";
|
|
175
|
+
ACCENT3: "ACCENT3";
|
|
176
|
+
ACCENT4: "ACCENT4";
|
|
177
|
+
ACCENT5: "ACCENT5";
|
|
178
|
+
ACCENT6: "ACCENT6";
|
|
179
|
+
BACKGROUND: "BACKGROUND";
|
|
180
|
+
LINK: "LINK";
|
|
181
|
+
TEXT: "TEXT";
|
|
182
|
+
}>>;
|
|
183
|
+
}, z.core.$strict>;
|
|
184
|
+
type: z.ZodEnum<{
|
|
185
|
+
MAX: "MAX";
|
|
186
|
+
MIN: "MIN";
|
|
187
|
+
NUMBER: "NUMBER";
|
|
188
|
+
PERCENT: "PERCENT";
|
|
189
|
+
PERCENTILE: "PERCENTILE";
|
|
190
|
+
}>;
|
|
191
|
+
value: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strict>;
|
|
193
|
+
}, z.core.$strict>>;
|
|
194
|
+
}, z.core.$strict>;
|
|
195
|
+
export type ConditionalFormatRule = z.infer<typeof ConditionalFormatRule>;
|
|
196
|
+
//# sourceMappingURL=ConditionalFormatRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAahC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BooleanRule } from './BooleanRule.js';
|
|
3
|
+
import { GradientRule } from './GradientRule.js';
|
|
4
|
+
import { GridRange } from './GridRange.js';
|
|
5
|
+
/**
|
|
6
|
+
* A rule describing a conditional format: either a boolean rule (an on/off
|
|
7
|
+
* format gated on a condition) or a gradient rule (a continuous color scale).
|
|
8
|
+
* Provide exactly one of the two. Rules live per sheet in an ordered list
|
|
9
|
+
* and are addressed by index; earlier rules take precedence where rules
|
|
10
|
+
* overlap.
|
|
11
|
+
*
|
|
12
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#ConditionalFormatRule
|
|
13
|
+
*/
|
|
14
|
+
export const ConditionalFormatRule = z.strictObject({
|
|
15
|
+
ranges: z
|
|
16
|
+
.array(GridRange)
|
|
17
|
+
.min(1)
|
|
18
|
+
.describe('The ranges that are formatted if the condition is true; all the ranges must be on the same grid.'),
|
|
19
|
+
booleanRule: BooleanRule.optional().describe('The formatting is either on or off according to the rule; provide this or gradientRule, not both.'),
|
|
20
|
+
gradientRule: GradientRule.optional().describe('The formatting varies based on the gradients in the rule; provide this or booleanRule, not both.'),
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=ConditionalFormatRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatRule.js","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,YAAY,CAAC;IAClD,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,SAAS,CAAC;SAChB,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,kGAAkG,CACnG;IACH,WAAW,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC1C,mGAAmG,CACpG;IACD,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,kGAAkG,CACnG;CACF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { BooleanRule } from './BooleanRule.js';\nimport { GradientRule } from './GradientRule.js';\nimport { GridRange } from './GridRange.js';\n\n/**\n * A rule describing a conditional format: either a boolean rule (an on/off\n * format gated on a condition) or a gradient rule (a continuous color scale).\n * Provide exactly one of the two. Rules live per sheet in an ordered list\n * and are addressed by index; earlier rules take precedence where rules\n * overlap.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#ConditionalFormatRule\n */\nexport const ConditionalFormatRule = z.strictObject({\n ranges: z\n .array(GridRange)\n .min(1)\n .describe(\n 'The ranges that are formatted if the condition is true; all the ranges must be on the same grid.',\n ),\n booleanRule: BooleanRule.optional().describe(\n 'The formatting is either on or off according to the rule; provide this or gradientRule, not both.',\n ),\n gradientRule: GradientRule.optional().describe(\n 'The formatting varies based on the gradients in the rule; provide this or booleanRule, not both.',\n ),\n});\n\nexport type ConditionalFormatRule = z.infer<typeof ConditionalFormatRule>;\n"]}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** One conditional format rule as read back from a sheet. */
|
|
3
|
+
export declare const ConditionalFormatRuleReadout: z.ZodObject<{
|
|
4
|
+
ranges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
|
+
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
startRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
endRowIndex: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
startColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
endColumnIndex: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strict>>>;
|
|
11
|
+
booleanRule: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
condition: z.ZodOptional<z.ZodObject<{
|
|
13
|
+
type: z.ZodOptional<z.ZodString>;
|
|
14
|
+
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
+
userEnteredValue: z.ZodOptional<z.ZodString>;
|
|
16
|
+
relativeDate: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
format: z.ZodOptional<z.ZodObject<{
|
|
20
|
+
backgroundColorStyle: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
22
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
}, z.core.$strip>>;
|
|
26
|
+
themeColor: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
textFormat: z.ZodOptional<z.ZodObject<{
|
|
29
|
+
foregroundColorStyle: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
themeColor: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
bold: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
italic: z.ZodOptional<z.ZodBoolean>;
|
|
39
|
+
strikethrough: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
gradientRule: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
minpoint: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
colorStyle: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
49
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
50
|
+
}, z.core.$strip>>;
|
|
51
|
+
themeColor: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
type: z.ZodOptional<z.ZodString>;
|
|
54
|
+
value: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
midpoint: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
colorStyle: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
59
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
themeColor: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
type: z.ZodOptional<z.ZodString>;
|
|
66
|
+
value: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
maxpoint: z.ZodOptional<z.ZodObject<{
|
|
69
|
+
colorStyle: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
rgbColor: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
red: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
green: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
blue: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
themeColor: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
type: z.ZodOptional<z.ZodString>;
|
|
78
|
+
value: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strip>>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
export type ConditionalFormatRuleReadout = z.infer<typeof ConditionalFormatRuleReadout>;
|
|
83
|
+
//# sourceMappingURL=ConditionalFormatRuleReadout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatRuleReadout.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRuleReadout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA8FxB,6DAA6D;AAC7D,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIvC,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { GridRange } from './GridRange.js';
|
|
3
|
+
/**
|
|
4
|
+
* The read-side shape of a conditional format rule, kept deliberately open:
|
|
5
|
+
* `type` and color-vocabulary fields are open strings here (the write path
|
|
6
|
+
* is the closed enum in `BooleanCondition`, `InterpolationPoint`, and
|
|
7
|
+
* `ColorStyle`) because rules are addressed by array index, so this readout
|
|
8
|
+
* must be total; dropping a rule with an unrecognized upstream value would
|
|
9
|
+
* silently renumber every rule after it.
|
|
10
|
+
*
|
|
11
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#ConditionalFormatRule
|
|
12
|
+
*/
|
|
13
|
+
const ConditionValueReadout = z.object({
|
|
14
|
+
userEnteredValue: z
|
|
15
|
+
.string()
|
|
16
|
+
.optional()
|
|
17
|
+
.describe('The value the condition is based on, as entered; may be a live formula beginning with = or +.'),
|
|
18
|
+
relativeDate: z
|
|
19
|
+
.string()
|
|
20
|
+
.optional()
|
|
21
|
+
.describe('A date relative to the current date; the write vocabulary is PAST_YEAR, PAST_MONTH, PAST_WEEK, YESTERDAY, TODAY, or TOMORROW.'),
|
|
22
|
+
});
|
|
23
|
+
const BooleanConditionReadout = z.object({
|
|
24
|
+
type: z
|
|
25
|
+
.string()
|
|
26
|
+
.optional()
|
|
27
|
+
.describe("The type of condition, from the write path's ConditionType vocabulary (NUMBER_GREATER, TEXT_CONTAINS, DATE_BEFORE, CUSTOM_FORMULA, ...)."),
|
|
28
|
+
values: z.array(ConditionValueReadout).optional().describe('The values of the condition.'),
|
|
29
|
+
});
|
|
30
|
+
const ColorStyleReadout = z.object({
|
|
31
|
+
rgbColor: z
|
|
32
|
+
.object({
|
|
33
|
+
red: z.number().optional().describe('The red channel, 0 to 1.'),
|
|
34
|
+
green: z.number().optional().describe('The green channel, 0 to 1.'),
|
|
35
|
+
blue: z.number().optional().describe('The blue channel, 0 to 1.'),
|
|
36
|
+
})
|
|
37
|
+
.optional()
|
|
38
|
+
.describe('A concrete RGB color.'),
|
|
39
|
+
themeColor: z
|
|
40
|
+
.string()
|
|
41
|
+
.optional()
|
|
42
|
+
.describe("A color from the spreadsheet's theme; the write vocabulary is TEXT, BACKGROUND, ACCENT1 through ACCENT6, or LINK."),
|
|
43
|
+
});
|
|
44
|
+
const BooleanRuleReadout = z.object({
|
|
45
|
+
condition: BooleanConditionReadout.optional().describe('The condition of the rule.'),
|
|
46
|
+
format: z
|
|
47
|
+
.object({
|
|
48
|
+
backgroundColorStyle: ColorStyleReadout.optional().describe('The background color.'),
|
|
49
|
+
textFormat: z
|
|
50
|
+
.object({
|
|
51
|
+
foregroundColorStyle: ColorStyleReadout.optional().describe('The text color.'),
|
|
52
|
+
bold: z.boolean().optional().describe('True if the text is bold.'),
|
|
53
|
+
italic: z.boolean().optional().describe('True if the text is italicized.'),
|
|
54
|
+
strikethrough: z.boolean().optional().describe('True if the text is struck through.'),
|
|
55
|
+
})
|
|
56
|
+
.optional()
|
|
57
|
+
.describe('The text format the rule applies.'),
|
|
58
|
+
})
|
|
59
|
+
.optional()
|
|
60
|
+
.describe('The format the rule applies.'),
|
|
61
|
+
});
|
|
62
|
+
const InterpolationPointReadout = z.object({
|
|
63
|
+
colorStyle: ColorStyleReadout.optional().describe('The color of this interpolation point.'),
|
|
64
|
+
type: z
|
|
65
|
+
.string()
|
|
66
|
+
.optional()
|
|
67
|
+
.describe('How the value should be interpreted; the write vocabulary is MIN, MAX, NUMBER, PERCENT, or PERCENTILE.'),
|
|
68
|
+
value: z
|
|
69
|
+
.string()
|
|
70
|
+
.optional()
|
|
71
|
+
.describe('The value this interpolation point uses; may be a live formula.'),
|
|
72
|
+
});
|
|
73
|
+
const GradientRuleReadout = z.object({
|
|
74
|
+
minpoint: InterpolationPointReadout.optional().describe('The starting interpolation point.'),
|
|
75
|
+
midpoint: InterpolationPointReadout.optional().describe('The midway interpolation point.'),
|
|
76
|
+
maxpoint: InterpolationPointReadout.optional().describe('The final interpolation point.'),
|
|
77
|
+
});
|
|
78
|
+
/** One conditional format rule as read back from a sheet. */
|
|
79
|
+
export const ConditionalFormatRuleReadout = z.object({
|
|
80
|
+
ranges: z.array(GridRange).optional().describe('The ranges the rule formats.'),
|
|
81
|
+
booleanRule: BooleanRuleReadout.optional().describe('An on/off rule, if this rule is one.'),
|
|
82
|
+
gradientRule: GradientRuleReadout.optional().describe('A gradient rule, if this rule is one.'),
|
|
83
|
+
});
|
|
84
|
+
//# sourceMappingURL=ConditionalFormatRuleReadout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConditionalFormatRuleReadout.js","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRuleReadout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;;;;;GASG;AACH,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+FAA+F,CAChG;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+HAA+H,CAChI;CACJ,CAAC,CAAC;AAEH,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0IAA0I,CAC3I;IACH,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;CAC3F,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,QAAQ,EAAE,CAAC;SACR,MAAM,CAAC;QACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;QAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;QACnE,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;KAClE,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,uBAAuB,CAAC;IACpC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mHAAmH,CACpH;CACJ,CAAC,CAAC;AAEH,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,SAAS,EAAE,uBAAuB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACpF,MAAM,EAAE,CAAC;SACN,MAAM,CAAC;QACN,oBAAoB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uBAAuB,CAAC;QACpF,UAAU,EAAE,CAAC;aACV,MAAM,CAAC;YACN,oBAAoB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YAC9E,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;YAClE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;YAC1E,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;SACtF,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CAAC,mCAAmC,CAAC;KACjD,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,8BAA8B,CAAC;CAC5C,CAAC,CAAC;AAEH,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,UAAU,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAC3F,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,wGAAwG,CACzG;IACH,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iEAAiE,CAAC;CAC/E,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAC5F,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;IAC1F,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;CAC1F,CAAC,CAAC;AAEH,6DAA6D;AAC7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC9E,WAAW,EAAE,kBAAkB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAC3F,YAAY,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uCAAuC,CAAC;CAC/F,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { GridRange } from './GridRange.js';\n\n/**\n * The read-side shape of a conditional format rule, kept deliberately open:\n * `type` and color-vocabulary fields are open strings here (the write path\n * is the closed enum in `BooleanCondition`, `InterpolationPoint`, and\n * `ColorStyle`) because rules are addressed by array index, so this readout\n * must be total; dropping a rule with an unrecognized upstream value would\n * silently renumber every rule after it.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#ConditionalFormatRule\n */\nconst ConditionValueReadout = z.object({\n userEnteredValue: z\n .string()\n .optional()\n .describe(\n 'The value the condition is based on, as entered; may be a live formula beginning with = or +.',\n ),\n relativeDate: z\n .string()\n .optional()\n .describe(\n 'A date relative to the current date; the write vocabulary is PAST_YEAR, PAST_MONTH, PAST_WEEK, YESTERDAY, TODAY, or TOMORROW.',\n ),\n});\n\nconst BooleanConditionReadout = z.object({\n type: z\n .string()\n .optional()\n .describe(\n \"The type of condition, from the write path's ConditionType vocabulary (NUMBER_GREATER, TEXT_CONTAINS, DATE_BEFORE, CUSTOM_FORMULA, ...).\",\n ),\n values: z.array(ConditionValueReadout).optional().describe('The values of the condition.'),\n});\n\nconst ColorStyleReadout = z.object({\n rgbColor: z\n .object({\n red: z.number().optional().describe('The red channel, 0 to 1.'),\n green: z.number().optional().describe('The green channel, 0 to 1.'),\n blue: z.number().optional().describe('The blue channel, 0 to 1.'),\n })\n .optional()\n .describe('A concrete RGB color.'),\n themeColor: z\n .string()\n .optional()\n .describe(\n \"A color from the spreadsheet's theme; the write vocabulary is TEXT, BACKGROUND, ACCENT1 through ACCENT6, or LINK.\",\n ),\n});\n\nconst BooleanRuleReadout = z.object({\n condition: BooleanConditionReadout.optional().describe('The condition of the rule.'),\n format: z\n .object({\n backgroundColorStyle: ColorStyleReadout.optional().describe('The background color.'),\n textFormat: z\n .object({\n foregroundColorStyle: ColorStyleReadout.optional().describe('The text color.'),\n bold: z.boolean().optional().describe('True if the text is bold.'),\n italic: z.boolean().optional().describe('True if the text is italicized.'),\n strikethrough: z.boolean().optional().describe('True if the text is struck through.'),\n })\n .optional()\n .describe('The text format the rule applies.'),\n })\n .optional()\n .describe('The format the rule applies.'),\n});\n\nconst InterpolationPointReadout = z.object({\n colorStyle: ColorStyleReadout.optional().describe('The color of this interpolation point.'),\n type: z\n .string()\n .optional()\n .describe(\n 'How the value should be interpreted; the write vocabulary is MIN, MAX, NUMBER, PERCENT, or PERCENTILE.',\n ),\n value: z\n .string()\n .optional()\n .describe('The value this interpolation point uses; may be a live formula.'),\n});\n\nconst GradientRuleReadout = z.object({\n minpoint: InterpolationPointReadout.optional().describe('The starting interpolation point.'),\n midpoint: InterpolationPointReadout.optional().describe('The midway interpolation point.'),\n maxpoint: InterpolationPointReadout.optional().describe('The final interpolation point.'),\n});\n\n/** One conditional format rule as read back from a sheet. */\nexport const ConditionalFormatRuleReadout = z.object({\n ranges: z.array(GridRange).optional().describe('The ranges the rule formats.'),\n booleanRule: BooleanRuleReadout.optional().describe('An on/off rule, if this rule is one.'),\n gradientRule: GradientRuleReadout.optional().describe('A gradient rule, if this rule is one.'),\n});\n\nexport type ConditionalFormatRuleReadout = z.infer<typeof ConditionalFormatRuleReadout>;\n"]}
|
|
@@ -16,15 +16,15 @@ export declare const DataFilter: z.ZodObject<{
|
|
|
16
16
|
}, z.core.$strict>>;
|
|
17
17
|
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
18
18
|
locationType: z.ZodOptional<z.ZodEnum<{
|
|
19
|
-
ROW: "ROW";
|
|
20
19
|
COLUMN: "COLUMN";
|
|
20
|
+
ROW: "ROW";
|
|
21
21
|
SHEET: "SHEET";
|
|
22
22
|
SPREADSHEET: "SPREADSHEET";
|
|
23
23
|
}>>;
|
|
24
24
|
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
25
25
|
locationType: z.ZodOptional<z.ZodEnum<{
|
|
26
|
-
ROW: "ROW";
|
|
27
26
|
COLUMN: "COLUMN";
|
|
27
|
+
ROW: "ROW";
|
|
28
28
|
SHEET: "SHEET";
|
|
29
29
|
SPREADSHEET: "SPREADSHEET";
|
|
30
30
|
}>>;
|
|
@@ -33,8 +33,8 @@ export declare const DataFilter: z.ZodObject<{
|
|
|
33
33
|
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
34
34
|
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
35
35
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
ROWS: "ROWS";
|
|
37
36
|
COLUMNS: "COLUMNS";
|
|
37
|
+
ROWS: "ROWS";
|
|
38
38
|
}>>;
|
|
39
39
|
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
40
40
|
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
@@ -17,15 +17,15 @@ export declare const DataFilterValueRange: z.ZodObject<{
|
|
|
17
17
|
}, z.core.$strict>>;
|
|
18
18
|
developerMetadataLookup: z.ZodOptional<z.ZodObject<{
|
|
19
19
|
locationType: z.ZodOptional<z.ZodEnum<{
|
|
20
|
-
ROW: "ROW";
|
|
21
20
|
COLUMN: "COLUMN";
|
|
21
|
+
ROW: "ROW";
|
|
22
22
|
SHEET: "SHEET";
|
|
23
23
|
SPREADSHEET: "SPREADSHEET";
|
|
24
24
|
}>>;
|
|
25
25
|
metadataLocation: z.ZodOptional<z.ZodObject<{
|
|
26
26
|
locationType: z.ZodOptional<z.ZodEnum<{
|
|
27
|
-
ROW: "ROW";
|
|
28
27
|
COLUMN: "COLUMN";
|
|
28
|
+
ROW: "ROW";
|
|
29
29
|
SHEET: "SHEET";
|
|
30
30
|
SPREADSHEET: "SPREADSHEET";
|
|
31
31
|
}>>;
|
|
@@ -34,8 +34,8 @@ export declare const DataFilterValueRange: z.ZodObject<{
|
|
|
34
34
|
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
35
35
|
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
36
36
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
ROWS: "ROWS";
|
|
38
37
|
COLUMNS: "COLUMNS";
|
|
38
|
+
ROWS: "ROWS";
|
|
39
39
|
}>>;
|
|
40
40
|
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
41
41
|
endIndex: z.ZodOptional<z.ZodNumber>;
|
|
@@ -55,8 +55,8 @@ export declare const DataFilterValueRange: z.ZodObject<{
|
|
|
55
55
|
}, z.core.$strict>>;
|
|
56
56
|
}, z.core.$strict>;
|
|
57
57
|
majorDimension: z.ZodOptional<z.ZodEnum<{
|
|
58
|
-
ROWS: "ROWS";
|
|
59
58
|
COLUMNS: "COLUMNS";
|
|
59
|
+
ROWS: "ROWS";
|
|
60
60
|
}>>;
|
|
61
61
|
values: z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
|
|
62
62
|
}, z.core.$strict>;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* A data validation rule: a condition cell input must satisfy, optionally
|
|
4
|
+
* strict (rejecting invalid input rather than flagging it) and optionally
|
|
5
|
+
* rendered as a custom UI (ONE_OF_LIST and ONE_OF_RANGE become dropdowns).
|
|
6
|
+
*
|
|
7
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/cells#DataValidationRule
|
|
8
|
+
*/
|
|
9
|
+
export declare const DataValidationRule: z.ZodObject<{
|
|
10
|
+
condition: z.ZodObject<{
|
|
11
|
+
type: z.ZodEnum<{
|
|
12
|
+
BLANK: "BLANK";
|
|
13
|
+
BOOLEAN: "BOOLEAN";
|
|
14
|
+
CUSTOM_FORMULA: "CUSTOM_FORMULA";
|
|
15
|
+
DATE_AFTER: "DATE_AFTER";
|
|
16
|
+
DATE_BEFORE: "DATE_BEFORE";
|
|
17
|
+
DATE_BETWEEN: "DATE_BETWEEN";
|
|
18
|
+
DATE_EQ: "DATE_EQ";
|
|
19
|
+
DATE_IS_VALID: "DATE_IS_VALID";
|
|
20
|
+
DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
|
|
21
|
+
DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
|
|
22
|
+
DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
|
|
23
|
+
NOT_BLANK: "NOT_BLANK";
|
|
24
|
+
NUMBER_BETWEEN: "NUMBER_BETWEEN";
|
|
25
|
+
NUMBER_EQ: "NUMBER_EQ";
|
|
26
|
+
NUMBER_GREATER: "NUMBER_GREATER";
|
|
27
|
+
NUMBER_GREATER_THAN_EQ: "NUMBER_GREATER_THAN_EQ";
|
|
28
|
+
NUMBER_LESS: "NUMBER_LESS";
|
|
29
|
+
NUMBER_LESS_THAN_EQ: "NUMBER_LESS_THAN_EQ";
|
|
30
|
+
NUMBER_NOT_BETWEEN: "NUMBER_NOT_BETWEEN";
|
|
31
|
+
NUMBER_NOT_EQ: "NUMBER_NOT_EQ";
|
|
32
|
+
ONE_OF_LIST: "ONE_OF_LIST";
|
|
33
|
+
ONE_OF_RANGE: "ONE_OF_RANGE";
|
|
34
|
+
TEXT_CONTAINS: "TEXT_CONTAINS";
|
|
35
|
+
TEXT_ENDS_WITH: "TEXT_ENDS_WITH";
|
|
36
|
+
TEXT_EQ: "TEXT_EQ";
|
|
37
|
+
TEXT_IS_EMAIL: "TEXT_IS_EMAIL";
|
|
38
|
+
TEXT_IS_URL: "TEXT_IS_URL";
|
|
39
|
+
TEXT_NOT_CONTAINS: "TEXT_NOT_CONTAINS";
|
|
40
|
+
TEXT_STARTS_WITH: "TEXT_STARTS_WITH";
|
|
41
|
+
}>;
|
|
42
|
+
values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43
|
+
relativeDate: z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
PAST_MONTH: "PAST_MONTH";
|
|
45
|
+
PAST_WEEK: "PAST_WEEK";
|
|
46
|
+
PAST_YEAR: "PAST_YEAR";
|
|
47
|
+
TODAY: "TODAY";
|
|
48
|
+
TOMORROW: "TOMORROW";
|
|
49
|
+
YESTERDAY: "YESTERDAY";
|
|
50
|
+
}>>;
|
|
51
|
+
userEnteredValue: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>>>;
|
|
53
|
+
}, z.core.$strict>;
|
|
54
|
+
inputMessage: z.ZodOptional<z.ZodString>;
|
|
55
|
+
strict: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
showCustomUi: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
export type DataValidationRule = z.infer<typeof DataValidationRule>;
|
|
59
|
+
//# sourceMappingURL=DataValidationRule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataValidationRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DataValidationRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAe7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { BooleanCondition } from './BooleanCondition.js';
|
|
3
|
+
/**
|
|
4
|
+
* A data validation rule: a condition cell input must satisfy, optionally
|
|
5
|
+
* strict (rejecting invalid input rather than flagging it) and optionally
|
|
6
|
+
* rendered as a custom UI (ONE_OF_LIST and ONE_OF_RANGE become dropdowns).
|
|
7
|
+
*
|
|
8
|
+
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/cells#DataValidationRule
|
|
9
|
+
*/
|
|
10
|
+
export const DataValidationRule = z.strictObject({
|
|
11
|
+
condition: BooleanCondition.describe('The condition that data in the cell must match; relative dates are not supported in data validation.'),
|
|
12
|
+
inputMessage: z
|
|
13
|
+
.string()
|
|
14
|
+
.optional()
|
|
15
|
+
.describe('A message to show the user when adding data to the cell.'),
|
|
16
|
+
strict: z.boolean().optional().describe('True if invalid data should be rejected.'),
|
|
17
|
+
showCustomUi: z
|
|
18
|
+
.boolean()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe('True if the UI should be customized based on the kind of condition; ONE_OF_LIST and ONE_OF_RANGE conditions show a dropdown.'),
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=DataValidationRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataValidationRule.js","sourceRoot":"","sources":["../../../src/sheets/entities/DataValidationRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC/C,SAAS,EAAE,gBAAgB,CAAC,QAAQ,CAClC,sGAAsG,CACvG;IACD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IACnF,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { BooleanCondition } from './BooleanCondition.js';\n\n/**\n * A data validation rule: a condition cell input must satisfy, optionally\n * strict (rejecting invalid input rather than flagging it) and optionally\n * rendered as a custom UI (ONE_OF_LIST and ONE_OF_RANGE become dropdowns).\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/cells#DataValidationRule\n */\nexport const DataValidationRule = z.strictObject({\n condition: BooleanCondition.describe(\n 'The condition that data in the cell must match; relative dates are not supported in data validation.',\n ),\n inputMessage: z\n .string()\n .optional()\n .describe('A message to show the user when adding data to the cell.'),\n strict: z.boolean().optional().describe('True if invalid data should be rejected.'),\n showCustomUi: z\n .boolean()\n .optional()\n .describe(\n 'True if the UI should be customized based on the kind of condition; ONE_OF_LIST and ONE_OF_RANGE conditions show a dropdown.',\n ),\n});\n\nexport type DataValidationRule = z.infer<typeof DataValidationRule>;\n"]}
|
|
@@ -6,8 +6,8 @@ import { z } from 'zod';
|
|
|
6
6
|
* @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/DateTimeRenderOption
|
|
7
7
|
*/
|
|
8
8
|
export declare const DateTimeRenderOption: z.ZodEnum<{
|
|
9
|
-
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
10
9
|
FORMATTED_STRING: "FORMATTED_STRING";
|
|
10
|
+
SERIAL_NUMBER: "SERIAL_NUMBER";
|
|
11
11
|
}>;
|
|
12
12
|
export type DateTimeRenderOption = z.infer<typeof DateTimeRenderOption>;
|
|
13
13
|
//# sourceMappingURL=DateTimeRenderOption.d.ts.map
|
|
@@ -14,8 +14,8 @@ export declare const DeveloperMetadata: z.ZodObject<{
|
|
|
14
14
|
metadataValue: z.ZodOptional<z.ZodString>;
|
|
15
15
|
location: z.ZodOptional<z.ZodObject<{
|
|
16
16
|
locationType: z.ZodOptional<z.ZodEnum<{
|
|
17
|
-
ROW: "ROW";
|
|
18
17
|
COLUMN: "COLUMN";
|
|
18
|
+
ROW: "ROW";
|
|
19
19
|
SHEET: "SHEET";
|
|
20
20
|
SPREADSHEET: "SPREADSHEET";
|
|
21
21
|
}>>;
|
|
@@ -24,8 +24,8 @@ export declare const DeveloperMetadata: z.ZodObject<{
|
|
|
24
24
|
dimensionRange: z.ZodOptional<z.ZodObject<{
|
|
25
25
|
sheetId: z.ZodOptional<z.ZodNumber>;
|
|
26
26
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
27
|
-
ROWS: "ROWS";
|
|
28
27
|
COLUMNS: "COLUMNS";
|
|
28
|
+
ROWS: "ROWS";
|
|
29
29
|
}>>;
|
|
30
30
|
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
endIndex: z.ZodOptional<z.ZodNumber>;
|