google-mcp-suite 1.6.0 → 1.8.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 (526) hide show
  1. package/ADOPTING.md +423 -0
  2. package/PROVISIONING.md +332 -0
  3. package/README.md +17 -8
  4. package/dist/doctor/services.d.ts.map +1 -1
  5. package/dist/doctor/services.js +13 -1
  6. package/dist/doctor/services.js.map +1 -1
  7. package/dist/drive/capabilities.d.ts +3 -0
  8. package/dist/drive/capabilities.d.ts.map +1 -0
  9. package/dist/drive/capabilities.js +21 -0
  10. package/dist/drive/capabilities.js.map +1 -0
  11. package/dist/drive/entities/About.d.ts +26 -0
  12. package/dist/drive/entities/About.d.ts.map +1 -0
  13. package/dist/drive/entities/About.js +31 -0
  14. package/dist/drive/entities/About.js.map +1 -0
  15. package/dist/drive/entities/Comment.d.ts +48 -0
  16. package/dist/drive/entities/Comment.d.ts.map +1 -0
  17. package/dist/drive/entities/Comment.js +53 -0
  18. package/dist/drive/entities/Comment.js.map +1 -0
  19. package/dist/drive/entities/File.d.ts +42 -0
  20. package/dist/drive/entities/File.d.ts.map +1 -0
  21. package/dist/drive/entities/File.js +75 -0
  22. package/dist/drive/entities/File.js.map +1 -0
  23. package/dist/drive/entities/Permission.d.ts +33 -0
  24. package/dist/drive/entities/Permission.d.ts.map +1 -0
  25. package/dist/drive/entities/Permission.js +32 -0
  26. package/dist/drive/entities/Permission.js.map +1 -0
  27. package/dist/drive/entities/Reply.d.ts +27 -0
  28. package/dist/drive/entities/Reply.d.ts.map +1 -0
  29. package/dist/drive/entities/Reply.js +39 -0
  30. package/dist/drive/entities/Reply.js.map +1 -0
  31. package/dist/drive/entities/Revision.d.ts +30 -0
  32. package/dist/drive/entities/Revision.d.ts.map +1 -0
  33. package/dist/drive/entities/Revision.js +62 -0
  34. package/dist/drive/entities/Revision.js.map +1 -0
  35. package/dist/drive/entities/SharedDrive.d.ts +28 -0
  36. package/dist/drive/entities/SharedDrive.d.ts.map +1 -0
  37. package/dist/drive/entities/SharedDrive.js +65 -0
  38. package/dist/drive/entities/SharedDrive.js.map +1 -0
  39. package/dist/drive/entities/User.d.ts +16 -0
  40. package/dist/drive/entities/User.d.ts.map +1 -0
  41. package/dist/drive/entities/User.js +25 -0
  42. package/dist/drive/entities/User.js.map +1 -0
  43. package/dist/drive/index.d.ts +3 -0
  44. package/dist/drive/index.d.ts.map +1 -0
  45. package/dist/drive/index.js +23 -0
  46. package/dist/drive/index.js.map +1 -0
  47. package/dist/drive/instructions.d.ts +2 -0
  48. package/dist/drive/instructions.d.ts.map +1 -0
  49. package/dist/drive/instructions.js +24 -0
  50. package/dist/drive/instructions.js.map +1 -0
  51. package/dist/drive/lib/comment.d.ts +15 -0
  52. package/dist/drive/lib/comment.d.ts.map +1 -0
  53. package/dist/drive/lib/comment.js +52 -0
  54. package/dist/drive/lib/comment.js.map +1 -0
  55. package/dist/drive/lib/content.d.ts +20 -0
  56. package/dist/drive/lib/content.d.ts.map +1 -0
  57. package/dist/drive/lib/content.js +41 -0
  58. package/dist/drive/lib/content.js.map +1 -0
  59. package/dist/drive/lib/file.d.ts +25 -0
  60. package/dist/drive/lib/file.d.ts.map +1 -0
  61. package/dist/drive/lib/file.js +62 -0
  62. package/dist/drive/lib/file.js.map +1 -0
  63. package/dist/drive/lib/query.d.ts +30 -0
  64. package/dist/drive/lib/query.d.ts.map +1 -0
  65. package/dist/drive/lib/query.js +104 -0
  66. package/dist/drive/lib/query.js.map +1 -0
  67. package/dist/drive/lib/revision.d.ts +7 -0
  68. package/dist/drive/lib/revision.d.ts.map +1 -0
  69. package/dist/drive/lib/revision.js +23 -0
  70. package/dist/drive/lib/revision.js.map +1 -0
  71. package/dist/drive/lib/shared-drive.d.ts +7 -0
  72. package/dist/drive/lib/shared-drive.d.ts.map +1 -0
  73. package/dist/drive/lib/shared-drive.js +26 -0
  74. package/dist/drive/lib/shared-drive.js.map +1 -0
  75. package/dist/drive/methods/create_comment/handler.d.ts +5 -0
  76. package/dist/drive/methods/create_comment/handler.d.ts.map +1 -0
  77. package/dist/drive/methods/create_comment/handler.js +11 -0
  78. package/dist/drive/methods/create_comment/handler.js.map +1 -0
  79. package/dist/drive/methods/create_comment/index.d.ts +43 -0
  80. package/dist/drive/methods/create_comment/index.d.ts.map +1 -0
  81. package/dist/drive/methods/create_comment/index.js +16 -0
  82. package/dist/drive/methods/create_comment/index.js.map +1 -0
  83. package/dist/drive/methods/create_comment/schema.d.ts +47 -0
  84. package/dist/drive/methods/create_comment/schema.d.ts.map +1 -0
  85. package/dist/drive/methods/create_comment/schema.js +14 -0
  86. package/dist/drive/methods/create_comment/schema.js.map +1 -0
  87. package/dist/drive/methods/create_reply/handler.d.ts +5 -0
  88. package/dist/drive/methods/create_reply/handler.d.ts.map +1 -0
  89. package/dist/drive/methods/create_reply/handler.js +15 -0
  90. package/dist/drive/methods/create_reply/handler.js.map +1 -0
  91. package/dist/drive/methods/create_reply/index.d.ts +27 -0
  92. package/dist/drive/methods/create_reply/index.d.ts.map +1 -0
  93. package/dist/drive/methods/create_reply/index.js +17 -0
  94. package/dist/drive/methods/create_reply/index.js.map +1 -0
  95. package/dist/drive/methods/create_reply/schema.d.ts +31 -0
  96. package/dist/drive/methods/create_reply/schema.d.ts.map +1 -0
  97. package/dist/drive/methods/create_reply/schema.js +18 -0
  98. package/dist/drive/methods/create_reply/schema.js.map +1 -0
  99. package/dist/drive/methods/create_shared_drive/handler.d.ts +5 -0
  100. package/dist/drive/methods/create_shared_drive/handler.d.ts.map +1 -0
  101. package/dist/drive/methods/create_shared_drive/handler.js +11 -0
  102. package/dist/drive/methods/create_shared_drive/handler.js.map +1 -0
  103. package/dist/drive/methods/create_shared_drive/index.d.ts +20 -0
  104. package/dist/drive/methods/create_shared_drive/index.d.ts.map +1 -0
  105. package/dist/drive/methods/create_shared_drive/index.js +16 -0
  106. package/dist/drive/methods/create_shared_drive/index.js.map +1 -0
  107. package/dist/drive/methods/create_shared_drive/schema.d.ts +24 -0
  108. package/dist/drive/methods/create_shared_drive/schema.d.ts.map +1 -0
  109. package/dist/drive/methods/create_shared_drive/schema.js +15 -0
  110. package/dist/drive/methods/create_shared_drive/schema.js.map +1 -0
  111. package/dist/drive/methods/delete_comment/handler.d.ts +5 -0
  112. package/dist/drive/methods/delete_comment/handler.d.ts.map +1 -0
  113. package/dist/drive/methods/delete_comment/handler.js +5 -0
  114. package/dist/drive/methods/delete_comment/handler.js.map +1 -0
  115. package/dist/drive/methods/delete_comment/index.d.ts +8 -0
  116. package/dist/drive/methods/delete_comment/index.d.ts.map +1 -0
  117. package/dist/drive/methods/delete_comment/index.js +16 -0
  118. package/dist/drive/methods/delete_comment/index.js.map +1 -0
  119. package/dist/drive/methods/delete_comment/schema.d.ts +13 -0
  120. package/dist/drive/methods/delete_comment/schema.d.ts.map +1 -0
  121. package/dist/drive/methods/delete_comment/schema.js +13 -0
  122. package/dist/drive/methods/delete_comment/schema.js.map +1 -0
  123. package/dist/drive/methods/delete_file/handler.d.ts +5 -0
  124. package/dist/drive/methods/delete_file/handler.d.ts.map +1 -0
  125. package/dist/drive/methods/delete_file/handler.js +5 -0
  126. package/dist/drive/methods/delete_file/handler.js.map +1 -0
  127. package/dist/drive/methods/delete_file/index.d.ts +6 -0
  128. package/dist/drive/methods/delete_file/index.d.ts.map +1 -0
  129. package/dist/drive/methods/delete_file/index.js +19 -0
  130. package/dist/drive/methods/delete_file/index.js.map +1 -0
  131. package/dist/drive/methods/delete_file/schema.d.ts +11 -0
  132. package/dist/drive/methods/delete_file/schema.d.ts.map +1 -0
  133. package/dist/drive/methods/delete_file/schema.js +11 -0
  134. package/dist/drive/methods/delete_file/schema.js.map +1 -0
  135. package/dist/drive/methods/delete_reply/handler.d.ts +5 -0
  136. package/dist/drive/methods/delete_reply/handler.d.ts.map +1 -0
  137. package/dist/drive/methods/delete_reply/handler.js +9 -0
  138. package/dist/drive/methods/delete_reply/handler.js.map +1 -0
  139. package/dist/drive/methods/delete_reply/index.d.ts +10 -0
  140. package/dist/drive/methods/delete_reply/index.d.ts.map +1 -0
  141. package/dist/drive/methods/delete_reply/index.js +16 -0
  142. package/dist/drive/methods/delete_reply/index.js.map +1 -0
  143. package/dist/drive/methods/delete_reply/schema.d.ts +15 -0
  144. package/dist/drive/methods/delete_reply/schema.d.ts.map +1 -0
  145. package/dist/drive/methods/delete_reply/schema.js +15 -0
  146. package/dist/drive/methods/delete_reply/schema.js.map +1 -0
  147. package/dist/drive/methods/delete_revision/handler.d.ts +5 -0
  148. package/dist/drive/methods/delete_revision/handler.d.ts.map +1 -0
  149. package/dist/drive/methods/delete_revision/handler.js +5 -0
  150. package/dist/drive/methods/delete_revision/handler.js.map +1 -0
  151. package/dist/drive/methods/delete_revision/index.d.ts +8 -0
  152. package/dist/drive/methods/delete_revision/index.d.ts.map +1 -0
  153. package/dist/drive/methods/delete_revision/index.js +18 -0
  154. package/dist/drive/methods/delete_revision/index.js.map +1 -0
  155. package/dist/drive/methods/delete_revision/schema.d.ts +13 -0
  156. package/dist/drive/methods/delete_revision/schema.d.ts.map +1 -0
  157. package/dist/drive/methods/delete_revision/schema.js +13 -0
  158. package/dist/drive/methods/delete_revision/schema.js.map +1 -0
  159. package/dist/drive/methods/delete_shared_drive/handler.d.ts +5 -0
  160. package/dist/drive/methods/delete_shared_drive/handler.d.ts.map +1 -0
  161. package/dist/drive/methods/delete_shared_drive/handler.js +10 -0
  162. package/dist/drive/methods/delete_shared_drive/handler.js.map +1 -0
  163. package/dist/drive/methods/delete_shared_drive/index.d.ts +8 -0
  164. package/dist/drive/methods/delete_shared_drive/index.d.ts.map +1 -0
  165. package/dist/drive/methods/delete_shared_drive/index.js +17 -0
  166. package/dist/drive/methods/delete_shared_drive/index.js.map +1 -0
  167. package/dist/drive/methods/delete_shared_drive/schema.d.ts +13 -0
  168. package/dist/drive/methods/delete_shared_drive/schema.d.ts.map +1 -0
  169. package/dist/drive/methods/delete_shared_drive/schema.js +22 -0
  170. package/dist/drive/methods/delete_shared_drive/schema.js.map +1 -0
  171. package/dist/drive/methods/empty_trash/handler.d.ts +5 -0
  172. package/dist/drive/methods/empty_trash/handler.d.ts.map +1 -0
  173. package/dist/drive/methods/empty_trash/handler.js +6 -0
  174. package/dist/drive/methods/empty_trash/handler.js.map +1 -0
  175. package/dist/drive/methods/empty_trash/index.d.ts +6 -0
  176. package/dist/drive/methods/empty_trash/index.d.ts.map +1 -0
  177. package/dist/drive/methods/empty_trash/index.js +17 -0
  178. package/dist/drive/methods/empty_trash/index.js.map +1 -0
  179. package/dist/drive/methods/empty_trash/schema.d.ts +11 -0
  180. package/dist/drive/methods/empty_trash/schema.d.ts.map +1 -0
  181. package/dist/drive/methods/empty_trash/schema.js +14 -0
  182. package/dist/drive/methods/empty_trash/schema.js.map +1 -0
  183. package/dist/drive/methods/get_about/handler.d.ts +5 -0
  184. package/dist/drive/methods/get_about/handler.d.ts.map +1 -0
  185. package/dist/drive/methods/get_about/handler.js +30 -0
  186. package/dist/drive/methods/get_about/handler.js.map +1 -0
  187. package/dist/drive/methods/get_about/index.d.ts +17 -0
  188. package/dist/drive/methods/get_about/index.d.ts.map +1 -0
  189. package/dist/drive/methods/get_about/index.js +17 -0
  190. package/dist/drive/methods/get_about/index.js.map +1 -0
  191. package/dist/drive/methods/get_about/schema.d.ts +21 -0
  192. package/dist/drive/methods/get_about/schema.d.ts.map +1 -0
  193. package/dist/drive/methods/get_about/schema.js +7 -0
  194. package/dist/drive/methods/get_about/schema.js.map +1 -0
  195. package/dist/drive/methods/get_comment/handler.d.ts +5 -0
  196. package/dist/drive/methods/get_comment/handler.d.ts.map +1 -0
  197. package/dist/drive/methods/get_comment/handler.js +12 -0
  198. package/dist/drive/methods/get_comment/handler.js.map +1 -0
  199. package/dist/drive/methods/get_comment/index.d.ts +43 -0
  200. package/dist/drive/methods/get_comment/index.d.ts.map +1 -0
  201. package/dist/drive/methods/get_comment/index.js +16 -0
  202. package/dist/drive/methods/get_comment/index.js.map +1 -0
  203. package/dist/drive/methods/get_comment/schema.d.ts +47 -0
  204. package/dist/drive/methods/get_comment/schema.d.ts.map +1 -0
  205. package/dist/drive/methods/get_comment/schema.js +14 -0
  206. package/dist/drive/methods/get_comment/schema.js.map +1 -0
  207. package/dist/drive/methods/get_reply/handler.d.ts +5 -0
  208. package/dist/drive/methods/get_reply/handler.d.ts.map +1 -0
  209. package/dist/drive/methods/get_reply/handler.js +13 -0
  210. package/dist/drive/methods/get_reply/handler.js.map +1 -0
  211. package/dist/drive/methods/get_reply/index.d.ts +24 -0
  212. package/dist/drive/methods/get_reply/index.d.ts.map +1 -0
  213. package/dist/drive/methods/get_reply/index.js +16 -0
  214. package/dist/drive/methods/get_reply/index.js.map +1 -0
  215. package/dist/drive/methods/get_reply/schema.d.ts +28 -0
  216. package/dist/drive/methods/get_reply/schema.d.ts.map +1 -0
  217. package/dist/drive/methods/get_reply/schema.js +15 -0
  218. package/dist/drive/methods/get_reply/schema.js.map +1 -0
  219. package/dist/drive/methods/get_revision/handler.d.ts +5 -0
  220. package/dist/drive/methods/get_revision/handler.d.ts.map +1 -0
  221. package/dist/drive/methods/get_revision/handler.js +10 -0
  222. package/dist/drive/methods/get_revision/handler.js.map +1 -0
  223. package/dist/drive/methods/get_revision/index.d.ts +23 -0
  224. package/dist/drive/methods/get_revision/index.d.ts.map +1 -0
  225. package/dist/drive/methods/get_revision/index.js +16 -0
  226. package/dist/drive/methods/get_revision/index.js.map +1 -0
  227. package/dist/drive/methods/get_revision/schema.d.ts +27 -0
  228. package/dist/drive/methods/get_revision/schema.d.ts.map +1 -0
  229. package/dist/drive/methods/get_revision/schema.js +10 -0
  230. package/dist/drive/methods/get_revision/schema.js.map +1 -0
  231. package/dist/drive/methods/get_shared_drive/handler.d.ts +5 -0
  232. package/dist/drive/methods/get_shared_drive/handler.d.ts.map +1 -0
  233. package/dist/drive/methods/get_shared_drive/handler.js +11 -0
  234. package/dist/drive/methods/get_shared_drive/handler.js.map +1 -0
  235. package/dist/drive/methods/get_shared_drive/index.d.ts +20 -0
  236. package/dist/drive/methods/get_shared_drive/index.d.ts.map +1 -0
  237. package/dist/drive/methods/get_shared_drive/index.js +16 -0
  238. package/dist/drive/methods/get_shared_drive/index.js.map +1 -0
  239. package/dist/drive/methods/get_shared_drive/schema.d.ts +24 -0
  240. package/dist/drive/methods/get_shared_drive/schema.d.ts.map +1 -0
  241. package/dist/drive/methods/get_shared_drive/schema.js +15 -0
  242. package/dist/drive/methods/get_shared_drive/schema.js.map +1 -0
  243. package/dist/drive/methods/hide_shared_drive/handler.d.ts +5 -0
  244. package/dist/drive/methods/hide_shared_drive/handler.d.ts.map +1 -0
  245. package/dist/drive/methods/hide_shared_drive/handler.js +9 -0
  246. package/dist/drive/methods/hide_shared_drive/handler.js.map +1 -0
  247. package/dist/drive/methods/hide_shared_drive/index.d.ts +19 -0
  248. package/dist/drive/methods/hide_shared_drive/index.d.ts.map +1 -0
  249. package/dist/drive/methods/hide_shared_drive/index.js +16 -0
  250. package/dist/drive/methods/hide_shared_drive/index.js.map +1 -0
  251. package/dist/drive/methods/hide_shared_drive/schema.d.ts +23 -0
  252. package/dist/drive/methods/hide_shared_drive/schema.d.ts.map +1 -0
  253. package/dist/drive/methods/hide_shared_drive/schema.js +9 -0
  254. package/dist/drive/methods/hide_shared_drive/schema.js.map +1 -0
  255. package/dist/drive/methods/list_comments/handler.d.ts +5 -0
  256. package/dist/drive/methods/list_comments/handler.d.ts.map +1 -0
  257. package/dist/drive/methods/list_comments/handler.js +17 -0
  258. package/dist/drive/methods/list_comments/handler.js.map +1 -0
  259. package/dist/drive/methods/list_comments/index.d.ts +48 -0
  260. package/dist/drive/methods/list_comments/index.d.ts.map +1 -0
  261. package/dist/drive/methods/list_comments/index.js +16 -0
  262. package/dist/drive/methods/list_comments/index.js.map +1 -0
  263. package/dist/drive/methods/list_comments/schema.d.ts +52 -0
  264. package/dist/drive/methods/list_comments/schema.d.ts.map +1 -0
  265. package/dist/drive/methods/list_comments/schema.js +34 -0
  266. package/dist/drive/methods/list_comments/schema.js.map +1 -0
  267. package/dist/drive/methods/list_replies/handler.d.ts +5 -0
  268. package/dist/drive/methods/list_replies/handler.d.ts.map +1 -0
  269. package/dist/drive/methods/list_replies/handler.js +17 -0
  270. package/dist/drive/methods/list_replies/handler.js.map +1 -0
  271. package/dist/drive/methods/list_replies/index.d.ts +28 -0
  272. package/dist/drive/methods/list_replies/index.d.ts.map +1 -0
  273. package/dist/drive/methods/list_replies/index.js +16 -0
  274. package/dist/drive/methods/list_replies/index.js.map +1 -0
  275. package/dist/drive/methods/list_replies/schema.d.ts +32 -0
  276. package/dist/drive/methods/list_replies/schema.d.ts.map +1 -0
  277. package/dist/drive/methods/list_replies/schema.js +31 -0
  278. package/dist/drive/methods/list_replies/schema.js.map +1 -0
  279. package/dist/drive/methods/list_revisions/handler.d.ts +5 -0
  280. package/dist/drive/methods/list_revisions/handler.d.ts.map +1 -0
  281. package/dist/drive/methods/list_revisions/handler.js +15 -0
  282. package/dist/drive/methods/list_revisions/handler.js.map +1 -0
  283. package/dist/drive/methods/list_revisions/index.d.ts +27 -0
  284. package/dist/drive/methods/list_revisions/index.d.ts.map +1 -0
  285. package/dist/drive/methods/list_revisions/index.js +17 -0
  286. package/dist/drive/methods/list_revisions/index.js.map +1 -0
  287. package/dist/drive/methods/list_revisions/schema.d.ts +31 -0
  288. package/dist/drive/methods/list_revisions/schema.d.ts.map +1 -0
  289. package/dist/drive/methods/list_revisions/schema.js +30 -0
  290. package/dist/drive/methods/list_revisions/schema.js.map +1 -0
  291. package/dist/drive/methods/list_shared_drives/handler.d.ts +5 -0
  292. package/dist/drive/methods/list_shared_drives/handler.d.ts.map +1 -0
  293. package/dist/drive/methods/list_shared_drives/handler.js +16 -0
  294. package/dist/drive/methods/list_shared_drives/handler.js.map +1 -0
  295. package/dist/drive/methods/list_shared_drives/index.d.ts +25 -0
  296. package/dist/drive/methods/list_shared_drives/index.d.ts.map +1 -0
  297. package/dist/drive/methods/list_shared_drives/index.js +16 -0
  298. package/dist/drive/methods/list_shared_drives/index.js.map +1 -0
  299. package/dist/drive/methods/list_shared_drives/schema.d.ts +29 -0
  300. package/dist/drive/methods/list_shared_drives/schema.d.ts.map +1 -0
  301. package/dist/drive/methods/list_shared_drives/schema.js +27 -0
  302. package/dist/drive/methods/list_shared_drives/schema.js.map +1 -0
  303. package/dist/drive/methods/registry.d.ts +619 -0
  304. package/dist/drive/methods/registry.d.ts.map +1 -0
  305. package/dist/drive/methods/registry.js +69 -0
  306. package/dist/drive/methods/registry.js.map +1 -0
  307. package/dist/drive/methods/trash_file/handler.d.ts +5 -0
  308. package/dist/drive/methods/trash_file/handler.d.ts.map +1 -0
  309. package/dist/drive/methods/trash_file/handler.js +11 -0
  310. package/dist/drive/methods/trash_file/handler.js.map +1 -0
  311. package/dist/drive/methods/trash_file/index.d.ts +25 -0
  312. package/dist/drive/methods/trash_file/index.d.ts.map +1 -0
  313. package/dist/drive/methods/trash_file/index.js +18 -0
  314. package/dist/drive/methods/trash_file/index.js.map +1 -0
  315. package/dist/drive/methods/trash_file/schema.d.ts +29 -0
  316. package/dist/drive/methods/trash_file/schema.d.ts.map +1 -0
  317. package/dist/drive/methods/trash_file/schema.js +9 -0
  318. package/dist/drive/methods/trash_file/schema.js.map +1 -0
  319. package/dist/drive/methods/unhide_shared_drive/handler.d.ts +5 -0
  320. package/dist/drive/methods/unhide_shared_drive/handler.d.ts.map +1 -0
  321. package/dist/drive/methods/unhide_shared_drive/handler.js +9 -0
  322. package/dist/drive/methods/unhide_shared_drive/handler.js.map +1 -0
  323. package/dist/drive/methods/unhide_shared_drive/index.d.ts +19 -0
  324. package/dist/drive/methods/unhide_shared_drive/index.d.ts.map +1 -0
  325. package/dist/drive/methods/unhide_shared_drive/index.js +16 -0
  326. package/dist/drive/methods/unhide_shared_drive/index.js.map +1 -0
  327. package/dist/drive/methods/unhide_shared_drive/schema.d.ts +23 -0
  328. package/dist/drive/methods/unhide_shared_drive/schema.d.ts.map +1 -0
  329. package/dist/drive/methods/unhide_shared_drive/schema.js +9 -0
  330. package/dist/drive/methods/unhide_shared_drive/schema.js.map +1 -0
  331. package/dist/drive/methods/untrash_file/handler.d.ts +5 -0
  332. package/dist/drive/methods/untrash_file/handler.d.ts.map +1 -0
  333. package/dist/drive/methods/untrash_file/handler.js +11 -0
  334. package/dist/drive/methods/untrash_file/handler.js.map +1 -0
  335. package/dist/drive/methods/untrash_file/index.d.ts +25 -0
  336. package/dist/drive/methods/untrash_file/index.d.ts.map +1 -0
  337. package/dist/drive/methods/untrash_file/index.js +17 -0
  338. package/dist/drive/methods/untrash_file/index.js.map +1 -0
  339. package/dist/drive/methods/untrash_file/schema.d.ts +29 -0
  340. package/dist/drive/methods/untrash_file/schema.d.ts.map +1 -0
  341. package/dist/drive/methods/untrash_file/schema.js +9 -0
  342. package/dist/drive/methods/untrash_file/schema.js.map +1 -0
  343. package/dist/drive/methods/update_comment/handler.d.ts +5 -0
  344. package/dist/drive/methods/update_comment/handler.d.ts.map +1 -0
  345. package/dist/drive/methods/update_comment/handler.js +11 -0
  346. package/dist/drive/methods/update_comment/handler.js.map +1 -0
  347. package/dist/drive/methods/update_comment/index.d.ts +43 -0
  348. package/dist/drive/methods/update_comment/index.d.ts.map +1 -0
  349. package/dist/drive/methods/update_comment/index.js +16 -0
  350. package/dist/drive/methods/update_comment/index.js.map +1 -0
  351. package/dist/drive/methods/update_comment/schema.d.ts +47 -0
  352. package/dist/drive/methods/update_comment/schema.d.ts.map +1 -0
  353. package/dist/drive/methods/update_comment/schema.js +11 -0
  354. package/dist/drive/methods/update_comment/schema.js.map +1 -0
  355. package/dist/drive/methods/update_file/handler.d.ts +5 -0
  356. package/dist/drive/methods/update_file/handler.d.ts.map +1 -0
  357. package/dist/drive/methods/update_file/handler.js +21 -0
  358. package/dist/drive/methods/update_file/handler.js.map +1 -0
  359. package/dist/drive/methods/update_file/index.d.ts +33 -0
  360. package/dist/drive/methods/update_file/index.d.ts.map +1 -0
  361. package/dist/drive/methods/update_file/index.js +19 -0
  362. package/dist/drive/methods/update_file/index.js.map +1 -0
  363. package/dist/drive/methods/update_file/schema.d.ts +37 -0
  364. package/dist/drive/methods/update_file/schema.d.ts.map +1 -0
  365. package/dist/drive/methods/update_file/schema.js +35 -0
  366. package/dist/drive/methods/update_file/schema.js.map +1 -0
  367. package/dist/drive/methods/update_reply/handler.d.ts +5 -0
  368. package/dist/drive/methods/update_reply/handler.d.ts.map +1 -0
  369. package/dist/drive/methods/update_reply/handler.js +12 -0
  370. package/dist/drive/methods/update_reply/handler.js.map +1 -0
  371. package/dist/drive/methods/update_reply/index.d.ts +24 -0
  372. package/dist/drive/methods/update_reply/index.d.ts.map +1 -0
  373. package/dist/drive/methods/update_reply/index.js +16 -0
  374. package/dist/drive/methods/update_reply/index.js.map +1 -0
  375. package/dist/drive/methods/update_reply/schema.d.ts +28 -0
  376. package/dist/drive/methods/update_reply/schema.d.ts.map +1 -0
  377. package/dist/drive/methods/update_reply/schema.js +12 -0
  378. package/dist/drive/methods/update_reply/schema.js.map +1 -0
  379. package/dist/drive/methods/update_revision/handler.d.ts +5 -0
  380. package/dist/drive/methods/update_revision/handler.d.ts.map +1 -0
  381. package/dist/drive/methods/update_revision/handler.js +17 -0
  382. package/dist/drive/methods/update_revision/handler.js.map +1 -0
  383. package/dist/drive/methods/update_revision/index.d.ts +27 -0
  384. package/dist/drive/methods/update_revision/index.d.ts.map +1 -0
  385. package/dist/drive/methods/update_revision/index.js +17 -0
  386. package/dist/drive/methods/update_revision/index.js.map +1 -0
  387. package/dist/drive/methods/update_revision/schema.d.ts +31 -0
  388. package/dist/drive/methods/update_revision/schema.d.ts.map +1 -0
  389. package/dist/drive/methods/update_revision/schema.js +29 -0
  390. package/dist/drive/methods/update_revision/schema.js.map +1 -0
  391. package/dist/drive/methods/update_shared_drive/handler.d.ts +5 -0
  392. package/dist/drive/methods/update_shared_drive/handler.d.ts.map +1 -0
  393. package/dist/drive/methods/update_shared_drive/handler.js +17 -0
  394. package/dist/drive/methods/update_shared_drive/handler.js.map +1 -0
  395. package/dist/drive/methods/update_shared_drive/index.d.ts +30 -0
  396. package/dist/drive/methods/update_shared_drive/index.d.ts.map +1 -0
  397. package/dist/drive/methods/update_shared_drive/index.js +17 -0
  398. package/dist/drive/methods/update_shared_drive/index.js.map +1 -0
  399. package/dist/drive/methods/update_shared_drive/schema.d.ts +34 -0
  400. package/dist/drive/methods/update_shared_drive/schema.d.ts.map +1 -0
  401. package/dist/drive/methods/update_shared_drive/schema.js +53 -0
  402. package/dist/drive/methods/update_shared_drive/schema.js.map +1 -0
  403. package/dist/drive/operation.d.ts +12 -0
  404. package/dist/drive/operation.d.ts.map +1 -0
  405. package/dist/drive/operation.js +10 -0
  406. package/dist/drive/operation.js.map +1 -0
  407. package/dist/drive/tools/copy_file/handler.d.ts +5 -0
  408. package/dist/drive/tools/copy_file/handler.d.ts.map +1 -0
  409. package/dist/drive/tools/copy_file/handler.js +15 -0
  410. package/dist/drive/tools/copy_file/handler.js.map +1 -0
  411. package/dist/drive/tools/copy_file/index.d.ts +27 -0
  412. package/dist/drive/tools/copy_file/index.d.ts.map +1 -0
  413. package/dist/drive/tools/copy_file/index.js +18 -0
  414. package/dist/drive/tools/copy_file/index.js.map +1 -0
  415. package/dist/drive/tools/copy_file/schema.d.ts +31 -0
  416. package/dist/drive/tools/copy_file/schema.d.ts.map +1 -0
  417. package/dist/drive/tools/copy_file/schema.js +18 -0
  418. package/dist/drive/tools/copy_file/schema.js.map +1 -0
  419. package/dist/drive/tools/create_file/handler.d.ts +5 -0
  420. package/dist/drive/tools/create_file/handler.d.ts.map +1 -0
  421. package/dist/drive/tools/create_file/handler.js +42 -0
  422. package/dist/drive/tools/create_file/handler.js.map +1 -0
  423. package/dist/drive/tools/create_file/index.d.ts +30 -0
  424. package/dist/drive/tools/create_file/index.d.ts.map +1 -0
  425. package/dist/drive/tools/create_file/index.js +19 -0
  426. package/dist/drive/tools/create_file/index.js.map +1 -0
  427. package/dist/drive/tools/create_file/schema.d.ts +34 -0
  428. package/dist/drive/tools/create_file/schema.d.ts.map +1 -0
  429. package/dist/drive/tools/create_file/schema.js +29 -0
  430. package/dist/drive/tools/create_file/schema.js.map +1 -0
  431. package/dist/drive/tools/download_file_content/handler.d.ts +5 -0
  432. package/dist/drive/tools/download_file_content/handler.d.ts.map +1 -0
  433. package/dist/drive/tools/download_file_content/handler.js +33 -0
  434. package/dist/drive/tools/download_file_content/handler.js.map +1 -0
  435. package/dist/drive/tools/download_file_content/index.d.ts +10 -0
  436. package/dist/drive/tools/download_file_content/index.d.ts.map +1 -0
  437. package/dist/drive/tools/download_file_content/index.js +19 -0
  438. package/dist/drive/tools/download_file_content/index.js.map +1 -0
  439. package/dist/drive/tools/download_file_content/schema.d.ts +14 -0
  440. package/dist/drive/tools/download_file_content/schema.d.ts.map +1 -0
  441. package/dist/drive/tools/download_file_content/schema.js +18 -0
  442. package/dist/drive/tools/download_file_content/schema.js.map +1 -0
  443. package/dist/drive/tools/get_file_metadata/handler.d.ts +5 -0
  444. package/dist/drive/tools/get_file_metadata/handler.d.ts.map +1 -0
  445. package/dist/drive/tools/get_file_metadata/handler.js +10 -0
  446. package/dist/drive/tools/get_file_metadata/handler.js.map +1 -0
  447. package/dist/drive/tools/get_file_metadata/index.d.ts +26 -0
  448. package/dist/drive/tools/get_file_metadata/index.d.ts.map +1 -0
  449. package/dist/drive/tools/get_file_metadata/index.js +17 -0
  450. package/dist/drive/tools/get_file_metadata/index.js.map +1 -0
  451. package/dist/drive/tools/get_file_metadata/schema.d.ts +30 -0
  452. package/dist/drive/tools/get_file_metadata/schema.d.ts.map +1 -0
  453. package/dist/drive/tools/get_file_metadata/schema.js +15 -0
  454. package/dist/drive/tools/get_file_metadata/schema.js.map +1 -0
  455. package/dist/drive/tools/get_file_permissions/handler.d.ts +5 -0
  456. package/dist/drive/tools/get_file_permissions/handler.d.ts.map +1 -0
  457. package/dist/drive/tools/get_file_permissions/handler.js +20 -0
  458. package/dist/drive/tools/get_file_permissions/handler.js.map +1 -0
  459. package/dist/drive/tools/get_file_permissions/index.d.ts +27 -0
  460. package/dist/drive/tools/get_file_permissions/index.d.ts.map +1 -0
  461. package/dist/drive/tools/get_file_permissions/index.js +16 -0
  462. package/dist/drive/tools/get_file_permissions/index.js.map +1 -0
  463. package/dist/drive/tools/get_file_permissions/schema.d.ts +31 -0
  464. package/dist/drive/tools/get_file_permissions/schema.d.ts.map +1 -0
  465. package/dist/drive/tools/get_file_permissions/schema.js +11 -0
  466. package/dist/drive/tools/get_file_permissions/schema.js.map +1 -0
  467. package/dist/drive/tools/list_recent_files/handler.d.ts +5 -0
  468. package/dist/drive/tools/list_recent_files/handler.d.ts.map +1 -0
  469. package/dist/drive/tools/list_recent_files/handler.js +23 -0
  470. package/dist/drive/tools/list_recent_files/handler.js.map +1 -0
  471. package/dist/drive/tools/list_recent_files/index.d.ts +35 -0
  472. package/dist/drive/tools/list_recent_files/index.d.ts.map +1 -0
  473. package/dist/drive/tools/list_recent_files/index.js +16 -0
  474. package/dist/drive/tools/list_recent_files/index.js.map +1 -0
  475. package/dist/drive/tools/list_recent_files/schema.d.ts +39 -0
  476. package/dist/drive/tools/list_recent_files/schema.d.ts.map +1 -0
  477. package/dist/drive/tools/list_recent_files/schema.js +29 -0
  478. package/dist/drive/tools/list_recent_files/schema.js.map +1 -0
  479. package/dist/drive/tools/read_file_content/handler.d.ts +5 -0
  480. package/dist/drive/tools/read_file_content/handler.d.ts.map +1 -0
  481. package/dist/drive/tools/read_file_content/handler.js +24 -0
  482. package/dist/drive/tools/read_file_content/handler.js.map +1 -0
  483. package/dist/drive/tools/read_file_content/index.d.ts +6 -0
  484. package/dist/drive/tools/read_file_content/index.d.ts.map +1 -0
  485. package/dist/drive/tools/read_file_content/index.js +19 -0
  486. package/dist/drive/tools/read_file_content/index.js.map +1 -0
  487. package/dist/drive/tools/read_file_content/schema.d.ts +10 -0
  488. package/dist/drive/tools/read_file_content/schema.d.ts.map +1 -0
  489. package/dist/drive/tools/read_file_content/schema.js +10 -0
  490. package/dist/drive/tools/read_file_content/schema.js.map +1 -0
  491. package/dist/drive/tools/registry.d.ts +193 -0
  492. package/dist/drive/tools/registry.d.ts.map +1 -0
  493. package/dist/drive/tools/registry.js +24 -0
  494. package/dist/drive/tools/registry.js.map +1 -0
  495. package/dist/drive/tools/search_files/handler.d.ts +5 -0
  496. package/dist/drive/tools/search_files/handler.d.ts.map +1 -0
  497. package/dist/drive/tools/search_files/handler.js +18 -0
  498. package/dist/drive/tools/search_files/handler.js.map +1 -0
  499. package/dist/drive/tools/search_files/index.d.ts +31 -0
  500. package/dist/drive/tools/search_files/index.d.ts.map +1 -0
  501. package/dist/drive/tools/search_files/index.js +17 -0
  502. package/dist/drive/tools/search_files/index.js.map +1 -0
  503. package/dist/drive/tools/search_files/schema.d.ts +35 -0
  504. package/dist/drive/tools/search_files/schema.d.ts.map +1 -0
  505. package/dist/drive/tools/search_files/schema.js +27 -0
  506. package/dist/drive/tools/search_files/schema.js.map +1 -0
  507. package/dist/{sheets/lib → lib}/enums.d.ts +1 -1
  508. package/dist/lib/enums.d.ts.map +1 -0
  509. package/dist/{sheets/lib → lib}/enums.js +1 -1
  510. package/dist/lib/enums.js.map +1 -0
  511. package/dist/sheets/lib/filters.d.ts.map +1 -1
  512. package/dist/sheets/lib/filters.js +1 -1
  513. package/dist/sheets/lib/filters.js.map +1 -1
  514. package/dist/sheets/lib/metadata.d.ts.map +1 -1
  515. package/dist/sheets/lib/metadata.js +1 -1
  516. package/dist/sheets/lib/metadata.js.map +1 -1
  517. package/dist/sheets/lib/spreadsheet.d.ts.map +1 -1
  518. package/dist/sheets/lib/spreadsheet.js +1 -1
  519. package/dist/sheets/lib/spreadsheet.js.map +1 -1
  520. package/dist/sheets/lib/values.d.ts.map +1 -1
  521. package/dist/sheets/lib/values.js +1 -1
  522. package/dist/sheets/lib/values.js.map +1 -1
  523. package/llms-install.md +69 -0
  524. package/package.json +12 -3
  525. package/dist/sheets/lib/enums.d.ts.map +0 -1
  526. package/dist/sheets/lib/enums.js.map +0 -1
