google-mcp-suite 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (708) hide show
  1. package/README.md +42 -20
  2. package/dist/calendar/capabilities.d.ts +3 -0
  3. package/dist/calendar/capabilities.d.ts.map +1 -0
  4. package/dist/calendar/capabilities.js +21 -0
  5. package/dist/calendar/capabilities.js.map +1 -0
  6. package/dist/calendar/entities/Attendee.d.ts +24 -0
  7. package/dist/calendar/entities/Attendee.d.ts.map +1 -0
  8. package/dist/calendar/entities/Attendee.js +34 -0
  9. package/dist/calendar/entities/Attendee.js.map +1 -0
  10. package/dist/calendar/entities/Calendar.d.ts +20 -0
  11. package/dist/calendar/entities/Calendar.d.ts.map +1 -0
  12. package/dist/calendar/entities/Calendar.js +25 -0
  13. package/dist/calendar/entities/Calendar.js.map +1 -0
  14. package/dist/calendar/entities/CalendarListEntry.d.ts +36 -0
  15. package/dist/calendar/entities/CalendarListEntry.d.ts.map +1 -0
  16. package/dist/calendar/entities/CalendarListEntry.js +60 -0
  17. package/dist/calendar/entities/CalendarListEntry.js.map +1 -0
  18. package/dist/calendar/entities/Colors.d.ts +31 -0
  19. package/dist/calendar/entities/Colors.d.ts.map +1 -0
  20. package/dist/calendar/entities/Colors.js +34 -0
  21. package/dist/calendar/entities/Colors.js.map +1 -0
  22. package/dist/calendar/entities/Event.d.ts +76 -0
  23. package/dist/calendar/entities/Event.d.ts.map +1 -0
  24. package/dist/calendar/entities/Event.js +72 -0
  25. package/dist/calendar/entities/Event.js.map +1 -0
  26. package/dist/calendar/entities/EventDateTime.d.ts +19 -0
  27. package/dist/calendar/entities/EventDateTime.d.ts.map +1 -0
  28. package/dist/calendar/entities/EventDateTime.js +34 -0
  29. package/dist/calendar/entities/EventDateTime.js.map +1 -0
  30. package/dist/calendar/entities/FreeBusy.d.ts +30 -0
  31. package/dist/calendar/entities/FreeBusy.d.ts.map +1 -0
  32. package/dist/calendar/entities/FreeBusy.js +33 -0
  33. package/dist/calendar/entities/FreeBusy.js.map +1 -0
  34. package/dist/calendar/entities/NotificationLevel.d.ts +19 -0
  35. package/dist/calendar/entities/NotificationLevel.d.ts.map +1 -0
  36. package/dist/calendar/entities/NotificationLevel.js +14 -0
  37. package/dist/calendar/entities/NotificationLevel.js.map +1 -0
  38. package/dist/calendar/entities/Principal.d.ts +17 -0
  39. package/dist/calendar/entities/Principal.d.ts.map +1 -0
  40. package/dist/calendar/entities/Principal.js +19 -0
  41. package/dist/calendar/entities/Principal.js.map +1 -0
  42. package/dist/calendar/entities/Reminder.d.ts +19 -0
  43. package/dist/calendar/entities/Reminder.d.ts.map +1 -0
  44. package/dist/calendar/entities/Reminder.js +21 -0
  45. package/dist/calendar/entities/Reminder.js.map +1 -0
  46. package/dist/calendar/entities/Setting.d.ts +12 -0
  47. package/dist/calendar/entities/Setting.d.ts.map +1 -0
  48. package/dist/calendar/entities/Setting.js +13 -0
  49. package/dist/calendar/entities/Setting.js.map +1 -0
  50. package/dist/calendar/index.d.ts +3 -0
  51. package/dist/calendar/index.d.ts.map +1 -0
  52. package/dist/calendar/index.js +19 -0
  53. package/dist/calendar/index.js.map +1 -0
  54. package/dist/calendar/lib/attendees.d.ts +24 -0
  55. package/dist/calendar/lib/attendees.d.ts.map +1 -0
  56. package/dist/calendar/lib/attendees.js +41 -0
  57. package/dist/calendar/lib/attendees.js.map +1 -0
  58. package/dist/calendar/lib/calendar.d.ts +8 -0
  59. package/dist/calendar/lib/calendar.d.ts.map +1 -0
  60. package/dist/calendar/lib/calendar.js +33 -0
  61. package/dist/calendar/lib/calendar.js.map +1 -0
  62. package/dist/calendar/lib/datetime.d.ts +20 -0
  63. package/dist/calendar/lib/datetime.d.ts.map +1 -0
  64. package/dist/calendar/lib/datetime.js +22 -0
  65. package/dist/calendar/lib/datetime.js.map +1 -0
  66. package/dist/calendar/lib/event.d.ts +13 -0
  67. package/dist/calendar/lib/event.d.ts.map +1 -0
  68. package/dist/calendar/lib/event.js +76 -0
  69. package/dist/calendar/lib/event.js.map +1 -0
  70. package/dist/calendar/lib/freebusy.d.ts +11 -0
  71. package/dist/calendar/lib/freebusy.d.ts.map +1 -0
  72. package/dist/calendar/lib/freebusy.js +21 -0
  73. package/dist/calendar/lib/freebusy.js.map +1 -0
  74. package/dist/calendar/lib/meet.d.ts +14 -0
  75. package/dist/calendar/lib/meet.d.ts.map +1 -0
  76. package/dist/calendar/lib/meet.js +20 -0
  77. package/dist/calendar/lib/meet.js.map +1 -0
  78. package/dist/calendar/lib/notifications.d.ts +15 -0
  79. package/dist/calendar/lib/notifications.d.ts.map +1 -0
  80. package/dist/calendar/lib/notifications.js +14 -0
  81. package/dist/calendar/lib/notifications.js.map +1 -0
  82. package/dist/calendar/lib/suggest.d.ts +47 -0
  83. package/dist/calendar/lib/suggest.d.ts.map +1 -0
  84. package/dist/calendar/lib/suggest.js +118 -0
  85. package/dist/calendar/lib/suggest.js.map +1 -0
  86. package/dist/calendar/methods/add_calendar_entry/handler.d.ts +5 -0
  87. package/dist/calendar/methods/add_calendar_entry/handler.d.ts.map +1 -0
  88. package/dist/calendar/methods/add_calendar_entry/handler.js +8 -0
  89. package/dist/calendar/methods/add_calendar_entry/handler.js.map +1 -0
  90. package/dist/calendar/methods/add_calendar_entry/index.d.ts +33 -0
  91. package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -0
  92. package/dist/calendar/methods/add_calendar_entry/index.js +17 -0
  93. package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -0
  94. package/dist/calendar/methods/add_calendar_entry/schema.d.ts +30 -0
  95. package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -0
  96. package/dist/calendar/methods/add_calendar_entry/schema.js +12 -0
  97. package/dist/calendar/methods/add_calendar_entry/schema.js.map +1 -0
  98. package/dist/calendar/methods/clear_calendar/handler.d.ts +5 -0
  99. package/dist/calendar/methods/clear_calendar/handler.d.ts.map +1 -0
  100. package/dist/calendar/methods/clear_calendar/handler.js +6 -0
  101. package/dist/calendar/methods/clear_calendar/handler.js.map +1 -0
  102. package/dist/calendar/methods/clear_calendar/index.d.ts +13 -0
  103. package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -0
  104. package/dist/calendar/methods/clear_calendar/index.js +17 -0
  105. package/dist/calendar/methods/clear_calendar/index.js.map +1 -0
  106. package/dist/calendar/methods/clear_calendar/schema.d.ts +12 -0
  107. package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -0
  108. package/dist/calendar/methods/clear_calendar/schema.js +15 -0
  109. package/dist/calendar/methods/clear_calendar/schema.js.map +1 -0
  110. package/dist/calendar/methods/create_calendar/handler.d.ts +5 -0
  111. package/dist/calendar/methods/create_calendar/handler.d.ts.map +1 -0
  112. package/dist/calendar/methods/create_calendar/handler.js +14 -0
  113. package/dist/calendar/methods/create_calendar/handler.js.map +1 -0
  114. package/dist/calendar/methods/create_calendar/index.d.ts +19 -0
  115. package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -0
  116. package/dist/calendar/methods/create_calendar/index.js +15 -0
  117. package/dist/calendar/methods/create_calendar/index.js.map +1 -0
  118. package/dist/calendar/methods/create_calendar/schema.d.ts +18 -0
  119. package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -0
  120. package/dist/calendar/methods/create_calendar/schema.js +19 -0
  121. package/dist/calendar/methods/create_calendar/schema.js.map +1 -0
  122. package/dist/calendar/methods/delete_calendar/handler.d.ts +5 -0
  123. package/dist/calendar/methods/delete_calendar/handler.d.ts.map +1 -0
  124. package/dist/calendar/methods/delete_calendar/handler.js +5 -0
  125. package/dist/calendar/methods/delete_calendar/handler.js.map +1 -0
  126. package/dist/calendar/methods/delete_calendar/index.d.ts +14 -0
  127. package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -0
  128. package/dist/calendar/methods/delete_calendar/index.js +18 -0
  129. package/dist/calendar/methods/delete_calendar/index.js.map +1 -0
  130. package/dist/calendar/methods/delete_calendar/schema.d.ts +12 -0
  131. package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -0
  132. package/dist/calendar/methods/delete_calendar/schema.js +14 -0
  133. package/dist/calendar/methods/delete_calendar/schema.js.map +1 -0
  134. package/dist/calendar/methods/get_calendar/handler.d.ts +5 -0
  135. package/dist/calendar/methods/get_calendar/handler.d.ts.map +1 -0
  136. package/dist/calendar/methods/get_calendar/handler.js +6 -0
  137. package/dist/calendar/methods/get_calendar/handler.js.map +1 -0
  138. package/dist/calendar/methods/get_calendar/index.d.ts +16 -0
  139. package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -0
  140. package/dist/calendar/methods/get_calendar/index.js +15 -0
  141. package/dist/calendar/methods/get_calendar/index.js.map +1 -0
  142. package/dist/calendar/methods/get_calendar/schema.d.ts +15 -0
  143. package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -0
  144. package/dist/calendar/methods/get_calendar/schema.js +13 -0
  145. package/dist/calendar/methods/get_calendar/schema.js.map +1 -0
  146. package/dist/calendar/methods/get_calendar_entry/handler.d.ts +5 -0
  147. package/dist/calendar/methods/get_calendar_entry/handler.d.ts.map +1 -0
  148. package/dist/calendar/methods/get_calendar_entry/handler.js +6 -0
  149. package/dist/calendar/methods/get_calendar_entry/handler.js.map +1 -0
  150. package/dist/calendar/methods/get_calendar_entry/index.d.ts +31 -0
  151. package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -0
  152. package/dist/calendar/methods/get_calendar_entry/index.js +15 -0
  153. package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -0
  154. package/dist/calendar/methods/get_calendar_entry/schema.d.ts +30 -0
  155. package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -0
  156. package/dist/calendar/methods/get_calendar_entry/schema.js +13 -0
  157. package/dist/calendar/methods/get_calendar_entry/schema.js.map +1 -0
  158. package/dist/calendar/methods/get_colors/handler.d.ts +5 -0
  159. package/dist/calendar/methods/get_colors/handler.d.ts.map +1 -0
  160. package/dist/calendar/methods/get_colors/handler.js +19 -0
  161. package/dist/calendar/methods/get_colors/handler.js.map +1 -0
  162. package/dist/calendar/methods/get_colors/index.d.ts +19 -0
  163. package/dist/calendar/methods/get_colors/index.d.ts.map +1 -0
  164. package/dist/calendar/methods/get_colors/index.js +16 -0
  165. package/dist/calendar/methods/get_colors/index.js.map +1 -0
  166. package/dist/calendar/methods/get_colors/schema.d.ts +17 -0
  167. package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -0
  168. package/dist/calendar/methods/get_colors/schema.js +8 -0
  169. package/dist/calendar/methods/get_colors/schema.js.map +1 -0
  170. package/dist/calendar/methods/get_setting/handler.d.ts +5 -0
  171. package/dist/calendar/methods/get_setting/handler.d.ts.map +1 -0
  172. package/dist/calendar/methods/get_setting/handler.js +8 -0
  173. package/dist/calendar/methods/get_setting/handler.js.map +1 -0
  174. package/dist/calendar/methods/get_setting/index.d.ts +11 -0
  175. package/dist/calendar/methods/get_setting/index.d.ts.map +1 -0
  176. package/dist/calendar/methods/get_setting/index.js +13 -0
  177. package/dist/calendar/methods/get_setting/index.js.map +1 -0
  178. package/dist/calendar/methods/get_setting/schema.d.ts +12 -0
  179. package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -0
  180. package/dist/calendar/methods/get_setting/schema.js +12 -0
  181. package/dist/calendar/methods/get_setting/schema.js.map +1 -0
  182. package/dist/calendar/methods/list_event_instances/handler.d.ts +5 -0
  183. package/dist/calendar/methods/list_event_instances/handler.d.ts.map +1 -0
  184. package/dist/calendar/methods/list_event_instances/handler.js +28 -0
  185. package/dist/calendar/methods/list_event_instances/handler.js.map +1 -0
  186. package/dist/calendar/methods/list_event_instances/index.d.ts +95 -0
  187. package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -0
  188. package/dist/calendar/methods/list_event_instances/index.js +17 -0
  189. package/dist/calendar/methods/list_event_instances/index.js.map +1 -0
  190. package/dist/calendar/methods/list_event_instances/schema.d.ts +92 -0
  191. package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -0
  192. package/dist/calendar/methods/list_event_instances/schema.js +63 -0
  193. package/dist/calendar/methods/list_event_instances/schema.js.map +1 -0
  194. package/dist/calendar/methods/list_settings/handler.d.ts +5 -0
  195. package/dist/calendar/methods/list_settings/handler.d.ts.map +1 -0
  196. package/dist/calendar/methods/list_settings/handler.js +15 -0
  197. package/dist/calendar/methods/list_settings/handler.js.map +1 -0
  198. package/dist/calendar/methods/list_settings/index.d.ts +17 -0
  199. package/dist/calendar/methods/list_settings/index.d.ts.map +1 -0
  200. package/dist/calendar/methods/list_settings/index.js +15 -0
  201. package/dist/calendar/methods/list_settings/index.js.map +1 -0
  202. package/dist/calendar/methods/list_settings/schema.d.ts +21 -0
  203. package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -0
  204. package/dist/calendar/methods/list_settings/schema.js +27 -0
  205. package/dist/calendar/methods/list_settings/schema.js.map +1 -0
  206. package/dist/calendar/methods/move_event/handler.d.ts +5 -0
  207. package/dist/calendar/methods/move_event/handler.d.ts.map +1 -0
  208. package/dist/calendar/methods/move_event/handler.js +12 -0
  209. package/dist/calendar/methods/move_event/handler.js.map +1 -0
  210. package/dist/calendar/methods/move_event/index.d.ts +79 -0
  211. package/dist/calendar/methods/move_event/index.d.ts.map +1 -0
  212. package/dist/calendar/methods/move_event/index.js +17 -0
  213. package/dist/calendar/methods/move_event/index.js.map +1 -0
  214. package/dist/calendar/methods/move_event/schema.d.ts +76 -0
  215. package/dist/calendar/methods/move_event/schema.d.ts.map +1 -0
  216. package/dist/calendar/methods/move_event/schema.js +19 -0
  217. package/dist/calendar/methods/move_event/schema.js.map +1 -0
  218. package/dist/calendar/methods/patch_event/handler.d.ts +5 -0
  219. package/dist/calendar/methods/patch_event/handler.d.ts.map +1 -0
  220. package/dist/calendar/methods/patch_event/handler.js +29 -0
  221. package/dist/calendar/methods/patch_event/handler.js.map +1 -0
  222. package/dist/calendar/methods/patch_event/index.d.ts +131 -0
  223. package/dist/calendar/methods/patch_event/index.d.ts.map +1 -0
  224. package/dist/calendar/methods/patch_event/index.js +18 -0
  225. package/dist/calendar/methods/patch_event/index.js.map +1 -0
  226. package/dist/calendar/methods/patch_event/schema.d.ts +127 -0
  227. package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -0
  228. package/dist/calendar/methods/patch_event/schema.js +110 -0
  229. package/dist/calendar/methods/patch_event/schema.js.map +1 -0
  230. package/dist/calendar/methods/query_free_busy/handler.d.ts +5 -0
  231. package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -0
  232. package/dist/calendar/methods/query_free_busy/handler.js +21 -0
  233. package/dist/calendar/methods/query_free_busy/handler.js.map +1 -0
  234. package/dist/calendar/methods/query_free_busy/index.d.ts +29 -0
  235. package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -0
  236. package/dist/calendar/methods/query_free_busy/index.js +16 -0
  237. package/dist/calendar/methods/query_free_busy/index.js.map +1 -0
  238. package/dist/calendar/methods/query_free_busy/schema.d.ts +27 -0
  239. package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -0
  240. package/dist/calendar/methods/query_free_busy/schema.js +36 -0
  241. package/dist/calendar/methods/query_free_busy/schema.js.map +1 -0
  242. package/dist/calendar/methods/quick_add_event/handler.d.ts +5 -0
  243. package/dist/calendar/methods/quick_add_event/handler.d.ts.map +1 -0
  244. package/dist/calendar/methods/quick_add_event/handler.js +11 -0
  245. package/dist/calendar/methods/quick_add_event/handler.js.map +1 -0
  246. package/dist/calendar/methods/quick_add_event/index.d.ts +77 -0
  247. package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -0
  248. package/dist/calendar/methods/quick_add_event/index.js +16 -0
  249. package/dist/calendar/methods/quick_add_event/index.js.map +1 -0
  250. package/dist/calendar/methods/quick_add_event/schema.d.ts +75 -0
  251. package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -0
  252. package/dist/calendar/methods/quick_add_event/schema.js +20 -0
  253. package/dist/calendar/methods/quick_add_event/schema.js.map +1 -0
  254. package/dist/calendar/methods/registry.d.ts +538 -0
  255. package/dist/calendar/methods/registry.d.ts.map +1 -0
  256. package/dist/calendar/methods/registry.js +48 -0
  257. package/dist/calendar/methods/registry.js.map +1 -0
  258. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts +5 -0
  259. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts.map +1 -0
  260. package/dist/calendar/methods/remove_calendar_entry/handler.js +5 -0
  261. package/dist/calendar/methods/remove_calendar_entry/handler.js.map +1 -0
  262. package/dist/calendar/methods/remove_calendar_entry/index.d.ts +13 -0
  263. package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -0
  264. package/dist/calendar/methods/remove_calendar_entry/index.js +16 -0
  265. package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -0
  266. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts +12 -0
  267. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -0
  268. package/dist/calendar/methods/remove_calendar_entry/schema.js +14 -0
  269. package/dist/calendar/methods/remove_calendar_entry/schema.js.map +1 -0
  270. package/dist/calendar/methods/update_calendar/handler.d.ts +5 -0
  271. package/dist/calendar/methods/update_calendar/handler.d.ts.map +1 -0
  272. package/dist/calendar/methods/update_calendar/handler.js +15 -0
  273. package/dist/calendar/methods/update_calendar/handler.js.map +1 -0
  274. package/dist/calendar/methods/update_calendar/index.d.ts +18 -0
  275. package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -0
  276. package/dist/calendar/methods/update_calendar/index.js +13 -0
  277. package/dist/calendar/methods/update_calendar/index.js.map +1 -0
  278. package/dist/calendar/methods/update_calendar/schema.d.ts +19 -0
  279. package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -0
  280. package/dist/calendar/methods/update_calendar/schema.js +23 -0
  281. package/dist/calendar/methods/update_calendar/schema.js.map +1 -0
  282. package/dist/calendar/methods/update_calendar_entry/handler.d.ts +5 -0
  283. package/dist/calendar/methods/update_calendar_entry/handler.d.ts.map +1 -0
  284. package/dist/calendar/methods/update_calendar_entry/handler.js +22 -0
  285. package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -0
  286. package/dist/calendar/methods/update_calendar_entry/index.d.ts +46 -0
  287. package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -0
  288. package/dist/calendar/methods/update_calendar_entry/index.js +17 -0
  289. package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -0
  290. package/dist/calendar/methods/update_calendar_entry/schema.d.ts +43 -0
  291. package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -0
  292. package/dist/calendar/methods/update_calendar_entry/schema.js +39 -0
  293. package/dist/calendar/methods/update_calendar_entry/schema.js.map +1 -0
  294. package/dist/calendar/operation.d.ts +12 -0
  295. package/dist/calendar/operation.d.ts.map +1 -0
  296. package/dist/calendar/operation.js +10 -0
  297. package/dist/calendar/operation.js.map +1 -0
  298. package/dist/calendar/tools/create_event/handler.d.ts +5 -0
  299. package/dist/calendar/tools/create_event/handler.d.ts.map +1 -0
  300. package/dist/calendar/tools/create_event/handler.js +41 -0
  301. package/dist/calendar/tools/create_event/handler.js.map +1 -0
  302. package/dist/calendar/tools/create_event/index.d.ts +101 -0
  303. package/dist/calendar/tools/create_event/index.d.ts.map +1 -0
  304. package/dist/calendar/tools/create_event/index.js +17 -0
  305. package/dist/calendar/tools/create_event/index.js.map +1 -0
  306. package/dist/calendar/tools/create_event/schema.d.ts +98 -0
  307. package/dist/calendar/tools/create_event/schema.d.ts.map +1 -0
  308. package/dist/calendar/tools/create_event/schema.js +54 -0
  309. package/dist/calendar/tools/create_event/schema.js.map +1 -0
  310. package/dist/calendar/tools/delete_event/handler.d.ts +5 -0
  311. package/dist/calendar/tools/delete_event/handler.d.ts.map +1 -0
  312. package/dist/calendar/tools/delete_event/handler.js +15 -0
  313. package/dist/calendar/tools/delete_event/handler.js.map +1 -0
  314. package/dist/calendar/tools/delete_event/index.d.ts +76 -0
  315. package/dist/calendar/tools/delete_event/index.d.ts.map +1 -0
  316. package/dist/calendar/tools/delete_event/index.js +16 -0
  317. package/dist/calendar/tools/delete_event/index.js.map +1 -0
  318. package/dist/calendar/tools/delete_event/schema.d.ts +75 -0
  319. package/dist/calendar/tools/delete_event/schema.d.ts.map +1 -0
  320. package/dist/calendar/tools/delete_event/schema.js +16 -0
  321. package/dist/calendar/tools/delete_event/schema.js.map +1 -0
  322. package/dist/calendar/tools/get_event/handler.d.ts +5 -0
  323. package/dist/calendar/tools/get_event/handler.d.ts.map +1 -0
  324. package/dist/calendar/tools/get_event/handler.js +9 -0
  325. package/dist/calendar/tools/get_event/handler.js.map +1 -0
  326. package/dist/calendar/tools/get_event/index.d.ts +66 -0
  327. package/dist/calendar/tools/get_event/index.d.ts.map +1 -0
  328. package/dist/calendar/tools/get_event/index.js +10 -0
  329. package/dist/calendar/tools/get_event/index.js.map +1 -0
  330. package/dist/calendar/tools/get_event/schema.d.ts +70 -0
  331. package/dist/calendar/tools/get_event/schema.d.ts.map +1 -0
  332. package/dist/calendar/tools/get_event/schema.js +14 -0
  333. package/dist/calendar/tools/get_event/schema.js.map +1 -0
  334. package/dist/calendar/tools/list_calendars/handler.d.ts +5 -0
  335. package/dist/calendar/tools/list_calendars/handler.d.ts.map +1 -0
  336. package/dist/calendar/tools/list_calendars/handler.js +17 -0
  337. package/dist/calendar/tools/list_calendars/handler.js.map +1 -0
  338. package/dist/calendar/tools/list_calendars/index.d.ts +20 -0
  339. package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -0
  340. package/dist/calendar/tools/list_calendars/index.js +16 -0
  341. package/dist/calendar/tools/list_calendars/index.js.map +1 -0
  342. package/dist/calendar/tools/list_calendars/schema.d.ts +18 -0
  343. package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -0
  344. package/dist/calendar/tools/list_calendars/schema.js +26 -0
  345. package/dist/calendar/tools/list_calendars/schema.js.map +1 -0
  346. package/dist/calendar/tools/list_events/handler.d.ts +5 -0
  347. package/dist/calendar/tools/list_events/handler.d.ts.map +1 -0
  348. package/dist/calendar/tools/list_events/handler.js +45 -0
  349. package/dist/calendar/tools/list_events/handler.js.map +1 -0
  350. package/dist/calendar/tools/list_events/index.d.ts +107 -0
  351. package/dist/calendar/tools/list_events/index.d.ts.map +1 -0
  352. package/dist/calendar/tools/list_events/index.js +17 -0
  353. package/dist/calendar/tools/list_events/index.js.map +1 -0
  354. package/dist/calendar/tools/list_events/schema.d.ts +104 -0
  355. package/dist/calendar/tools/list_events/schema.d.ts.map +1 -0
  356. package/dist/calendar/tools/list_events/schema.js +66 -0
  357. package/dist/calendar/tools/list_events/schema.js.map +1 -0
  358. package/dist/calendar/tools/registry.d.ts +529 -0
  359. package/dist/calendar/tools/registry.d.ts.map +1 -0
  360. package/dist/calendar/tools/registry.js +24 -0
  361. package/dist/calendar/tools/registry.js.map +1 -0
  362. package/dist/calendar/tools/respond_to_event/handler.d.ts +5 -0
  363. package/dist/calendar/tools/respond_to_event/handler.d.ts.map +1 -0
  364. package/dist/calendar/tools/respond_to_event/handler.js +19 -0
  365. package/dist/calendar/tools/respond_to_event/handler.js.map +1 -0
  366. package/dist/calendar/tools/respond_to_event/index.d.ts +83 -0
  367. package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -0
  368. package/dist/calendar/tools/respond_to_event/index.js +16 -0
  369. package/dist/calendar/tools/respond_to_event/index.js.map +1 -0
  370. package/dist/calendar/tools/respond_to_event/schema.d.ts +81 -0
  371. package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -0
  372. package/dist/calendar/tools/respond_to_event/schema.js +23 -0
  373. package/dist/calendar/tools/respond_to_event/schema.js.map +1 -0
  374. package/dist/calendar/tools/suggest_time/handler.d.ts +5 -0
  375. package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -0
  376. package/dist/calendar/tools/suggest_time/handler.js +37 -0
  377. package/dist/calendar/tools/suggest_time/handler.js.map +1 -0
  378. package/dist/calendar/tools/suggest_time/index.d.ts +34 -0
  379. package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -0
  380. package/dist/calendar/tools/suggest_time/index.js +23 -0
  381. package/dist/calendar/tools/suggest_time/index.js.map +1 -0
  382. package/dist/calendar/tools/suggest_time/schema.d.ts +25 -0
  383. package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -0
  384. package/dist/calendar/tools/suggest_time/schema.js +69 -0
  385. package/dist/calendar/tools/suggest_time/schema.js.map +1 -0
  386. package/dist/calendar/tools/update_event/handler.d.ts +5 -0
  387. package/dist/calendar/tools/update_event/handler.d.ts.map +1 -0
  388. package/dist/calendar/tools/update_event/handler.js +53 -0
  389. package/dist/calendar/tools/update_event/handler.js.map +1 -0
  390. package/dist/calendar/tools/update_event/index.d.ts +100 -0
  391. package/dist/calendar/tools/update_event/index.d.ts.map +1 -0
  392. package/dist/calendar/tools/update_event/index.js +17 -0
  393. package/dist/calendar/tools/update_event/index.js.map +1 -0
  394. package/dist/calendar/tools/update_event/schema.d.ts +97 -0
  395. package/dist/calendar/tools/update_event/schema.d.ts.map +1 -0
  396. package/dist/calendar/tools/update_event/schema.js +59 -0
  397. package/dist/calendar/tools/update_event/schema.js.map +1 -0
  398. package/dist/doctor/services.d.ts.map +1 -1
  399. package/dist/doctor/services.js +23 -2
  400. package/dist/doctor/services.js.map +1 -1
  401. package/dist/gmail/operation.d.ts +1 -1
  402. package/dist/gmail/operation.d.ts.map +1 -1
  403. package/dist/gmail/operation.js.map +1 -1
  404. package/dist/lib/operation.d.ts +4 -4
  405. package/dist/lib/operation.d.ts.map +1 -1
  406. package/dist/lib/operation.js +1 -1
  407. package/dist/lib/operation.js.map +1 -1
  408. package/dist/lib/server.d.ts +6 -5
  409. package/dist/lib/server.d.ts.map +1 -1
  410. package/dist/lib/server.js +20 -7
  411. package/dist/lib/server.js.map +1 -1
  412. package/dist/sheets/capabilities.d.ts +3 -0
  413. package/dist/sheets/capabilities.d.ts.map +1 -0
  414. package/dist/sheets/capabilities.js +15 -0
  415. package/dist/sheets/capabilities.js.map +1 -0
  416. package/dist/sheets/entities/CellValue.d.ts +14 -0
  417. package/dist/sheets/entities/CellValue.d.ts.map +1 -0
  418. package/dist/sheets/entities/CellValue.js +15 -0
  419. package/dist/sheets/entities/CellValue.js.map +1 -0
  420. package/dist/sheets/entities/DataFilter.d.ts +57 -0
  421. package/dist/sheets/entities/DataFilter.d.ts.map +1 -0
  422. package/dist/sheets/entities/DataFilter.js +15 -0
  423. package/dist/sheets/entities/DataFilter.js.map +1 -0
  424. package/dist/sheets/entities/DataFilterValueRange.d.ts +64 -0
  425. package/dist/sheets/entities/DataFilterValueRange.d.ts.map +1 -0
  426. package/dist/sheets/entities/DataFilterValueRange.js +18 -0
  427. package/dist/sheets/entities/DataFilterValueRange.js.map +1 -0
  428. package/dist/sheets/entities/DateTimeRenderOption.d.ts +13 -0
  429. package/dist/sheets/entities/DateTimeRenderOption.d.ts.map +1 -0
  430. package/dist/sheets/entities/DateTimeRenderOption.js +11 -0
  431. package/dist/sheets/entities/DateTimeRenderOption.js.map +1 -0
  432. package/dist/sheets/entities/DeveloperMetadata.d.ts +40 -0
  433. package/dist/sheets/entities/DeveloperMetadata.d.ts.map +1 -0
  434. package/dist/sheets/entities/DeveloperMetadata.js +28 -0
  435. package/dist/sheets/entities/DeveloperMetadata.js.map +1 -0
  436. package/dist/sheets/entities/DeveloperMetadataLocation.d.ts +28 -0
  437. package/dist/sheets/entities/DeveloperMetadataLocation.d.ts.map +1 -0
  438. package/dist/sheets/entities/DeveloperMetadataLocation.js +25 -0
  439. package/dist/sheets/entities/DeveloperMetadataLocation.js.map +1 -0
  440. package/dist/sheets/entities/DeveloperMetadataLookup.d.ts +48 -0
  441. package/dist/sheets/entities/DeveloperMetadataLookup.d.ts.map +1 -0
  442. package/dist/sheets/entities/DeveloperMetadataLookup.js +38 -0
  443. package/dist/sheets/entities/DeveloperMetadataLookup.js.map +1 -0
  444. package/dist/sheets/entities/DimensionRange.d.ts +18 -0
  445. package/dist/sheets/entities/DimensionRange.d.ts.map +1 -0
  446. package/dist/sheets/entities/DimensionRange.js +22 -0
  447. package/dist/sheets/entities/DimensionRange.js.map +1 -0
  448. package/dist/sheets/entities/GridProperties.d.ts +16 -0
  449. package/dist/sheets/entities/GridProperties.d.ts.map +1 -0
  450. package/dist/sheets/entities/GridProperties.js +23 -0
  451. package/dist/sheets/entities/GridProperties.js.map +1 -0
  452. package/dist/sheets/entities/GridRange.d.ts +17 -0
  453. package/dist/sheets/entities/GridRange.d.ts.map +1 -0
  454. package/dist/sheets/entities/GridRange.js +32 -0
  455. package/dist/sheets/entities/GridRange.js.map +1 -0
  456. package/dist/sheets/entities/MajorDimension.d.ts +13 -0
  457. package/dist/sheets/entities/MajorDimension.d.ts.map +1 -0
  458. package/dist/sheets/entities/MajorDimension.js +11 -0
  459. package/dist/sheets/entities/MajorDimension.js.map +1 -0
  460. package/dist/sheets/entities/MatchedValueRange.d.ts +67 -0
  461. package/dist/sheets/entities/MatchedValueRange.d.ts.map +1 -0
  462. package/dist/sheets/entities/MatchedValueRange.js +17 -0
  463. package/dist/sheets/entities/MatchedValueRange.js.map +1 -0
  464. package/dist/sheets/entities/SheetProperties.d.ts +28 -0
  465. package/dist/sheets/entities/SheetProperties.d.ts.map +1 -0
  466. package/dist/sheets/entities/SheetProperties.js +32 -0
  467. package/dist/sheets/entities/SheetProperties.js.map +1 -0
  468. package/dist/sheets/entities/Spreadsheet.d.ts +44 -0
  469. package/dist/sheets/entities/Spreadsheet.d.ts.map +1 -0
  470. package/dist/sheets/entities/Spreadsheet.js +23 -0
  471. package/dist/sheets/entities/Spreadsheet.js.map +1 -0
  472. package/dist/sheets/entities/SpreadsheetProperties.d.ts +20 -0
  473. package/dist/sheets/entities/SpreadsheetProperties.d.ts.map +1 -0
  474. package/dist/sheets/entities/SpreadsheetProperties.js +24 -0
  475. package/dist/sheets/entities/SpreadsheetProperties.js.map +1 -0
  476. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts +72 -0
  477. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.d.ts.map +1 -0
  478. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js +30 -0
  479. package/dist/sheets/entities/UpdateValuesByDataFilterResponse.js.map +1 -0
  480. package/dist/sheets/entities/UpdateValuesResponse.d.ts +25 -0
  481. package/dist/sheets/entities/UpdateValuesResponse.d.ts.map +1 -0
  482. package/dist/sheets/entities/UpdateValuesResponse.js +29 -0
  483. package/dist/sheets/entities/UpdateValuesResponse.js.map +1 -0
  484. package/dist/sheets/entities/ValueInputOption.d.ts +14 -0
  485. package/dist/sheets/entities/ValueInputOption.d.ts.map +1 -0
  486. package/dist/sheets/entities/ValueInputOption.js +12 -0
  487. package/dist/sheets/entities/ValueInputOption.js.map +1 -0
  488. package/dist/sheets/entities/ValueRange.d.ts +17 -0
  489. package/dist/sheets/entities/ValueRange.d.ts.map +1 -0
  490. package/dist/sheets/entities/ValueRange.js +21 -0
  491. package/dist/sheets/entities/ValueRange.js.map +1 -0
  492. package/dist/sheets/entities/ValueRenderOption.d.ts +14 -0
  493. package/dist/sheets/entities/ValueRenderOption.d.ts.map +1 -0
  494. package/dist/sheets/entities/ValueRenderOption.js +11 -0
  495. package/dist/sheets/entities/ValueRenderOption.js.map +1 -0
  496. package/dist/sheets/index.d.ts +3 -0
  497. package/dist/sheets/index.d.ts.map +1 -0
  498. package/dist/sheets/index.js +22 -0
  499. package/dist/sheets/index.js.map +1 -0
  500. package/dist/sheets/lib/enums.d.ts +8 -0
  501. package/dist/sheets/lib/enums.d.ts.map +1 -0
  502. package/dist/sheets/lib/enums.js +10 -0
  503. package/dist/sheets/lib/enums.js.map +1 -0
  504. package/dist/sheets/lib/filters.d.ts +10 -0
  505. package/dist/sheets/lib/filters.d.ts.map +1 -0
  506. package/dist/sheets/lib/filters.js +82 -0
  507. package/dist/sheets/lib/filters.js.map +1 -0
  508. package/dist/sheets/lib/metadata.d.ts +5 -0
  509. package/dist/sheets/lib/metadata.d.ts.map +1 -0
  510. package/dist/sheets/lib/metadata.js +13 -0
  511. package/dist/sheets/lib/metadata.js.map +1 -0
  512. package/dist/sheets/lib/spreadsheet.d.ts +12 -0
  513. package/dist/sheets/lib/spreadsheet.d.ts.map +1 -0
  514. package/dist/sheets/lib/spreadsheet.js +42 -0
  515. package/dist/sheets/lib/spreadsheet.js.map +1 -0
  516. package/dist/sheets/lib/values.d.ts +13 -0
  517. package/dist/sheets/lib/values.d.ts.map +1 -0
  518. package/dist/sheets/lib/values.js +26 -0
  519. package/dist/sheets/lib/values.js.map +1 -0
  520. package/dist/sheets/methods/append_values/handler.d.ts +5 -0
  521. package/dist/sheets/methods/append_values/handler.d.ts.map +1 -0
  522. package/dist/sheets/methods/append_values/handler.js +23 -0
  523. package/dist/sheets/methods/append_values/handler.js.map +1 -0
  524. package/dist/sheets/methods/append_values/index.d.ts +52 -0
  525. package/dist/sheets/methods/append_values/index.d.ts.map +1 -0
  526. package/dist/sheets/methods/append_values/index.js +15 -0
  527. package/dist/sheets/methods/append_values/index.js.map +1 -0
  528. package/dist/sheets/methods/append_values/schema.d.ts +51 -0
  529. package/dist/sheets/methods/append_values/schema.d.ts.map +1 -0
  530. package/dist/sheets/methods/append_values/schema.js +40 -0
  531. package/dist/sheets/methods/append_values/schema.js.map +1 -0
  532. package/dist/sheets/methods/batch_clear_values/handler.d.ts +5 -0
  533. package/dist/sheets/methods/batch_clear_values/handler.d.ts.map +1 -0
  534. package/dist/sheets/methods/batch_clear_values/handler.js +11 -0
  535. package/dist/sheets/methods/batch_clear_values/handler.js.map +1 -0
  536. package/dist/sheets/methods/batch_clear_values/index.d.ts +14 -0
  537. package/dist/sheets/methods/batch_clear_values/index.d.ts.map +1 -0
  538. package/dist/sheets/methods/batch_clear_values/index.js +16 -0
  539. package/dist/sheets/methods/batch_clear_values/index.js.map +1 -0
  540. package/dist/sheets/methods/batch_clear_values/schema.d.ts +13 -0
  541. package/dist/sheets/methods/batch_clear_values/schema.d.ts.map +1 -0
  542. package/dist/sheets/methods/batch_clear_values/schema.js +19 -0
  543. package/dist/sheets/methods/batch_clear_values/schema.js.map +1 -0
  544. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts +5 -0
  545. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.d.ts.map +1 -0
  546. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js +12 -0
  547. package/dist/sheets/methods/batch_clear_values_by_data_filter/handler.js.map +1 -0
  548. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts +61 -0
  549. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.d.ts.map +1 -0
  550. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js +16 -0
  551. package/dist/sheets/methods/batch_clear_values_by_data_filter/index.js.map +1 -0
  552. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts +60 -0
  553. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.d.ts.map +1 -0
  554. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js +20 -0
  555. package/dist/sheets/methods/batch_clear_values_by_data_filter/schema.js.map +1 -0
  556. package/dist/sheets/methods/batch_get_values/handler.d.ts +5 -0
  557. package/dist/sheets/methods/batch_get_values/handler.d.ts.map +1 -0
  558. package/dist/sheets/methods/batch_get_values/handler.js +16 -0
  559. package/dist/sheets/methods/batch_get_values/handler.js.map +1 -0
  560. package/dist/sheets/methods/batch_get_values/index.d.ts +29 -0
  561. package/dist/sheets/methods/batch_get_values/index.d.ts.map +1 -0
  562. package/dist/sheets/methods/batch_get_values/index.js +10 -0
  563. package/dist/sheets/methods/batch_get_values/index.js.map +1 -0
  564. package/dist/sheets/methods/batch_get_values/schema.d.ts +33 -0
  565. package/dist/sheets/methods/batch_get_values/schema.d.ts.map +1 -0
  566. package/dist/sheets/methods/batch_get_values/schema.js +25 -0
  567. package/dist/sheets/methods/batch_get_values/schema.js.map +1 -0
  568. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts +5 -0
  569. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.d.ts.map +1 -0
  570. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js +22 -0
  571. package/dist/sheets/methods/batch_get_values_by_data_filter/handler.js.map +1 -0
  572. package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts +126 -0
  573. package/dist/sheets/methods/batch_get_values_by_data_filter/index.d.ts.map +1 -0
  574. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js +10 -0
  575. package/dist/sheets/methods/batch_get_values_by_data_filter/index.js.map +1 -0
  576. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts +130 -0
  577. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.d.ts.map +1 -0
  578. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js +26 -0
  579. package/dist/sheets/methods/batch_get_values_by_data_filter/schema.js.map +1 -0
  580. package/dist/sheets/methods/batch_update_values/handler.d.ts +5 -0
  581. package/dist/sheets/methods/batch_update_values/handler.d.ts.map +1 -0
  582. package/dist/sheets/methods/batch_update_values/handler.js +23 -0
  583. package/dist/sheets/methods/batch_update_values/handler.js.map +1 -0
  584. package/dist/sheets/methods/batch_update_values/index.d.ts +48 -0
  585. package/dist/sheets/methods/batch_update_values/index.d.ts.map +1 -0
  586. package/dist/sheets/methods/batch_update_values/index.js +10 -0
  587. package/dist/sheets/methods/batch_update_values/index.js.map +1 -0
  588. package/dist/sheets/methods/batch_update_values/schema.d.ts +52 -0
  589. package/dist/sheets/methods/batch_update_values/schema.d.ts.map +1 -0
  590. package/dist/sheets/methods/batch_update_values/schema.js +46 -0
  591. package/dist/sheets/methods/batch_update_values/schema.js.map +1 -0
  592. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts +5 -0
  593. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.d.ts.map +1 -0
  594. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js +35 -0
  595. package/dist/sheets/methods/batch_update_values_by_data_filter/handler.js.map +1 -0
  596. package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts +142 -0
  597. package/dist/sheets/methods/batch_update_values_by_data_filter/index.d.ts.map +1 -0
  598. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js +10 -0
  599. package/dist/sheets/methods/batch_update_values_by_data_filter/index.js.map +1 -0
  600. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts +146 -0
  601. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.d.ts.map +1 -0
  602. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js +46 -0
  603. package/dist/sheets/methods/batch_update_values_by_data_filter/schema.js.map +1 -0
  604. package/dist/sheets/methods/clear_values/handler.d.ts +5 -0
  605. package/dist/sheets/methods/clear_values/handler.d.ts.map +1 -0
  606. package/dist/sheets/methods/clear_values/handler.js +12 -0
  607. package/dist/sheets/methods/clear_values/handler.js.map +1 -0
  608. package/dist/sheets/methods/clear_values/index.d.ts +14 -0
  609. package/dist/sheets/methods/clear_values/index.d.ts.map +1 -0
  610. package/dist/sheets/methods/clear_values/index.js +16 -0
  611. package/dist/sheets/methods/clear_values/index.js.map +1 -0
  612. package/dist/sheets/methods/clear_values/schema.d.ts +13 -0
  613. package/dist/sheets/methods/clear_values/schema.d.ts.map +1 -0
  614. package/dist/sheets/methods/clear_values/schema.js +16 -0
  615. package/dist/sheets/methods/clear_values/schema.js.map +1 -0
  616. package/dist/sheets/methods/copy_sheet/handler.d.ts +5 -0
  617. package/dist/sheets/methods/copy_sheet/handler.d.ts.map +1 -0
  618. package/dist/sheets/methods/copy_sheet/handler.js +10 -0
  619. package/dist/sheets/methods/copy_sheet/handler.js.map +1 -0
  620. package/dist/sheets/methods/copy_sheet/index.d.ts +28 -0
  621. package/dist/sheets/methods/copy_sheet/index.d.ts.map +1 -0
  622. package/dist/sheets/methods/copy_sheet/index.js +15 -0
  623. package/dist/sheets/methods/copy_sheet/index.js.map +1 -0
  624. package/dist/sheets/methods/copy_sheet/schema.d.ts +27 -0
  625. package/dist/sheets/methods/copy_sheet/schema.d.ts.map +1 -0
  626. package/dist/sheets/methods/copy_sheet/schema.js +14 -0
  627. package/dist/sheets/methods/copy_sheet/schema.js.map +1 -0
  628. package/dist/sheets/methods/create_spreadsheet/handler.d.ts +5 -0
  629. package/dist/sheets/methods/create_spreadsheet/handler.d.ts.map +1 -0
  630. package/dist/sheets/methods/create_spreadsheet/handler.js +16 -0
  631. package/dist/sheets/methods/create_spreadsheet/handler.js.map +1 -0
  632. package/dist/sheets/methods/create_spreadsheet/index.d.ts +46 -0
  633. package/dist/sheets/methods/create_spreadsheet/index.d.ts.map +1 -0
  634. package/dist/sheets/methods/create_spreadsheet/index.js +16 -0
  635. package/dist/sheets/methods/create_spreadsheet/index.js.map +1 -0
  636. package/dist/sheets/methods/create_spreadsheet/schema.d.ts +50 -0
  637. package/dist/sheets/methods/create_spreadsheet/schema.d.ts.map +1 -0
  638. package/dist/sheets/methods/create_spreadsheet/schema.js +28 -0
  639. package/dist/sheets/methods/create_spreadsheet/schema.js.map +1 -0
  640. package/dist/sheets/methods/get_developer_metadata/handler.d.ts +5 -0
  641. package/dist/sheets/methods/get_developer_metadata/handler.d.ts.map +1 -0
  642. package/dist/sheets/methods/get_developer_metadata/handler.js +9 -0
  643. package/dist/sheets/methods/get_developer_metadata/handler.js.map +1 -0
  644. package/dist/sheets/methods/get_developer_metadata/index.d.ts +33 -0
  645. package/dist/sheets/methods/get_developer_metadata/index.d.ts.map +1 -0
  646. package/dist/sheets/methods/get_developer_metadata/index.js +10 -0
  647. package/dist/sheets/methods/get_developer_metadata/index.js.map +1 -0
  648. package/dist/sheets/methods/get_developer_metadata/schema.d.ts +37 -0
  649. package/dist/sheets/methods/get_developer_metadata/schema.d.ts.map +1 -0
  650. package/dist/sheets/methods/get_developer_metadata/schema.js +11 -0
  651. package/dist/sheets/methods/get_developer_metadata/schema.js.map +1 -0
  652. package/dist/sheets/methods/get_spreadsheet/handler.d.ts +5 -0
  653. package/dist/sheets/methods/get_spreadsheet/handler.d.ts.map +1 -0
  654. package/dist/sheets/methods/get_spreadsheet/handler.js +6 -0
  655. package/dist/sheets/methods/get_spreadsheet/handler.js.map +1 -0
  656. package/dist/sheets/methods/get_spreadsheet/index.d.ts +42 -0
  657. package/dist/sheets/methods/get_spreadsheet/index.d.ts.map +1 -0
  658. package/dist/sheets/methods/get_spreadsheet/index.js +17 -0
  659. package/dist/sheets/methods/get_spreadsheet/index.js.map +1 -0
  660. package/dist/sheets/methods/get_spreadsheet/schema.d.ts +39 -0
  661. package/dist/sheets/methods/get_spreadsheet/schema.d.ts.map +1 -0
  662. package/dist/sheets/methods/get_spreadsheet/schema.js +10 -0
  663. package/dist/sheets/methods/get_spreadsheet/schema.js.map +1 -0
  664. package/dist/sheets/methods/get_values/handler.d.ts +5 -0
  665. package/dist/sheets/methods/get_values/handler.d.ts.map +1 -0
  666. package/dist/sheets/methods/get_values/handler.js +13 -0
  667. package/dist/sheets/methods/get_values/handler.js.map +1 -0
  668. package/dist/sheets/methods/get_values/index.d.ts +26 -0
  669. package/dist/sheets/methods/get_values/index.d.ts.map +1 -0
  670. package/dist/sheets/methods/get_values/index.js +10 -0
  671. package/dist/sheets/methods/get_values/index.js.map +1 -0
  672. package/dist/sheets/methods/get_values/schema.d.ts +30 -0
  673. package/dist/sheets/methods/get_values/schema.d.ts.map +1 -0
  674. package/dist/sheets/methods/get_values/schema.js +19 -0
  675. package/dist/sheets/methods/get_values/schema.js.map +1 -0
  676. package/dist/sheets/methods/registry.d.ts +775 -0
  677. package/dist/sheets/methods/registry.d.ts.map +1 -0
  678. package/dist/sheets/methods/registry.js +45 -0
  679. package/dist/sheets/methods/registry.js.map +1 -0
  680. package/dist/sheets/methods/search_developer_metadata/handler.d.ts +5 -0
  681. package/dist/sheets/methods/search_developer_metadata/handler.d.ts.map +1 -0
  682. package/dist/sheets/methods/search_developer_metadata/handler.js +17 -0
  683. package/dist/sheets/methods/search_developer_metadata/handler.js.map +1 -0
  684. package/dist/sheets/methods/search_developer_metadata/index.d.ts +132 -0
  685. package/dist/sheets/methods/search_developer_metadata/index.d.ts.map +1 -0
  686. package/dist/sheets/methods/search_developer_metadata/index.js +10 -0
  687. package/dist/sheets/methods/search_developer_metadata/index.js.map +1 -0
  688. package/dist/sheets/methods/search_developer_metadata/schema.d.ts +136 -0
  689. package/dist/sheets/methods/search_developer_metadata/schema.d.ts.map +1 -0
  690. package/dist/sheets/methods/search_developer_metadata/schema.js +25 -0
  691. package/dist/sheets/methods/search_developer_metadata/schema.js.map +1 -0
  692. package/dist/sheets/methods/update_values/handler.d.ts +5 -0
  693. package/dist/sheets/methods/update_values/handler.d.ts.map +1 -0
  694. package/dist/sheets/methods/update_values/handler.js +18 -0
  695. package/dist/sheets/methods/update_values/handler.js.map +1 -0
  696. package/dist/sheets/methods/update_values/index.d.ts +39 -0
  697. package/dist/sheets/methods/update_values/index.d.ts.map +1 -0
  698. package/dist/sheets/methods/update_values/index.js +10 -0
  699. package/dist/sheets/methods/update_values/index.js.map +1 -0
  700. package/dist/sheets/methods/update_values/schema.d.ts +43 -0
  701. package/dist/sheets/methods/update_values/schema.d.ts.map +1 -0
  702. package/dist/sheets/methods/update_values/schema.js +29 -0
  703. package/dist/sheets/methods/update_values/schema.js.map +1 -0
  704. package/dist/sheets/operation.d.ts +12 -0
  705. package/dist/sheets/operation.d.ts.map +1 -0
  706. package/dist/sheets/operation.js +10 -0
  707. package/dist/sheets/operation.js.map +1 -0
  708. package/package.json +16 -5
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event
3
+ *
4
+ * A composition, not a transcription of one REST method: the handler reads
5
+ * the event, rewrites the self attendee's responseStatus (and comment, when
6
+ * given), and patches the attendee array back.
7
+ */
8
+ export declare const respond_to_event: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
9
+ eventId: import("zod").ZodString;
10
+ responseStatus: import("zod").ZodEnum<{
11
+ declined: "declined";
12
+ tentative: "tentative";
13
+ accepted: "accepted";
14
+ }>;
15
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
16
+ notificationLevel: import("zod").ZodOptional<import("zod").ZodEnum<{
17
+ NONE: "NONE";
18
+ EXTERNAL_ONLY: "EXTERNAL_ONLY";
19
+ ALL: "ALL";
20
+ }>>;
21
+ responseComment: import("zod").ZodOptional<import("zod").ZodString>;
22
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
23
+ id: import("zod").ZodString;
24
+ status: import("zod").ZodOptional<import("zod").ZodString>;
25
+ htmlLink: import("zod").ZodOptional<import("zod").ZodString>;
26
+ created: import("zod").ZodOptional<import("zod").ZodString>;
27
+ updated: import("zod").ZodOptional<import("zod").ZodString>;
28
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
29
+ description: import("zod").ZodOptional<import("zod").ZodString>;
30
+ location: import("zod").ZodOptional<import("zod").ZodString>;
31
+ creator: import("zod").ZodOptional<import("zod").ZodObject<{
32
+ email: import("zod").ZodOptional<import("zod").ZodString>;
33
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
34
+ self: import("zod").ZodOptional<import("zod").ZodBoolean>;
35
+ }, import("zod/v4/core").$strip>>;
36
+ organizer: import("zod").ZodOptional<import("zod").ZodObject<{
37
+ email: import("zod").ZodOptional<import("zod").ZodString>;
38
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
39
+ self: import("zod").ZodOptional<import("zod").ZodBoolean>;
40
+ }, import("zod/v4/core").$strip>>;
41
+ start: import("zod").ZodOptional<import("zod").ZodObject<{
42
+ date: import("zod").ZodOptional<import("zod").ZodString>;
43
+ dateTime: import("zod").ZodOptional<import("zod").ZodString>;
44
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
45
+ }, import("zod/v4/core").$strip>>;
46
+ end: import("zod").ZodOptional<import("zod").ZodObject<{
47
+ date: import("zod").ZodOptional<import("zod").ZodString>;
48
+ dateTime: import("zod").ZodOptional<import("zod").ZodString>;
49
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
50
+ }, import("zod/v4/core").$strip>>;
51
+ recurrence: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
52
+ recurringEventId: import("zod").ZodOptional<import("zod").ZodString>;
53
+ originalStartTime: import("zod").ZodOptional<import("zod").ZodObject<{
54
+ date: import("zod").ZodOptional<import("zod").ZodString>;
55
+ dateTime: import("zod").ZodOptional<import("zod").ZodString>;
56
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
57
+ }, import("zod/v4/core").$strip>>;
58
+ transparency: import("zod").ZodOptional<import("zod").ZodString>;
59
+ visibility: import("zod").ZodOptional<import("zod").ZodString>;
60
+ attendees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
61
+ id: import("zod").ZodOptional<import("zod").ZodString>;
62
+ email: import("zod").ZodString;
63
+ displayName: import("zod").ZodOptional<import("zod").ZodString>;
64
+ organizer: import("zod").ZodOptional<import("zod").ZodBoolean>;
65
+ self: import("zod").ZodOptional<import("zod").ZodBoolean>;
66
+ resource: import("zod").ZodOptional<import("zod").ZodBoolean>;
67
+ optionalAttendee: import("zod").ZodOptional<import("zod").ZodBoolean>;
68
+ responseStatus: import("zod").ZodOptional<import("zod").ZodString>;
69
+ comment: import("zod").ZodOptional<import("zod").ZodString>;
70
+ additionalGuests: import("zod").ZodOptional<import("zod").ZodNumber>;
71
+ }, import("zod/v4/core").$strip>>>;
72
+ eventType: import("zod").ZodOptional<import("zod").ZodString>;
73
+ conferenceUrl: import("zod").ZodOptional<import("zod").ZodString>;
74
+ colorId: import("zod").ZodOptional<import("zod").ZodString>;
75
+ overrideReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
76
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
77
+ email: "email";
78
+ popup: "popup";
79
+ }>>;
80
+ minutes: import("zod").ZodNumber;
81
+ }, import("zod/v4/core").$strip>>>;
82
+ }, import("zod/v4/core").$strip>>;
83
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAI3B,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { calendarOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /**
5
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event
6
+ *
7
+ * A composition, not a transcription of one REST method: the handler reads
8
+ * the event, rewrites the self attendee's responseStatus (and comment, when
9
+ * given), and patches the attendee array back.
10
+ */
11
+ export const respond_to_event = calendarOperation({
12
+ description: 'Respond to an event invitation: declined, tentative, or accepted.',
13
+ schema,
14
+ handler,
15
+ });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAiB,CAAC;IAChD,WAAW,EAAE,mEAAmE;IAChF,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { calendarOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event\n *\n * A composition, not a transcription of one REST method: the handler reads\n * the event, rewrites the self attendee's responseStatus (and comment, when\n * given), and patches the attendee array back.\n */\nexport const respond_to_event = calendarOperation({\n description: 'Respond to an event invitation: declined, tentative, or accepted.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,81 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ eventId: z.ZodString;
6
+ responseStatus: z.ZodEnum<{
7
+ declined: "declined";
8
+ tentative: "tentative";
9
+ accepted: "accepted";
10
+ }>;
11
+ calendarId: z.ZodOptional<z.ZodString>;
12
+ notificationLevel: z.ZodOptional<z.ZodEnum<{
13
+ NONE: "NONE";
14
+ EXTERNAL_ONLY: "EXTERNAL_ONLY";
15
+ ALL: "ALL";
16
+ }>>;
17
+ responseComment: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ output: z.ZodObject<{
20
+ id: z.ZodString;
21
+ status: z.ZodOptional<z.ZodString>;
22
+ htmlLink: z.ZodOptional<z.ZodString>;
23
+ created: z.ZodOptional<z.ZodString>;
24
+ updated: z.ZodOptional<z.ZodString>;
25
+ summary: z.ZodOptional<z.ZodString>;
26
+ description: z.ZodOptional<z.ZodString>;
27
+ location: z.ZodOptional<z.ZodString>;
28
+ creator: z.ZodOptional<z.ZodObject<{
29
+ email: z.ZodOptional<z.ZodString>;
30
+ displayName: z.ZodOptional<z.ZodString>;
31
+ self: z.ZodOptional<z.ZodBoolean>;
32
+ }, z.core.$strip>>;
33
+ organizer: z.ZodOptional<z.ZodObject<{
34
+ email: z.ZodOptional<z.ZodString>;
35
+ displayName: z.ZodOptional<z.ZodString>;
36
+ self: z.ZodOptional<z.ZodBoolean>;
37
+ }, z.core.$strip>>;
38
+ start: z.ZodOptional<z.ZodObject<{
39
+ date: z.ZodOptional<z.ZodString>;
40
+ dateTime: z.ZodOptional<z.ZodString>;
41
+ timeZone: z.ZodOptional<z.ZodString>;
42
+ }, z.core.$strip>>;
43
+ end: z.ZodOptional<z.ZodObject<{
44
+ date: z.ZodOptional<z.ZodString>;
45
+ dateTime: z.ZodOptional<z.ZodString>;
46
+ timeZone: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>;
48
+ recurrence: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
+ recurringEventId: z.ZodOptional<z.ZodString>;
50
+ originalStartTime: z.ZodOptional<z.ZodObject<{
51
+ date: z.ZodOptional<z.ZodString>;
52
+ dateTime: z.ZodOptional<z.ZodString>;
53
+ timeZone: z.ZodOptional<z.ZodString>;
54
+ }, z.core.$strip>>;
55
+ transparency: z.ZodOptional<z.ZodString>;
56
+ visibility: z.ZodOptional<z.ZodString>;
57
+ attendees: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
+ id: z.ZodOptional<z.ZodString>;
59
+ email: z.ZodString;
60
+ displayName: z.ZodOptional<z.ZodString>;
61
+ organizer: z.ZodOptional<z.ZodBoolean>;
62
+ self: z.ZodOptional<z.ZodBoolean>;
63
+ resource: z.ZodOptional<z.ZodBoolean>;
64
+ optionalAttendee: z.ZodOptional<z.ZodBoolean>;
65
+ responseStatus: z.ZodOptional<z.ZodString>;
66
+ comment: z.ZodOptional<z.ZodString>;
67
+ additionalGuests: z.ZodOptional<z.ZodNumber>;
68
+ }, z.core.$strip>>>;
69
+ eventType: z.ZodOptional<z.ZodString>;
70
+ conferenceUrl: z.ZodOptional<z.ZodString>;
71
+ colorId: z.ZodOptional<z.ZodString>;
72
+ overrideReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
+ method: z.ZodOptional<z.ZodEnum<{
74
+ email: "email";
75
+ popup: "popup";
76
+ }>>;
77
+ minutes: z.ZodNumber;
78
+ }, z.core.$strip>>>;
79
+ }, z.core.$strip>;
80
+ };
81
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,gHAAgH;AAChH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBlB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { Event } from '../../entities/Event.js';
3
+ import { NotificationLevel } from '../../entities/NotificationLevel.js';
4
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */
5
+ export const schema = {
6
+ input: z.object({
7
+ eventId: z.string().describe('The ID of the event to respond to.'),
8
+ responseStatus: z
9
+ .enum(['declined', 'tentative', 'accepted'])
10
+ .describe("The user's response status for the event: declined, tentative, or accepted."),
11
+ calendarId: z
12
+ .string()
13
+ .optional()
14
+ .describe("The calendar ID of the event to respond to. The default is the user's primary calendar."),
15
+ notificationLevel: NotificationLevel.optional().describe('Which email notification should be sent for this event update: NONE (the default, no notifications), EXTERNAL_ONLY (attendees outside Google Calendar only), or ALL (all attendees).'),
16
+ responseComment: z
17
+ .string()
18
+ .optional()
19
+ .describe('An optional comment attached to the response.'),
20
+ }),
21
+ output: Event,
22
+ };
23
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/tools/respond_to_event/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,gHAAgH;AAChH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QAClE,cAAc,EAAE,CAAC;aACd,IAAI,CAAC,CAAC,UAAU,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;aAC3C,QAAQ,CAAC,6EAA6E,CAAC;QAC1F,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,yFAAyF,CAC1F;QACH,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CACtD,sLAAsL,CACvL;QACD,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,+CAA+C,CAAC;KAC7D,CAAC;IACF,MAAM,EAAE,KAAK;CACd,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Event } from '../../entities/Event.js';\nimport { NotificationLevel } from '../../entities/NotificationLevel.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/respond_to_event */\nexport const schema = {\n input: z.object({\n eventId: z.string().describe('The ID of the event to respond to.'),\n responseStatus: z\n .enum(['declined', 'tentative', 'accepted'])\n .describe(\"The user's response status for the event: declined, tentative, or accepted.\"),\n calendarId: z\n .string()\n .optional()\n .describe(\n \"The calendar ID of the event to respond to. The default is the user's primary calendar.\",\n ),\n notificationLevel: NotificationLevel.optional().describe(\n 'Which email notification should be sent for this event update: NONE (the default, no notifications), EXTERNAL_ONLY (attendees outside Google Calendar only), or ALL (all attendees).',\n ),\n responseComment: z\n .string()\n .optional()\n .describe('An optional comment attached to the response.'),\n }),\n output: Event,\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { calendar_v3 } from '@googleapis/calendar';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(calendar: calendar_v3.Calendar, 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/calendar/tools/suggest_time/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAI7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAkCxC"}
@@ -0,0 +1,37 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { busyPeriods } from '../../lib/freebusy.js';
3
+ import { suggestSlots } from '../../lib/suggest.js';
4
+ export async function handler(calendar, args) {
5
+ const { data } = await calendar.freebusy.query({
6
+ requestBody: forGoogle({
7
+ timeMin: args.startTime,
8
+ timeMax: args.endTime,
9
+ timeZone: args.timeZone,
10
+ // The literal 'primary' entry passes straight through; Google resolves
11
+ // it to the authenticated user's primary calendar.
12
+ items: args.attendeeEmails.map((id) => ({ id })),
13
+ }),
14
+ });
15
+ const calendars = data.calendars ?? {};
16
+ // A calendar that reports errors (unknown id, not shared) contributes no
17
+ // busy intervals, so suggesting from the rest would confidently propose
18
+ // slots that conflict with it. Refuse instead of answering from partial data.
19
+ const unreadable = Object.entries(calendars)
20
+ .filter(([, entry]) => (entry.errors ?? []).length > 0)
21
+ .map(([id]) => id);
22
+ if (unreadable.length > 0) {
23
+ throw new Error(`Free/busy is unavailable for ${unreadable.join(', ')}; suggestions would ignore those calendars' events. Check the calendar ids and their sharing, then retry.`);
24
+ }
25
+ const busy = Object.values(calendars).flatMap(busyPeriods);
26
+ return {
27
+ timeSlots: suggestSlots({
28
+ busy,
29
+ windowStart: args.startTime,
30
+ windowEnd: args.endTime,
31
+ durationMinutes: args.durationMinutes ?? 30,
32
+ timeZone: args.timeZone,
33
+ preferences: args.preferences,
34
+ }),
35
+ };
36
+ }
37
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAGpD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC;QAC7C,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,SAAS;YACvB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,uEAAuE;YACvE,mDAAmD;YACnD,KAAK,EAAE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;SACjD,CAAC;KACH,CAAC,CAAC;IACH,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,EAAE,CAAC;IACvC,yEAAyE;IACzE,wEAAwE;IACxE,8EAA8E;IAC9E,MAAM,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC;SACzC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;SACtD,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;IACrB,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,gCAAgC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,2GAA2G,CACjK,CAAC;IACJ,CAAC;IACD,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;IAC3D,OAAO;QACL,SAAS,EAAE,YAAY,CAAC;YACtB,IAAI;YACJ,WAAW,EAAE,IAAI,CAAC,SAAS;YAC3B,SAAS,EAAE,IAAI,CAAC,OAAO;YACvB,eAAe,EAAE,IAAI,CAAC,eAAe,IAAI,EAAE;YAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;KACH,CAAC;AACJ,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { busyPeriods } from '../../lib/freebusy.js';\nimport { suggestSlots } from '../../lib/suggest.js';\nimport type { schema } from './schema.js';\n\nexport async function handler(\n calendar: calendar_v3.Calendar,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const { data } = await calendar.freebusy.query({\n requestBody: forGoogle({\n timeMin: args.startTime,\n timeMax: args.endTime,\n timeZone: args.timeZone,\n // The literal 'primary' entry passes straight through; Google resolves\n // it to the authenticated user's primary calendar.\n items: args.attendeeEmails.map((id) => ({ id })),\n }),\n });\n const calendars = data.calendars ?? {};\n // A calendar that reports errors (unknown id, not shared) contributes no\n // busy intervals, so suggesting from the rest would confidently propose\n // slots that conflict with it. Refuse instead of answering from partial data.\n const unreadable = Object.entries(calendars)\n .filter(([, entry]) => (entry.errors ?? []).length > 0)\n .map(([id]) => id);\n if (unreadable.length > 0) {\n throw new Error(\n `Free/busy is unavailable for ${unreadable.join(', ')}; suggestions would ignore those calendars' events. Check the calendar ids and their sharing, then retry.`,\n );\n }\n const busy = Object.values(calendars).flatMap(busyPeriods);\n return {\n timeSlots: suggestSlots({\n busy,\n windowStart: args.startTime,\n windowEnd: args.endTime,\n durationMinutes: args.durationMinutes ?? 30,\n timeZone: args.timeZone,\n preferences: args.preferences,\n }),\n };\n}\n"]}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time
3
+ *
4
+ * A composition, not a transcription: there is no REST suggest endpoint. The
5
+ * handler queries freebusy over the window for every attendee calendar,
6
+ * flattens the busy periods, and computes the free slots in lib/suggest.ts.
7
+ * Working hours and weekend exclusion are evaluated in the given time zone
8
+ * (default UTC), judged by each slot's start instant.
9
+ *
10
+ * Refuses rather than degrades: when any attendee's free/busy is unreadable
11
+ * (unknown id, calendar not shared), the handler throws instead of suggesting
12
+ * slots computed from partial data, which would conflict with the unreadable
13
+ * calendar's real events.
14
+ */
15
+ export declare const suggest_time: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
16
+ attendeeEmails: import("zod").ZodArray<import("zod").ZodString>;
17
+ startTime: import("zod").ZodString;
18
+ endTime: import("zod").ZodString;
19
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
20
+ durationMinutes: import("zod").ZodOptional<import("zod").ZodNumber>;
21
+ preferences: import("zod").ZodOptional<import("zod").ZodObject<{
22
+ startHour: import("zod").ZodOptional<import("zod").ZodString>;
23
+ endHour: import("zod").ZodOptional<import("zod").ZodString>;
24
+ excludeWeekends: import("zod").ZodOptional<import("zod").ZodBoolean>;
25
+ pageSize: import("zod").ZodOptional<import("zod").ZodNumber>;
26
+ }, import("zod/v4/core").$strip>>;
27
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
28
+ timeSlots: import("zod").ZodArray<import("zod").ZodObject<{
29
+ startTime: import("zod").ZodString;
30
+ endTime: import("zod").ZodString;
31
+ durationMinutes: import("zod").ZodNumber;
32
+ }, import("zod/v4/core").$strip>>;
33
+ }, import("zod/v4/core").$strip>>;
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/index.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;iCAIvB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { calendarOperation } from '../../operation.js';
2
+ import { handler } from './handler.js';
3
+ import { schema } from './schema.js';
4
+ /**
5
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time
6
+ *
7
+ * A composition, not a transcription: there is no REST suggest endpoint. The
8
+ * handler queries freebusy over the window for every attendee calendar,
9
+ * flattens the busy periods, and computes the free slots in lib/suggest.ts.
10
+ * Working hours and weekend exclusion are evaluated in the given time zone
11
+ * (default UTC), judged by each slot's start instant.
12
+ *
13
+ * Refuses rather than degrades: when any attendee's free/busy is unreadable
14
+ * (unknown id, calendar not shared), the handler throws instead of suggesting
15
+ * slots computed from partial data, which would conflict with the unreadable
16
+ * calendar's real events.
17
+ */
18
+ export const suggest_time = calendarOperation({
19
+ description: 'Suggest free time slots where the given attendees can meet within a time window.',
20
+ schema,
21
+ handler,
22
+ });
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC5C,WAAW,EAAE,kFAAkF;IAC/F,MAAM;IACN,OAAO;CACR,CAAC,CAAC","sourcesContent":["import { calendarOperation } from '../../operation.js';\nimport { handler } from './handler.js';\nimport { schema } from './schema.js';\n\n/**\n * Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time\n *\n * A composition, not a transcription: there is no REST suggest endpoint. The\n * handler queries freebusy over the window for every attendee calendar,\n * flattens the busy periods, and computes the free slots in lib/suggest.ts.\n * Working hours and weekend exclusion are evaluated in the given time zone\n * (default UTC), judged by each slot's start instant.\n *\n * Refuses rather than degrades: when any attendee's free/busy is unreadable\n * (unknown id, calendar not shared), the handler throws instead of suggesting\n * slots computed from partial data, which would conflict with the unreadable\n * calendar's real events.\n */\nexport const suggest_time = calendarOperation({\n description: 'Suggest free time slots where the given attendees can meet within a time window.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ attendeeEmails: z.ZodArray<z.ZodString>;
6
+ startTime: z.ZodString;
7
+ endTime: z.ZodString;
8
+ timeZone: z.ZodOptional<z.ZodString>;
9
+ durationMinutes: z.ZodOptional<z.ZodNumber>;
10
+ preferences: z.ZodOptional<z.ZodObject<{
11
+ startHour: z.ZodOptional<z.ZodString>;
12
+ endHour: z.ZodOptional<z.ZodString>;
13
+ excludeWeekends: z.ZodOptional<z.ZodBoolean>;
14
+ pageSize: z.ZodOptional<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ output: z.ZodObject<{
18
+ timeSlots: z.ZodArray<z.ZodObject<{
19
+ startTime: z.ZodString;
20
+ endTime: z.ZodString;
21
+ durationMinutes: z.ZodNumber;
22
+ }, z.core.$strip>>;
23
+ }, z.core.$strip>;
24
+ };
25
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,4GAA4G;AAC5G,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { z } from 'zod';
2
+ import { HOUR_OF_DAY } from '../../lib/suggest.js';
3
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */
4
+ export const schema = {
5
+ input: z.object({
6
+ attendeeEmails: z
7
+ .array(z.string())
8
+ .describe("The attendee emails to find free time for. Include the literal 'primary' for the authenticated user's primary calendar."),
9
+ startTime: z
10
+ .string()
11
+ .describe('The start of the interval for the query, as an ISO 8601 timestamp.'),
12
+ endTime: z
13
+ .string()
14
+ .describe('The end of the interval for the query, as an ISO 8601 timestamp.'),
15
+ timeZone: z
16
+ .string()
17
+ .optional()
18
+ .describe('Time zone used for the working-hour and weekend preferences, as an IANA Time Zone Database name (for example America/Los_Angeles). The default is UTC.'),
19
+ durationMinutes: z
20
+ .number()
21
+ .int()
22
+ .positive()
23
+ .optional()
24
+ .describe('Minimum duration of a free time slot in minutes (default 30); suggested slots are exactly this length.'),
25
+ preferences: z
26
+ .object({
27
+ startHour: z
28
+ .string()
29
+ .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 09:00.')
30
+ .optional()
31
+ .describe('The preferred start hour of day, as HH:MM (for example 09:00).'),
32
+ endHour: z
33
+ .string()
34
+ .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 17:00.')
35
+ .optional()
36
+ .describe('The preferred end hour of day, as HH:MM (for example 17:00).'),
37
+ excludeWeekends: z
38
+ .boolean()
39
+ .optional()
40
+ .describe('Whether to exclude weekends (Saturdays and Sundays).'),
41
+ pageSize: z
42
+ .number()
43
+ .int()
44
+ .positive()
45
+ .max(50)
46
+ .optional()
47
+ .describe('Maximum number of time slots to return (default 5, max 50).'),
48
+ })
49
+ .optional()
50
+ .describe('Scheduling preferences narrowing where the suggested slots may fall.'),
51
+ }),
52
+ output: z.object({
53
+ timeSlots: z
54
+ .array(z.object({
55
+ startTime: z
56
+ .string()
57
+ .describe('The start time of the free time slot, as an ISO 8601 timestamp.'),
58
+ endTime: z
59
+ .string()
60
+ .describe('The end time of the free time slot, as an ISO 8601 timestamp.'),
61
+ durationMinutes: z
62
+ .number()
63
+ .int()
64
+ .describe('The duration of the free time slot in minutes.'),
65
+ }))
66
+ .describe('The suggested free time slots, in chronological order.'),
67
+ }),
68
+ };
69
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/tools/suggest_time/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,4GAA4G;AAC5G,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,cAAc,EAAE,CAAC;aACd,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;aACjB,QAAQ,CACP,yHAAyH,CAC1H;QACH,SAAS,EAAE,CAAC;aACT,MAAM,EAAE;aACR,QAAQ,CAAC,oEAAoE,CAAC;QACjF,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,CAAC,kEAAkE,CAAC;QAC/E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,wJAAwJ,CACzJ;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,EAAE;aACV,QAAQ,EAAE;aACV,QAAQ,CACP,wGAAwG,CACzG;QACH,WAAW,EAAE,CAAC;aACX,MAAM,CAAC;YACN,SAAS,EAAE,CAAC;iBACT,MAAM,EAAE;iBACR,KAAK,CAAC,WAAW,EAAE,mDAAmD,CAAC;iBACvE,QAAQ,EAAE;iBACV,QAAQ,CAAC,gEAAgE,CAAC;YAC7E,OAAO,EAAE,CAAC;iBACP,MAAM,EAAE;iBACR,KAAK,CAAC,WAAW,EAAE,mDAAmD,CAAC;iBACvE,QAAQ,EAAE;iBACV,QAAQ,CAAC,8DAA8D,CAAC;YAC3E,eAAe,EAAE,CAAC;iBACf,OAAO,EAAE;iBACT,QAAQ,EAAE;iBACV,QAAQ,CAAC,sDAAsD,CAAC;YACnE,QAAQ,EAAE,CAAC;iBACR,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,QAAQ,EAAE;iBACV,GAAG,CAAC,EAAE,CAAC;iBACP,QAAQ,EAAE;iBACV,QAAQ,CAAC,6DAA6D,CAAC;SAC3E,CAAC;aACD,QAAQ,EAAE;aACV,QAAQ,CAAC,sEAAsE,CAAC;KACpF,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,SAAS,EAAE,CAAC;aACT,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;YACP,SAAS,EAAE,CAAC;iBACT,MAAM,EAAE;iBACR,QAAQ,CAAC,iEAAiE,CAAC;YAC9E,OAAO,EAAE,CAAC;iBACP,MAAM,EAAE;iBACR,QAAQ,CAAC,+DAA+D,CAAC;YAC5E,eAAe,EAAE,CAAC;iBACf,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,QAAQ,CAAC,gDAAgD,CAAC;SAC9D,CAAC,CACH;aACA,QAAQ,CAAC,wDAAwD,CAAC;KACtE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\nimport { HOUR_OF_DAY } from '../../lib/suggest.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/mcp/tools_list/suggest_time */\nexport const schema = {\n input: z.object({\n attendeeEmails: z\n .array(z.string())\n .describe(\n \"The attendee emails to find free time for. Include the literal 'primary' for the authenticated user's primary calendar.\",\n ),\n startTime: z\n .string()\n .describe('The start of the interval for the query, as an ISO 8601 timestamp.'),\n endTime: z\n .string()\n .describe('The end of the interval for the query, as an ISO 8601 timestamp.'),\n timeZone: z\n .string()\n .optional()\n .describe(\n 'Time zone used for the working-hour and weekend preferences, as an IANA Time Zone Database name (for example America/Los_Angeles). The default is UTC.',\n ),\n durationMinutes: z\n .number()\n .int()\n .positive()\n .optional()\n .describe(\n 'Minimum duration of a free time slot in minutes (default 30); suggested slots are exactly this length.',\n ),\n preferences: z\n .object({\n startHour: z\n .string()\n .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 09:00.')\n .optional()\n .describe('The preferred start hour of day, as HH:MM (for example 09:00).'),\n endHour: z\n .string()\n .regex(HOUR_OF_DAY, 'Expected an HH:MM hour of day, for example 17:00.')\n .optional()\n .describe('The preferred end hour of day, as HH:MM (for example 17:00).'),\n excludeWeekends: z\n .boolean()\n .optional()\n .describe('Whether to exclude weekends (Saturdays and Sundays).'),\n pageSize: z\n .number()\n .int()\n .positive()\n .max(50)\n .optional()\n .describe('Maximum number of time slots to return (default 5, max 50).'),\n })\n .optional()\n .describe('Scheduling preferences narrowing where the suggested slots may fall.'),\n }),\n output: z.object({\n timeSlots: z\n .array(\n z.object({\n startTime: z\n .string()\n .describe('The start time of the free time slot, as an ISO 8601 timestamp.'),\n endTime: z\n .string()\n .describe('The end time of the free time slot, as an ISO 8601 timestamp.'),\n durationMinutes: z\n .number()\n .int()\n .describe('The duration of the free time slot in minutes.'),\n }),\n )\n .describe('The suggested free time slots, in chronological order.'),\n }),\n};\n"]}
@@ -0,0 +1,5 @@
1
+ import type { calendar_v3 } from '@googleapis/calendar';
2
+ import type { z } from 'zod';
3
+ import type { schema } from './schema.js';
4
+ export declare function handler(calendar: calendar_v3.Calendar, 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/calendar/tools/update_event/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQ7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAsB1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAkCxC"}
@@ -0,0 +1,53 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { applyAttendeeDeltas } from '../../lib/attendees.js';
3
+ import { buildEventDateTime } from '../../lib/datetime.js';
4
+ import { projectEvent } from '../../lib/event.js';
5
+ import { meetConferenceData } from '../../lib/meet.js';
6
+ import { toSendUpdates } from '../../lib/notifications.js';
7
+ /**
8
+ * The patched guest list: when either attendee delta is given, read the
9
+ * event's current attendees and apply the deltas; otherwise leave the guest
10
+ * list out of the patch entirely.
11
+ */
12
+ async function patchedAttendees(calendar, calendarId, args) {
13
+ if (args.addedAttendeeEmails === undefined && args.removedAttendeeEmails === undefined) {
14
+ return undefined;
15
+ }
16
+ const { data } = await calendar.events.get({ calendarId, eventId: args.eventId });
17
+ return applyAttendeeDeltas(data.attendees ?? [], {
18
+ added: args.addedAttendeeEmails,
19
+ removed: args.removedAttendeeEmails,
20
+ });
21
+ }
22
+ export async function handler(calendar, args) {
23
+ const calendarId = args.calendarId ?? 'primary';
24
+ const attendees = await patchedAttendees(calendar, calendarId, args);
25
+ const conferenceData = meetConferenceData(args);
26
+ const { data } = await calendar.events.patch(forGoogle({
27
+ calendarId,
28
+ eventId: args.eventId,
29
+ sendUpdates: toSendUpdates(args.notificationLevel),
30
+ conferenceDataVersion: conferenceData === undefined ? undefined : 1,
31
+ requestBody: forGoogle({
32
+ summary: args.summary,
33
+ description: args.description,
34
+ location: args.location,
35
+ start: args.startTime === undefined
36
+ ? undefined
37
+ : buildEventDateTime({ dateTime: args.startTime }),
38
+ end: args.endTime === undefined ? undefined : buildEventDateTime({ dateTime: args.endTime }),
39
+ attendees,
40
+ reminders: args.overrideReminders
41
+ ? {
42
+ useDefault: false,
43
+ overrides: args.overrideReminders.map((reminder) => forGoogle(reminder)),
44
+ }
45
+ : undefined,
46
+ conferenceData,
47
+ visibility: args.visibility,
48
+ colorId: args.colorId,
49
+ }),
50
+ }));
51
+ return projectEvent(data);
52
+ }
53
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/tools/update_event/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAG3D;;;;GAIG;AACH,KAAK,UAAU,gBAAgB,CAC7B,QAA8B,EAC9B,UAAkB,EAClB,IAAkC;IAElC,IAAI,IAAI,CAAC,mBAAmB,KAAK,SAAS,IAAI,IAAI,CAAC,qBAAqB,KAAK,SAAS,EAAE,CAAC;QACvF,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;IAClF,OAAO,mBAAmB,CAAC,IAAI,CAAC,SAAS,IAAI,EAAE,EAAE;QAC/C,KAAK,EAAE,IAAI,CAAC,mBAAmB;QAC/B,OAAO,EAAE,IAAI,CAAC,qBAAqB;KACpC,CAAC,CAAC;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,SAAS,CAAC;IAChD,MAAM,SAAS,GAAG,MAAM,gBAAgB,CAAC,QAAQ,EAAE,UAAU,EAAE,IAAI,CAAC,CAAC;IACrE,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,KAAK,CAC1C,SAAS,CAAC;QACR,UAAU;QACV,OAAO,EAAE,IAAI,CAAC,OAAO;QACrB,WAAW,EAAE,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC;QAClD,qBAAqB,EAAE,cAAc,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;QACnE,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,KAAK,EACH,IAAI,CAAC,SAAS,KAAK,SAAS;gBAC1B,CAAC,CAAC,SAAS;gBACX,CAAC,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE,CAAC;YACtD,GAAG,EACD,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kBAAkB,CAAC,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC;YACzF,SAAS;YACT,SAAS,EAAE,IAAI,CAAC,iBAAiB;gBAC/B,CAAC,CAAC;oBACE,UAAU,EAAE,KAAK;oBACjB,SAAS,EAAE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;iBACzE;gBACH,CAAC,CAAC,SAAS;YACb,cAAc;YACd,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,OAAO,EAAE,IAAI,CAAC,OAAO;SACtB,CAAC;KACH,CAAC,CACH,CAAC;IACF,OAAO,YAAY,CAAC,IAAI,CAAC,CAAC;AAC5B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport type { Optional } from '../../../lib/types.js';\nimport { applyAttendeeDeltas } from '../../lib/attendees.js';\nimport { buildEventDateTime } from '../../lib/datetime.js';\nimport { projectEvent } from '../../lib/event.js';\nimport { meetConferenceData } from '../../lib/meet.js';\nimport { toSendUpdates } from '../../lib/notifications.js';\nimport type { schema } from './schema.js';\n\n/**\n * The patched guest list: when either attendee delta is given, read the\n * event's current attendees and apply the deltas; otherwise leave the guest\n * list out of the patch entirely.\n */\nasync function patchedAttendees(\n calendar: calendar_v3.Calendar,\n calendarId: string,\n args: z.infer<typeof schema.input>,\n): Promise<Optional<calendar_v3.Schema$EventAttendee[]>> {\n if (args.addedAttendeeEmails === undefined && args.removedAttendeeEmails === undefined) {\n return undefined;\n }\n const { data } = await calendar.events.get({ calendarId, eventId: args.eventId });\n return applyAttendeeDeltas(data.attendees ?? [], {\n added: args.addedAttendeeEmails,\n removed: args.removedAttendeeEmails,\n });\n}\n\nexport async function handler(\n calendar: calendar_v3.Calendar,\n args: z.infer<typeof schema.input>,\n): Promise<z.infer<typeof schema.output>> {\n const calendarId = args.calendarId ?? 'primary';\n const attendees = await patchedAttendees(calendar, calendarId, args);\n const conferenceData = meetConferenceData(args);\n const { data } = await calendar.events.patch(\n forGoogle({\n calendarId,\n eventId: args.eventId,\n sendUpdates: toSendUpdates(args.notificationLevel),\n conferenceDataVersion: conferenceData === undefined ? undefined : 1,\n requestBody: forGoogle({\n summary: args.summary,\n description: args.description,\n location: args.location,\n start:\n args.startTime === undefined\n ? undefined\n : buildEventDateTime({ dateTime: args.startTime }),\n end:\n args.endTime === undefined ? undefined : buildEventDateTime({ dateTime: args.endTime }),\n attendees,\n reminders: args.overrideReminders\n ? {\n useDefault: false,\n overrides: args.overrideReminders.map((reminder) => forGoogle(reminder)),\n }\n : undefined,\n conferenceData,\n visibility: args.visibility,\n colorId: args.colorId,\n }),\n }),\n );\n return projectEvent(data);\n}\n"]}