google-mcp-suite 1.18.1 → 1.19.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 (480) hide show
  1. package/ADOPTING.md +2 -2
  2. package/README.md +5 -5
  3. package/dist/docs/entities/Color.d.ts +15 -0
  4. package/dist/docs/entities/Color.d.ts.map +1 -0
  5. package/dist/docs/entities/Color.js +11 -0
  6. package/dist/docs/entities/Color.js.map +1 -0
  7. package/dist/docs/entities/Document.d.ts +28 -16
  8. package/dist/docs/entities/Document.d.ts.map +1 -1
  9. package/dist/docs/entities/Document.js +31 -4
  10. package/dist/docs/entities/Document.js.map +1 -1
  11. package/dist/docs/entities/DocumentStyle.d.ts +40 -0
  12. package/dist/docs/entities/DocumentStyle.d.ts.map +1 -0
  13. package/dist/docs/entities/DocumentStyle.js +67 -0
  14. package/dist/docs/entities/DocumentStyle.js.map +1 -0
  15. package/dist/docs/entities/Location.d.ts +16 -0
  16. package/dist/docs/entities/Location.d.ts.map +1 -0
  17. package/dist/docs/entities/Location.js +26 -0
  18. package/dist/docs/entities/Location.js.map +1 -0
  19. package/dist/docs/entities/OptionalColor.d.ts +20 -0
  20. package/dist/docs/entities/OptionalColor.d.ts.map +1 -0
  21. package/dist/docs/entities/OptionalColor.js +14 -0
  22. package/dist/docs/entities/OptionalColor.js.map +1 -0
  23. package/dist/docs/entities/ParagraphBorder.d.ts +29 -0
  24. package/dist/docs/entities/ParagraphBorder.d.ts.map +1 -0
  25. package/dist/docs/entities/ParagraphBorder.js +27 -0
  26. package/dist/docs/entities/ParagraphBorder.js.map +1 -0
  27. package/dist/docs/entities/ParagraphStyle.d.ts +124 -5
  28. package/dist/docs/entities/ParagraphStyle.d.ts.map +1 -1
  29. package/dist/docs/entities/ParagraphStyle.js +63 -5
  30. package/dist/docs/entities/ParagraphStyle.js.map +1 -1
  31. package/dist/docs/entities/Range.d.ts +6 -3
  32. package/dist/docs/entities/Range.d.ts.map +1 -1
  33. package/dist/docs/entities/Range.js +20 -7
  34. package/dist/docs/entities/Range.js.map +1 -1
  35. package/dist/docs/entities/RgbColor.d.ts +14 -0
  36. package/dist/docs/entities/RgbColor.d.ts.map +1 -0
  37. package/dist/docs/entities/RgbColor.js +28 -0
  38. package/dist/docs/entities/RgbColor.js.map +1 -0
  39. package/dist/docs/entities/SectionColumnProperties.d.ts +14 -0
  40. package/dist/docs/entities/SectionColumnProperties.d.ts.map +1 -0
  41. package/dist/docs/entities/SectionColumnProperties.js +17 -0
  42. package/dist/docs/entities/SectionColumnProperties.js.map +1 -0
  43. package/dist/docs/entities/SectionStyle.d.ts +35 -0
  44. package/dist/docs/entities/SectionStyle.d.ts.map +1 -0
  45. package/dist/docs/entities/SectionStyle.js +60 -0
  46. package/dist/docs/entities/SectionStyle.js.map +1 -0
  47. package/dist/docs/entities/Shading.d.ts +19 -0
  48. package/dist/docs/entities/Shading.d.ts.map +1 -0
  49. package/dist/docs/entities/Shading.js +11 -0
  50. package/dist/docs/entities/Shading.js.map +1 -0
  51. package/dist/docs/entities/StructuralElement.d.ts +41 -16
  52. package/dist/docs/entities/StructuralElement.d.ts.map +1 -1
  53. package/dist/docs/entities/StructuralElement.js +40 -9
  54. package/dist/docs/entities/StructuralElement.js.map +1 -1
  55. package/dist/docs/entities/TableCellBorder.d.ts +28 -0
  56. package/dist/docs/entities/TableCellBorder.d.ts.map +1 -0
  57. package/dist/docs/entities/TableCellBorder.js +30 -0
  58. package/dist/docs/entities/TableCellBorder.js.map +1 -0
  59. package/dist/docs/entities/TableCellLocation.d.ts +17 -0
  60. package/dist/docs/entities/TableCellLocation.d.ts.map +1 -0
  61. package/dist/docs/entities/TableCellLocation.js +22 -0
  62. package/dist/docs/entities/TableCellLocation.js.map +1 -0
  63. package/dist/docs/entities/TableCellStyle.d.ts +101 -0
  64. package/dist/docs/entities/TableCellStyle.d.ts.map +1 -0
  65. package/dist/docs/entities/TableCellStyle.js +33 -0
  66. package/dist/docs/entities/TableCellStyle.js.map +1 -0
  67. package/dist/docs/entities/TableColumnProperties.d.ts +19 -0
  68. package/dist/docs/entities/TableColumnProperties.d.ts.map +1 -0
  69. package/dist/docs/entities/TableColumnProperties.js +22 -0
  70. package/dist/docs/entities/TableColumnProperties.js.map +1 -0
  71. package/dist/docs/entities/TableRange.d.ts +23 -0
  72. package/dist/docs/entities/TableRange.d.ts.map +1 -0
  73. package/dist/docs/entities/TableRange.js +16 -0
  74. package/dist/docs/entities/TableRange.js.map +1 -0
  75. package/dist/docs/entities/TableRowStyle.d.ts +17 -0
  76. package/dist/docs/entities/TableRowStyle.d.ts.map +1 -0
  77. package/dist/docs/entities/TableRowStyle.js +23 -0
  78. package/dist/docs/entities/TableRowStyle.js.map +1 -0
  79. package/dist/docs/entities/TextStyle.d.ts +26 -5
  80. package/dist/docs/entities/TextStyle.d.ts.map +1 -1
  81. package/dist/docs/entities/TextStyle.js +10 -6
  82. package/dist/docs/entities/TextStyle.js.map +1 -1
  83. package/dist/docs/entities/WeightedFontFamily.d.ts +14 -0
  84. package/dist/docs/entities/WeightedFontFamily.d.ts.map +1 -0
  85. package/dist/docs/entities/WeightedFontFamily.js +23 -0
  86. package/dist/docs/entities/WeightedFontFamily.js.map +1 -0
  87. package/dist/docs/instructions.d.ts.map +1 -1
  88. package/dist/docs/instructions.js +20 -3
  89. package/dist/docs/instructions.js.map +1 -1
  90. package/dist/docs/lib/address.d.ts +26 -0
  91. package/dist/docs/lib/address.d.ts.map +1 -0
  92. package/dist/docs/lib/address.js +18 -0
  93. package/dist/docs/lib/address.js.map +1 -0
  94. package/dist/docs/lib/color.d.ts +13 -0
  95. package/dist/docs/lib/color.d.ts.map +1 -0
  96. package/dist/docs/lib/color.js +9 -0
  97. package/dist/docs/lib/color.js.map +1 -0
  98. package/dist/docs/lib/dimension.d.ts +12 -0
  99. package/dist/docs/lib/dimension.d.ts.map +1 -0
  100. package/dist/docs/lib/dimension.js +4 -0
  101. package/dist/docs/lib/dimension.js.map +1 -0
  102. package/dist/docs/lib/document.d.ts +5 -3
  103. package/dist/docs/lib/document.d.ts.map +1 -1
  104. package/dist/docs/lib/document.js +40 -3
  105. package/dist/docs/lib/document.js.map +1 -1
  106. package/dist/docs/methods/create_document/index.d.ts +9 -12
  107. package/dist/docs/methods/create_document/index.d.ts.map +1 -1
  108. package/dist/docs/methods/create_document/schema.d.ts +9 -12
  109. package/dist/docs/methods/create_document/schema.d.ts.map +1 -1
  110. package/dist/docs/methods/create_footer/handler.d.ts +5 -0
  111. package/dist/docs/methods/create_footer/handler.d.ts.map +1 -0
  112. package/dist/docs/methods/create_footer/handler.js +16 -0
  113. package/dist/docs/methods/create_footer/handler.js.map +1 -0
  114. package/dist/docs/methods/create_footer/index.d.ts +19 -0
  115. package/dist/docs/methods/create_footer/index.d.ts.map +1 -0
  116. package/dist/docs/methods/create_footer/index.js +23 -0
  117. package/dist/docs/methods/create_footer/index.js.map +1 -0
  118. package/dist/docs/methods/create_footer/schema.d.ts +16 -0
  119. package/dist/docs/methods/create_footer/schema.d.ts.map +1 -0
  120. package/dist/docs/methods/create_footer/schema.js +22 -0
  121. package/dist/docs/methods/create_footer/schema.js.map +1 -0
  122. package/dist/docs/methods/create_footnote/handler.d.ts +5 -0
  123. package/dist/docs/methods/create_footnote/handler.d.ts.map +1 -0
  124. package/dist/docs/methods/create_footnote/handler.js +12 -0
  125. package/dist/docs/methods/create_footnote/handler.js.map +1 -0
  126. package/dist/docs/methods/create_footnote/index.d.ts +15 -0
  127. package/dist/docs/methods/create_footnote/index.d.ts.map +1 -0
  128. package/dist/docs/methods/create_footnote/index.js +22 -0
  129. package/dist/docs/methods/create_footnote/index.js.map +1 -0
  130. package/dist/docs/methods/create_footnote/schema.d.ts +13 -0
  131. package/dist/docs/methods/create_footnote/schema.d.ts.map +1 -0
  132. package/dist/docs/methods/create_footnote/schema.js +19 -0
  133. package/dist/docs/methods/create_footnote/schema.js.map +1 -0
  134. package/dist/docs/methods/create_header/handler.d.ts +5 -0
  135. package/dist/docs/methods/create_header/handler.d.ts.map +1 -0
  136. package/dist/docs/methods/create_header/handler.js +16 -0
  137. package/dist/docs/methods/create_header/handler.js.map +1 -0
  138. package/dist/docs/methods/create_header/index.d.ts +19 -0
  139. package/dist/docs/methods/create_header/index.d.ts.map +1 -0
  140. package/dist/docs/methods/create_header/index.js +23 -0
  141. package/dist/docs/methods/create_header/index.js.map +1 -0
  142. package/dist/docs/methods/create_header/schema.d.ts +16 -0
  143. package/dist/docs/methods/create_header/schema.d.ts.map +1 -0
  144. package/dist/docs/methods/create_header/schema.js +22 -0
  145. package/dist/docs/methods/create_header/schema.js.map +1 -0
  146. package/dist/docs/methods/create_named_range/handler.d.ts +5 -0
  147. package/dist/docs/methods/create_named_range/handler.d.ts.map +1 -0
  148. package/dist/docs/methods/create_named_range/handler.js +13 -0
  149. package/dist/docs/methods/create_named_range/handler.js.map +1 -0
  150. package/dist/docs/methods/create_named_range/index.d.ts +20 -0
  151. package/dist/docs/methods/create_named_range/index.d.ts.map +1 -0
  152. package/dist/docs/methods/create_named_range/index.js +22 -0
  153. package/dist/docs/methods/create_named_range/index.js.map +1 -0
  154. package/dist/docs/methods/create_named_range/schema.d.ts +18 -0
  155. package/dist/docs/methods/create_named_range/schema.d.ts.map +1 -0
  156. package/dist/docs/methods/create_named_range/schema.js +20 -0
  157. package/dist/docs/methods/create_named_range/schema.js.map +1 -0
  158. package/dist/docs/methods/create_paragraph_bullets/handler.d.ts.map +1 -1
  159. package/dist/docs/methods/create_paragraph_bullets/handler.js +2 -1
  160. package/dist/docs/methods/create_paragraph_bullets/handler.js.map +1 -1
  161. package/dist/docs/methods/create_paragraph_bullets/index.d.ts +1 -0
  162. package/dist/docs/methods/create_paragraph_bullets/index.d.ts.map +1 -1
  163. package/dist/docs/methods/create_paragraph_bullets/schema.d.ts +1 -0
  164. package/dist/docs/methods/create_paragraph_bullets/schema.d.ts.map +1 -1
  165. package/dist/docs/methods/delete_content_range/handler.d.ts.map +1 -1
  166. package/dist/docs/methods/delete_content_range/handler.js +2 -1
  167. package/dist/docs/methods/delete_content_range/handler.js.map +1 -1
  168. package/dist/docs/methods/delete_content_range/index.d.ts +1 -0
  169. package/dist/docs/methods/delete_content_range/index.d.ts.map +1 -1
  170. package/dist/docs/methods/delete_content_range/schema.d.ts +1 -0
  171. package/dist/docs/methods/delete_content_range/schema.d.ts.map +1 -1
  172. package/dist/docs/methods/delete_footer/handler.d.ts +5 -0
  173. package/dist/docs/methods/delete_footer/handler.d.ts.map +1 -0
  174. package/dist/docs/methods/delete_footer/handler.js +8 -0
  175. package/dist/docs/methods/delete_footer/handler.js.map +1 -0
  176. package/dist/docs/methods/delete_footer/index.d.ts +14 -0
  177. package/dist/docs/methods/delete_footer/index.d.ts.map +1 -0
  178. package/dist/docs/methods/delete_footer/index.js +22 -0
  179. package/dist/docs/methods/delete_footer/index.js.map +1 -0
  180. package/dist/docs/methods/delete_footer/schema.d.ts +12 -0
  181. package/dist/docs/methods/delete_footer/schema.d.ts.map +1 -0
  182. package/dist/docs/methods/delete_footer/schema.js +13 -0
  183. package/dist/docs/methods/delete_footer/schema.js.map +1 -0
  184. package/dist/docs/methods/delete_header/handler.d.ts +5 -0
  185. package/dist/docs/methods/delete_header/handler.d.ts.map +1 -0
  186. package/dist/docs/methods/delete_header/handler.js +8 -0
  187. package/dist/docs/methods/delete_header/handler.js.map +1 -0
  188. package/dist/docs/methods/delete_header/index.d.ts +14 -0
  189. package/dist/docs/methods/delete_header/index.d.ts.map +1 -0
  190. package/dist/docs/methods/delete_header/index.js +22 -0
  191. package/dist/docs/methods/delete_header/index.js.map +1 -0
  192. package/dist/docs/methods/delete_header/schema.d.ts +12 -0
  193. package/dist/docs/methods/delete_header/schema.d.ts.map +1 -0
  194. package/dist/docs/methods/delete_header/schema.js +13 -0
  195. package/dist/docs/methods/delete_header/schema.js.map +1 -0
  196. package/dist/docs/methods/delete_named_range/handler.d.ts +5 -0
  197. package/dist/docs/methods/delete_named_range/handler.d.ts.map +1 -0
  198. package/dist/docs/methods/delete_named_range/handler.js +9 -0
  199. package/dist/docs/methods/delete_named_range/handler.js.map +1 -0
  200. package/dist/docs/methods/delete_named_range/index.d.ts +17 -0
  201. package/dist/docs/methods/delete_named_range/index.d.ts.map +1 -0
  202. package/dist/docs/methods/delete_named_range/index.js +24 -0
  203. package/dist/docs/methods/delete_named_range/index.js.map +1 -0
  204. package/dist/docs/methods/delete_named_range/schema.d.ts +13 -0
  205. package/dist/docs/methods/delete_named_range/schema.d.ts.map +1 -0
  206. package/dist/docs/methods/delete_named_range/schema.js +21 -0
  207. package/dist/docs/methods/delete_named_range/schema.js.map +1 -0
  208. package/dist/docs/methods/delete_paragraph_bullets/handler.d.ts.map +1 -1
  209. package/dist/docs/methods/delete_paragraph_bullets/handler.js +2 -1
  210. package/dist/docs/methods/delete_paragraph_bullets/handler.js.map +1 -1
  211. package/dist/docs/methods/delete_paragraph_bullets/index.d.ts +1 -0
  212. package/dist/docs/methods/delete_paragraph_bullets/index.d.ts.map +1 -1
  213. package/dist/docs/methods/delete_paragraph_bullets/schema.d.ts +1 -0
  214. package/dist/docs/methods/delete_paragraph_bullets/schema.d.ts.map +1 -1
  215. package/dist/docs/methods/delete_positioned_object/handler.d.ts +5 -0
  216. package/dist/docs/methods/delete_positioned_object/handler.d.ts.map +1 -0
  217. package/dist/docs/methods/delete_positioned_object/handler.js +8 -0
  218. package/dist/docs/methods/delete_positioned_object/handler.js.map +1 -0
  219. package/dist/docs/methods/delete_positioned_object/index.d.ts +16 -0
  220. package/dist/docs/methods/delete_positioned_object/index.d.ts.map +1 -0
  221. package/dist/docs/methods/delete_positioned_object/index.js +24 -0
  222. package/dist/docs/methods/delete_positioned_object/index.js.map +1 -0
  223. package/dist/docs/methods/delete_positioned_object/schema.d.ts +12 -0
  224. package/dist/docs/methods/delete_positioned_object/schema.d.ts.map +1 -0
  225. package/dist/docs/methods/delete_positioned_object/schema.js +10 -0
  226. package/dist/docs/methods/delete_positioned_object/schema.js.map +1 -0
  227. package/dist/docs/methods/delete_table_column/handler.d.ts +5 -0
  228. package/dist/docs/methods/delete_table_column/handler.d.ts.map +1 -0
  229. package/dist/docs/methods/delete_table_column/handler.js +9 -0
  230. package/dist/docs/methods/delete_table_column/handler.js.map +1 -0
  231. package/dist/docs/methods/delete_table_column/index.d.ts +22 -0
  232. package/dist/docs/methods/delete_table_column/index.d.ts.map +1 -0
  233. package/dist/docs/methods/delete_table_column/index.js +23 -0
  234. package/dist/docs/methods/delete_table_column/index.js.map +1 -0
  235. package/dist/docs/methods/delete_table_column/schema.d.ts +19 -0
  236. package/dist/docs/methods/delete_table_column/schema.d.ts.map +1 -0
  237. package/dist/docs/methods/delete_table_column/schema.js +11 -0
  238. package/dist/docs/methods/delete_table_column/schema.js.map +1 -0
  239. package/dist/docs/methods/delete_table_row/handler.d.ts +5 -0
  240. package/dist/docs/methods/delete_table_row/handler.d.ts.map +1 -0
  241. package/dist/docs/methods/delete_table_row/handler.js +9 -0
  242. package/dist/docs/methods/delete_table_row/handler.js.map +1 -0
  243. package/dist/docs/methods/delete_table_row/index.d.ts +22 -0
  244. package/dist/docs/methods/delete_table_row/index.d.ts.map +1 -0
  245. package/dist/docs/methods/delete_table_row/index.js +23 -0
  246. package/dist/docs/methods/delete_table_row/index.js.map +1 -0
  247. package/dist/docs/methods/delete_table_row/schema.d.ts +19 -0
  248. package/dist/docs/methods/delete_table_row/schema.d.ts.map +1 -0
  249. package/dist/docs/methods/delete_table_row/schema.js +11 -0
  250. package/dist/docs/methods/delete_table_row/schema.js.map +1 -0
  251. package/dist/docs/methods/get_document/index.d.ts +14 -15
  252. package/dist/docs/methods/get_document/index.d.ts.map +1 -1
  253. package/dist/docs/methods/get_document/index.js +6 -4
  254. package/dist/docs/methods/get_document/index.js.map +1 -1
  255. package/dist/docs/methods/get_document/schema.d.ts +9 -12
  256. package/dist/docs/methods/get_document/schema.d.ts.map +1 -1
  257. package/dist/docs/methods/insert_inline_image/handler.d.ts +5 -0
  258. package/dist/docs/methods/insert_inline_image/handler.d.ts.map +1 -0
  259. package/dist/docs/methods/insert_inline_image/handler.js +23 -0
  260. package/dist/docs/methods/insert_inline_image/handler.js.map +1 -0
  261. package/dist/docs/methods/insert_inline_image/index.d.ts +20 -0
  262. package/dist/docs/methods/insert_inline_image/index.d.ts.map +1 -0
  263. package/dist/docs/methods/insert_inline_image/index.js +23 -0
  264. package/dist/docs/methods/insert_inline_image/index.js.map +1 -0
  265. package/dist/docs/methods/insert_inline_image/schema.d.ts +17 -0
  266. package/dist/docs/methods/insert_inline_image/schema.d.ts.map +1 -0
  267. package/dist/docs/methods/insert_inline_image/schema.js +44 -0
  268. package/dist/docs/methods/insert_inline_image/schema.js.map +1 -0
  269. package/dist/docs/methods/insert_page_break/handler.d.ts +5 -0
  270. package/dist/docs/methods/insert_page_break/handler.d.ts.map +1 -0
  271. package/dist/docs/methods/insert_page_break/handler.js +8 -0
  272. package/dist/docs/methods/insert_page_break/handler.js.map +1 -0
  273. package/dist/docs/methods/insert_page_break/index.d.ts +14 -0
  274. package/dist/docs/methods/insert_page_break/index.d.ts.map +1 -0
  275. package/dist/docs/methods/insert_page_break/index.js +22 -0
  276. package/dist/docs/methods/insert_page_break/index.js.map +1 -0
  277. package/dist/docs/methods/insert_page_break/schema.d.ts +12 -0
  278. package/dist/docs/methods/insert_page_break/schema.d.ts.map +1 -0
  279. package/dist/docs/methods/insert_page_break/schema.js +15 -0
  280. package/dist/docs/methods/insert_page_break/schema.js.map +1 -0
  281. package/dist/docs/methods/insert_section_break/handler.d.ts +5 -0
  282. package/dist/docs/methods/insert_section_break/handler.d.ts.map +1 -0
  283. package/dist/docs/methods/insert_section_break/handler.js +13 -0
  284. package/dist/docs/methods/insert_section_break/handler.js.map +1 -0
  285. package/dist/docs/methods/insert_section_break/index.d.ts +17 -0
  286. package/dist/docs/methods/insert_section_break/index.d.ts.map +1 -0
  287. package/dist/docs/methods/insert_section_break/index.js +21 -0
  288. package/dist/docs/methods/insert_section_break/index.js.map +1 -0
  289. package/dist/docs/methods/insert_section_break/schema.d.ts +16 -0
  290. package/dist/docs/methods/insert_section_break/schema.d.ts.map +1 -0
  291. package/dist/docs/methods/insert_section_break/schema.js +18 -0
  292. package/dist/docs/methods/insert_section_break/schema.js.map +1 -0
  293. package/dist/docs/methods/insert_table/handler.d.ts +5 -0
  294. package/dist/docs/methods/insert_table/handler.d.ts.map +1 -0
  295. package/dist/docs/methods/insert_table/handler.js +9 -0
  296. package/dist/docs/methods/insert_table/handler.js.map +1 -0
  297. package/dist/docs/methods/insert_table/index.d.ts +15 -0
  298. package/dist/docs/methods/insert_table/index.d.ts.map +1 -0
  299. package/dist/docs/methods/insert_table/index.js +21 -0
  300. package/dist/docs/methods/insert_table/index.js.map +1 -0
  301. package/dist/docs/methods/insert_table/schema.d.ts +14 -0
  302. package/dist/docs/methods/insert_table/schema.d.ts.map +1 -0
  303. package/dist/docs/methods/insert_table/schema.js +17 -0
  304. package/dist/docs/methods/insert_table/schema.js.map +1 -0
  305. package/dist/docs/methods/insert_table_column/handler.d.ts +5 -0
  306. package/dist/docs/methods/insert_table_column/handler.d.ts.map +1 -0
  307. package/dist/docs/methods/insert_table_column/handler.js +12 -0
  308. package/dist/docs/methods/insert_table_column/handler.js.map +1 -0
  309. package/dist/docs/methods/insert_table_column/index.d.ts +21 -0
  310. package/dist/docs/methods/insert_table_column/index.d.ts.map +1 -0
  311. package/dist/docs/methods/insert_table_column/index.js +21 -0
  312. package/dist/docs/methods/insert_table_column/index.js.map +1 -0
  313. package/dist/docs/methods/insert_table_column/schema.d.ts +20 -0
  314. package/dist/docs/methods/insert_table_column/schema.d.ts.map +1 -0
  315. package/dist/docs/methods/insert_table_column/schema.js +14 -0
  316. package/dist/docs/methods/insert_table_column/schema.js.map +1 -0
  317. package/dist/docs/methods/insert_table_row/handler.d.ts +5 -0
  318. package/dist/docs/methods/insert_table_row/handler.d.ts.map +1 -0
  319. package/dist/docs/methods/insert_table_row/handler.js +12 -0
  320. package/dist/docs/methods/insert_table_row/handler.js.map +1 -0
  321. package/dist/docs/methods/insert_table_row/index.d.ts +21 -0
  322. package/dist/docs/methods/insert_table_row/index.d.ts.map +1 -0
  323. package/dist/docs/methods/insert_table_row/index.js +21 -0
  324. package/dist/docs/methods/insert_table_row/index.js.map +1 -0
  325. package/dist/docs/methods/insert_table_row/schema.d.ts +20 -0
  326. package/dist/docs/methods/insert_table_row/schema.d.ts.map +1 -0
  327. package/dist/docs/methods/insert_table_row/schema.js +14 -0
  328. package/dist/docs/methods/insert_table_row/schema.js.map +1 -0
  329. package/dist/docs/methods/insert_text/handler.d.ts.map +1 -1
  330. package/dist/docs/methods/insert_text/handler.js +13 -2
  331. package/dist/docs/methods/insert_text/handler.js.map +1 -1
  332. package/dist/docs/methods/insert_text/index.d.ts +1 -0
  333. package/dist/docs/methods/insert_text/index.d.ts.map +1 -1
  334. package/dist/docs/methods/insert_text/schema.d.ts +1 -0
  335. package/dist/docs/methods/insert_text/schema.d.ts.map +1 -1
  336. package/dist/docs/methods/insert_text/schema.js +13 -3
  337. package/dist/docs/methods/insert_text/schema.js.map +1 -1
  338. package/dist/docs/methods/merge_table_cells/handler.d.ts +5 -0
  339. package/dist/docs/methods/merge_table_cells/handler.d.ts.map +1 -0
  340. package/dist/docs/methods/merge_table_cells/handler.js +9 -0
  341. package/dist/docs/methods/merge_table_cells/handler.js.map +1 -0
  342. package/dist/docs/methods/merge_table_cells/index.d.ts +26 -0
  343. package/dist/docs/methods/merge_table_cells/index.d.ts.map +1 -0
  344. package/dist/docs/methods/merge_table_cells/index.js +23 -0
  345. package/dist/docs/methods/merge_table_cells/index.js.map +1 -0
  346. package/dist/docs/methods/merge_table_cells/schema.d.ts +23 -0
  347. package/dist/docs/methods/merge_table_cells/schema.d.ts.map +1 -0
  348. package/dist/docs/methods/merge_table_cells/schema.js +11 -0
  349. package/dist/docs/methods/merge_table_cells/schema.js.map +1 -0
  350. package/dist/docs/methods/pin_table_header_rows/handler.d.ts +5 -0
  351. package/dist/docs/methods/pin_table_header_rows/handler.d.ts.map +1 -0
  352. package/dist/docs/methods/pin_table_header_rows/handler.js +12 -0
  353. package/dist/docs/methods/pin_table_header_rows/handler.js.map +1 -0
  354. package/dist/docs/methods/pin_table_header_rows/index.d.ts +17 -0
  355. package/dist/docs/methods/pin_table_header_rows/index.d.ts.map +1 -0
  356. package/dist/docs/methods/pin_table_header_rows/index.js +21 -0
  357. package/dist/docs/methods/pin_table_header_rows/index.js.map +1 -0
  358. package/dist/docs/methods/pin_table_header_rows/schema.d.ts +16 -0
  359. package/dist/docs/methods/pin_table_header_rows/schema.d.ts.map +1 -0
  360. package/dist/docs/methods/pin_table_header_rows/schema.js +16 -0
  361. package/dist/docs/methods/pin_table_header_rows/schema.js.map +1 -0
  362. package/dist/docs/methods/registry.d.ts +608 -24
  363. package/dist/docs/methods/registry.d.ts.map +1 -1
  364. package/dist/docs/methods/registry.js +57 -0
  365. package/dist/docs/methods/registry.js.map +1 -1
  366. package/dist/docs/methods/replace_image/handler.d.ts +5 -0
  367. package/dist/docs/methods/replace_image/handler.d.ts.map +1 -0
  368. package/dist/docs/methods/replace_image/handler.js +13 -0
  369. package/dist/docs/methods/replace_image/handler.js.map +1 -0
  370. package/dist/docs/methods/replace_image/index.d.ts +20 -0
  371. package/dist/docs/methods/replace_image/index.d.ts.map +1 -0
  372. package/dist/docs/methods/replace_image/index.js +24 -0
  373. package/dist/docs/methods/replace_image/index.js.map +1 -0
  374. package/dist/docs/methods/replace_image/schema.d.ts +16 -0
  375. package/dist/docs/methods/replace_image/schema.d.ts.map +1 -0
  376. package/dist/docs/methods/replace_image/schema.js +22 -0
  377. package/dist/docs/methods/replace_image/schema.js.map +1 -0
  378. package/dist/docs/methods/replace_named_range_content/handler.d.ts +5 -0
  379. package/dist/docs/methods/replace_named_range_content/handler.d.ts.map +1 -0
  380. package/dist/docs/methods/replace_named_range_content/handler.js +13 -0
  381. package/dist/docs/methods/replace_named_range_content/handler.js.map +1 -0
  382. package/dist/docs/methods/replace_named_range_content/index.d.ts +19 -0
  383. package/dist/docs/methods/replace_named_range_content/index.d.ts.map +1 -0
  384. package/dist/docs/methods/replace_named_range_content/index.js +25 -0
  385. package/dist/docs/methods/replace_named_range_content/index.js.map +1 -0
  386. package/dist/docs/methods/replace_named_range_content/schema.d.ts +14 -0
  387. package/dist/docs/methods/replace_named_range_content/schema.d.ts.map +1 -0
  388. package/dist/docs/methods/replace_named_range_content/schema.js +24 -0
  389. package/dist/docs/methods/replace_named_range_content/schema.js.map +1 -0
  390. package/dist/docs/methods/unmerge_table_cells/handler.d.ts +5 -0
  391. package/dist/docs/methods/unmerge_table_cells/handler.d.ts.map +1 -0
  392. package/dist/docs/methods/unmerge_table_cells/handler.js +9 -0
  393. package/dist/docs/methods/unmerge_table_cells/handler.js.map +1 -0
  394. package/dist/docs/methods/unmerge_table_cells/index.d.ts +26 -0
  395. package/dist/docs/methods/unmerge_table_cells/index.d.ts.map +1 -0
  396. package/dist/docs/methods/unmerge_table_cells/index.js +23 -0
  397. package/dist/docs/methods/unmerge_table_cells/index.js.map +1 -0
  398. package/dist/docs/methods/unmerge_table_cells/schema.d.ts +23 -0
  399. package/dist/docs/methods/unmerge_table_cells/schema.d.ts.map +1 -0
  400. package/dist/docs/methods/unmerge_table_cells/schema.js +11 -0
  401. package/dist/docs/methods/unmerge_table_cells/schema.js.map +1 -0
  402. package/dist/docs/methods/update_document_style/handler.d.ts +5 -0
  403. package/dist/docs/methods/update_document_style/handler.d.ts.map +1 -0
  404. package/dist/docs/methods/update_document_style/handler.js +38 -0
  405. package/dist/docs/methods/update_document_style/handler.js.map +1 -0
  406. package/dist/docs/methods/update_document_style/index.d.ts +40 -0
  407. package/dist/docs/methods/update_document_style/index.d.ts.map +1 -0
  408. package/dist/docs/methods/update_document_style/index.js +22 -0
  409. package/dist/docs/methods/update_document_style/index.js.map +1 -0
  410. package/dist/docs/methods/update_document_style/schema.d.ts +38 -0
  411. package/dist/docs/methods/update_document_style/schema.d.ts.map +1 -0
  412. package/dist/docs/methods/update_document_style/schema.js +13 -0
  413. package/dist/docs/methods/update_document_style/schema.js.map +1 -0
  414. package/dist/docs/methods/update_paragraph_style/handler.d.ts.map +1 -1
  415. package/dist/docs/methods/update_paragraph_style/handler.js +38 -2
  416. package/dist/docs/methods/update_paragraph_style/handler.js.map +1 -1
  417. package/dist/docs/methods/update_paragraph_style/index.d.ts +119 -0
  418. package/dist/docs/methods/update_paragraph_style/index.d.ts.map +1 -1
  419. package/dist/docs/methods/update_paragraph_style/index.js +1 -1
  420. package/dist/docs/methods/update_paragraph_style/index.js.map +1 -1
  421. package/dist/docs/methods/update_paragraph_style/schema.d.ts +119 -0
  422. package/dist/docs/methods/update_paragraph_style/schema.d.ts.map +1 -1
  423. package/dist/docs/methods/update_section_style/handler.d.ts +5 -0
  424. package/dist/docs/methods/update_section_style/handler.d.ts.map +1 -0
  425. package/dist/docs/methods/update_section_style/handler.js +31 -0
  426. package/dist/docs/methods/update_section_style/handler.js.map +1 -0
  427. package/dist/docs/methods/update_section_style/index.d.ts +38 -0
  428. package/dist/docs/methods/update_section_style/index.d.ts.map +1 -0
  429. package/dist/docs/methods/update_section_style/index.js +22 -0
  430. package/dist/docs/methods/update_section_style/index.js.map +1 -0
  431. package/dist/docs/methods/update_section_style/schema.d.ts +36 -0
  432. package/dist/docs/methods/update_section_style/schema.d.ts.map +1 -0
  433. package/dist/docs/methods/update_section_style/schema.js +15 -0
  434. package/dist/docs/methods/update_section_style/schema.js.map +1 -0
  435. package/dist/docs/methods/update_table_cell_style/handler.d.ts +5 -0
  436. package/dist/docs/methods/update_table_cell_style/handler.d.ts.map +1 -0
  437. package/dist/docs/methods/update_table_cell_style/handler.js +47 -0
  438. package/dist/docs/methods/update_table_cell_style/handler.js.map +1 -0
  439. package/dist/docs/methods/update_table_cell_style/index.d.ts +117 -0
  440. package/dist/docs/methods/update_table_cell_style/index.d.ts.map +1 -0
  441. package/dist/docs/methods/update_table_cell_style/index.js +22 -0
  442. package/dist/docs/methods/update_table_cell_style/index.js.map +1 -0
  443. package/dist/docs/methods/update_table_cell_style/schema.d.ts +115 -0
  444. package/dist/docs/methods/update_table_cell_style/schema.d.ts.map +1 -0
  445. package/dist/docs/methods/update_table_cell_style/schema.js +21 -0
  446. package/dist/docs/methods/update_table_cell_style/schema.js.map +1 -0
  447. package/dist/docs/methods/update_table_column_properties/handler.d.ts +5 -0
  448. package/dist/docs/methods/update_table_column_properties/handler.d.ts.map +1 -0
  449. package/dist/docs/methods/update_table_column_properties/handler.js +28 -0
  450. package/dist/docs/methods/update_table_column_properties/handler.js.map +1 -0
  451. package/dist/docs/methods/update_table_column_properties/index.d.ts +25 -0
  452. package/dist/docs/methods/update_table_column_properties/index.d.ts.map +1 -0
  453. package/dist/docs/methods/update_table_column_properties/index.js +22 -0
  454. package/dist/docs/methods/update_table_column_properties/index.js.map +1 -0
  455. package/dist/docs/methods/update_table_column_properties/schema.d.ts +23 -0
  456. package/dist/docs/methods/update_table_column_properties/schema.d.ts.map +1 -0
  457. package/dist/docs/methods/update_table_column_properties/schema.js +19 -0
  458. package/dist/docs/methods/update_table_column_properties/schema.js.map +1 -0
  459. package/dist/docs/methods/update_table_row_style/handler.d.ts +5 -0
  460. package/dist/docs/methods/update_table_row_style/handler.d.ts.map +1 -0
  461. package/dist/docs/methods/update_table_row_style/handler.js +28 -0
  462. package/dist/docs/methods/update_table_row_style/handler.js.map +1 -0
  463. package/dist/docs/methods/update_table_row_style/index.d.ts +23 -0
  464. package/dist/docs/methods/update_table_row_style/index.d.ts.map +1 -0
  465. package/dist/docs/methods/update_table_row_style/index.js +22 -0
  466. package/dist/docs/methods/update_table_row_style/index.js.map +1 -0
  467. package/dist/docs/methods/update_table_row_style/schema.d.ts +21 -0
  468. package/dist/docs/methods/update_table_row_style/schema.d.ts.map +1 -0
  469. package/dist/docs/methods/update_table_row_style/schema.js +19 -0
  470. package/dist/docs/methods/update_table_row_style/schema.js.map +1 -0
  471. package/dist/docs/methods/update_text_style/handler.d.ts.map +1 -1
  472. package/dist/docs/methods/update_text_style/handler.js +14 -5
  473. package/dist/docs/methods/update_text_style/handler.js.map +1 -1
  474. package/dist/docs/methods/update_text_style/index.d.ts +23 -0
  475. package/dist/docs/methods/update_text_style/index.d.ts.map +1 -1
  476. package/dist/docs/methods/update_text_style/index.js +1 -1
  477. package/dist/docs/methods/update_text_style/index.js.map +1 -1
  478. package/dist/docs/methods/update_text_style/schema.d.ts +23 -0
  479. package/dist/docs/methods/update_text_style/schema.d.ts.map +1 -1
  480. package/package.json +1 -1
