@unified-api/typescript-sdk 2.18.0 → 2.22.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 (436) hide show
  1. package/README.md +36 -0
  2. package/docs/sdks/busy/README.md +88 -0
  3. package/docs/sdks/calendar/README.md +1800 -0
  4. package/docs/sdks/event/README.md +524 -0
  5. package/docs/sdks/link/README.md +512 -0
  6. package/docs/sdks/recording/README.md +171 -0
  7. package/funcs/busyListCalendarBusies.d.ts +14 -0
  8. package/funcs/busyListCalendarBusies.d.ts.map +1 -0
  9. package/funcs/busyListCalendarBusies.js +118 -0
  10. package/funcs/busyListCalendarBusies.js.map +1 -0
  11. package/funcs/calendarCreateCalendarCalendar.d.ts +14 -0
  12. package/funcs/calendarCreateCalendarCalendar.d.ts.map +1 -0
  13. package/funcs/calendarCreateCalendarCalendar.js +109 -0
  14. package/funcs/calendarCreateCalendarCalendar.js.map +1 -0
  15. package/funcs/calendarCreateCalendarEvent.d.ts +14 -0
  16. package/funcs/calendarCreateCalendarEvent.d.ts.map +1 -0
  17. package/funcs/calendarCreateCalendarEvent.js +109 -0
  18. package/funcs/calendarCreateCalendarEvent.js.map +1 -0
  19. package/funcs/calendarCreateCalendarLink.d.ts +14 -0
  20. package/funcs/calendarCreateCalendarLink.d.ts.map +1 -0
  21. package/funcs/calendarCreateCalendarLink.js +109 -0
  22. package/funcs/calendarCreateCalendarLink.js.map +1 -0
  23. package/funcs/calendarGetCalendarCalendar.d.ts +14 -0
  24. package/funcs/calendarGetCalendarCalendar.d.ts.map +1 -0
  25. package/funcs/calendarGetCalendarCalendar.js +112 -0
  26. package/funcs/calendarGetCalendarCalendar.js.map +1 -0
  27. package/funcs/calendarGetCalendarEvent.d.ts +14 -0
  28. package/funcs/calendarGetCalendarEvent.d.ts.map +1 -0
  29. package/funcs/calendarGetCalendarEvent.js +112 -0
  30. package/funcs/calendarGetCalendarEvent.js.map +1 -0
  31. package/funcs/calendarGetCalendarLink.d.ts +14 -0
  32. package/funcs/calendarGetCalendarLink.d.ts.map +1 -0
  33. package/funcs/calendarGetCalendarLink.js +112 -0
  34. package/funcs/calendarGetCalendarLink.js.map +1 -0
  35. package/funcs/calendarGetCalendarRecording.d.ts +14 -0
  36. package/funcs/calendarGetCalendarRecording.d.ts.map +1 -0
  37. package/funcs/calendarGetCalendarRecording.js +112 -0
  38. package/funcs/calendarGetCalendarRecording.js.map +1 -0
  39. package/funcs/calendarListCalendarBusies.d.ts +14 -0
  40. package/funcs/calendarListCalendarBusies.d.ts.map +1 -0
  41. package/funcs/calendarListCalendarBusies.js +118 -0
  42. package/funcs/calendarListCalendarBusies.js.map +1 -0
  43. package/funcs/calendarListCalendarCalendars.d.ts +14 -0
  44. package/funcs/calendarListCalendarCalendars.d.ts.map +1 -0
  45. package/funcs/calendarListCalendarCalendars.js +115 -0
  46. package/funcs/calendarListCalendarCalendars.js.map +1 -0
  47. package/funcs/calendarListCalendarEvents.d.ts +14 -0
  48. package/funcs/calendarListCalendarEvents.d.ts.map +1 -0
  49. package/funcs/calendarListCalendarEvents.js +118 -0
  50. package/funcs/calendarListCalendarEvents.js.map +1 -0
  51. package/funcs/calendarListCalendarLinks.d.ts +14 -0
  52. package/funcs/calendarListCalendarLinks.d.ts.map +1 -0
  53. package/funcs/calendarListCalendarLinks.js +115 -0
  54. package/funcs/calendarListCalendarLinks.js.map +1 -0
  55. package/funcs/calendarListCalendarRecordings.d.ts +14 -0
  56. package/funcs/calendarListCalendarRecordings.d.ts.map +1 -0
  57. package/funcs/calendarListCalendarRecordings.js +118 -0
  58. package/funcs/calendarListCalendarRecordings.js.map +1 -0
  59. package/funcs/calendarPatchCalendarCalendar.d.ts +14 -0
  60. package/funcs/calendarPatchCalendarCalendar.d.ts.map +1 -0
  61. package/funcs/calendarPatchCalendarCalendar.js +113 -0
  62. package/funcs/calendarPatchCalendarCalendar.js.map +1 -0
  63. package/funcs/calendarPatchCalendarEvent.d.ts +14 -0
  64. package/funcs/calendarPatchCalendarEvent.d.ts.map +1 -0
  65. package/funcs/calendarPatchCalendarEvent.js +113 -0
  66. package/funcs/calendarPatchCalendarEvent.js.map +1 -0
  67. package/funcs/calendarPatchCalendarLink.d.ts +14 -0
  68. package/funcs/calendarPatchCalendarLink.d.ts.map +1 -0
  69. package/funcs/calendarPatchCalendarLink.js +113 -0
  70. package/funcs/calendarPatchCalendarLink.js.map +1 -0
  71. package/funcs/calendarRemoveCalendarCalendar.d.ts +13 -0
  72. package/funcs/calendarRemoveCalendarCalendar.d.ts.map +1 -0
  73. package/funcs/calendarRemoveCalendarCalendar.js +110 -0
  74. package/funcs/calendarRemoveCalendarCalendar.js.map +1 -0
  75. package/funcs/calendarRemoveCalendarEvent.d.ts +13 -0
  76. package/funcs/calendarRemoveCalendarEvent.d.ts.map +1 -0
  77. package/funcs/calendarRemoveCalendarEvent.js +110 -0
  78. package/funcs/calendarRemoveCalendarEvent.js.map +1 -0
  79. package/funcs/calendarRemoveCalendarLink.d.ts +13 -0
  80. package/funcs/calendarRemoveCalendarLink.d.ts.map +1 -0
  81. package/funcs/calendarRemoveCalendarLink.js +110 -0
  82. package/funcs/calendarRemoveCalendarLink.js.map +1 -0
  83. package/funcs/calendarUpdateCalendarCalendar.d.ts +14 -0
  84. package/funcs/calendarUpdateCalendarCalendar.d.ts.map +1 -0
  85. package/funcs/calendarUpdateCalendarCalendar.js +113 -0
  86. package/funcs/calendarUpdateCalendarCalendar.js.map +1 -0
  87. package/funcs/calendarUpdateCalendarEvent.d.ts +14 -0
  88. package/funcs/calendarUpdateCalendarEvent.d.ts.map +1 -0
  89. package/funcs/calendarUpdateCalendarEvent.js +113 -0
  90. package/funcs/calendarUpdateCalendarEvent.js.map +1 -0
  91. package/funcs/calendarUpdateCalendarLink.d.ts +14 -0
  92. package/funcs/calendarUpdateCalendarLink.d.ts.map +1 -0
  93. package/funcs/calendarUpdateCalendarLink.js +113 -0
  94. package/funcs/calendarUpdateCalendarLink.js.map +1 -0
  95. package/funcs/eventCreateCalendarEvent.d.ts +14 -0
  96. package/funcs/eventCreateCalendarEvent.d.ts.map +1 -0
  97. package/funcs/eventCreateCalendarEvent.js +109 -0
  98. package/funcs/eventCreateCalendarEvent.js.map +1 -0
  99. package/funcs/eventGetCalendarEvent.d.ts +14 -0
  100. package/funcs/eventGetCalendarEvent.d.ts.map +1 -0
  101. package/funcs/eventGetCalendarEvent.js +112 -0
  102. package/funcs/eventGetCalendarEvent.js.map +1 -0
  103. package/funcs/eventListCalendarEvents.d.ts +14 -0
  104. package/funcs/eventListCalendarEvents.d.ts.map +1 -0
  105. package/funcs/eventListCalendarEvents.js +118 -0
  106. package/funcs/eventListCalendarEvents.js.map +1 -0
  107. package/funcs/eventPatchCalendarEvent.d.ts +14 -0
  108. package/funcs/eventPatchCalendarEvent.d.ts.map +1 -0
  109. package/funcs/eventPatchCalendarEvent.js +113 -0
  110. package/funcs/eventPatchCalendarEvent.js.map +1 -0
  111. package/funcs/eventRemoveCalendarEvent.d.ts +13 -0
  112. package/funcs/eventRemoveCalendarEvent.d.ts.map +1 -0
  113. package/funcs/eventRemoveCalendarEvent.js +110 -0
  114. package/funcs/eventRemoveCalendarEvent.js.map +1 -0
  115. package/funcs/eventUpdateCalendarEvent.d.ts +14 -0
  116. package/funcs/eventUpdateCalendarEvent.d.ts.map +1 -0
  117. package/funcs/eventUpdateCalendarEvent.js +113 -0
  118. package/funcs/eventUpdateCalendarEvent.js.map +1 -0
  119. package/funcs/linkCreateCalendarLink.d.ts +14 -0
  120. package/funcs/linkCreateCalendarLink.d.ts.map +1 -0
  121. package/funcs/linkCreateCalendarLink.js +109 -0
  122. package/funcs/linkCreateCalendarLink.js.map +1 -0
  123. package/funcs/linkGetCalendarLink.d.ts +14 -0
  124. package/funcs/linkGetCalendarLink.d.ts.map +1 -0
  125. package/funcs/linkGetCalendarLink.js +112 -0
  126. package/funcs/linkGetCalendarLink.js.map +1 -0
  127. package/funcs/linkListCalendarLinks.d.ts +14 -0
  128. package/funcs/linkListCalendarLinks.d.ts.map +1 -0
  129. package/funcs/linkListCalendarLinks.js +115 -0
  130. package/funcs/linkListCalendarLinks.js.map +1 -0
  131. package/funcs/linkPatchCalendarLink.d.ts +14 -0
  132. package/funcs/linkPatchCalendarLink.d.ts.map +1 -0
  133. package/funcs/linkPatchCalendarLink.js +113 -0
  134. package/funcs/linkPatchCalendarLink.js.map +1 -0
  135. package/funcs/linkRemoveCalendarLink.d.ts +13 -0
  136. package/funcs/linkRemoveCalendarLink.d.ts.map +1 -0
  137. package/funcs/linkRemoveCalendarLink.js +110 -0
  138. package/funcs/linkRemoveCalendarLink.js.map +1 -0
  139. package/funcs/linkUpdateCalendarLink.d.ts +14 -0
  140. package/funcs/linkUpdateCalendarLink.d.ts.map +1 -0
  141. package/funcs/linkUpdateCalendarLink.js +113 -0
  142. package/funcs/linkUpdateCalendarLink.js.map +1 -0
  143. package/funcs/recordingGetCalendarRecording.d.ts +14 -0
  144. package/funcs/recordingGetCalendarRecording.d.ts.map +1 -0
  145. package/funcs/recordingGetCalendarRecording.js +112 -0
  146. package/funcs/recordingGetCalendarRecording.js.map +1 -0
  147. package/funcs/recordingListCalendarRecordings.d.ts +14 -0
  148. package/funcs/recordingListCalendarRecordings.d.ts.map +1 -0
  149. package/funcs/recordingListCalendarRecordings.js +118 -0
  150. package/funcs/recordingListCalendarRecordings.js.map +1 -0
  151. package/jsr.json +1 -1
  152. package/lib/config.d.ts +2 -2
  153. package/lib/config.js +2 -2
  154. package/package.json +1 -1
  155. package/sdk/busy.d.ts +10 -0
  156. package/sdk/busy.d.ts.map +1 -0
  157. package/sdk/busy.js +19 -0
  158. package/sdk/busy.js.map +1 -0
  159. package/sdk/calendar.d.ts +90 -0
  160. package/sdk/calendar.d.ts.map +1 -0
  161. package/sdk/calendar.js +159 -0
  162. package/sdk/calendar.js.map +1 -0
  163. package/sdk/event.d.ts +24 -0
  164. package/sdk/event.d.ts.map +1 -1
  165. package/sdk/event.js +42 -0
  166. package/sdk/event.js.map +1 -1
  167. package/sdk/link.d.ts +24 -0
  168. package/sdk/link.d.ts.map +1 -1
  169. package/sdk/link.js +42 -0
  170. package/sdk/link.js.map +1 -1
  171. package/sdk/models/operations/createcalendarcalendar.d.ts +40 -0
  172. package/sdk/models/operations/createcalendarcalendar.d.ts.map +1 -0
  173. package/sdk/models/operations/createcalendarcalendar.js +75 -0
  174. package/sdk/models/operations/createcalendarcalendar.js.map +1 -0
  175. package/sdk/models/operations/createcalendarevent.d.ts +40 -0
  176. package/sdk/models/operations/createcalendarevent.d.ts.map +1 -0
  177. package/sdk/models/operations/createcalendarevent.js +75 -0
  178. package/sdk/models/operations/createcalendarevent.js.map +1 -0
  179. package/sdk/models/operations/createcalendarlink.d.ts +40 -0
  180. package/sdk/models/operations/createcalendarlink.d.ts.map +1 -0
  181. package/sdk/models/operations/createcalendarlink.js +75 -0
  182. package/sdk/models/operations/createcalendarlink.js.map +1 -0
  183. package/sdk/models/operations/getcalendarcalendar.d.ts +42 -0
  184. package/sdk/models/operations/getcalendarcalendar.d.ts.map +1 -0
  185. package/sdk/models/operations/getcalendarcalendar.js +72 -0
  186. package/sdk/models/operations/getcalendarcalendar.js.map +1 -0
  187. package/sdk/models/operations/getcalendarevent.d.ts +42 -0
  188. package/sdk/models/operations/getcalendarevent.d.ts.map +1 -0
  189. package/sdk/models/operations/getcalendarevent.js +72 -0
  190. package/sdk/models/operations/getcalendarevent.js.map +1 -0
  191. package/sdk/models/operations/getcalendarlink.d.ts +42 -0
  192. package/sdk/models/operations/getcalendarlink.d.ts.map +1 -0
  193. package/sdk/models/operations/getcalendarlink.js +72 -0
  194. package/sdk/models/operations/getcalendarlink.js.map +1 -0
  195. package/sdk/models/operations/getcalendarrecording.d.ts +42 -0
  196. package/sdk/models/operations/getcalendarrecording.d.ts.map +1 -0
  197. package/sdk/models/operations/getcalendarrecording.js +72 -0
  198. package/sdk/models/operations/getcalendarrecording.js.map +1 -0
  199. package/sdk/models/operations/getunifiedintegrationauth.d.ts +30 -0
  200. package/sdk/models/operations/getunifiedintegrationauth.d.ts.map +1 -1
  201. package/sdk/models/operations/getunifiedintegrationauth.js +10 -0
  202. package/sdk/models/operations/getunifiedintegrationauth.js.map +1 -1
  203. package/sdk/models/operations/index.d.ts +21 -0
  204. package/sdk/models/operations/index.d.ts.map +1 -1
  205. package/sdk/models/operations/index.js +21 -0
  206. package/sdk/models/operations/index.js.map +1 -1
  207. package/sdk/models/operations/listcalendarbusies.d.ts +61 -0
  208. package/sdk/models/operations/listcalendarbusies.d.ts.map +1 -0
  209. package/sdk/models/operations/listcalendarbusies.js +97 -0
  210. package/sdk/models/operations/listcalendarbusies.js.map +1 -0
  211. package/sdk/models/operations/listcalendarcalendars.d.ts +55 -0
  212. package/sdk/models/operations/listcalendarcalendars.d.ts.map +1 -0
  213. package/sdk/models/operations/listcalendarcalendars.js +85 -0
  214. package/sdk/models/operations/listcalendarcalendars.js.map +1 -0
  215. package/sdk/models/operations/listcalendarevents.d.ts +61 -0
  216. package/sdk/models/operations/listcalendarevents.d.ts.map +1 -0
  217. package/sdk/models/operations/listcalendarevents.js +97 -0
  218. package/sdk/models/operations/listcalendarevents.js.map +1 -0
  219. package/sdk/models/operations/listcalendarlinks.d.ts +55 -0
  220. package/sdk/models/operations/listcalendarlinks.d.ts.map +1 -0
  221. package/sdk/models/operations/listcalendarlinks.js +85 -0
  222. package/sdk/models/operations/listcalendarlinks.js.map +1 -0
  223. package/sdk/models/operations/listcalendarrecordings.d.ts +61 -0
  224. package/sdk/models/operations/listcalendarrecordings.d.ts.map +1 -0
  225. package/sdk/models/operations/listcalendarrecordings.js +97 -0
  226. package/sdk/models/operations/listcalendarrecordings.js.map +1 -0
  227. package/sdk/models/operations/listunifiedconnections.d.ts +3 -0
  228. package/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
  229. package/sdk/models/operations/listunifiedconnections.js +1 -0
  230. package/sdk/models/operations/listunifiedconnections.js.map +1 -1
  231. package/sdk/models/operations/listunifiedintegrations.d.ts +3 -0
  232. package/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
  233. package/sdk/models/operations/listunifiedintegrations.js +1 -0
  234. package/sdk/models/operations/listunifiedintegrations.js.map +1 -1
  235. package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -0
  236. package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
  237. package/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
  238. package/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
  239. package/sdk/models/operations/patchcalendarcalendar.d.ts +45 -0
  240. package/sdk/models/operations/patchcalendarcalendar.d.ts.map +1 -0
  241. package/sdk/models/operations/patchcalendarcalendar.js +77 -0
  242. package/sdk/models/operations/patchcalendarcalendar.js.map +1 -0
  243. package/sdk/models/operations/patchcalendarevent.d.ts +45 -0
  244. package/sdk/models/operations/patchcalendarevent.d.ts.map +1 -0
  245. package/sdk/models/operations/patchcalendarevent.js +77 -0
  246. package/sdk/models/operations/patchcalendarevent.js.map +1 -0
  247. package/sdk/models/operations/patchcalendarlink.d.ts +45 -0
  248. package/sdk/models/operations/patchcalendarlink.d.ts.map +1 -0
  249. package/sdk/models/operations/patchcalendarlink.js +77 -0
  250. package/sdk/models/operations/patchcalendarlink.js.map +1 -0
  251. package/sdk/models/operations/removecalendarcalendar.d.ts +66 -0
  252. package/sdk/models/operations/removecalendarcalendar.d.ts.map +1 -0
  253. package/sdk/models/operations/removecalendarcalendar.js +105 -0
  254. package/sdk/models/operations/removecalendarcalendar.js.map +1 -0
  255. package/sdk/models/operations/removecalendarevent.d.ts +66 -0
  256. package/sdk/models/operations/removecalendarevent.d.ts.map +1 -0
  257. package/sdk/models/operations/removecalendarevent.js +105 -0
  258. package/sdk/models/operations/removecalendarevent.js.map +1 -0
  259. package/sdk/models/operations/removecalendarlink.d.ts +66 -0
  260. package/sdk/models/operations/removecalendarlink.d.ts.map +1 -0
  261. package/sdk/models/operations/removecalendarlink.js +105 -0
  262. package/sdk/models/operations/removecalendarlink.js.map +1 -0
  263. package/sdk/models/operations/updatecalendarcalendar.d.ts +45 -0
  264. package/sdk/models/operations/updatecalendarcalendar.d.ts.map +1 -0
  265. package/sdk/models/operations/updatecalendarcalendar.js +77 -0
  266. package/sdk/models/operations/updatecalendarcalendar.js.map +1 -0
  267. package/sdk/models/operations/updatecalendarevent.d.ts +45 -0
  268. package/sdk/models/operations/updatecalendarevent.d.ts.map +1 -0
  269. package/sdk/models/operations/updatecalendarevent.js +77 -0
  270. package/sdk/models/operations/updatecalendarevent.js.map +1 -0
  271. package/sdk/models/operations/updatecalendarlink.d.ts +45 -0
  272. package/sdk/models/operations/updatecalendarlink.d.ts.map +1 -0
  273. package/sdk/models/operations/updatecalendarlink.js +77 -0
  274. package/sdk/models/operations/updatecalendarlink.js.map +1 -0
  275. package/sdk/models/shared/calendarattendee.d.ts +66 -0
  276. package/sdk/models/shared/calendarattendee.d.ts.map +1 -0
  277. package/sdk/models/shared/calendarattendee.js +96 -0
  278. package/sdk/models/shared/calendarattendee.js.map +1 -0
  279. package/sdk/models/shared/calendarbusy.d.ts +60 -0
  280. package/sdk/models/shared/calendarbusy.d.ts.map +1 -0
  281. package/sdk/models/shared/calendarbusy.js +103 -0
  282. package/sdk/models/shared/calendarbusy.js.map +1 -0
  283. package/sdk/models/shared/calendarcalendar.d.ts +64 -0
  284. package/sdk/models/shared/calendarcalendar.d.ts.map +1 -0
  285. package/sdk/models/shared/calendarcalendar.js +109 -0
  286. package/sdk/models/shared/calendarcalendar.js.map +1 -0
  287. package/sdk/models/shared/calendarevent.d.ts +115 -0
  288. package/sdk/models/shared/calendarevent.d.ts.map +1 -0
  289. package/sdk/models/shared/calendarevent.js +163 -0
  290. package/sdk/models/shared/calendarevent.js.map +1 -0
  291. package/sdk/models/shared/calendarlink.d.ts +70 -0
  292. package/sdk/models/shared/calendarlink.d.ts.map +1 -0
  293. package/sdk/models/shared/calendarlink.js +119 -0
  294. package/sdk/models/shared/calendarlink.js.map +1 -0
  295. package/sdk/models/shared/calendarrecording.d.ts +69 -0
  296. package/sdk/models/shared/calendarrecording.d.ts.map +1 -0
  297. package/sdk/models/shared/calendarrecording.js +127 -0
  298. package/sdk/models/shared/calendarrecording.js.map +1 -0
  299. package/sdk/models/shared/calendarrecordingmedia.d.ts +43 -0
  300. package/sdk/models/shared/calendarrecordingmedia.d.ts.map +1 -0
  301. package/sdk/models/shared/calendarrecordingmedia.js +90 -0
  302. package/sdk/models/shared/calendarrecordingmedia.js.map +1 -0
  303. package/sdk/models/shared/calendarrecordingtranscript.d.ts +38 -0
  304. package/sdk/models/shared/calendarrecordingtranscript.d.ts.map +1 -0
  305. package/sdk/models/shared/calendarrecordingtranscript.js +83 -0
  306. package/sdk/models/shared/calendarrecordingtranscript.js.map +1 -0
  307. package/sdk/models/shared/index.d.ts +10 -0
  308. package/sdk/models/shared/index.d.ts.map +1 -1
  309. package/sdk/models/shared/index.js +10 -0
  310. package/sdk/models/shared/index.js.map +1 -1
  311. package/sdk/models/shared/integrationsupport.d.ts +60 -0
  312. package/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  313. package/sdk/models/shared/integrationsupport.js +55 -6
  314. package/sdk/models/shared/integrationsupport.js.map +1 -1
  315. package/sdk/models/shared/propertycalendareventorganizer.d.ts +66 -0
  316. package/sdk/models/shared/propertycalendareventorganizer.d.ts.map +1 -0
  317. package/sdk/models/shared/propertycalendareventorganizer.js +96 -0
  318. package/sdk/models/shared/propertycalendareventorganizer.js.map +1 -0
  319. package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts +66 -0
  320. package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts.map +1 -0
  321. package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js +99 -0
  322. package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js.map +1 -0
  323. package/sdk/models/shared/propertyconnectionauth.d.ts +2 -0
  324. package/sdk/models/shared/propertyconnectionauth.d.ts.map +1 -1
  325. package/sdk/models/shared/propertyconnectionauth.js +4 -0
  326. package/sdk/models/shared/propertyconnectionauth.js.map +1 -1
  327. package/sdk/models/shared/propertyconnectioncategories.d.ts +3 -0
  328. package/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
  329. package/sdk/models/shared/propertyconnectioncategories.js +1 -0
  330. package/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
  331. package/sdk/models/shared/propertyconnectionpermissions.d.ts +30 -0
  332. package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  333. package/sdk/models/shared/propertyconnectionpermissions.js +10 -0
  334. package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  335. package/sdk/models/shared/propertyintegrationcategories.d.ts +3 -0
  336. package/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
  337. package/sdk/models/shared/propertyintegrationcategories.js +1 -0
  338. package/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
  339. package/sdk/models/shared/webhook.d.ts +15 -0
  340. package/sdk/models/shared/webhook.d.ts.map +1 -1
  341. package/sdk/models/shared/webhook.js +5 -0
  342. package/sdk/models/shared/webhook.js.map +1 -1
  343. package/sdk/recording.d.ts +14 -0
  344. package/sdk/recording.d.ts.map +1 -0
  345. package/sdk/recording.js +26 -0
  346. package/sdk/recording.js.map +1 -0
  347. package/sdk/sdk.d.ts +13 -4
  348. package/sdk/sdk.d.ts.map +1 -1
  349. package/sdk/sdk.js +18 -6
  350. package/sdk/sdk.js.map +1 -1
  351. package/src/funcs/busyListCalendarBusies.ts +172 -0
  352. package/src/funcs/calendarCreateCalendarCalendar.ts +164 -0
  353. package/src/funcs/calendarCreateCalendarEvent.ts +164 -0
  354. package/src/funcs/calendarCreateCalendarLink.ts +163 -0
  355. package/src/funcs/calendarGetCalendarCalendar.ts +169 -0
  356. package/src/funcs/calendarGetCalendarEvent.ts +166 -0
  357. package/src/funcs/calendarGetCalendarLink.ts +166 -0
  358. package/src/funcs/calendarGetCalendarRecording.ts +169 -0
  359. package/src/funcs/calendarListCalendarBusies.ts +172 -0
  360. package/src/funcs/calendarListCalendarCalendars.ts +170 -0
  361. package/src/funcs/calendarListCalendarEvents.ts +172 -0
  362. package/src/funcs/calendarListCalendarLinks.ts +169 -0
  363. package/src/funcs/calendarListCalendarRecordings.ts +173 -0
  364. package/src/funcs/calendarPatchCalendarCalendar.ts +170 -0
  365. package/src/funcs/calendarPatchCalendarEvent.ts +167 -0
  366. package/src/funcs/calendarPatchCalendarLink.ts +167 -0
  367. package/src/funcs/calendarRemoveCalendarCalendar.ts +175 -0
  368. package/src/funcs/calendarRemoveCalendarEvent.ts +170 -0
  369. package/src/funcs/calendarRemoveCalendarLink.ts +169 -0
  370. package/src/funcs/calendarUpdateCalendarCalendar.ts +170 -0
  371. package/src/funcs/calendarUpdateCalendarEvent.ts +168 -0
  372. package/src/funcs/calendarUpdateCalendarLink.ts +167 -0
  373. package/src/funcs/eventCreateCalendarEvent.ts +164 -0
  374. package/src/funcs/eventGetCalendarEvent.ts +166 -0
  375. package/src/funcs/eventListCalendarEvents.ts +172 -0
  376. package/src/funcs/eventPatchCalendarEvent.ts +167 -0
  377. package/src/funcs/eventRemoveCalendarEvent.ts +170 -0
  378. package/src/funcs/eventUpdateCalendarEvent.ts +168 -0
  379. package/src/funcs/linkCreateCalendarLink.ts +163 -0
  380. package/src/funcs/linkGetCalendarLink.ts +166 -0
  381. package/src/funcs/linkListCalendarLinks.ts +169 -0
  382. package/src/funcs/linkPatchCalendarLink.ts +167 -0
  383. package/src/funcs/linkRemoveCalendarLink.ts +169 -0
  384. package/src/funcs/linkUpdateCalendarLink.ts +167 -0
  385. package/src/funcs/recordingGetCalendarRecording.ts +169 -0
  386. package/src/funcs/recordingListCalendarRecordings.ts +173 -0
  387. package/src/lib/config.ts +2 -2
  388. package/src/sdk/busy.ts +25 -0
  389. package/src/sdk/calendar.ts +325 -0
  390. package/src/sdk/event.ts +90 -0
  391. package/src/sdk/link.ts +90 -0
  392. package/src/sdk/models/operations/createcalendarcalendar.ts +94 -0
  393. package/src/sdk/models/operations/createcalendarevent.ts +92 -0
  394. package/src/sdk/models/operations/createcalendarlink.ts +92 -0
  395. package/src/sdk/models/operations/getcalendarcalendar.ts +92 -0
  396. package/src/sdk/models/operations/getcalendarevent.ts +92 -0
  397. package/src/sdk/models/operations/getcalendarlink.ts +92 -0
  398. package/src/sdk/models/operations/getcalendarrecording.ts +94 -0
  399. package/src/sdk/models/operations/getunifiedintegrationauth.ts +10 -0
  400. package/src/sdk/models/operations/index.ts +21 -0
  401. package/src/sdk/models/operations/listcalendarbusies.ts +136 -0
  402. package/src/sdk/models/operations/listcalendarcalendars.ts +120 -0
  403. package/src/sdk/models/operations/listcalendarevents.ts +136 -0
  404. package/src/sdk/models/operations/listcalendarlinks.ts +118 -0
  405. package/src/sdk/models/operations/listcalendarrecordings.ts +138 -0
  406. package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
  407. package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
  408. package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
  409. package/src/sdk/models/operations/patchcalendarcalendar.ts +101 -0
  410. package/src/sdk/models/operations/patchcalendarevent.ts +99 -0
  411. package/src/sdk/models/operations/patchcalendarlink.ts +99 -0
  412. package/src/sdk/models/operations/removecalendarcalendar.ts +155 -0
  413. package/src/sdk/models/operations/removecalendarevent.ts +153 -0
  414. package/src/sdk/models/operations/removecalendarlink.ts +151 -0
  415. package/src/sdk/models/operations/updatecalendarcalendar.ts +101 -0
  416. package/src/sdk/models/operations/updatecalendarevent.ts +99 -0
  417. package/src/sdk/models/operations/updatecalendarlink.ts +99 -0
  418. package/src/sdk/models/shared/calendarattendee.ts +120 -0
  419. package/src/sdk/models/shared/calendarbusy.ts +141 -0
  420. package/src/sdk/models/shared/calendarcalendar.ts +157 -0
  421. package/src/sdk/models/shared/calendarevent.ts +246 -0
  422. package/src/sdk/models/shared/calendarlink.ts +167 -0
  423. package/src/sdk/models/shared/calendarrecording.ts +184 -0
  424. package/src/sdk/models/shared/calendarrecordingmedia.ts +119 -0
  425. package/src/sdk/models/shared/calendarrecordingtranscript.ts +105 -0
  426. package/src/sdk/models/shared/index.ts +10 -0
  427. package/src/sdk/models/shared/integrationsupport.ts +66 -0
  428. package/src/sdk/models/shared/propertycalendareventorganizer.ts +127 -0
  429. package/src/sdk/models/shared/propertycalendarrecordingtranscriptattendee.ts +139 -0
  430. package/src/sdk/models/shared/propertyconnectionauth.ts +6 -0
  431. package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
  432. package/src/sdk/models/shared/propertyconnectionpermissions.ts +10 -0
  433. package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
  434. package/src/sdk/models/shared/webhook.ts +5 -0
  435. package/src/sdk/recording.ts +40 -0
  436. package/src/sdk/sdk.ts +28 -10
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as shared from "../shared/index.js";
11
+
12
+ export type CreateCalendarEventRequest = {
13
+ calendarEvent: shared.CalendarEvent;
14
+ /**
15
+ * ID of the connection
16
+ */
17
+ connectionId: string;
18
+ /**
19
+ * Comma-delimited fields to return
20
+ */
21
+ fields?: Array<string> | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const CreateCalendarEventRequest$inboundSchema: z.ZodType<
26
+ CreateCalendarEventRequest,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ CalendarEvent: shared.CalendarEvent$inboundSchema,
31
+ connection_id: z.string(),
32
+ fields: z.array(z.string()).optional(),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ "CalendarEvent": "calendarEvent",
36
+ "connection_id": "connectionId",
37
+ });
38
+ });
39
+
40
+ /** @internal */
41
+ export type CreateCalendarEventRequest$Outbound = {
42
+ CalendarEvent: shared.CalendarEvent$Outbound;
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const CreateCalendarEventRequest$outboundSchema: z.ZodType<
49
+ CreateCalendarEventRequest$Outbound,
50
+ z.ZodTypeDef,
51
+ CreateCalendarEventRequest
52
+ > = z.object({
53
+ calendarEvent: shared.CalendarEvent$outboundSchema,
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ }).transform((v) => {
57
+ return remap$(v, {
58
+ calendarEvent: "CalendarEvent",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace CreateCalendarEventRequest$ {
68
+ /** @deprecated use `CreateCalendarEventRequest$inboundSchema` instead. */
69
+ export const inboundSchema = CreateCalendarEventRequest$inboundSchema;
70
+ /** @deprecated use `CreateCalendarEventRequest$outboundSchema` instead. */
71
+ export const outboundSchema = CreateCalendarEventRequest$outboundSchema;
72
+ /** @deprecated use `CreateCalendarEventRequest$Outbound` instead. */
73
+ export type Outbound = CreateCalendarEventRequest$Outbound;
74
+ }
75
+
76
+ export function createCalendarEventRequestToJSON(
77
+ createCalendarEventRequest: CreateCalendarEventRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ CreateCalendarEventRequest$outboundSchema.parse(createCalendarEventRequest),
81
+ );
82
+ }
83
+
84
+ export function createCalendarEventRequestFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<CreateCalendarEventRequest, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => CreateCalendarEventRequest$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'CreateCalendarEventRequest' from JSON`,
91
+ );
92
+ }
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as shared from "../shared/index.js";
11
+
12
+ export type CreateCalendarLinkRequest = {
13
+ calendarLink: shared.CalendarLink;
14
+ /**
15
+ * ID of the connection
16
+ */
17
+ connectionId: string;
18
+ /**
19
+ * Comma-delimited fields to return
20
+ */
21
+ fields?: Array<string> | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const CreateCalendarLinkRequest$inboundSchema: z.ZodType<
26
+ CreateCalendarLinkRequest,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ CalendarLink: shared.CalendarLink$inboundSchema,
31
+ connection_id: z.string(),
32
+ fields: z.array(z.string()).optional(),
33
+ }).transform((v) => {
34
+ return remap$(v, {
35
+ "CalendarLink": "calendarLink",
36
+ "connection_id": "connectionId",
37
+ });
38
+ });
39
+
40
+ /** @internal */
41
+ export type CreateCalendarLinkRequest$Outbound = {
42
+ CalendarLink: shared.CalendarLink$Outbound;
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ };
46
+
47
+ /** @internal */
48
+ export const CreateCalendarLinkRequest$outboundSchema: z.ZodType<
49
+ CreateCalendarLinkRequest$Outbound,
50
+ z.ZodTypeDef,
51
+ CreateCalendarLinkRequest
52
+ > = z.object({
53
+ calendarLink: shared.CalendarLink$outboundSchema,
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ }).transform((v) => {
57
+ return remap$(v, {
58
+ calendarLink: "CalendarLink",
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace CreateCalendarLinkRequest$ {
68
+ /** @deprecated use `CreateCalendarLinkRequest$inboundSchema` instead. */
69
+ export const inboundSchema = CreateCalendarLinkRequest$inboundSchema;
70
+ /** @deprecated use `CreateCalendarLinkRequest$outboundSchema` instead. */
71
+ export const outboundSchema = CreateCalendarLinkRequest$outboundSchema;
72
+ /** @deprecated use `CreateCalendarLinkRequest$Outbound` instead. */
73
+ export type Outbound = CreateCalendarLinkRequest$Outbound;
74
+ }
75
+
76
+ export function createCalendarLinkRequestToJSON(
77
+ createCalendarLinkRequest: CreateCalendarLinkRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ CreateCalendarLinkRequest$outboundSchema.parse(createCalendarLinkRequest),
81
+ );
82
+ }
83
+
84
+ export function createCalendarLinkRequestFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<CreateCalendarLinkRequest, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => CreateCalendarLinkRequest$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'CreateCalendarLinkRequest' from JSON`,
91
+ );
92
+ }
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetCalendarCalendarRequest = {
12
+ /**
13
+ * ID of the connection
14
+ */
15
+ connectionId: string;
16
+ /**
17
+ * Comma-delimited fields to return
18
+ */
19
+ fields?: Array<string> | undefined;
20
+ /**
21
+ * ID of the Calendar
22
+ */
23
+ id: string;
24
+ };
25
+
26
+ /** @internal */
27
+ export const GetCalendarCalendarRequest$inboundSchema: z.ZodType<
28
+ GetCalendarCalendarRequest,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ connection_id: z.string(),
33
+ fields: z.array(z.string()).optional(),
34
+ id: z.string(),
35
+ }).transform((v) => {
36
+ return remap$(v, {
37
+ "connection_id": "connectionId",
38
+ });
39
+ });
40
+
41
+ /** @internal */
42
+ export type GetCalendarCalendarRequest$Outbound = {
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ id: string;
46
+ };
47
+
48
+ /** @internal */
49
+ export const GetCalendarCalendarRequest$outboundSchema: z.ZodType<
50
+ GetCalendarCalendarRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ GetCalendarCalendarRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ id: z.string(),
57
+ }).transform((v) => {
58
+ return remap$(v, {
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace GetCalendarCalendarRequest$ {
68
+ /** @deprecated use `GetCalendarCalendarRequest$inboundSchema` instead. */
69
+ export const inboundSchema = GetCalendarCalendarRequest$inboundSchema;
70
+ /** @deprecated use `GetCalendarCalendarRequest$outboundSchema` instead. */
71
+ export const outboundSchema = GetCalendarCalendarRequest$outboundSchema;
72
+ /** @deprecated use `GetCalendarCalendarRequest$Outbound` instead. */
73
+ export type Outbound = GetCalendarCalendarRequest$Outbound;
74
+ }
75
+
76
+ export function getCalendarCalendarRequestToJSON(
77
+ getCalendarCalendarRequest: GetCalendarCalendarRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ GetCalendarCalendarRequest$outboundSchema.parse(getCalendarCalendarRequest),
81
+ );
82
+ }
83
+
84
+ export function getCalendarCalendarRequestFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<GetCalendarCalendarRequest, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => GetCalendarCalendarRequest$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'GetCalendarCalendarRequest' from JSON`,
91
+ );
92
+ }
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetCalendarEventRequest = {
12
+ /**
13
+ * ID of the connection
14
+ */
15
+ connectionId: string;
16
+ /**
17
+ * Comma-delimited fields to return
18
+ */
19
+ fields?: Array<string> | undefined;
20
+ /**
21
+ * ID of the Event
22
+ */
23
+ id: string;
24
+ };
25
+
26
+ /** @internal */
27
+ export const GetCalendarEventRequest$inboundSchema: z.ZodType<
28
+ GetCalendarEventRequest,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ connection_id: z.string(),
33
+ fields: z.array(z.string()).optional(),
34
+ id: z.string(),
35
+ }).transform((v) => {
36
+ return remap$(v, {
37
+ "connection_id": "connectionId",
38
+ });
39
+ });
40
+
41
+ /** @internal */
42
+ export type GetCalendarEventRequest$Outbound = {
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ id: string;
46
+ };
47
+
48
+ /** @internal */
49
+ export const GetCalendarEventRequest$outboundSchema: z.ZodType<
50
+ GetCalendarEventRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ GetCalendarEventRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ id: z.string(),
57
+ }).transform((v) => {
58
+ return remap$(v, {
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace GetCalendarEventRequest$ {
68
+ /** @deprecated use `GetCalendarEventRequest$inboundSchema` instead. */
69
+ export const inboundSchema = GetCalendarEventRequest$inboundSchema;
70
+ /** @deprecated use `GetCalendarEventRequest$outboundSchema` instead. */
71
+ export const outboundSchema = GetCalendarEventRequest$outboundSchema;
72
+ /** @deprecated use `GetCalendarEventRequest$Outbound` instead. */
73
+ export type Outbound = GetCalendarEventRequest$Outbound;
74
+ }
75
+
76
+ export function getCalendarEventRequestToJSON(
77
+ getCalendarEventRequest: GetCalendarEventRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ GetCalendarEventRequest$outboundSchema.parse(getCalendarEventRequest),
81
+ );
82
+ }
83
+
84
+ export function getCalendarEventRequestFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<GetCalendarEventRequest, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => GetCalendarEventRequest$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'GetCalendarEventRequest' from JSON`,
91
+ );
92
+ }
@@ -0,0 +1,92 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetCalendarLinkRequest = {
12
+ /**
13
+ * ID of the connection
14
+ */
15
+ connectionId: string;
16
+ /**
17
+ * Comma-delimited fields to return
18
+ */
19
+ fields?: Array<string> | undefined;
20
+ /**
21
+ * ID of the Link
22
+ */
23
+ id: string;
24
+ };
25
+
26
+ /** @internal */
27
+ export const GetCalendarLinkRequest$inboundSchema: z.ZodType<
28
+ GetCalendarLinkRequest,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ connection_id: z.string(),
33
+ fields: z.array(z.string()).optional(),
34
+ id: z.string(),
35
+ }).transform((v) => {
36
+ return remap$(v, {
37
+ "connection_id": "connectionId",
38
+ });
39
+ });
40
+
41
+ /** @internal */
42
+ export type GetCalendarLinkRequest$Outbound = {
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ id: string;
46
+ };
47
+
48
+ /** @internal */
49
+ export const GetCalendarLinkRequest$outboundSchema: z.ZodType<
50
+ GetCalendarLinkRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ GetCalendarLinkRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ id: z.string(),
57
+ }).transform((v) => {
58
+ return remap$(v, {
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace GetCalendarLinkRequest$ {
68
+ /** @deprecated use `GetCalendarLinkRequest$inboundSchema` instead. */
69
+ export const inboundSchema = GetCalendarLinkRequest$inboundSchema;
70
+ /** @deprecated use `GetCalendarLinkRequest$outboundSchema` instead. */
71
+ export const outboundSchema = GetCalendarLinkRequest$outboundSchema;
72
+ /** @deprecated use `GetCalendarLinkRequest$Outbound` instead. */
73
+ export type Outbound = GetCalendarLinkRequest$Outbound;
74
+ }
75
+
76
+ export function getCalendarLinkRequestToJSON(
77
+ getCalendarLinkRequest: GetCalendarLinkRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ GetCalendarLinkRequest$outboundSchema.parse(getCalendarLinkRequest),
81
+ );
82
+ }
83
+
84
+ export function getCalendarLinkRequestFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<GetCalendarLinkRequest, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => GetCalendarLinkRequest$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'GetCalendarLinkRequest' from JSON`,
91
+ );
92
+ }
@@ -0,0 +1,94 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type GetCalendarRecordingRequest = {
12
+ /**
13
+ * ID of the connection
14
+ */
15
+ connectionId: string;
16
+ /**
17
+ * Comma-delimited fields to return
18
+ */
19
+ fields?: Array<string> | undefined;
20
+ /**
21
+ * ID of the Recording
22
+ */
23
+ id: string;
24
+ };
25
+
26
+ /** @internal */
27
+ export const GetCalendarRecordingRequest$inboundSchema: z.ZodType<
28
+ GetCalendarRecordingRequest,
29
+ z.ZodTypeDef,
30
+ unknown
31
+ > = z.object({
32
+ connection_id: z.string(),
33
+ fields: z.array(z.string()).optional(),
34
+ id: z.string(),
35
+ }).transform((v) => {
36
+ return remap$(v, {
37
+ "connection_id": "connectionId",
38
+ });
39
+ });
40
+
41
+ /** @internal */
42
+ export type GetCalendarRecordingRequest$Outbound = {
43
+ connection_id: string;
44
+ fields?: Array<string> | undefined;
45
+ id: string;
46
+ };
47
+
48
+ /** @internal */
49
+ export const GetCalendarRecordingRequest$outboundSchema: z.ZodType<
50
+ GetCalendarRecordingRequest$Outbound,
51
+ z.ZodTypeDef,
52
+ GetCalendarRecordingRequest
53
+ > = z.object({
54
+ connectionId: z.string(),
55
+ fields: z.array(z.string()).optional(),
56
+ id: z.string(),
57
+ }).transform((v) => {
58
+ return remap$(v, {
59
+ connectionId: "connection_id",
60
+ });
61
+ });
62
+
63
+ /**
64
+ * @internal
65
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
66
+ */
67
+ export namespace GetCalendarRecordingRequest$ {
68
+ /** @deprecated use `GetCalendarRecordingRequest$inboundSchema` instead. */
69
+ export const inboundSchema = GetCalendarRecordingRequest$inboundSchema;
70
+ /** @deprecated use `GetCalendarRecordingRequest$outboundSchema` instead. */
71
+ export const outboundSchema = GetCalendarRecordingRequest$outboundSchema;
72
+ /** @deprecated use `GetCalendarRecordingRequest$Outbound` instead. */
73
+ export type Outbound = GetCalendarRecordingRequest$Outbound;
74
+ }
75
+
76
+ export function getCalendarRecordingRequestToJSON(
77
+ getCalendarRecordingRequest: GetCalendarRecordingRequest,
78
+ ): string {
79
+ return JSON.stringify(
80
+ GetCalendarRecordingRequest$outboundSchema.parse(
81
+ getCalendarRecordingRequest,
82
+ ),
83
+ );
84
+ }
85
+
86
+ export function getCalendarRecordingRequestFromJSON(
87
+ jsonString: string,
88
+ ): SafeParseResult<GetCalendarRecordingRequest, SDKValidationError> {
89
+ return safeParse(
90
+ jsonString,
91
+ (x) => GetCalendarRecordingRequest$inboundSchema.parse(JSON.parse(x)),
92
+ `Failed to parse 'GetCalendarRecordingRequest' from JSON`,
93
+ );
94
+ }
@@ -140,6 +140,16 @@ export const Scopes = {
140
140
  RepoPullrequestWrite: "repo_pullrequest_write",
141
141
  MetadataMetadataRead: "metadata_metadata_read",
142
142
  MetadataMetadataWrite: "metadata_metadata_write",
143
+ CalendarCalendarRead: "calendar_calendar_read",
144
+ CalendarCalendarWrite: "calendar_calendar_write",
145
+ CalendarEventRead: "calendar_event_read",
146
+ CalendarEventWrite: "calendar_event_write",
147
+ CalendarBusyRead: "calendar_busy_read",
148
+ CalendarBusyWrite: "calendar_busy_write",
149
+ CalendarLinkRead: "calendar_link_read",
150
+ CalendarLinkWrite: "calendar_link_write",
151
+ CalendarRecordingRead: "calendar_recording_read",
152
+ CalendarRecordingWrite: "calendar_recording_write",
143
153
  } as const;
144
154
  export type Scopes = ClosedEnum<typeof Scopes>;
145
155
 
@@ -16,6 +16,9 @@ export * from "./createatsdocument.js";
16
16
  export * from "./createatsinterview.js";
17
17
  export * from "./createatsjob.js";
18
18
  export * from "./createatsscorecard.js";
19
+ export * from "./createcalendarcalendar.js";
20
+ export * from "./createcalendarevent.js";
21
+ export * from "./createcalendarlink.js";
19
22
  export * from "./createcommercecollection.js";
20
23
  export * from "./createcommerceinventory.js";
21
24
  export * from "./createcommerceitem.js";
@@ -79,6 +82,10 @@ export * from "./getatsdocument.js";
79
82
  export * from "./getatsinterview.js";
80
83
  export * from "./getatsjob.js";
81
84
  export * from "./getatsscorecard.js";
85
+ export * from "./getcalendarcalendar.js";
86
+ export * from "./getcalendarevent.js";
87
+ export * from "./getcalendarlink.js";
88
+ export * from "./getcalendarrecording.js";
82
89
  export * from "./getcommercecollection.js";
83
90
  export * from "./getcommerceinventory.js";
84
91
  export * from "./getcommerceitem.js";
@@ -149,6 +156,11 @@ export * from "./listatsdocuments.js";
149
156
  export * from "./listatsinterviews.js";
150
157
  export * from "./listatsjobs.js";
151
158
  export * from "./listatsscorecards.js";
159
+ export * from "./listcalendarbusies.js";
160
+ export * from "./listcalendarcalendars.js";
161
+ export * from "./listcalendarevents.js";
162
+ export * from "./listcalendarlinks.js";
163
+ export * from "./listcalendarrecordings.js";
152
164
  export * from "./listcommercecollections.js";
153
165
  export * from "./listcommerceinventories.js";
154
166
  export * from "./listcommerceitems.js";
@@ -222,6 +234,9 @@ export * from "./patchatsdocument.js";
222
234
  export * from "./patchatsinterview.js";
223
235
  export * from "./patchatsjob.js";
224
236
  export * from "./patchatsscorecard.js";
237
+ export * from "./patchcalendarcalendar.js";
238
+ export * from "./patchcalendarevent.js";
239
+ export * from "./patchcalendarlink.js";
225
240
  export * from "./patchcommercecollection.js";
226
241
  export * from "./patchcommerceinventory.js";
227
242
  export * from "./patchcommerceitem.js";
@@ -284,6 +299,9 @@ export * from "./removeatsdocument.js";
284
299
  export * from "./removeatsinterview.js";
285
300
  export * from "./removeatsjob.js";
286
301
  export * from "./removeatsscorecard.js";
302
+ export * from "./removecalendarcalendar.js";
303
+ export * from "./removecalendarevent.js";
304
+ export * from "./removecalendarlink.js";
287
305
  export * from "./removecommercecollection.js";
288
306
  export * from "./removecommerceinventory.js";
289
307
  export * from "./removecommerceitem.js";
@@ -344,6 +362,9 @@ export * from "./updateatsdocument.js";
344
362
  export * from "./updateatsinterview.js";
345
363
  export * from "./updateatsjob.js";
346
364
  export * from "./updateatsscorecard.js";
365
+ export * from "./updatecalendarcalendar.js";
366
+ export * from "./updatecalendarevent.js";
367
+ export * from "./updatecalendarlink.js";
347
368
  export * from "./updatecommercecollection.js";
348
369
  export * from "./updatecommerceinventory.js";
349
370
  export * from "./updatecommerceitem.js";