@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,127 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export const PropertyCalendarEventOrganizerStatus = {
13
+ Accepted: "ACCEPTED",
14
+ Rejected: "REJECTED",
15
+ Tentative: "TENTATIVE",
16
+ } as const;
17
+ export type PropertyCalendarEventOrganizerStatus = ClosedEnum<
18
+ typeof PropertyCalendarEventOrganizerStatus
19
+ >;
20
+
21
+ export type PropertyCalendarEventOrganizer = {
22
+ email?: string | undefined;
23
+ name?: string | undefined;
24
+ required?: boolean | undefined;
25
+ status?: PropertyCalendarEventOrganizerStatus | undefined;
26
+ userId?: string | undefined;
27
+ };
28
+
29
+ /** @internal */
30
+ export const PropertyCalendarEventOrganizerStatus$inboundSchema:
31
+ z.ZodNativeEnum<typeof PropertyCalendarEventOrganizerStatus> = z.nativeEnum(
32
+ PropertyCalendarEventOrganizerStatus,
33
+ );
34
+
35
+ /** @internal */
36
+ export const PropertyCalendarEventOrganizerStatus$outboundSchema:
37
+ z.ZodNativeEnum<typeof PropertyCalendarEventOrganizerStatus> =
38
+ PropertyCalendarEventOrganizerStatus$inboundSchema;
39
+
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export namespace PropertyCalendarEventOrganizerStatus$ {
45
+ /** @deprecated use `PropertyCalendarEventOrganizerStatus$inboundSchema` instead. */
46
+ export const inboundSchema =
47
+ PropertyCalendarEventOrganizerStatus$inboundSchema;
48
+ /** @deprecated use `PropertyCalendarEventOrganizerStatus$outboundSchema` instead. */
49
+ export const outboundSchema =
50
+ PropertyCalendarEventOrganizerStatus$outboundSchema;
51
+ }
52
+
53
+ /** @internal */
54
+ export const PropertyCalendarEventOrganizer$inboundSchema: z.ZodType<
55
+ PropertyCalendarEventOrganizer,
56
+ z.ZodTypeDef,
57
+ unknown
58
+ > = z.object({
59
+ email: z.string().optional(),
60
+ name: z.string().optional(),
61
+ required: z.boolean().optional(),
62
+ status: PropertyCalendarEventOrganizerStatus$inboundSchema.optional(),
63
+ user_id: z.string().optional(),
64
+ }).transform((v) => {
65
+ return remap$(v, {
66
+ "user_id": "userId",
67
+ });
68
+ });
69
+
70
+ /** @internal */
71
+ export type PropertyCalendarEventOrganizer$Outbound = {
72
+ email?: string | undefined;
73
+ name?: string | undefined;
74
+ required?: boolean | undefined;
75
+ status?: string | undefined;
76
+ user_id?: string | undefined;
77
+ };
78
+
79
+ /** @internal */
80
+ export const PropertyCalendarEventOrganizer$outboundSchema: z.ZodType<
81
+ PropertyCalendarEventOrganizer$Outbound,
82
+ z.ZodTypeDef,
83
+ PropertyCalendarEventOrganizer
84
+ > = z.object({
85
+ email: z.string().optional(),
86
+ name: z.string().optional(),
87
+ required: z.boolean().optional(),
88
+ status: PropertyCalendarEventOrganizerStatus$outboundSchema.optional(),
89
+ userId: z.string().optional(),
90
+ }).transform((v) => {
91
+ return remap$(v, {
92
+ userId: "user_id",
93
+ });
94
+ });
95
+
96
+ /**
97
+ * @internal
98
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
99
+ */
100
+ export namespace PropertyCalendarEventOrganizer$ {
101
+ /** @deprecated use `PropertyCalendarEventOrganizer$inboundSchema` instead. */
102
+ export const inboundSchema = PropertyCalendarEventOrganizer$inboundSchema;
103
+ /** @deprecated use `PropertyCalendarEventOrganizer$outboundSchema` instead. */
104
+ export const outboundSchema = PropertyCalendarEventOrganizer$outboundSchema;
105
+ /** @deprecated use `PropertyCalendarEventOrganizer$Outbound` instead. */
106
+ export type Outbound = PropertyCalendarEventOrganizer$Outbound;
107
+ }
108
+
109
+ export function propertyCalendarEventOrganizerToJSON(
110
+ propertyCalendarEventOrganizer: PropertyCalendarEventOrganizer,
111
+ ): string {
112
+ return JSON.stringify(
113
+ PropertyCalendarEventOrganizer$outboundSchema.parse(
114
+ propertyCalendarEventOrganizer,
115
+ ),
116
+ );
117
+ }
118
+
119
+ export function propertyCalendarEventOrganizerFromJSON(
120
+ jsonString: string,
121
+ ): SafeParseResult<PropertyCalendarEventOrganizer, SDKValidationError> {
122
+ return safeParse(
123
+ jsonString,
124
+ (x) => PropertyCalendarEventOrganizer$inboundSchema.parse(JSON.parse(x)),
125
+ `Failed to parse 'PropertyCalendarEventOrganizer' from JSON`,
126
+ );
127
+ }
@@ -0,0 +1,139 @@
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 { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ export const PropertyCalendarRecordingTranscriptAttendeeStatus = {
13
+ Accepted: "ACCEPTED",
14
+ Rejected: "REJECTED",
15
+ Tentative: "TENTATIVE",
16
+ } as const;
17
+ export type PropertyCalendarRecordingTranscriptAttendeeStatus = ClosedEnum<
18
+ typeof PropertyCalendarRecordingTranscriptAttendeeStatus
19
+ >;
20
+
21
+ export type PropertyCalendarRecordingTranscriptAttendee = {
22
+ email?: string | undefined;
23
+ name?: string | undefined;
24
+ required?: boolean | undefined;
25
+ status?: PropertyCalendarRecordingTranscriptAttendeeStatus | undefined;
26
+ userId?: string | undefined;
27
+ };
28
+
29
+ /** @internal */
30
+ export const PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema:
31
+ z.ZodNativeEnum<typeof PropertyCalendarRecordingTranscriptAttendeeStatus> = z
32
+ .nativeEnum(PropertyCalendarRecordingTranscriptAttendeeStatus);
33
+
34
+ /** @internal */
35
+ export const PropertyCalendarRecordingTranscriptAttendeeStatus$outboundSchema:
36
+ z.ZodNativeEnum<typeof PropertyCalendarRecordingTranscriptAttendeeStatus> =
37
+ PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema;
38
+
39
+ /**
40
+ * @internal
41
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
42
+ */
43
+ export namespace PropertyCalendarRecordingTranscriptAttendeeStatus$ {
44
+ /** @deprecated use `PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema` instead. */
45
+ export const inboundSchema =
46
+ PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema;
47
+ /** @deprecated use `PropertyCalendarRecordingTranscriptAttendeeStatus$outboundSchema` instead. */
48
+ export const outboundSchema =
49
+ PropertyCalendarRecordingTranscriptAttendeeStatus$outboundSchema;
50
+ }
51
+
52
+ /** @internal */
53
+ export const PropertyCalendarRecordingTranscriptAttendee$inboundSchema:
54
+ z.ZodType<
55
+ PropertyCalendarRecordingTranscriptAttendee,
56
+ z.ZodTypeDef,
57
+ unknown
58
+ > = z.object({
59
+ email: z.string().optional(),
60
+ name: z.string().optional(),
61
+ required: z.boolean().optional(),
62
+ status: PropertyCalendarRecordingTranscriptAttendeeStatus$inboundSchema
63
+ .optional(),
64
+ user_id: z.string().optional(),
65
+ }).transform((v) => {
66
+ return remap$(v, {
67
+ "user_id": "userId",
68
+ });
69
+ });
70
+
71
+ /** @internal */
72
+ export type PropertyCalendarRecordingTranscriptAttendee$Outbound = {
73
+ email?: string | undefined;
74
+ name?: string | undefined;
75
+ required?: boolean | undefined;
76
+ status?: string | undefined;
77
+ user_id?: string | undefined;
78
+ };
79
+
80
+ /** @internal */
81
+ export const PropertyCalendarRecordingTranscriptAttendee$outboundSchema:
82
+ z.ZodType<
83
+ PropertyCalendarRecordingTranscriptAttendee$Outbound,
84
+ z.ZodTypeDef,
85
+ PropertyCalendarRecordingTranscriptAttendee
86
+ > = z.object({
87
+ email: z.string().optional(),
88
+ name: z.string().optional(),
89
+ required: z.boolean().optional(),
90
+ status: PropertyCalendarRecordingTranscriptAttendeeStatus$outboundSchema
91
+ .optional(),
92
+ userId: z.string().optional(),
93
+ }).transform((v) => {
94
+ return remap$(v, {
95
+ userId: "user_id",
96
+ });
97
+ });
98
+
99
+ /**
100
+ * @internal
101
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
102
+ */
103
+ export namespace PropertyCalendarRecordingTranscriptAttendee$ {
104
+ /** @deprecated use `PropertyCalendarRecordingTranscriptAttendee$inboundSchema` instead. */
105
+ export const inboundSchema =
106
+ PropertyCalendarRecordingTranscriptAttendee$inboundSchema;
107
+ /** @deprecated use `PropertyCalendarRecordingTranscriptAttendee$outboundSchema` instead. */
108
+ export const outboundSchema =
109
+ PropertyCalendarRecordingTranscriptAttendee$outboundSchema;
110
+ /** @deprecated use `PropertyCalendarRecordingTranscriptAttendee$Outbound` instead. */
111
+ export type Outbound = PropertyCalendarRecordingTranscriptAttendee$Outbound;
112
+ }
113
+
114
+ export function propertyCalendarRecordingTranscriptAttendeeToJSON(
115
+ propertyCalendarRecordingTranscriptAttendee:
116
+ PropertyCalendarRecordingTranscriptAttendee,
117
+ ): string {
118
+ return JSON.stringify(
119
+ PropertyCalendarRecordingTranscriptAttendee$outboundSchema.parse(
120
+ propertyCalendarRecordingTranscriptAttendee,
121
+ ),
122
+ );
123
+ }
124
+
125
+ export function propertyCalendarRecordingTranscriptAttendeeFromJSON(
126
+ jsonString: string,
127
+ ): SafeParseResult<
128
+ PropertyCalendarRecordingTranscriptAttendee,
129
+ SDKValidationError
130
+ > {
131
+ return safeParse(
132
+ jsonString,
133
+ (x) =>
134
+ PropertyCalendarRecordingTranscriptAttendee$inboundSchema.parse(
135
+ JSON.parse(x),
136
+ ),
137
+ `Failed to parse 'PropertyCalendarRecordingTranscriptAttendee' from JSON`,
138
+ );
139
+ }
@@ -40,6 +40,7 @@ export type PropertyConnectionAuth = {
40
40
  state?: string | undefined;
41
41
  token?: string | undefined;
42
42
  tokenUrl?: string | undefined;
43
+ userId?: string | undefined;
43
44
  };
44
45
 
45
46
  /** @internal */
@@ -122,6 +123,7 @@ export const PropertyConnectionAuth$inboundSchema: z.ZodType<
122
123
  state: z.string().optional(),
123
124
  token: z.string().optional(),
124
125
  token_url: z.string().optional(),
126
+ user_id: z.string().optional(),
125
127
  }).transform((v) => {
126
128
  return remap$(v, {
127
129
  "access_token": "accessToken",
@@ -140,6 +142,7 @@ export const PropertyConnectionAuth$inboundSchema: z.ZodType<
140
142
  "refresh_token_expires_date": "refreshTokenExpiresDate",
141
143
  "refresh_token_expires_in": "refreshTokenExpiresIn",
142
144
  "token_url": "tokenUrl",
145
+ "user_id": "userId",
143
146
  });
144
147
  });
