google-mcp-suite 0.0.0 → 1.1.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 (408) hide show
  1. package/NOTICE.md +1 -1
  2. package/README.md +124 -23
  3. package/dist/calendar/capabilities.d.ts +3 -0
  4. package/dist/calendar/capabilities.d.ts.map +1 -0
  5. package/dist/calendar/capabilities.js +21 -0
  6. package/dist/calendar/capabilities.js.map +1 -0
  7. package/dist/calendar/entities/Attendee.d.ts +24 -0
  8. package/dist/calendar/entities/Attendee.d.ts.map +1 -0
  9. package/dist/calendar/entities/Attendee.js +34 -0
  10. package/dist/calendar/entities/Attendee.js.map +1 -0
  11. package/dist/calendar/entities/Calendar.d.ts +20 -0
  12. package/dist/calendar/entities/Calendar.d.ts.map +1 -0
  13. package/dist/calendar/entities/Calendar.js +25 -0
  14. package/dist/calendar/entities/Calendar.js.map +1 -0
  15. package/dist/calendar/entities/CalendarListEntry.d.ts +36 -0
  16. package/dist/calendar/entities/CalendarListEntry.d.ts.map +1 -0
  17. package/dist/calendar/entities/CalendarListEntry.js +60 -0
  18. package/dist/calendar/entities/CalendarListEntry.js.map +1 -0
  19. package/dist/calendar/entities/Colors.d.ts +31 -0
  20. package/dist/calendar/entities/Colors.d.ts.map +1 -0
  21. package/dist/calendar/entities/Colors.js +34 -0
  22. package/dist/calendar/entities/Colors.js.map +1 -0
  23. package/dist/calendar/entities/Event.d.ts +76 -0
  24. package/dist/calendar/entities/Event.d.ts.map +1 -0
  25. package/dist/calendar/entities/Event.js +72 -0
  26. package/dist/calendar/entities/Event.js.map +1 -0
  27. package/dist/calendar/entities/EventDateTime.d.ts +19 -0
  28. package/dist/calendar/entities/EventDateTime.d.ts.map +1 -0
  29. package/dist/calendar/entities/EventDateTime.js +31 -0
  30. package/dist/calendar/entities/EventDateTime.js.map +1 -0
  31. package/dist/calendar/entities/FreeBusy.d.ts +30 -0
  32. package/dist/calendar/entities/FreeBusy.d.ts.map +1 -0
  33. package/dist/calendar/entities/FreeBusy.js +33 -0
  34. package/dist/calendar/entities/FreeBusy.js.map +1 -0
  35. package/dist/calendar/entities/NotificationLevel.d.ts +19 -0
  36. package/dist/calendar/entities/NotificationLevel.d.ts.map +1 -0
  37. package/dist/calendar/entities/NotificationLevel.js +14 -0
  38. package/dist/calendar/entities/NotificationLevel.js.map +1 -0
  39. package/dist/calendar/entities/Principal.d.ts +17 -0
  40. package/dist/calendar/entities/Principal.d.ts.map +1 -0
  41. package/dist/calendar/entities/Principal.js +19 -0
  42. package/dist/calendar/entities/Principal.js.map +1 -0
  43. package/dist/calendar/entities/Reminder.d.ts +19 -0
  44. package/dist/calendar/entities/Reminder.d.ts.map +1 -0
  45. package/dist/calendar/entities/Reminder.js +20 -0
  46. package/dist/calendar/entities/Reminder.js.map +1 -0
  47. package/dist/calendar/entities/Setting.d.ts +12 -0
  48. package/dist/calendar/entities/Setting.d.ts.map +1 -0
  49. package/dist/calendar/entities/Setting.js +13 -0
  50. package/dist/calendar/entities/Setting.js.map +1 -0
  51. package/dist/calendar/index.d.ts +3 -0
  52. package/dist/calendar/index.d.ts.map +1 -0
  53. package/dist/calendar/index.js +19 -0
  54. package/dist/calendar/index.js.map +1 -0
  55. package/dist/calendar/lib/attendees.d.ts +24 -0
  56. package/dist/calendar/lib/attendees.d.ts.map +1 -0
  57. package/dist/calendar/lib/attendees.js +41 -0
  58. package/dist/calendar/lib/attendees.js.map +1 -0
  59. package/dist/calendar/lib/calendar.d.ts +8 -0
  60. package/dist/calendar/lib/calendar.d.ts.map +1 -0
  61. package/dist/calendar/lib/calendar.js +33 -0
  62. package/dist/calendar/lib/calendar.js.map +1 -0
  63. package/dist/calendar/lib/datetime.d.ts +20 -0
  64. package/dist/calendar/lib/datetime.d.ts.map +1 -0
  65. package/dist/calendar/lib/datetime.js +22 -0
  66. package/dist/calendar/lib/datetime.js.map +1 -0
  67. package/dist/calendar/lib/event.d.ts +13 -0
  68. package/dist/calendar/lib/event.d.ts.map +1 -0
  69. package/dist/calendar/lib/event.js +76 -0
  70. package/dist/calendar/lib/event.js.map +1 -0
  71. package/dist/calendar/lib/meet.d.ts +14 -0
  72. package/dist/calendar/lib/meet.d.ts.map +1 -0
  73. package/dist/calendar/lib/meet.js +20 -0
  74. package/dist/calendar/lib/meet.js.map +1 -0
  75. package/dist/calendar/lib/notifications.d.ts +15 -0
  76. package/dist/calendar/lib/notifications.d.ts.map +1 -0
  77. package/dist/calendar/lib/notifications.js +14 -0
  78. package/dist/calendar/lib/notifications.js.map +1 -0
  79. package/dist/calendar/lib/suggest.d.ts +45 -0
  80. package/dist/calendar/lib/suggest.d.ts.map +1 -0
  81. package/dist/calendar/lib/suggest.js +108 -0
  82. package/dist/calendar/lib/suggest.js.map +1 -0
  83. package/dist/calendar/methods/add_calendar_entry/handler.d.ts +5 -0
  84. package/dist/calendar/methods/add_calendar_entry/handler.d.ts.map +1 -0
  85. package/dist/calendar/methods/add_calendar_entry/handler.js +8 -0
  86. package/dist/calendar/methods/add_calendar_entry/handler.js.map +1 -0
  87. package/dist/calendar/methods/add_calendar_entry/index.d.ts +33 -0
  88. package/dist/calendar/methods/add_calendar_entry/index.d.ts.map +1 -0
  89. package/dist/calendar/methods/add_calendar_entry/index.js +17 -0
  90. package/dist/calendar/methods/add_calendar_entry/index.js.map +1 -0
  91. package/dist/calendar/methods/add_calendar_entry/schema.d.ts +30 -0
  92. package/dist/calendar/methods/add_calendar_entry/schema.d.ts.map +1 -0
  93. package/dist/calendar/methods/add_calendar_entry/schema.js +12 -0
  94. package/dist/calendar/methods/add_calendar_entry/schema.js.map +1 -0
  95. package/dist/calendar/methods/clear_calendar/handler.d.ts +5 -0
  96. package/dist/calendar/methods/clear_calendar/handler.d.ts.map +1 -0
  97. package/dist/calendar/methods/clear_calendar/handler.js +6 -0
  98. package/dist/calendar/methods/clear_calendar/handler.js.map +1 -0
  99. package/dist/calendar/methods/clear_calendar/index.d.ts +13 -0
  100. package/dist/calendar/methods/clear_calendar/index.d.ts.map +1 -0
  101. package/dist/calendar/methods/clear_calendar/index.js +17 -0
  102. package/dist/calendar/methods/clear_calendar/index.js.map +1 -0
  103. package/dist/calendar/methods/clear_calendar/schema.d.ts +12 -0
  104. package/dist/calendar/methods/clear_calendar/schema.d.ts.map +1 -0
  105. package/dist/calendar/methods/clear_calendar/schema.js +15 -0
  106. package/dist/calendar/methods/clear_calendar/schema.js.map +1 -0
  107. package/dist/calendar/methods/create_calendar/handler.d.ts +5 -0
  108. package/dist/calendar/methods/create_calendar/handler.d.ts.map +1 -0
  109. package/dist/calendar/methods/create_calendar/handler.js +14 -0
  110. package/dist/calendar/methods/create_calendar/handler.js.map +1 -0
  111. package/dist/calendar/methods/create_calendar/index.d.ts +19 -0
  112. package/dist/calendar/methods/create_calendar/index.d.ts.map +1 -0
  113. package/dist/calendar/methods/create_calendar/index.js +15 -0
  114. package/dist/calendar/methods/create_calendar/index.js.map +1 -0
  115. package/dist/calendar/methods/create_calendar/schema.d.ts +18 -0
  116. package/dist/calendar/methods/create_calendar/schema.d.ts.map +1 -0
  117. package/dist/calendar/methods/create_calendar/schema.js +19 -0
  118. package/dist/calendar/methods/create_calendar/schema.js.map +1 -0
  119. package/dist/calendar/methods/delete_calendar/handler.d.ts +5 -0
  120. package/dist/calendar/methods/delete_calendar/handler.d.ts.map +1 -0
  121. package/dist/calendar/methods/delete_calendar/handler.js +5 -0
  122. package/dist/calendar/methods/delete_calendar/handler.js.map +1 -0
  123. package/dist/calendar/methods/delete_calendar/index.d.ts +14 -0
  124. package/dist/calendar/methods/delete_calendar/index.d.ts.map +1 -0
  125. package/dist/calendar/methods/delete_calendar/index.js +18 -0
  126. package/dist/calendar/methods/delete_calendar/index.js.map +1 -0
  127. package/dist/calendar/methods/delete_calendar/schema.d.ts +12 -0
  128. package/dist/calendar/methods/delete_calendar/schema.d.ts.map +1 -0
  129. package/dist/calendar/methods/delete_calendar/schema.js +14 -0
  130. package/dist/calendar/methods/delete_calendar/schema.js.map +1 -0
  131. package/dist/calendar/methods/get_calendar/handler.d.ts +5 -0
  132. package/dist/calendar/methods/get_calendar/handler.d.ts.map +1 -0
  133. package/dist/calendar/methods/get_calendar/handler.js +6 -0
  134. package/dist/calendar/methods/get_calendar/handler.js.map +1 -0
  135. package/dist/calendar/methods/get_calendar/index.d.ts +16 -0
  136. package/dist/calendar/methods/get_calendar/index.d.ts.map +1 -0
  137. package/dist/calendar/methods/get_calendar/index.js +15 -0
  138. package/dist/calendar/methods/get_calendar/index.js.map +1 -0
  139. package/dist/calendar/methods/get_calendar/schema.d.ts +15 -0
  140. package/dist/calendar/methods/get_calendar/schema.d.ts.map +1 -0
  141. package/dist/calendar/methods/get_calendar/schema.js +13 -0
  142. package/dist/calendar/methods/get_calendar/schema.js.map +1 -0
  143. package/dist/calendar/methods/get_calendar_entry/handler.d.ts +5 -0
  144. package/dist/calendar/methods/get_calendar_entry/handler.d.ts.map +1 -0
  145. package/dist/calendar/methods/get_calendar_entry/handler.js +6 -0
  146. package/dist/calendar/methods/get_calendar_entry/handler.js.map +1 -0
  147. package/dist/calendar/methods/get_calendar_entry/index.d.ts +31 -0
  148. package/dist/calendar/methods/get_calendar_entry/index.d.ts.map +1 -0
  149. package/dist/calendar/methods/get_calendar_entry/index.js +15 -0
  150. package/dist/calendar/methods/get_calendar_entry/index.js.map +1 -0
  151. package/dist/calendar/methods/get_calendar_entry/schema.d.ts +30 -0
  152. package/dist/calendar/methods/get_calendar_entry/schema.d.ts.map +1 -0
  153. package/dist/calendar/methods/get_calendar_entry/schema.js +13 -0
  154. package/dist/calendar/methods/get_calendar_entry/schema.js.map +1 -0
  155. package/dist/calendar/methods/get_colors/handler.d.ts +5 -0
  156. package/dist/calendar/methods/get_colors/handler.d.ts.map +1 -0
  157. package/dist/calendar/methods/get_colors/handler.js +19 -0
  158. package/dist/calendar/methods/get_colors/handler.js.map +1 -0
  159. package/dist/calendar/methods/get_colors/index.d.ts +19 -0
  160. package/dist/calendar/methods/get_colors/index.d.ts.map +1 -0
  161. package/dist/calendar/methods/get_colors/index.js +16 -0
  162. package/dist/calendar/methods/get_colors/index.js.map +1 -0
  163. package/dist/calendar/methods/get_colors/schema.d.ts +17 -0
  164. package/dist/calendar/methods/get_colors/schema.d.ts.map +1 -0
  165. package/dist/calendar/methods/get_colors/schema.js +8 -0
  166. package/dist/calendar/methods/get_colors/schema.js.map +1 -0
  167. package/dist/calendar/methods/get_setting/handler.d.ts +5 -0
  168. package/dist/calendar/methods/get_setting/handler.d.ts.map +1 -0
  169. package/dist/calendar/methods/get_setting/handler.js +8 -0
  170. package/dist/calendar/methods/get_setting/handler.js.map +1 -0
  171. package/dist/calendar/methods/get_setting/index.d.ts +11 -0
  172. package/dist/calendar/methods/get_setting/index.d.ts.map +1 -0
  173. package/dist/calendar/methods/get_setting/index.js +13 -0
  174. package/dist/calendar/methods/get_setting/index.js.map +1 -0
  175. package/dist/calendar/methods/get_setting/schema.d.ts +12 -0
  176. package/dist/calendar/methods/get_setting/schema.d.ts.map +1 -0
  177. package/dist/calendar/methods/get_setting/schema.js +12 -0
  178. package/dist/calendar/methods/get_setting/schema.js.map +1 -0
  179. package/dist/calendar/methods/list_event_instances/handler.d.ts +5 -0
  180. package/dist/calendar/methods/list_event_instances/handler.d.ts.map +1 -0
  181. package/dist/calendar/methods/list_event_instances/handler.js +28 -0
  182. package/dist/calendar/methods/list_event_instances/handler.js.map +1 -0
  183. package/dist/calendar/methods/list_event_instances/index.d.ts +95 -0
  184. package/dist/calendar/methods/list_event_instances/index.d.ts.map +1 -0
  185. package/dist/calendar/methods/list_event_instances/index.js +17 -0
  186. package/dist/calendar/methods/list_event_instances/index.js.map +1 -0
  187. package/dist/calendar/methods/list_event_instances/schema.d.ts +92 -0
  188. package/dist/calendar/methods/list_event_instances/schema.d.ts.map +1 -0
  189. package/dist/calendar/methods/list_event_instances/schema.js +63 -0
  190. package/dist/calendar/methods/list_event_instances/schema.js.map +1 -0
  191. package/dist/calendar/methods/list_settings/handler.d.ts +5 -0
  192. package/dist/calendar/methods/list_settings/handler.d.ts.map +1 -0
  193. package/dist/calendar/methods/list_settings/handler.js +15 -0
  194. package/dist/calendar/methods/list_settings/handler.js.map +1 -0
  195. package/dist/calendar/methods/list_settings/index.d.ts +17 -0
  196. package/dist/calendar/methods/list_settings/index.d.ts.map +1 -0
  197. package/dist/calendar/methods/list_settings/index.js +15 -0
  198. package/dist/calendar/methods/list_settings/index.js.map +1 -0
  199. package/dist/calendar/methods/list_settings/schema.d.ts +21 -0
  200. package/dist/calendar/methods/list_settings/schema.d.ts.map +1 -0
  201. package/dist/calendar/methods/list_settings/schema.js +27 -0
  202. package/dist/calendar/methods/list_settings/schema.js.map +1 -0
  203. package/dist/calendar/methods/move_event/handler.d.ts +5 -0
  204. package/dist/calendar/methods/move_event/handler.d.ts.map +1 -0
  205. package/dist/calendar/methods/move_event/handler.js +12 -0
  206. package/dist/calendar/methods/move_event/handler.js.map +1 -0
  207. package/dist/calendar/methods/move_event/index.d.ts +79 -0
  208. package/dist/calendar/methods/move_event/index.d.ts.map +1 -0
  209. package/dist/calendar/methods/move_event/index.js +17 -0
  210. package/dist/calendar/methods/move_event/index.js.map +1 -0
  211. package/dist/calendar/methods/move_event/schema.d.ts +76 -0
  212. package/dist/calendar/methods/move_event/schema.d.ts.map +1 -0
  213. package/dist/calendar/methods/move_event/schema.js +19 -0
  214. package/dist/calendar/methods/move_event/schema.js.map +1 -0
  215. package/dist/calendar/methods/patch_event/handler.d.ts +5 -0
  216. package/dist/calendar/methods/patch_event/handler.d.ts.map +1 -0
  217. package/dist/calendar/methods/patch_event/handler.js +29 -0
  218. package/dist/calendar/methods/patch_event/handler.js.map +1 -0
  219. package/dist/calendar/methods/patch_event/index.d.ts +131 -0
  220. package/dist/calendar/methods/patch_event/index.d.ts.map +1 -0
  221. package/dist/calendar/methods/patch_event/index.js +18 -0
  222. package/dist/calendar/methods/patch_event/index.js.map +1 -0
  223. package/dist/calendar/methods/patch_event/schema.d.ts +127 -0
  224. package/dist/calendar/methods/patch_event/schema.d.ts.map +1 -0
  225. package/dist/calendar/methods/patch_event/schema.js +110 -0
  226. package/dist/calendar/methods/patch_event/schema.js.map +1 -0
  227. package/dist/calendar/methods/query_free_busy/handler.d.ts +5 -0
  228. package/dist/calendar/methods/query_free_busy/handler.d.ts.map +1 -0
  229. package/dist/calendar/methods/query_free_busy/handler.js +32 -0
  230. package/dist/calendar/methods/query_free_busy/handler.js.map +1 -0
  231. package/dist/calendar/methods/query_free_busy/index.d.ts +29 -0
  232. package/dist/calendar/methods/query_free_busy/index.d.ts.map +1 -0
  233. package/dist/calendar/methods/query_free_busy/index.js +16 -0
  234. package/dist/calendar/methods/query_free_busy/index.js.map +1 -0
  235. package/dist/calendar/methods/query_free_busy/schema.d.ts +27 -0
  236. package/dist/calendar/methods/query_free_busy/schema.d.ts.map +1 -0
  237. package/dist/calendar/methods/query_free_busy/schema.js +36 -0
  238. package/dist/calendar/methods/query_free_busy/schema.js.map +1 -0
  239. package/dist/calendar/methods/quick_add_event/handler.d.ts +5 -0
  240. package/dist/calendar/methods/quick_add_event/handler.d.ts.map +1 -0
  241. package/dist/calendar/methods/quick_add_event/handler.js +11 -0
  242. package/dist/calendar/methods/quick_add_event/handler.js.map +1 -0
  243. package/dist/calendar/methods/quick_add_event/index.d.ts +77 -0
  244. package/dist/calendar/methods/quick_add_event/index.d.ts.map +1 -0
  245. package/dist/calendar/methods/quick_add_event/index.js +16 -0
  246. package/dist/calendar/methods/quick_add_event/index.js.map +1 -0
  247. package/dist/calendar/methods/quick_add_event/schema.d.ts +75 -0
  248. package/dist/calendar/methods/quick_add_event/schema.d.ts.map +1 -0
  249. package/dist/calendar/methods/quick_add_event/schema.js +20 -0
  250. package/dist/calendar/methods/quick_add_event/schema.js.map +1 -0
  251. package/dist/calendar/methods/registry.d.ts +538 -0
  252. package/dist/calendar/methods/registry.d.ts.map +1 -0
  253. package/dist/calendar/methods/registry.js +48 -0
  254. package/dist/calendar/methods/registry.js.map +1 -0
  255. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts +5 -0
  256. package/dist/calendar/methods/remove_calendar_entry/handler.d.ts.map +1 -0
  257. package/dist/calendar/methods/remove_calendar_entry/handler.js +5 -0
  258. package/dist/calendar/methods/remove_calendar_entry/handler.js.map +1 -0
  259. package/dist/calendar/methods/remove_calendar_entry/index.d.ts +13 -0
  260. package/dist/calendar/methods/remove_calendar_entry/index.d.ts.map +1 -0
  261. package/dist/calendar/methods/remove_calendar_entry/index.js +16 -0
  262. package/dist/calendar/methods/remove_calendar_entry/index.js.map +1 -0
  263. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts +12 -0
  264. package/dist/calendar/methods/remove_calendar_entry/schema.d.ts.map +1 -0
  265. package/dist/calendar/methods/remove_calendar_entry/schema.js +14 -0
  266. package/dist/calendar/methods/remove_calendar_entry/schema.js.map +1 -0
  267. package/dist/calendar/methods/update_calendar/handler.d.ts +5 -0
  268. package/dist/calendar/methods/update_calendar/handler.d.ts.map +1 -0
  269. package/dist/calendar/methods/update_calendar/handler.js +15 -0
  270. package/dist/calendar/methods/update_calendar/handler.js.map +1 -0
  271. package/dist/calendar/methods/update_calendar/index.d.ts +18 -0
  272. package/dist/calendar/methods/update_calendar/index.d.ts.map +1 -0
  273. package/dist/calendar/methods/update_calendar/index.js +13 -0
  274. package/dist/calendar/methods/update_calendar/index.js.map +1 -0
  275. package/dist/calendar/methods/update_calendar/schema.d.ts +19 -0
  276. package/dist/calendar/methods/update_calendar/schema.d.ts.map +1 -0
  277. package/dist/calendar/methods/update_calendar/schema.js +23 -0
  278. package/dist/calendar/methods/update_calendar/schema.js.map +1 -0
  279. package/dist/calendar/methods/update_calendar_entry/handler.d.ts +5 -0
  280. package/dist/calendar/methods/update_calendar_entry/handler.d.ts.map +1 -0
  281. package/dist/calendar/methods/update_calendar_entry/handler.js +22 -0
  282. package/dist/calendar/methods/update_calendar_entry/handler.js.map +1 -0
  283. package/dist/calendar/methods/update_calendar_entry/index.d.ts +46 -0
  284. package/dist/calendar/methods/update_calendar_entry/index.d.ts.map +1 -0
  285. package/dist/calendar/methods/update_calendar_entry/index.js +17 -0
  286. package/dist/calendar/methods/update_calendar_entry/index.js.map +1 -0
  287. package/dist/calendar/methods/update_calendar_entry/schema.d.ts +43 -0
  288. package/dist/calendar/methods/update_calendar_entry/schema.d.ts.map +1 -0
  289. package/dist/calendar/methods/update_calendar_entry/schema.js +39 -0
  290. package/dist/calendar/methods/update_calendar_entry/schema.js.map +1 -0
  291. package/dist/calendar/operation.d.ts +12 -0
  292. package/dist/calendar/operation.d.ts.map +1 -0
  293. package/dist/calendar/operation.js +10 -0
  294. package/dist/calendar/operation.js.map +1 -0
  295. package/dist/calendar/tools/create_event/handler.d.ts +5 -0
  296. package/dist/calendar/tools/create_event/handler.d.ts.map +1 -0
  297. package/dist/calendar/tools/create_event/handler.js +38 -0
  298. package/dist/calendar/tools/create_event/handler.js.map +1 -0
  299. package/dist/calendar/tools/create_event/index.d.ts +101 -0
  300. package/dist/calendar/tools/create_event/index.d.ts.map +1 -0
  301. package/dist/calendar/tools/create_event/index.js +17 -0
  302. package/dist/calendar/tools/create_event/index.js.map +1 -0
  303. package/dist/calendar/tools/create_event/schema.d.ts +98 -0
  304. package/dist/calendar/tools/create_event/schema.d.ts.map +1 -0
  305. package/dist/calendar/tools/create_event/schema.js +54 -0
  306. package/dist/calendar/tools/create_event/schema.js.map +1 -0
  307. package/dist/calendar/tools/delete_event/handler.d.ts +5 -0
  308. package/dist/calendar/tools/delete_event/handler.d.ts.map +1 -0
  309. package/dist/calendar/tools/delete_event/handler.js +15 -0
  310. package/dist/calendar/tools/delete_event/handler.js.map +1 -0
  311. package/dist/calendar/tools/delete_event/index.d.ts +76 -0
  312. package/dist/calendar/tools/delete_event/index.d.ts.map +1 -0
  313. package/dist/calendar/tools/delete_event/index.js +16 -0
  314. package/dist/calendar/tools/delete_event/index.js.map +1 -0
  315. package/dist/calendar/tools/delete_event/schema.d.ts +75 -0
  316. package/dist/calendar/tools/delete_event/schema.d.ts.map +1 -0
  317. package/dist/calendar/tools/delete_event/schema.js +16 -0
  318. package/dist/calendar/tools/delete_event/schema.js.map +1 -0
  319. package/dist/calendar/tools/get_event/handler.d.ts +5 -0
  320. package/dist/calendar/tools/get_event/handler.d.ts.map +1 -0
  321. package/dist/calendar/tools/get_event/handler.js +9 -0
  322. package/dist/calendar/tools/get_event/handler.js.map +1 -0
  323. package/dist/calendar/tools/get_event/index.d.ts +66 -0
  324. package/dist/calendar/tools/get_event/index.d.ts.map +1 -0
  325. package/dist/calendar/tools/get_event/index.js +10 -0
  326. package/dist/calendar/tools/get_event/index.js.map +1 -0
  327. package/dist/calendar/tools/get_event/schema.d.ts +70 -0
  328. package/dist/calendar/tools/get_event/schema.d.ts.map +1 -0
  329. package/dist/calendar/tools/get_event/schema.js +14 -0
  330. package/dist/calendar/tools/get_event/schema.js.map +1 -0
  331. package/dist/calendar/tools/list_calendars/handler.d.ts +5 -0
  332. package/dist/calendar/tools/list_calendars/handler.d.ts.map +1 -0
  333. package/dist/calendar/tools/list_calendars/handler.js +17 -0
  334. package/dist/calendar/tools/list_calendars/handler.js.map +1 -0
  335. package/dist/calendar/tools/list_calendars/index.d.ts +20 -0
  336. package/dist/calendar/tools/list_calendars/index.d.ts.map +1 -0
  337. package/dist/calendar/tools/list_calendars/index.js +16 -0
  338. package/dist/calendar/tools/list_calendars/index.js.map +1 -0
  339. package/dist/calendar/tools/list_calendars/schema.d.ts +18 -0
  340. package/dist/calendar/tools/list_calendars/schema.d.ts.map +1 -0
  341. package/dist/calendar/tools/list_calendars/schema.js +26 -0
  342. package/dist/calendar/tools/list_calendars/schema.js.map +1 -0
  343. package/dist/calendar/tools/list_events/handler.d.ts +5 -0
  344. package/dist/calendar/tools/list_events/handler.d.ts.map +1 -0
  345. package/dist/calendar/tools/list_events/handler.js +45 -0
  346. package/dist/calendar/tools/list_events/handler.js.map +1 -0
  347. package/dist/calendar/tools/list_events/index.d.ts +107 -0
  348. package/dist/calendar/tools/list_events/index.d.ts.map +1 -0
  349. package/dist/calendar/tools/list_events/index.js +17 -0
  350. package/dist/calendar/tools/list_events/index.js.map +1 -0
  351. package/dist/calendar/tools/list_events/schema.d.ts +104 -0
  352. package/dist/calendar/tools/list_events/schema.d.ts.map +1 -0
  353. package/dist/calendar/tools/list_events/schema.js +66 -0
  354. package/dist/calendar/tools/list_events/schema.js.map +1 -0
  355. package/dist/calendar/tools/registry.d.ts +529 -0
  356. package/dist/calendar/tools/registry.d.ts.map +1 -0
  357. package/dist/calendar/tools/registry.js +24 -0
  358. package/dist/calendar/tools/registry.js.map +1 -0
  359. package/dist/calendar/tools/respond_to_event/handler.d.ts +5 -0
  360. package/dist/calendar/tools/respond_to_event/handler.d.ts.map +1 -0
  361. package/dist/calendar/tools/respond_to_event/handler.js +19 -0
  362. package/dist/calendar/tools/respond_to_event/handler.js.map +1 -0
  363. package/dist/calendar/tools/respond_to_event/index.d.ts +83 -0
  364. package/dist/calendar/tools/respond_to_event/index.d.ts.map +1 -0
  365. package/dist/calendar/tools/respond_to_event/index.js +16 -0
  366. package/dist/calendar/tools/respond_to_event/index.js.map +1 -0
  367. package/dist/calendar/tools/respond_to_event/schema.d.ts +81 -0
  368. package/dist/calendar/tools/respond_to_event/schema.d.ts.map +1 -0
  369. package/dist/calendar/tools/respond_to_event/schema.js +23 -0
  370. package/dist/calendar/tools/respond_to_event/schema.js.map +1 -0
  371. package/dist/calendar/tools/suggest_time/handler.d.ts +5 -0
  372. package/dist/calendar/tools/suggest_time/handler.d.ts.map +1 -0
  373. package/dist/calendar/tools/suggest_time/handler.js +36 -0
  374. package/dist/calendar/tools/suggest_time/handler.js.map +1 -0
  375. package/dist/calendar/tools/suggest_time/index.d.ts +34 -0
  376. package/dist/calendar/tools/suggest_time/index.d.ts.map +1 -0
  377. package/dist/calendar/tools/suggest_time/index.js +23 -0
  378. package/dist/calendar/tools/suggest_time/index.js.map +1 -0
  379. package/dist/calendar/tools/suggest_time/schema.d.ts +25 -0
  380. package/dist/calendar/tools/suggest_time/schema.d.ts.map +1 -0
  381. package/dist/calendar/tools/suggest_time/schema.js +70 -0
  382. package/dist/calendar/tools/suggest_time/schema.js.map +1 -0
  383. package/dist/calendar/tools/update_event/handler.d.ts +5 -0
  384. package/dist/calendar/tools/update_event/handler.d.ts.map +1 -0
  385. package/dist/calendar/tools/update_event/handler.js +50 -0
  386. package/dist/calendar/tools/update_event/handler.js.map +1 -0
  387. package/dist/calendar/tools/update_event/index.d.ts +100 -0
  388. package/dist/calendar/tools/update_event/index.d.ts.map +1 -0
  389. package/dist/calendar/tools/update_event/index.js +17 -0
  390. package/dist/calendar/tools/update_event/index.js.map +1 -0
  391. package/dist/calendar/tools/update_event/schema.d.ts +97 -0
  392. package/dist/calendar/tools/update_event/schema.d.ts.map +1 -0
  393. package/dist/calendar/tools/update_event/schema.js +59 -0
  394. package/dist/calendar/tools/update_event/schema.js.map +1 -0
  395. package/dist/doctor/diagnose.js +2 -2
  396. package/dist/doctor/diagnose.js.map +1 -1
  397. package/dist/doctor/index.js +1 -1
  398. package/dist/doctor/index.js.map +1 -1
  399. package/dist/doctor/services.d.ts.map +1 -1
  400. package/dist/doctor/services.js +8 -1
  401. package/dist/doctor/services.js.map +1 -1
  402. package/dist/lib/operation.d.ts +2 -2
  403. package/dist/lib/operation.js +2 -2
  404. package/dist/lib/operation.js.map +1 -1
  405. package/dist/lib/server.d.ts.map +1 -1
  406. package/dist/lib/server.js +2 -0
  407. package/dist/lib/server.js.map +1 -1
  408. package/package.json +11 -5
