google-mcp-suite 1.13.0 → 1.15.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 (485) hide show
  1. package/ADOPTING.md +2 -2
  2. package/README.md +5 -5
  3. package/dist/sheets/entities/BandedRange.d.ts +167 -0
  4. package/dist/sheets/entities/BandedRange.d.ts.map +1 -0
  5. package/dist/sheets/entities/BandedRange.js +24 -0
  6. package/dist/sheets/entities/BandedRange.js.map +1 -0
  7. package/dist/sheets/entities/BandingProperties.d.ts +86 -0
  8. package/dist/sheets/entities/BandingProperties.d.ts.map +1 -0
  9. package/dist/sheets/entities/BandingProperties.js +18 -0
  10. package/dist/sheets/entities/BandingProperties.js.map +1 -0
  11. package/dist/sheets/entities/BasicFilter.d.ts +215 -0
  12. package/dist/sheets/entities/BasicFilter.d.ts.map +1 -0
  13. package/dist/sheets/entities/BasicFilter.js +27 -0
  14. package/dist/sheets/entities/BasicFilter.js.map +1 -0
  15. package/dist/sheets/entities/BooleanCondition.d.ts +1 -0
  16. package/dist/sheets/entities/BooleanCondition.d.ts.map +1 -1
  17. package/dist/sheets/entities/BooleanCondition.js +2 -1
  18. package/dist/sheets/entities/BooleanCondition.js.map +1 -1
  19. package/dist/sheets/entities/BooleanRule.d.ts +1 -0
  20. package/dist/sheets/entities/BooleanRule.d.ts.map +1 -1
  21. package/dist/sheets/entities/ConditionalFormatRule.d.ts +1 -0
  22. package/dist/sheets/entities/ConditionalFormatRule.d.ts.map +1 -1
  23. package/dist/sheets/entities/DataValidationRule.d.ts +1 -0
  24. package/dist/sheets/entities/DataValidationRule.d.ts.map +1 -1
  25. package/dist/sheets/entities/DelimiterType.d.ts +16 -0
  26. package/dist/sheets/entities/DelimiterType.d.ts.map +1 -0
  27. package/dist/sheets/entities/DelimiterType.js +15 -0
  28. package/dist/sheets/entities/DelimiterType.js.map +1 -0
  29. package/dist/sheets/entities/Dimension.d.ts +12 -0
  30. package/dist/sheets/entities/Dimension.d.ts.map +1 -0
  31. package/dist/sheets/entities/Dimension.js +8 -0
  32. package/dist/sheets/entities/Dimension.js.map +1 -0
  33. package/dist/sheets/entities/DimensionGroup.d.ts +22 -0
  34. package/dist/sheets/entities/DimensionGroup.d.ts.map +1 -0
  35. package/dist/sheets/entities/DimensionGroup.js +21 -0
  36. package/dist/sheets/entities/DimensionGroup.js.map +1 -0
  37. package/dist/sheets/entities/DimensionProperties.d.ts +12 -0
  38. package/dist/sheets/entities/DimensionProperties.d.ts.map +1 -0
  39. package/dist/sheets/entities/DimensionProperties.js +16 -0
  40. package/dist/sheets/entities/DimensionProperties.js.map +1 -0
  41. package/dist/sheets/entities/DimensionRange.d.ts.map +1 -1
  42. package/dist/sheets/entities/DimensionRange.js +2 -1
  43. package/dist/sheets/entities/DimensionRange.js.map +1 -1
  44. package/dist/sheets/entities/EmbeddedObjectBorder.d.ts +28 -0
  45. package/dist/sheets/entities/EmbeddedObjectBorder.d.ts.map +1 -0
  46. package/dist/sheets/entities/EmbeddedObjectBorder.js +11 -0
  47. package/dist/sheets/entities/EmbeddedObjectBorder.js.map +1 -0
  48. package/dist/sheets/entities/EmbeddedObjectPosition.d.ts +7 -4
  49. package/dist/sheets/entities/EmbeddedObjectPosition.d.ts.map +1 -1
  50. package/dist/sheets/entities/EmbeddedObjectPosition.js +10 -2
  51. package/dist/sheets/entities/EmbeddedObjectPosition.js.map +1 -1
  52. package/dist/sheets/entities/FilterCriteria.d.ts +92 -0
  53. package/dist/sheets/entities/FilterCriteria.d.ts.map +1 -0
  54. package/dist/sheets/entities/FilterCriteria.js +15 -0
  55. package/dist/sheets/entities/FilterCriteria.js.map +1 -0
  56. package/dist/sheets/entities/FilterSpec.d.ts +96 -0
  57. package/dist/sheets/entities/FilterSpec.d.ts.map +1 -0
  58. package/dist/sheets/entities/FilterSpec.js +13 -0
  59. package/dist/sheets/entities/FilterSpec.js.map +1 -0
  60. package/dist/sheets/entities/FilterView.d.ts +221 -0
  61. package/dist/sheets/entities/FilterView.d.ts.map +1 -0
  62. package/dist/sheets/entities/FilterView.js +37 -0
  63. package/dist/sheets/entities/FilterView.js.map +1 -0
  64. package/dist/sheets/entities/OverlayPosition.d.ts +2 -2
  65. package/dist/sheets/entities/OverlayPosition.js +1 -1
  66. package/dist/sheets/entities/OverlayPosition.js.map +1 -1
  67. package/dist/sheets/entities/PasteOrientation.d.ts +12 -0
  68. package/dist/sheets/entities/PasteOrientation.d.ts.map +1 -0
  69. package/dist/sheets/entities/PasteOrientation.js +8 -0
  70. package/dist/sheets/entities/PasteOrientation.js.map +1 -0
  71. package/dist/sheets/entities/PasteType.d.ts +17 -0
  72. package/dist/sheets/entities/PasteType.d.ts.map +1 -0
  73. package/dist/sheets/entities/PasteType.js +16 -0
  74. package/dist/sheets/entities/PasteType.js.map +1 -0
  75. package/dist/sheets/entities/SortOrder.d.ts +12 -0
  76. package/dist/sheets/entities/SortOrder.d.ts.map +1 -0
  77. package/dist/sheets/entities/SortOrder.js +8 -0
  78. package/dist/sheets/entities/SortOrder.js.map +1 -0
  79. package/dist/sheets/entities/SortSpec.d.ts +27 -0
  80. package/dist/sheets/entities/SortSpec.d.ts.map +1 -0
  81. package/dist/sheets/entities/SortSpec.js +35 -0
  82. package/dist/sheets/entities/SortSpec.js.map +1 -0
  83. package/dist/sheets/entities/SourceAndDestination.d.ts +22 -0
  84. package/dist/sheets/entities/SourceAndDestination.d.ts.map +1 -0
  85. package/dist/sheets/entities/SourceAndDestination.js +17 -0
  86. package/dist/sheets/entities/SourceAndDestination.js.map +1 -0
  87. package/dist/sheets/entities/Spreadsheet.d.ts +392 -3
  88. package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -1
  89. package/dist/sheets/entities/Spreadsheet.js +29 -6
  90. package/dist/sheets/entities/Spreadsheet.js.map +1 -1
  91. package/dist/sheets/instructions.d.ts.map +1 -1
  92. package/dist/sheets/instructions.js +23 -10
  93. package/dist/sheets/instructions.js.map +1 -1
  94. package/dist/sheets/lib/charts.d.ts +5 -0
  95. package/dist/sheets/lib/charts.d.ts.map +1 -1
  96. package/dist/sheets/lib/charts.js +34 -1
  97. package/dist/sheets/lib/charts.js.map +1 -1
  98. package/dist/sheets/lib/filtering.d.ts +33 -0
  99. package/dist/sheets/lib/filtering.d.ts.map +1 -0
  100. package/dist/sheets/lib/filtering.js +150 -0
  101. package/dist/sheets/lib/filtering.js.map +1 -0
  102. package/dist/sheets/lib/formats.d.ts +3 -1
  103. package/dist/sheets/lib/formats.d.ts.map +1 -1
  104. package/dist/sheets/lib/formats.js +15 -0
  105. package/dist/sheets/lib/formats.js.map +1 -1
  106. package/dist/sheets/lib/layout.d.ts +23 -0
  107. package/dist/sheets/lib/layout.d.ts.map +1 -0
  108. package/dist/sheets/lib/layout.js +108 -0
  109. package/dist/sheets/lib/layout.js.map +1 -0
  110. package/dist/sheets/lib/spreadsheet.d.ts +3 -3
  111. package/dist/sheets/lib/spreadsheet.d.ts.map +1 -1
  112. package/dist/sheets/lib/spreadsheet.js +21 -17
  113. package/dist/sheets/lib/spreadsheet.js.map +1 -1
  114. package/dist/sheets/methods/add_banding/handler.d.ts +5 -0
  115. package/dist/sheets/methods/add_banding/handler.d.ts.map +1 -0
  116. package/dist/sheets/methods/add_banding/handler.js +31 -0
  117. package/dist/sheets/methods/add_banding/handler.js.map +1 -0
  118. package/dist/sheets/methods/add_banding/index.d.ts +318 -0
  119. package/dist/sheets/methods/add_banding/index.d.ts.map +1 -0
  120. package/dist/sheets/methods/add_banding/index.js +16 -0
  121. package/dist/sheets/methods/add_banding/index.js.map +1 -0
  122. package/dist/sheets/methods/add_banding/schema.d.ts +322 -0
  123. package/dist/sheets/methods/add_banding/schema.d.ts.map +1 -0
  124. package/dist/sheets/methods/add_banding/schema.js +24 -0
  125. package/dist/sheets/methods/add_banding/schema.js.map +1 -0
  126. package/dist/sheets/methods/add_chart/handler.d.ts.map +1 -1
  127. package/dist/sheets/methods/add_chart/handler.js +11 -2
  128. package/dist/sheets/methods/add_chart/handler.js.map +1 -1
  129. package/dist/sheets/methods/add_chart/index.d.ts +3 -2
  130. package/dist/sheets/methods/add_chart/index.d.ts.map +1 -1
  131. package/dist/sheets/methods/add_chart/schema.d.ts +3 -2
  132. package/dist/sheets/methods/add_chart/schema.d.ts.map +1 -1
  133. package/dist/sheets/methods/add_chart/schema.js +1 -1
  134. package/dist/sheets/methods/add_chart/schema.js.map +1 -1
  135. package/dist/sheets/methods/add_conditional_format_rule/index.d.ts +1 -0
  136. package/dist/sheets/methods/add_conditional_format_rule/index.d.ts.map +1 -1
  137. package/dist/sheets/methods/add_conditional_format_rule/schema.d.ts +1 -0
  138. package/dist/sheets/methods/add_conditional_format_rule/schema.d.ts.map +1 -1
  139. package/dist/sheets/methods/add_dimension_group/handler.d.ts +5 -0
  140. package/dist/sheets/methods/add_dimension_group/handler.d.ts.map +1 -0
  141. package/dist/sheets/methods/add_dimension_group/handler.js +16 -0
  142. package/dist/sheets/methods/add_dimension_group/handler.js.map +1 -0
  143. package/dist/sheets/methods/add_dimension_group/index.d.ts +28 -0
  144. package/dist/sheets/methods/add_dimension_group/index.d.ts.map +1 -0
  145. package/dist/sheets/methods/add_dimension_group/index.js +17 -0
  146. package/dist/sheets/methods/add_dimension_group/index.js.map +1 -0
  147. package/dist/sheets/methods/add_dimension_group/schema.d.ts +31 -0
  148. package/dist/sheets/methods/add_dimension_group/schema.d.ts.map +1 -0
  149. package/dist/sheets/methods/add_dimension_group/schema.js +20 -0
  150. package/dist/sheets/methods/add_dimension_group/schema.js.map +1 -0
  151. package/dist/sheets/methods/add_filter_view/handler.d.ts +5 -0
  152. package/dist/sheets/methods/add_filter_view/handler.d.ts.map +1 -0
  153. package/dist/sheets/methods/add_filter_view/handler.js +21 -0
  154. package/dist/sheets/methods/add_filter_view/handler.js.map +1 -0
  155. package/dist/sheets/methods/add_filter_view/index.d.ts +212 -0
  156. package/dist/sheets/methods/add_filter_view/index.d.ts.map +1 -0
  157. package/dist/sheets/methods/add_filter_view/index.js +16 -0
  158. package/dist/sheets/methods/add_filter_view/index.js.map +1 -0
  159. package/dist/sheets/methods/add_filter_view/schema.d.ts +216 -0
  160. package/dist/sheets/methods/add_filter_view/schema.d.ts.map +1 -0
  161. package/dist/sheets/methods/add_filter_view/schema.js +10 -0
  162. package/dist/sheets/methods/add_filter_view/schema.js.map +1 -0
  163. package/dist/sheets/methods/append_dimension/handler.d.ts +5 -0
  164. package/dist/sheets/methods/append_dimension/handler.d.ts.map +1 -0
  165. package/dist/sheets/methods/append_dimension/handler.js +12 -0
  166. package/dist/sheets/methods/append_dimension/handler.js.map +1 -0
  167. package/dist/sheets/methods/append_dimension/index.d.ts +12 -0
  168. package/dist/sheets/methods/append_dimension/index.d.ts.map +1 -0
  169. package/dist/sheets/methods/append_dimension/index.js +16 -0
  170. package/dist/sheets/methods/append_dimension/index.js.map +1 -0
  171. package/dist/sheets/methods/append_dimension/schema.d.ts +16 -0
  172. package/dist/sheets/methods/append_dimension/schema.d.ts.map +1 -0
  173. package/dist/sheets/methods/append_dimension/schema.js +14 -0
  174. package/dist/sheets/methods/append_dimension/schema.js.map +1 -0
  175. package/dist/sheets/methods/auto_fill/handler.d.ts +5 -0
  176. package/dist/sheets/methods/auto_fill/handler.d.ts.map +1 -0
  177. package/dist/sheets/methods/auto_fill/handler.js +22 -0
  178. package/dist/sheets/methods/auto_fill/handler.js.map +1 -0
  179. package/dist/sheets/methods/auto_fill/index.d.ts +28 -0
  180. package/dist/sheets/methods/auto_fill/index.d.ts.map +1 -0
  181. package/dist/sheets/methods/auto_fill/index.js +16 -0
  182. package/dist/sheets/methods/auto_fill/index.js.map +1 -0
  183. package/dist/sheets/methods/auto_fill/schema.d.ts +32 -0
  184. package/dist/sheets/methods/auto_fill/schema.d.ts.map +1 -0
  185. package/dist/sheets/methods/auto_fill/schema.js +18 -0
  186. package/dist/sheets/methods/auto_fill/schema.js.map +1 -0
  187. package/dist/sheets/methods/clear_basic_filter/handler.d.ts +5 -0
  188. package/dist/sheets/methods/clear_basic_filter/handler.d.ts.map +1 -0
  189. package/dist/sheets/methods/clear_basic_filter/handler.js +8 -0
  190. package/dist/sheets/methods/clear_basic_filter/handler.js.map +1 -0
  191. package/dist/sheets/methods/clear_basic_filter/index.d.ts +7 -0
  192. package/dist/sheets/methods/clear_basic_filter/index.d.ts.map +1 -0
  193. package/dist/sheets/methods/clear_basic_filter/index.js +16 -0
  194. package/dist/sheets/methods/clear_basic_filter/index.js.map +1 -0
  195. package/dist/sheets/methods/clear_basic_filter/schema.d.ts +11 -0
  196. package/dist/sheets/methods/clear_basic_filter/schema.d.ts.map +1 -0
  197. package/dist/sheets/methods/clear_basic_filter/schema.js +11 -0
  198. package/dist/sheets/methods/clear_basic_filter/schema.js.map +1 -0
  199. package/dist/sheets/methods/copy_paste/handler.d.ts +5 -0
  200. package/dist/sheets/methods/copy_paste/handler.d.ts.map +1 -0
  201. package/dist/sheets/methods/copy_paste/handler.js +14 -0
  202. package/dist/sheets/methods/copy_paste/handler.js.map +1 -0
  203. package/dist/sheets/methods/copy_paste/index.d.ts +33 -0
  204. package/dist/sheets/methods/copy_paste/index.d.ts.map +1 -0
  205. package/dist/sheets/methods/copy_paste/index.js +16 -0
  206. package/dist/sheets/methods/copy_paste/index.js.map +1 -0
  207. package/dist/sheets/methods/copy_paste/schema.d.ts +37 -0
  208. package/dist/sheets/methods/copy_paste/schema.d.ts.map +1 -0
  209. package/dist/sheets/methods/copy_paste/schema.js +17 -0
  210. package/dist/sheets/methods/copy_paste/schema.js.map +1 -0
  211. package/dist/sheets/methods/create_spreadsheet/index.d.ts +388 -0
  212. package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -1
  213. package/dist/sheets/methods/create_spreadsheet/schema.d.ts +388 -0
  214. package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -1
  215. package/dist/sheets/methods/cut_paste/handler.d.ts +5 -0
  216. package/dist/sheets/methods/cut_paste/handler.d.ts.map +1 -0
  217. package/dist/sheets/methods/cut_paste/handler.js +13 -0
  218. package/dist/sheets/methods/cut_paste/handler.js.map +1 -0
  219. package/dist/sheets/methods/cut_paste/index.d.ts +27 -0
  220. package/dist/sheets/methods/cut_paste/index.d.ts.map +1 -0
  221. package/dist/sheets/methods/cut_paste/index.js +16 -0
  222. package/dist/sheets/methods/cut_paste/index.js.map +1 -0
  223. package/dist/sheets/methods/cut_paste/schema.d.ts +31 -0
  224. package/dist/sheets/methods/cut_paste/schema.d.ts.map +1 -0
  225. package/dist/sheets/methods/cut_paste/schema.js +16 -0
  226. package/dist/sheets/methods/cut_paste/schema.js.map +1 -0
  227. package/dist/sheets/methods/delete_banding/handler.d.ts +5 -0
  228. package/dist/sheets/methods/delete_banding/handler.d.ts.map +1 -0
  229. package/dist/sheets/methods/delete_banding/handler.js +8 -0
  230. package/dist/sheets/methods/delete_banding/handler.js.map +1 -0
  231. package/dist/sheets/methods/delete_banding/index.d.ts +8 -0
  232. package/dist/sheets/methods/delete_banding/index.d.ts.map +1 -0
  233. package/dist/sheets/methods/delete_banding/index.js +16 -0
  234. package/dist/sheets/methods/delete_banding/index.js.map +1 -0
  235. package/dist/sheets/methods/delete_banding/schema.d.ts +12 -0
  236. package/dist/sheets/methods/delete_banding/schema.d.ts.map +1 -0
  237. package/dist/sheets/methods/delete_banding/schema.js +12 -0
  238. package/dist/sheets/methods/delete_banding/schema.js.map +1 -0
  239. package/dist/sheets/methods/delete_dimension_group/handler.d.ts +5 -0
  240. package/dist/sheets/methods/delete_dimension_group/handler.d.ts.map +1 -0
  241. package/dist/sheets/methods/delete_dimension_group/handler.js +16 -0
  242. package/dist/sheets/methods/delete_dimension_group/handler.js.map +1 -0
  243. package/dist/sheets/methods/delete_dimension_group/index.d.ts +28 -0
  244. package/dist/sheets/methods/delete_dimension_group/index.d.ts.map +1 -0
  245. package/dist/sheets/methods/delete_dimension_group/index.js +17 -0
  246. package/dist/sheets/methods/delete_dimension_group/index.js.map +1 -0
  247. package/dist/sheets/methods/delete_dimension_group/schema.d.ts +31 -0
  248. package/dist/sheets/methods/delete_dimension_group/schema.d.ts.map +1 -0
  249. package/dist/sheets/methods/delete_dimension_group/schema.js +20 -0
  250. package/dist/sheets/methods/delete_dimension_group/schema.js.map +1 -0
  251. package/dist/sheets/methods/delete_duplicates/handler.d.ts +5 -0
  252. package/dist/sheets/methods/delete_duplicates/handler.d.ts.map +1 -0
  253. package/dist/sheets/methods/delete_duplicates/handler.js +20 -0
  254. package/dist/sheets/methods/delete_duplicates/handler.js.map +1 -0
  255. package/dist/sheets/methods/delete_duplicates/index.d.ts +23 -0
  256. package/dist/sheets/methods/delete_duplicates/index.d.ts.map +1 -0
  257. package/dist/sheets/methods/delete_duplicates/index.js +16 -0
  258. package/dist/sheets/methods/delete_duplicates/index.js.map +1 -0
  259. package/dist/sheets/methods/delete_duplicates/schema.d.ts +27 -0
  260. package/dist/sheets/methods/delete_duplicates/schema.d.ts.map +1 -0
  261. package/dist/sheets/methods/delete_duplicates/schema.js +18 -0
  262. package/dist/sheets/methods/delete_duplicates/schema.js.map +1 -0
  263. package/dist/sheets/methods/delete_filter_view/handler.d.ts +5 -0
  264. package/dist/sheets/methods/delete_filter_view/handler.d.ts.map +1 -0
  265. package/dist/sheets/methods/delete_filter_view/handler.js +8 -0
  266. package/dist/sheets/methods/delete_filter_view/handler.js.map +1 -0
  267. package/dist/sheets/methods/delete_filter_view/index.d.ts +7 -0
  268. package/dist/sheets/methods/delete_filter_view/index.d.ts.map +1 -0
  269. package/dist/sheets/methods/delete_filter_view/index.js +16 -0
  270. package/dist/sheets/methods/delete_filter_view/index.js.map +1 -0
  271. package/dist/sheets/methods/delete_filter_view/schema.d.ts +11 -0
  272. package/dist/sheets/methods/delete_filter_view/schema.d.ts.map +1 -0
  273. package/dist/sheets/methods/delete_filter_view/schema.js +15 -0
  274. package/dist/sheets/methods/delete_filter_view/schema.js.map +1 -0
  275. package/dist/sheets/methods/delete_range/handler.d.ts +5 -0
  276. package/dist/sheets/methods/delete_range/handler.d.ts.map +1 -0
  277. package/dist/sheets/methods/delete_range/handler.js +9 -0
  278. package/dist/sheets/methods/delete_range/handler.js.map +1 -0
  279. package/dist/sheets/methods/delete_range/index.d.ts +18 -0
  280. package/dist/sheets/methods/delete_range/index.d.ts.map +1 -0
  281. package/dist/sheets/methods/delete_range/index.js +17 -0
  282. package/dist/sheets/methods/delete_range/index.js.map +1 -0
  283. package/dist/sheets/methods/delete_range/schema.d.ts +21 -0
  284. package/dist/sheets/methods/delete_range/schema.d.ts.map +1 -0
  285. package/dist/sheets/methods/delete_range/schema.js +14 -0
  286. package/dist/sheets/methods/delete_range/schema.js.map +1 -0
  287. package/dist/sheets/methods/duplicate_filter_view/handler.d.ts +5 -0
  288. package/dist/sheets/methods/duplicate_filter_view/handler.d.ts.map +1 -0
  289. package/dist/sheets/methods/duplicate_filter_view/handler.js +18 -0
  290. package/dist/sheets/methods/duplicate_filter_view/handler.js.map +1 -0
  291. package/dist/sheets/methods/duplicate_filter_view/index.d.ts +107 -0
  292. package/dist/sheets/methods/duplicate_filter_view/index.d.ts.map +1 -0
  293. package/dist/sheets/methods/duplicate_filter_view/index.js +16 -0
  294. package/dist/sheets/methods/duplicate_filter_view/index.js.map +1 -0
  295. package/dist/sheets/methods/duplicate_filter_view/schema.d.ts +111 -0
  296. package/dist/sheets/methods/duplicate_filter_view/schema.d.ts.map +1 -0
  297. package/dist/sheets/methods/duplicate_filter_view/schema.js +14 -0
  298. package/dist/sheets/methods/duplicate_filter_view/schema.js.map +1 -0
  299. package/dist/sheets/methods/find_replace/handler.d.ts +5 -0
  300. package/dist/sheets/methods/find_replace/handler.d.ts.map +1 -0
  301. package/dist/sheets/methods/find_replace/handler.js +31 -0
  302. package/dist/sheets/methods/find_replace/handler.js.map +1 -0
  303. package/dist/sheets/methods/find_replace/index.d.ts +27 -0
  304. package/dist/sheets/methods/find_replace/index.d.ts.map +1 -0
  305. package/dist/sheets/methods/find_replace/index.js +17 -0
  306. package/dist/sheets/methods/find_replace/index.js.map +1 -0
  307. package/dist/sheets/methods/find_replace/schema.d.ts +30 -0
  308. package/dist/sheets/methods/find_replace/schema.d.ts.map +1 -0
  309. package/dist/sheets/methods/find_replace/schema.js +44 -0
  310. package/dist/sheets/methods/find_replace/schema.js.map +1 -0
  311. package/dist/sheets/methods/get_spreadsheet/index.d.ts +394 -4
  312. package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -1
  313. package/dist/sheets/methods/get_spreadsheet/index.js +7 -5
  314. package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -1
  315. package/dist/sheets/methods/get_spreadsheet/schema.d.ts +388 -0
  316. package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -1
  317. package/dist/sheets/methods/insert_range/handler.d.ts +5 -0
  318. package/dist/sheets/methods/insert_range/handler.d.ts.map +1 -0
  319. package/dist/sheets/methods/insert_range/handler.js +9 -0
  320. package/dist/sheets/methods/insert_range/handler.js.map +1 -0
  321. package/dist/sheets/methods/insert_range/index.d.ts +18 -0
  322. package/dist/sheets/methods/insert_range/index.d.ts.map +1 -0
  323. package/dist/sheets/methods/insert_range/index.js +17 -0
  324. package/dist/sheets/methods/insert_range/index.js.map +1 -0
  325. package/dist/sheets/methods/insert_range/schema.d.ts +21 -0
  326. package/dist/sheets/methods/insert_range/schema.d.ts.map +1 -0
  327. package/dist/sheets/methods/insert_range/schema.js +14 -0
  328. package/dist/sheets/methods/insert_range/schema.js.map +1 -0
  329. package/dist/sheets/methods/move_dimension/handler.d.ts +5 -0
  330. package/dist/sheets/methods/move_dimension/handler.d.ts.map +1 -0
  331. package/dist/sheets/methods/move_dimension/handler.js +15 -0
  332. package/dist/sheets/methods/move_dimension/handler.js.map +1 -0
  333. package/dist/sheets/methods/move_dimension/index.d.ts +17 -0
  334. package/dist/sheets/methods/move_dimension/index.d.ts.map +1 -0
  335. package/dist/sheets/methods/move_dimension/index.js +17 -0
  336. package/dist/sheets/methods/move_dimension/index.js.map +1 -0
  337. package/dist/sheets/methods/move_dimension/schema.d.ts +20 -0
  338. package/dist/sheets/methods/move_dimension/schema.d.ts.map +1 -0
  339. package/dist/sheets/methods/move_dimension/schema.js +22 -0
  340. package/dist/sheets/methods/move_dimension/schema.js.map +1 -0
  341. package/dist/sheets/methods/randomize_range/handler.d.ts +5 -0
  342. package/dist/sheets/methods/randomize_range/handler.d.ts.map +1 -0
  343. package/dist/sheets/methods/randomize_range/handler.js +9 -0
  344. package/dist/sheets/methods/randomize_range/handler.js.map +1 -0
  345. package/dist/sheets/methods/randomize_range/index.d.ts +14 -0
  346. package/dist/sheets/methods/randomize_range/index.d.ts.map +1 -0
  347. package/dist/sheets/methods/randomize_range/index.js +17 -0
  348. package/dist/sheets/methods/randomize_range/index.js.map +1 -0
  349. package/dist/sheets/methods/randomize_range/schema.d.ts +17 -0
  350. package/dist/sheets/methods/randomize_range/schema.d.ts.map +1 -0
  351. package/dist/sheets/methods/randomize_range/schema.js +12 -0
  352. package/dist/sheets/methods/randomize_range/schema.js.map +1 -0
  353. package/dist/sheets/methods/registry.d.ts +2418 -171
  354. package/dist/sheets/methods/registry.d.ts.map +1 -1
  355. package/dist/sheets/methods/registry.js +59 -1
  356. package/dist/sheets/methods/registry.js.map +1 -1
  357. package/dist/sheets/methods/set_basic_filter/handler.d.ts +5 -0
  358. package/dist/sheets/methods/set_basic_filter/handler.d.ts.map +1 -0
  359. package/dist/sheets/methods/set_basic_filter/handler.js +9 -0
  360. package/dist/sheets/methods/set_basic_filter/handler.js.map +1 -0
  361. package/dist/sheets/methods/set_basic_filter/index.d.ts +109 -0
  362. package/dist/sheets/methods/set_basic_filter/index.d.ts.map +1 -0
  363. package/dist/sheets/methods/set_basic_filter/index.js +16 -0
  364. package/dist/sheets/methods/set_basic_filter/index.js.map +1 -0
  365. package/dist/sheets/methods/set_basic_filter/schema.d.ts +113 -0
  366. package/dist/sheets/methods/set_basic_filter/schema.d.ts.map +1 -0
  367. package/dist/sheets/methods/set_basic_filter/schema.js +12 -0
  368. package/dist/sheets/methods/set_basic_filter/schema.js.map +1 -0
  369. package/dist/sheets/methods/set_data_validation/index.d.ts +1 -0
  370. package/dist/sheets/methods/set_data_validation/index.d.ts.map +1 -1
  371. package/dist/sheets/methods/set_data_validation/schema.d.ts +1 -0
  372. package/dist/sheets/methods/set_data_validation/schema.d.ts.map +1 -1
  373. package/dist/sheets/methods/sort_range/handler.d.ts +5 -0
  374. package/dist/sheets/methods/sort_range/handler.d.ts.map +1 -0
  375. package/dist/sheets/methods/sort_range/handler.js +10 -0
  376. package/dist/sheets/methods/sort_range/handler.js.map +1 -0
  377. package/dist/sheets/methods/sort_range/index.d.ts +21 -0
  378. package/dist/sheets/methods/sort_range/index.d.ts.map +1 -0
  379. package/dist/sheets/methods/sort_range/index.js +17 -0
  380. package/dist/sheets/methods/sort_range/index.js.map +1 -0
  381. package/dist/sheets/methods/sort_range/schema.d.ts +24 -0
  382. package/dist/sheets/methods/sort_range/schema.d.ts.map +1 -0
  383. package/dist/sheets/methods/sort_range/schema.js +17 -0
  384. package/dist/sheets/methods/sort_range/schema.js.map +1 -0
  385. package/dist/sheets/methods/text_to_columns/handler.d.ts +5 -0
  386. package/dist/sheets/methods/text_to_columns/handler.d.ts.map +1 -0
  387. package/dist/sheets/methods/text_to_columns/handler.js +19 -0
  388. package/dist/sheets/methods/text_to_columns/handler.js.map +1 -0
  389. package/dist/sheets/methods/text_to_columns/index.d.ts +22 -0
  390. package/dist/sheets/methods/text_to_columns/index.d.ts.map +1 -0
  391. package/dist/sheets/methods/text_to_columns/index.js +16 -0
  392. package/dist/sheets/methods/text_to_columns/index.js.map +1 -0
  393. package/dist/sheets/methods/text_to_columns/schema.d.ts +26 -0
  394. package/dist/sheets/methods/text_to_columns/schema.d.ts.map +1 -0
  395. package/dist/sheets/methods/text_to_columns/schema.js +22 -0
  396. package/dist/sheets/methods/text_to_columns/schema.js.map +1 -0
  397. package/dist/sheets/methods/trim_whitespace/handler.d.ts +5 -0
  398. package/dist/sheets/methods/trim_whitespace/handler.d.ts.map +1 -0
  399. package/dist/sheets/methods/trim_whitespace/handler.js +12 -0
  400. package/dist/sheets/methods/trim_whitespace/handler.js.map +1 -0
  401. package/dist/sheets/methods/trim_whitespace/index.d.ts +14 -0
  402. package/dist/sheets/methods/trim_whitespace/index.d.ts.map +1 -0
  403. package/dist/sheets/methods/trim_whitespace/index.js +16 -0
  404. package/dist/sheets/methods/trim_whitespace/index.js.map +1 -0
  405. package/dist/sheets/methods/trim_whitespace/schema.d.ts +18 -0
  406. package/dist/sheets/methods/trim_whitespace/schema.d.ts.map +1 -0
  407. package/dist/sheets/methods/trim_whitespace/schema.js +13 -0
  408. package/dist/sheets/methods/trim_whitespace/schema.js.map +1 -0
  409. package/dist/sheets/methods/update_banding/handler.d.ts +5 -0
  410. package/dist/sheets/methods/update_banding/handler.d.ts.map +1 -0
  411. package/dist/sheets/methods/update_banding/handler.js +17 -0
  412. package/dist/sheets/methods/update_banding/handler.js.map +1 -0
  413. package/dist/sheets/methods/update_banding/index.d.ts +165 -0
  414. package/dist/sheets/methods/update_banding/index.d.ts.map +1 -0
  415. package/dist/sheets/methods/update_banding/index.js +17 -0
  416. package/dist/sheets/methods/update_banding/index.js.map +1 -0
  417. package/dist/sheets/methods/update_banding/schema.d.ts +168 -0
  418. package/dist/sheets/methods/update_banding/schema.d.ts.map +1 -0
  419. package/dist/sheets/methods/update_banding/schema.js +18 -0
  420. package/dist/sheets/methods/update_banding/schema.js.map +1 -0
  421. package/dist/sheets/methods/update_conditional_format_rule/index.d.ts +1 -0
  422. package/dist/sheets/methods/update_conditional_format_rule/index.d.ts.map +1 -1
  423. package/dist/sheets/methods/update_conditional_format_rule/schema.d.ts +1 -0
  424. package/dist/sheets/methods/update_conditional_format_rule/schema.d.ts.map +1 -1
  425. package/dist/sheets/methods/update_dimension_group/handler.d.ts +5 -0
  426. package/dist/sheets/methods/update_dimension_group/handler.d.ts.map +1 -0
  427. package/dist/sheets/methods/update_dimension_group/handler.js +21 -0
  428. package/dist/sheets/methods/update_dimension_group/handler.js.map +1 -0
  429. package/dist/sheets/methods/update_dimension_group/index.d.ts +39 -0
  430. package/dist/sheets/methods/update_dimension_group/index.d.ts.map +1 -0
  431. package/dist/sheets/methods/update_dimension_group/index.js +22 -0
  432. package/dist/sheets/methods/update_dimension_group/index.js.map +1 -0
  433. package/dist/sheets/methods/update_dimension_group/schema.d.ts +37 -0
  434. package/dist/sheets/methods/update_dimension_group/schema.d.ts.map +1 -0
  435. package/dist/sheets/methods/update_dimension_group/schema.js +23 -0
  436. package/dist/sheets/methods/update_dimension_group/schema.js.map +1 -0
  437. package/dist/sheets/methods/update_dimension_properties/handler.d.ts +5 -0
  438. package/dist/sheets/methods/update_dimension_properties/handler.d.ts.map +1 -0
  439. package/dist/sheets/methods/update_dimension_properties/handler.js +22 -0
  440. package/dist/sheets/methods/update_dimension_properties/handler.js.map +1 -0
  441. package/dist/sheets/methods/update_dimension_properties/index.d.ts +34 -0
  442. package/dist/sheets/methods/update_dimension_properties/index.d.ts.map +1 -0
  443. package/dist/sheets/methods/update_dimension_properties/index.js +17 -0
  444. package/dist/sheets/methods/update_dimension_properties/index.js.map +1 -0
  445. package/dist/sheets/methods/update_dimension_properties/schema.d.ts +38 -0
  446. package/dist/sheets/methods/update_dimension_properties/schema.d.ts.map +1 -0
  447. package/dist/sheets/methods/update_dimension_properties/schema.js +20 -0
  448. package/dist/sheets/methods/update_dimension_properties/schema.js.map +1 -0
  449. package/dist/sheets/methods/update_embedded_object_border/handler.d.ts +5 -0
  450. package/dist/sheets/methods/update_embedded_object_border/handler.d.ts.map +1 -0
  451. package/dist/sheets/methods/update_embedded_object_border/handler.js +21 -0
  452. package/dist/sheets/methods/update_embedded_object_border/handler.js.map +1 -0
  453. package/dist/sheets/methods/update_embedded_object_border/index.d.ts +29 -0
  454. package/dist/sheets/methods/update_embedded_object_border/index.d.ts.map +1 -0
  455. package/dist/sheets/methods/update_embedded_object_border/index.js +16 -0
  456. package/dist/sheets/methods/update_embedded_object_border/index.js.map +1 -0
  457. package/dist/sheets/methods/update_embedded_object_border/schema.d.ts +33 -0
  458. package/dist/sheets/methods/update_embedded_object_border/schema.d.ts.map +1 -0
  459. package/dist/sheets/methods/update_embedded_object_border/schema.js +15 -0
  460. package/dist/sheets/methods/update_embedded_object_border/schema.js.map +1 -0
  461. package/dist/sheets/methods/update_embedded_object_position/handler.d.ts +5 -0
  462. package/dist/sheets/methods/update_embedded_object_position/handler.d.ts.map +1 -0
  463. package/dist/sheets/methods/update_embedded_object_position/handler.js +32 -0
  464. package/dist/sheets/methods/update_embedded_object_position/handler.js.map +1 -0
  465. package/dist/sheets/methods/update_embedded_object_position/index.d.ts +39 -0
  466. package/dist/sheets/methods/update_embedded_object_position/index.d.ts.map +1 -0
  467. package/dist/sheets/methods/update_embedded_object_position/index.js +21 -0
  468. package/dist/sheets/methods/update_embedded_object_position/index.js.map +1 -0
  469. package/dist/sheets/methods/update_embedded_object_position/schema.d.ts +38 -0
  470. package/dist/sheets/methods/update_embedded_object_position/schema.d.ts.map +1 -0
  471. package/dist/sheets/methods/update_embedded_object_position/schema.js +11 -0
  472. package/dist/sheets/methods/update_embedded_object_position/schema.js.map +1 -0
  473. package/dist/sheets/methods/update_filter_view/handler.d.ts +5 -0
  474. package/dist/sheets/methods/update_filter_view/handler.d.ts.map +1 -0
  475. package/dist/sheets/methods/update_filter_view/handler.js +16 -0
  476. package/dist/sheets/methods/update_filter_view/handler.js.map +1 -0
  477. package/dist/sheets/methods/update_filter_view/index.d.ts +113 -0
  478. package/dist/sheets/methods/update_filter_view/index.d.ts.map +1 -0
  479. package/dist/sheets/methods/update_filter_view/index.js +17 -0
  480. package/dist/sheets/methods/update_filter_view/index.js.map +1 -0
  481. package/dist/sheets/methods/update_filter_view/schema.d.ts +116 -0
  482. package/dist/sheets/methods/update_filter_view/schema.d.ts.map +1 -0
  483. package/dist/sheets/methods/update_filter_view/schema.js +30 -0
  484. package/dist/sheets/methods/update_filter_view/schema.js.map +1 -0
  485. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanCondition.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA0C3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"BooleanCondition.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA2C3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