145
148
 
@@ -168,6 +171,7 @@ export type PropertyConnectionAuth$Outbound = {
168
171
  state?: string | undefined;
169
172
  token?: string | undefined;
170
173
  token_url?: string | undefined;
174
+ user_id?: string | undefined;
171
175
  };
172
176
 
173
177
  /** @internal */
@@ -199,6 +203,7 @@ export const PropertyConnectionAuth$outboundSchema: z.ZodType<
199
203
  state: z.string().optional(),
200
204
  token: z.string().optional(),
201
205
  tokenUrl: z.string().optional(),
206
+ userId: z.string().optional(),
202
207
  }).transform((v) => {
203
208
  return remap$(v, {
204
209
  accessToken: "access_token",
@@ -217,6 +222,7 @@ export const PropertyConnectionAuth$outboundSchema: z.ZodType<
217
222
  refreshTokenExpiresDate: "refresh_token_expires_date",
218
223
  refreshTokenExpiresIn: "refresh_token_expires_in",
219
224
  tokenUrl: "token_url",
225
+ userId: "user_id",
220
226
  });
221
227
  });
222
228
 
@@ -27,6 +27,7 @@ export const PropertyConnectionCategories = {
27
27
  Lms: "lms",
28
28
  Repo: "repo",
29
29
  Metadata: "metadata",
30
+ Calendar: "calendar",
30
31
  } as const;
