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,13 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/delete
3
+ *
4
+ * Unsubscribes the user from a calendar. Not marked destructive: the calendar
5
+ * and its events are untouched, and re-adding the entry (add_calendar_entry)
6
+ * reverses it. delete_calendar is the irreversible cousin.
7
+ */
8
+ export declare const remove_calendar_entry: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
9
+ calendarId: 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/remove_calendar_entry/index.ts"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB;;;;iCAKhC,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/calendarList/delete
6
+ *
7
+ * Unsubscribes the user from a calendar. Not marked destructive: the calendar
8
+ * and its events are untouched, and re-adding the entry (add_calendar_entry)
9
+ * reverses it. delete_calendar is the irreversible cousin.
10
+ */
11
+ export const remove_calendar_entry = calendarOperation({
12
+ description: "Remove a calendar from the user's calendar list (unsubscribe); the calendar itself is untouched.",
13
+ schema,
14
+ handler,
15
+ });
16
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/remove_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;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACrD,WAAW,EACT,kGAAkG;IACpG,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/delete\n *\n * Unsubscribes the user from a calendar. Not marked destructive: the calendar\n * and its events are untouched, and re-adding the entry (add_calendar_entry)\n * reverses it. delete_calendar is the irreversible cousin.\n */\nexport const remove_calendar_entry = calendarOperation({\n description:\n \"Remove a calendar from the user's calendar list (unsubscribe); the calendar itself is untouched.\",\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/calendarList/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/remove_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oGAAoG;AACpG,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/calendarList/delete */
3
+ export const schema = {
4
+ input: z.object({
5
+ calendarId: z
6
+ .string()
7
+ .describe("The calendar ID of the entry to remove from the user's calendar list."),
8
+ }),
9
+ /** Delete returns no body; we confirm the id. */
10
+ output: z.object({
11
+ calendarId: z.string().describe('The ID of the removed calendar list entry.'),
12
+ }),
13
+ };
14
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/remove_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oGAAoG;AACpG,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;QACd,UAAU,EAAE,CAAC;aACV,MAAM,EAAE;aACR,QAAQ,CAAC,uEAAuE,CAAC;KACrF,CAAC;IACF,iDAAiD;IACjD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;QACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,4CAA4C,CAAC;KAC9E,CAAC;CACH,CAAC","sourcesContent":["import { z } from 'zod';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/delete */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .describe(\"The calendar ID of the entry to remove from the user's calendar list.\"),\n }),\n /** Delete returns no body; we confirm the id. */\n output: z.object({\n calendarId: z.string().describe('The ID of the removed calendar list entry.'),\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/update_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,CAWxC"}
@@ -0,0 +1,15 @@
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.patch({
5
+ calendarId: args.calendarId ?? 'primary',
6
+ requestBody: forGoogle({
7
+ summary: args.summary,
8
+ description: args.description,
9
+ location: args.location,
10
+ timeZone: args.timeZone,
11
+ }),
12
+ });
13
+ return projectCalendar(data);
14
+ }
15
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_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,KAAK,CAAC;QAC9C,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,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.patch({\n calendarId: args.calendarId ?? 'primary',\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,18 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/patch
3
+ * Patch semantics: unset fields are left unchanged.
4
+ */
5
+ export declare const update_calendar: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
6
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
7
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
8
+ description: import("zod").ZodOptional<import("zod").ZodString>;
9
+ location: import("zod").ZodOptional<import("zod").ZodString>;
10
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
11
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
12
+ id: import("zod").ZodString;
13
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
14
+ description: import("zod").ZodOptional<import("zod").ZodString>;
15
+ location: import("zod").ZodOptional<import("zod").ZodString>;
16
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
17
+ }, import("zod/v4/core").$strip>>;
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar/index.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;iCAK1B,CAAC"}
@@ -0,0 +1,13 @@
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/patch
6
+ * Patch semantics: unset fields are left unchanged.
7
+ */
8
+ export const update_calendar = calendarOperation({
9
+ description: "Update a calendar's title, description, location, and/or time zone; unset fields are left unchanged.",
10
+ schema,
11
+ handler,
12
+ });
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_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;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;IAC/C,WAAW,EACT,sGAAsG;IACxG,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/patch\n * Patch semantics: unset fields are left unchanged.\n */\nexport const update_calendar = calendarOperation({\n description:\n \"Update a calendar's title, description, location, and/or time zone; unset fields are left unchanged.\",\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/patch */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodOptional<z.ZodString>;
6
+ summary: z.ZodOptional<z.ZodString>;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ location: z.ZodOptional<z.ZodString>;
9
+ timeZone: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ output: z.ZodObject<{
12
+ id: z.ZodString;
13
+ summary: z.ZodOptional<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodString>;
15
+ location: z.ZodOptional<z.ZodString>;
16
+ timeZone: z.ZodOptional<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ };
19
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,gGAAgG;AAChG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAkBlB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { z } from 'zod';
2
+ import { Calendar } from '../../entities/Calendar.js';
3
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendars/patch */
4
+ export const schema = {
5
+ input: z.object({
6
+ calendarId: z
7
+ .string()
8
+ .optional()
9
+ .describe("The calendar ID to update. The default is the user's primary calendar."),
10
+ summary: z.string().optional().describe('The new title of the calendar.'),
11
+ description: z.string().optional().describe('The new description of the calendar.'),
12
+ location: z
13
+ .string()
14
+ .optional()
15
+ .describe('The new geographic location of the calendar as free-form text.'),
16
+ timeZone: z
17
+ .string()
18
+ .optional()
19
+ .describe('The new time zone of the calendar, as an IANA Time Zone Database name.'),
20
+ }),
21
+ output: Calendar,
22
+ };
23
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,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,CAAC,wEAAwE,CAAC;QACrF,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gCAAgC,CAAC;QACzE,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sCAAsC,CAAC;QACnF,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,gEAAgE,CAAC;QAC7E,QAAQ,EAAE,CAAC;aACR,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,wEAAwE,CAAC;KACtF,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/patch */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\"The calendar ID to update. The default is the user's primary calendar.\"),\n summary: z.string().optional().describe('The new title of the calendar.'),\n description: z.string().optional().describe('The new description of the calendar.'),\n location: z\n .string()\n .optional()\n .describe('The new geographic location of the calendar as free-form text.'),\n timeZone: z\n .string()\n .optional()\n .describe('The new 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/update_calendar_entry/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,CAoBxC"}
@@ -0,0 +1,22 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { projectCalendarListEntry } from '../../lib/calendar.js';
3
+ export async function handler(calendar, args) {
4
+ // Writing the hex color fields requires colorRgbFormat=true on the query;
5
+ // Google then back-fills colorId with the closest palette entry.
6
+ const writesHexColors = args.backgroundColor !== undefined || args.foregroundColor !== undefined;
7
+ const { data } = await calendar.calendarList.patch(forGoogle({
8
+ calendarId: args.calendarId ?? 'primary',
9
+ colorRgbFormat: writesHexColors ? true : undefined,
10
+ requestBody: forGoogle({
11
+ summaryOverride: args.summaryOverride,
12
+ colorId: args.colorId,
13
+ backgroundColor: args.backgroundColor,
14
+ foregroundColor: args.foregroundColor,
15
+ hidden: args.hidden,
16
+ selected: args.selected,
17
+ defaultReminders: args.defaultReminders?.map((reminder) => forGoogle(reminder)),
18
+ }),
19
+ }));
20
+ return projectCalendarListEntry(data);
21
+ }
22
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar_entry/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,0EAA0E;IAC1E,iEAAiE;IACjE,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,KAAK,SAAS,IAAI,IAAI,CAAC,eAAe,KAAK,SAAS,CAAC;IACjG,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,CAChD,SAAS,CAAC;QACR,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,cAAc,EAAE,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS;QAClD,WAAW,EAAE,SAAS,CAAC;YACrB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,eAAe,EAAE,IAAI,CAAC,eAAe;YACrC,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EAAE,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;SAChF,CAAC;KACH,CAAC,CACH,CAAC;IACF,OAAO,wBAAwB,CAAC,IAAI,CAAC,CAAC;AACxC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { forGoogle } from '../../../lib/google.js';\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 // Writing the hex color fields requires colorRgbFormat=true on the query;\n // Google then back-fills colorId with the closest palette entry.\n const writesHexColors = args.backgroundColor !== undefined || args.foregroundColor !== undefined;\n const { data } = await calendar.calendarList.patch(\n forGoogle({\n calendarId: args.calendarId ?? 'primary',\n colorRgbFormat: writesHexColors ? true : undefined,\n requestBody: forGoogle({\n summaryOverride: args.summaryOverride,\n colorId: args.colorId,\n backgroundColor: args.backgroundColor,\n foregroundColor: args.foregroundColor,\n hidden: args.hidden,\n selected: args.selected,\n defaultReminders: args.defaultReminders?.map((reminder) => forGoogle(reminder)),\n }),\n }),\n );\n return projectCalendarListEntry(data);\n}\n"]}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch
3
+ *
4
+ * Edits the user's view of a calendar, not the calendar itself (see
5
+ * update_calendar for that). Patch semantics: unset fields are left
6
+ * unchanged. The handler sends colorRgbFormat=true whenever a hex color
7
+ * field is written, as the API requires.
8
+ */
9
+ export declare const update_calendar_entry: import("../../../lib/operation.js").Operation<import("@googleapis/calendar").calendar_v3.Calendar, import("zod").ZodObject<{
10
+ calendarId: import("zod").ZodOptional<import("zod").ZodString>;
11
+ summaryOverride: import("zod").ZodOptional<import("zod").ZodString>;
12
+ colorId: import("zod").ZodOptional<import("zod").ZodString>;
13
+ backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
14
+ foregroundColor: import("zod").ZodOptional<import("zod").ZodString>;
15
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
16
+ selected: import("zod").ZodOptional<import("zod").ZodBoolean>;
17
+ defaultReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
18
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
19
+ email: "email";
20
+ popup: "popup";
21
+ }>>;
22
+ minutes: import("zod").ZodNumber;
23
+ }, import("zod/v4/core").$strip>>>;
24
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
25
+ id: import("zod").ZodString;
26
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
27
+ summaryOverride: import("zod").ZodOptional<import("zod").ZodString>;
28
+ description: import("zod").ZodOptional<import("zod").ZodString>;
29
+ location: import("zod").ZodOptional<import("zod").ZodString>;
30
+ timeZone: import("zod").ZodOptional<import("zod").ZodString>;
31
+ accessRole: import("zod").ZodOptional<import("zod").ZodString>;
32
+ colorId: import("zod").ZodOptional<import("zod").ZodString>;
33
+ backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
34
+ foregroundColor: import("zod").ZodOptional<import("zod").ZodString>;
35
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
36
+ selected: import("zod").ZodOptional<import("zod").ZodBoolean>;
37
+ primary: import("zod").ZodOptional<import("zod").ZodBoolean>;
38
+ defaultReminders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
39
+ method: import("zod").ZodOptional<import("zod").ZodEnum<{
40
+ email: "email";
41
+ popup: "popup";
42
+ }>>;
43
+ minutes: import("zod").ZodNumber;
44
+ }, import("zod/v4/core").$strip>>>;
45
+ }, import("zod/v4/core").$strip>>;
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar_entry/index.ts"],"names":[],"mappings":"AAIA;;;;;;;GAOG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAKhC,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/calendarList/patch
6
+ *
7
+ * Edits the user's view of a calendar, not the calendar itself (see
8
+ * update_calendar for that). Patch semantics: unset fields are left
9
+ * unchanged. The handler sends colorRgbFormat=true whenever a hex color
10
+ * field is written, as the API requires.
11
+ */
12
+ export const update_calendar_entry = calendarOperation({
13
+ description: "Update the user's view of a calendar (title override, colors, visibility, default reminders); unset fields are left unchanged.",
14
+ schema,
15
+ handler,
16
+ });
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_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;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACrD,WAAW,EACT,gIAAgI;IAClI,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/patch\n *\n * Edits the user's view of a calendar, not the calendar itself (see\n * update_calendar for that). Patch semantics: unset fields are left\n * unchanged. The handler sends colorRgbFormat=true whenever a hex color\n * field is written, as the API requires.\n */\nexport const update_calendar_entry = calendarOperation({\n description:\n \"Update the user's view of a calendar (title override, colors, visibility, default reminders); unset fields are left unchanged.\",\n schema,\n handler,\n});\n"]}
@@ -0,0 +1,43 @@
1
+ import { z } from 'zod';
2
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch */
3
+ export declare const schema: {
4
+ input: z.ZodObject<{
5
+ calendarId: z.ZodOptional<z.ZodString>;
6
+ summaryOverride: z.ZodOptional<z.ZodString>;
7
+ colorId: z.ZodOptional<z.ZodString>;
8
+ backgroundColor: z.ZodOptional<z.ZodString>;
9
+ foregroundColor: z.ZodOptional<z.ZodString>;
10
+ hidden: z.ZodOptional<z.ZodBoolean>;
11
+ selected: z.ZodOptional<z.ZodBoolean>;
12
+ defaultReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ method: z.ZodOptional<z.ZodEnum<{
14
+ email: "email";
15
+ popup: "popup";
16
+ }>>;
17
+ minutes: z.ZodNumber;
18
+ }, z.core.$strip>>>;
19
+ }, z.core.$strip>;
20
+ output: z.ZodObject<{
21
+ id: z.ZodString;
22
+ summary: z.ZodOptional<z.ZodString>;
23
+ summaryOverride: z.ZodOptional<z.ZodString>;
24
+ description: z.ZodOptional<z.ZodString>;
25
+ location: z.ZodOptional<z.ZodString>;
26
+ timeZone: z.ZodOptional<z.ZodString>;
27
+ accessRole: z.ZodOptional<z.ZodString>;
28
+ colorId: z.ZodOptional<z.ZodString>;
29
+ backgroundColor: z.ZodOptional<z.ZodString>;
30
+ foregroundColor: z.ZodOptional<z.ZodString>;
31
+ hidden: z.ZodOptional<z.ZodBoolean>;
32
+ selected: z.ZodOptional<z.ZodBoolean>;
33
+ primary: z.ZodOptional<z.ZodBoolean>;
34
+ defaultReminders: z.ZodOptional<z.ZodArray<z.ZodObject<{
35
+ method: z.ZodOptional<z.ZodEnum<{
36
+ email: "email";
37
+ popup: "popup";
38
+ }>>;
39
+ minutes: z.ZodNumber;
40
+ }, z.core.$strip>>>;
41
+ }, z.core.$strip>;
42
+ };
43
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,mGAAmG;AACnG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuClB,CAAC"}
@@ -0,0 +1,39 @@
1
+ import { z } from 'zod';
2
+ import { CalendarListEntry } from '../../entities/CalendarListEntry.js';
3
+ import { Reminder } from '../../entities/Reminder.js';
4
+ /** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch */
5
+ export const schema = {
6
+ input: z.object({
7
+ calendarId: z
8
+ .string()
9
+ .optional()
10
+ .describe("The calendar ID of the entry to update. The default is the user's primary calendar."),
11
+ summaryOverride: z
12
+ .string()
13
+ .optional()
14
+ .describe("The title the user sets for this calendar, overriding the calendar's own."),
15
+ colorId: z
16
+ .string()
17
+ .optional()
18
+ .describe('The color of the calendar: an ID referring to an entry in the calendar section of the colors definition. Superseded by backgroundColor and foregroundColor.'),
19
+ backgroundColor: z
20
+ .string()
21
+ .optional()
22
+ .describe('The main color of the calendar in the hexadecimal format "#0088aa".'),
23
+ foregroundColor: z
24
+ .string()
25
+ .optional()
26
+ .describe('The foreground color of the calendar in the hexadecimal format "#ffffff".'),
27
+ hidden: z.boolean().optional().describe('Whether to hide the calendar from the list.'),
28
+ selected: z
29
+ .boolean()
30
+ .optional()
31
+ .describe('Whether the calendar content shows up in the calendar UI.'),
32
+ defaultReminders: z
33
+ .array(Reminder)
34
+ .optional()
35
+ .describe('The default reminders the user has for this calendar; if set, they replace all existing default reminders.'),
36
+ }),
37
+ output: CalendarListEntry,
38
+ };
39
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/calendar/methods/update_calendar_entry/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,mGAAmG;AACnG,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,qFAAqF,CACtF;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,2EAA2E,CAAC;QACxF,OAAO,EAAE,CAAC;aACP,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CACP,6JAA6J,CAC9J;QACH,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,qEAAqE,CAAC;QAClF,eAAe,EAAE,CAAC;aACf,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,2EAA2E,CAAC;QACxF,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;QACtF,QAAQ,EAAE,CAAC;aACR,OAAO,EAAE;aACT,QAAQ,EAAE;aACV,QAAQ,CAAC,2DAA2D,CAAC;QACxE,gBAAgB,EAAE,CAAC;aAChB,KAAK,CAAC,QAAQ,CAAC;aACf,QAAQ,EAAE;aACV,QAAQ,CACP,4GAA4G,CAC7G;KACJ,CAAC;IACF,MAAM,EAAE,iBAAiB;CAC1B,CAAC","sourcesContent":["import { z } from 'zod';\nimport { CalendarListEntry } from '../../entities/CalendarListEntry.js';\nimport { Reminder } from '../../entities/Reminder.js';\n\n/** Source: https://developers.google.com/workspace/calendar/api/v3/reference/calendarList/patch */\nexport const schema = {\n input: z.object({\n calendarId: z\n .string()\n .optional()\n .describe(\n \"The calendar ID of the entry to update. The default is the user's primary calendar.\",\n ),\n summaryOverride: z\n .string()\n .optional()\n .describe(\"The title the user sets for this calendar, overriding the calendar's own.\"),\n colorId: z\n .string()\n .optional()\n .describe(\n 'The color of the calendar: an ID referring to an entry in the calendar section of the colors definition. Superseded by backgroundColor and foregroundColor.',\n ),\n backgroundColor: z\n .string()\n .optional()\n .describe('The main color of the calendar in the hexadecimal format \"#0088aa\".'),\n foregroundColor: z\n .string()\n .optional()\n .describe('The foreground color of the calendar in the hexadecimal format \"#ffffff\".'),\n hidden: z.boolean().optional().describe('Whether to hide the calendar from the list.'),\n selected: z\n .boolean()\n .optional()\n .describe('Whether the calendar content shows up in the calendar UI.'),\n defaultReminders: z\n .array(Reminder)\n .optional()\n .describe(\n 'The default reminders the user has for this calendar; if set, they replace all existing default reminders.',\n ),\n }),\n output: CalendarListEntry,\n};\n"]}
@@ -0,0 +1,12 @@
1
+ import type { calendar_v3 } from '@googleapis/calendar';
2
+ import type { z } from 'zod';
3
+ import { type Operation } from '../lib/operation.js';
4
+ /**
5
+ * `operation()` bound to the Calendar client. Every calendar op's `index.ts` uses
6
+ * this instead of the raw `operation()` so the handler's client is always
7
+ * `calendar_v3.Calendar`: a handler that drops or mistypes its client annotation
8
+ * fails here (the client can no longer silently infer `unknown` and slip into the
9
+ * registry) rather than surfacing as a confusing `unknown` deep in the body.
10
+ */
11
+ export declare const calendarOperation: <In extends z.ZodObject, Out extends z.ZodObject>(def: Operation<calendar_v3.Calendar, In, Out>) => Operation<calendar_v3.Calendar, In, Out>;
12
+ //# sourceMappingURL=operation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.d.ts","sourceRoot":"","sources":["../../src/calendar/operation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAC7B,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,qBAAqB,CAAC;AAEhE;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,EAAE,SAAS,CAAC,CAAC,SAAS,EAAE,GAAG,SAAS,CAAC,CAAC,SAAS,EAC/E,KAAK,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,CAAC,KAC5C,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,EAAE,EAAE,GAAG,CAAmB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { operation } from '../lib/operation.js';
2
+ /**
3
+ * `operation()` bound to the Calendar client. Every calendar op's `index.ts` uses
4
+ * this instead of the raw `operation()` so the handler's client is always
5
+ * `calendar_v3.Calendar`: a handler that drops or mistypes its client annotation
6
+ * fails here (the client can no longer silently infer `unknown` and slip into the
7
+ * registry) rather than surfacing as a confusing `unknown` deep in the body.
8
+ */
9
+ export const calendarOperation = (def) => operation(def);
10
+ //# sourceMappingURL=operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation.js","sourceRoot":"","sources":["../../src/calendar/operation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,GAA6C,EACH,EAAE,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC","sourcesContent":["import type { calendar_v3 } from '@googleapis/calendar';\nimport type { z } from 'zod';\nimport { type Operation, operation } from '../lib/operation.js';\n\n/**\n * `operation()` bound to the Calendar client. Every calendar op's `index.ts` uses\n * this instead of the raw `operation()` so the handler's client is always\n * `calendar_v3.Calendar`: a handler that drops or mistypes its client annotation\n * fails here (the client can no longer silently infer `unknown` and slip into the\n * registry) rather than surfacing as a confusing `unknown` deep in the body.\n */\nexport const calendarOperation = <In extends z.ZodObject, Out extends z.ZodObject>(\n def: Operation<calendar_v3.Calendar, In, Out>,\n): Operation<calendar_v3.Calendar, In, Out> => operation(def);\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/create_event/handler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAM7B,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,CAoCxC"}
@@ -0,0 +1,41 @@
1
+ import { forGoogle } from '../../../lib/google.js';
2
+ import { buildEventDateTime } from '../../lib/datetime.js';
3
+ import { projectEvent } from '../../lib/event.js';
4
+ import { meetConferenceData } from '../../lib/meet.js';
5
+ import { toSendUpdates } from '../../lib/notifications.js';
6
+ export async function handler(calendar, args) {
7
+ const conferenceData = meetConferenceData(args);
8
+ const { data } = await calendar.events.insert(forGoogle({
9
+ calendarId: args.calendarId ?? 'primary',
10
+ sendUpdates: toSendUpdates(args.notificationLevel),
11
+ conferenceDataVersion: conferenceData === undefined ? undefined : 1,
12
+ requestBody: forGoogle({
13
+ summary: args.summary,
14
+ description: args.description,
15
+ location: args.location,
16
+ start: buildEventDateTime({
17
+ dateTime: args.startTime,
18
+ timeZone: args.timeZone,
19
+ allDay: args.allDay,
20
+ }),
21
+ end: buildEventDateTime({
22
+ dateTime: args.endTime,
23
+ timeZone: args.timeZone,
24
+ allDay: args.allDay,
25
+ }),
26
+ attendees: args.attendeeEmails?.map((email) => ({ email })),
27
+ recurrence: args.recurrenceData,
28
+ reminders: args.overrideReminders
29
+ ? {
30
+ useDefault: false,
31
+ overrides: args.overrideReminders.map((reminder) => forGoogle(reminder)),
32
+ }
33
+ : undefined,
34
+ conferenceData,
35
+ visibility: args.visibility,
36
+ colorId: args.colorId,
37
+ }),
38
+ }));
39
+ return projectEvent(data);
40
+ }
41
+ //# sourceMappingURL=handler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handler.js","sourceRoot":"","sources":["../../../../src/calendar/tools/create_event/handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,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,MAAM,CAAC,KAAK,UAAU,OAAO,CAC3B,QAA8B,EAC9B,IAAkC;IAElC,MAAM,cAAc,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAChD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,QAAQ,CAAC,MAAM,CAAC,MAAM,CAC3C,SAAS,CAAC;QACR,UAAU,EAAE,IAAI,CAAC,UAAU,IAAI,SAAS;QACxC,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,EAAE,kBAAkB,CAAC;gBACxB,QAAQ,EAAE,IAAI,CAAC,SAAS;gBACxB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,MAAM,EAAE,IAAI,CAAC,MAAM;aACpB,CAAC;YACF,GAAG,EAAE,kBAAkB,CAAC;gBACtB,QAAQ,EAAE,IAAI,CAAC,OAAO;gBACtB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,MAAM,EAAE,IAAI,CAAC,MAAM;aACpB,CAAC;YACF,SAAS,EAAE,IAAI,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;YAC3D,UAAU,EAAE,IAAI,CAAC,cAAc;YAC/B,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 { 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\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 conferenceData = meetConferenceData(args);\n const { data } = await calendar.events.insert(\n forGoogle({\n calendarId: args.calendarId ?? 'primary',\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: buildEventDateTime({\n dateTime: args.startTime,\n timeZone: args.timeZone,\n allDay: args.allDay,\n }),\n end: buildEventDateTime({\n dateTime: args.endTime,\n timeZone: args.timeZone,\n allDay: args.allDay,\n }),\n attendees: args.attendeeEmails?.map((email) => ({ email })),\n recurrence: args.recurrenceData,\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"]}