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 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_file/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,IAAkC;IAElC,MAAM,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,iBAAiB,EAAE,IAAI,EAAE,CAAC,CAAC;IAC3E,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;AACjC,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n await drive.files.delete({ fileId: args.fileId, supportsAllDrives: true });\n return { fileId: args.fileId };\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export declare const delete_file: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{
2
+ fileId: import("zod").ZodString;
3
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4
+ fileId: import("zod").ZodString;
5
+ }, import("zod/v4/core").$strip>>;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_file/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;iCAetB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const delete_file = driveOperation({
5
+ description: 'Permanently delete a file owned by the user without moving it to the trash; if the ' +
6
+ 'target is a folder, all descendants owned by the user are also deleted. For the ' +
7
+ 'reversible path, use trash_file. In a shared drive the user must be an organizer on ' +
8
+ 'the parent folder.',
9
+ annotations: {
10
+ readOnlyHint: false,
11
+ destructiveHint: true,
12
+ idempotentHint: true,
13
+ openWorldHint: false,
14
+ },
15
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/files/delete',
16
+ schema,
17
+ handler,
18
+ });
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_file/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EACT,qFAAqF;QACrF,kFAAkF;QAClF,sFAAsF;QACtF,oBAAoB;IACtB,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,kFAAkF;IAC1F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const delete_file = driveOperation({\n description:\n 'Permanently delete a file owned by the user without moving it to the trash; if the ' +\n 'target is a folder, all descendants owned by the user are also deleted. For the ' +\n 'reversible path, use trash_file. In a shared drive the user must be an organizer on ' +\n 'the parent folder.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/files/delete',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const schema: {
3
+ input: z.ZodObject<{
4
+ fileId: z.ZodString;
5
+ }, z.core.$strip>;
6
+ /** Delete returns no body; we confirm the id. */
7
+ output: z.ZodObject<{
8
+ fileId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ };
11
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_file/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;IAIjB,iDAAiD;;;;CAIlD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export const schema = {
3
+ input: z.object({
4
+ fileId: z.string().describe('The ID of the file to permanently delete.'),
5
+ }),
6
+ /** Delete returns no body; we confirm the id. */
7
+ output: z.object({
8
+ fileId: z.string().describe('The ID of the permanently deleted file.'),
9
+ }),
10
+ };
11
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_file/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2CAA2C,CAAC;KACzE,CAAC;IACF,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yCAAyC,CAAC;KACvE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\nexport const schema = {\n input: z.object({\n fileId: z.string().describe('The ID of the file to permanently delete.'),\n }),\n /** Delete returns no body; we confirm the id. */\n output: z.object({\n fileId: z.string().describe('The ID of the permanently deleted file.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(drive: drive_v3.Drive, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAOxC"}
@@ -0,0 +1,9 @@
1
+ export async function handler(drive, args) {
2
+ await drive.replies.delete({
3
+ fileId: args.fileId,
4
+ commentId: args.commentId,
5
+ replyId: args.replyId,
6
+ });
7
+ return { fileId: args.fileId, commentId: args.commentId, replyId: args.replyId };
8
+ }
9
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,IAAkC;IAElC,MAAM,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC;QACzB,MAAM,EAAE,IAAI,CAAC,MAAM;QACnB,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,OAAO,EAAE,IAAI,CAAC,OAAO;KACtB,CAAC,CAAC;IACH,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,SAAS,EAAE,IAAI,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;AACnF,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n await drive.replies.delete({\n fileId: args.fileId,\n commentId: args.commentId,\n replyId: args.replyId,\n });\n return { fileId: args.fileId, commentId: args.commentId, replyId: args.replyId };\n}\n"]}
@@ -0,0 +1,10 @@
1
+ export declare const delete_reply: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{
2
+ fileId: import("zod").ZodString;
3
+ commentId: import("zod").ZodString;
4
+ replyId: import("zod").ZodString;
5
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6
+ fileId: import("zod").ZodString;
7
+ commentId: import("zod").ZodString;
8
+ replyId: import("zod").ZodString;
9
+ }, import("zod/v4/core").$strip>>;
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;iCAWvB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const delete_reply = driveOperation({
5
+ description: 'Delete a reply.',
6
+ annotations: {
7
+ readOnlyHint: false,
8
+ destructiveHint: true,
9
+ idempotentHint: true,
10
+ openWorldHint: false,
11
+ },
12
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/replies/delete',
13
+ schema,
14
+ handler,
15
+ });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;IACzC,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,oFAAoF;IAC5F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const delete_reply = driveOperation({\n description: 'Delete a reply.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/replies/delete',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const schema: {
3
+ input: z.ZodObject<{
4
+ fileId: z.ZodString;
5
+ commentId: z.ZodString;
6
+ replyId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ /** Delete returns no body; we confirm the ids. */
9
+ output: z.ZodObject<{
10
+ fileId: z.ZodString;
11
+ commentId: z.ZodString;
12
+ replyId: z.ZodString;
13
+ }, z.core.$strip>;
14
+ };
15
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;;;IAMjB,kDAAkD;;;;;;CAMnD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export const schema = {
3
+ input: z.object({
4
+ fileId: z.string().describe('The ID of the file.'),
5
+ commentId: z.string().describe('The ID of the comment.'),
6
+ replyId: z.string().describe('The ID of the reply to delete.'),
7
+ }),
8
+ /** Delete returns no body; we confirm the ids. */
9
+ output: z.object({
10
+ fileId: z.string().describe('The ID of the file.'),
11
+ commentId: z.string().describe('The ID of the comment.'),
12
+ replyId: z.string().describe('The ID of the deleted reply.'),
13
+ }),
14
+ };
15
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_reply/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACxD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;KAC/D,CAAC;IACF,kDAAkD;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAClD,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACxD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;KAC7D,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\nexport const schema = {\n input: z.object({\n fileId: z.string().describe('The ID of the file.'),\n commentId: z.string().describe('The ID of the comment.'),\n replyId: z.string().describe('The ID of the reply to delete.'),\n }),\n /** Delete returns no body; we confirm the ids. */\n output: z.object({\n fileId: z.string().describe('The ID of the file.'),\n commentId: z.string().describe('The ID of the comment.'),\n replyId: z.string().describe('The ID of the deleted reply.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(drive: drive_v3.Drive, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAGxC"}
@@ -0,0 +1,5 @@
1
+ export async function handler(drive, args) {
2
+ await drive.revisions.delete({ fileId: args.fileId, revisionId: args.revisionId });
3
+ return { fileId: args.fileId, revisionId: args.revisionId };
4
+ }
5
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,IAAkC;IAElC,MAAM,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACnF,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AAC9D,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n await drive.revisions.delete({ fileId: args.fileId, revisionId: args.revisionId });\n return { fileId: args.fileId, revisionId: args.revisionId };\n}\n"]}
@@ -0,0 +1,8 @@
1
+ export declare const delete_revision: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{
2
+ fileId: import("zod").ZodString;
3
+ revisionId: import("zod").ZodString;
4
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
5
+ fileId: import("zod").ZodString;
6
+ revisionId: import("zod").ZodString;
7
+ }, import("zod/v4/core").$strip>>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;iCAc1B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const delete_revision = driveOperation({
5
+ description: 'Permanently delete a file version. Only revisions of files with binary content (like ' +
6
+ 'images or videos) can be deleted; Docs Editors revisions and the last remaining ' +
7
+ 'version cannot.',
8
+ annotations: {
9
+ readOnlyHint: false,
10
+ destructiveHint: true,
11
+ idempotentHint: true,
12
+ openWorldHint: false,
13
+ },
14
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/revisions/delete',
15
+ schema,
16
+ handler,
17
+ });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC;IAC5C,WAAW,EACT,uFAAuF;QACvF,kFAAkF;QAClF,iBAAiB;IACnB,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,sFAAsF;IAC9F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const delete_revision = driveOperation({\n description:\n 'Permanently delete a file version. Only revisions of files with binary content (like ' +\n 'images or videos) can be deleted; Docs Editors revisions and the last remaining ' +\n 'version cannot.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/revisions/delete',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ export declare const schema: {
3
+ input: z.ZodObject<{
4
+ fileId: z.ZodString;
5
+ revisionId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ /** Delete returns no body; we confirm the ids. */
8
+ output: z.ZodObject<{
9
+ fileId: z.ZodString;
10
+ revisionId: z.ZodString;
11
+ }, z.core.$strip>;
12
+ };
13
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;;IAKjB,kDAAkD;;;;;CAKnD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ export const schema = {
3
+ input: z.object({
4
+ fileId: z.string().describe('The ID of the file.'),
5
+ revisionId: z.string().describe('The ID of the revision to permanently delete.'),
6
+ }),
7
+ /** Delete returns no body; we confirm the ids. */
8
+ output: z.object({
9
+ fileId: z.string().describe('The ID of the file.'),
10
+ revisionId: z.string().describe('The ID of the permanently deleted revision.'),
11
+ }),
12
+ };
13
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_revision/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAClD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,+CAA+C,CAAC;KACjF,CAAC;IACF,kDAAkD;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qBAAqB,CAAC;QAClD,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;KAC/E,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\nexport const schema = {\n input: z.object({\n fileId: z.string().describe('The ID of the file.'),\n revisionId: z.string().describe('The ID of the revision to permanently delete.'),\n }),\n /** Delete returns no body; we confirm the ids. */\n output: z.object({\n fileId: z.string().describe('The ID of the file.'),\n revisionId: z.string().describe('The ID of the permanently deleted revision.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(drive: drive_v3.Drive, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CASxC"}
@@ -0,0 +1,10 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ export async function handler(drive, args) {
3
+ await drive.drives.delete(forGoogle({
4
+ driveId: args.driveId,
5
+ useDomainAdminAccess: args.useDomainAdminAccess,
6
+ allowItemDeletion: args.allowItemDeletion,
7
+ }));
8
+ return { driveId: args.driveId };
9
+ }
10
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,IAAkC;IAElC,MAAM,KAAK,CAAC,MAAM,CAAC,MAAM,CACvB,SAAS,CAAC;QACR,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB;QAC/C,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;KAC1C,CAAC,CACH,CAAC;IACF,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;AACnC,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n await drive.drives.delete(\n forGoogle({\n driveId: args.driveId,\n useDomainAdminAccess: args.useDomainAdminAccess,\n allowItemDeletion: args.allowItemDeletion,\n }),\n );\n return { driveId: args.driveId };\n}\n"]}
@@ -0,0 +1,8 @@
1
+ export declare const delete_shared_drive: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{
2
+ driveId: import("zod").ZodString;
3
+ useDomainAdminAccess: import("zod").ZodOptional<import("zod").ZodBoolean>;
4
+ allowItemDeletion: import("zod").ZodOptional<import("zod").ZodBoolean>;
5
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
6
+ driveId: import("zod").ZodString;
7
+ }, import("zod/v4/core").$strip>>;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;iCAa9B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const delete_shared_drive = driveOperation({
5
+ description: 'Permanently delete a shared drive for which the user is an organizer. The shared drive ' +
6
+ 'cannot contain any untrashed items.',
7
+ annotations: {
8
+ readOnlyHint: false,
9
+ destructiveHint: true,
10
+ idempotentHint: true,
11
+ openWorldHint: false,
12
+ },
13
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/drives/delete',
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,CAAC;IAChD,WAAW,EACT,yFAAyF;QACzF,qCAAqC;IACvC,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,mFAAmF;IAC3F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const delete_shared_drive = driveOperation({\n description:\n 'Permanently delete a shared drive for which the user is an organizer. The shared drive ' +\n 'cannot contain any untrashed items.',\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/drives/delete',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ export declare const schema: {
3
+ input: z.ZodObject<{
4
+ driveId: z.ZodString;
5
+ useDomainAdminAccess: z.ZodOptional<z.ZodBoolean>;
6
+ allowItemDeletion: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ /** Delete returns no body; we confirm the id. */
9
+ output: z.ZodObject<{
10
+ driveId: z.ZodString;
11
+ }, z.core.$strip>;
12
+ };
13
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;;;IAmBjB,iDAAiD;;;;CAIlD,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { z } from 'zod';
2
+ export const schema = {
3
+ input: z.object({
4
+ driveId: z.string().describe('The ID of the shared drive to permanently delete.'),
5
+ useDomainAdminAccess: z
6
+ .boolean()
7
+ .optional()
8
+ .describe('Issue the request as a domain administrator; if set to true, then the requester ' +
9
+ 'will be granted access if they are an administrator of the domain to which the ' +
10
+ 'shared drive belongs.'),
11
+ allowItemDeletion: z
12
+ .boolean()
13
+ .optional()
14
+ .describe('Whether any items inside the shared drive should also be deleted. This option is ' +
15
+ 'only supported when useDomainAdminAccess is also set to true.'),
16
+ }),
17
+ /** Delete returns no body; we confirm the id. */
18
+ output: z.object({
19
+ driveId: z.string().describe('The ID of the permanently deleted shared drive.'),
20
+ }),
21
+ };
22
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/drive/methods/delete_shared_drive/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mDAAmD,CAAC;QACjF,oBAAoB,EAAE,CAAC;aACpB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,kFAAkF;YAChF,iFAAiF;YACjF,uBAAuB,CAC1B;QACH,iBAAiB,EAAE,CAAC;aACjB,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CACP,mFAAmF;YACjF,+DAA+D,CAClE;KACJ,CAAC;IACF,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iDAAiD,CAAC;KAChF,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\nexport const schema = {\n input: z.object({\n driveId: z.string().describe('The ID of the shared drive to permanently delete.'),\n useDomainAdminAccess: z\n .boolean()\n .optional()\n .describe(\n 'Issue the request as a domain administrator; if set to true, then the requester ' +\n 'will be granted access if they are an administrator of the domain to which the ' +\n 'shared drive belongs.',\n ),\n allowItemDeletion: z\n .boolean()\n .optional()\n .describe(\n 'Whether any items inside the shared drive should also be deleted. This option is ' +\n 'only supported when useDomainAdminAccess is also set to true.',\n ),\n }),\n /** Delete returns no body; we confirm the id. */\n output: z.object({\n driveId: z.string().describe('The ID of the permanently deleted shared drive.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(drive: drive_v3.Drive, args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAGxC"}
@@ -0,0 +1,6 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ export async function handler(drive, args) {
3
+ await drive.files.emptyTrash(forGoogle({ driveId: args.driveId }));
4
+ return { emptied: true };
5
+ }
6
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,IAAkC;IAElC,MAAM,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACnE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;AAC3B,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n await drive.files.emptyTrash(forGoogle({ driveId: args.driveId }));\n return { emptied: true };\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export declare const empty_trash: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{
2
+ driveId: import("zod").ZodOptional<import("zod").ZodString>;
3
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
4
+ emptied: import("zod").ZodLiteral<true>;
5
+ }, import("zod/v4/core").$strip>>;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;iCAatB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const empty_trash = driveOperation({
5
+ description: "Permanently delete all of the user's trashed files (or, with driveId, a shared " +
6
+ "drive's trash). Nothing emptied from the trash can be restored.",
7
+ annotations: {
8
+ readOnlyHint: false,
9
+ destructiveHint: true,
10
+ idempotentHint: true,
11
+ openWorldHint: false,
12
+ },
13
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/files/emptyTrash',
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,WAAW,GAAG,cAAc,CAAC;IACxC,WAAW,EACT,iFAAiF;QACjF,iEAAiE;IACnE,WAAW,EAAE;QACX,YAAY,EAAE,KAAK;QACnB,eAAe,EAAE,IAAI;QACrB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,sFAAsF;IAC9F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const empty_trash = driveOperation({\n description:\n \"Permanently delete all of the user's trashed files (or, with driveId, a shared \" +\n \"drive's trash). Nothing emptied from the trash can be restored.\",\n annotations: {\n readOnlyHint: false,\n destructiveHint: true,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/files/emptyTrash',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const schema: {
3
+ input: z.ZodObject<{
4
+ driveId: z.ZodOptional<z.ZodString>;
5
+ }, z.core.$strip>;
6
+ /** Empty trash returns no body; we confirm completion. */
7
+ output: z.ZodObject<{
8
+ emptied: z.ZodLiteral<true>;
9
+ }, z.core.$strip>;
10
+ };
11
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;IAOjB,0DAA0D;;;;CAI3D,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ export const schema = {
3
+ input: z.object({
4
+ driveId: z
5
+ .string()
6
+ .optional()
7
+ .describe('If set, empties the trash of the provided shared drive.'),
8
+ }),
9
+ /** Empty trash returns no body; we confirm completion. */
10
+ output: z.object({
11
+ emptied: z.literal(true).describe('The trash was emptied.'),
12
+ }),
13
+ };
14
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/drive/methods/empty_trash/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,yDAAyD,CAAC;KACvE,CAAC;IACF,0DAA0D;IAC1D,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,OAAO,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,wBAAwB,CAAC;KAC5D,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\nexport const schema = {\n input: z.object({\n driveId: z\n .string()\n .optional()\n .describe('If set, empties the trash of the provided shared drive.'),\n }),\n /** Empty trash returns no body; we confirm completion. */\n output: z.object({\n emptied: z.literal(true).describe('The trash was emptied.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { drive_v3 } from '@googleapis/drive';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(drive: drive_v3.Drive, _args: z.infer<typeof schema.input>): Promise<z.infer<typeof schema.output>>;
5
+ //# sourceMappingURL=handler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/get_about/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,KAAK,EAAE,QAAQ,CAAC,KAAK,EACrB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GAClC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CA6BxC"}
@@ -0,0 +1,30 @@
1
+ export async function handler(drive, _args) {
2
+ // about.get requires an explicit fields selection; request exactly what the
3
+ // About entity carries.
4
+ const { data } = await drive.about.get({
5
+ fields: 'user(displayName,emailAddress,me,photoLink),' +
6
+ 'storageQuota(limit,usage,usageInDrive,usageInDriveTrash),' +
7
+ 'maxUploadSize,canCreateDrives',
8
+ });
9
+ return {
10
+ user: data.user
11
+ ? {
12
+ displayName: data.user.displayName ?? undefined,
13
+ emailAddress: data.user.emailAddress ?? undefined,
14
+ me: data.user.me ?? undefined,
15
+ photoLink: data.user.photoLink ?? undefined,
16
+ }
17
+ : undefined,
18
+ storageQuota: data.storageQuota
19
+ ? {
20
+ limit: data.storageQuota.limit ?? undefined,
21
+ usage: data.storageQuota.usage ?? undefined,
22
+ usageInDrive: data.storageQuota.usageInDrive ?? undefined,
23
+ usageInDriveTrash: data.storageQuota.usageInDriveTrash ?? undefined,
24
+ }
25
+ : undefined,
26
+ maxUploadSize: data.maxUploadSize ?? undefined,
27
+ canCreateDrives: data.canCreateDrives ?? undefined,
28
+ };
29
+ }
30
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/drive/methods/get_about/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,KAAqB,EACrB,KAAmC;IAEnC,4EAA4E;IAC5E,wBAAwB;IACxB,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC;QACrC,MAAM,EACJ,8CAA8C;YAC9C,2DAA2D;YAC3D,+BAA+B;KAClC,CAAC,CAAC;IACH,OAAO;QACL,IAAI,EAAE,IAAI,CAAC,IAAI;YACb,CAAC,CAAC;gBACE,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,IAAI,SAAS;gBAC/C,YAAY,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,IAAI,SAAS;gBACjD,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,SAAS;gBAC7B,SAAS,EAAE,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,SAAS;aAC5C;YACH,CAAC,CAAC,SAAS;QACb,YAAY,EAAE,IAAI,CAAC,YAAY;YAC7B,CAAC,CAAC;gBACE,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,IAAI,SAAS;gBAC3C,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,IAAI,SAAS;gBAC3C,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC,YAAY,IAAI,SAAS;gBACzD,iBAAiB,EAAE,IAAI,CAAC,YAAY,CAAC,iBAAiB,IAAI,SAAS;aACpE;YACH,CAAC,CAAC,SAAS;QACb,aAAa,EAAE,IAAI,CAAC,aAAa,IAAI,SAAS;QAC9C,eAAe,EAAE,IAAI,CAAC,eAAe,IAAI,SAAS;KACnD,CAAC;AACJ,CAAC","sourcesContent":["import type { drive_v3 } from '@googleapis/drive';\nimport type { z } from 'zod';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n drive: drive_v3.Drive,\n _args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n // about.get requires an explicit fields selection; request exactly what the\n // About entity carries.\n const { data } = await drive.about.get({\n fields:\n 'user(displayName,emailAddress,me,photoLink),' +\n 'storageQuota(limit,usage,usageInDrive,usageInDriveTrash),' +\n 'maxUploadSize,canCreateDrives',\n });\n return {\n user: data.user\n ? {\n displayName: data.user.displayName ?? undefined,\n emailAddress: data.user.emailAddress ?? undefined,\n me: data.user.me ?? undefined,\n photoLink: data.user.photoLink ?? undefined,\n }\n : undefined,\n storageQuota: data.storageQuota\n ? {\n limit: data.storageQuota.limit ?? undefined,\n usage: data.storageQuota.usage ?? undefined,\n usageInDrive: data.storageQuota.usageInDrive ?? undefined,\n usageInDriveTrash: data.storageQuota.usageInDriveTrash ?? undefined,\n }\n : undefined,\n maxUploadSize: data.maxUploadSize ?? undefined,\n canCreateDrives: data.canCreateDrives ?? undefined,\n };\n}\n"]}
@@ -0,0 +1,17 @@
1
+ export declare const get_about: import("../../../lib/operation.js").Operation<import("@googleapis/drive").drive_v3.Drive, import("zod").ZodObject<{}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
2
+ user: import("zod").ZodOptional<import("zod").ZodObject<{
3
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
4
+ emailAddress: import("zod").ZodOptional<import("zod").ZodString>;
5
+ me: import("zod").ZodOptional<import("zod").ZodBoolean>;
6
+ photoLink: import("zod").ZodOptional<import("zod").ZodString>;
7
+ }, import("zod/v4/core").$strip>>;
8
+ storageQuota: import("zod").ZodOptional<import("zod").ZodObject<{
9
+ limit: import("zod").ZodOptional<import("zod").ZodString>;
10
+ usage: import("zod").ZodOptional<import("zod").ZodString>;
11
+ usageInDrive: import("zod").ZodOptional<import("zod").ZodString>;
12
+ usageInDriveTrash: import("zod").ZodOptional<import("zod").ZodString>;
13
+ }, import("zod/v4/core").$strip>>;
14
+ maxUploadSize: import("zod").ZodOptional<import("zod").ZodString>;
15
+ canCreateDrives: import("zod").ZodOptional<import("zod").ZodBoolean>;
16
+ }, import("zod/v4/core").$strip>>;
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/drive/methods/get_about/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;iCAapB,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { driveOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ export const get_about = driveOperation({
5
+ description: "Get information about the user and the user's Drive: identity, storage quota and " +
6
+ 'usage, the maximum upload size, and whether the user can create shared drives.',
7
+ annotations: {
8
+ readOnlyHint: true,
9
+ destructiveHint: false,
10
+ idempotentHint: true,
11
+ openWorldHint: false,
12
+ },
13
+ source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/about/get',
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/drive/methods/get_about/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,SAAS,GAAG,cAAc,CAAC;IACtC,WAAW,EACT,mFAAmF;QACnF,gFAAgF;IAClF,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;QAClB,eAAe,EAAE,KAAK;QACtB,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,KAAK;KACrB;IACD,MAAM,EAAE,+EAA+E;IACvF,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { driveOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\nexport const get_about = driveOperation({\n description:\n \"Get information about the user and the user's Drive: identity, storage quota and \" +\n 'usage, the maximum upload size, and whether the user can create shared drives.',\n annotations: {\n readOnlyHint: true,\n destructiveHint: false,\n idempotentHint: true,\n openWorldHint: false,\n },\n source: 'https://developers.google.com/workspace/drive/api/reference/rest/v3/about/get',\n schema,\n handler,\n});\n"]}