@@ -41,8 +41,9 @@ export const BooleanCondition = z.strictObject({
41
41
  'NOT_BLANK',
42
42
  'CUSTOM_FORMULA',
43
43
  'BOOLEAN',
44
+ 'FILTER_EXPRESSION',
44
45
  ])
45
- .describe('The type of condition. Support varies by context: TEXT_IS_EMAIL, TEXT_IS_URL, DATE_ON_OR_BEFORE, DATE_ON_OR_AFTER, DATE_BETWEEN, DATE_NOT_BETWEEN, DATE_IS_VALID, ONE_OF_RANGE, ONE_OF_LIST, and BOOLEAN apply only to data validation; TEXT_STARTS_WITH, TEXT_ENDS_WITH, BLANK, and NOT_BLANK apply only to conditional formatting and filters.'),
46
+ .describe('The type of condition. Support varies by context: TEXT_IS_EMAIL, TEXT_IS_URL, DATE_ON_OR_BEFORE, DATE_ON_OR_AFTER, DATE_BETWEEN, DATE_NOT_BETWEEN, DATE_IS_VALID, ONE_OF_RANGE, ONE_OF_LIST, and BOOLEAN apply only to data validation; TEXT_STARTS_WITH, TEXT_ENDS_WITH, BLANK, and NOT_BLANK apply only to conditional formatting and filters; FILTER_EXPRESSION is a filter pattern and takes one value.'),
46
47
  values: z
