@unified-api/typescript-sdk 2.86.3 → 2.86.5

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 (369) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +28 -16
  3. package/dist/commonjs/funcs/calendarGetCalendarLocation.d.ts +18 -0
  4. package/dist/commonjs/funcs/calendarGetCalendarLocation.d.ts.map +1 -0
  5. package/dist/commonjs/funcs/calendarGetCalendarLocation.js +129 -0
  6. package/dist/commonjs/funcs/calendarGetCalendarLocation.js.map +1 -0
  7. package/dist/commonjs/funcs/calendarGetCalendarRoom.d.ts +18 -0
  8. package/dist/commonjs/funcs/{clubsListClubsLocations.d.ts.map → calendarGetCalendarRoom.d.ts.map} +1 -1
  9. package/dist/commonjs/funcs/calendarGetCalendarRoom.js +129 -0
  10. package/dist/commonjs/funcs/calendarGetCalendarRoom.js.map +1 -0
  11. package/dist/commonjs/funcs/calendarListCalendarBusies.js +1 -0
  12. package/dist/commonjs/funcs/calendarListCalendarBusies.js.map +1 -1
  13. package/dist/commonjs/funcs/calendarListCalendarLocations.d.ts +18 -0
  14. package/dist/commonjs/funcs/calendarListCalendarLocations.d.ts.map +1 -0
  15. package/dist/commonjs/funcs/calendarListCalendarLocations.js +133 -0
  16. package/dist/commonjs/funcs/calendarListCalendarLocations.js.map +1 -0
  17. package/dist/commonjs/funcs/calendarListCalendarRooms.d.ts +18 -0
  18. package/dist/commonjs/funcs/calendarListCalendarRooms.d.ts.map +1 -0
  19. package/dist/commonjs/funcs/calendarListCalendarRooms.js +134 -0
  20. package/dist/commonjs/funcs/calendarListCalendarRooms.js.map +1 -0
  21. package/dist/commonjs/funcs/eventListCalendarEvents.js +1 -0
  22. package/dist/commonjs/funcs/eventListCalendarEvents.js.map +1 -1
  23. package/dist/commonjs/funcs/{clubsGetClubsLocation.d.ts → locationGetClubsLocation.d.ts} +2 -2
  24. package/dist/commonjs/funcs/locationGetClubsLocation.d.ts.map +1 -0
  25. package/dist/commonjs/funcs/{clubsGetClubsLocation.js → locationGetClubsLocation.js} +3 -3
  26. package/dist/commonjs/funcs/locationGetClubsLocation.js.map +1 -0
  27. package/dist/commonjs/funcs/{clubsListClubsLocations.d.ts → locationListClubsLocations.d.ts} +2 -2
  28. package/dist/commonjs/funcs/locationListClubsLocations.d.ts.map +1 -0
  29. package/dist/commonjs/funcs/{clubsListClubsLocations.js → locationListClubsLocations.js} +3 -3
  30. package/dist/commonjs/funcs/locationListClubsLocations.js.map +1 -0
  31. package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.d.ts +18 -0
  32. package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.d.ts.map +1 -0
  33. package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.js +120 -0
  34. package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.js.map +1 -0
  35. package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.d.ts +18 -0
  36. package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.d.ts.map +1 -0
  37. package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.js +120 -0
  38. package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.js.map +1 -0
  39. package/dist/commonjs/lib/config.d.ts +2 -2
  40. package/dist/commonjs/lib/config.js +2 -2
  41. package/dist/commonjs/sdk/calendar.d.ts +28 -0
  42. package/dist/commonjs/sdk/calendar.d.ts.map +1 -1
  43. package/dist/commonjs/sdk/calendar.js +40 -0
  44. package/dist/commonjs/sdk/calendar.js.map +1 -1
  45. package/dist/commonjs/sdk/clubs.js +4 -4
  46. package/dist/commonjs/sdk/clubs.js.map +1 -1
  47. package/dist/commonjs/sdk/location.d.ts +14 -0
  48. package/dist/commonjs/sdk/location.d.ts.map +1 -1
  49. package/dist/commonjs/sdk/location.js +24 -4
  50. package/dist/commonjs/sdk/location.js.map +1 -1
  51. package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts +1 -0
  52. package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
  53. package/dist/commonjs/sdk/models/operations/createcalendarevent.js +1 -0
  54. package/dist/commonjs/sdk/models/operations/createcalendarevent.js.map +1 -1
  55. package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts +1 -0
  56. package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
  57. package/dist/commonjs/sdk/models/operations/getcalendarevent.js +1 -0
  58. package/dist/commonjs/sdk/models/operations/getcalendarevent.js.map +1 -1
  59. package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts +46 -0
  60. package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
  61. package/dist/commonjs/sdk/models/operations/getcalendarlocation.js +72 -0
  62. package/dist/commonjs/sdk/models/operations/getcalendarlocation.js.map +1 -0
  63. package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts +54 -0
  64. package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
  65. package/dist/commonjs/sdk/models/operations/getcalendarroom.js +79 -0
  66. package/dist/commonjs/sdk/models/operations/getcalendarroom.js.map +1 -0
  67. package/dist/commonjs/sdk/models/operations/index.d.ts +6 -0
  68. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  69. package/dist/commonjs/sdk/models/operations/index.js +6 -0
  70. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  71. package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts +5 -0
  72. package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
  73. package/dist/commonjs/sdk/models/operations/listcalendarbusies.js +2 -0
  74. package/dist/commonjs/sdk/models/operations/listcalendarbusies.js.map +1 -1
  75. package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts +6 -0
  76. package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
  77. package/dist/commonjs/sdk/models/operations/listcalendarevents.js +3 -0
  78. package/dist/commonjs/sdk/models/operations/listcalendarevents.js.map +1 -1
  79. package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts +64 -0
  80. package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
  81. package/dist/commonjs/sdk/models/operations/listcalendarlocations.js +80 -0
  82. package/dist/commonjs/sdk/models/operations/listcalendarlocations.js.map +1 -0
  83. package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts +77 -0
  84. package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
  85. package/dist/commonjs/sdk/models/operations/listcalendarrooms.js +88 -0
  86. package/dist/commonjs/sdk/models/operations/listcalendarrooms.js.map +1 -0
  87. package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts +1 -0
  88. package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
  89. package/dist/commonjs/sdk/models/operations/patchcalendarevent.js +1 -0
  90. package/dist/commonjs/sdk/models/operations/patchcalendarevent.js.map +1 -1
  91. package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.d.ts +15 -0
  92. package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.d.ts.map +1 -0
  93. package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.js +49 -0
  94. package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.js.map +1 -0
  95. package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts +1 -0
  96. package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
  97. package/dist/commonjs/sdk/models/operations/updatecalendarevent.js +1 -0
  98. package/dist/commonjs/sdk/models/operations/updatecalendarevent.js.map +1 -1
  99. package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.d.ts +15 -0
  100. package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.d.ts.map +1 -0
  101. package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.js +49 -0
  102. package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.js.map +1 -0
  103. package/dist/commonjs/sdk/models/shared/calendarevent.d.ts +5 -0
  104. package/dist/commonjs/sdk/models/shared/calendarevent.d.ts.map +1 -1
  105. package/dist/commonjs/sdk/models/shared/calendarevent.js +4 -0
  106. package/dist/commonjs/sdk/models/shared/calendarevent.js.map +1 -1
  107. package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts +42 -0
  108. package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts.map +1 -0
  109. package/dist/commonjs/sdk/models/shared/calendarlocation.js +82 -0
  110. package/dist/commonjs/sdk/models/shared/calendarlocation.js.map +1 -0
  111. package/dist/commonjs/sdk/models/shared/calendarroom.d.ts +54 -0
  112. package/dist/commonjs/sdk/models/shared/calendarroom.d.ts.map +1 -0
  113. package/dist/commonjs/sdk/models/shared/calendarroom.js +89 -0
  114. package/dist/commonjs/sdk/models/shared/calendarroom.js.map +1 -0
  115. package/dist/commonjs/sdk/models/shared/crmcontact.d.ts +7 -1
  116. package/dist/commonjs/sdk/models/shared/crmcontact.d.ts.map +1 -1
  117. package/dist/commonjs/sdk/models/shared/crmcontact.js.map +1 -1
  118. package/dist/commonjs/sdk/models/shared/enrichperson.d.ts +1 -1
  119. package/dist/commonjs/sdk/models/shared/index.d.ts +4 -1
  120. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  121. package/dist/commonjs/sdk/models/shared/index.js +4 -1
  122. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  123. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +10 -1
  124. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  125. package/dist/commonjs/sdk/models/shared/integrationsupport.js +163 -154
  126. package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
  127. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
  128. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
  129. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js +64 -0
  130. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
  131. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  132. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  133. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  134. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  135. package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
  136. package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
  137. package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +12 -12
  138. package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
  139. package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
  140. package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
  141. package/dist/commonjs/sdk/models/shared/webhook.js +2 -0
  142. package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
  143. package/dist/commonjs/sdk/room.d.ts +20 -0
  144. package/dist/commonjs/sdk/room.d.ts.map +1 -0
  145. package/dist/commonjs/sdk/room.js +32 -0
  146. package/dist/commonjs/sdk/room.js.map +1 -0
  147. package/dist/commonjs/sdk/sdk.d.ts +5 -2
  148. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  149. package/dist/commonjs/sdk/sdk.js +7 -3
  150. package/dist/commonjs/sdk/sdk.js.map +1 -1
  151. package/dist/commonjs/sdk/unified.d.ts +14 -0
  152. package/dist/commonjs/sdk/unified.d.ts.map +1 -1
  153. package/dist/commonjs/sdk/unified.js +20 -0
  154. package/dist/commonjs/sdk/unified.js.map +1 -1
  155. package/dist/commonjs/sdk/webhook.d.ts +14 -0
  156. package/dist/commonjs/sdk/webhook.d.ts.map +1 -1
  157. package/dist/commonjs/sdk/webhook.js +20 -0
  158. package/dist/commonjs/sdk/webhook.js.map +1 -1
  159. package/dist/esm/funcs/calendarGetCalendarLocation.d.ts +18 -0
  160. package/dist/esm/funcs/calendarGetCalendarLocation.d.ts.map +1 -0
  161. package/dist/esm/funcs/calendarGetCalendarLocation.js +93 -0
  162. package/dist/esm/funcs/calendarGetCalendarLocation.js.map +1 -0
  163. package/dist/esm/funcs/calendarGetCalendarRoom.d.ts +18 -0
  164. package/dist/esm/funcs/{clubsListClubsLocations.d.ts.map → calendarGetCalendarRoom.d.ts.map} +1 -1
  165. package/dist/esm/funcs/calendarGetCalendarRoom.js +93 -0
  166. package/dist/esm/funcs/calendarGetCalendarRoom.js.map +1 -0
  167. package/dist/esm/funcs/calendarListCalendarBusies.js +1 -0
  168. package/dist/esm/funcs/calendarListCalendarBusies.js.map +1 -1
  169. package/dist/esm/funcs/calendarListCalendarLocations.d.ts +18 -0
  170. package/dist/esm/funcs/calendarListCalendarLocations.d.ts.map +1 -0
  171. package/dist/esm/funcs/calendarListCalendarLocations.js +97 -0
  172. package/dist/esm/funcs/calendarListCalendarLocations.js.map +1 -0
  173. package/dist/esm/funcs/calendarListCalendarRooms.d.ts +18 -0
  174. package/dist/esm/funcs/calendarListCalendarRooms.d.ts.map +1 -0
  175. package/dist/esm/funcs/calendarListCalendarRooms.js +98 -0
  176. package/dist/esm/funcs/calendarListCalendarRooms.js.map +1 -0
  177. package/dist/esm/funcs/eventListCalendarEvents.js +1 -0
  178. package/dist/esm/funcs/eventListCalendarEvents.js.map +1 -1
  179. package/dist/esm/funcs/{clubsGetClubsLocation.d.ts → locationGetClubsLocation.d.ts} +2 -2
  180. package/dist/esm/funcs/locationGetClubsLocation.d.ts.map +1 -0
  181. package/dist/esm/funcs/{clubsGetClubsLocation.js → locationGetClubsLocation.js} +2 -2
  182. package/dist/esm/funcs/locationGetClubsLocation.js.map +1 -0
  183. package/dist/esm/funcs/{clubsListClubsLocations.d.ts → locationListClubsLocations.d.ts} +2 -2
  184. package/dist/esm/funcs/locationListClubsLocations.d.ts.map +1 -0
  185. package/dist/esm/funcs/{clubsListClubsLocations.js → locationListClubsLocations.js} +2 -2
  186. package/dist/esm/funcs/locationListClubsLocations.js.map +1 -0
  187. package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.d.ts +18 -0
  188. package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.d.ts.map +1 -0
  189. package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.js +84 -0
  190. package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.js.map +1 -0
  191. package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.d.ts +18 -0
  192. package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.d.ts.map +1 -0
  193. package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.js +84 -0
  194. package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.js.map +1 -0
  195. package/dist/esm/lib/config.d.ts +2 -2
  196. package/dist/esm/lib/config.js +2 -2
  197. package/dist/esm/sdk/calendar.d.ts +28 -0
  198. package/dist/esm/sdk/calendar.d.ts.map +1 -1
  199. package/dist/esm/sdk/calendar.js +40 -0
  200. package/dist/esm/sdk/calendar.js.map +1 -1
  201. package/dist/esm/sdk/clubs.js +4 -4
  202. package/dist/esm/sdk/clubs.js.map +1 -1
  203. package/dist/esm/sdk/location.d.ts +14 -0
  204. package/dist/esm/sdk/location.d.ts.map +1 -1
  205. package/dist/esm/sdk/location.js +24 -4
  206. package/dist/esm/sdk/location.js.map +1 -1
  207. package/dist/esm/sdk/models/operations/createcalendarevent.d.ts +1 -0
  208. package/dist/esm/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
  209. package/dist/esm/sdk/models/operations/createcalendarevent.js +1 -0
  210. package/dist/esm/sdk/models/operations/createcalendarevent.js.map +1 -1
  211. package/dist/esm/sdk/models/operations/getcalendarevent.d.ts +1 -0
  212. package/dist/esm/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
  213. package/dist/esm/sdk/models/operations/getcalendarevent.js +1 -0
  214. package/dist/esm/sdk/models/operations/getcalendarevent.js.map +1 -1
  215. package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts +46 -0
  216. package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
  217. package/dist/esm/sdk/models/operations/getcalendarlocation.js +35 -0
  218. package/dist/esm/sdk/models/operations/getcalendarlocation.js.map +1 -0
  219. package/dist/esm/sdk/models/operations/getcalendarroom.d.ts +54 -0
  220. package/dist/esm/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
  221. package/dist/esm/sdk/models/operations/getcalendarroom.js +42 -0
  222. package/dist/esm/sdk/models/operations/getcalendarroom.js.map +1 -0
  223. package/dist/esm/sdk/models/operations/index.d.ts +6 -0
  224. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  225. package/dist/esm/sdk/models/operations/index.js +6 -0
  226. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  227. package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts +5 -0
  228. package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
  229. package/dist/esm/sdk/models/operations/listcalendarbusies.js +2 -0
  230. package/dist/esm/sdk/models/operations/listcalendarbusies.js.map +1 -1
  231. package/dist/esm/sdk/models/operations/listcalendarevents.d.ts +6 -0
  232. package/dist/esm/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
  233. package/dist/esm/sdk/models/operations/listcalendarevents.js +3 -0
  234. package/dist/esm/sdk/models/operations/listcalendarevents.js.map +1 -1
  235. package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts +64 -0
  236. package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
  237. package/dist/esm/sdk/models/operations/listcalendarlocations.js +43 -0
  238. package/dist/esm/sdk/models/operations/listcalendarlocations.js.map +1 -0
  239. package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts +77 -0
  240. package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
  241. package/dist/esm/sdk/models/operations/listcalendarrooms.js +51 -0
  242. package/dist/esm/sdk/models/operations/listcalendarrooms.js.map +1 -0
  243. package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts +1 -0
  244. package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
  245. package/dist/esm/sdk/models/operations/patchcalendarevent.js +1 -0
  246. package/dist/esm/sdk/models/operations/patchcalendarevent.js.map +1 -1
  247. package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.d.ts +15 -0
  248. package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.d.ts.map +1 -0
  249. package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.js +12 -0
  250. package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.js.map +1 -0
  251. package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts +1 -0
  252. package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
  253. package/dist/esm/sdk/models/operations/updatecalendarevent.js +1 -0
  254. package/dist/esm/sdk/models/operations/updatecalendarevent.js.map +1 -1
  255. package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.d.ts +15 -0
  256. package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.d.ts.map +1 -0
  257. package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.js +12 -0
  258. package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.js.map +1 -0
  259. package/dist/esm/sdk/models/shared/calendarevent.d.ts +5 -0
  260. package/dist/esm/sdk/models/shared/calendarevent.d.ts.map +1 -1
  261. package/dist/esm/sdk/models/shared/calendarevent.js +4 -0
  262. package/dist/esm/sdk/models/shared/calendarevent.js.map +1 -1
  263. package/dist/esm/sdk/models/shared/calendarlocation.d.ts +42 -0
  264. package/dist/esm/sdk/models/shared/calendarlocation.d.ts.map +1 -0
  265. package/dist/esm/sdk/models/shared/calendarlocation.js +45 -0
  266. package/dist/esm/sdk/models/shared/calendarlocation.js.map +1 -0
  267. package/dist/esm/sdk/models/shared/calendarroom.d.ts +54 -0
  268. package/dist/esm/sdk/models/shared/calendarroom.d.ts.map +1 -0
  269. package/dist/esm/sdk/models/shared/calendarroom.js +52 -0
  270. package/dist/esm/sdk/models/shared/calendarroom.js.map +1 -0
  271. package/dist/esm/sdk/models/shared/crmcontact.d.ts +7 -1
  272. package/dist/esm/sdk/models/shared/crmcontact.d.ts.map +1 -1
  273. package/dist/esm/sdk/models/shared/crmcontact.js.map +1 -1
  274. package/dist/esm/sdk/models/shared/enrichperson.d.ts +1 -1
  275. package/dist/esm/sdk/models/shared/index.d.ts +4 -1
  276. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  277. package/dist/esm/sdk/models/shared/index.js +4 -1
  278. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  279. package/dist/esm/sdk/models/shared/integrationsupport.d.ts +10 -1
  280. package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  281. package/dist/esm/sdk/models/shared/integrationsupport.js +10 -1
  282. package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
  283. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
  284. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
  285. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js +27 -0
  286. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
  287. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  288. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  289. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  290. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  291. package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
  292. package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
  293. package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +8 -8
  294. package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
  295. package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
  296. package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
  297. package/dist/esm/sdk/models/shared/webhook.js +2 -0
  298. package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
  299. package/dist/esm/sdk/room.d.ts +20 -0
  300. package/dist/esm/sdk/room.d.ts.map +1 -0
  301. package/dist/esm/sdk/room.js +28 -0
  302. package/dist/esm/sdk/room.js.map +1 -0
  303. package/dist/esm/sdk/sdk.d.ts +5 -2
  304. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  305. package/dist/esm/sdk/sdk.js +7 -3
  306. package/dist/esm/sdk/sdk.js.map +1 -1
  307. package/dist/esm/sdk/unified.d.ts +14 -0
  308. package/dist/esm/sdk/unified.d.ts.map +1 -1
  309. package/dist/esm/sdk/unified.js +20 -0
  310. package/dist/esm/sdk/unified.js.map +1 -1
  311. package/dist/esm/sdk/webhook.d.ts +14 -0
  312. package/dist/esm/sdk/webhook.d.ts.map +1 -1
  313. package/dist/esm/sdk/webhook.js +20 -0
  314. package/dist/esm/sdk/webhook.js.map +1 -1
  315. package/examples/accountingCreateAccountingAccount.example.ts +2 -2
  316. package/jsr.json +1 -1
  317. package/package.json +1 -1
  318. package/src/funcs/calendarGetCalendarLocation.ts +180 -0
  319. package/src/funcs/calendarGetCalendarRoom.ts +177 -0
  320. package/src/funcs/calendarListCalendarBusies.ts +1 -0
  321. package/src/funcs/calendarListCalendarLocations.ts +182 -0
  322. package/src/funcs/calendarListCalendarRooms.ts +182 -0
  323. package/src/funcs/eventListCalendarEvents.ts +1 -0
  324. package/src/funcs/{clubsGetClubsLocation.ts → locationGetClubsLocation.ts} +1 -1
  325. package/src/funcs/{clubsListClubsLocations.ts → locationListClubsLocations.ts} +1 -1
  326. package/src/funcs/unifiedPatchUnifiedWebhookResume.ts +168 -0
  327. package/src/funcs/unifiedUpdateUnifiedWebhookResume.ts +168 -0
  328. package/src/lib/config.ts +2 -2
  329. package/src/sdk/calendar.ts +72 -0
  330. package/src/sdk/clubs.ts +4 -4
  331. package/src/sdk/location.ts +40 -4
  332. package/src/sdk/models/operations/createcalendarevent.ts +1 -0
  333. package/src/sdk/models/operations/getcalendarevent.ts +1 -0
  334. package/src/sdk/models/operations/getcalendarlocation.ts +81 -0
  335. package/src/sdk/models/operations/getcalendarroom.ts +87 -0
  336. package/src/sdk/models/operations/index.ts +6 -0
  337. package/src/sdk/models/operations/listcalendarbusies.ts +7 -0
  338. package/src/sdk/models/operations/listcalendarevents.ts +8 -0
  339. package/src/sdk/models/operations/listcalendarlocations.ts +109 -0
  340. package/src/sdk/models/operations/listcalendarrooms.ts +119 -0
  341. package/src/sdk/models/operations/patchcalendarevent.ts +1 -0
  342. package/src/sdk/models/operations/patchunifiedwebhookresume.ts +36 -0
  343. package/src/sdk/models/operations/updatecalendarevent.ts +1 -0
  344. package/src/sdk/models/operations/updateunifiedwebhookresume.ts +36 -0
  345. package/src/sdk/models/shared/calendarevent.ts +9 -0
  346. package/src/sdk/models/shared/calendarlocation.ts +92 -0
  347. package/src/sdk/models/shared/calendarroom.ts +113 -0
  348. package/src/sdk/models/shared/crmcontact.ts +7 -1
  349. package/src/sdk/models/shared/enrichperson.ts +1 -1
  350. package/src/sdk/models/shared/index.ts +4 -1
  351. package/src/sdk/models/shared/integrationsupport.ts +20 -3
  352. package/src/sdk/models/shared/propertycalendarlocationaddress.ts +55 -0
  353. package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
  354. package/src/sdk/models/shared/{virtualwebhookchannelid.ts → virtualwebhookcarrierid.ts} +14 -14
  355. package/src/sdk/models/shared/webhook.ts +2 -0
  356. package/src/sdk/room.ts +46 -0
  357. package/src/sdk/sdk.ts +11 -5
  358. package/src/sdk/unified.ts +36 -0
  359. package/src/sdk/webhook.ts +36 -0
  360. package/dist/commonjs/funcs/clubsGetClubsLocation.d.ts.map +0 -1
  361. package/dist/commonjs/funcs/clubsGetClubsLocation.js.map +0 -1
  362. package/dist/commonjs/funcs/clubsListClubsLocations.js.map +0 -1
  363. package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
  364. package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
  365. package/dist/esm/funcs/clubsGetClubsLocation.d.ts.map +0 -1
  366. package/dist/esm/funcs/clubsGetClubsLocation.js.map +0 -1
  367. package/dist/esm/funcs/clubsListClubsLocations.js.map +0 -1
  368. package/dist/esm/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
  369. package/dist/esm/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