31
32
  export type PropertyConnectionCategories = ClosedEnum<
32
33
  typeof PropertyConnectionCategories
@@ -136,6 +136,16 @@ export const PropertyConnectionPermissions = {
136
136
  RepoPullrequestWrite: "repo_pullrequest_write",
137
137
  MetadataMetadataRead: "metadata_metadata_read",
138
138
  MetadataMetadataWrite: "metadata_metadata_write",
139
+ CalendarCalendarRead: "calendar_calendar_read",
140
+ CalendarCalendarWrite: "calendar_calendar_write",
141
+ CalendarEventRead: "calendar_event_read",
142
+ CalendarEventWrite: "calendar_event_write",
143
+ CalendarBusyRead: "calendar_busy_read",
144
+ CalendarBusyWrite: "calendar_busy_write",
145
+ CalendarLinkRead: "calendar_link_read",
146
+ CalendarLinkWrite: "calendar_link_write",
147
+ CalendarRecordingRead: "calendar_recording_read",
148
+ CalendarRecordingWrite: "calendar_recording_write",
139
149
  } as const;
140
150
  export type PropertyConnectionPermissions = ClosedEnum<
141
151
  typeof PropertyConnectionPermissions
@@ -27,6 +27,7 @@ export const PropertyIntegrationCategories = {
27
27
  Lms: "lms",
28
28
  Repo: "repo",
29
29
  Metadata: "metadata",
30
+ Calendar: "calendar",
30
31
  } as const;