47
48
  .array(ConditionValue)
48
49
  .optional()
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanCondition.js","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC;QACJ,gBAAgB;QAChB,wBAAwB;QACxB,aAAa;QACb,qBAAqB;QACrB,WAAW;QACX,eAAe;QACf,gBAAgB;QAChB,oBAAoB;QACpB,eAAe;QACf,mBAAmB;QACnB,kBAAkB;QAClB,gBAAgB;QAChB,SAAS;QACT,eAAe;QACf,aAAa;QACb,SAAS;QACT,aAAa;QACb,YAAY;QACZ,mBAAmB;QACnB,kBAAkB;QAClB,cAAc;QACd,kBAAkB;QAClB,eAAe;QACf,cAAc;QACd,aAAa;QACb,OAAO;QACP,WAAW;QACX,gBAAgB;QAChB,SAAS;KACV,CAAC;SACD,QAAQ,CACP,kVAAkV,CACnV;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;SACV,QAAQ,CACP,oNAAoN,CACrN;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ConditionValue } from './ConditionValue.js';\n\n/**\n * A condition that can evaluate to true or false, the shared predicate\n * vocabulary of data validation, conditional formatting, and filters. How\n * many values a type takes depends on the type: the comparisons take one,\n * the BETWEEN family exactly two, ONE_OF_LIST any number, and the\n * emptiness and validity checks none.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#BooleanCondition\n */\nexport const BooleanCondition = z.strictObject({\n type: z\n .enum([\n 'NUMBER_GREATER',\n 'NUMBER_GREATER_THAN_EQ',\n 'NUMBER_LESS',\n 'NUMBER_LESS_THAN_EQ',\n 'NUMBER_EQ',\n 'NUMBER_NOT_EQ',\n 'NUMBER_BETWEEN',\n 'NUMBER_NOT_BETWEEN',\n 'TEXT_CONTAINS',\n 'TEXT_NOT_CONTAINS',\n 'TEXT_STARTS_WITH',\n 'TEXT_ENDS_WITH',\n 'TEXT_EQ',\n 'TEXT_IS_EMAIL',\n 'TEXT_IS_URL',\n 'DATE_EQ',\n 'DATE_BEFORE',\n 'DATE_AFTER',\n 'DATE_ON_OR_BEFORE',\n 'DATE_ON_OR_AFTER',\n 'DATE_BETWEEN',\n 'DATE_NOT_BETWEEN',\n 'DATE_IS_VALID',\n 'ONE_OF_RANGE',\n 'ONE_OF_LIST',\n 'BLANK',\n 'NOT_BLANK',\n 'CUSTOM_FORMULA',\n 'BOOLEAN',\n ])\n .describe(\n 'The type of condition. Support varies by context: TEXT_IS_EMAIL, TEXT_IS_URL, DATE_ON_OR_BEFORE, DATE_ON_OR_AFTER, DATE_BETWEEN, DATE_NOT_BETWEEN, DATE_IS_VALID, ONE_OF_RANGE, ONE_OF_LIST, and BOOLEAN apply only to data validation; TEXT_STARTS_WITH, TEXT_ENDS_WITH, BLANK, and NOT_BLANK apply only to conditional formatting and filters.',\n ),\n values: z\n .array(ConditionValue)\n .optional()\n .describe(\n 'The values of the condition; how many are required depends on the type (comparisons take one, the BETWEEN family exactly two, ONE_OF_LIST any number, the no-argument checks none, and BOOLEAN zero, one, or two).',\n ),\n});\n\nexport type BooleanCondition = z.infer<typeof BooleanCondition>;\n"]}
1
+ {"version":3,"file":"BooleanCondition.js","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC7C,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC;QACJ,gBAAgB;QAChB,wBAAwB;QACxB,aAAa;QACb,qBAAqB;QACrB,WAAW;QACX,eAAe;QACf,gBAAgB;QAChB,oBAAoB;QACpB,eAAe;QACf,mBAAmB;QACnB,kBAAkB;QAClB,gBAAgB;QAChB,SAAS;QACT,eAAe;QACf,aAAa;QACb,SAAS;QACT,aAAa;QACb,YAAY;QACZ,mBAAmB;QACnB,kBAAkB;QAClB,cAAc;QACd,kBAAkB;QAClB,eAAe;QACf,cAAc;QACd,aAAa;QACb,OAAO;QACP,WAAW;QACX,gBAAgB;QAChB,SAAS;QACT,mBAAmB;KACpB,CAAC;SACD,QAAQ,CACP,6YAA6Y,CAC9Y;IACH,MAAM,EAAE,CAAC;SACN,KAAK,CAAC,cAAc,CAAC;SACrB,QAAQ,EAAE;SACV,QAAQ,CACP,oNAAoN,CACrN;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ConditionValue } from './ConditionValue.js';\n\n/**\n * A condition that can evaluate to true or false, the shared predicate\n * vocabulary of data validation, conditional formatting, and filters. How\n * many values a type takes depends on the type: the comparisons take one,\n * the BETWEEN family exactly two, ONE_OF_LIST any number, and the\n * emptiness and validity checks none.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#BooleanCondition\n */\nexport const BooleanCondition = z.strictObject({\n type: z\n .enum([\n 'NUMBER_GREATER',\n 'NUMBER_GREATER_THAN_EQ',\n 'NUMBER_LESS',\n 'NUMBER_LESS_THAN_EQ',\n 'NUMBER_EQ',\n 'NUMBER_NOT_EQ',\n 'NUMBER_BETWEEN',\n 'NUMBER_NOT_BETWEEN',\n 'TEXT_CONTAINS',\n 'TEXT_NOT_CONTAINS',\n 'TEXT_STARTS_WITH',\n 'TEXT_ENDS_WITH',\n 'TEXT_EQ',\n 'TEXT_IS_EMAIL',\n 'TEXT_IS_URL',\n 'DATE_EQ',\n 'DATE_BEFORE',\n 'DATE_AFTER',\n 'DATE_ON_OR_BEFORE',\n 'DATE_ON_OR_AFTER',\n 'DATE_BETWEEN',\n 'DATE_NOT_BETWEEN',\n 'DATE_IS_VALID',\n 'ONE_OF_RANGE',\n 'ONE_OF_LIST',\n 'BLANK',\n 'NOT_BLANK',\n 'CUSTOM_FORMULA',\n 'BOOLEAN',\n 'FILTER_EXPRESSION',\n ])\n .describe(\n 'The type of condition. Support varies by context: TEXT_IS_EMAIL, TEXT_IS_URL, DATE_ON_OR_BEFORE, DATE_ON_OR_AFTER, DATE_BETWEEN, DATE_NOT_BETWEEN, DATE_IS_VALID, ONE_OF_RANGE, ONE_OF_LIST, and BOOLEAN apply only to data validation; TEXT_STARTS_WITH, TEXT_ENDS_WITH, BLANK, and NOT_BLANK apply only to conditional formatting and filters; FILTER_EXPRESSION is a filter pattern and takes one value.',\n ),\n values: z\n .array(ConditionValue)\n .optional()\n .describe(\n 'The values of the condition; how many are required depends on the type (comparisons take one, the BETWEEN family exactly two, ONE_OF_LIST any number, the no-argument checks none, and BOOLEAN zero, one, or two).',\n ),\n});\n\nexport type BooleanCondition = z.infer<typeof BooleanCondition>;\n"]}
@@ -20,6 +20,7 @@ export declare const BooleanRule: z.ZodObject<{
20
20
  DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
21
21
  DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
22
22
  DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
23
+ FILTER_EXPRESSION: "FILTER_EXPRESSION";
23
24
  NOT_BLANK: "NOT_BLANK";
24
25
  NUMBER_BETWEEN: "NUMBER_BETWEEN";
25
26
  NUMBER_EQ: "NUMBER_EQ";
@@ -1 +1 @@
1
- {"version":3,"file":"BooleanRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
1
+ {"version":3,"file":"BooleanRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/BooleanRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -30,6 +30,7 @@ export declare const ConditionalFormatRule: z.ZodObject<{
30
30
  DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
31
31
  DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
32
32
  DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
33
+ FILTER_EXPRESSION: "FILTER_EXPRESSION";
33
34
  NOT_BLANK: "NOT_BLANK";
34
35
  NUMBER_BETWEEN: "NUMBER_BETWEEN";
35
36
  NUMBER_EQ: "NUMBER_EQ";
@@ -1 +1 @@
1
- {"version":3,"file":"ConditionalFormatRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAahC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"ConditionalFormatRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/ConditionalFormatRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB;;;;;;;;GAQG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAahC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
@@ -20,6 +20,7 @@ export declare const DataValidationRule: z.ZodObject<{
20
20
  DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
21
21
  DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
22
22
  DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
23
+ FILTER_EXPRESSION: "FILTER_EXPRESSION";
23
24
  NOT_BLANK: "NOT_BLANK";
24
25
  NUMBER_BETWEEN: "NUMBER_BETWEEN";
25
26
  NUMBER_EQ: "NUMBER_EQ";
@@ -1 +1 @@
1
- {"version":3,"file":"DataValidationRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DataValidationRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAe7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"DataValidationRule.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DataValidationRule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAe7B,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The delimiter on which text is split into columns.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request#DelimiterType
6
+ */
7
+ export declare const DelimiterType: z.ZodEnum<{
8
+ AUTODETECT: "AUTODETECT";
9
+ COMMA: "COMMA";
10
+ CUSTOM: "CUSTOM";
11
+ PERIOD: "PERIOD";
12
+ SEMICOLON: "SEMICOLON";
13
+ SPACE: "SPACE";
14
+ }>;
15
+ export type DelimiterType = z.infer<typeof DelimiterType>;
16
+ //# sourceMappingURL=DelimiterType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DelimiterType.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DelimiterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;EAOxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The delimiter on which text is split into columns.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request#DelimiterType
6
+ */
7
+ export const DelimiterType = z.enum([
8
+ 'COMMA',
9
+ 'SEMICOLON',
10
+ 'PERIOD',
11
+ 'SPACE',
12
+ 'CUSTOM',
13
+ 'AUTODETECT',
14
+ ]);
15
+ //# sourceMappingURL=DelimiterType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DelimiterType.js","sourceRoot":"","sources":["../../../src/sheets/entities/DelimiterType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC;IAClC,OAAO;IACP,WAAW;IACX,QAAQ;IACR,OAAO;IACP,QAAQ;IACR,YAAY;CACb,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * The delimiter on which text is split into columns.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request#DelimiterType\n */\nexport const DelimiterType = z.enum([\n 'COMMA',\n 'SEMICOLON',\n 'PERIOD',\n 'SPACE',\n 'CUSTOM',\n 'AUTODETECT',\n]);\n\nexport type DelimiterType = z.infer<typeof DelimiterType>;\n"]}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Whether an operation applies to rows or columns.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/Dimension
6
+ */
7
+ export declare const Dimension: z.ZodEnum<{
8
+ COLUMNS: "COLUMNS";
9
+ ROWS: "ROWS";
10
+ }>;
11
+ export type Dimension = z.infer<typeof Dimension>;
12
+ //# sourceMappingURL=Dimension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dimension.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/Dimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,SAAS;;;EAA8B,CAAC;AAErD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Whether an operation applies to rows or columns.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/Dimension
6
+ */
7
+ export const Dimension = z.enum(['ROWS', 'COLUMNS']);
8
+ //# sourceMappingURL=Dimension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dimension.js","sourceRoot":"","sources":["../../../src/sheets/entities/Dimension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Whether an operation applies to rows or columns.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/Dimension\n */\nexport const Dimension = z.enum(['ROWS', 'COLUMNS']);\n\nexport type Dimension = z.infer<typeof Dimension>;\n"]}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A group over an interval of rows or columns on a sheet. Groups can contain
4
+ * other groups and can be collapsed or expanded as a unit.
5
+ *
6
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionGroup
7
+ */
8
+ export declare const DimensionGroup: z.ZodObject<{
9
+ range: z.ZodObject<{
10
+ sheetId: z.ZodOptional<z.ZodNumber>;
11
+ dimension: z.ZodOptional<z.ZodEnum<{
12
+ COLUMNS: "COLUMNS";
13
+ ROWS: "ROWS";
14
+ }>>;
15
+ startIndex: z.ZodOptional<z.ZodNumber>;
16
+ endIndex: z.ZodOptional<z.ZodNumber>;
17
+ }, z.core.$strict>;
18
+ depth: z.ZodNumber;
19
+ collapsed: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strict>;
21
+ export type DimensionGroup = z.infer<typeof DimensionGroup>;
22
+ //# sourceMappingURL=DimensionGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DimensionGroup.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;kBAezB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { z } from 'zod';
2
+ import { DimensionRange } from './DimensionRange.js';
3
+ /**
4
+ * A group over an interval of rows or columns on a sheet. Groups can contain
5
+ * other groups and can be collapsed or expanded as a unit.
6
+ *
7
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionGroup
8
+ */
9
+ export const DimensionGroup = z.strictObject({
10
+ range: DimensionRange.describe('The range over which this group exists.'),
11
+ depth: z
12
+ .number()
13
+ .int()
14
+ .min(0)
15
+ .describe('The group depth: the number of groups whose ranges wholly contain this group range.'),
16
+ collapsed: z
17
+ .boolean()
18
+ .optional()
19
+ .describe('True if this group is collapsed. Updating this value also hides every dimension in the group when true, or reveals every dimension in the group when false.'),
20
+ });
21
+ //# sourceMappingURL=DimensionGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DimensionGroup.js","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionGroup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,KAAK,EAAE,cAAc,CAAC,QAAQ,CAAC,yCAAyC,CAAC;IACzE,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,qFAAqF,CACtF;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,6JAA6J,CAC9J;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { DimensionRange } from './DimensionRange.js';\n\n/**\n * A group over an interval of rows or columns on a sheet. Groups can contain\n * other groups and can be collapsed or expanded as a unit.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionGroup\n */\nexport const DimensionGroup = z.strictObject({\n range: DimensionRange.describe('The range over which this group exists.'),\n depth: z\n .number()\n .int()\n .min(0)\n .describe(\n 'The group depth: the number of groups whose ranges wholly contain this group range.',\n ),\n collapsed: z\n .boolean()\n .optional()\n .describe(\n 'True if this group is collapsed. Updating this value also hides every dimension in the group when true, or reveals every dimension in the group when false.',\n ),\n});\n\nexport type DimensionGroup = z.infer<typeof DimensionGroup>;\n"]}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Writable display properties of a row or column.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionProperties
6
+ */
7
+ export declare const DimensionProperties: z.ZodObject<{
8
+ hiddenByUser: z.ZodOptional<z.ZodBoolean>;
9
+ pixelSize: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strict>;
11
+ export type DimensionProperties = z.infer<typeof DimensionProperties>;
12
+ //# sourceMappingURL=DimensionProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DimensionProperties.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;kBAQ9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Writable display properties of a row or column.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionProperties
6
+ */
7
+ export const DimensionProperties = z.strictObject({
8
+ hiddenByUser: z.boolean().optional().describe('True if this dimension is explicitly hidden.'),
9
+ pixelSize: z
10
+ .number()
11
+ .int()
12
+ .min(0)
13
+ .optional()
14
+ .describe('The height, for a row, or width, for a column, in pixels.'),
15
+ });
16
+ //# sourceMappingURL=DimensionProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DimensionProperties.js","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,YAAY,CAAC;IAChD,YAAY,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC7F,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Writable display properties of a row or column.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/sheets#DimensionProperties\n */\nexport const DimensionProperties = z.strictObject({\n hiddenByUser: z.boolean().optional().describe('True if this dimension is explicitly hidden.'),\n pixelSize: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe('The height, for a row, or width, for a column, in pixels.'),\n});\n\nexport type DimensionProperties = z.infer<typeof DimensionProperties>;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"DimensionRange.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionRange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;kBAezB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"DimensionRange.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionRange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;kBAezB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { Dimension } from './Dimension.js';
2
3
  /**
3
4
  * A span of rows or columns on one sheet: a dimension plus zero-based half-open
4
5
  * indexes. Missing indexes mean the span is unbounded on that side.
@@ -7,7 +8,7 @@ import { z } from 'zod';
7
8
  */
8
9
  export const DimensionRange = z.strictObject({
9
10
  sheetId: z.number().int().optional().describe('The sheet this span is on.'),
10
- dimension: z.enum(['ROWS', 'COLUMNS']).optional().describe('The dimension of the span.'),
11
+ dimension: Dimension.optional().describe('The dimension of the span.'),
11
12
  startIndex: z
12
13
  .number()
13
14
  .int()
@@ -1 +1 @@
1
- {"version":3,"file":"DimensionRange.js","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionRange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC3E,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACxF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A span of rows or columns on one sheet: a dimension plus zero-based half-open\n * indexes. Missing indexes mean the span is unbounded on that side.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#DimensionRange\n */\nexport const DimensionRange = z.strictObject({\n sheetId: z.number().int().optional().describe('The sheet this span is on.'),\n dimension: z.enum(['ROWS', 'COLUMNS']).optional().describe('The dimension of the span.'),\n startIndex: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe('The start (inclusive) of the span, or not set if unbounded.'),\n endIndex: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe('The end (exclusive) of the span, or not set if unbounded.'),\n});\n\nexport type DimensionRange = z.infer<typeof DimensionRange>;\n"]}
1
+ {"version":3,"file":"DimensionRange.js","sourceRoot":"","sources":["../../../src/sheets/entities/DimensionRange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC3E,SAAS,EAAE,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACtE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Dimension } from './Dimension.js';\n\n/**\n * A span of rows or columns on one sheet: a dimension plus zero-based half-open\n * indexes. Missing indexes mean the span is unbounded on that side.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#DimensionRange\n */\nexport const DimensionRange = z.strictObject({\n sheetId: z.number().int().optional().describe('The sheet this span is on.'),\n dimension: Dimension.optional().describe('The dimension of the span.'),\n startIndex: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe('The start (inclusive) of the span, or not set if unbounded.'),\n endIndex: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe('The end (exclusive) of the span, or not set if unbounded.'),\n});\n\nexport type DimensionRange = z.infer<typeof DimensionRange>;\n"]}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A border along an embedded object.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#EmbeddedObjectBorder
6
+ */
7
+ export declare const EmbeddedObjectBorder: z.ZodObject<{
8
+ colorStyle: z.ZodOptional<z.ZodObject<{
9
+ rgbColor: z.ZodOptional<z.ZodObject<{
10
+ red: z.ZodOptional<z.ZodNumber>;
11
+ green: z.ZodOptional<z.ZodNumber>;
12
+ blue: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strict>>;
14
+ themeColor: z.ZodOptional<z.ZodEnum<{
15
+ ACCENT1: "ACCENT1";
16
+ ACCENT2: "ACCENT2";
17
+ ACCENT3: "ACCENT3";
18
+ ACCENT4: "ACCENT4";
19
+ ACCENT5: "ACCENT5";
20
+ ACCENT6: "ACCENT6";
21
+ BACKGROUND: "BACKGROUND";
22
+ LINK: "LINK";
23
+ TEXT: "TEXT";
24
+ }>>;
25
+ }, z.core.$strict>>;
26
+ }, z.core.$strict>;
27
+ export type EmbeddedObjectBorder = z.infer<typeof EmbeddedObjectBorder>;
28
+ //# sourceMappingURL=EmbeddedObjectBorder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedObjectBorder.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectBorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;kBAE/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { ColorStyle } from './ColorStyle.js';
3
+ /**
4
+ * A border along an embedded object.
5
+ *
6
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#EmbeddedObjectBorder
7
+ */
8
+ export const EmbeddedObjectBorder = z.strictObject({
9
+ colorStyle: ColorStyle.optional().describe('The color of the embedded object border.'),
10
+ });
11
+ //# sourceMappingURL=EmbeddedObjectBorder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmbeddedObjectBorder.js","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectBorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,YAAY,CAAC;IACjD,UAAU,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;CACvF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ColorStyle } from './ColorStyle.js';\n\n/**\n * A border along an embedded object.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/charts#EmbeddedObjectBorder\n */\nexport const EmbeddedObjectBorder = z.strictObject({\n colorStyle: ColorStyle.optional().describe('The color of the embedded object border.'),\n});\n\nexport type EmbeddedObjectBorder = z.infer<typeof EmbeddedObjectBorder>;\n"]}
@@ -1,18 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * Where an embedded object lives: floating over the grid at an overlay
4
- * position, or alone on its own new sheet. Provide exactly one of the two
5
- * fields.
4
+ * position, or alone on its own sheet. Readouts use sheetId for an existing
5
+ * object sheet; add and update writes can create an object sheet with an
6
+ * explicit sheetId or request a generated ID with newSheet. Provide exactly
7
+ * one location field where the operation accepts the full position.
6
8
  *
7
9
  * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#EmbeddedObjectPosition
8
10
  */
9
11
  export declare const EmbeddedObjectPosition: z.ZodObject<{
12
+ sheetId: z.ZodOptional<z.ZodNumber>;
10
13
  overlayPosition: z.ZodOptional<z.ZodObject<{
11
- anchorCell: z.ZodObject<{
14
+ anchorCell: z.ZodOptional<z.ZodObject<{
12
15
  sheetId: z.ZodNumber;
13
16
  rowIndex: z.ZodNumber;
14
17
  columnIndex: z.ZodNumber;
15
- }, z.core.$strict>;
18
+ }, z.core.$strict>>;
16
19
  offsetXPixels: z.ZodOptional<z.ZodNumber>;
17
20
  offsetYPixels: z.ZodOptional<z.ZodNumber>;
18
21
  widthPixels: z.ZodOptional<z.ZodNumber>;
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddedObjectPosition.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectPosition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;kBAUjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
1
+ {"version":3,"file":"EmbeddedObjectPosition.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectPosition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;kBAkBjC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -2,12 +2,20 @@ import { z } from 'zod';
2
2
  import { OverlayPosition } from './OverlayPosition.js';
3
3
  /**
4
4
  * Where an embedded object lives: floating over the grid at an overlay
5
- * position, or alone on its own new sheet. Provide exactly one of the two
6
- * fields.
5
+ * position, or alone on its own sheet. Readouts use sheetId for an existing
6
+ * object sheet; add and update writes can create an object sheet with an
7
+ * explicit sheetId or request a generated ID with newSheet. Provide exactly
8
+ * one location field where the operation accepts the full position.
7
9
  *
8
10
  * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#EmbeddedObjectPosition
9
11
  */
10
12
  export const EmbeddedObjectPosition = z.strictObject({
13
+ sheetId: z
14
+ .number()
15
+ .int()
16
+ .min(0)
17
+ .optional()
18
+ .describe('The sheet this object is on when it has its own sheet. When adding or updating a position, this creates a new object sheet with this ID.'),
11
19
  overlayPosition: OverlayPosition.optional().describe('The position the object floats at, over the grid.'),
12
20
  newSheet: z
13
21
  .literal(true)
@@ -1 +1 @@
1
- {"version":3,"file":"EmbeddedObjectPosition.js","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectPosition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClD,mDAAmD,CACpD;IACD,QAAQ,EAAE,CAAC;SACR,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,+HAA+H,CAChI;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { OverlayPosition } from './OverlayPosition.js';\n\n/**\n * Where an embedded object lives: floating over the grid at an overlay\n * position, or alone on its own new sheet. Provide exactly one of the two\n * fields.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#EmbeddedObjectPosition\n */\nexport const EmbeddedObjectPosition = z.strictObject({\n overlayPosition: OverlayPosition.optional().describe(\n 'The position the object floats at, over the grid.',\n ),\n newSheet: z\n .literal(true)\n .optional()\n .describe(\n 'True to put the object on its own new sheet; the sheet ID is chosen by Google. Only true is meaningful, so false is rejected.',\n ),\n});\n\nexport type EmbeddedObjectPosition = z.infer<typeof EmbeddedObjectPosition>;\n"]}
1
+ {"version":3,"file":"EmbeddedObjectPosition.js","sourceRoot":"","sources":["../../../src/sheets/entities/EmbeddedObjectPosition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,YAAY,CAAC;IACnD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,0IAA0I,CAC3I;IACH,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAClD,mDAAmD,CACpD;IACD,QAAQ,EAAE,CAAC;SACR,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,+HAA+H,CAChI;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { OverlayPosition } from './OverlayPosition.js';\n\n/**\n * Where an embedded object lives: floating over the grid at an overlay\n * position, or alone on its own sheet. Readouts use sheetId for an existing\n * object sheet; add and update writes can create an object sheet with an\n * explicit sheetId or request a generated ID with newSheet. Provide exactly\n * one location field where the operation accepts the full position.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#EmbeddedObjectPosition\n */\nexport const EmbeddedObjectPosition = z.strictObject({\n sheetId: z\n .number()\n .int()\n .min(0)\n .optional()\n .describe(\n 'The sheet this object is on when it has its own sheet. When adding or updating a position, this creates a new object sheet with this ID.',\n ),\n overlayPosition: OverlayPosition.optional().describe(\n 'The position the object floats at, over the grid.',\n ),\n newSheet: z\n .literal(true)\n .optional()\n .describe(\n 'True to put the object on its own new sheet; the sheet ID is chosen by Google. Only true is meaningful, so false is rejected.',\n ),\n});\n\nexport type EmbeddedObjectPosition = z.infer<typeof EmbeddedObjectPosition>;\n"]}
@@ -0,0 +1,92 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Criteria for showing or hiding rows in a filter or filter view.
4
+ *
5
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#FilterCriteria
6
+ */
7
+ export declare const FilterCriteria: z.ZodObject<{
8
+ hiddenValues: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ condition: z.ZodOptional<z.ZodObject<{
10
+ type: z.ZodEnum<{
11
+ BLANK: "BLANK";
12
+ BOOLEAN: "BOOLEAN";
13
+ CUSTOM_FORMULA: "CUSTOM_FORMULA";
14
+ DATE_AFTER: "DATE_AFTER";
15
+ DATE_BEFORE: "DATE_BEFORE";
16
+ DATE_BETWEEN: "DATE_BETWEEN";
17
+ DATE_EQ: "DATE_EQ";
18
+ DATE_IS_VALID: "DATE_IS_VALID";
19
+ DATE_NOT_BETWEEN: "DATE_NOT_BETWEEN";
20
+ DATE_ON_OR_AFTER: "DATE_ON_OR_AFTER";
21
+ DATE_ON_OR_BEFORE: "DATE_ON_OR_BEFORE";
22
+ FILTER_EXPRESSION: "FILTER_EXPRESSION";
23
+ NOT_BLANK: "NOT_BLANK";
24
+ NUMBER_BETWEEN: "NUMBER_BETWEEN";
25
+ NUMBER_EQ: "NUMBER_EQ";
26
+ NUMBER_GREATER: "NUMBER_GREATER";
27
+ NUMBER_GREATER_THAN_EQ: "NUMBER_GREATER_THAN_EQ";
28
+ NUMBER_LESS: "NUMBER_LESS";
29
+ NUMBER_LESS_THAN_EQ: "NUMBER_LESS_THAN_EQ";
30
+ NUMBER_NOT_BETWEEN: "NUMBER_NOT_BETWEEN";
31
+ NUMBER_NOT_EQ: "NUMBER_NOT_EQ";
32
+ ONE_OF_LIST: "ONE_OF_LIST";
33
+ ONE_OF_RANGE: "ONE_OF_RANGE";
34
+ TEXT_CONTAINS: "TEXT_CONTAINS";
35
+ TEXT_ENDS_WITH: "TEXT_ENDS_WITH";
36
+ TEXT_EQ: "TEXT_EQ";
37
+ TEXT_IS_EMAIL: "TEXT_IS_EMAIL";
38
+ TEXT_IS_URL: "TEXT_IS_URL";
39
+ TEXT_NOT_CONTAINS: "TEXT_NOT_CONTAINS";
40
+ TEXT_STARTS_WITH: "TEXT_STARTS_WITH";
41
+ }>;
42
+ values: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
+ relativeDate: z.ZodOptional<z.ZodEnum<{
44
+ PAST_MONTH: "PAST_MONTH";
45
+ PAST_WEEK: "PAST_WEEK";
46
+ PAST_YEAR: "PAST_YEAR";
47
+ TODAY: "TODAY";
48
+ TOMORROW: "TOMORROW";
49
+ YESTERDAY: "YESTERDAY";
50
+ }>>;
51
+ userEnteredValue: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strict>>>;
53
+ }, z.core.$strict>>;
54
+ visibleBackgroundColorStyle: z.ZodOptional<z.ZodObject<{
55
+ rgbColor: z.ZodOptional<z.ZodObject<{
56
+ red: z.ZodOptional<z.ZodNumber>;
57
+ green: z.ZodOptional<z.ZodNumber>;
58
+ blue: z.ZodOptional<z.ZodNumber>;
59
+ }, z.core.$strict>>;
60
+ themeColor: z.ZodOptional<z.ZodEnum<{
61
+ ACCENT1: "ACCENT1";
62
+ ACCENT2: "ACCENT2";
63
+ ACCENT3: "ACCENT3";
64
+ ACCENT4: "ACCENT4";
65
+ ACCENT5: "ACCENT5";
66
+ ACCENT6: "ACCENT6";
67
+ BACKGROUND: "BACKGROUND";
68
+ LINK: "LINK";
69
+ TEXT: "TEXT";
70
+ }>>;
71
+ }, z.core.$strict>>;
72
+ visibleForegroundColorStyle: z.ZodOptional<z.ZodObject<{
73
+ rgbColor: z.ZodOptional<z.ZodObject<{
74
+ red: z.ZodOptional<z.ZodNumber>;
75
+ green: z.ZodOptional<z.ZodNumber>;
76
+ blue: z.ZodOptional<z.ZodNumber>;
77
+ }, z.core.$strict>>;
78
+ themeColor: z.ZodOptional<z.ZodEnum<{
79
+ ACCENT1: "ACCENT1";
80
+ ACCENT2: "ACCENT2";
81
+ ACCENT3: "ACCENT3";
82
+ ACCENT4: "ACCENT4";
83
+ ACCENT5: "ACCENT5";
84
+ ACCENT6: "ACCENT6";
85
+ BACKGROUND: "BACKGROUND";
86
+ LINK: "LINK";
87
+ TEXT: "TEXT";
88
+ }>>;
89
+ }, z.core.$strict>>;
90
+ }, z.core.$strict>;
91
+ export type FilterCriteria = z.infer<typeof FilterCriteria>;
92
+ //# sourceMappingURL=FilterCriteria.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterCriteria.d.ts","sourceRoot":"","sources":["../../../src/sheets/entities/FilterCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAWzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ import { BooleanCondition } from './BooleanCondition.js';
3
+ import { ColorStyle } from './ColorStyle.js';
4
+ /**
5
+ * Criteria for showing or hiding rows in a filter or filter view.
6
+ *
7
+ * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#FilterCriteria
8
+ */
9
+ export const FilterCriteria = z.strictObject({
10
+ hiddenValues: z.array(z.string()).optional().describe('Values that should be hidden.'),
11
+ condition: BooleanCondition.optional().describe('A condition that must be true for values to be shown. Hidden values remain hidden even when they satisfy the condition.'),
12
+ visibleBackgroundColorStyle: ColorStyle.optional().describe('An RGB fill color to show; only cells with this background color are shown. Provide this or visibleForegroundColorStyle, not both.'),
13
+ visibleForegroundColorStyle: ColorStyle.optional().describe('An RGB text color to show; only cells with this foreground color are shown. Provide this or visibleBackgroundColorStyle, not both.'),
14
+ });
15
+ //# sourceMappingURL=FilterCriteria.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterCriteria.js","sourceRoot":"","sources":["../../../src/sheets/entities/FilterCriteria.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,+BAA+B,CAAC;IACtF,SAAS,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC7C,yHAAyH,CAC1H;IACD,2BAA2B,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,oIAAoI,CACrI;IACD,2BAA2B,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzD,oIAAoI,CACrI;CACF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { BooleanCondition } from './BooleanCondition.js';\nimport { ColorStyle } from './ColorStyle.js';\n\n/**\n * Criteria for showing or hiding rows in a filter or filter view.\n *\n * @see https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/other#FilterCriteria\n */\nexport const FilterCriteria = z.strictObject({\n hiddenValues: z.array(z.string()).optional().describe('Values that should be hidden.'),\n condition: BooleanCondition.optional().describe(\n 'A condition that must be true for values to be shown. Hidden values remain hidden even when they satisfy the condition.',\n ),\n visibleBackgroundColorStyle: ColorStyle.optional().describe(\n 'An RGB fill color to show; only cells with this background color are shown. Provide this or visibleForegroundColorStyle, not both.',\n ),\n visibleForegroundColorStyle: ColorStyle.optional().describe(\n 'An RGB text color to show; only cells with this foreground color are shown. Provide this or visibleBackgroundColorStyle, not both.',\n ),\n});\n\nexport type FilterCriteria = z.infer<typeof FilterCriteria>;\n"]}