@@ -0,0 +1,48 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A comment on a file: anchored or unanchored feedback with a reply thread.
4
+ * Comments are set as plain text (`content`) and displayed from
5
+ * `htmlContent`; a comment is resolved by one of its replies.
6
+ *
7
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-comments
8
+ */
9
+ export declare const Comment: z.ZodObject<{
10
+ id: z.ZodString;
11
+ content: z.ZodOptional<z.ZodString>;
12
+ htmlContent: z.ZodOptional<z.ZodString>;
13
+ author: z.ZodOptional<z.ZodObject<{
14
+ displayName: z.ZodOptional<z.ZodString>;
15
+ emailAddress: z.ZodOptional<z.ZodString>;
16
+ me: z.ZodOptional<z.ZodBoolean>;
17
+ photoLink: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ createdTime: z.ZodOptional<z.ZodString>;
20
+ modifiedTime: z.ZodOptional<z.ZodString>;
21
+ resolved: z.ZodOptional<z.ZodBoolean>;
22
+ deleted: z.ZodOptional<z.ZodBoolean>;
23
+ anchor: z.ZodOptional<z.ZodString>;
24
+ quotedFileContent: z.ZodOptional<z.ZodObject<{
25
+ mimeType: z.ZodOptional<z.ZodString>;
26
+ value: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strip>>;
28
+ replies: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ id: z.ZodString;
30
+ content: z.ZodOptional<z.ZodString>;
31
+ htmlContent: z.ZodOptional<z.ZodString>;
32
+ author: z.ZodOptional<z.ZodObject<{
33
+ displayName: z.ZodOptional<z.ZodString>;
34
+ emailAddress: z.ZodOptional<z.ZodString>;
35
+ me: z.ZodOptional<z.ZodBoolean>;
36
+ photoLink: z.ZodOptional<z.ZodString>;
37
+ }, z.core.$strip>>;
38
+ createdTime: z.ZodOptional<z.ZodString>;
39
+ modifiedTime: z.ZodOptional<z.ZodString>;
40
+ deleted: z.ZodOptional<z.ZodBoolean>;
41
+ action: z.ZodOptional<z.ZodEnum<{
42
+ resolve: "resolve";
43
+ reopen: "reopen";
44
+ }>>;
45
+ }, z.core.$strip>>>;
46
+ }, z.core.$strip>;
47
+ export type Comment = z.infer<typeof Comment>;
48
+ //# sourceMappingURL=Comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Comment.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;;;GAMG;AACH,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiDlB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { z } from 'zod';
2
+ import { Reply } from './Reply.js';
3
+ import { User } from './User.js';
4
+ /**
5
+ * A comment on a file: anchored or unanchored feedback with a reply thread.
6
+ * Comments are set as plain text (`content`) and displayed from
7
+ * `htmlContent`; a comment is resolved by one of its replies.
8
+ *
9
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-comments
10
+ */
11
+ export const Comment = z.object({
12
+ id: z.string().describe('Output only. The ID of the comment.'),
13
+ content: z
14
+ .string()
15
+ .optional()
16
+ .describe('The plain text content of the comment. This field is used for setting the content, ' +
17
+ 'while htmlContent should be displayed.'),
18
+ htmlContent: z
19
+ .string()
20
+ .optional()
21
+ .describe('Output only. The content of the comment with HTML formatting.'),
22
+ author: User.optional().describe("Output only. The author of the comment. The author's email address and permission ID will not be populated."),
23
+ createdTime: z
24
+ .string()
25
+ .optional()
26
+ .describe('The time at which the comment was created (RFC 3339 date-time).'),
27
+ modifiedTime: z
28
+ .string()
29
+ .optional()
30
+ .describe('The last time the comment or any of its replies was modified (RFC 3339 date-time).'),
31
+ resolved: z
32
+ .boolean()
33
+ .optional()
34
+ .describe('Output only. Whether the comment has been resolved by one of its replies.'),
35
+ deleted: z
36
+ .boolean()
37
+ .optional()
38
+ .describe('Output only. Whether the comment has been deleted. A deleted comment has no content.'),
39
+ anchor: z.string().optional().describe('A region of the document represented as a JSON string.'),
40
+ quotedFileContent: z
41
+ .object({
42
+ mimeType: z.string().optional().describe('The MIME type of the quoted content.'),
43
+ value: z.string().optional().describe('The quoted content itself.'),
44
+ })
45
+ .optional()
46
+ .describe('The file content to which the comment refers, typically within the anchor region. ' +
47
+ 'For a text file, for example, this would be the text at the location of the comment.'),
48
+ replies: z
49
+ .array(Reply)
50
+ .optional()
51
+ .describe('Output only. The full list of replies to the comment in chronological order.'),
52
+ });
53
+ //# sourceMappingURL=Comment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Comment.js","sourceRoot":"","sources":["../../../src/drive/entities/Comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF;QACnF,wCAAwC,CAC3C;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+DAA+D,CAAC;IAC5E,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9B,6GAA6G,CAC9G;IACD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,iEAAiE,CAAC;IAC9E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,oFAAoF,CAAC;IACjG,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,2EAA2E,CAAC;IACxF,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;IACH,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wDAAwD,CAAC;IAChG,iBAAiB,EAAE,CAAC;SACjB,MAAM,CAAC;QACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QAChF,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;KACpE,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CACP,oFAAoF;QAClF,sFAAsF,CACzF;IACH,OAAO,EAAE,CAAC;SACP,KAAK,CAAC,KAAK,CAAC;SACZ,QAAQ,EAAE;SACV,QAAQ,CAAC,8EAA8E,CAAC;CAC5F,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Reply } from './Reply.js';\nimport { User } from './User.js';\n\n/**\n * A comment on a file: anchored or unanchored feedback with a reply thread.\n * Comments are set as plain text (`content`) and displayed from\n * `htmlContent`; a comment is resolved by one of its replies.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/manage-comments\n */\nexport const Comment = z.object({\n id: z.string().describe('Output only. The ID of the comment.'),\n content: z\n .string()\n .optional()\n .describe(\n 'The plain text content of the comment. This field is used for setting the content, ' +\n 'while htmlContent should be displayed.',\n ),\n htmlContent: z\n .string()\n .optional()\n .describe('Output only. The content of the comment with HTML formatting.'),\n author: User.optional().describe(\n \"Output only. The author of the comment. The author's email address and permission ID will not be populated.\",\n ),\n createdTime: z\n .string()\n .optional()\n .describe('The time at which the comment was created (RFC 3339 date-time).'),\n modifiedTime: z\n .string()\n .optional()\n .describe('The last time the comment or any of its replies was modified (RFC 3339 date-time).'),\n resolved: z\n .boolean()\n .optional()\n .describe('Output only. Whether the comment has been resolved by one of its replies.'),\n deleted: z\n .boolean()\n .optional()\n .describe(\n 'Output only. Whether the comment has been deleted. A deleted comment has no content.',\n ),\n anchor: z.string().optional().describe('A region of the document represented as a JSON string.'),\n quotedFileContent: z\n .object({\n mimeType: z.string().optional().describe('The MIME type of the quoted content.'),\n value: z.string().optional().describe('The quoted content itself.'),\n })\n .optional()\n .describe(\n 'The file content to which the comment refers, typically within the anchor region. ' +\n 'For a text file, for example, this would be the text at the location of the comment.',\n ),\n replies: z\n .array(Reply)\n .optional()\n .describe('Output only. The full list of replies to the comment in chronological order.'),\n});\n\nexport type Comment = z.infer<typeof Comment>;\n"]}
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A file in Drive: any content stored in Drive (a blob, a Google Workspace
4
+ * document, a folder, or a shortcut), identified by an immutable id.
5
+ *
6
+ * Fields here are the MCP toolset's lossy `File` projection of the REST
7
+ * `files` resource (`name` → `title`, `parents[0]` → `parentId`,
8
+ * `owners[0].emailAddress` → `owner`, `webViewLink` → `viewUrl`, `size` →
9
+ * `fileSize`, `capabilities.canAddChildren` → `canAddChildren`), plus the
10
+ * REST-vocabulary flags the methods write (`starred`, `trashed`,
11
+ * `folderColorRgb`, `copyRequiresWriterPermission`, `writersCanShare`). Tools
12
+ * request only the toolset fields, so their outputs stay verbatim to the MCP
13
+ * pages; methods request the superset so a write's effect is visible in its
14
+ * output. Field docs use `.describe()` so they reach the wire JSON Schema an
15
+ * MCP client reads.
16
+ *
17
+ * @see https://developers.google.com/workspace/drive/api/guides/about-files
18
+ */
19
+ export declare const File: z.ZodObject<{
20
+ id: z.ZodString;
21
+ title: z.ZodOptional<z.ZodString>;
22
+ parentId: z.ZodOptional<z.ZodString>;
23
+ mimeType: z.ZodOptional<z.ZodString>;
24
+ fileSize: z.ZodOptional<z.ZodString>;
25
+ description: z.ZodOptional<z.ZodString>;
26
+ fileExtension: z.ZodOptional<z.ZodString>;
27
+ contentSnippet: z.ZodOptional<z.ZodString>;
28
+ viewUrl: z.ZodOptional<z.ZodString>;
29
+ sharedWithMeTime: z.ZodOptional<z.ZodString>;
30
+ createdTime: z.ZodOptional<z.ZodString>;
31
+ modifiedTime: z.ZodOptional<z.ZodString>;
32
+ viewedByMeTime: z.ZodOptional<z.ZodString>;
33
+ owner: z.ZodOptional<z.ZodString>;
34
+ canAddChildren: z.ZodOptional<z.ZodBoolean>;
35
+ starred: z.ZodOptional<z.ZodBoolean>;
36
+ trashed: z.ZodOptional<z.ZodBoolean>;
37
+ folderColorRgb: z.ZodOptional<z.ZodString>;
38
+ copyRequiresWriterPermission: z.ZodOptional<z.ZodBoolean>;
39
+ writersCanShare: z.ZodOptional<z.ZodBoolean>;
40
+ }, z.core.$strip>;
41
+ export type File = z.infer<typeof File>;
42
+ //# sourceMappingURL=File.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/File.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;iBAqEf,CAAC;AAEH,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC,CAAC"}
@@ -0,0 +1,75 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A file in Drive: any content stored in Drive (a blob, a Google Workspace
4
+ * document, a folder, or a shortcut), identified by an immutable id.
5
+ *
6
+ * Fields here are the MCP toolset's lossy `File` projection of the REST
7
+ * `files` resource (`name` → `title`, `parents[0]` → `parentId`,
8
+ * `owners[0].emailAddress` → `owner`, `webViewLink` → `viewUrl`, `size` →
9
+ * `fileSize`, `capabilities.canAddChildren` → `canAddChildren`), plus the
10
+ * REST-vocabulary flags the methods write (`starred`, `trashed`,
11
+ * `folderColorRgb`, `copyRequiresWriterPermission`, `writersCanShare`). Tools
12
+ * request only the toolset fields, so their outputs stay verbatim to the MCP
13
+ * pages; methods request the superset so a write's effect is visible in its
14
+ * output. Field docs use `.describe()` so they reach the wire JSON Schema an
15
+ * MCP client reads.
16
+ *
17
+ * @see https://developers.google.com/workspace/drive/api/guides/about-files
18
+ */
19
+ export const File = z.object({
20
+ id: z.string().describe('The id of the file that was fetched.'),
21
+ title: z.string().optional().describe('The title of the file.'),
22
+ parentId: z.string().optional().describe('The (optional) id of the parent of the file.'),
23
+ mimeType: z.string().optional().describe('The mime type of the file.'),
24
+ fileSize: z.string().optional().describe('The size in bytes of the file.'),
25
+ description: z.string().optional().describe('The description of the file.'),
26
+ fileExtension: z
27
+ .string()
28
+ .optional()
29
+ .describe('The original file extension of the file, this is only populated for files with content stored in Drive.'),
30
+ contentSnippet: z
31
+ .string()
32
+ .optional()
33
+ .describe("Generated snippet about the content of the file. Computed by Google's hosted MCP " +
34
+ 'backend only; the Drive REST API serves no snippet, so this server never populates the field.'),
35
+ viewUrl: z.string().optional().describe('The URL to view the file.'),
36
+ sharedWithMeTime: z
37
+ .string()
38
+ .optional()
39
+ .describe('The time that the file was shared with the requester (RFC 3339 date-time).'),
40
+ createdTime: z
41
+ .string()
42
+ .optional()
43
+ .describe('The time that the file was created (RFC 3339 date-time).'),
44
+ modifiedTime: z
45
+ .string()
46
+ .optional()
47
+ .describe('The most recent time at which the file was modified (RFC 3339 date-time).'),
48
+ viewedByMeTime: z
49
+ .string()
50
+ .optional()
51
+ .describe('The most recent time at which the file was viewed by requester (RFC 3339 date-time).'),
52
+ owner: z.string().optional().describe('The email address of the owner of the file.'),
53
+ canAddChildren: z
54
+ .boolean()
55
+ .optional()
56
+ .describe('Whether the requester can add children to this folder. This is always false for non-folder types.'),
57
+ starred: z.boolean().optional().describe('Whether the user has starred the file.'),
58
+ trashed: z
59
+ .boolean()
60
+ .optional()
61
+ .describe('Whether the file has been trashed, either explicitly or from a trashed parent folder.'),
62
+ folderColorRgb: z
63
+ .string()
64
+ .optional()
65
+ .describe('The color for a folder or a shortcut to a folder as an RGB hex string.'),
66
+ copyRequiresWriterPermission: z
67
+ .boolean()
68
+ .optional()
69
+ .describe('Whether the options to copy, print, or download this file should be disabled for readers and commenters.'),
70
+ writersCanShare: z
71
+ .boolean()
72
+ .optional()
73
+ .describe("Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives."),
74
+ });
75
+ //# sourceMappingURL=File.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"File.js","sourceRoot":"","sources":["../../../src/drive/entities/File.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAC/D,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IACxF,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IACtE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IAC1E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IAC3E,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yGAAyG,CAC1G;IACH,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mFAAmF;QACjF,+FAA+F,CAClG;IACH,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACpE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4EAA4E,CAAC;IACzF,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0DAA0D,CAAC;IACvE,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2EAA2E,CAAC;IACxF,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,sFAAsF,CACvF;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACpF,cAAc,EAAE,CAAC;SACd,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,mGAAmG,CACpG;IACH,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAClF,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uFAAuF,CACxF;IACH,cAAc,EAAE,CAAC;SACd,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,wEAAwE,CAAC;IACrF,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,0GAA0G,CAC3G;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,wHAAwH,CACzH;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A file in Drive: any content stored in Drive (a blob, a Google Workspace\n * document, a folder, or a shortcut), identified by an immutable id.\n *\n * Fields here are the MCP toolset's lossy `File` projection of the REST\n * `files` resource (`name` → `title`, `parents[0]` → `parentId`,\n * `owners[0].emailAddress` → `owner`, `webViewLink` → `viewUrl`, `size` →\n * `fileSize`, `capabilities.canAddChildren` → `canAddChildren`), plus the\n * REST-vocabulary flags the methods write (`starred`, `trashed`,\n * `folderColorRgb`, `copyRequiresWriterPermission`, `writersCanShare`). Tools\n * request only the toolset fields, so their outputs stay verbatim to the MCP\n * pages; methods request the superset so a write's effect is visible in its\n * output. Field docs use `.describe()` so they reach the wire JSON Schema an\n * MCP client reads.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/about-files\n */\nexport const File = z.object({\n id: z.string().describe('The id of the file that was fetched.'),\n title: z.string().optional().describe('The title of the file.'),\n parentId: z.string().optional().describe('The (optional) id of the parent of the file.'),\n mimeType: z.string().optional().describe('The mime type of the file.'),\n fileSize: z.string().optional().describe('The size in bytes of the file.'),\n description: z.string().optional().describe('The description of the file.'),\n fileExtension: z\n .string()\n .optional()\n .describe(\n 'The original file extension of the file, this is only populated for files with content stored in Drive.',\n ),\n contentSnippet: z\n .string()\n .optional()\n .describe(\n \"Generated snippet about the content of the file. Computed by Google's hosted MCP \" +\n 'backend only; the Drive REST API serves no snippet, so this server never populates the field.',\n ),\n viewUrl: z.string().optional().describe('The URL to view the file.'),\n sharedWithMeTime: z\n .string()\n .optional()\n .describe('The time that the file was shared with the requester (RFC 3339 date-time).'),\n createdTime: z\n .string()\n .optional()\n .describe('The time that the file was created (RFC 3339 date-time).'),\n modifiedTime: z\n .string()\n .optional()\n .describe('The most recent time at which the file was modified (RFC 3339 date-time).'),\n viewedByMeTime: z\n .string()\n .optional()\n .describe(\n 'The most recent time at which the file was viewed by requester (RFC 3339 date-time).',\n ),\n owner: z.string().optional().describe('The email address of the owner of the file.'),\n canAddChildren: z\n .boolean()\n .optional()\n .describe(\n 'Whether the requester can add children to this folder. This is always false for non-folder types.',\n ),\n starred: z.boolean().optional().describe('Whether the user has starred the file.'),\n trashed: z\n .boolean()\n .optional()\n .describe(\n 'Whether the file has been trashed, either explicitly or from a trashed parent folder.',\n ),\n folderColorRgb: z\n .string()\n .optional()\n .describe('The color for a folder or a shortcut to a folder as an RGB hex string.'),\n copyRequiresWriterPermission: z\n .boolean()\n .optional()\n .describe(\n 'Whether the options to copy, print, or download this file should be disabled for readers and commenters.',\n ),\n writersCanShare: z\n .boolean()\n .optional()\n .describe(\n \"Whether users with only writer permission can modify the file's permissions. Not populated for items in shared drives.\",\n ),\n});\n\nexport type File = z.infer<typeof File>;\n"]}
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A grant of access to a file: who (a user, group, domain, or anyone) holds
4
+ * which role on it. The MCP toolset's projection of the REST `permissions`
5
+ * resource; field docs use `.describe()` so they reach the wire JSON Schema
6
+ * an MCP client reads.
7
+ *
8
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-sharing
9
+ */
10
+ export declare const Permission: z.ZodObject<{
11
+ role: z.ZodOptional<z.ZodEnum<{
12
+ organizer: "organizer";
13
+ owner: "owner";
14
+ fileOrganizer: "fileOrganizer";
15
+ writer: "writer";
16
+ commenter: "commenter";
17
+ reader: "reader";
18
+ }>>;
19
+ displayName: z.ZodOptional<z.ZodString>;
20
+ type: z.ZodOptional<z.ZodEnum<{
21
+ domain: "domain";
22
+ user: "user";
23
+ group: "group";
24
+ anyone: "anyone";
25
+ }>>;
26
+ emailAddress: z.ZodOptional<z.ZodString>;
27
+ view: z.ZodOptional<z.ZodEnum<{
28
+ metadata: "metadata";
29
+ published: "published";
30
+ }>>;
31
+ }, z.core.$strip>;
32
+ export type Permission = z.infer<typeof Permission>;
33
+ //# sourceMappingURL=Permission.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Permission.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/Permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;iBAyBrB,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A grant of access to a file: who (a user, group, domain, or anyone) holds
4
+ * which role on it. The MCP toolset's projection of the REST `permissions`
5
+ * resource; field docs use `.describe()` so they reach the wire JSON Schema
6
+ * an MCP client reads.
7
+ *
8
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-sharing
9
+ */
10
+ export const Permission = z.object({
11
+ role: z
12
+ .enum(['owner', 'organizer', 'fileOrganizer', 'writer', 'commenter', 'reader'])
13
+ .optional()
14
+ .describe('The role of the grantee for the file. The possible roles include: owner, organizer, fileOrganizer, writer, commenter, reader.'),
15
+ displayName: z
16
+ .string()
17
+ .optional()
18
+ .describe("Output only. The 'pretty' name of the value of the permission."),
19
+ type: z
20
+ .enum(['user', 'group', 'domain', 'anyone'])
21
+ .optional()
22
+ .describe('The type of the grantee. Supported values include: user, group, domain, anyone.'),
23
+ emailAddress: z
24
+ .string()
25
+ .optional()
26
+ .describe('The email address of the user or group to which this permission refers.'),
27
+ view: z
28
+ .enum(['published', 'metadata'])
29
+ .optional()
30
+ .describe('Specifies the view to which this permission applies, if any. Supported values include: published, metadata.'),
31
+ });
32
+ //# sourceMappingURL=Permission.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Permission.js","sourceRoot":"","sources":["../../../src/drive/entities/Permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;SAC9E,QAAQ,EAAE;SACV,QAAQ,CACP,+HAA+H,CAChI;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gEAAgE,CAAC;IAC7E,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;SAC3C,QAAQ,EAAE;SACV,QAAQ,CAAC,iFAAiF,CAAC;IAC9F,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yEAAyE,CAAC;IACtF,IAAI,EAAE,CAAC;SACJ,IAAI,CAAC,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;SAC/B,QAAQ,EAAE;SACV,QAAQ,CACP,6GAA6G,CAC9G;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A grant of access to a file: who (a user, group, domain, or anyone) holds\n * which role on it. The MCP toolset's projection of the REST `permissions`\n * resource; field docs use `.describe()` so they reach the wire JSON Schema\n * an MCP client reads.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/manage-sharing\n */\nexport const Permission = z.object({\n role: z\n .enum(['owner', 'organizer', 'fileOrganizer', 'writer', 'commenter', 'reader'])\n .optional()\n .describe(\n 'The role of the grantee for the file. The possible roles include: owner, organizer, fileOrganizer, writer, commenter, reader.',\n ),\n displayName: z\n .string()\n .optional()\n .describe(\"Output only. The 'pretty' name of the value of the permission.\"),\n type: z\n .enum(['user', 'group', 'domain', 'anyone'])\n .optional()\n .describe('The type of the grantee. Supported values include: user, group, domain, anyone.'),\n emailAddress: z\n .string()\n .optional()\n .describe('The email address of the user or group to which this permission refers.'),\n view: z\n .enum(['published', 'metadata'])\n .optional()\n .describe(\n 'Specifies the view to which this permission applies, if any. Supported values include: published, metadata.',\n ),\n});\n\nexport type Permission = z.infer<typeof Permission>;\n"]}
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A reply to a comment on a file. A reply may carry an `action` that resolves
4
+ * or reopens its parent comment.
5
+ *
6
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-comments
7
+ */
8
+ export declare const Reply: z.ZodObject<{
9
+ id: z.ZodString;
10
+ content: z.ZodOptional<z.ZodString>;
11
+ htmlContent: z.ZodOptional<z.ZodString>;
12
+ author: z.ZodOptional<z.ZodObject<{
13
+ displayName: z.ZodOptional<z.ZodString>;
14
+ emailAddress: z.ZodOptional<z.ZodString>;
15
+ me: z.ZodOptional<z.ZodBoolean>;
16
+ photoLink: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ createdTime: z.ZodOptional<z.ZodString>;
19
+ modifiedTime: z.ZodOptional<z.ZodString>;
20
+ deleted: z.ZodOptional<z.ZodBoolean>;
21
+ action: z.ZodOptional<z.ZodEnum<{
22
+ resolve: "resolve";
23
+ reopen: "reopen";
24
+ }>>;
25
+ }, z.core.$strip>;
26
+ export type Reply = z.infer<typeof Reply>;
27
+ //# sourceMappingURL=Reply.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reply.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/Reply.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;GAKG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;iBAmChB,CAAC;AAEH,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,KAAK,CAAC,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ import { User } from './User.js';
3
+ /**
4
+ * A reply to a comment on a file. A reply may carry an `action` that resolves
5
+ * or reopens its parent comment.
6
+ *
7
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-comments
8
+ */
9
+ export const Reply = z.object({
10
+ id: z.string().describe('Output only. The ID of the reply.'),
11
+ content: z
12
+ .string()
13
+ .optional()
14
+ .describe('The plain text content of the reply. This field is used for setting the content, ' +
15
+ 'while htmlContent should be displayed.'),
16
+ htmlContent: z
17
+ .string()
18
+ .optional()
19
+ .describe('Output only. The content of the reply with HTML formatting.'),
20
+ author: User.optional().describe("Output only. The author of the reply. The author's email address and permission ID won't be populated."),
21
+ createdTime: z
22
+ .string()
23
+ .optional()
24
+ .describe('The time at which the reply was created (RFC 3339 date-time).'),
25
+ modifiedTime: z
26
+ .string()
27
+ .optional()
28
+ .describe('The last time the reply was modified (RFC 3339 date-time).'),
29
+ deleted: z
30
+ .boolean()
31
+ .optional()
32
+ .describe('Output only. Whether the reply has been deleted. A deleted reply has no content.'),
33
+ action: z
34
+ .enum(['resolve', 'reopen'])
35
+ .optional()
36
+ .describe('The action the reply performed to the parent comment. The supported values are: ' +
37
+ 'resolve, reopen.'),
38
+ });
39
+ //# sourceMappingURL=Reply.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Reply.js","sourceRoot":"","sources":["../../../src/drive/entities/Reply.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC;;;;;GAKG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IAC5D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mFAAmF;QACjF,wCAAwC,CAC3C;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,MAAM,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAC9B,wGAAwG,CACzG;IACD,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+DAA+D,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4DAA4D,CAAC;IACzE,OAAO,EAAE,CAAC;SACP,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,kFAAkF,CAAC;IAC/F,MAAM,EAAE,CAAC;SACN,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;SAC3B,QAAQ,EAAE;SACV,QAAQ,CACP,kFAAkF;QAChF,kBAAkB,CACrB;CACJ,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { User } from './User.js';\n\n/**\n * A reply to a comment on a file. A reply may carry an `action` that resolves\n * or reopens its parent comment.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/manage-comments\n */\nexport const Reply = z.object({\n id: z.string().describe('Output only. The ID of the reply.'),\n content: z\n .string()\n .optional()\n .describe(\n 'The plain text content of the reply. This field is used for setting the content, ' +\n 'while htmlContent should be displayed.',\n ),\n htmlContent: z\n .string()\n .optional()\n .describe('Output only. The content of the reply with HTML formatting.'),\n author: User.optional().describe(\n \"Output only. The author of the reply. The author's email address and permission ID won't be populated.\",\n ),\n createdTime: z\n .string()\n .optional()\n .describe('The time at which the reply was created (RFC 3339 date-time).'),\n modifiedTime: z\n .string()\n .optional()\n .describe('The last time the reply was modified (RFC 3339 date-time).'),\n deleted: z\n .boolean()\n .optional()\n .describe('Output only. Whether the reply has been deleted. A deleted reply has no content.'),\n action: z\n .enum(['resolve', 'reopen'])\n .optional()\n .describe(\n 'The action the reply performed to the parent comment. The supported values are: ' +\n 'resolve, reopen.',\n ),\n});\n\nexport type Reply = z.infer<typeof Reply>;\n"]}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A version of a file: Drive keeps a revision history for blobs and Docs
4
+ * Editors files. Blob revisions auto-purge 30 days after newer content is
5
+ * uploaded unless pinned with `keepForever`; the publish flags apply to Docs
6
+ * Editors files only.
7
+ *
8
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-revisions
9
+ */
10
+ export declare const Revision: z.ZodObject<{
11
+ id: z.ZodString;
12
+ mimeType: z.ZodOptional<z.ZodString>;
13
+ modifiedTime: z.ZodOptional<z.ZodString>;
14
+ keepForever: z.ZodOptional<z.ZodBoolean>;
15
+ published: z.ZodOptional<z.ZodBoolean>;
16
+ publishAuto: z.ZodOptional<z.ZodBoolean>;
17
+ publishedOutsideDomain: z.ZodOptional<z.ZodBoolean>;
18
+ publishedLink: z.ZodOptional<z.ZodString>;
19
+ size: z.ZodOptional<z.ZodString>;
20
+ originalFilename: z.ZodOptional<z.ZodString>;
21
+ md5Checksum: z.ZodOptional<z.ZodString>;
22
+ lastModifyingUser: z.ZodOptional<z.ZodObject<{
23
+ displayName: z.ZodOptional<z.ZodString>;
24
+ emailAddress: z.ZodOptional<z.ZodString>;
25
+ me: z.ZodOptional<z.ZodBoolean>;
26
+ photoLink: z.ZodOptional<z.ZodString>;
27
+ }, z.core.$strip>>;
28
+ }, z.core.$strip>;
29
+ export type Revision = z.infer<typeof Revision>;
30
+ //# sourceMappingURL=Revision.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Revision.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;iBAkEnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { z } from 'zod';
2
+ import { User } from './User.js';
3
+ /**
4
+ * A version of a file: Drive keeps a revision history for blobs and Docs
5
+ * Editors files. Blob revisions auto-purge 30 days after newer content is
6
+ * uploaded unless pinned with `keepForever`; the publish flags apply to Docs
7
+ * Editors files only.
8
+ *
9
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-revisions
10
+ */
11
+ export const Revision = z.object({
12
+ id: z.string().describe('Output only. The ID of the revision.'),
13
+ mimeType: z.string().optional().describe('Output only. The MIME type of the revision.'),
14
+ modifiedTime: z
15
+ .string()
16
+ .optional()
17
+ .describe('The last time the revision was modified (RFC 3339 date-time).'),
18
+ keepForever: z
19
+ .boolean()
20
+ .optional()
21
+ .describe('Whether to keep this revision forever, even if it is no longer the head revision. ' +
22
+ 'If not set, the revision will be automatically purged 30 days after newer content ' +
23
+ 'is uploaded. Only applicable to files with binary content; only 200 revisions can ' +
24
+ 'be kept forever.'),
25
+ published: z
26
+ .boolean()
27
+ .optional()
28
+ .describe('Whether this revision is published. This is only applicable to Docs Editors files.'),
29
+ publishAuto: z
30
+ .boolean()
31
+ .optional()
32
+ .describe('Whether subsequent revisions will be automatically republished. This is only ' +
33
+ 'applicable to Docs Editors files.'),
34
+ publishedOutsideDomain: z
35
+ .boolean()
36
+ .optional()
37
+ .describe('Whether this revision is published outside the domain. This is only applicable to ' +
38
+ 'Docs Editors files.'),
39
+ publishedLink: z
40
+ .string()
41
+ .optional()
42
+ .describe('Output only. A link to the published revision. This is only populated for Docs ' +
43
+ 'Editors files.'),
44
+ size: z
45
+ .string()
46
+ .optional()
47
+ .describe("Output only. The size of the revision's content in bytes. This is only applicable " +
48
+ 'to files with binary content in Drive.'),
49
+ originalFilename: z
50
+ .string()
51
+ .optional()
52
+ .describe('Output only. The original filename used to create this revision. This is only ' +
53
+ 'applicable to files with binary content in Drive.'),
54
+ md5Checksum: z
55
+ .string()
56
+ .optional()
57
+ .describe("Output only. The MD5 checksum of the revision's content. This is only applicable " +
58
+ 'to files with binary content in Drive.'),
59
+ lastModifyingUser: User.optional().describe('Output only. The last user to modify this revision. This field is only populated when ' +
60
+ 'the last modification was performed by a signed-in user.'),
61
+ });
62
+ //# sourceMappingURL=Revision.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Revision.js","sourceRoot":"","sources":["../../../src/drive/entities/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/B,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;IAC/D,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;IACvF,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+DAA+D,CAAC;IAC5E,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oFAAoF;QAClF,oFAAoF;QACpF,oFAAoF;QACpF,kBAAkB,CACrB;IACH,SAAS,EAAE,CAAC;SACT,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,oFAAoF,CAAC;IACjG,WAAW,EAAE,CAAC;SACX,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E;QAC7E,mCAAmC,CACtC;IACH,sBAAsB,EAAE,CAAC;SACtB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oFAAoF;QAClF,qBAAqB,CACxB;IACH,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iFAAiF;QAC/E,gBAAgB,CACnB;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oFAAoF;QAClF,wCAAwC,CAC3C;IACH,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gFAAgF;QAC9E,mDAAmD,CACtD;IACH,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,mFAAmF;QACjF,wCAAwC,CAC3C;IACH,iBAAiB,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACzC,wFAAwF;QACtF,0DAA0D,CAC7D;CACF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\nimport { User } from './User.js';\n\n/**\n * A version of a file: Drive keeps a revision history for blobs and Docs\n * Editors files. Blob revisions auto-purge 30 days after newer content is\n * uploaded unless pinned with `keepForever`; the publish flags apply to Docs\n * Editors files only.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/manage-revisions\n */\nexport const Revision = z.object({\n id: z.string().describe('Output only. The ID of the revision.'),\n mimeType: z.string().optional().describe('Output only. The MIME type of the revision.'),\n modifiedTime: z\n .string()\n .optional()\n .describe('The last time the revision was modified (RFC 3339 date-time).'),\n keepForever: z\n .boolean()\n .optional()\n .describe(\n 'Whether to keep this revision forever, even if it is no longer the head revision. ' +\n 'If not set, the revision will be automatically purged 30 days after newer content ' +\n 'is uploaded. Only applicable to files with binary content; only 200 revisions can ' +\n 'be kept forever.',\n ),\n published: z\n .boolean()\n .optional()\n .describe('Whether this revision is published. This is only applicable to Docs Editors files.'),\n publishAuto: z\n .boolean()\n .optional()\n .describe(\n 'Whether subsequent revisions will be automatically republished. This is only ' +\n 'applicable to Docs Editors files.',\n ),\n publishedOutsideDomain: z\n .boolean()\n .optional()\n .describe(\n 'Whether this revision is published outside the domain. This is only applicable to ' +\n 'Docs Editors files.',\n ),\n publishedLink: z\n .string()\n .optional()\n .describe(\n 'Output only. A link to the published revision. This is only populated for Docs ' +\n 'Editors files.',\n ),\n size: z\n .string()\n .optional()\n .describe(\n \"Output only. The size of the revision's content in bytes. This is only applicable \" +\n 'to files with binary content in Drive.',\n ),\n originalFilename: z\n .string()\n .optional()\n .describe(\n 'Output only. The original filename used to create this revision. This is only ' +\n 'applicable to files with binary content in Drive.',\n ),\n md5Checksum: z\n .string()\n .optional()\n .describe(\n \"Output only. The MD5 checksum of the revision's content. This is only applicable \" +\n 'to files with binary content in Drive.',\n ),\n lastModifyingUser: User.optional().describe(\n 'Output only. The last user to modify this revision. This field is only populated when ' +\n 'the last modification was performed by a signed-in user.',\n ),\n});\n\nexport type Revision = z.infer<typeof Revision>;\n"]}
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A shared drive: a Drive space owned by an organization rather than an
4
+ * individual, whose top-level folder shares the drive's ID. The REST resource
5
+ * is named `drives`; the wing says "shared drive" (Google's prose noun) so a
6
+ * wire name like delete_shared_drive cannot be misread as something
7
+ * account-wide.
8
+ *
9
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-shareddrives
10
+ */
11
+ export declare const SharedDrive: z.ZodObject<{
12
+ id: z.ZodString;
13
+ name: z.ZodOptional<z.ZodString>;
14
+ colorRgb: z.ZodOptional<z.ZodString>;
15
+ themeId: z.ZodOptional<z.ZodString>;
16
+ backgroundImageLink: z.ZodOptional<z.ZodString>;
17
+ createdTime: z.ZodOptional<z.ZodString>;
18
+ hidden: z.ZodOptional<z.ZodBoolean>;
19
+ restrictions: z.ZodOptional<z.ZodObject<{
20
+ adminManagedRestrictions: z.ZodOptional<z.ZodBoolean>;
21
+ copyRequiresWriterPermission: z.ZodOptional<z.ZodBoolean>;
22
+ domainUsersOnly: z.ZodOptional<z.ZodBoolean>;
23
+ driveMembersOnly: z.ZodOptional<z.ZodBoolean>;
24
+ sharingFoldersRequiresOrganizerPermission: z.ZodOptional<z.ZodBoolean>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ export type SharedDrive = z.infer<typeof SharedDrive>;
28
+ //# sourceMappingURL=SharedDrive.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SharedDrive.d.ts","sourceRoot":"","sources":["../../../src/drive/entities/SharedDrive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;iBAmEtB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC"}
@@ -0,0 +1,65 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * A shared drive: a Drive space owned by an organization rather than an
4
+ * individual, whose top-level folder shares the drive's ID. The REST resource
5
+ * is named `drives`; the wing says "shared drive" (Google's prose noun) so a
6
+ * wire name like delete_shared_drive cannot be misread as something
7
+ * account-wide.
8
+ *
9
+ * @see https://developers.google.com/workspace/drive/api/guides/manage-shareddrives
10
+ */
11
+ export const SharedDrive = z.object({
12
+ id: z
13
+ .string()
14
+ .describe('Output only. The ID of this shared drive which is also the ID of the top level ' +
15
+ 'folder of this shared drive.'),
16
+ name: z.string().optional().describe('The name of this shared drive.'),
17
+ colorRgb: z
18
+ .string()
19
+ .optional()
20
+ .describe('The color of this shared drive as an RGB hex string. It can only be set on a ' +
21
+ 'drives.update request that does not set themeId.'),
22
+ themeId: z
23
+ .string()
24
+ .optional()
25
+ .describe('The ID of the theme from which the background image and color will be set. The set ' +
26
+ 'of possible driveThemes can be retrieved from a get_about response.'),
27
+ backgroundImageLink: z
28
+ .string()
29
+ .optional()
30
+ .describe("Output only. A short-lived link to this shared drive's background image."),
31
+ createdTime: z
32
+ .string()
33
+ .optional()
34
+ .describe('The time at which the shared drive was created (RFC 3339 date-time).'),
35
+ hidden: z.boolean().optional().describe('Whether the shared drive is hidden from default view.'),
36
+ restrictions: z
37
+ .object({
38
+ adminManagedRestrictions: z
39
+ .boolean()
40
+ .optional()
41
+ .describe('Whether administrative privileges on this shared drive are required to modify restrictions.'),
42
+ copyRequiresWriterPermission: z
43
+ .boolean()
44
+ .optional()
45
+ .describe('Whether the options to copy, print, or download files inside this shared drive ' +
46
+ 'should be disabled for readers and commenters.'),
47
+ domainUsersOnly: z
48
+ .boolean()
49
+ .optional()
50
+ .describe('Whether access to this shared drive and items inside it is restricted to users ' +
51
+ 'of the domain to which this shared drive belongs.'),
52
+ driveMembersOnly: z
53
+ .boolean()
54
+ .optional()
55
+ .describe('Whether access to items inside this shared drive is restricted to its members.'),
56
+ sharingFoldersRequiresOrganizerPermission: z
57
+ .boolean()
58
+ .optional()
59
+ .describe('If true, only users with the organizer role can share folders. If false, users ' +
60
+ 'with either the organizer role or the file organizer role can share folders.'),
61
+ })
62
+ .optional()
63
+ .describe('A set of restrictions that apply to this shared drive or items inside it.'),
64
+ });
65
+ //# sourceMappingURL=SharedDrive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SharedDrive.js","sourceRoot":"","sources":["../../../src/drive/entities/SharedDrive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAClC,EAAE,EAAE,CAAC;SACF,MAAM,EAAE;SACR,QAAQ,CACP,iFAAiF;QAC/E,8BAA8B,CACjC;IACH,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;IACtE,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E;QAC7E,kDAAkD,CACrD;IACH,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,qFAAqF;QACnF,qEAAqE,CACxE;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,0EAA0E,CAAC;IACvF,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sEAAsE,CAAC;IACnF,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,uDAAuD,CAAC;IAChG,YAAY,EAAE,CAAC;SACZ,MAAM,CAAC;QACN,wBAAwB,EAAE,CAAC;aACxB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,6FAA6F,CAC9F;QACH,4BAA4B,EAAE,CAAC;aAC5B,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,iFAAiF;YAC/E,gDAAgD,CACnD;QACH,eAAe,EAAE,CAAC;aACf,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,iFAAiF;YAC/E,mDAAmD,CACtD;QACH,gBAAgB,EAAE,CAAC;aAChB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CAAC,gFAAgF,CAAC;QAC7F,yCAAyC,EAAE,CAAC;aACzC,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,iFAAiF;YAC/E,8EAA8E,CACjF;KACJ,CAAC;SACD,QAAQ,EAAE;SACV,QAAQ,CAAC,2EAA2E,CAAC;CACzF,CAAC,CAAC","sourcesContent":["import { z } from 'zod';\n\n/**\n * A shared drive: a Drive space owned by an organization rather than an\n * individual, whose top-level folder shares the drive's ID. The REST resource\n * is named `drives`; the wing says \"shared drive\" (Google's prose noun) so a\n * wire name like delete_shared_drive cannot be misread as something\n * account-wide.\n *\n * @see https://developers.google.com/workspace/drive/api/guides/manage-shareddrives\n */\nexport const SharedDrive = z.object({\n id: z\n .string()\n .describe(\n 'Output only. The ID of this shared drive which is also the ID of the top level ' +\n 'folder of this shared drive.',\n ),\n name: z.string().optional().describe('The name of this shared drive.'),\n colorRgb: z\n .string()\n .optional()\n .describe(\n 'The color of this shared drive as an RGB hex string. It can only be set on a ' +\n 'drives.update request that does not set themeId.',\n ),\n themeId: z\n .string()\n .optional()\n .describe(\n 'The ID of the theme from which the background image and color will be set. The set ' +\n 'of possible driveThemes can be retrieved from a get_about response.',\n ),\n backgroundImageLink: z\n .string()\n .optional()\n .describe(\"Output only. A short-lived link to this shared drive's background image.\"),\n createdTime: z\n .string()\n .optional()\n .describe('The time at which the shared drive was created (RFC 3339 date-time).'),\n hidden: z.boolean().optional().describe('Whether the shared drive is hidden from default view.'),\n restrictions: z\n .object({\n adminManagedRestrictions: z\n .boolean()\n .optional()\n .describe(\n 'Whether administrative privileges on this shared drive are required to modify restrictions.',\n ),\n copyRequiresWriterPermission: z\n .boolean()\n .optional()\n .describe(\n 'Whether the options to copy, print, or download files inside this shared drive ' +\n 'should be disabled for readers and commenters.',\n ),\n domainUsersOnly: z\n .boolean()\n .optional()\n .describe(\n 'Whether access to this shared drive and items inside it is restricted to users ' +\n 'of the domain to which this shared drive belongs.',\n ),\n driveMembersOnly: z\n .boolean()\n .optional()\n .describe('Whether access to items inside this shared drive is restricted to its members.'),\n sharingFoldersRequiresOrganizerPermission: z\n .boolean()\n .optional()\n .describe(\n 'If true, only users with the organizer role can share folders. If false, users ' +\n 'with either the organizer role or the file organizer role can share folders.',\n ),\n })\n .optional()\n .describe('A set of restrictions that apply to this shared drive or items inside it.'),\n});\n\nexport type SharedDrive = z.infer<typeof SharedDrive>;\n"]}