google-mcp-suite 1.15.0 → 1.16.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.
Files changed (205) hide show
  1. package/ADOPTING.md +2 -2
  2. package/README.md +5 -5
  3. package/dist/sheets/entities/BasicChartSpec.d.ts +5 -3
  4. package/dist/sheets/entities/BasicChartSpec.d.ts.map +1 -1
  5. package/dist/sheets/entities/BasicChartSpec.js +5 -3
  6. package/dist/sheets/entities/BasicChartSpec.js.map +1 -1
  7. package/dist/sheets/entities/BubbleChartSpec.d.ts +119 -0
  8. package/dist/sheets/entities/BubbleChartSpec.d.ts.map +1 -0
  9. package/dist/sheets/entities/BubbleChartSpec.js +50 -0
  10. package/dist/sheets/entities/BubbleChartSpec.js.map +1 -0
  11. package/dist/sheets/entities/CandlestickChartSpec.d.ts +78 -0
  12. package/dist/sheets/entities/CandlestickChartSpec.d.ts.map +1 -0
  13. package/dist/sheets/entities/CandlestickChartSpec.js +28 -0
  14. package/dist/sheets/entities/CandlestickChartSpec.js.map +1 -0
  15. package/dist/sheets/entities/ChartSpec.d.ts +818 -4
  16. package/dist/sheets/entities/ChartSpec.d.ts.map +1 -1
  17. package/dist/sheets/entities/ChartSpec.js +40 -4
  18. package/dist/sheets/entities/ChartSpec.js.map +1 -1
  19. package/dist/sheets/entities/DeveloperMetadataInput.d.ts +31 -0
  20. package/dist/sheets/entities/DeveloperMetadataInput.d.ts.map +1 -0
  21. package/dist/sheets/entities/DeveloperMetadataInput.js +29 -0
  22. package/dist/sheets/entities/DeveloperMetadataInput.js.map +1 -0
  23. package/dist/sheets/entities/DeveloperMetadataLocation.js +1 -1
  24. package/dist/sheets/entities/DeveloperMetadataLocation.js.map +1 -1
  25. package/dist/sheets/entities/HistogramChartSpec.d.ts +53 -0
  26. package/dist/sheets/entities/HistogramChartSpec.d.ts.map +1 -0
  27. package/dist/sheets/entities/HistogramChartSpec.js +45 -0
  28. package/dist/sheets/entities/HistogramChartSpec.js.map +1 -0
  29. package/dist/sheets/entities/OrgChartSpec.d.ts +85 -0
  30. package/dist/sheets/entities/OrgChartSpec.d.ts.map +1 -0
  31. package/dist/sheets/entities/OrgChartSpec.js +21 -0
  32. package/dist/sheets/entities/OrgChartSpec.js.map +1 -0
  33. package/dist/sheets/entities/ScorecardChartSpec.d.ts +161 -0
  34. package/dist/sheets/entities/ScorecardChartSpec.d.ts.map +1 -0
  35. package/dist/sheets/entities/ScorecardChartSpec.js +57 -0
  36. package/dist/sheets/entities/ScorecardChartSpec.js.map +1 -0
  37. package/dist/sheets/entities/Slicer.d.ts +172 -0
  38. package/dist/sheets/entities/Slicer.d.ts.map +1 -0
  39. package/dist/sheets/entities/Slicer.js +15 -0
  40. package/dist/sheets/entities/Slicer.js.map +1 -0
  41. package/dist/sheets/entities/SlicerSpec.d.ts +153 -0
  42. package/dist/sheets/entities/SlicerSpec.d.ts.map +1 -0
  43. package/dist/sheets/entities/SlicerSpec.js +33 -0
  44. package/dist/sheets/entities/SlicerSpec.js.map +1 -0
  45. package/dist/sheets/entities/Spreadsheet.d.ts +164 -1
  46. package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -1
  47. package/dist/sheets/entities/Spreadsheet.js +9 -4
  48. package/dist/sheets/entities/Spreadsheet.js.map +1 -1
  49. package/dist/sheets/entities/TextPosition.d.ts +15 -0
  50. package/dist/sheets/entities/TextPosition.d.ts.map +1 -0
  51. package/dist/sheets/entities/TextPosition.js +13 -0
  52. package/dist/sheets/entities/TextPosition.js.map +1 -0
  53. package/dist/sheets/entities/TreemapChartSpec.d.ts +178 -0
  54. package/dist/sheets/entities/TreemapChartSpec.d.ts.map +1 -0
  55. package/dist/sheets/entities/TreemapChartSpec.js +44 -0
  56. package/dist/sheets/entities/TreemapChartSpec.js.map +1 -0
  57. package/dist/sheets/entities/WaterfallChartSpec.d.ts +113 -0
  58. package/dist/sheets/entities/WaterfallChartSpec.d.ts.map +1 -0
  59. package/dist/sheets/entities/WaterfallChartSpec.js +62 -0
  60. package/dist/sheets/entities/WaterfallChartSpec.js.map +1 -0
  61. package/dist/sheets/instructions.d.ts.map +1 -1
  62. package/dist/sheets/instructions.js +9 -5
  63. package/dist/sheets/instructions.js.map +1 -1
  64. package/dist/sheets/lib/charts.d.ts +1 -1
  65. package/dist/sheets/lib/charts.d.ts.map +1 -1
  66. package/dist/sheets/lib/charts.js +202 -4
  67. package/dist/sheets/lib/charts.js.map +1 -1
  68. package/dist/sheets/lib/filters.d.ts +9 -0
  69. package/dist/sheets/lib/filters.d.ts.map +1 -1
  70. package/dist/sheets/lib/filters.js +13 -3
  71. package/dist/sheets/lib/filters.js.map +1 -1
  72. package/dist/sheets/lib/formats.d.ts +2 -0
  73. package/dist/sheets/lib/formats.d.ts.map +1 -1
  74. package/dist/sheets/lib/formats.js +17 -0
  75. package/dist/sheets/lib/formats.js.map +1 -1
  76. package/dist/sheets/lib/metadata.d.ts +12 -0
  77. package/dist/sheets/lib/metadata.d.ts.map +1 -1
  78. package/dist/sheets/lib/metadata.js +23 -1
  79. package/dist/sheets/lib/metadata.js.map +1 -1
  80. package/dist/sheets/lib/slicers.d.ts +17 -0
  81. package/dist/sheets/lib/slicers.d.ts.map +1 -0
  82. package/dist/sheets/lib/slicers.js +67 -0
  83. package/dist/sheets/lib/slicers.js.map +1 -0
  84. package/dist/sheets/lib/spreadsheet.d.ts +2 -1
  85. package/dist/sheets/lib/spreadsheet.d.ts.map +1 -1
  86. package/dist/sheets/lib/spreadsheet.js +4 -1
  87. package/dist/sheets/lib/spreadsheet.js.map +1 -1
  88. package/dist/sheets/methods/add_chart/handler.d.ts.map +1 -1
  89. package/dist/sheets/methods/add_chart/handler.js +1 -2
  90. package/dist/sheets/methods/add_chart/handler.js.map +1 -1
  91. package/dist/sheets/methods/add_chart/index.d.ts +816 -2
  92. package/dist/sheets/methods/add_chart/index.d.ts.map +1 -1
  93. package/dist/sheets/methods/add_chart/index.js +2 -2
  94. package/dist/sheets/methods/add_chart/index.js.map +1 -1
  95. package/dist/sheets/methods/add_chart/schema.d.ts +814 -0
  96. package/dist/sheets/methods/add_chart/schema.d.ts.map +1 -1
  97. package/dist/sheets/methods/add_chart/schema.js +1 -1
  98. package/dist/sheets/methods/add_chart/schema.js.map +1 -1
  99. package/dist/sheets/methods/add_slicer/handler.d.ts +5 -0
  100. package/dist/sheets/methods/add_slicer/handler.d.ts.map +1 -0
  101. package/dist/sheets/methods/add_slicer/handler.js +17 -0
  102. package/dist/sheets/methods/add_slicer/handler.js.map +1 -0
  103. package/dist/sheets/methods/add_slicer/index.d.ts +333 -0
  104. package/dist/sheets/methods/add_slicer/index.d.ts.map +1 -0
  105. package/dist/sheets/methods/add_slicer/index.js +22 -0
  106. package/dist/sheets/methods/add_slicer/index.js.map +1 -0
  107. package/dist/sheets/methods/add_slicer/schema.d.ts +331 -0
  108. package/dist/sheets/methods/add_slicer/schema.d.ts.map +1 -0
  109. package/dist/sheets/methods/add_slicer/schema.js +19 -0
  110. package/dist/sheets/methods/add_slicer/schema.js.map +1 -0
  111. package/dist/sheets/methods/create_developer_metadata/handler.d.ts +5 -0
  112. package/dist/sheets/methods/create_developer_metadata/handler.d.ts.map +1 -0
  113. package/dist/sheets/methods/create_developer_metadata/handler.js +17 -0
  114. package/dist/sheets/methods/create_developer_metadata/handler.js.map +1 -0
  115. package/dist/sheets/methods/create_developer_metadata/index.d.ts +57 -0
  116. package/dist/sheets/methods/create_developer_metadata/index.d.ts.map +1 -0
  117. package/dist/sheets/methods/create_developer_metadata/index.js +22 -0
  118. package/dist/sheets/methods/create_developer_metadata/index.js.map +1 -0
  119. package/dist/sheets/methods/create_developer_metadata/schema.d.ts +55 -0
  120. package/dist/sheets/methods/create_developer_metadata/schema.d.ts.map +1 -0
  121. package/dist/sheets/methods/create_developer_metadata/schema.js +11 -0
  122. package/dist/sheets/methods/create_developer_metadata/schema.js.map +1 -0
  123. package/dist/sheets/methods/create_spreadsheet/index.d.ts +163 -0
  124. package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -1
  125. package/dist/sheets/methods/create_spreadsheet/schema.d.ts +163 -0
  126. package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -1
  127. package/dist/sheets/methods/delete_developer_metadata/handler.d.ts +5 -0
  128. package/dist/sheets/methods/delete_developer_metadata/handler.d.ts.map +1 -0
  129. package/dist/sheets/methods/delete_developer_metadata/handler.js +12 -0
  130. package/dist/sheets/methods/delete_developer_metadata/handler.js.map +1 -0
  131. package/dist/sheets/methods/delete_developer_metadata/index.d.ts +86 -0
  132. package/dist/sheets/methods/delete_developer_metadata/index.d.ts.map +1 -0
  133. package/dist/sheets/methods/delete_developer_metadata/index.js +21 -0
  134. package/dist/sheets/methods/delete_developer_metadata/index.js.map +1 -0
  135. package/dist/sheets/methods/delete_developer_metadata/schema.d.ts +85 -0
  136. package/dist/sheets/methods/delete_developer_metadata/schema.d.ts.map +1 -0
  137. package/dist/sheets/methods/delete_developer_metadata/schema.js +15 -0
  138. package/dist/sheets/methods/delete_developer_metadata/schema.js.map +1 -0
  139. package/dist/sheets/methods/delete_embedded_object/index.d.ts +2 -2
  140. package/dist/sheets/methods/delete_embedded_object/index.js +3 -3
  141. package/dist/sheets/methods/delete_embedded_object/index.js.map +1 -1
  142. package/dist/sheets/methods/delete_embedded_object/schema.d.ts.map +1 -1
  143. package/dist/sheets/methods/delete_embedded_object/schema.js +1 -1
  144. package/dist/sheets/methods/delete_embedded_object/schema.js.map +1 -1
  145. package/dist/sheets/methods/get_spreadsheet/index.d.ts +164 -1
  146. package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -1
  147. package/dist/sheets/methods/get_spreadsheet/index.js +2 -2
  148. package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -1
  149. package/dist/sheets/methods/get_spreadsheet/schema.d.ts +163 -0
  150. package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -1
  151. package/dist/sheets/methods/registry.d.ts +2952 -274
  152. package/dist/sheets/methods/registry.d.ts.map +1 -1
  153. package/dist/sheets/methods/registry.js +13 -0
  154. package/dist/sheets/methods/registry.js.map +1 -1
  155. package/dist/sheets/methods/update_cells/index.d.ts +1 -1
  156. package/dist/sheets/methods/update_cells/index.js +1 -1
  157. package/dist/sheets/methods/update_cells/index.js.map +1 -1
  158. package/dist/sheets/methods/update_chart_spec/handler.d.ts.map +1 -1
  159. package/dist/sheets/methods/update_chart_spec/handler.js +1 -2
  160. package/dist/sheets/methods/update_chart_spec/handler.js.map +1 -1
  161. package/dist/sheets/methods/update_chart_spec/index.d.ts +814 -0
  162. package/dist/sheets/methods/update_chart_spec/index.d.ts.map +1 -1
  163. package/dist/sheets/methods/update_chart_spec/index.js +1 -1
  164. package/dist/sheets/methods/update_chart_spec/index.js.map +1 -1
  165. package/dist/sheets/methods/update_chart_spec/schema.d.ts +814 -0
  166. package/dist/sheets/methods/update_chart_spec/schema.d.ts.map +1 -1
  167. package/dist/sheets/methods/update_chart_spec/schema.js +1 -1
  168. package/dist/sheets/methods/update_chart_spec/schema.js.map +1 -1
  169. package/dist/sheets/methods/update_developer_metadata/handler.d.ts +5 -0
  170. package/dist/sheets/methods/update_developer_metadata/handler.d.ts.map +1 -0
  171. package/dist/sheets/methods/update_developer_metadata/handler.js +22 -0
  172. package/dist/sheets/methods/update_developer_metadata/handler.js.map +1 -0
  173. package/dist/sheets/methods/update_developer_metadata/index.d.ts +105 -0
  174. package/dist/sheets/methods/update_developer_metadata/index.d.ts.map +1 -0
  175. package/dist/sheets/methods/update_developer_metadata/index.js +21 -0
  176. package/dist/sheets/methods/update_developer_metadata/index.js.map +1 -0
  177. package/dist/sheets/methods/update_developer_metadata/schema.d.ts +104 -0
  178. package/dist/sheets/methods/update_developer_metadata/schema.d.ts.map +1 -0
  179. package/dist/sheets/methods/update_developer_metadata/schema.js +21 -0
  180. package/dist/sheets/methods/update_developer_metadata/schema.js.map +1 -0
  181. package/dist/sheets/methods/update_named_range/handler.d.ts +5 -0
  182. package/dist/sheets/methods/update_named_range/handler.d.ts.map +1 -0
  183. package/dist/sheets/methods/update_named_range/handler.js +21 -0
  184. package/dist/sheets/methods/update_named_range/handler.js.map +1 -0
  185. package/dist/sheets/methods/update_named_range/index.d.ts +23 -0
  186. package/dist/sheets/methods/update_named_range/index.d.ts.map +1 -0
  187. package/dist/sheets/methods/update_named_range/index.js +22 -0
  188. package/dist/sheets/methods/update_named_range/index.js.map +1 -0
  189. package/dist/sheets/methods/update_named_range/schema.d.ts +22 -0
  190. package/dist/sheets/methods/update_named_range/schema.d.ts.map +1 -0
  191. package/dist/sheets/methods/update_named_range/schema.js +20 -0
  192. package/dist/sheets/methods/update_named_range/schema.js.map +1 -0
  193. package/dist/sheets/methods/update_slicer_spec/handler.d.ts +5 -0
  194. package/dist/sheets/methods/update_slicer_spec/handler.d.ts.map +1 -0
  195. package/dist/sheets/methods/update_slicer_spec/handler.js +25 -0
  196. package/dist/sheets/methods/update_slicer_spec/handler.js.map +1 -0
  197. package/dist/sheets/methods/update_slicer_spec/index.d.ts +160 -0
  198. package/dist/sheets/methods/update_slicer_spec/index.d.ts.map +1 -0
  199. package/dist/sheets/methods/update_slicer_spec/index.js +22 -0
  200. package/dist/sheets/methods/update_slicer_spec/index.js.map +1 -0
  201. package/dist/sheets/methods/update_slicer_spec/schema.d.ts +159 -0
  202. package/dist/sheets/methods/update_slicer_spec/schema.d.ts.map +1 -0
  203. package/dist/sheets/methods/update_slicer_spec/schema.js +16 -0
  204. package/dist/sheets/methods/update_slicer_spec/schema.js.map +1 -0
  205. package/package.json +1 -1