31
32
  export type PropertyIntegrationCategories = ClosedEnum<
32
33
  typeof PropertyIntegrationCategories
@@ -99,6 +99,11 @@ export const ObjectType = {
99
99
  RepoCommit: "repo_commit",
100
100
  RepoPullrequest: "repo_pullrequest",
101
101
  MetadataMetadata: "metadata_metadata",
102
+ CalendarCalendar: "calendar_calendar",
103
+ CalendarEvent: "calendar_event",
104
+ CalendarBusy: "calendar_busy",
105
+ CalendarLink: "calendar_link",
106
+ CalendarRecording: "calendar_recording",
102
107
  } as const;
103
108
  export type ObjectType = ClosedEnum<typeof ObjectType>;
104
109
 
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { recordingGetCalendarRecording } from "../funcs/recordingGetCalendarRecording.js";
6
+ import { recordingListCalendarRecordings } from "../funcs/recordingListCalendarRecordings.js";
7
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
+ import * as operations from "./models/operations/index.js";
9
+ import * as shared from "./models/shared/index.js";
10
+ import { unwrapAsync } from "./types/fp.js";
11
+
12
+ export class Recording extends ClientSDK {
13
+ /**
14
+ * Retrieve a recording
15
+ */
16
+ async getCalendarRecording(
17
+ request: operations.GetCalendarRecordingRequest,
18
+ options?: RequestOptions,
19
+ ): Promise<shared.CalendarRecording> {
20
+ return unwrapAsync(recordingGetCalendarRecording(
21
+ this,
22
+ request,
23
+ options,
24
+ ));
25
+ }
26
+
27
+ /**
28
+ * List all recordings
29
+ */
30
+ async listCalendarRecordings(
31
+ request: operations.ListCalendarRecordingsRequest,
32
+ options?: RequestOptions,
33
+ ): Promise<Array<shared.CalendarRecording>> {
34
+ return unwrapAsync(recordingListCalendarRecordings(
35
+ this,
36
+ request,
37
+ options,
38
+ ));
39
+ }
40
+ }
package/src/sdk/sdk.ts CHANGED
@@ -12,6 +12,8 @@ import { Applicationstatus } from "./applicationstatus.js";
12
12
  import { Ats } from "./ats.js";