@@ -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/methods/clear_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,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,CAIxC"}
@@ -0,0 +1,6 @@
1
+ export async function handler(calendar, args) {
2
+ const calendarId = args.calendarId ?? 'primary';
3
+ await calendar.calendars.clear({ calendarId });
4
+ return { calendarId };
5
+ }
6
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,IAAI,SAAS,CAAC;IAChD,MAAM,QAAQ,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC,CAAC;IAC/C,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\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 calendarId = args.calendarId ?? 'primary';\n await calendar.calendars.clear({ calendarId });\n return { calendarId };\n}\n"]}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear
3
+ *
4
+ * Irreversible: permanently deletes ALL events from the primary calendar while
5
+ * keeping the calendar itself. The API only accepts the primary calendar; for
6
+ * a secondary calendar, delete_calendar is the whole-calendar analog.
7
+ */
8
+ export declare const clear_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
9
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
10
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
11
+ calendarId: import("zod").ZodString;
12
+ }, import("zod/v4/core").$strip>>;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;iCAKzB,CAAC"}
@@ -0,0 +1,17 @@
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/calendars/clear
6
+ *
7
+ * Irreversible: permanently deletes ALL events from the primary calendar while
8
+ * keeping the calendar itself. The API only accepts the primary calendar; for
9
+ * a secondary calendar, delete_calendar is the whole-calendar analog.
10
+ */
11
+ export const clear_calendar = calendarOperation({
12
+ description: 'Permanently delete all events from the primary calendar.',
13
+ destructive: true,
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/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,cAAc,GAAG,iBAAiB,CAAC;IAC9C,WAAW,EAAE,0DAA0D;IACvE,WAAW,EAAE,IAAI;IACjB,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/calendars/clear\n *\n * Irreversible: permanently deletes ALL events from the primary calendar while\n * keeping the calendar itself. The API only accepts the primary calendar; for\n * a secondary calendar, delete_calendar is the whole-calendar analog.\n */\nexport const clear_calendar = calendarOperation({\n description: 'Permanently delete all events from the primary calendar.',\n destructive: true,\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ /** Clear returns no body; we confirm the id. */
8
+ output: z.ZodObject<{
9
+ calendarId: z.ZodString;
10
+ }, z.core.$strip>;
11
+ };
12
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gGAAgG;AAChG,eAAO,MAAM,MAAM;;;;IASjB,gDAAgD;;;;CAIjD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */
3
+ export const schema = {
4
+ input: z.object({
5
+ calendarId: z
6
+ .string()
7
+ .optional()
8
+ .describe('The calendar ID to clear. The default (and the only value the API accepts) is the primary calendar.'),
9
+ }),
10
+ /** Clear returns no body; we confirm the id. */
11
+ output: z.object({
12
+ calendarId: z.string().describe('The ID of the cleared calendar.'),
13
+ }),
14
+ };
15
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/clear_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,gGAAgG;AAChG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,qGAAqG,CACtG;KACJ,CAAC;IACF,gDAAgD;IAChD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/clear */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\n 'The calendar ID to clear. The default (and the only value the API accepts) is the primary calendar.',\n ),\n }),\n /** Clear returns no body; we confirm the id. */\n output: z.object({\n calendarId: z.string().describe('The ID of the cleared calendar.'),\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/methods/create_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,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,CAUxC"}
@@ -0,0 +1,14 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { projectCalendar } from '../../lib/calendar.js';
3
+ export async function handler(calendar, args) {
4
+ const { data } = await calendar.calendars.insert({
5
+ requestBody: forGoogle({
6
+ summary: args.summary,
7
+ description: args.description,
8
+ location: args.location,
9
+ timeZone: args.timeZone,
10
+ }),
11
+ });
12
+ return projectCalendar(data);
13
+ }
14
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC;QAC/C,WAAW,EAAE,SAAS,CAAC;YACrB,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,WAAW,EAAE,IAAI,CAAC,WAAW;YAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC;KACH,CAAC,CAAC;IACH,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\nimport { projectCalendar } from '../../lib/calendar.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.calendars.insert({\n requestBody: forGoogle({\n summary: args.summary,\n description: args.description,\n location: args.location,\n timeZone: args.timeZone,\n }),\n });\n return projectCalendar(data);\n}\n"]}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert
3
+ *
4
+ * Creates a secondary calendar owned by the user. The new calendar appears on
5
+ * the user's calendar list; the returned id addresses it everywhere else.
6
+ */
7
+ export declare const create_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
8
+ summary: import("zod").ZodString;
9
+ description: import("zod").ZodOptional<import("zod").ZodString>;
10
+ location: import("zod").ZodOptional<import("zod").ZodString>;
11
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
12
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
13
+ id: import("zod").ZodString;
14
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
15
+ description: import("zod").ZodOptional<import("zod").ZodString>;
16
+ location: import("zod").ZodOptional<import("zod").ZodString>;
17
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
18
+ }, import("zod/v4/core").$strip>>;
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;iCAI1B,CAAC"}
@@ -0,0 +1,15 @@
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/calendars/insert
6
+ *
7
+ * Creates a secondary calendar owned by the user. The new calendar appears on
8
+ * the user's calendar list; the returned id addresses it everywhere else.
9
+ */
10
+ export const create_calendar = calendarOperation({
11
+ description: 'Create a secondary calendar.',
12
+ schema,
13
+ handler,
14
+ });
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,8BAA8B;IAC3C,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/calendars/insert\n *\n * Creates a secondary calendar owned by the user. The new calendar appears on\n * the user's calendar list; the returned id addresses it everywhere else.\n */\nexport const create_calendar = calendarOperation({\n description: 'Create a secondary calendar.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ summary: z.ZodString;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ location: z.ZodOptional<z.ZodString>;
8
+ timeZone: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ output: z.ZodObject<{
11
+ id: z.ZodString;
12
+ summary: z.ZodOptional<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodString>;
14
+ location: z.ZodOptional<z.ZodString>;
15
+ timeZone: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ };
18
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;CAclB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ import { Calendar } from '../../entities/Calendar.js';
3
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */
4
+ export const schema = {
5
+ input: z.object({
6
+ summary: z.string().describe('Title of the calendar.'),
7
+ description: z.string().optional().describe('Description of the calendar.'),
8
+ location: z
9
+ .string()
10
+ .optional()
11
+ .describe('Geographic location of the calendar as free-form text.'),
12
+ timeZone: z
13
+ .string()
14
+ .optional()
15
+ .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),
16
+ }),
17
+ output: Calendar,
18
+ };
19
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/create_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACtD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC3E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,wDAAwD,CAAC;QACrE,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,oEAAoE,CAAC;KAClF,CAAC;IACF,MAAM,EAAE,QAAQ;CACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Calendar } from '../../entities/Calendar.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/insert */\nexport const schema = {\n input: z.object({\n summary: z.string().describe('Title of the calendar.'),\n description: z.string().optional().describe('Description of the calendar.'),\n location: z\n .string()\n .optional()\n .describe('Geographic location of the calendar as free-form text.'),\n timeZone: z\n .string()\n .optional()\n .describe('The time zone of the calendar, as an IANA Time Zone Database name.'),\n }),\n output: Calendar,\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/methods/delete_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,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,CAGxC"}
@@ -0,0 +1,5 @@
1
+ export async function handler(calendar, args) {
2
+ await calendar.calendars.delete({ calendarId: args.calendarId });
3
+ return { calendarId: args.calendarId };
4
+ }
5
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/handler.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;IACjE,OAAO,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AACzC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\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 await calendar.calendars.delete({ calendarId: args.calendarId });\n return { calendarId: args.calendarId };\n}\n"]}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete
3
+ *
4
+ * Irreversible: permanently removes a secondary calendar and every event on
5
+ * it. The primary calendar cannot be deleted (the API rejects it); to wipe the
6
+ * primary calendar's events, see clear_calendar. To merely unsubscribe from a
7
+ * calendar without destroying it, see remove_calendar_entry.
8
+ */
9
+ export declare const delete_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
10
+ calendarId: import("zod").ZodString;
11
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
12
+ calendarId: import("zod").ZodString;
13
+ }, import("zod/v4/core").$strip>>;
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;iCAK1B,CAAC"}
@@ -0,0 +1,18 @@
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/calendars/delete
6
+ *
7
+ * Irreversible: permanently removes a secondary calendar and every event on
8
+ * it. The primary calendar cannot be deleted (the API rejects it); to wipe the
9
+ * primary calendar's events, see clear_calendar. To merely unsubscribe from a
10
+ * calendar without destroying it, see remove_calendar_entry.
11
+ */
12
+ export const delete_calendar = calendarOperation({
13
+ description: 'Permanently delete a secondary calendar and all of its events.',
14
+ destructive: true,
15
+ schema,
16
+ handler,
17
+ });
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/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;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EAAE,gEAAgE;IAC7E,WAAW,EAAE,IAAI;IACjB,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/calendars/delete\n *\n * Irreversible: permanently removes a secondary calendar and every event on\n * it. The primary calendar cannot be deleted (the API rejects it); to wipe the\n * primary calendar's events, see clear_calendar. To merely unsubscribe from a\n * calendar without destroying it, see remove_calendar_entry.\n */\nexport const delete_calendar = calendarOperation({\n description: 'Permanently delete a secondary calendar and all of its events.',\n destructive: true,\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ /** Delete returns no body; we confirm the id. */
8
+ output: z.ZodObject<{
9
+ calendarId: z.ZodString;
10
+ }, z.core.$strip>;
11
+ };
12
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;IAMjB,iDAAiD;;;;CAIlD,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */
3
+ export const schema = {
4
+ input: z.object({
5
+ // Required, no primary default: the caller must name the calendar it is
6
+ // destroying, and the primary calendar cannot be deleted anyway.
7
+ calendarId: z.string().describe('The calendar ID of the secondary calendar to delete.'),
8
+ }),
9
+ /** Delete returns no body; we confirm the id. */
10
+ output: z.object({
11
+ calendarId: z.string().describe('The ID of the deleted calendar.'),
12
+ }),
13
+ };
14
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/delete_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,wEAAwE;QACxE,iEAAiE;QACjE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sDAAsD,CAAC;KACxF,CAAC;IACF,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC;KACnE,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/delete */\nexport const schema = {\n input: z.object({\n // Required, no primary default: the caller must name the calendar it is\n // destroying, and the primary calendar cannot be deleted anyway.\n calendarId: z.string().describe('The calendar ID of the secondary calendar to delete.'),\n }),\n /** Delete returns no body; we confirm the id. */\n output: z.object({\n calendarId: z.string().describe('The ID of the deleted calendar.'),\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/methods/get_calendar/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,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,CAGxC"}
@@ -0,0 +1,6 @@
1
+ import { projectCalendar } from '../../lib/calendar.js';
2
+ export async function handler(calendar, args) {
3
+ const { data } = await calendar.calendars.get({ calendarId: args.calendarId ?? 'primary' });
4
+ return projectCalendar(data);
5
+ }
6
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS,EAAE,CAAC,CAAC;IAC5F,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAC/B,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { projectCalendar } from '../../lib/calendar.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.calendars.get({ calendarId: args.calendarId ?? 'primary' });\n return projectCalendar(data);\n}\n"]}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get
3
+ *
4
+ * The calendar's own metadata. For the user's view of a calendar (color,
5
+ * visibility, access role), see get_calendar_entry.
6
+ */
7
+ export declare const get_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
8
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
9
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10
+ id: import("zod").ZodString;
11
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
12
+ description: import("zod").ZodOptional<import("zod").ZodString>;
13
+ location: import("zod").ZodOptional<import("zod").ZodString>;
14
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
15
+ }, import("zod/v4/core").$strip>>;
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,YAAY;;;;;;;;iCAIvB,CAAC"}
@@ -0,0 +1,15 @@
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/calendars/get
6
+ *
7
+ * The calendar's own metadata. For the user's view of a calendar (color,
8
+ * visibility, access role), see get_calendar_entry.
9
+ */
10
+ export const get_calendar = calendarOperation({
11
+ description: 'Get a calendar (its title, description, location, and time zone) by id.',
12
+ schema,
13
+ handler,
14
+ });
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAC5C,WAAW,EAAE,yEAAyE;IACtF,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/calendars/get\n *\n * The calendar's own metadata. For the user's view of a calendar (color,\n * visibility, access role), see get_calendar_entry.\n */\nexport const get_calendar = calendarOperation({\n description: 'Get a calendar (its title, description, location, and time zone) by id.',\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ output: z.ZodObject<{
8
+ id: z.ZodString;
9
+ summary: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodString>;
11
+ location: z.ZodOptional<z.ZodString>;
12
+ timeZone: z.ZodOptional<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/calendar/methods/get_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8FAA8F;AAC9F,eAAO,MAAM,MAAM;;;;;;;;;;;CAQlB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { Calendar } from '../../entities/Calendar.js';
3
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */
4
+ export const schema = {
5
+ input: z.object({
6
+ calendarId: z
7
+ .string()
8
+ .optional()
9
+ .describe("The calendar ID to get. The default is the user's primary calendar."),
10
+ }),
11
+ output: Calendar,
12
+ };
13
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,8FAA8F;AAC9F,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;KACnF,CAAC;IACF,MAAM,EAAE,QAAQ;CACjB,CAAC","sourcesContent":["import { z } from 'zod';\nimport { Calendar } from '../../entities/Calendar.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/get */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\"The calendar ID to get. The default is the user's primary calendar.\"),\n }),\n output: Calendar,\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/methods/get_calendar_entry/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,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,CAGxC"}
@@ -0,0 +1,6 @@
1
+ import { projectCalendarListEntry } from '../../lib/calendar.js';
2
+ export async function handler(calendar, args) {
3
+ const { data } = await calendar.calendarList.get({ calendarId: args.calendarId ?? 'primary' });
4
+ return projectCalendarListEntry(data);
5
+ }
6
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS,EAAE,CAAC,CAAC;IAC/F,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { projectCalendarListEntry } from '../../lib/calendar.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.calendarList.get({ calendarId: args.calendarId ?? 'primary' });\n return projectCalendarListEntry(data);\n}\n"]}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get
3
+ *
4
+ * The user's view of a calendar on their calendar list. For the calendar's
5
+ * own metadata, see get_calendar.
6
+ */
7
+ export declare const get_calendar_entry: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
8
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
9
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
10
+ id: import("zod").ZodString;
11
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
12
+ summaryOverride: import("zod").ZodOptional<import("zod").ZodString>;
13
+ description: import("zod").ZodOptional<import("zod").ZodString>;
14
+ location: import("zod").ZodOptional<import("zod").ZodString>;
15
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
16
+ accessRole: import("zod").ZodOptional<import("zod").ZodString>;
17
+ colorId: import("zod").ZodOptional<import("zod").ZodString>;
18
+ backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
19
+ foregroundColor: import("zod").ZodOptional<import("zod").ZodString>;
20
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
21
+ selected: import("zod").ZodOptional<import("zod").ZodBoolean>;
22
+ primary: import("zod").ZodOptional<import("zod").ZodBoolean>;
23
+ defaultReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
24
+ method: import("zod").ZodEnum<{
25
+ email: "email";
26
+ popup: "popup";
27
+ }>;
28
+ minutes: import("zod").ZodNumber;
29
+ }, import("zod/v4/core").$strip>>>;
30
+ }, import("zod/v4/core").$strip>>;
31
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/index.ts"],"names":[],"mappings":"AAIA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;iCAK7B,CAAC"}
@@ -0,0 +1,15 @@
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/calendarList/get
6
+ *
7
+ * The user's view of a calendar on their calendar list. For the calendar's
8
+ * own metadata, see get_calendar.
9
+ */
10
+ export const get_calendar_entry = calendarOperation({
11
+ description: "Get the user's calendar list entry for a calendar: access role, colors, visibility, and default reminders.",
12
+ schema,
13
+ handler,
14
+ });
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/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;;;;;GAKG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IAClD,WAAW,EACT,4GAA4G;IAC9G,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/calendarList/get\n *\n * The user's view of a calendar on their calendar list. For the calendar's\n * own metadata, see get_calendar.\n */\nexport const get_calendar_entry = calendarOperation({\n description:\n \"Get the user's calendar list entry for a calendar: access role, colors, visibility, and default reminders.\",\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,30 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ output: z.ZodObject<{
8
+ id: z.ZodString;
9
+ summary: z.ZodOptional<z.ZodString>;
10
+ summaryOverride: z.ZodOptional<z.ZodString>;
11
+ description: z.ZodOptional<z.ZodString>;
12
+ location: z.ZodOptional<z.ZodString>;
13
+ timeZone: z.ZodOptional<z.ZodString>;
14
+ accessRole: z.ZodOptional<z.ZodString>;
15
+ colorId: z.ZodOptional<z.ZodString>;
16
+ backgroundColor: z.ZodOptional<z.ZodString>;
17
+ foregroundColor: z.ZodOptional<z.ZodString>;
18
+ hidden: z.ZodOptional<z.ZodBoolean>;
19
+ selected: z.ZodOptional<z.ZodBoolean>;
20
+ primary: z.ZodOptional<z.ZodBoolean>;
21
+ defaultReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
22
+ method: z.ZodEnum<{
23
+ email: "email";
24
+ popup: "popup";
25
+ }>;
26
+ minutes: z.ZodNumber;
27
+ }, z.core.$strip>>>;
28
+ }, z.core.$strip>;
29
+ };
30
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,iGAAiG;AACjG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CAQlB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { z } from 'zod';
2
+ import { CalendarListEntry } from '../../entities/CalendarListEntry.js';
3
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */
4
+ export const schema = {
5
+ input: z.object({
6
+ calendarId: z
7
+ .string()
8
+ .optional()
9
+ .describe("The calendar ID of the entry to get. The default is the user's primary calendar."),
10
+ }),
11
+ output: CalendarListEntry,
12
+ };
13
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/get_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,iGAAiG;AACjG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,kFAAkF,CAAC;KAChG,CAAC;IACF,MAAM,EAAE,iBAAiB;CAC1B,CAAC","sourcesContent":["import { z } from 'zod';\nimport { CalendarListEntry } from '../../entities/CalendarListEntry.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/get */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\"The calendar ID of the entry to get. The default is the user's primary calendar.\"),\n }),\n output: CalendarListEntry,\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/methods/get_colors/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAE7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAiB1C,wBAAsB,OAAO,CAC3B,QAAQ,EAAE,WAAW,CAAC,QAAQ,EAC9B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,KAAK,CAAC,GAClC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAOxC"}