package/ADOPTING.md CHANGED
@@ -19,8 +19,8 @@ the differences are concrete:
19
19
 
20
20
  - **MCP and then some.** The Gmail, Calendar, and Drive servers expose
21
21
  Google's curated MCP toolset *plus* the broader REST method surface;
22
- Sheets and Docs are REST-sourced throughout: [172 operations](./README.md#services)
23
- across Gmail (33), Calendar (25), Drive (35), Sheets (70), and Docs (9). Each
22
+ Sheets and Docs are REST-sourced throughout: [178 operations](./README.md#services)
23
+ across Gmail (33), Calendar (25), Drive (35), Sheets (76), and Docs (9). Each
24
24
  service's `CAPABILITIES.md` enumerates its operations with provenance.
25
25
  Built-in connectors document a narrower surface; as of this writing,
26
26
  Anthropic documents its claude.ai Gmail connector as searching, reading,
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  <p align="center">
16
16
  <strong>Google Workspace MCP servers you can read in an afternoon, one per service.</strong><br />
17
- The curated <a href="https://modelcontextprotocol.io/">MCP</a> toolset plus the broader REST surface for Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets, one server per service per account: <strong>172 self-describing operations</strong> across five Google services, so an AI agent (Claude, Cursor, or any MCP client) can do (nearly) anything your accounts can, on several accounts at once, and never on the wrong one. Every operation cites its Google reference page and validates input and output; test coverage is pinned at 100%.
17
+ The curated <a href="https://modelcontextprotocol.io/">MCP</a> toolset plus the broader REST surface for Gmail, Google Calendar, Google Drive, Google Docs, and Google Sheets, one server per service per account: <strong>178 self-describing operations</strong> across five Google services, so an AI agent (Claude, Cursor, or any MCP client) can do (nearly) anything your accounts can, on several accounts at once, and never on the wrong one. Every operation cites its Google reference page and validates input and output; test coverage is pinned at 100%.
18
18
  </p>
19
19
 
20
20
  <p align="center">
@@ -30,7 +30,7 @@
30
30
  </p>
31
31
 
32
32
  <p align="center">
33
- <sub><strong>172 operations</strong> ship today: <strong>Gmail</strong> (<a href="./src/gmail/CAPABILITIES.md">33</a>), <strong>Calendar</strong> (<a href="./src/calendar/CAPABILITIES.md">25</a>), <strong>Sheets</strong> (<a href="./src/sheets/CAPABILITIES.md">70</a>), <strong>Docs</strong> (<a href="./src/docs/CAPABILITIES.md">9</a>), and <strong>Drive</strong> (<a href="./src/drive/CAPABILITIES.md">35</a>).</sub>
33
+ <sub><strong>178 operations</strong> ship today: <strong>Gmail</strong> (<a href="./src/gmail/CAPABILITIES.md">33</a>), <strong>Calendar</strong> (<a href="./src/calendar/CAPABILITIES.md">25</a>), <strong>Sheets</strong> (<a href="./src/sheets/CAPABILITIES.md">76</a>), <strong>Docs</strong> (<a href="./src/docs/CAPABILITIES.md">9</a>), and <strong>Drive</strong> (<a href="./src/drive/CAPABILITIES.md">35</a>).</sub>
34
34
  </p>
35
35
 
36
36
  <p align="center"><sub><strong>Replacing a built-in connector?</strong> Hand your agent <a href="./ADOPTING.md">ADOPTING.md</a>: the playbook to adopt, supersede, verify, and decommission.</sub></p>
@@ -46,7 +46,7 @@ The design has two internal concepts and nothing else:
46
46
 
47
47
  That is the whole surface. Read one operation folder and you understand all of them.
48
48
 
49
- - **REST plus MCP in one surface.** Each server exposes the curated MCP toolset *and* the broader REST method set of its Google API, so an agent gets far more than a thin slice. Gmail ships with [33 operations](./src/gmail/CAPABILITIES.md) (10 curated MCP tools plus 23 REST methods), Calendar with [25](./src/calendar/CAPABILITIES.md) (8 plus 17), Drive with [35](./src/drive/CAPABILITIES.md) (8 plus 27), Sheets with [70](./src/sheets/CAPABILITIES.md), and Docs with [9](./src/docs/CAPABILITIES.md) (Sheets and Docs are REST-sourced throughout; Google published no MCP toolset for either when they shipped, though previews now exist); the split is explained in [MCP, and then some](#mcp-and-then-some).
49
+ - **REST plus MCP in one surface.** Each server exposes the curated MCP toolset *and* the broader REST method set of its Google API, so an agent gets far more than a thin slice. Gmail ships with [33 operations](./src/gmail/CAPABILITIES.md) (10 curated MCP tools plus 23 REST methods), Calendar with [25](./src/calendar/CAPABILITIES.md) (8 plus 17), Drive with [35](./src/drive/CAPABILITIES.md) (8 plus 27), Sheets with [76](./src/sheets/CAPABILITIES.md), and Docs with [9](./src/docs/CAPABILITIES.md) (Sheets and Docs are REST-sourced throughout; Google published no MCP toolset for either when they shipped, though previews now exist); the split is explained in [MCP, and then some](#mcp-and-then-some).
50
50
  - **The folder tree mirrors Google's docs.** A Google tools-list reference page becomes a `tools/` folder; a Google REST method reference page becomes a `methods/` folder. If you can find the operation in Google's docs, you can find it in this repo.
51
51
 
52
52
  | Google's reference page | This repo's folder |
@@ -67,7 +67,7 @@ This is an MCP server, and deliberately more than one. Google publishes an MCP t
67
67
  - **`tools/`** mirrors Google's **MCP toolset** reference, verbatim.
68
68
  - **`methods/`** covers the broader **REST** reference, the operations the MCP toolset omits.
69
69
 
70
- The split is Google's own (its MCP reference and its REST reference are separate trees); we keep it on disk on purpose and unify it operationally (one `Operation` type, one merged wire surface where everything is an MCP tool). The breadth of [the operation list](./src/gmail/CAPABILITIES.md) is the evidence that MCP alone is not enough for real work. Sheets and Docs are the limit case: Google published no MCP toolset for either when they shipped (developer previews have since appeared), so those servers are methods-only ([70](./src/sheets/CAPABILITIES.md) and [9](./src/docs/CAPABILITIES.md) operations sourced entirely from the REST reference). Keeping the two sourced surfaces separate also makes each new operation a bounded, documentation-driven unit of work; the recipe is in [EXTENDING.md](./EXTENDING.md).
70
+ The split is Google's own (its MCP reference and its REST reference are separate trees); we keep it on disk on purpose and unify it operationally (one `Operation` type, one merged wire surface where everything is an MCP tool). The breadth of [the operation list](./src/gmail/CAPABILITIES.md) is the evidence that MCP alone is not enough for real work. Sheets and Docs are the limit case: Google published no MCP toolset for either when they shipped (developer previews have since appeared), so those servers are methods-only ([76](./src/sheets/CAPABILITIES.md) and [9](./src/docs/CAPABILITIES.md) operations sourced entirely from the REST reference). Keeping the two sourced surfaces separate also makes each new operation a bounded, documentation-driven unit of work; the recipe is in [EXTENDING.md](./EXTENDING.md).
71
71
 
72
72
  ## Quickstart
73
73
 
@@ -187,7 +187,7 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full task list, [AGENTS.md](./A
187
187
  |---|---|---|
188
188
  | **Gmail** | ✅ Implemented | [33 operations](./src/gmail/CAPABILITIES.md): threads, messages, drafts, labels, filters, attachments |
189
189
  | **Calendar** | ✅ Implemented | [25 operations](./src/calendar/CAPABILITIES.md): events, calendars, free/busy, meeting-time suggestions |
190
- | **Sheets** | ✅ Implemented | [70 operations](./src/sheets/CAPABILITIES.md): spreadsheets, values, batch and data-filter reads/writes, developer metadata, sheet management, dimension layout and groups, named ranges, formatting, banding and borders, cell content and merges, sorting, filters, data transformations, conditional format rules, data validation, protected ranges, charts and embedded-object layout |
190
+ | **Sheets** | ✅ Implemented | [76 operations](./src/sheets/CAPABILITIES.md): spreadsheets, values, batch and data-filter reads/writes, developer metadata, sheet management, dimension layout and groups, named ranges, formatting, banding and borders, cell content and merges, sorting, filters, data transformations, conditional format rules, data validation, protected ranges, every ordinary-grid chart family, slicers, and embedded-object layout |
191
191
  | **Docs** | ✅ Implemented | [9 operations](./src/docs/CAPABILITIES.md): document reads and creation, curated text editing and styling |
192
192
  | **Drive** | ✅ Implemented | [35 operations](./src/drive/CAPABILITIES.md): files, search, content, comments, revisions, shared drives |
193
193
 
@@ -1,8 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * A basic chart: bar, line, area, column, scatter, combo, or stepped area. A
4
- * curated projection of the REST `BasicChartSpec` (stacking, line smoothing,
5
- * three-dimensional, and interpolation options are not carried).
3
+ * A basic chart: bar, line, area, column, scatter, combo, or stepped area. This
4
+ * is a curated projection of the REST `BasicChartSpec`. It excludes compare
5
+ * mode, domain reversal, axis formatting and view windows, axis title
6
+ * positioning, series colors and style controls, data labels, stacking, line
7
+ * smoothing, three-dimensional rendering, and null interpolation.
6
8
  *
7
9
  * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BasicChartSpec
8
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BasicChartSpec.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BasicChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsDzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"BasicChartSpec.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BasicChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAsDzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  import { ChartData } from './ChartData.js';
3
3
  /**
4
- * A basic chart: bar, line, area, column, scatter, combo, or stepped area. A
5
- * curated projection of the REST `BasicChartSpec` (stacking, line smoothing,
6
- * three-dimensional, and interpolation options are not carried).
4
+ * A basic chart: bar, line, area, column, scatter, combo, or stepped area. This
5
+ * is a curated projection of the REST `BasicChartSpec`. It excludes compare
6
+ * mode, domain reversal, axis formatting and view windows, axis title
7
+ * positioning, series colors and style controls, data labels, stacking, line
8
+ * smoothing, three-dimensional rendering, and null interpolation.
7
9
  *
8
10
  * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BasicChartSpec
9
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"BasicChartSpec.js","sourceRoot":"","sources":["../../../src/sheets/entities/BasicChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC;SAC3E,QAAQ,CAAC,wBAAwB,CAAC;IACrC,cAAc,EAAE,CAAC;SACd,IAAI,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;SACjF,QAAQ,EAAE;SACV,QAAQ,CAAC,2BAA2B,CAAC;IACxC,IAAI,EAAE,CAAC;SACJ,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,IAAI,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;aAChD,QAAQ,CAAC,4BAA4B,CAAC;QACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;KACjE,CAAC,CACH;SACA,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;IACrC,OAAO,EAAE,CAAC;SACP,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,MAAM,EAAE,SAAS,CAAC,QAAQ,CACxB,2EAA2E,CAC5E;KACF,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,2CAA2C,CAAC;QACvE,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;aACjC,QAAQ,EAAE;aACV,QAAQ,CAAC,sCAAsC,CAAC;QACnD,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;aAChC,QAAQ,EAAE;aACV,QAAQ,CACP,kHAAkH,CACnH;KACJ,CAAC,CACH;SACA,QAAQ,CAAC,uDAAuD,CAAC;IACpE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ChartData } from './ChartData.js';\n\n/**\n * A basic chart: bar, line, area, column, scatter, combo, or stepped area. A\n * curated projection of the REST `BasicChartSpec` (stacking, line smoothing,\n * three-dimensional, and interpolation options are not carried).\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BasicChartSpec\n */\nexport const BasicChartSpec = z.strictObject({\n chartType: z\n .enum(['BAR', 'LINE', 'AREA', 'COLUMN', 'SCATTER', 'COMBO', 'STEPPED_AREA'])\n .describe('The type of the chart.'),\n legendPosition: z\n .enum(['BOTTOM_LEGEND', 'LEFT_LEGEND', 'RIGHT_LEGEND', 'TOP_LEGEND', 'NO_LEGEND'])\n .optional()\n .describe('Where the legend renders.'),\n axis: z\n .array(\n z.strictObject({\n position: z\n .enum(['BOTTOM_AXIS', 'LEFT_AXIS', 'RIGHT_AXIS'])\n .describe('The position of this axis.'),\n title: z.string().optional().describe('The title of this axis.'),\n }),\n )\n .optional()\n .describe('The axes of the chart.'),\n domains: z\n .array(\n z.strictObject({\n domain: ChartData.describe(\n 'The data of the domain: the horizontal axis, such as the column of dates.',\n ),\n }),\n )\n .max(1)\n .optional()\n .describe('The domain of the chart; only one is supported.'),\n series: z\n .array(\n z.strictObject({\n series: ChartData.describe('The data being visualized in this series.'),\n targetAxis: z\n .enum(['LEFT_AXIS', 'RIGHT_AXIS'])\n .optional()\n .describe('The axis this series charts against.'),\n type: z\n .enum(['LINE', 'AREA', 'COLUMN'])\n .optional()\n .describe(\n 'The type of this series, for COMBO charts only; LINE, AREA, and COLUMN are the types Google supports per series.',\n ),\n }),\n )\n .describe('The data this chart visualizes, one entry per series.'),\n headerCount: z\n .number()\n .int()\n .optional()\n .describe(\n 'The number of rows or columns in the data that are headers; omitted, Google guesses.',\n ),\n});\n\nexport type BasicChartSpec = z.infer<typeof BasicChartSpec>;\n"]}
1
+ {"version":3,"file":"BasicChartSpec.js","sourceRoot":"","sources":["../../../src/sheets/entities/BasicChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,CAAC,CAAC;SAC3E,QAAQ,CAAC,wBAAwB,CAAC;IACrC,cAAc,EAAE,CAAC;SACd,IAAI,CAAC,CAAC,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,WAAW,CAAC,CAAC;SACjF,QAAQ,EAAE;SACV,QAAQ,CAAC,2BAA2B,CAAC;IACxC,IAAI,EAAE,CAAC;SACJ,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,QAAQ,EAAE,CAAC;aACR,IAAI,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;aAChD,QAAQ,CAAC,4BAA4B,CAAC;QACzC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;KACjE,CAAC,CACH;SACA,QAAQ,EAAE;SACV,QAAQ,CAAC,wBAAwB,CAAC;IACrC,OAAO,EAAE,CAAC;SACP,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,MAAM,EAAE,SAAS,CAAC,QAAQ,CACxB,2EAA2E,CAC5E;KACF,CAAC,CACH;SACA,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,MAAM,EAAE,CAAC;SACN,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,2CAA2C,CAAC;QACvE,UAAU,EAAE,CAAC;aACV,IAAI,CAAC,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;aACjC,QAAQ,EAAE;aACV,QAAQ,CAAC,sCAAsC,CAAC;QACnD,IAAI,EAAE,CAAC;aACJ,IAAI,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC;aAChC,QAAQ,EAAE;aACV,QAAQ,CACP,kHAAkH,CACnH;KACJ,CAAC,CACH;SACA,QAAQ,CAAC,uDAAuD,CAAC;IACpE,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ChartData } from './ChartData.js';\n\n/**\n * A basic chart: bar, line, area, column, scatter, combo, or stepped area. This\n * is a curated projection of the REST `BasicChartSpec`. It excludes compare\n * mode, domain reversal, axis formatting and view windows, axis title\n * positioning, series colors and style controls, data labels, stacking, line\n * smoothing, three-dimensional rendering, and null interpolation.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BasicChartSpec\n */\nexport const BasicChartSpec = z.strictObject({\n chartType: z\n .enum(['BAR', 'LINE', 'AREA', 'COLUMN', 'SCATTER', 'COMBO', 'STEPPED_AREA'])\n .describe('The type of the chart.'),\n legendPosition: z\n .enum(['BOTTOM_LEGEND', 'LEFT_LEGEND', 'RIGHT_LEGEND', 'TOP_LEGEND', 'NO_LEGEND'])\n .optional()\n .describe('Where the legend renders.'),\n axis: z\n .array(\n z.strictObject({\n position: z\n .enum(['BOTTOM_AXIS', 'LEFT_AXIS', 'RIGHT_AXIS'])\n .describe('The position of this axis.'),\n title: z.string().optional().describe('The title of this axis.'),\n }),\n )\n .optional()\n .describe('The axes of the chart.'),\n domains: z\n .array(\n z.strictObject({\n domain: ChartData.describe(\n 'The data of the domain: the horizontal axis, such as the column of dates.',\n ),\n }),\n )\n .max(1)\n .optional()\n .describe('The domain of the chart; only one is supported.'),\n series: z\n .array(\n z.strictObject({\n series: ChartData.describe('The data being visualized in this series.'),\n targetAxis: z\n .enum(['LEFT_AXIS', 'RIGHT_AXIS'])\n .optional()\n .describe('The axis this series charts against.'),\n type: z\n .enum(['LINE', 'AREA', 'COLUMN'])\n .optional()\n .describe(\n 'The type of this series, for COMBO charts only; LINE, AREA, and COLUMN are the types Google supports per series.',\n ),\n }),\n )\n .describe('The data this chart visualizes, one entry per series.'),\n headerCount: z\n .number()\n .int()\n .optional()\n .describe(\n 'The number of rows or columns in the data that are headers; omitted, Google guesses.',\n ),\n});\n\nexport type BasicChartSpec = z.infer<typeof BasicChartSpec>;\n"]}
@@ -0,0 +1,119 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A chart that positions bubbles by x and y values and can vary their size and
4
+ * color grouping.
5
+ *
6
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BubbleChartSpec
7
+ */
8
+ export declare const BubbleChartSpec: z.ZodObject<{
9
+ legendPosition: z.ZodOptional<z.ZodEnum<{
10
+ BOTTOM_LEGEND: "BOTTOM_LEGEND";
11
+ INSIDE_LEGEND: "INSIDE_LEGEND";
12
+ LEFT_LEGEND: "LEFT_LEGEND";
13
+ NO_LEGEND: "NO_LEGEND";
14
+ RIGHT_LEGEND: "RIGHT_LEGEND";
15
+ TOP_LEGEND: "TOP_LEGEND";
16
+ }>>;
17
+ bubbleLabels: z.ZodOptional<z.ZodObject<{
18
+ sourceRange: z.ZodObject<{
19
+ sources: z.ZodArray<z.ZodObject<{
20
+ sheetId: z.ZodOptional<z.ZodNumber>;
21
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
22
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
23
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
24
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
25
+ }, z.core.$strict>>;
26
+ }, z.core.$strict>;
27
+ }, z.core.$strict>>;
28
+ domain: z.ZodObject<{
29
+ sourceRange: z.ZodObject<{
30
+ sources: z.ZodArray<z.ZodObject<{
31
+ sheetId: z.ZodOptional<z.ZodNumber>;
32
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
33
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
34
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
35
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
36
+ }, z.core.$strict>>;
37
+ }, z.core.$strict>;
38
+ }, z.core.$strict>;
39
+ series: z.ZodObject<{
40
+ sourceRange: z.ZodObject<{
41
+ sources: z.ZodArray<z.ZodObject<{
42
+ sheetId: z.ZodOptional<z.ZodNumber>;
43
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
44
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
45
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
46
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
47
+ }, z.core.$strict>>;
48
+ }, z.core.$strict>;
49
+ }, z.core.$strict>;
50
+ groupIds: z.ZodOptional<z.ZodObject<{
51
+ sourceRange: z.ZodObject<{
52
+ sources: z.ZodArray<z.ZodObject<{
53
+ sheetId: z.ZodOptional<z.ZodNumber>;
54
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
55
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
56
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
57
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$strict>>;
59
+ }, z.core.$strict>;
60
+ }, z.core.$strict>>;
61
+ bubbleSizes: z.ZodOptional<z.ZodObject<{
62
+ sourceRange: z.ZodObject<{
63
+ sources: z.ZodArray<z.ZodObject<{
64
+ sheetId: z.ZodOptional<z.ZodNumber>;
65
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
66
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
67
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
68
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
69
+ }, z.core.$strict>>;
70
+ }, z.core.$strict>;
71
+ }, z.core.$strict>>;
72
+ bubbleOpacity: z.ZodOptional<z.ZodNumber>;
73
+ bubbleBorderColorStyle: z.ZodOptional<z.ZodObject<{
74
+ rgbColor: z.ZodOptional<z.ZodObject<{
75
+ red: z.ZodOptional<z.ZodNumber>;
76
+ green: z.ZodOptional<z.ZodNumber>;
77
+ blue: z.ZodOptional<z.ZodNumber>;
78
+ }, z.core.$strict>>;
79
+ themeColor: z.ZodOptional<z.ZodEnum<{
80
+ ACCENT1: "ACCENT1";
81
+ ACCENT2: "ACCENT2";
82
+ ACCENT3: "ACCENT3";
83
+ ACCENT4: "ACCENT4";
84
+ ACCENT5: "ACCENT5";
85
+ ACCENT6: "ACCENT6";
86
+ BACKGROUND: "BACKGROUND";
87
+ LINK: "LINK";
88
+ TEXT: "TEXT";
89
+ }>>;
90
+ }, z.core.$strict>>;
91
+ bubbleMaxRadiusSize: z.ZodOptional<z.ZodNumber>;
92
+ bubbleMinRadiusSize: z.ZodOptional<z.ZodNumber>;
93
+ bubbleTextStyle: z.ZodOptional<z.ZodObject<{
94
+ foregroundColorStyle: z.ZodOptional<z.ZodObject<{
95
+ rgbColor: z.ZodOptional<z.ZodObject<{
96
+ red: z.ZodOptional<z.ZodNumber>;
97
+ green: z.ZodOptional<z.ZodNumber>;
98
+ blue: z.ZodOptional<z.ZodNumber>;
99
+ }, z.core.$strict>>;
100
+ themeColor: z.ZodOptional<z.ZodEnum<{
101
+ ACCENT1: "ACCENT1";
102
+ ACCENT2: "ACCENT2";
103
+ ACCENT3: "ACCENT3";
104
+ ACCENT4: "ACCENT4";
105
+ ACCENT5: "ACCENT5";
106
+ ACCENT6: "ACCENT6";
107
+ BACKGROUND: "BACKGROUND";
108
+ LINK: "LINK";
109
+ TEXT: "TEXT";
110
+ }>>;
111
+ }, z.core.$strict>>;
112
+ fontFamily: z.ZodOptional<z.ZodString>;
113
+ fontSize: z.ZodOptional<z.ZodNumber>;
114
+ bold: z.ZodOptional<z.ZodBoolean>;
115
+ italic: z.ZodOptional<z.ZodBoolean>;
116
+ }, z.core.$strict>>;
117
+ }, z.core.$strict>;
118
+ export type BubbleChartSpec = z.infer<typeof BubbleChartSpec>;
119
+ //# sourceMappingURL=BubbleChartSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleChartSpec.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BubbleChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAyC1B,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ import { ChartData } from './ChartData.js';
3
+ import { ColorStyle } from './ColorStyle.js';
4
+ import { TextFormat } from './TextFormat.js';
5
+ const BubbleTextFormat = TextFormat.omit({ strikethrough: true, underline: true, link: true });
6
+ /**
7
+ * A chart that positions bubbles by x and y values and can vary their size and
8
+ * color grouping.
9
+ *
10
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BubbleChartSpec
11
+ */
12
+ export const BubbleChartSpec = z.strictObject({
13
+ legendPosition: z
14
+ .enum([
15
+ 'BOTTOM_LEGEND',
16
+ 'LEFT_LEGEND',
17
+ 'RIGHT_LEGEND',
18
+ 'TOP_LEGEND',
19
+ 'NO_LEGEND',
20
+ 'INSIDE_LEGEND',
21
+ ])
22
+ .optional()
23
+ .describe('Where the legend is drawn.'),
24
+ bubbleLabels: ChartData.optional().describe('The labels displayed inside the bubbles.'),
25
+ domain: ChartData.describe('The x-values that position the bubbles horizontally.'),
26
+ series: ChartData.describe('The y-values that position the bubbles vertically.'),
27
+ groupIds: ChartData.optional().describe('The group IDs used to color related bubbles alike.'),
28
+ bubbleSizes: ChartData.optional().describe('The relative bubble sizes; groupIds is required when this field is provided.'),
29
+ bubbleOpacity: z
30
+ .number()
31
+ .min(0)
32
+ .max(1)
33
+ .optional()
34
+ .describe('The bubble opacity from 0, transparent, through 1, opaque.'),
35
+ bubbleBorderColorStyle: ColorStyle.optional().describe('The bubble border color.'),
36
+ bubbleMaxRadiusSize: z
37
+ .number()
38
+ .int()
39
+ .positive()
40
+ .optional()
41
+ .describe('The maximum bubble radius in pixels.'),
42
+ bubbleMinRadiusSize: z
43
+ .number()
44
+ .int()
45
+ .positive()
46
+ .optional()
47
+ .describe('The minimum bubble radius in pixels.'),
48
+ bubbleTextStyle: BubbleTextFormat.optional().describe('The text format inside bubbles; strikethrough, underline, and links are not supported.'),
49
+ });
50
+ //# sourceMappingURL=BubbleChartSpec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BubbleChartSpec.js","sourceRoot":"","sources":["../../../src/sheets/entities/BubbleChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,gBAAgB,GAAG,UAAU,CAAC,IAAI,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC;AAE/F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,YAAY,CAAC;IAC5C,cAAc,EAAE,CAAC;SACd,IAAI,CAAC;QACJ,eAAe;QACf,aAAa;QACb,cAAc;QACd,YAAY;QACZ,WAAW;QACX,eAAe;KAChB,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,4BAA4B,CAAC;IACzC,YAAY,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IACvF,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,sDAAsD,CAAC;IAClF,MAAM,EAAE,SAAS,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IAChF,QAAQ,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;IAC7F,WAAW,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACxC,8EAA8E,CAC/E;IACD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,4DAA4D,CAAC;IACzE,sBAAsB,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IAClF,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sCAAsC,CAAC;IACnD,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,sCAAsC,CAAC;IACnD,eAAe,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACnD,wFAAwF,CACzF;CACF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ChartData } from './ChartData.js';\nimport { ColorStyle } from './ColorStyle.js';\nimport { TextFormat } from './TextFormat.js';\n\nconst BubbleTextFormat = TextFormat.omit({ strikethrough: true, underline: true, link: true });\n\n/**\n * A chart that positions bubbles by x and y values and can vary their size and\n * color grouping.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#BubbleChartSpec\n */\nexport const BubbleChartSpec = z.strictObject({\n legendPosition: z\n .enum([\n 'BOTTOM_LEGEND',\n 'LEFT_LEGEND',\n 'RIGHT_LEGEND',\n 'TOP_LEGEND',\n 'NO_LEGEND',\n 'INSIDE_LEGEND',\n ])\n .optional()\n .describe('Where the legend is drawn.'),\n bubbleLabels: ChartData.optional().describe('The labels displayed inside the bubbles.'),\n domain: ChartData.describe('The x-values that position the bubbles horizontally.'),\n series: ChartData.describe('The y-values that position the bubbles vertically.'),\n groupIds: ChartData.optional().describe('The group IDs used to color related bubbles alike.'),\n bubbleSizes: ChartData.optional().describe(\n 'The relative bubble sizes; groupIds is required when this field is provided.',\n ),\n bubbleOpacity: z\n .number()\n .min(0)\n .max(1)\n .optional()\n .describe('The bubble opacity from 0, transparent, through 1, opaque.'),\n bubbleBorderColorStyle: ColorStyle.optional().describe('The bubble border color.'),\n bubbleMaxRadiusSize: z\n .number()\n .int()\n .positive()\n .optional()\n .describe('The maximum bubble radius in pixels.'),\n bubbleMinRadiusSize: z\n .number()\n .int()\n .positive()\n .optional()\n .describe('The minimum bubble radius in pixels.'),\n bubbleTextStyle: BubbleTextFormat.optional().describe(\n 'The text format inside bubbles; strikethrough, underline, and links are not supported.',\n ),\n});\n\nexport type BubbleChartSpec = z.infer<typeof BubbleChartSpec>;\n"]}
@@ -0,0 +1,78 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A chart that displays low, open, close, and high values for a data series.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#CandlestickChartSpec
6
+ */
7
+ export declare const CandlestickChartSpec: z.ZodObject<{
8
+ domain: z.ZodObject<{
9
+ data: z.ZodObject<{
10
+ sourceRange: z.ZodObject<{
11
+ sources: z.ZodArray<z.ZodObject<{
12
+ sheetId: z.ZodOptional<z.ZodNumber>;
13
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
14
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
15
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
16
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
17
+ }, z.core.$strict>>;
18
+ }, z.core.$strict>;
19
+ }, z.core.$strict>;
20
+ reversed: z.ZodOptional<z.ZodBoolean>;
21
+ }, z.core.$strict>;
22
+ data: z.ZodArray<z.ZodObject<{
23
+ lowSeries: z.ZodObject<{
24
+ data: z.ZodObject<{
25
+ sourceRange: z.ZodObject<{
26
+ sources: z.ZodArray<z.ZodObject<{
27
+ sheetId: z.ZodOptional<z.ZodNumber>;
28
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
29
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
30
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
31
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
32
+ }, z.core.$strict>>;
33
+ }, z.core.$strict>;
34
+ }, z.core.$strict>;
35
+ }, z.core.$strict>;
36
+ openSeries: z.ZodObject<{
37
+ data: z.ZodObject<{
38
+ sourceRange: z.ZodObject<{
39
+ sources: z.ZodArray<z.ZodObject<{
40
+ sheetId: z.ZodOptional<z.ZodNumber>;
41
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
42
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
43
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
44
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
45
+ }, z.core.$strict>>;
46
+ }, z.core.$strict>;
47
+ }, z.core.$strict>;
48
+ }, z.core.$strict>;
49
+ closeSeries: z.ZodObject<{
50
+ data: z.ZodObject<{
51
+ sourceRange: z.ZodObject<{
52
+ sources: z.ZodArray<z.ZodObject<{
53
+ sheetId: z.ZodOptional<z.ZodNumber>;
54
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
55
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
56
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
57
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
58
+ }, z.core.$strict>>;
59
+ }, z.core.$strict>;
60
+ }, z.core.$strict>;
61
+ }, z.core.$strict>;
62
+ highSeries: z.ZodObject<{
63
+ data: z.ZodObject<{
64
+ sourceRange: z.ZodObject<{
65
+ sources: z.ZodArray<z.ZodObject<{
66
+ sheetId: z.ZodOptional<z.ZodNumber>;
67
+ startRowIndex: z.ZodOptional<z.ZodNumber>;
68
+ endRowIndex: z.ZodOptional<z.ZodNumber>;
69
+ startColumnIndex: z.ZodOptional<z.ZodNumber>;
70
+ endColumnIndex: z.ZodOptional<z.ZodNumber>;
71
+ }, z.core.$strict>>;
72
+ }, z.core.$strict>;
73
+ }, z.core.$strict>;
74
+ }, z.core.$strict>;
75
+ }, z.core.$strict>>;
76
+ }, z.core.$strict>;
77
+ export type CandlestickChartSpec = z.infer<typeof CandlestickChartSpec>;
78
+ //# sourceMappingURL=CandlestickChartSpec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandlestickChartSpec.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/CandlestickChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAkB/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ import { ChartData } from './ChartData.js';
3
+ const CandlestickSeries = z.strictObject({
4
+ data: ChartData.describe('The data of this candlestick series.'),
5
+ });
6
+ /**
7
+ * A chart that displays low, open, close, and high values for a data series.
8
+ *
9
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#CandlestickChartSpec
10
+ */
11
+ export const CandlestickChartSpec = z.strictObject({
12
+ domain: z
13
+ .strictObject({
14
+ data: ChartData.describe('The horizontal-axis data for the candles.'),
15
+ reversed: z.boolean().optional().describe('True to reverse the horizontal-axis value order.'),
16
+ })
17
+ .describe('The horizontal-axis domain for the candlestick chart.'),
18
+ data: z
19
+ .array(z.strictObject({
20
+ lowSeries: CandlestickSeries.describe('The low value for each candle.'),
21
+ openSeries: CandlestickSeries.describe('The open value for each candle.'),
22
+ closeSeries: CandlestickSeries.describe('The close value for each candle.'),
23
+ highSeries: CandlestickSeries.describe('The high value for each candle.'),
24
+ }))
25
+ .length(1)
26
+ .describe('The low, open, close, and high data; Google supports exactly one entry.'),
27
+ });
28
+ //# sourceMappingURL=CandlestickChartSpec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CandlestickChartSpec.js","sourceRoot":"","sources":["../../../src/sheets/entities/CandlestickChartSpec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC;IACvC,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,sCAAsC,CAAC;CACjE,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,MAAM,EAAE,CAAC;SACN,YAAY,CAAC;QACZ,IAAI,EAAE,SAAS,CAAC,QAAQ,CAAC,2CAA2C,CAAC;QACrE,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,kDAAkD,CAAC;KAC9F,CAAC;SACD,QAAQ,CAAC,uDAAuD,CAAC;IACpE,IAAI,EAAE,CAAC;SACJ,KAAK,CACJ,CAAC,CAAC,YAAY,CAAC;QACb,SAAS,EAAE,iBAAiB,CAAC,QAAQ,CAAC,gCAAgC,CAAC;QACvE,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,iCAAiC,CAAC;QACzE,WAAW,EAAE,iBAAiB,CAAC,QAAQ,CAAC,kCAAkC,CAAC;QAC3E,UAAU,EAAE,iBAAiB,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KAC1E,CAAC,CACH;SACA,MAAM,CAAC,CAAC,CAAC;SACT,QAAQ,CAAC,yEAAyE,CAAC;CACvF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ChartData } from './ChartData.js';\n\nconst CandlestickSeries = z.strictObject({\n data: ChartData.describe('The data of this candlestick series.'),\n});\n\n/**\n * A chart that displays low, open, close, and high values for a data series.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#CandlestickChartSpec\n */\nexport const CandlestickChartSpec = z.strictObject({\n domain: z\n .strictObject({\n data: ChartData.describe('The horizontal-axis data for the candles.'),\n reversed: z.boolean().optional().describe('True to reverse the horizontal-axis value order.'),\n })\n .describe('The horizontal-axis domain for the candlestick chart.'),\n data: z\n .array(\n z.strictObject({\n lowSeries: CandlestickSeries.describe('The low value for each candle.'),\n openSeries: CandlestickSeries.describe('The open value for each candle.'),\n closeSeries: CandlestickSeries.describe('The close value for each candle.'),\n highSeries: CandlestickSeries.describe('The high value for each candle.'),\n }),\n )\n .length(1)\n .describe('The low, open, close, and high data; Google supports exactly one entry.'),\n});\n\nexport type CandlestickChartSpec = z.infer<typeof CandlestickChartSpec>;\n"]}