google-mcp-suite 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (381) hide show
  1. package/README.md +18 -13
  2. package/dist/calendar/entities/CalendarListEntry.d.ts +2 -2
  3. package/dist/calendar/entities/Event.d.ts +2 -2
  4. package/dist/calendar/entities/EventDateTime.d.ts.map +1 -1
  5. package/dist/calendar/entities/EventDateTime.js +4 -1
  6. package/dist/calendar/entities/EventDateTime.js.map +1 -1
  7. package/dist/calendar/entities/Reminder.d.ts +2 -2
  8. package/dist/calendar/entities/Reminder.d.ts.map +1 -1
  9. package/dist/calendar/entities/Reminder.js +2 -1
  10. package/dist/calendar/entities/Reminder.js.map +1 -1
  11. package/dist/calendar/lib/event.d.ts +1 -1
  12. package/dist/calendar/lib/event.d.ts.map +1 -1
  13. package/dist/calendar/lib/event.js +2 -2
  14. package/dist/calendar/lib/event.js.map +1 -1
  15. package/dist/calendar/lib/freebusy.d.ts +11 -0
  16. package/dist/calendar/lib/freebusy.d.ts.map +1 -0
  17. package/dist/calendar/lib/freebusy.js +21 -0
  18. package/dist/calendar/lib/freebusy.js.map +1 -0
  19. package/dist/calendar/lib/suggest.d.ts +2 -0
  20. package/dist/calendar/lib/suggest.d.ts.map +1 -1
  21. package/dist/calendar/lib/suggest.js +11 -1
  22. package/dist/calendar/lib/suggest.js.map +1 -1
  23. package/dist/calendar/methods/add_calendar_entry/index.d.ts +2 -2
  24. package/dist/calendar/methods/add_calendar_entry/schema.d.ts +2 -2
  25. package/dist/calendar/methods/get_calendar_entry/index.d.ts +2 -2
  26. package/dist/calendar/methods/get_calendar_entry/schema.d.ts +2 -2
  27. package/dist/calendar/methods/list_event_instances/index.d.ts +4 -4
  28. package/dist/calendar/methods/list_event_instances/schema.d.ts +4 -4
  29. package/dist/calendar/methods/move_event/index.d.ts +2 -2
  30. package/dist/calendar/methods/move_event/schema.d.ts +2 -2
  31. package/dist/calendar/methods/patch_event/index.d.ts +2 -2
  32. package/dist/calendar/methods/patch_event/schema.d.ts +2 -2
  33. package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -1
  34. package/dist/calendar/methods/query_free_busy/handler.js +1 -12
  35. package/dist/calendar/methods/query_free_busy/handler.js.map +1 -1
  36. package/dist/calendar/methods/quick_add_event/index.d.ts +2 -2
  37. package/dist/calendar/methods/quick_add_event/schema.d.ts +2 -2
  38. package/dist/calendar/methods/registry.d.ts +18 -18
  39. package/dist/calendar/methods/update_calendar_entry/handler.js +1 -1
  40. package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -1
  41. package/dist/calendar/methods/update_calendar_entry/index.d.ts +4 -4
  42. package/dist/calendar/methods/update_calendar_entry/schema.d.ts +4 -4
  43. package/dist/calendar/operation.d.ts +1 -1
  44. package/dist/calendar/operation.d.ts.map +1 -1
  45. package/dist/calendar/operation.js.map +1 -1
  46. package/dist/calendar/tools/create_event/handler.d.ts.map +1 -1
  47. package/dist/calendar/tools/create_event/handler.js +4 -1
  48. package/dist/calendar/tools/create_event/handler.js.map +1 -1
  49. package/dist/calendar/tools/create_event/index.d.ts +4 -4
  50. package/dist/calendar/tools/create_event/schema.d.ts +4 -4
  51. package/dist/calendar/tools/delete_event/index.d.ts +2 -2
  52. package/dist/calendar/tools/delete_event/schema.d.ts +2 -2
  53. package/dist/calendar/tools/get_event/index.d.ts +2 -2
  54. package/dist/calendar/tools/get_event/schema.d.ts +2 -2
  55. package/dist/calendar/tools/list_events/index.d.ts +4 -4
  56. package/dist/calendar/tools/list_events/schema.d.ts +4 -4
  57. package/dist/calendar/tools/registry.d.ts +18 -18
  58. package/dist/calendar/tools/respond_to_event/index.d.ts +2 -2
  59. package/dist/calendar/tools/respond_to_event/schema.d.ts +2 -2
  60. package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -1
  61. package/dist/calendar/tools/suggest_time/handler.js +2 -1
  62. package/dist/calendar/tools/suggest_time/handler.js.map +1 -1
  63. package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -1
  64. package/dist/calendar/tools/suggest_time/schema.js +3 -4
  65. package/dist/calendar/tools/suggest_time/schema.js.map +1 -1
  66. package/dist/calendar/tools/update_event/handler.d.ts.map +1 -1
  67. package/dist/calendar/tools/update_event/handler.js +4 -1
  68. package/dist/calendar/tools/update_event/handler.js.map +1 -1
  69. package/dist/calendar/tools/update_event/index.d.ts +4 -4
  70. package/dist/calendar/tools/update_event/schema.d.ts +4 -4
  71. package/dist/doctor/services.d.ts.map +1 -1
  72. package/dist/doctor/services.js +15 -1
  73. package/dist/doctor/services.js.map +1 -1
  74. package/dist/gmail/operation.d.ts +1 -1
  75. package/dist/gmail/operation.d.ts.map +1 -1
  76. package/dist/gmail/operation.js.map +1 -1
  77. package/dist/lib/operation.d.ts +4 -4
  78. package/dist/lib/operation.d.ts.map +1 -1
  79. package/dist/lib/operation.js +1 -1
  80. package/dist/lib/operation.js.map +1 -1
  81. package/dist/lib/server.d.ts +6 -5
  82. package/dist/lib/server.d.ts.map +1 -1
  83. package/dist/lib/server.js +20 -7
  84. package/dist/lib/server.js.map +1 -1
  85. package/dist/sheets/capabilities.d.ts +3 -0
  86. package/dist/sheets/capabilities.d.ts.map +1 -0
  87. package/dist/sheets/capabilities.js +15 -0
  88. package/dist/sheets/capabilities.js.map +1 -0
  89. package/dist/sheets/entities/CellValue.d.ts +14 -0
  90. package/dist/sheets/entities/CellValue.d.ts.map +1 -0
  91. package/dist/sheets/entities/CellValue.js +15 -0
  92. package/dist/sheets/entities/CellValue.js.map +1 -0
  93. package/dist/sheets/entities/DataFilter.d.ts +57 -0
  94. package/dist/sheets/entities/DataFilter.d.ts.map +1 -0
  95. package/dist/sheets/entities/DataFilter.js +15 -0
  96. package/dist/sheets/entities/DataFilter.js.map +1 -0
  97. package/dist/sheets/entities/DataFilterValueRange.d.ts +64 -0
  98. package/dist/sheets/entities/DataFilterValueRange.d.ts.map +1 -0
  99. package/dist/sheets/entities/DataFilterValueRange.js +18 -0
  100. package/dist/sheets/entities/DataFilterValueRange.js.map +1 -0
  101. package/dist/sheets/entities/DateTimeRenderOption.d.ts +13 -0
  102. package/dist/sheets/entities/DateTimeRenderOption.d.ts.map +1 -0
  103. package/dist/sheets/entities/DateTimeRenderOption.js +11 -0
  104. package/dist/sheets/entities/DateTimeRenderOption.js.map +1 -0
  105. package/dist/sheets/entities/DeveloperMetadata.d.ts +40 -0
  106. package/dist/sheets/entities/DeveloperMetadata.d.ts.map +1 -0
  107. package/dist/sheets/entities/DeveloperMetadata.js +28 -0
  108. package/dist/sheets/entities/DeveloperMetadata.js.map +1 -0
  109. package/dist/sheets/entities/DeveloperMetadataLocation.d.ts +28 -0
  110. package/dist/sheets/entities/DeveloperMetadataLocation.d.ts.map +1 -0
  111. package/dist/sheets/entities/DeveloperMetadataLocation.js +25 -0
  112. package/dist/sheets/entities/DeveloperMetadataLocation.js.map +1 -0
  113. package/dist/sheets/entities/DeveloperMetadataLookup.d.ts +48 -0
  114. package/dist/sheets/entities/DeveloperMetadataLookup.d.ts.map +1 -0
  115. package/dist/sheets/entities/DeveloperMetadataLookup.js +38 -0
  116. package/dist/sheets/entities/DeveloperMetadataLookup.js.map +1 -0
  117. package/dist/sheets/entities/DimensionRange.d.ts +18 -0
  118. package/dist/sheets/entities/DimensionRange.d.ts.map +1 -0
  119. package/dist/sheets/entities/DimensionRange.js +22 -0
  120. package/dist/sheets/entities/DimensionRange.js.map +1 -0
  121. package/dist/sheets/entities/GridProperties.d.ts +16 -0
  122. package/dist/sheets/entities/GridProperties.d.ts.map +1 -0
  123. package/dist/sheets/entities/GridProperties.js +23 -0
  124. package/dist/sheets/entities/GridProperties.js.map +1 -0
  125. package/dist/sheets/entities/GridRange.d.ts +17 -0
  126. package/dist/sheets/entities/GridRange.d.ts.map +1 -0
  127. package/dist/sheets/entities/GridRange.js +32 -0
  128. package/dist/sheets/entities/GridRange.js.map +1 -0
  129. package/dist/sheets/entities/MajorDimension.d.ts +13 -0
  130. package/dist/sheets/entities/MajorDimension.d.ts.map +1 -0
  131. package/dist/sheets/entities/MajorDimension.js +11 -0
  132. package/dist/sheets/entities/MajorDimension.js.map +1 -0
  133. package/dist/sheets/entities/MatchedValueRange.d.ts +67 -0
  134. package/dist/sheets/entities/MatchedValueRange.d.ts.map +1 -0
  135. package/dist/sheets/entities/MatchedValueRange.js +17 -0
  136. package/dist/sheets/entities/MatchedValueRange.js.map +1 -0
  137. package/dist/sheets/entities/SheetProperties.d.ts +28 -0
  138. package/dist/sheets/entities/SheetProperties.d.ts.map +1 -0
  139. package/dist/sheets/entities/SheetProperties.js +32 -0
  140. package/dist/sheets/entities/SheetProperties.js.map +1 -0
  141. package/dist/sheets/entities/Spreadsheet.d.ts +44 -0
  142. package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -0
  143. package/dist/sheets/entities/Spreadsheet.js +23 -0
  144. package/dist/sheets/entities/Spreadsheet.js.map +1 -0
  145. package/dist/sheets/entities/SpreadsheetProperties.d.ts +20 -0
  146. package/dist/sheets/entities/SpreadsheetProperties.d.ts.map +1 -0
  147. package/dist/sheets/entities/SpreadsheetProperties.js +24 -0
  148. package/dist/sheets/entities/SpreadsheetProperties.js.map +1 -0
  149. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts +72 -0
  150. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts.map +1 -0
  151. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js +30 -0
  152. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js.map +1 -0
  153. package/dist/sheets/entities/UpdateValuesResponse.d.ts +25 -0
  154. package/dist/sheets/entities/UpdateValuesResponse.d.ts.map +1 -0
  155. package/dist/sheets/entities/UpdateValuesResponse.js +29 -0
  156. package/dist/sheets/entities/UpdateValuesResponse.js.map +1 -0
  157. package/dist/sheets/entities/ValueInputOption.d.ts +14 -0
  158. package/dist/sheets/entities/ValueInputOption.d.ts.map +1 -0
  159. package/dist/sheets/entities/ValueInputOption.js +12 -0
  160. package/dist/sheets/entities/ValueInputOption.js.map +1 -0
  161. package/dist/sheets/entities/ValueRange.d.ts +17 -0
  162. package/dist/sheets/entities/ValueRange.d.ts.map +1 -0
  163. package/dist/sheets/entities/ValueRange.js +21 -0
  164. package/dist/sheets/entities/ValueRange.js.map +1 -0
  165. package/dist/sheets/entities/ValueRenderOption.d.ts +14 -0
  166. package/dist/sheets/entities/ValueRenderOption.d.ts.map +1 -0
  167. package/dist/sheets/entities/ValueRenderOption.js +11 -0
  168. package/dist/sheets/entities/ValueRenderOption.js.map +1 -0
  169. package/dist/sheets/index.d.ts +3 -0
  170. package/dist/sheets/index.d.ts.map +1 -0
  171. package/dist/sheets/index.js +22 -0
  172. package/dist/sheets/index.js.map +1 -0
  173. package/dist/sheets/lib/enums.d.ts +8 -0
  174. package/dist/sheets/lib/enums.d.ts.map +1 -0
  175. package/dist/sheets/lib/enums.js +10 -0
  176. package/dist/sheets/lib/enums.js.map +1 -0
  177. package/dist/sheets/lib/filters.d.ts +10 -0
  178. package/dist/sheets/lib/filters.d.ts.map +1 -0
  179. package/dist/sheets/lib/filters.js +82 -0
  180. package/dist/sheets/lib/filters.js.map +1 -0
  181. package/dist/sheets/lib/metadata.d.ts +5 -0
  182. package/dist/sheets/lib/metadata.d.ts.map +1 -0
  183. package/dist/sheets/lib/metadata.js +13 -0
  184. package/dist/sheets/lib/metadata.js.map +1 -0
  185. package/dist/sheets/lib/spreadsheet.d.ts +12 -0
  186. package/dist/sheets/lib/spreadsheet.d.ts.map +1 -0
  187. package/dist/sheets/lib/spreadsheet.js +42 -0
  188. package/dist/sheets/lib/spreadsheet.js.map +1 -0
  189. package/dist/sheets/lib/values.d.ts +13 -0
  190. package/dist/sheets/lib/values.d.ts.map +1 -0
  191. package/dist/sheets/lib/values.js +26 -0
  192. package/dist/sheets/lib/values.js.map +1 -0
  193. package/dist/sheets/methods/append_values/handler.d.ts +5 -0
  194. package/dist/sheets/methods/append_values/handler.d.ts.map +1 -0
  195. package/dist/sheets/methods/append_values/handler.js +23 -0
  196. package/dist/sheets/methods/append_values/handler.js.map +1 -0
  197. package/dist/sheets/methods/append_values/index.d.ts +52 -0
  198. package/dist/sheets/methods/append_values/index.d.ts.map +1 -0
  199. package/dist/sheets/methods/append_values/index.js +15 -0
  200. package/dist/sheets/methods/append_values/index.js.map +1 -0
  201. package/dist/sheets/methods/append_values/schema.d.ts +51 -0
  202. package/dist/sheets/methods/append_values/schema.d.ts.map +1 -0
  203. package/dist/sheets/methods/append_values/schema.js +40 -0
  204. package/dist/sheets/methods/append_values/schema.js.map +1 -0
  205. package/dist/sheets/methods/batch_clear_values/handler.d.ts +5 -0
  206. package/dist/sheets/methods/batch_clear_values/handler.d.ts.map +1 -0
  207. package/dist/sheets/methods/batch_clear_values/handler.js +11 -0
  208. package/dist/sheets/methods/batch_clear_values/handler.js.map +1 -0
  209. package/dist/sheets/methods/batch_clear_values/index.d.ts +14 -0
  210. package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -0
  211. package/dist/sheets/methods/batch_clear_values/index.js +16 -0
  212. package/dist/sheets/methods/batch_clear_values/index.js.map +1 -0
  213. package/dist/sheets/methods/batch_clear_values/schema.d.ts +13 -0
  214. package/dist/sheets/methods/batch_clear_values/schema.d.ts.map +1 -0
  215. package/dist/sheets/methods/batch_clear_values/schema.js +19 -0
  216. package/dist/sheets/methods/batch_clear_values/schema.js.map +1 -0
  217. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts +5 -0
  218. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts.map +1 -0
  219. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js +12 -0
  220. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js.map +1 -0
  221. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts +61 -0
  222. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -0
  223. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +16 -0
  224. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -0
  225. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts +60 -0
  226. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts.map +1 -0
  227. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js +20 -0
  228. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js.map +1 -0
  229. package/dist/sheets/methods/batch_get_values/handler.d.ts +5 -0
  230. package/dist/sheets/methods/batch_get_values/handler.d.ts.map +1 -0
  231. package/dist/sheets/methods/batch_get_values/handler.js +16 -0
  232. package/dist/sheets/methods/batch_get_values/handler.js.map +1 -0
  233. package/dist/sheets/methods/batch_get_values/index.d.ts +29 -0
  234. package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -0
  235. package/dist/sheets/methods/batch_get_values/index.js +10 -0
  236. package/dist/sheets/methods/batch_get_values/index.js.map +1 -0
  237. package/dist/sheets/methods/batch_get_values/schema.d.ts +33 -0
  238. package/dist/sheets/methods/batch_get_values/schema.d.ts.map +1 -0
  239. package/dist/sheets/methods/batch_get_values/schema.js +25 -0
  240. package/dist/sheets/methods/batch_get_values/schema.js.map +1 -0
  241. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts +5 -0
  242. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts.map +1 -0
  243. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js +22 -0
  244. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js.map +1 -0
  245. package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts +126 -0
  246. package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -0
  247. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +10 -0
  248. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -0
  249. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts +130 -0
  250. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts.map +1 -0
  251. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js +26 -0
  252. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js.map +1 -0
  253. package/dist/sheets/methods/batch_update_values/handler.d.ts +5 -0
  254. package/dist/sheets/methods/batch_update_values/handler.d.ts.map +1 -0
  255. package/dist/sheets/methods/batch_update_values/handler.js +23 -0
  256. package/dist/sheets/methods/batch_update_values/handler.js.map +1 -0
  257. package/dist/sheets/methods/batch_update_values/index.d.ts +48 -0
  258. package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -0
  259. package/dist/sheets/methods/batch_update_values/index.js +10 -0
  260. package/dist/sheets/methods/batch_update_values/index.js.map +1 -0
  261. package/dist/sheets/methods/batch_update_values/schema.d.ts +52 -0
  262. package/dist/sheets/methods/batch_update_values/schema.d.ts.map +1 -0
  263. package/dist/sheets/methods/batch_update_values/schema.js +46 -0
  264. package/dist/sheets/methods/batch_update_values/schema.js.map +1 -0
  265. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts +5 -0
  266. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts.map +1 -0
  267. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js +35 -0
  268. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js.map +1 -0
  269. package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts +142 -0
  270. package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -0
  271. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +10 -0
  272. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -0
  273. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts +146 -0
  274. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts.map +1 -0
  275. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js +46 -0
  276. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js.map +1 -0
  277. package/dist/sheets/methods/clear_values/handler.d.ts +5 -0
  278. package/dist/sheets/methods/clear_values/handler.d.ts.map +1 -0
  279. package/dist/sheets/methods/clear_values/handler.js +12 -0
  280. package/dist/sheets/methods/clear_values/handler.js.map +1 -0
  281. package/dist/sheets/methods/clear_values/index.d.ts +14 -0
  282. package/dist/sheets/methods/clear_values/index.d.ts.map +1 -0
  283. package/dist/sheets/methods/clear_values/index.js +16 -0
  284. package/dist/sheets/methods/clear_values/index.js.map +1 -0
  285. package/dist/sheets/methods/clear_values/schema.d.ts +13 -0
  286. package/dist/sheets/methods/clear_values/schema.d.ts.map +1 -0
  287. package/dist/sheets/methods/clear_values/schema.js +16 -0
  288. package/dist/sheets/methods/clear_values/schema.js.map +1 -0
  289. package/dist/sheets/methods/copy_sheet/handler.d.ts +5 -0
  290. package/dist/sheets/methods/copy_sheet/handler.d.ts.map +1 -0
  291. package/dist/sheets/methods/copy_sheet/handler.js +10 -0
  292. package/dist/sheets/methods/copy_sheet/handler.js.map +1 -0
  293. package/dist/sheets/methods/copy_sheet/index.d.ts +28 -0
  294. package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -0
  295. package/dist/sheets/methods/copy_sheet/index.js +15 -0
  296. package/dist/sheets/methods/copy_sheet/index.js.map +1 -0
  297. package/dist/sheets/methods/copy_sheet/schema.d.ts +27 -0
  298. package/dist/sheets/methods/copy_sheet/schema.d.ts.map +1 -0
  299. package/dist/sheets/methods/copy_sheet/schema.js +14 -0
  300. package/dist/sheets/methods/copy_sheet/schema.js.map +1 -0
  301. package/dist/sheets/methods/create_spreadsheet/handler.d.ts +5 -0
  302. package/dist/sheets/methods/create_spreadsheet/handler.d.ts.map +1 -0
  303. package/dist/sheets/methods/create_spreadsheet/handler.js +16 -0
  304. package/dist/sheets/methods/create_spreadsheet/handler.js.map +1 -0
  305. package/dist/sheets/methods/create_spreadsheet/index.d.ts +46 -0
  306. package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -0
  307. package/dist/sheets/methods/create_spreadsheet/index.js +16 -0
  308. package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -0
  309. package/dist/sheets/methods/create_spreadsheet/schema.d.ts +50 -0
  310. package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -0
  311. package/dist/sheets/methods/create_spreadsheet/schema.js +28 -0
  312. package/dist/sheets/methods/create_spreadsheet/schema.js.map +1 -0
  313. package/dist/sheets/methods/get_developer_metadata/handler.d.ts +5 -0
  314. package/dist/sheets/methods/get_developer_metadata/handler.d.ts.map +1 -0
  315. package/dist/sheets/methods/get_developer_metadata/handler.js +9 -0
  316. package/dist/sheets/methods/get_developer_metadata/handler.js.map +1 -0
  317. package/dist/sheets/methods/get_developer_metadata/index.d.ts +33 -0
  318. package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -0
  319. package/dist/sheets/methods/get_developer_metadata/index.js +10 -0
  320. package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -0
  321. package/dist/sheets/methods/get_developer_metadata/schema.d.ts +37 -0
  322. package/dist/sheets/methods/get_developer_metadata/schema.d.ts.map +1 -0
  323. package/dist/sheets/methods/get_developer_metadata/schema.js +11 -0
  324. package/dist/sheets/methods/get_developer_metadata/schema.js.map +1 -0
  325. package/dist/sheets/methods/get_spreadsheet/handler.d.ts +5 -0
  326. package/dist/sheets/methods/get_spreadsheet/handler.d.ts.map +1 -0
  327. package/dist/sheets/methods/get_spreadsheet/handler.js +6 -0
  328. package/dist/sheets/methods/get_spreadsheet/handler.js.map +1 -0
  329. package/dist/sheets/methods/get_spreadsheet/index.d.ts +42 -0
  330. package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -0
  331. package/dist/sheets/methods/get_spreadsheet/index.js +17 -0
  332. package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -0
  333. package/dist/sheets/methods/get_spreadsheet/schema.d.ts +39 -0
  334. package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -0
  335. package/dist/sheets/methods/get_spreadsheet/schema.js +10 -0
  336. package/dist/sheets/methods/get_spreadsheet/schema.js.map +1 -0
  337. package/dist/sheets/methods/get_values/handler.d.ts +5 -0
  338. package/dist/sheets/methods/get_values/handler.d.ts.map +1 -0
  339. package/dist/sheets/methods/get_values/handler.js +13 -0
  340. package/dist/sheets/methods/get_values/handler.js.map +1 -0
  341. package/dist/sheets/methods/get_values/index.d.ts +26 -0
  342. package/dist/sheets/methods/get_values/index.d.ts.map +1 -0
  343. package/dist/sheets/methods/get_values/index.js +10 -0
  344. package/dist/sheets/methods/get_values/index.js.map +1 -0
  345. package/dist/sheets/methods/get_values/schema.d.ts +30 -0
  346. package/dist/sheets/methods/get_values/schema.d.ts.map +1 -0
  347. package/dist/sheets/methods/get_values/schema.js +19 -0
  348. package/dist/sheets/methods/get_values/schema.js.map +1 -0
  349. package/dist/sheets/methods/registry.d.ts +775 -0
  350. package/dist/sheets/methods/registry.d.ts.map +1 -0
  351. package/dist/sheets/methods/registry.js +45 -0
  352. package/dist/sheets/methods/registry.js.map +1 -0
  353. package/dist/sheets/methods/search_developer_metadata/handler.d.ts +5 -0
  354. package/dist/sheets/methods/search_developer_metadata/handler.d.ts.map +1 -0
  355. package/dist/sheets/methods/search_developer_metadata/handler.js +17 -0
  356. package/dist/sheets/methods/search_developer_metadata/handler.js.map +1 -0
  357. package/dist/sheets/methods/search_developer_metadata/index.d.ts +132 -0
  358. package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -0
  359. package/dist/sheets/methods/search_developer_metadata/index.js +10 -0
  360. package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -0
  361. package/dist/sheets/methods/search_developer_metadata/schema.d.ts +136 -0
  362. package/dist/sheets/methods/search_developer_metadata/schema.d.ts.map +1 -0
  363. package/dist/sheets/methods/search_developer_metadata/schema.js +25 -0
  364. package/dist/sheets/methods/search_developer_metadata/schema.js.map +1 -0
  365. package/dist/sheets/methods/update_values/handler.d.ts +5 -0
  366. package/dist/sheets/methods/update_values/handler.d.ts.map +1 -0
  367. package/dist/sheets/methods/update_values/handler.js +18 -0
  368. package/dist/sheets/methods/update_values/handler.js.map +1 -0
  369. package/dist/sheets/methods/update_values/index.d.ts +39 -0
  370. package/dist/sheets/methods/update_values/index.d.ts.map +1 -0
  371. package/dist/sheets/methods/update_values/index.js +10 -0
  372. package/dist/sheets/methods/update_values/index.js.map +1 -0
  373. package/dist/sheets/methods/update_values/schema.d.ts +43 -0
  374. package/dist/sheets/methods/update_values/schema.d.ts.map +1 -0
  375. package/dist/sheets/methods/update_values/schema.js +29 -0
  376. package/dist/sheets/methods/update_values/schema.js.map +1 -0
  377. package/dist/sheets/operation.d.ts +12 -0
  378. package/dist/sheets/operation.d.ts.map +1 -0
  379. package/dist/sheets/operation.js +10 -0
  380. package/dist/sheets/operation.js.map +1 -0
  381. package/package.json +9 -4