@@ -0,0 +1,168 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { UnifiedToCore } from "../core.js";
6
+ import { encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../sdk/models/errors/httpclienterrors.js";
21
+ import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
22
+ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
23
+ import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
24
+ import * as operations from "../sdk/models/operations/index.js";
25
+ import * as shared from "../sdk/models/shared/index.js";
26
+ import { APICall, APIPromise } from "../sdk/types/async.js";
27
+ import { Result } from "../sdk/types/fp.js";
28
+
29
+ /**
30
+ * Resume an unhealthy webhook subscription
31
+ *
32
+ * @remarks
33
+ * Sets is_healthy back to true and restarts the webhook. Fix the cause first (hook_url, connection auth); the connection must be healthy. Virtual: continues from where it stopped. A webhook that went unhealthy mid-initial-sync before resume was available restarts its initial sync, so deleting and recreating it is safer. Native: re-subscribes if the provider subscription is missing or expired. Events received while the webhook was unhealthy are not re-sent. Webhook sync (beta): continues from the stored sync token. Page cursors are not stored yet, so a resume can re-send some records. Virtual and initial-sync webhooks that have been unhealthy for more than 7 days cannot be resumed, because resuming would re-send every change since then; delete and recreate them instead. MCP Events subscriptions cannot be resumed; they are managed by their MCP client.
34
+ */
35
+ export function unifiedPatchUnifiedWebhookResume(
36
+ client: UnifiedToCore,
37
+ request: operations.PatchUnifiedWebhookResumeRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ shared.Webhook,
42
+ | UnifiedToError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ request,
55
+ options,
56
+ ));
57
+ }
58
+
59
+ async function $do(
60
+ client: UnifiedToCore,
61
+ request: operations.PatchUnifiedWebhookResumeRequest,
62
+ options?: RequestOptions,
63
+ ): Promise<
64
+ [
65
+ Result<
66
+ shared.Webhook,
67
+ | UnifiedToError
68
+ | ResponseValidationError
69
+ | ConnectionError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | InvalidRequestError
73
+ | UnexpectedClientError
74
+ | SDKValidationError
75
+ >,
76
+ APICall,
77
+ ]
78
+ > {
79
+ const parsed = safeParse(
80
+ request,
81
+ (value) =>
82
+ operations.PatchUnifiedWebhookResumeRequest$outboundSchema.parse(value),
83
+ "Input validation failed",
84
+ );
85
+ if (!parsed.ok) {
86
+ return [parsed, { status: "invalid" }];
87
+ }
88
+ const payload = parsed.value;
89
+ const body = null;
90
+
91
+ const pathParams = {
92
+ id: encodeSimple("id", payload.id, {
93
+ explode: false,
94
+ charEncoding: "percent",
95
+ }),
96
+ };
97
+ const path = pathToFunc("/unified/webhook/{id}/resume")(pathParams);
98
+
99
+ const headers = new Headers(compactMap({
100
+ Accept: "application/json",
101
+ }));
102
+
103
+ const securityInput = await extractSecurity(client._options.security);
104
+ const requestSecurity = resolveGlobalSecurity(securityInput);
105
+
106
+ const context = {
107
+ options: client._options,
108
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
109
+ operationID: "patchUnifiedWebhookResume",
110
+ oAuth2Scopes: null,
111
+
112
+ resolvedSecurity: requestSecurity,
113
+
114
+ securitySource: client._options.security,
115
+ retryConfig: options?.retries
116
+ || client._options.retryConfig
117
+ || { strategy: "none" },
118
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
119
+ };
120
+
121
+ const requestRes = client._createRequest(context, {
122
+ security: requestSecurity,
123
+ method: "PATCH",
124
+ baseURL: options?.serverURL,
125
+ path: path,
126
+ headers: headers,
127
+ body: body,
128
+ userAgent: client._options.userAgent,
129
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
130
+ }, options);
131
+ if (!requestRes.ok) {
132
+ return [requestRes, { status: "invalid" }];
133
+ }
134
+ const req = requestRes.value;
135
+
136
+ const doResult = await client._do(req, {
137
+ context,
138
+ isErrorStatusCode: (statusCode: number) =>
139
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
140
+ retryConfig: context.retryConfig,
141
+ retryCodes: context.retryCodes,
142
+ });
143
+ if (!doResult.ok) {
144
+ return [doResult, { status: "request-error", request: req }];
145
+ }
146
+ const response = doResult.value;
147
+
148
+ const [result] = await M.match<
149
+ shared.Webhook,
150
+ | UnifiedToError
151
+ | ResponseValidationError
152
+ | ConnectionError
153
+ | RequestAbortedError
154
+ | RequestTimeoutError
155
+ | InvalidRequestError
156
+ | UnexpectedClientError
157
+ | SDKValidationError
158
+ >(
159
+ M.json(200, shared.Webhook$inboundSchema),
160
+ M.fail("4XX"),
161
+ M.fail("5XX"),
162
+ )(response, req);
163
+ if (!result.ok) {
164
+ return [result, { status: "complete", request: req, response }];
165
+ }
166
+
167
+ return [result, { status: "complete", request: req, response }];
168
+ }
@@ -0,0 +1,168 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { UnifiedToCore } from "../core.js";
6
+ import { encodeSimple } from "../lib/encodings.js";
7
+ import { matchStatusCode } from "../lib/http.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import {
15
+ ConnectionError,
16
+ InvalidRequestError,
17
+ RequestAbortedError,
18
+ RequestTimeoutError,
19
+ UnexpectedClientError,
20
+ } from "../sdk/models/errors/httpclienterrors.js";
21
+ import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
22
+ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
23
+ import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
24
+ import * as operations from "../sdk/models/operations/index.js";
25
+ import * as shared from "../sdk/models/shared/index.js";
26
+ import { APICall, APIPromise } from "../sdk/types/async.js";
27
+ import { Result } from "../sdk/types/fp.js";
28
+
29
+ /**
30
+ * Resume an unhealthy webhook subscription
31
+ *
32
+ * @remarks
33
+ * Sets is_healthy back to true and restarts the webhook. Fix the cause first (hook_url, connection auth); the connection must be healthy. Virtual: continues from where it stopped. A webhook that went unhealthy mid-initial-sync before resume was available restarts its initial sync, so deleting and recreating it is safer. Native: re-subscribes if the provider subscription is missing or expired. Events received while the webhook was unhealthy are not re-sent. Webhook sync (beta): continues from the stored sync token. Page cursors are not stored yet, so a resume can re-send some records. Virtual and initial-sync webhooks that have been unhealthy for more than 7 days cannot be resumed, because resuming would re-send every change since then; delete and recreate them instead. MCP Events subscriptions cannot be resumed; they are managed by their MCP client.
34
+ */
35
+ export function unifiedUpdateUnifiedWebhookResume(
36
+ client: UnifiedToCore,
37
+ request: operations.UpdateUnifiedWebhookResumeRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ shared.Webhook,
42
+ | UnifiedToError
43
+ | ResponseValidationError
44
+ | ConnectionError
45
+ | RequestAbortedError
46
+ | RequestTimeoutError
47
+ | InvalidRequestError
48
+ | UnexpectedClientError
49
+ | SDKValidationError
50
+ >
51
+ > {
52
+ return new APIPromise($do(
53
+ client,
54
+ request,
55
+ options,
56
+ ));
57
+ }
58
+
59
+ async function $do(
60
+ client: UnifiedToCore,
61
+ request: operations.UpdateUnifiedWebhookResumeRequest,
62
+ options?: RequestOptions,
63
+ ): Promise<
64
+ [
65
+ Result<
66
+ shared.Webhook,
67
+ | UnifiedToError
68
+ | ResponseValidationError
69
+ | ConnectionError
70
+ | RequestAbortedError
71
+ | RequestTimeoutError
72
+ | InvalidRequestError
73
+ | UnexpectedClientError
74
+ | SDKValidationError
75
+ >,
76
+ APICall,
77
+ ]
78
+ > {
79
+ const parsed = safeParse(
80
+ request,
81
+ (value) =>
82
+ operations.UpdateUnifiedWebhookResumeRequest$outboundSchema.parse(value),
83
+ "Input validation failed",
84
+ );
85
+ if (!parsed.ok) {
86
+ return [parsed, { status: "invalid" }];
87
+ }
88
+ const payload = parsed.value;
89
+ const body = null;
90
+
91
+ const pathParams = {
92
+ id: encodeSimple("id", payload.id, {
93
+ explode: false,
94
+ charEncoding: "percent",
95
+ }),
96
+ };
97
+ const path = pathToFunc("/unified/webhook/{id}/resume")(pathParams);
98
+
99
+ const headers = new Headers(compactMap({
100
+ Accept: "application/json",
101
+ }));
102
+
103
+ const securityInput = await extractSecurity(client._options.security);
104
+ const requestSecurity = resolveGlobalSecurity(securityInput);
105
+
106
+ const context = {
107
+ options: client._options,
108
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
109
+ operationID: "updateUnifiedWebhookResume",
110
+ oAuth2Scopes: null,
111
+
112
+ resolvedSecurity: requestSecurity,
113
+
114
+ securitySource: client._options.security,
115
+ retryConfig: options?.retries
116
+ || client._options.retryConfig
117
+ || { strategy: "none" },
118
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
119
+ };
120
+
121
+ const requestRes = client._createRequest(context, {
122
+ security: requestSecurity,
123
+ method: "PUT",
124
+ baseURL: options?.serverURL,
125
+ path: path,
126
+ headers: headers,
127
+ body: body,
128
+ userAgent: client._options.userAgent,
129
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
130
+ }, options);
131
+ if (!requestRes.ok) {
132
+ return [requestRes, { status: "invalid" }];
133
+ }
134
+ const req = requestRes.value;
135
+
136
+ const doResult = await client._do(req, {
137
+ context,
138
+ isErrorStatusCode: (statusCode: number) =>
139
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
140
+ retryConfig: context.retryConfig,
141
+ retryCodes: context.retryCodes,
142
+ });
143
+ if (!doResult.ok) {
144
+ return [doResult, { status: "request-error", request: req }];
145
+ }
146
+ const response = doResult.value;
147
+
148
+ const [result] = await M.match<
149
+ shared.Webhook,
150
+ | UnifiedToError
151
+ | ResponseValidationError
152
+ | ConnectionError
153
+ | RequestAbortedError
154
+ | RequestTimeoutError
155
+ | InvalidRequestError
156
+ | UnexpectedClientError
157
+ | SDKValidationError
158
+ >(
159
+ M.json(200, shared.Webhook$inboundSchema),
160
+ M.fail("4XX"),
161
+ M.fail("5XX"),
162
+ )(response, req);
163
+ if (!result.ok) {
164
+ return [result, { status: "complete", request: req, response }];
165
+ }
166
+
167
+ return [result, { status: "complete", request: req, response }];
168
+ }
package/src/lib/config.ts CHANGED
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
73
73
  export const SDK_METADATA = {
74
74
  language: "typescript",
75
75
  openapiDocVersion: "1.0",
76
- sdkVersion: "2.86.3",
76
+ sdkVersion: "2.86.5",
77
77
  genVersion: "2.950.13",
78
78
  userAgent:
79
- "speakeasy-sdk/typescript 2.86.3 2.950.13 1.0 @unified-api/typescript-sdk",
79
+ "speakeasy-sdk/typescript 2.86.5 2.950.13 1.0 @unified-api/typescript-sdk",
80
80
  } as const;
@@ -7,12 +7,16 @@ import { calendarCreateCalendarLink } from "../funcs/calendarCreateCalendarLink.
7
7
  import { calendarCreateCalendarWebinar } from "../funcs/calendarCreateCalendarWebinar.js";
8
8
  import { calendarGetCalendarCalendar } from "../funcs/calendarGetCalendarCalendar.js";
9
9
  import { calendarGetCalendarLink } from "../funcs/calendarGetCalendarLink.js";
10
+ import { calendarGetCalendarLocation } from "../funcs/calendarGetCalendarLocation.js";
10
11
  import { calendarGetCalendarRecording } from "../funcs/calendarGetCalendarRecording.js";
12
+ import { calendarGetCalendarRoom } from "../funcs/calendarGetCalendarRoom.js";
11
13
  import { calendarGetCalendarWebinar } from "../funcs/calendarGetCalendarWebinar.js";
12
14
  import { calendarListCalendarBusies } from "../funcs/calendarListCalendarBusies.js";
13
15
  import { calendarListCalendarCalendars } from "../funcs/calendarListCalendarCalendars.js";
14
16
  import { calendarListCalendarLinks } from "../funcs/calendarListCalendarLinks.js";
17
+ import { calendarListCalendarLocations } from "../funcs/calendarListCalendarLocations.js";
15
18
  import { calendarListCalendarRecordings } from "../funcs/calendarListCalendarRecordings.js";
19
+ import { calendarListCalendarRooms } from "../funcs/calendarListCalendarRooms.js";
16
20
  import { calendarListCalendarWebinars } from "../funcs/calendarListCalendarWebinars.js";
17
21
  import { calendarPatchCalendarCalendar } from "../funcs/calendarPatchCalendarCalendar.js";
18
22
  import { calendarPatchCalendarLink } from "../funcs/calendarPatchCalendarLink.js";
@@ -154,6 +158,23 @@ export class Calendar extends ClientSDK {
154
158
  ));