@@ -1,11 +1,12 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
3
  * The paragraph styling an agent can set on a range: a curated projection of
4
- * the REST ParagraphStyle (indents, borders, shading, spacing modes, and
5
- * direction stay in issue #35). Omitting a field leaves the existing style
6
- * untouched, because the update's field mask is derived from the keys
7
- * provided. Setting namedStyleType also resets other paragraph properties to
8
- * match the named style, mirroring the Docs editor.
4
+ * the REST ParagraphStyle (tab stops and the heading id stay with issue #36).
5
+ * Omitting a field leaves the existing style untouched, because the update's
6
+ * field mask is derived from the keys provided. Setting namedStyleType also
7
+ * resets other paragraph properties to match the named style, mirroring the
8
+ * Docs editor. Dimension fields ride the fontSize precedent: plain numbers of
9
+ * points here, built into PT Dimensions at the request boundary.
9
10
  *
10
11
  * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#ParagraphStyle
11
12
  */
@@ -28,6 +29,124 @@ export declare const ParagraphStyle: z.ZodObject<{
28
29
  START: "START";
29
30
  }>>;
30
31
  lineSpacing: z.ZodOptional<z.ZodNumber>;
32
+ direction: z.ZodOptional<z.ZodEnum<{
33
+ LEFT_TO_RIGHT: "LEFT_TO_RIGHT";
34
+ RIGHT_TO_LEFT: "RIGHT_TO_LEFT";
35
+ }>>;
36
+ spacingMode: z.ZodOptional<z.ZodEnum<{
37
+ COLLAPSE_LISTS: "COLLAPSE_LISTS";
38
+ NEVER_COLLAPSE: "NEVER_COLLAPSE";
39
+ }>>;
40
+ spaceAbove: z.ZodOptional<z.ZodNumber>;
41
+ spaceBelow: z.ZodOptional<z.ZodNumber>;
42
+ indentFirstLine: z.ZodOptional<z.ZodNumber>;
43
+ indentStart: z.ZodOptional<z.ZodNumber>;
44
+ indentEnd: z.ZodOptional<z.ZodNumber>;
45
+ keepLinesTogether: z.ZodOptional<z.ZodBoolean>;
46
+ keepWithNext: z.ZodOptional<z.ZodBoolean>;
47
+ avoidWidowAndOrphan: z.ZodOptional<z.ZodBoolean>;
48
+ pageBreakBefore: z.ZodOptional<z.ZodBoolean>;
49
+ borderBetween: z.ZodOptional<z.ZodObject<{
50
+ color: z.ZodOptional<z.ZodObject<{
51
+ color: z.ZodOptional<z.ZodObject<{
52
+ rgbColor: z.ZodObject<{
53
+ red: z.ZodOptional<z.ZodNumber>;
54
+ green: z.ZodOptional<z.ZodNumber>;
55
+ blue: z.ZodOptional<z.ZodNumber>;
56
+ }, z.core.$strict>;
57
+ }, z.core.$strict>>;
58
+ }, z.core.$strict>>;
59
+ width: z.ZodOptional<z.ZodNumber>;
60
+ padding: z.ZodOptional<z.ZodNumber>;
61
+ dashStyle: z.ZodOptional<z.ZodEnum<{
62
+ DASH: "DASH";
63
+ DOT: "DOT";
64
+ SOLID: "SOLID";
65
+ }>>;
66
+ }, z.core.$strict>>;
67
+ borderTop: z.ZodOptional<z.ZodObject<{
68
+ color: z.ZodOptional<z.ZodObject<{
69
+ color: z.ZodOptional<z.ZodObject<{
70
+ rgbColor: z.ZodObject<{
71
+ red: z.ZodOptional<z.ZodNumber>;
72
+ green: z.ZodOptional<z.ZodNumber>;
73
+ blue: z.ZodOptional<z.ZodNumber>;
74
+ }, z.core.$strict>;
75
+ }, z.core.$strict>>;
76
+ }, z.core.$strict>>;
77
+ width: z.ZodOptional<z.ZodNumber>;
78
+ padding: z.ZodOptional<z.ZodNumber>;
79
+ dashStyle: z.ZodOptional<z.ZodEnum<{
80
+ DASH: "DASH";
81
+ DOT: "DOT";
82
+ SOLID: "SOLID";
83
+ }>>;
84
+ }, z.core.$strict>>;
85
+ borderBottom: z.ZodOptional<z.ZodObject<{
86
+ color: z.ZodOptional<z.ZodObject<{
87
+ color: z.ZodOptional<z.ZodObject<{
88
+ rgbColor: z.ZodObject<{
89
+ red: z.ZodOptional<z.ZodNumber>;
90
+ green: z.ZodOptional<z.ZodNumber>;
91
+ blue: z.ZodOptional<z.ZodNumber>;
92
+ }, z.core.$strict>;
93
+ }, z.core.$strict>>;
94
+ }, z.core.$strict>>;
95
+ width: z.ZodOptional<z.ZodNumber>;
96
+ padding: z.ZodOptional<z.ZodNumber>;
97
+ dashStyle: z.ZodOptional<z.ZodEnum<{
98
+ DASH: "DASH";
99
+ DOT: "DOT";
100
+ SOLID: "SOLID";
101
+ }>>;
102
+ }, z.core.$strict>>;
103
+ borderLeft: z.ZodOptional<z.ZodObject<{
104
+ color: z.ZodOptional<z.ZodObject<{
105
+ color: z.ZodOptional<z.ZodObject<{
106
+ rgbColor: z.ZodObject<{
107
+ red: z.ZodOptional<z.ZodNumber>;
108
+ green: z.ZodOptional<z.ZodNumber>;
109
+ blue: z.ZodOptional<z.ZodNumber>;
110
+ }, z.core.$strict>;
111
+ }, z.core.$strict>>;
112
+ }, z.core.$strict>>;
113
+ width: z.ZodOptional<z.ZodNumber>;
114
+ padding: z.ZodOptional<z.ZodNumber>;
115
+ dashStyle: z.ZodOptional<z.ZodEnum<{
116
+ DASH: "DASH";
117
+ DOT: "DOT";
118
+ SOLID: "SOLID";
119
+ }>>;
120
+ }, z.core.$strict>>;
121
+ borderRight: z.ZodOptional<z.ZodObject<{
122
+ color: z.ZodOptional<z.ZodObject<{
123
+ color: z.ZodOptional<z.ZodObject<{
124
+ rgbColor: z.ZodObject<{
125
+ red: z.ZodOptional<z.ZodNumber>;
126
+ green: z.ZodOptional<z.ZodNumber>;
127
+ blue: z.ZodOptional<z.ZodNumber>;
128
+ }, z.core.$strict>;
129
+ }, z.core.$strict>>;
130
+ }, z.core.$strict>>;
131
+ width: z.ZodOptional<z.ZodNumber>;
132
+ padding: z.ZodOptional<z.ZodNumber>;
133
+ dashStyle: z.ZodOptional<z.ZodEnum<{
134
+ DASH: "DASH";
135
+ DOT: "DOT";
136
+ SOLID: "SOLID";
137
+ }>>;
138
+ }, z.core.$strict>>;
139
+ shading: z.ZodOptional<z.ZodObject<{
140
+ backgroundColor: z.ZodOptional<z.ZodObject<{
141
+ color: z.ZodOptional<z.ZodObject<{
142
+ rgbColor: z.ZodObject<{
143
+ red: z.ZodOptional<z.ZodNumber>;
144
+ green: z.ZodOptional<z.ZodNumber>;
145
+ blue: z.ZodOptional<z.ZodNumber>;
146
+ }, z.core.$strict>;
147
+ }, z.core.$strict>>;
148
+ }, z.core.$strict>>;
149
+ }, z.core.$strict>>;
31
150
  }, z.core.$strict>;
32
151
  export type ParagraphStyle = z.infer<typeof ParagraphStyle>;
33
152
  //# sourceMappingURL=ParagraphStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParagraphStyle.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/ParagraphStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;kBA0BzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"ParagraphStyle.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/ParagraphStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAmGzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
+ import { ParagraphBorder } from './ParagraphBorder.js';
3
+ import { Shading } from './Shading.js';
2
4
  /**
3
5
  * The paragraph styling an agent can set on a range: a curated projection of
4
- * the REST ParagraphStyle (indents, borders, shading, spacing modes, and
5
- * direction stay in issue #35). Omitting a field leaves the existing style
6
- * untouched, because the update's field mask is derived from the keys
7
- * provided. Setting namedStyleType also resets other paragraph properties to
8
- * match the named style, mirroring the Docs editor.
6
+ * the REST ParagraphStyle (tab stops and the heading id stay with issue #36).
7
+ * Omitting a field leaves the existing style untouched, because the update's
8
+ * field mask is derived from the keys provided. Setting namedStyleType also
9
+ * resets other paragraph properties to match the named style, mirroring the
10
+ * Docs editor. Dimension fields ride the fontSize precedent: plain numbers of
11
+ * points here, built into PT Dimensions at the request boundary.
9
12
  *
10
13
  * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#ParagraphStyle
11
14
  */
@@ -33,5 +36,60 @@ export const ParagraphStyle = z.strictObject({
33
36
  .positive()
34
37
  .optional()
35
38
  .describe('The amount of space between lines, as a percentage of normal (100 is single-spaced).'),
39
+ direction: z
40
+ .enum(['LEFT_TO_RIGHT', 'RIGHT_TO_LEFT'])
41
+ .optional()
42
+ .describe('The text direction of the paragraph. Direction is not inherited, so an unset value reads as LEFT_TO_RIGHT.'),
43
+ spacingMode: z
44
+ .enum(['NEVER_COLLAPSE', 'COLLAPSE_LISTS'])
45
+ .optional()
46
+ .describe('The spacing mode for the paragraph: NEVER_COLLAPSE always renders the space between paragraphs, COLLAPSE_LISTS skips it between list elements.'),
47
+ spaceAbove: z
48
+ .number()
49
+ .min(0)
50
+ .optional()
51
+ .describe('The amount of extra space above the paragraph, in points.'),
52
+ spaceBelow: z
53
+ .number()
54
+ .min(0)
55
+ .optional()
56
+ .describe('The amount of extra space below the paragraph, in points.'),
57
+ indentFirstLine: z
58
+ .number()
59
+ .min(0)
60
+ .optional()
61
+ .describe('The amount to indent the first line of the paragraph, in points.'),
62
+ indentStart: z
63
+ .number()
64
+ .min(0)
65
+ .optional()
66
+ .describe('The amount to indent the paragraph on the side that corresponds to the start of the text, in points.'),
67
+ indentEnd: z
68
+ .number()
69
+ .min(0)
70
+ .optional()
71
+ .describe('The amount to indent the paragraph on the side that corresponds to the end of the text, in points.'),
72
+ keepLinesTogether: z
73
+ .boolean()
74
+ .optional()
75
+ .describe('Whether all lines of the paragraph should be laid out on the same page if possible.'),
76
+ keepWithNext: z
77
+ .boolean()
78
+ .optional()
79
+ .describe('Whether at least part of the paragraph should be laid out on the same page as the next paragraph if possible.'),
80
+ avoidWidowAndOrphan: z
81
+ .boolean()
82
+ .optional()
83
+ .describe('Whether to avoid widows and orphans for the paragraph.'),
84
+ pageBreakBefore: z
85
+ .boolean()
86
+ .optional()
87
+ .describe('Whether the current paragraph should always start at the beginning of a page.'),
88
+ borderBetween: ParagraphBorder.optional().describe('The border between this paragraph and the next and previous paragraphs, rendered when the adjacent paragraph has the same border and indent properties.'),
89
+ borderTop: ParagraphBorder.optional().describe('The border at the top of the paragraph, rendered when the paragraph above has different border and indent properties.'),
90
+ borderBottom: ParagraphBorder.optional().describe('The border at the bottom of the paragraph, rendered when the paragraph below has different border and indent properties.'),
91
+ borderLeft: ParagraphBorder.optional().describe('The border to the left of the paragraph.'),
92
+ borderRight: ParagraphBorder.optional().describe('The border to the right of the paragraph.'),
93
+ shading: Shading.optional().describe('The shading of the paragraph: its background fill.'),
36
94
  });
37
95
  //# sourceMappingURL=ParagraphStyle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParagraphStyle.js","sourceRoot":"","sources":["../../../src/docs/entities/ParagraphStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,cAAc,EAAE,CAAC;SACd,IAAI,CAAC;QACJ,aAAa;QACb,OAAO;QACP,UAAU;QACV,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;KACZ,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,iFAAiF,CAAC;IAC9F,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;SAC7C,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * The paragraph styling an agent can set on a range: a curated projection of\n * the REST ParagraphStyle (indents, borders, shading, spacing modes, and\n * direction stay in issue #35). Omitting a field leaves the existing style\n * untouched, because the update's field mask is derived from the keys\n * provided. Setting namedStyleType also resets other paragraph properties to\n * match the named style, mirroring the Docs editor.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#ParagraphStyle\n */\nexport const ParagraphStyle = z.strictObject({\n namedStyleType: z\n .enum([\n 'NORMAL_TEXT',\n 'TITLE',\n 'SUBTITLE',\n 'HEADING_1',\n 'HEADING_2',\n 'HEADING_3',\n 'HEADING_4',\n 'HEADING_5',\n 'HEADING_6',\n ])\n .optional()\n .describe('The named style type of the paragraph (headings, title, subtitle, normal text).'),\n alignment: z\n .enum(['START', 'CENTER', 'END', 'JUSTIFIED'])\n .optional()\n .describe('The text alignment for the paragraph.'),\n lineSpacing: z\n .number()\n .positive()\n .optional()\n .describe(\n 'The amount of space between lines, as a percentage of normal (100 is single-spaced).',\n ),\n});\n\nexport type ParagraphStyle = z.infer<typeof ParagraphStyle>;\n"]}
1
+ {"version":3,"file":"ParagraphStyle.js","sourceRoot":"","sources":["../../../src/docs/entities/ParagraphStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,cAAc,EAAE,CAAC;SACd,IAAI,CAAC;QACJ,aAAa;QACb,OAAO;QACP,UAAU;QACV,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;QACX,WAAW;KACZ,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,iFAAiF,CAAC;IAC9F,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC;SAC7C,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;IACH,SAAS,EAAE,CAAC;SACT,IAAI,CAAC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,4GAA4G,CAC7G;IACH,WAAW,EAAE,CAAC;SACX,IAAI,CAAC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;SAC1C,QAAQ,EAAE;SACV,QAAQ,CACP,gJAAgJ,CACjJ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;IACxE,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,kEAAkE,CAAC;IAC/E,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,sGAAsG,CACvG;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,oGAAoG,CACrG;IACH,iBAAiB,EAAE,CAAC;SACjB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF,CACtF;IACH,YAAY,EAAE,CAAC;SACZ,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,+GAA+G,CAChH;IACH,mBAAmB,EAAE,CAAC;SACnB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,wDAAwD,CAAC;IACrE,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,+EAA+E,CAAC;IAC5F,aAAa,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,yJAAyJ,CAC1J;IACD,SAAS,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC5C,uHAAuH,CACxH;IACD,YAAY,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC/C,0HAA0H,CAC3H;IACD,UAAU,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0CAA0C,CAAC;IAC3F,WAAW,EAAE,eAAe,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;IAC7F,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,oDAAoD,CAAC;CAC3F,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { ParagraphBorder } from './ParagraphBorder.js';\nimport { Shading } from './Shading.js';\n\n/**\n * The paragraph styling an agent can set on a range: a curated projection of\n * the REST ParagraphStyle (tab stops and the heading id stay with issue #36).\n * Omitting a field leaves the existing style untouched, because the update's\n * field mask is derived from the keys provided. Setting namedStyleType also\n * resets other paragraph properties to match the named style, mirroring the\n * Docs editor. Dimension fields ride the fontSize precedent: plain numbers of\n * points here, built into PT Dimensions at the request boundary.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#ParagraphStyle\n */\nexport const ParagraphStyle = z.strictObject({\n namedStyleType: z\n .enum([\n 'NORMAL_TEXT',\n 'TITLE',\n 'SUBTITLE',\n 'HEADING_1',\n 'HEADING_2',\n 'HEADING_3',\n 'HEADING_4',\n 'HEADING_5',\n 'HEADING_6',\n ])\n .optional()\n .describe('The named style type of the paragraph (headings, title, subtitle, normal text).'),\n alignment: z\n .enum(['START', 'CENTER', 'END', 'JUSTIFIED'])\n .optional()\n .describe('The text alignment for the paragraph.'),\n lineSpacing: z\n .number()\n .positive()\n .optional()\n .describe(\n 'The amount of space between lines, as a percentage of normal (100 is single-spaced).',\n ),\n direction: z\n .enum(['LEFT_TO_RIGHT', 'RIGHT_TO_LEFT'])\n .optional()\n .describe(\n 'The text direction of the paragraph. Direction is not inherited, so an unset value reads as LEFT_TO_RIGHT.',\n ),\n spacingMode: z\n .enum(['NEVER_COLLAPSE', 'COLLAPSE_LISTS'])\n .optional()\n .describe(\n 'The spacing mode for the paragraph: NEVER_COLLAPSE always renders the space between paragraphs, COLLAPSE_LISTS skips it between list elements.',\n ),\n spaceAbove: z\n .number()\n .min(0)\n .optional()\n .describe('The amount of extra space above the paragraph, in points.'),\n spaceBelow: z\n .number()\n .min(0)\n .optional()\n .describe('The amount of extra space below the paragraph, in points.'),\n indentFirstLine: z\n .number()\n .min(0)\n .optional()\n .describe('The amount to indent the first line of the paragraph, in points.'),\n indentStart: z\n .number()\n .min(0)\n .optional()\n .describe(\n 'The amount to indent the paragraph on the side that corresponds to the start of the text, in points.',\n ),\n indentEnd: z\n .number()\n .min(0)\n .optional()\n .describe(\n 'The amount to indent the paragraph on the side that corresponds to the end of the text, in points.',\n ),\n keepLinesTogether: z\n .boolean()\n .optional()\n .describe(\n 'Whether all lines of the paragraph should be laid out on the same page if possible.',\n ),\n keepWithNext: z\n .boolean()\n .optional()\n .describe(\n 'Whether at least part of the paragraph should be laid out on the same page as the next paragraph if possible.',\n ),\n avoidWidowAndOrphan: z\n .boolean()\n .optional()\n .describe('Whether to avoid widows and orphans for the paragraph.'),\n pageBreakBefore: z\n .boolean()\n .optional()\n .describe('Whether the current paragraph should always start at the beginning of a page.'),\n borderBetween: ParagraphBorder.optional().describe(\n 'The border between this paragraph and the next and previous paragraphs, rendered when the adjacent paragraph has the same border and indent properties.',\n ),\n borderTop: ParagraphBorder.optional().describe(\n 'The border at the top of the paragraph, rendered when the paragraph above has different border and indent properties.',\n ),\n borderBottom: ParagraphBorder.optional().describe(\n 'The border at the bottom of the paragraph, rendered when the paragraph below has different border and indent properties.',\n ),\n borderLeft: ParagraphBorder.optional().describe('The border to the left of the paragraph.'),\n borderRight: ParagraphBorder.optional().describe('The border to the right of the paragraph.'),\n shading: Shading.optional().describe('The shading of the paragraph: its background fill.'),\n});\n\nexport type ParagraphStyle = z.infer<typeof ParagraphStyle>;\n"]}
@@ -1,12 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * A contiguous span of document body content, in zero-based UTF-16 code
4
- * units, end-exclusive. The REST Range's `segmentId` and `tabId` are not
5
- * exposed (issue #36): ranges address the body of the first tab.
3
+ * A contiguous span of document content, in zero-based UTF-16 code units,
4
+ * end-exclusive. A range addresses the body (the default) or, via
5
+ * `segmentId`, a header, footer, or footnote segment (issue #36's segment
6
+ * addressing; the REST Range's `tabId` stays deferred there): ranges without
7
+ * a segment ID address the body of the first tab.
6
8
  *
7
9
  * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Range
8
10
  */
9
11
  export declare const Range: z.ZodObject<{
12
+ segmentId: z.ZodOptional<z.ZodString>;
10
13
  startIndex: z.ZodNumber;
11
14
  endIndex: z.ZodNumber;
12
15
  }, z.core.$strict>;
@@ -1 +1 @@
1
- {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/Range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;;;kBAehB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"Range.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/Range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,KAAK;;;;kBAgCf,CAAC;AAEJ,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}
@@ -1,21 +1,34 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * A contiguous span of document body content, in zero-based UTF-16 code
4
- * units, end-exclusive. The REST Range's `segmentId` and `tabId` are not
5
- * exposed (issue #36): ranges address the body of the first tab.
3
+ * A contiguous span of document content, in zero-based UTF-16 code units,
4
+ * end-exclusive. A range addresses the body (the default) or, via
5
+ * `segmentId`, a header, footer, or footnote segment (issue #36's segment
6
+ * addressing; the REST Range's `tabId` stays deferred there): ranges without
7
+ * a segment ID address the body of the first tab.
6
8
  *
7
9
  * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Range
8
10
  */
9
- export const Range = z.strictObject({
11
+ export const Range = z
12
+ .strictObject({
13
+ segmentId: z
14
+ .string()
15
+ .optional()
16
+ .describe("The ID of the header, footer, or footnote this range is contained in (a headerId, footerId, or footnoteId from get_document). An empty or omitted segment ID signifies the document's body."),
10
17
  startIndex: z
11
18
  .number()
12
19
  .int()
13
- .min(1)
14
- .describe('The zero-based start index of the range, inclusive, in UTF-16 code units. Body content starts at index 1 (index 0 is the initial section break). Indices shift on every edit; re-read the document before computing ranges.'),
20
+ .min(0)
21
+ .describe('The zero-based start index of the range, inclusive, in UTF-16 code units, relative to the beginning of the segment. Body content starts at index 1 (index 0 is the initial section break); header, footer, and footnote content starts at index 0. Indices shift on every edit; re-read the document before computing ranges.'),
15
22
  endIndex: z
16
23
  .number()
17
24
  .int()
18
- .min(2)
25
+ .min(1)
19
26
  .describe('The zero-based end index of the range, exclusive, in UTF-16 code units; must be greater than startIndex.'),
27
+ })
28
+ .refine((range) => range.endIndex > range.startIndex, {
29
+ message: 'endIndex must be greater than startIndex.',
30
+ })
31
+ .refine((range) => range.startIndex >= 1 || (range.segmentId !== undefined && range.segmentId !== ''), {
32
+ message: 'startIndex 0 addresses a segment; body ranges start at index 1 (index 0 is the initial section break).',
20
33
  });
21
34
  //# sourceMappingURL=Range.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Range.js","sourceRoot":"","sources":["../../../src/docs/entities/Range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,YAAY,CAAC;IAClC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,6NAA6N,CAC9N;IACH,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A contiguous span of document body content, in zero-based UTF-16 code\n * units, end-exclusive. The REST Range's `segmentId` and `tabId` are not\n * exposed (issue #36): ranges address the body of the first tab.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Range\n */\nexport const Range = z.strictObject({\n startIndex: z\n .number()\n .int()\n .min(1)\n .describe(\n 'The zero-based start index of the range, inclusive, in UTF-16 code units. Body content starts at index 1 (index 0 is the initial section break). Indices shift on every edit; re-read the document before computing ranges.',\n ),\n endIndex: z\n .number()\n .int()\n .min(2)\n .describe(\n 'The zero-based end index of the range, exclusive, in UTF-16 code units; must be greater than startIndex.',\n ),\n});\n\nexport type Range = z.infer<typeof Range>;\n"]}
1
+ {"version":3,"file":"Range.js","sourceRoot":"","sources":["../../../src/docs/entities/Range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC;KACnB,YAAY,CAAC;IACZ,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,6LAA6L,CAC9L;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,+TAA+T,CAChU;IACH,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,CACP,0GAA0G,CAC3G;CACJ,CAAC;KACD,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,GAAG,KAAK,CAAC,UAAU,EAAE;IACpD,OAAO,EAAE,2CAA2C;CACrD,CAAC;KACD,MAAM,CACL,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,KAAK,SAAS,IAAI,KAAK,CAAC,SAAS,KAAK,EAAE,CAAC,EAC7F;IACE,OAAO,EACL,wGAAwG;CAC3G,CACF,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A contiguous span of document content, in zero-based UTF-16 code units,\n * end-exclusive. A range addresses the body (the default) or, via\n * `segmentId`, a header, footer, or footnote segment (issue #36's segment\n * addressing; the REST Range's `tabId` stays deferred there): ranges without\n * a segment ID address the body of the first tab.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Range\n */\nexport const Range = z\n .strictObject({\n segmentId: z\n .string()\n .optional()\n .describe(\n \"The ID of the header, footer, or footnote this range is contained in (a headerId, footerId, or footnoteId from get_document). An empty or omitted segment ID signifies the document's body.\",\n ),\n startIndex: z\n .number()\n .int()\n .min(0)\n .describe(\n 'The zero-based start index of the range, inclusive, in UTF-16 code units, relative to the beginning of the segment. Body content starts at index 1 (index 0 is the initial section break); header, footer, and footnote content starts at index 0. Indices shift on every edit; re-read the document before computing ranges.',\n ),\n endIndex: z\n .number()\n .int()\n .min(1)\n .describe(\n 'The zero-based end index of the range, exclusive, in UTF-16 code units; must be greater than startIndex.',\n ),\n })\n .refine((range) => range.endIndex > range.startIndex, {\n message: 'endIndex must be greater than startIndex.',\n })\n .refine(\n (range) => range.startIndex >= 1 || (range.segmentId !== undefined && range.segmentId !== ''),\n {\n message:\n 'startIndex 0 addresses a segment; body ranges start at index 1 (index 0 is the initial section break).',\n },\n );\n\nexport type Range = z.infer<typeof Range>;\n"]}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A solid RGB color. Components are floats from 0.0 to 1.0; a missing
4
+ * component reads as 0.
5
+ *
6
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#RgbColor
7
+ */
8
+ export declare const RgbColor: z.ZodObject<{
9
+ red: z.ZodOptional<z.ZodNumber>;
10
+ green: z.ZodOptional<z.ZodNumber>;
11
+ blue: z.ZodOptional<z.ZodNumber>;
12
+ }, z.core.$strict>;
13
+ export type RgbColor = z.infer<typeof RgbColor>;
14
+ //# sourceMappingURL=RgbColor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RgbColor.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/RgbColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;;;;kBAmBnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A solid RGB color. Components are floats from 0.0 to 1.0; a missing
4
+ * component reads as 0.
5
+ *
6
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#RgbColor
7
+ */
8
+ export const RgbColor = z.strictObject({
9
+ red: z
10
+ .number()
11
+ .min(0)
12
+ .max(1)
13
+ .optional()
14
+ .describe('The red component of the color, from 0.0 to 1.0.'),
15
+ green: z
16
+ .number()
17
+ .min(0)
18
+ .max(1)
19
+ .optional()
20
+ .describe('The green component of the color, from 0.0 to 1.0.'),
21
+ blue: z
22
+ .number()
23
+ .min(0)
24
+ .max(1)
25
+ .optional()
26
+ .describe('The blue component of the color, from 0.0 to 1.0.'),
27
+ });
28
+ //# sourceMappingURL=RgbColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RgbColor.js","sourceRoot":"","sources":["../../../src/docs/entities/RgbColor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,YAAY,CAAC;IACrC,GAAG,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACjE,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,mDAAmD,CAAC;CACjE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A solid RGB color. Components are floats from 0.0 to 1.0; a missing\n * component reads as 0.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#RgbColor\n */\nexport const RgbColor = z.strictObject({\n red: z\n .number()\n .min(0)\n .max(1)\n .optional()\n .describe('The red component of the color, from 0.0 to 1.0.'),\n green: z\n .number()\n .min(0)\n .max(1)\n .optional()\n .describe('The green component of the color, from 0.0 to 1.0.'),\n blue: z\n .number()\n .min(0)\n .max(1)\n .optional()\n .describe('The blue component of the color, from 0.0 to 1.0.'),\n});\n\nexport type RgbColor = z.infer<typeof RgbColor>;\n"]}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Properties of one column in a multi-column section. Dimension fields ride
4
+ * the fontSize precedent: plain numbers of points here, built into PT
5
+ * Dimensions at the request boundary.
6
+ *
7
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionColumnProperties
8
+ */
9
+ export declare const SectionColumnProperties: z.ZodObject<{
10
+ width: z.ZodOptional<z.ZodNumber>;
11
+ paddingEnd: z.ZodOptional<z.ZodNumber>;
12
+ }, z.core.$strict>;
13
+ export type SectionColumnProperties = z.infer<typeof SectionColumnProperties>;
14
+ //# sourceMappingURL=SectionColumnProperties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionColumnProperties.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/SectionColumnProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;kBAOlC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * Properties of one column in a multi-column section. Dimension fields ride
4
+ * the fontSize precedent: plain numbers of points here, built into PT
5
+ * Dimensions at the request boundary.
6
+ *
7
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionColumnProperties
8
+ */
9
+ export const SectionColumnProperties = z.strictObject({
10
+ width: z.number().positive().optional().describe('The width of the column, in points.'),
11
+ paddingEnd: z
12
+ .number()
13
+ .min(0)
14
+ .optional()
15
+ .describe('The padding at the end of the column, in points.'),
16
+ });
17
+ //# sourceMappingURL=SectionColumnProperties.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionColumnProperties.js","sourceRoot":"","sources":["../../../src/docs/entities/SectionColumnProperties.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,YAAY,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;IACvF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * Properties of one column in a multi-column section. Dimension fields ride\n * the fontSize precedent: plain numbers of points here, built into PT\n * Dimensions at the request boundary.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionColumnProperties\n */\nexport const SectionColumnProperties = z.strictObject({\n width: z.number().positive().optional().describe('The width of the column, in points.'),\n paddingEnd: z\n .number()\n .min(0)\n .optional()\n .describe('The padding at the end of the column, in points.'),\n});\n\nexport type SectionColumnProperties = z.infer<typeof SectionColumnProperties>;\n"]}
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The section styling an agent can set: a curated projection of the REST
4
+ * SectionStyle restricted to its unambiguously updatable core (columns,
5
+ * content direction, margins). The header and footer ids are read-only, and
6
+ * sectionType is set at insertion (insert_section_break), not by update;
7
+ * the remaining section fields (page number start, orientation, first-page
8
+ * header toggle) stay with issue #35. Dimension fields ride the fontSize
9
+ * precedent: plain numbers of points here, built into PT Dimensions at the
10
+ * request boundary.
11
+ *
12
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionStyle
13
+ */
14
+ export declare const SectionStyle: z.ZodObject<{
15
+ columnProperties: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
+ width: z.ZodOptional<z.ZodNumber>;
17
+ paddingEnd: z.ZodOptional<z.ZodNumber>;
18
+ }, z.core.$strict>>>;
19
+ columnSeparatorStyle: z.ZodOptional<z.ZodEnum<{
20
+ BETWEEN_EACH_COLUMN: "BETWEEN_EACH_COLUMN";
21
+ NONE: "NONE";
22
+ }>>;
23
+ contentDirection: z.ZodOptional<z.ZodEnum<{
24
+ LEFT_TO_RIGHT: "LEFT_TO_RIGHT";
25
+ RIGHT_TO_LEFT: "RIGHT_TO_LEFT";
26
+ }>>;
27
+ marginTop: z.ZodOptional<z.ZodNumber>;
28
+ marginBottom: z.ZodOptional<z.ZodNumber>;
29
+ marginLeft: z.ZodOptional<z.ZodNumber>;
30
+ marginRight: z.ZodOptional<z.ZodNumber>;
31
+ marginHeader: z.ZodOptional<z.ZodNumber>;
32
+ marginFooter: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strict>;
34
+ export type SectionStyle = z.infer<typeof SectionStyle>;
35
+ //# sourceMappingURL=SectionStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionStyle.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/SectionStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;kBAsDvB,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
@@ -0,0 +1,60 @@
1
+ import { z } from 'zod';
2
+ import { SectionColumnProperties } from './SectionColumnProperties.js';
3
+ /**
4
+ * The section styling an agent can set: a curated projection of the REST
5
+ * SectionStyle restricted to its unambiguously updatable core (columns,
6
+ * content direction, margins). The header and footer ids are read-only, and
7
+ * sectionType is set at insertion (insert_section_break), not by update;
8
+ * the remaining section fields (page number start, orientation, first-page
9
+ * header toggle) stay with issue #35. Dimension fields ride the fontSize
10
+ * precedent: plain numbers of points here, built into PT Dimensions at the
11
+ * request boundary.
12
+ *
13
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionStyle
14
+ */
15
+ export const SectionStyle = z.strictObject({
16
+ columnProperties: z
17
+ .array(SectionColumnProperties)
18
+ .max(3)
19
+ .optional()
20
+ .describe('The columns the section contains, one entry per column (an empty object per column lets Docs compute equal widths). Sections can have at most three columns; when updating, providing an empty list restores the single-column layout, and omitting the field leaves the columns unchanged (the update mask is derived from the provided keys).'),
21
+ columnSeparatorStyle: z
22
+ .enum(['NONE', 'BETWEEN_EACH_COLUMN'])
23
+ .optional()
24
+ .describe('The style of column separators: NONE renders no separator lines, BETWEEN_EACH_COLUMN renders one between each column.'),
25
+ contentDirection: z
26
+ .enum(['LEFT_TO_RIGHT', 'RIGHT_TO_LEFT'])
27
+ .optional()
28
+ .describe('The content direction of the section. Updating it also flips the start and end margins.'),
29
+ marginTop: z
30
+ .number()
31
+ .min(0)
32
+ .optional()
33
+ .describe('The top page margin of the section, in points.'),
34
+ marginBottom: z
35
+ .number()
36
+ .min(0)
37
+ .optional()
38
+ .describe('The bottom page margin of the section, in points.'),
39
+ marginLeft: z
40
+ .number()
41
+ .min(0)
42
+ .optional()
43
+ .describe('The left page margin of the section, in points. Updating it adjusts column style in the section.'),
44
+ marginRight: z
45
+ .number()
46
+ .min(0)
47
+ .optional()
48
+ .describe('The right page margin of the section, in points. Updating it adjusts column style in the section.'),
49
+ marginHeader: z
50
+ .number()
51
+ .min(0)
52
+ .optional()
53
+ .describe('The header margin of the section, in points.'),
54
+ marginFooter: z
55
+ .number()
56
+ .min(0)
57
+ .optional()
58
+ .describe('The footer margin of the section, in points.'),
59
+ });
60
+ //# sourceMappingURL=SectionStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionStyle.js","sourceRoot":"","sources":["../../../src/docs/entities/SectionStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,YAAY,CAAC;IACzC,gBAAgB,EAAE,CAAC;SAChB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,iVAAiV,CAClV;IACH,oBAAoB,EAAE,CAAC;SACpB,IAAI,CAAC,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;SACrC,QAAQ,EAAE;SACV,QAAQ,CACP,uHAAuH,CACxH;IACH,gBAAgB,EAAE,CAAC;SAChB,IAAI,CAAC,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;SACxC,QAAQ,EAAE;SACV,QAAQ,CACP,yFAAyF,CAC1F;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,mDAAmD,CAAC;IAChE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,kGAAkG,CACnG;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;IAC3D,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,GAAG,CAAC,CAAC,CAAC;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,8CAA8C,CAAC;CAC5D,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { SectionColumnProperties } from './SectionColumnProperties.js';\n\n/**\n * The section styling an agent can set: a curated projection of the REST\n * SectionStyle restricted to its unambiguously updatable core (columns,\n * content direction, margins). The header and footer ids are read-only, and\n * sectionType is set at insertion (insert_section_break), not by update;\n * the remaining section fields (page number start, orientation, first-page\n * header toggle) stay with issue #35. Dimension fields ride the fontSize\n * precedent: plain numbers of points here, built into PT Dimensions at the\n * request boundary.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#SectionStyle\n */\nexport const SectionStyle = z.strictObject({\n columnProperties: z\n .array(SectionColumnProperties)\n .max(3)\n .optional()\n .describe(\n 'The columns the section contains, one entry per column (an empty object per column lets Docs compute equal widths). Sections can have at most three columns; when updating, providing an empty list restores the single-column layout, and omitting the field leaves the columns unchanged (the update mask is derived from the provided keys).',\n ),\n columnSeparatorStyle: z\n .enum(['NONE', 'BETWEEN_EACH_COLUMN'])\n .optional()\n .describe(\n 'The style of column separators: NONE renders no separator lines, BETWEEN_EACH_COLUMN renders one between each column.',\n ),\n contentDirection: z\n .enum(['LEFT_TO_RIGHT', 'RIGHT_TO_LEFT'])\n .optional()\n .describe(\n 'The content direction of the section. Updating it also flips the start and end margins.',\n ),\n marginTop: z\n .number()\n .min(0)\n .optional()\n .describe('The top page margin of the section, in points.'),\n marginBottom: z\n .number()\n .min(0)\n .optional()\n .describe('The bottom page margin of the section, in points.'),\n marginLeft: z\n .number()\n .min(0)\n .optional()\n .describe(\n 'The left page margin of the section, in points. Updating it adjusts column style in the section.',\n ),\n marginRight: z\n .number()\n .min(0)\n .optional()\n .describe(\n 'The right page margin of the section, in points. Updating it adjusts column style in the section.',\n ),\n marginHeader: z\n .number()\n .min(0)\n .optional()\n .describe('The header margin of the section, in points.'),\n marginFooter: z\n .number()\n .min(0)\n .optional()\n .describe('The footer margin of the section, in points.'),\n});\n\nexport type SectionStyle = z.infer<typeof SectionStyle>;\n"]}
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The shading of a paragraph: its background fill.
4
+ *
5
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Shading
6
+ */
7
+ export declare const Shading: z.ZodObject<{
8
+ backgroundColor: z.ZodOptional<z.ZodObject<{
9
+ color: z.ZodOptional<z.ZodObject<{
10
+ rgbColor: z.ZodObject<{
11
+ red: z.ZodOptional<z.ZodNumber>;
12
+ green: z.ZodOptional<z.ZodNumber>;
13
+ blue: z.ZodOptional<z.ZodNumber>;
14
+ }, z.core.$strict>;
15
+ }, z.core.$strict>>;
16
+ }, z.core.$strict>>;
17
+ }, z.core.$strict>;
18
+ export type Shading = z.infer<typeof Shading>;
19
+ //# sourceMappingURL=Shading.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shading.d.ts","sourceRoot":"","sources":["../../../src/docs/entities/Shading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;GAIG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;kBAIlB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { OptionalColor } from './OptionalColor.js';
3
+ /**
4
+ * The shading of a paragraph: its background fill.
5
+ *
6
+ * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Shading
7
+ */
8
+ export const Shading = z.strictObject({
9
+ backgroundColor: OptionalColor.optional().describe('The background color of the paragraph shading.'),
10
+ });
11
+ //# sourceMappingURL=Shading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shading.js","sourceRoot":"","sources":["../../../src/docs/entities/Shading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,YAAY,CAAC;IACpC,eAAe,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAChD,gDAAgD,CACjD;CACF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { OptionalColor } from './OptionalColor.js';\n\n/**\n * The shading of a paragraph: its background fill.\n *\n * @see https://developers.google.com/workspace/docs/api/reference/rest/v1/documents#Shading\n */\nexport const Shading = z.strictObject({\n backgroundColor: OptionalColor.optional().describe(\n 'The background color of the paragraph shading.',\n ),\n});\n\nexport type Shading = z.infer<typeof Shading>;\n"]}