@@ -0,0 +1,5 @@
1
+ import type { sheets_v4 } from '@googleapis/sheets';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(sheets: sheets_v4.Sheets, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAYxC"}
@@ -0,0 +1,16 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { projectSpreadsheet } from '../../lib/spreadsheet.js';
3
+ export async function handler(sheets, args) {
4
+ const { data } = await sheets.spreadsheets.create({
5
+ requestBody: forGoogle({
6
+ properties: forGoogle({
7
+ title: args.title,
8
+ locale: args.locale,
9
+ timeZone: args.timeZone,
10
+ }),
11
+ sheets: args.sheets?.map((sheet) => ({ properties: { title: sheet.title } })),
12
+ }),
13
+ });
14
+ return projectSpreadsheet(data);
15
+ }
16
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC;QAChD,WAAW,EAAE,SAAS,CAAC;YACrB,UAAU,EAAE,SAAS,CAAC;gBACpB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB,CAAC;YACF,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,KAAK,EAAE,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;SAC9E,CAAC;KACH,CAAC,CAAC;IACH,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectSpreadsheet } from '../../lib/spreadsheet.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.create({\n requestBody: forGoogle({\n properties: forGoogle({\n title: args.title,\n locale: args.locale,\n timeZone: args.timeZone,\n }),\n sheets: args.sheets?.map((sheet) => ({ properties: { title: sheet.title } })),\n }),\n });\n return projectSpreadsheet(data);\n}\n"]}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
3
+ *
4
+ * The new spreadsheet lands in the account's Drive root. The Sheets API has no
5
+ * delete: removing a spreadsheet is Drive's `files.delete`, outside this
6
+ * server's surface.
7
+ */
8
+ export declare const create_spreadsheet: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
9
+ title: import("zod").ZodString;
10
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
11
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
12
+ sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
13
+ title: import("zod").ZodString;
14
+ }, import("zod/v4/core").$strip>>>;
15
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
16
+ spreadsheetId: import("zod").ZodString;
17
+ spreadsheetUrl: import("zod").ZodOptional<import("zod").ZodString>;
18
+ properties: import("zod").ZodOptional<import("zod").ZodObject<{
19
+ title: import("zod").ZodOptional<import("zod").ZodString>;
20
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
21
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
22
+ autoRecalc: import("zod").ZodOptional<import("zod").ZodEnum<{
23
+ ON_CHANGE: "ON_CHANGE";
24
+ MINUTE: "MINUTE";
25
+ HOUR: "HOUR";
26
+ }>>;
27
+ }, import("zod/v4/core").$strip>>;
28
+ sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
29
+ sheetId: import("zod").ZodNumber;
30
+ title: import("zod").ZodOptional<import("zod").ZodString>;
31
+ index: import("zod").ZodOptional<import("zod").ZodNumber>;
32
+ sheetType: import("zod").ZodOptional<import("zod").ZodEnum<{
33
+ GRID: "GRID";
34
+ OBJECT: "OBJECT";
35
+ DATA_SOURCE: "DATA_SOURCE";
36
+ }>>;
37
+ gridProperties: import("zod").ZodOptional<import("zod").ZodObject<{
38
+ rowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
39
+ columnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
40
+ frozenRowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
41
+ frozenColumnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
42
+ }, import("zod/v4/core").$strip>>;
43
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
44
+ }, import("zod/v4/core").$strip>>>;
45
+ }, import("zod/v4/core").$strip>>;
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK7B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { sheetsOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /**
5
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
6
+ *
7
+ * The new spreadsheet lands in the account's Drive root. The Sheets API has no
8
+ * delete: removing a spreadsheet is Drive's `files.delete`, outside this
9
+ * server's surface.
10
+ */
11
+ export const create_spreadsheet = sheetsOperation({
12
+ description: 'Create a spreadsheet with a title and optionally named sheets (tabs); returns the new spreadsheet and its id.',
13
+ schema,
14
+ handler,
15
+ });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;IAChD,WAAW,EACT,+GAA+G;IACjH,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create\n *\n * The new spreadsheet lands in the account's Drive root. The Sheets API has no\n * delete: removing a spreadsheet is Drive's `files.delete`, outside this\n * server's surface.\n */\nexport const create_spreadsheet = sheetsOperation({\n description:\n 'Create a spreadsheet with a title and optionally named sheets (tabs); returns the new spreadsheet and its id.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
4
+ *
5
+ * The REST body is a full Spreadsheet resource; this input is the curated
6
+ * subset that makes sense at creation time (the rest of the resource is
7
+ * formatting and grid data, deferred with issues #27 and #28).
8
+ */
9
+ export declare const schema: {
10
+ input: z.ZodObject<{
11
+ title: z.ZodString;
12
+ locale: z.ZodOptional<z.ZodString>;
13
+ timeZone: z.ZodOptional<z.ZodString>;
14
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
15
+ title: z.ZodString;
16
+ }, z.core.$strip>>>;
17
+ }, z.core.$strip>;
18
+ output: z.ZodObject<{
19
+ spreadsheetId: z.ZodString;
20
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
21
+ properties: z.ZodOptional<z.ZodObject<{
22
+ title: z.ZodOptional<z.ZodString>;
23
+ locale: z.ZodOptional<z.ZodString>;
24
+ timeZone: z.ZodOptional<z.ZodString>;
25
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
26
+ ON_CHANGE: "ON_CHANGE";
27
+ MINUTE: "MINUTE";
28
+ HOUR: "HOUR";
29
+ }>>;
30
+ }, z.core.$strip>>;
31
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
+ sheetId: z.ZodNumber;
33
+ title: z.ZodOptional<z.ZodString>;
34
+ index: z.ZodOptional<z.ZodNumber>;
35
+ sheetType: z.ZodOptional<z.ZodEnum<{
36
+ GRID: "GRID";
37
+ OBJECT: "OBJECT";
38
+ DATA_SOURCE: "DATA_SOURCE";
39
+ }>>;
40
+ gridProperties: z.ZodOptional<z.ZodObject<{
41
+ rowCount: z.ZodOptional<z.ZodNumber>;
42
+ columnCount: z.ZodOptional<z.ZodNumber>;
43
+ frozenRowCount: z.ZodOptional<z.ZodNumber>;
44
+ frozenColumnCount: z.ZodOptional<z.ZodNumber>;
45
+ }, z.core.$strip>>;
46
+ hidden: z.ZodOptional<z.ZodBoolean>;
47
+ }, z.core.$strip>>>;
48
+ }, z.core.$strip>;
49
+ };
50
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ import { Spreadsheet } from '../../entities/Spreadsheet.js';
3
+ /**
4
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create
5
+ *
6
+ * The REST body is a full Spreadsheet resource; this input is the curated
7
+ * subset that makes sense at creation time (the rest of the resource is
8
+ * formatting and grid data, deferred with issues #27 and #28).
9
+ */
10
+ export const schema = {
11
+ input: z.object({
12
+ title: z.string().describe('The title of the spreadsheet.'),
13
+ locale: z
14
+ .string()
15
+ .optional()
16
+ .describe('The locale of the spreadsheet: an ISO 639-1 code such as en, an ISO 639-2 code such as fil, or a language+country combination such as en_US.'),
17
+ timeZone: z
18
+ .string()
19
+ .optional()
20
+ .describe('The time zone of the spreadsheet, in CLDR format such as America/New_York.'),
21
+ sheets: z
22
+ .array(z.object({ title: z.string().describe('The name of the sheet.') }))
23
+ .optional()
24
+ .describe('The sheets (tabs) to create the spreadsheet with, by title. Omitted, the spreadsheet gets one default sheet.'),
25
+ }),
26
+ output: Spreadsheet,
27
+ };
28
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/create_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC3D,MAAM,EAAE,CAAC;aACN,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,8IAA8I,CAC/I;QACH,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,4EAA4E,CAAC;QACzF,MAAM,EAAE,CAAC;aACN,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC,EAAE,CAAC,CAAC;aACzE,QAAQ,EAAE;aACV,QAAQ,CACP,8GAA8G,CAC/G;KACJ,CAAC;IACF,MAAM,EAAE,WAAW;CACpB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Spreadsheet } from '../../entities/Spreadsheet.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/create\n *\n * The REST body is a full Spreadsheet resource; this input is the curated\n * subset that makes sense at creation time (the rest of the resource is\n * formatting and grid data, deferred with issues #27 and #28).\n */\nexport const schema = {\n input: z.object({\n title: z.string().describe('The title of the spreadsheet.'),\n locale: z\n .string()\n .optional()\n .describe(\n 'The locale of the spreadsheet: an ISO 639-1 code such as en, an ISO 639-2 code such as fil, or a language+country combination such as en_US.',\n ),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the spreadsheet, in CLDR format such as America/New_York.'),\n sheets: z\n .array(z.object({ title: z.string().describe('The name of the sheet.') }))\n .optional()\n .describe(\n 'The sheets (tabs) to create the spreadsheet with, by title. Omitted, the spreadsheet gets one default sheet.',\n ),\n }),\n output: Spreadsheet,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { sheets_v4 } from '@googleapis/sheets';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(sheets: sheets_v4.Sheets, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAMxC"}
@@ -0,0 +1,9 @@
1
+ import { projectDeveloperMetadata } from '../../lib/metadata.js';
2
+ export async function handler(sheets, args) {
3
+ const { data } = await sheets.spreadsheets.developerMetadata.get({
4
+ spreadsheetId: args.spreadsheetId,
5
+ metadataId: args.metadataId,
6
+ });
7
+ return projectDeveloperMetadata(data);
8
+ }
9
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,CAAC,GAAG,CAAC;QAC/D,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;KAC5B,CAAC,CAAC;IACH,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { projectDeveloperMetadata } from '../../lib/metadata.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.developerMetadata.get({\n spreadsheetId: args.spreadsheetId,\n metadataId: args.metadataId,\n });\n return projectDeveloperMetadata(data);\n}\n"]}
@@ -0,0 +1,33 @@
1
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
2
+ export declare const get_developer_metadata: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
3
+ spreadsheetId: import("zod").ZodString;
4
+ metadataId: import("zod").ZodNumber;
5
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6
+ metadataId: import("zod").ZodNumber;
7
+ metadataKey: import("zod").ZodOptional<import("zod").ZodString>;
8
+ metadataValue: import("zod").ZodOptional<import("zod").ZodString>;
9
+ location: import("zod").ZodOptional<import("zod").ZodObject<{
10
+ locationType: import("zod").ZodOptional<import("zod").ZodEnum<{
11
+ ROW: "ROW";
12
+ COLUMN: "COLUMN";
13
+ SHEET: "SHEET";
14
+ SPREADSHEET: "SPREADSHEET";
15
+ }>>;
16
+ spreadsheet: import("zod").ZodOptional<import("zod").ZodBoolean>;
17
+ sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
18
+ dimensionRange: import("zod").ZodOptional<import("zod").ZodObject<{
19
+ sheetId: import("zod").ZodOptional<import("zod").ZodNumber>;
20
+ dimension: import("zod").ZodOptional<import("zod").ZodEnum<{
21
+ ROWS: "ROWS";
22
+ COLUMNS: "COLUMNS";
23
+ }>>;
24
+ startIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
25
+ endIndex: import("zod").ZodOptional<import("zod").ZodNumber>;
26
+ }, import("zod/v4/core").$strip>>;
27
+ }, import("zod/v4/core").$strip>>;
28
+ visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
29
+ DOCUMENT: "DOCUMENT";
30
+ PROJECT: "PROJECT";
31
+ }>>;
32
+ }, import("zod/v4/core").$strip>>;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/index.ts"],"names":[],"mappings":"AAIA,sHAAsH;AACtH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAIjC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { sheetsOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
5
+ export const get_developer_metadata = sheetsOperation({
6
+ description: 'Get one developer metadata entry by its spreadsheet-scoped id.',
7
+ schema,
8
+ handler,
9
+ });
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,sHAAsH;AACtH,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC;IACpD,WAAW,EAAE,gEAAgE;IAC7E,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */\nexport const get_developer_metadata = sheetsOperation({\n description: 'Get one developer metadata entry by its spreadsheet-scoped id.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ spreadsheetId: z.ZodString;
6
+ metadataId: z.ZodNumber;
7
+ }, z.core.$strip>;
8
+ output: z.ZodObject<{
9
+ metadataId: z.ZodNumber;
10
+ metadataKey: z.ZodOptional<z.ZodString>;
11
+ metadataValue: z.ZodOptional<z.ZodString>;
12
+ location: z.ZodOptional<z.ZodObject<{
13
+ locationType: z.ZodOptional<z.ZodEnum<{
14
+ ROW: "ROW";
15
+ COLUMN: "COLUMN";
16
+ SHEET: "SHEET";
17
+ SPREADSHEET: "SPREADSHEET";
18
+ }>>;
19
+ spreadsheet: z.ZodOptional<z.ZodBoolean>;
20
+ sheetId: z.ZodOptional<z.ZodNumber>;
21
+ dimensionRange: z.ZodOptional<z.ZodObject<{
22
+ sheetId: z.ZodOptional<z.ZodNumber>;
23
+ dimension: z.ZodOptional<z.ZodEnum<{
24
+ ROWS: "ROWS";
25
+ COLUMNS: "COLUMNS";
26
+ }>>;
27
+ startIndex: z.ZodOptional<z.ZodNumber>;
28
+ endIndex: z.ZodOptional<z.ZodNumber>;
29
+ }, z.core.$strip>>;
30
+ }, z.core.$strip>>;
31
+ visibility: z.ZodOptional<z.ZodEnum<{
32
+ DOCUMENT: "DOCUMENT";
33
+ PROJECT: "PROJECT";
34
+ }>>;
35
+ }, z.core.$strip>;
36
+ };
37
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,sHAAsH;AACtH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { DeveloperMetadata } from '../../entities/DeveloperMetadata.js';
3
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */
4
+ export const schema = {
5
+ input: z.object({
6
+ spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve metadata from.'),
7
+ metadataId: z.number().int().describe('The ID of the developer metadata to retrieve.'),
8
+ }),
9
+ output: DeveloperMetadata,
10
+ };
11
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_developer_metadata/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,sHAAsH;AACtH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC;QAC1F,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;KACvF,CAAC;IACF,MAAM,EAAE,iBAAiB;CAC1B,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DeveloperMetadata } from '../../entities/DeveloperMetadata.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.developerMetadata/get */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The ID of the spreadsheet to retrieve metadata from.'),\n metadataId: z.number().int().describe('The ID of the developer metadata to retrieve.'),\n }),\n output: DeveloperMetadata,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { sheets_v4 } from '@googleapis/sheets';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(sheets: sheets_v4.Sheets, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAGxC"}
@@ -0,0 +1,6 @@
1
+ import { projectSpreadsheet } from '../../lib/spreadsheet.js';
2
+ export async function handler(sheets, args) {
3
+ const { data } = await sheets.spreadsheets.get({ spreadsheetId: args.spreadsheetId });
4
+ return projectSpreadsheet(data);
5
+ }
6
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,aAAa,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;IACtF,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { projectSpreadsheet } from '../../lib/spreadsheet.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.get({ spreadsheetId: args.spreadsheetId });\n return projectSpreadsheet(data);\n}\n"]}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get
3
+ *
4
+ * Metadata only by design: the projection carries identity, spreadsheet
5
+ * properties, and per-sheet properties; grid data (per-cell formatting,
6
+ * validation, notes) is not exposed (issue #28). Cell contents are read with
7
+ * the values operations.
8
+ */
9
+ export declare const get_spreadsheet: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
10
+ spreadsheetId: import("zod").ZodString;
11
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
12
+ spreadsheetId: import("zod").ZodString;
13
+ spreadsheetUrl: import("zod").ZodOptional<import("zod").ZodString>;
14
+ properties: import("zod").ZodOptional<import("zod").ZodObject<{
15
+ title: import("zod").ZodOptional<import("zod").ZodString>;
16
+ locale: import("zod").ZodOptional<import("zod").ZodString>;
17
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
18
+ autoRecalc: import("zod").ZodOptional<import("zod").ZodEnum<{
19
+ ON_CHANGE: "ON_CHANGE";
20
+ MINUTE: "MINUTE";
21
+ HOUR: "HOUR";
22
+ }>>;
23
+ }, import("zod/v4/core").$strip>>;
24
+ sheets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
25
+ sheetId: import("zod").ZodNumber;
26
+ title: import("zod").ZodOptional<import("zod").ZodString>;
27
+ index: import("zod").ZodOptional<import("zod").ZodNumber>;
28
+ sheetType: import("zod").ZodOptional<import("zod").ZodEnum<{
29
+ GRID: "GRID";
30
+ OBJECT: "OBJECT";
31
+ DATA_SOURCE: "DATA_SOURCE";
32
+ }>>;
33
+ gridProperties: import("zod").ZodOptional<import("zod").ZodObject<{
34
+ rowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
35
+ columnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
36
+ frozenRowCount: import("zod").ZodOptional<import("zod").ZodNumber>;
37
+ frozenColumnCount: import("zod").ZodOptional<import("zod").ZodNumber>;
38
+ }, import("zod/v4/core").$strip>>;
39
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
40
+ }, import("zod/v4/core").$strip>>>;
41
+ }, import("zod/v4/core").$strip>>;
42
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAK1B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { sheetsOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /**
5
+ * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get
6
+ *
7
+ * Metadata only by design: the projection carries identity, spreadsheet
8
+ * properties, and per-sheet properties; grid data (per-cell formatting,
9
+ * validation, notes) is not exposed (issue #28). Cell contents are read with
10
+ * the values operations.
11
+ */
12
+ export const get_spreadsheet = sheetsOperation({
13
+ description: 'Get a spreadsheet by id: its properties (title, locale, time zone) and the properties of every sheet (tab). Cell data is read with the values operations.',
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,WAAW,EACT,2JAA2J;IAC7J,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get\n *\n * Metadata only by design: the projection carries identity, spreadsheet\n * properties, and per-sheet properties; grid data (per-cell formatting,\n * validation, notes) is not exposed (issue #28). Cell contents are read with\n * the values operations.\n */\nexport const get_spreadsheet = sheetsOperation({\n description:\n 'Get a spreadsheet by id: its properties (title, locale, time zone) and the properties of every sheet (tab). Cell data is read with the values operations.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ spreadsheetId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ output: z.ZodObject<{
8
+ spreadsheetId: z.ZodString;
9
+ spreadsheetUrl: z.ZodOptional<z.ZodString>;
10
+ properties: z.ZodOptional<z.ZodObject<{
11
+ title: z.ZodOptional<z.ZodString>;
12
+ locale: z.ZodOptional<z.ZodString>;
13
+ timeZone: z.ZodOptional<z.ZodString>;
14
+ autoRecalc: z.ZodOptional<z.ZodEnum<{
15
+ ON_CHANGE: "ON_CHANGE";
16
+ MINUTE: "MINUTE";
17
+ HOUR: "HOUR";
18
+ }>>;
19
+ }, z.core.$strip>>;
20
+ sheets: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ sheetId: z.ZodNumber;
22
+ title: z.ZodOptional<z.ZodString>;
23
+ index: z.ZodOptional<z.ZodNumber>;
24
+ sheetType: z.ZodOptional<z.ZodEnum<{
25
+ GRID: "GRID";
26
+ OBJECT: "OBJECT";
27
+ DATA_SOURCE: "DATA_SOURCE";
28
+ }>>;
29
+ gridProperties: z.ZodOptional<z.ZodObject<{
30
+ rowCount: z.ZodOptional<z.ZodNumber>;
31
+ columnCount: z.ZodOptional<z.ZodNumber>;
32
+ frozenRowCount: z.ZodOptional<z.ZodNumber>;
33
+ frozenColumnCount: z.ZodOptional<z.ZodNumber>;
34
+ }, z.core.$strip>>;
35
+ hidden: z.ZodOptional<z.ZodBoolean>;
36
+ }, z.core.$strip>>>;
37
+ }, z.core.$strip>;
38
+ };
39
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,oGAAoG;AACpG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ import { Spreadsheet } from '../../entities/Spreadsheet.js';
3
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get */
4
+ export const schema = {
5
+ input: z.object({
6
+ spreadsheetId: z.string().describe('The spreadsheet to retrieve.'),
7
+ }),
8
+ output: Spreadsheet,
9
+ };
10
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_spreadsheet/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,oGAAoG;AACpG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;KACnE,CAAC;IACF,MAAM,EAAE,WAAW;CACpB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Spreadsheet } from '../../entities/Spreadsheet.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/get */\nexport const schema = {\n input: z.object({\n spreadsheetId: z.string().describe('The spreadsheet to retrieve.'),\n }),\n output: Spreadsheet,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { sheets_v4 } from '@googleapis/sheets';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(sheets: sheets_v4.Sheets, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_values/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,MAAM,EAAE,SAAS,CAAC,MAAM,EACxB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAWxC"}
@@ -0,0 +1,13 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { projectValueRange } from '../../lib/values.js';
3
+ export async function handler(sheets, args) {
4
+ const { data } = await sheets.spreadsheets.values.get(forGoogle({
5
+ spreadsheetId: args.spreadsheetId,
6
+ range: args.range,
7
+ majorDimension: args.majorDimension,
8
+ valueRenderOption: args.valueRenderOption,
9
+ dateTimeRenderOption: args.dateTimeRenderOption,
10
+ }));
11
+ return projectValueRange(data);
12
+ }
13
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_values/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,MAAwB,EACxB,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,CAAC,YAAY,CAAC,MAAM,CAAC,GAAG,CACnD,SAAS,CAAC;QACR,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;QACzC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;KAChD,CAAC,CACH,CAAC;IACF,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;AACjC,CAAC","sourcesContent":["import type { sheets_v4 } from '@googleapis/sheets';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectValueRange } from '../../lib/values.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n sheets: sheets_v4.Sheets,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await sheets.spreadsheets.values.get(\n forGoogle({\n spreadsheetId: args.spreadsheetId,\n range: args.range,\n majorDimension: args.majorDimension,\n valueRenderOption: args.valueRenderOption,\n dateTimeRenderOption: args.dateTimeRenderOption,\n }),\n );\n return projectValueRange(data);\n}\n"]}
@@ -0,0 +1,26 @@
1
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get */
2
+ export declare const get_values: import("../../../lib/operation.js").Operation<import("@googleapis/sheets").sheets_v4.Sheets, import("zod").ZodObject<{
3
+ spreadsheetId: import("zod").ZodString;
4
+ range: import("zod").ZodString;
5
+ majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
6
+ ROWS: "ROWS";
7
+ COLUMNS: "COLUMNS";
8
+ }>>;
9
+ valueRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
10
+ FORMATTED_VALUE: "FORMATTED_VALUE";
11
+ UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
12
+ FORMULA: "FORMULA";
13
+ }>>;
14
+ dateTimeRenderOption: import("zod").ZodOptional<import("zod").ZodEnum<{
15
+ SERIAL_NUMBER: "SERIAL_NUMBER";
16
+ FORMATTED_STRING: "FORMATTED_STRING";
17
+ }>>;
18
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
19
+ range: import("zod").ZodOptional<import("zod").ZodString>;
20
+ majorDimension: import("zod").ZodOptional<import("zod").ZodEnum<{
21
+ ROWS: "ROWS";
22
+ COLUMNS: "COLUMNS";
23
+ }>>;
24
+ values: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>>>>;
25
+ }, import("zod/v4/core").$strip>>;
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sheets/methods/get_values/index.ts"],"names":[],"mappings":"AAIA,2GAA2G;AAC3G,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;iCAIrB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { sheetsOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get */
5
+ export const get_values = sheetsOperation({
6
+ description: 'Read a range of values from a spreadsheet as a 2D array, addressed in A1 notation.',
7
+ schema,
8
+ handler,
9
+ });
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sheets/methods/get_values/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,2GAA2G;AAC3G,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,WAAW,EAAE,oFAAoF;IACjG,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { sheetsOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get */\nexport const get_values = sheetsOperation({\n description: 'Read a range of values from a spreadsheet as a 2D array, addressed in A1 notation.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets.values/get */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ spreadsheetId: z.ZodString;
6
+ range: z.ZodString;
7
+ majorDimension: z.ZodOptional<z.ZodEnum<{
8
+ ROWS: "ROWS";
9
+ COLUMNS: "COLUMNS";
10
+ }>>;
11
+ valueRenderOption: z.ZodOptional<z.ZodEnum<{
12
+ FORMATTED_VALUE: "FORMATTED_VALUE";
13
+ UNFORMATTED_VALUE: "UNFORMATTED_VALUE";
14
+ FORMULA: "FORMULA";
15
+ }>>;
16
+ dateTimeRenderOption: z.ZodOptional<z.ZodEnum<{
17
+ SERIAL_NUMBER: "SERIAL_NUMBER";
18
+ FORMATTED_STRING: "FORMATTED_STRING";
19
+ }>>;
20
+ }, z.core.$strip>;
21
+ output: z.ZodObject<{
22
+ range: z.ZodOptional<z.ZodString>;
23
+ majorDimension: z.ZodOptional<z.ZodEnum<{
24
+ ROWS: "ROWS";
25
+ COLUMNS: "COLUMNS";
26
+ }>>;
27
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
28
+ }, z.core.$strip>;
29
+ };
30
+ //# sourceMappingURL=schema.d.ts.map