155
159
  }
156
160
 
161
+ /**
162
+ * Retrieve a location
163
+ *
164
+ * @remarks
165
+ * Retrieves a single CalendarLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
166
+ */
167
+ async getCalendarLocation(
168
+ request: operations.GetCalendarLocationRequest,
169
+ options?: RequestOptions,
170
+ ): Promise<shared.CalendarLocation> {
171
+ return unwrapAsync(calendarGetCalendarLocation(
172
+ this,
173
+ request,
174
+ options,
175
+ ));
176
+ }
177
+
157
178
  /**
158
179
  * Retrieve a recording
159
180
  *
@@ -171,6 +192,23 @@ export class Calendar extends ClientSDK {
171
192
  ));
172
193
  }
173
194
 
195
+ /**
196
+ * Retrieve a room
197
+ *
198
+ * @remarks
199
+ * Retrieves a single CalendarRoom by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
200
+ */
201
+ async getCalendarRoom(
202
+ request: operations.GetCalendarRoomRequest,
203
+ options?: RequestOptions,
204
+ ): Promise<shared.CalendarRoom> {
205
+ return unwrapAsync(calendarGetCalendarRoom(
206
+ this,
207
+ request,
208
+ options,
209
+ ));
210
+ }
211
+
174
212
  /**
175
213
  * Retrieve a webinar
176
214
  *
@@ -256,6 +294,23 @@ export class Calendar extends ClientSDK {
256
294
  ));
257
295
  }
258
296
 
297
+ /**
298
+ * List all locations
299
+ *
300
+ * @remarks
301
+ * Returns a list of CalendarLocations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
302
+ */
303
+ async listCalendarLocations(
304
+ request: operations.ListCalendarLocationsRequest,
305
+ options?: RequestOptions,
306
+ ): Promise<Array<shared.CalendarLocation>> {
307
+ return unwrapAsync(calendarListCalendarLocations(
308
+ this,
309
+ request,
310
+ options,
311
+ ));
312
+ }
313
+
259
314
  /**
260
315
  * List all recordings
261
316
  *
@@ -273,6 +328,23 @@ export class Calendar extends ClientSDK {
273
328
  ));
274
329
  }
275
330
 
331
+ /**
332
+ * List all rooms
333
+ *
334
+ * @remarks
335
+ * Returns a list of CalendarRooms. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
336
+ */
337
+ async listCalendarRooms(
338
+ request: operations.ListCalendarRoomsRequest,
339
+ options?: RequestOptions,
340
+ ): Promise<Array<shared.CalendarRoom>> {
341
+ return unwrapAsync(calendarListCalendarRooms(
342
+ this,
343
+ request,
344
+ options,
345
+ ));
346
+ }
347
+
276
348
  /**
277
349
  * List all webinars
278
350
  *
package/src/sdk/clubs.ts CHANGED
@@ -4,14 +4,14 @@
4
4
 
5
5
  import { activityGetClubsActivity } from "../funcs/activityGetClubsActivity.js";
6
6
  import { activityListClubsActivities } from "../funcs/activityListClubsActivities.js";
7
- import { clubsGetClubsLocation } from "../funcs/clubsGetClubsLocation.js";
8
7
  import { clubsGetClubsMember } from "../funcs/clubsGetClubsMember.js";
9
- import { clubsListClubsLocations } from "../funcs/clubsListClubsLocations.js";
10
8
  import { clubsListClubsMembers } from "../funcs/clubsListClubsMembers.js";
11
9
  import { eventGetClubsEvent } from "../funcs/eventGetClubsEvent.js";
12
10
  import { eventListClubsEvents } from "../funcs/eventListClubsEvents.js";
13
11
  import { groupGetClubsGroup } from "../funcs/groupGetClubsGroup.js";
14
12
  import { groupListClubsGroups } from "../funcs/groupListClubsGroups.js";
13
+ import { locationGetClubsLocation } from "../funcs/locationGetClubsLocation.js";
14
+ import { locationListClubsLocations } from "../funcs/locationListClubsLocations.js";
15
15
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
16
16
  import * as operations from "./models/operations/index.js";
17
17
  import * as shared from "./models/shared/index.js";
@@ -79,7 +79,7 @@ export class Clubs extends ClientSDK {
79
79
  request: operations.GetClubsLocationRequest,
80
80
  options?: RequestOptions,
81
81
  ): Promise<shared.ClubsLocation> {
82
- return unwrapAsync(clubsGetClubsLocation(
82
+ return unwrapAsync(locationGetClubsLocation(
83
83
  this,
84
84
  request,
85
85
  options,
@@ -164,7 +164,7 @@ export class Clubs extends ClientSDK {
164
164
  request: operations.ListClubsLocationsRequest,
165
165
  options?: RequestOptions,
166
166
  ): Promise<Array<shared.ClubsLocation>> {
167
- return unwrapAsync(clubsListClubsLocations(
167
+ return unwrapAsync(locationListClubsLocations(
168
168
  this,
169
169
  request,
170
170
  options,
@@ -2,13 +2,15 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { clubsGetClubsLocation } from "../funcs/clubsGetClubsLocation.js";
6
- import { clubsListClubsLocations } from "../funcs/clubsListClubsLocations.js";
5
+ import { calendarGetCalendarLocation } from "../funcs/calendarGetCalendarLocation.js";
6
+ import { calendarListCalendarLocations } from "../funcs/calendarListCalendarLocations.js";
7
7
  import { locationCreateCommerceLocation } from "../funcs/locationCreateCommerceLocation.js";
8
8
  import { locationCreateHrisLocation } from "../funcs/locationCreateHrisLocation.js";
9
+ import { locationGetClubsLocation } from "../funcs/locationGetClubsLocation.js";
9
10
  import { locationGetCommerceLocation } from "../funcs/locationGetCommerceLocation.js";
10
11
  import { locationGetHealthcareLocation } from "../funcs/locationGetHealthcareLocation.js";
11
12
  import { locationGetHrisLocation } from "../funcs/locationGetHrisLocation.js";
13
+ import { locationListClubsLocations } from "../funcs/locationListClubsLocations.js";
12
14
  import { locationListCommerceLocations } from "../funcs/locationListCommerceLocations.js";
13
15
  import { locationListHealthcareLocations } from "../funcs/locationListHealthcareLocations.js";
14
16
  import { locationListHrisLocations } from "../funcs/locationListHrisLocations.js";
@@ -58,6 +60,23 @@ export class Location extends ClientSDK {
58
60
  ));
59
61
  }
60
62
 
63
+ /**
64
+ * Retrieve a location
65
+ *
66
+ * @remarks
67
+ * Retrieves a single CalendarLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
68
+ */
69
+ async getCalendarLocation(
70
+ request: operations.GetCalendarLocationRequest,
71
+ options?: RequestOptions,
72
+ ): Promise<shared.CalendarLocation> {
73
+ return unwrapAsync(calendarGetCalendarLocation(
74
+ this,
75
+ request,
76
+ options,
77
+ ));
78
+ }
79
+
61
80
  /**
62
81
  * Retrieve a location
63
82
  *
@@ -68,7 +87,7 @@ export class Location extends ClientSDK {
68
87
  request: operations.GetClubsLocationRequest,
69
88
  options?: RequestOptions,
70
89
  ): Promise<shared.ClubsLocation> {
71
- return unwrapAsync(clubsGetClubsLocation(
90
+ return unwrapAsync(locationGetClubsLocation(
72
91
  this,
73
92
  request,
74
93
  options,
@@ -126,6 +145,23 @@ export class Location extends ClientSDK {
126
145
  ));
127
146
  }
128
147
 
148
+ /**
149
+ * List all locations
150
+ *
151
+ * @remarks
152
+ * Returns a list of CalendarLocations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
153
+ */
154
+ async listCalendarLocations(
155
+ request: operations.ListCalendarLocationsRequest,
156
+ options?: RequestOptions,
157
+ ): Promise<Array<shared.CalendarLocation>> {
158
+ return unwrapAsync(calendarListCalendarLocations(
159
+ this,
160
+ request,
161
+ options,
162
+ ));
163
+ }
164
+
129
165
  /**
130
166
  * List all locations
131
167
  *
@@ -136,7 +172,7 @@ export class Location extends ClientSDK {
136
172
  request: operations.ListClubsLocationsRequest,
137
173
  options?: RequestOptions,
138
174
  ): Promise<Array<shared.ClubsLocation>> {
139
- return unwrapAsync(clubsListClubsLocations(
175
+ return unwrapAsync(locationListClubsLocations(
140
176
  this,
141
177
  request,
142
178
  options,
@@ -34,6 +34,7 @@ export const CreateCalendarEventQueryParamFields = {
34
34
  MatterId: "matter_id",
35
35
  Metadata: "metadata",
36
36
  Raw: "raw",
37
+ RoomIds: "room_ids",
37
38
  } as const;
38
39
  export type CreateCalendarEventQueryParamFields = ClosedEnum<
39
40
  typeof CreateCalendarEventQueryParamFields
@@ -33,6 +33,7 @@ export const GetCalendarEventQueryParamFields = {
33
33
  MatterId: "matter_id",
34
34
  Metadata: "metadata",
35
35
  Raw: "raw",
36
+ RoomIds: "room_ids",
36
37
  } as const;
37
38
  export type GetCalendarEventQueryParamFields = ClosedEnum<
38
39
  typeof GetCalendarEventQueryParamFields
@@ -0,0 +1,81 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+
9
+ export const GetCalendarLocationQueryParamFields = {
10
+ Id: "id",
11
+ Name: "name",
12
+ ParentId: "parent_id",
13
+ Type: "type",
14
+ Address: "address",
15
+ Raw: "raw",
16
+ CreatedAt: "created_at",
17
+ UpdatedAt: "updated_at",
18
+ Timezone: "timezone",
19
+ Metadata: "metadata",
20
+ } as const;
21
+ export type GetCalendarLocationQueryParamFields = ClosedEnum<
22
+ typeof GetCalendarLocationQueryParamFields
23
+ >;
24
+
25
+ export type GetCalendarLocationRequest = {
26
+ /**
27
+ * ID of the connection
28
+ */
29
+ connectionId: string;
30
+ /**
31
+ * Fields to return
32
+ */
33
+ fields?: Array<GetCalendarLocationQueryParamFields> | undefined;
34
+ /**
35
+ * ID of the Location
36
+ */
37
+ id: string;
38
+ /**
39
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
40
+ */
41
+ raw?: string | undefined;
42
+ };
43
+
44
+ /** @internal */
45
+ export const GetCalendarLocationQueryParamFields$outboundSchema:
46
+ z.ZodNativeEnum<typeof GetCalendarLocationQueryParamFields> = z.nativeEnum(
47
+ GetCalendarLocationQueryParamFields,
48
+ );
49
+
50
+ /** @internal */
51
+ export type GetCalendarLocationRequest$Outbound = {
52
+ connection_id: string;
53
+ fields?: Array<string> | undefined;
54
+ id: string;
55
+ raw?: string | undefined;
56
+ };
57
+
58
+ /** @internal */
59
+ export const GetCalendarLocationRequest$outboundSchema: z.ZodType<
60
+ GetCalendarLocationRequest$Outbound,
61
+ z.ZodTypeDef,
62
+ GetCalendarLocationRequest
63
+ > = z.object({
64
+ connectionId: z.string(),
65
+ fields: z.array(GetCalendarLocationQueryParamFields$outboundSchema)
66
+ .optional(),
67
+ id: z.string(),
68
+ raw: z.string().optional(),
69
+ }).transform((v) => {
70
+ return remap$(v, {
71
+ connectionId: "connection_id",
72
+ });
73
+ });
74
+
75
+ export function getCalendarLocationRequestToJSON(
76
+ getCalendarLocationRequest: GetCalendarLocationRequest,
77
+ ): string {
78
+ return JSON.stringify(
79
+ GetCalendarLocationRequest$outboundSchema.parse(getCalendarLocationRequest),
80
+ );
81
+ }