13
13
  import { Auth } from "./auth.js";
14
14
  import { Branch } from "./branch.js";
15
+ import { Busy } from "./busy.js";
16
+ import { Calendar } from "./calendar.js";
15
17
  import { Call } from "./call.js";
16
18
  import { Candidate } from "./candidate.js";
17
19
  import { Channel } from "./channel.js";
@@ -70,6 +72,7 @@ import { Pipeline } from "./pipeline.js";
70
72
  import { Project } from "./project.js";
71
73
  import { Prompt } from "./prompt.js";
72
74
  import { Pullrequest } from "./pullrequest.js";
75
+ import { Recording } from "./recording.js";
73
76
  import { Refund } from "./refund.js";
74
77
  import { Repo } from "./repo.js";
75
78
  import { Repository } from "./repository.js";
@@ -186,6 +189,31 @@ export class UnifiedTo extends ClientSDK {
186
189
  return (this._scorecard ??= new Scorecard(this._options));
187
190
  }
188
191
 
192
+ private _calendar?: Calendar;
193
+ get calendar(): Calendar {
194
+ return (this._calendar ??= new Calendar(this._options));
195
+ }
196
+
197
+ private _busy?: Busy;
198
+ get busy(): Busy {
199
+ return (this._busy ??= new Busy(this._options));
200
+ }
201
+
202
+ private _event?: Event;
203
+ get event(): Event {
204
+ return (this._event ??= new Event(this._options));
205
+ }
206
+
207
+ private _link?: Link;
208
+ get link(): Link {
209
+ return (this._link ??= new Link(this._options));
210
+ }
211
+
212
+ private _recording?: Recording;
213
+ get recording(): Recording {
214
+ return (this._recording ??= new Recording(this._options));
215
+ }
216
+
189
217
  private _commerce?: Commerce;
190
218
  get commerce(): Commerce {
191
219
  return (this._commerce ??= new Commerce(this._options));
@@ -221,11 +249,6 @@ export class UnifiedTo extends ClientSDK {
221
249
  return (this._deal ??= new Deal(this._options));
222
250
  }
223
251
 
224
- private _event?: Event;
225
- get event(): Event {
226
- return (this._event ??= new Event(this._options));
227
- }
228
-
229
252
  private _lead?: Lead;
230
253
  get lead(): Lead {
231
254
  return (this._lead ??= new Lead(this._options));
@@ -376,11 +399,6 @@ export class UnifiedTo extends ClientSDK {
376
399
  return (this._payment ??= new Payment(this._options));
377
400
  }
378
401
 
379
- private _link?: Link;
380
- get link(): Link {
381
- return (this._link ??= new Link(this._options));
382
- }
383
-
384
402
  private _payout?: Payout;
385
403
  get payout(): Payout {
386
404
  return (this._payout ??= new Payout(this._options));