@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,87 @@
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 GetCalendarRoomQueryParamFields = {
10
+ Id: "id",
11
+ Name: "name",
12
+ Capacity: "capacity",
13
+ LocationId: "location_id",
14
+ Raw: "raw",
15
+ CreatedAt: "created_at",
16
+ UpdatedAt: "updated_at",
17
+ Description: "description",
18
+ Type: "type",
19
+ Email: "email",
20
+ CalendarId: "calendar_id",
21
+ Floor: "floor",
22
+ Timezone: "timezone",
23
+ WebUrl: "web_url",
24
+ IsActive: "is_active",
25
+ IsBookable: "is_bookable",
26
+ Features: "features",
27
+ Metadata: "metadata",
28
+ } as const;
29
+ export type GetCalendarRoomQueryParamFields = ClosedEnum<
30
+ typeof GetCalendarRoomQueryParamFields
31
+ >;
32
+
33
+ export type GetCalendarRoomRequest = {
34
+ /**
35
+ * ID of the connection
36
+ */
37
+ connectionId: string;
38
+ /**
39
+ * Fields to return
40
+ */
41
+ fields?: Array<GetCalendarRoomQueryParamFields> | undefined;
42
+ /**
43
+ * ID of the Room
44
+ */
45
+ id: string;
46
+ /**
47
+ * 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
48
+ */
49
+ raw?: string | undefined;
50
+ };
51
+
52
+ /** @internal */
53
+ export const GetCalendarRoomQueryParamFields$outboundSchema: z.ZodNativeEnum<
54
+ typeof GetCalendarRoomQueryParamFields
55
+ > = z.nativeEnum(GetCalendarRoomQueryParamFields);
56
+
57
+ /** @internal */
58
+ export type GetCalendarRoomRequest$Outbound = {
59
+ connection_id: string;
60
+ fields?: Array<string> | undefined;
61
+ id: string;
62
+ raw?: string | undefined;
63
+ };
64
+
65
+ /** @internal */
66
+ export const GetCalendarRoomRequest$outboundSchema: z.ZodType<
67
+ GetCalendarRoomRequest$Outbound,
68
+ z.ZodTypeDef,
69
+ GetCalendarRoomRequest
70
+ > = z.object({
71
+ connectionId: z.string(),
72
+ fields: z.array(GetCalendarRoomQueryParamFields$outboundSchema).optional(),
73
+ id: z.string(),
74
+ raw: z.string().optional(),
75
+ }).transform((v) => {
76
+ return remap$(v, {
77
+ connectionId: "connection_id",
78
+ });
79
+ });
80
+
81
+ export function getCalendarRoomRequestToJSON(
82
+ getCalendarRoomRequest: GetCalendarRoomRequest,
83
+ ): string {
84
+ return JSON.stringify(
85
+ GetCalendarRoomRequest$outboundSchema.parse(getCalendarRoomRequest),
86
+ );
87
+ }
@@ -216,7 +216,9 @@ export * from "./getatsscorecard.js";
216
216
  export * from "./getcalendarcalendar.js";
217
217
  export * from "./getcalendarevent.js";
218
218
  export * from "./getcalendarlink.js";
219
+ export * from "./getcalendarlocation.js";
219
220
  export * from "./getcalendarrecording.js";
221
+ export * from "./getcalendarroom.js";
220
222
  export * from "./getcalendarwebinar.js";
221
223
  export * from "./getcdpactivation.js";
222
224
  export * from "./getcdpdestination.js";
@@ -430,7 +432,9 @@ export * from "./listcalendarbusies.js";
430
432
  export * from "./listcalendarcalendars.js";
431
433
  export * from "./listcalendarevents.js";
432
434
  export * from "./listcalendarlinks.js";
435
+ export * from "./listcalendarlocations.js";
433
436
  export * from "./listcalendarrecordings.js";
437
+ export * from "./listcalendarrooms.js";
434
438
  export * from "./listcalendarwebinars.js";
435
439
  export * from "./listcdpactivations.js";
436
440
  export * from "./listcdpdestinations.js";
@@ -742,6 +746,7 @@ export * from "./patchuccontact.js";
742
746
  export * from "./patchucrecording.js";
743
747
  export * from "./patchunifiedconnection.js";
744
748
  export * from "./patchunifiedwebhook.js";
749
+ export * from "./patchunifiedwebhookresume.js";
745
750
  export * from "./patchunifiedwebhooktrigger.js";
746
751
  export * from "./patchverificationrequest.js";
747
752
  export * from "./removeaccountingaccount.js";
@@ -1039,5 +1044,6 @@ export * from "./updateuccontact.js";
1039
1044
  export * from "./updateucrecording.js";
1040
1045
  export * from "./updateunifiedconnection.js";
1041
1046
  export * from "./updateunifiedwebhook.js";
1047
+ export * from "./updateunifiedwebhookresume.js";
1042
1048
  export * from "./updateunifiedwebhooktrigger.js";
1043
1049
  export * from "./updateverificationrequest.js";
@@ -47,6 +47,10 @@ export type ListCalendarBusiesRequest = {
47
47
  * 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
48
48
  */
49
49
  raw?: string | undefined;
50
+ /**
51
+ * The room ID to get availability for.
52
+ */
53
+ roomId?: string | undefined;
50
54
  sort?: string | undefined;
51
55
  /**
52
56
  * The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
@@ -78,6 +82,7 @@ export type ListCalendarBusiesRequest$Outbound = {
78
82
  order?: string | undefined;
79
83
  query?: string | undefined;
80
84
  raw?: string | undefined;
85
+ room_id?: string | undefined;
81
86
  sort?: string | undefined;
82
87
  start_gte?: string | undefined;
83
88
  updated_gte?: string | undefined;
@@ -99,6 +104,7 @@ export const ListCalendarBusiesRequest$outboundSchema: z.ZodType<
99
104
  order: z.string().optional(),
100
105
  query: z.string().optional(),
101
106
  raw: z.string().optional(),
107
+ roomId: z.string().optional(),
102
108
  sort: z.string().optional(),
103
109
  startGte: z.string().optional(),
104
110
  updatedGte: z.string().optional(),
@@ -108,6 +114,7 @@ export const ListCalendarBusiesRequest$outboundSchema: z.ZodType<
108
114
  calendarId: "calendar_id",
109
115
  connectionId: "connection_id",
110
116
  endLt: "end_lt",
117
+ roomId: "room_id",
111
118
  startGte: "start_gte",
112
119
  updatedGte: "updated_gte",
113
120
  userId: "user_id",
@@ -33,6 +33,7 @@ export const ListCalendarEventsQueryParamFields = {
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 ListCalendarEventsQueryParamFields = ClosedEnum<
38
39
  typeof ListCalendarEventsQueryParamFields
@@ -74,6 +75,10 @@ export type ListCalendarEventsRequest = {
74
75
  * 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
75
76
  */
76
77
  raw?: string | undefined;
78
+ /**
79
+ * The room ID to filter by. Returns the events that booked this room.
80
+ */
81
+ roomId?: string | undefined;
77
82
  sort?: string | undefined;
78
83
  /**
79
84
  * The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
@@ -103,6 +108,7 @@ export type ListCalendarEventsRequest$Outbound = {
103
108
  order?: string | undefined;
104
109
  query?: string | undefined;
105
110
  raw?: string | undefined;
111
+ room_id?: string | undefined;
106
112
  sort?: string | undefined;
107
113
  start_gte?: string | undefined;
108
114
  updated_gte?: string | undefined;
@@ -125,6 +131,7 @@ export const ListCalendarEventsRequest$outboundSchema: z.ZodType<
125
131
  order: z.string().optional(),
126
132
  query: z.string().optional(),
127
133
  raw: z.string().optional(),
134
+ roomId: z.string().optional(),
128
135
  sort: z.string().optional(),
129
136
  startGte: z.string().optional(),
130
137
  updatedGte: z.string().optional(),
@@ -134,6 +141,7 @@ export const ListCalendarEventsRequest$outboundSchema: z.ZodType<
134
141
  connectionId: "connection_id",
135
142
  endLt: "end_lt",
136
143
  matterId: "matter_id",
144
+ roomId: "room_id",
137
145
  startGte: "start_gte",
138
146
  updatedGte: "updated_gte",
139
147
  });
@@ -0,0 +1,109 @@
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 ListCalendarLocationsQueryParamFields = {
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 ListCalendarLocationsQueryParamFields = ClosedEnum<
22
+ typeof ListCalendarLocationsQueryParamFields
23
+ >;
24
+
25
+ export type ListCalendarLocationsRequest = {
26
+ /**
27
+ * ID of the connection
28
+ */
29
+ connectionId: string;
30
+ /**
31
+ * Fields to return
32
+ */
33
+ fields?: Array<ListCalendarLocationsQueryParamFields> | undefined;
34
+ limit?: number | undefined;
35
+ offset?: number | undefined;
36
+ order?: string | undefined;
37
+ /**
38
+ * The parent ID to filter by
39
+ */
40
+ parentId?: string | undefined;
41
+ /**
42
+ * Query string to search. eg. email address or name
43
+ */
44
+ query?: string | undefined;
45
+ /**
46
+ * 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
47
+ */
48
+ raw?: string | undefined;
49
+ sort?: string | undefined;
50
+ /**
51
+ * Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
52
+ */
53
+ updatedGte?: string | undefined;
54
+ };
55
+
56
+ /** @internal */
57
+ export const ListCalendarLocationsQueryParamFields$outboundSchema:
58
+ z.ZodNativeEnum<typeof ListCalendarLocationsQueryParamFields> = z.nativeEnum(
59
+ ListCalendarLocationsQueryParamFields,
60
+ );
61
+
62
+ /** @internal */
63
+ export type ListCalendarLocationsRequest$Outbound = {
64
+ connection_id: string;
65
+ fields?: Array<string> | undefined;
66
+ limit?: number | undefined;
67
+ offset?: number | undefined;
68
+ order?: string | undefined;
69
+ parent_id?: string | undefined;
70
+ query?: string | undefined;
71
+ raw?: string | undefined;
72
+ sort?: string | undefined;
73
+ updated_gte?: string | undefined;
74
+ };
75
+
76
+ /** @internal */
77
+ export const ListCalendarLocationsRequest$outboundSchema: z.ZodType<
78
+ ListCalendarLocationsRequest$Outbound,
79
+ z.ZodTypeDef,
80
+ ListCalendarLocationsRequest
81
+ > = z.object({
82
+ connectionId: z.string(),
83
+ fields: z.array(ListCalendarLocationsQueryParamFields$outboundSchema)
84
+ .optional(),
85
+ limit: z.number().optional(),
86
+ offset: z.number().optional(),
87
+ order: z.string().optional(),
88
+ parentId: z.string().optional(),
89
+ query: z.string().optional(),
90
+ raw: z.string().optional(),
91
+ sort: z.string().optional(),
92
+ updatedGte: z.string().optional(),
93
+ }).transform((v) => {
94
+ return remap$(v, {
95
+ connectionId: "connection_id",
96
+ parentId: "parent_id",
97
+ updatedGte: "updated_gte",
98
+ });
99
+ });
100
+
101
+ export function listCalendarLocationsRequestToJSON(
102
+ listCalendarLocationsRequest: ListCalendarLocationsRequest,
103
+ ): string {
104
+ return JSON.stringify(
105
+ ListCalendarLocationsRequest$outboundSchema.parse(
106
+ listCalendarLocationsRequest,
107
+ ),
108
+ );
109
+ }
@@ -0,0 +1,119 @@
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 ListCalendarRoomsQueryParamFields = {
10
+ Id: "id",
11
+ Name: "name",
12
+ Capacity: "capacity",
13
+ LocationId: "location_id",
14
+ Raw: "raw",
15
+ CreatedAt: "created_at",
16
+ UpdatedAt: "updated_at",
17
+ Description: "description",
18
+ Type: "type",
19
+ Email: "email",
20
+ CalendarId: "calendar_id",
21
+ Floor: "floor",
22
+ Timezone: "timezone",
23
+ WebUrl: "web_url",
24
+ IsActive: "is_active",
25
+ IsBookable: "is_bookable",
26
+ Features: "features",
27
+ Metadata: "metadata",
28
+ } as const;
29
+ export type ListCalendarRoomsQueryParamFields = ClosedEnum<
30
+ typeof ListCalendarRoomsQueryParamFields
31
+ >;
32
+
33
+ export type ListCalendarRoomsRequest = {
34
+ /**
35
+ * ID of the connection
36
+ */
37
+ connectionId: string;
38
+ /**
39
+ * Fields to return
40
+ */
41
+ fields?: Array<ListCalendarRoomsQueryParamFields> | undefined;
42
+ limit?: number | undefined;
43
+ /**
44
+ * The location ID to filter by
45
+ */
46
+ locationId?: string | undefined;
47
+ offset?: number | undefined;
48
+ order?: string | undefined;
49
+ /**
50
+ * Query string to search. eg. email address or name
51
+ */
52
+ query?: string | undefined;
53
+ /**
54
+ * 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
55
+ */
56
+ raw?: string | undefined;
57
+ sort?: string | undefined;
58
+ /**
59
+ * The room type to filter by (ROOM, DESK or OTHER)
60
+ */
61
+ type?: string | undefined;
62
+ /**
63
+ * Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
64
+ */
65
+ updatedGte?: string | undefined;
66
+ };
67
+
68
+ /** @internal */
69
+ export const ListCalendarRoomsQueryParamFields$outboundSchema: z.ZodNativeEnum<
70
+ typeof ListCalendarRoomsQueryParamFields
71
+ > = z.nativeEnum(ListCalendarRoomsQueryParamFields);
72
+
73
+ /** @internal */
74
+ export type ListCalendarRoomsRequest$Outbound = {
75
+ connection_id: string;
76
+ fields?: Array<string> | undefined;
77
+ limit?: number | undefined;
78
+ location_id?: string | undefined;
79
+ offset?: number | undefined;
80
+ order?: string | undefined;
81
+ query?: string | undefined;
82
+ raw?: string | undefined;
83
+ sort?: string | undefined;
84
+ type?: string | undefined;
85
+ updated_gte?: string | undefined;
86
+ };
87
+
88
+ /** @internal */
89
+ export const ListCalendarRoomsRequest$outboundSchema: z.ZodType<
90
+ ListCalendarRoomsRequest$Outbound,
91
+ z.ZodTypeDef,
92
+ ListCalendarRoomsRequest
93
+ > = z.object({
94
+ connectionId: z.string(),
95
+ fields: z.array(ListCalendarRoomsQueryParamFields$outboundSchema).optional(),
96
+ limit: z.number().optional(),
97
+ locationId: z.string().optional(),
98
+ offset: z.number().optional(),
99
+ order: z.string().optional(),
100
+ query: z.string().optional(),
101
+ raw: z.string().optional(),
102
+ sort: z.string().optional(),
103
+ type: z.string().optional(),
104
+ updatedGte: z.string().optional(),
105
+ }).transform((v) => {
106
+ return remap$(v, {
107
+ connectionId: "connection_id",
108
+ locationId: "location_id",
109
+ updatedGte: "updated_gte",
110
+ });
111
+ });
112
+
113
+ export function listCalendarRoomsRequestToJSON(
114
+ listCalendarRoomsRequest: ListCalendarRoomsRequest,
115
+ ): string {
116
+ return JSON.stringify(
117
+ ListCalendarRoomsRequest$outboundSchema.parse(listCalendarRoomsRequest),
118
+ );
119
+ }
@@ -34,6 +34,7 @@ export const PatchCalendarEventQueryParamFields = {
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 PatchCalendarEventQueryParamFields = ClosedEnum<
39
40
  typeof PatchCalendarEventQueryParamFields
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type PatchUnifiedWebhookResumeRequest = {
8
+ /**
9
+ * ID of the Webhook
10
+ */
11
+ id: string;
12
+ };
13
+
14
+ /** @internal */
15
+ export type PatchUnifiedWebhookResumeRequest$Outbound = {
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const PatchUnifiedWebhookResumeRequest$outboundSchema: z.ZodType<
21
+ PatchUnifiedWebhookResumeRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ PatchUnifiedWebhookResumeRequest
24
+ > = z.object({
25
+ id: z.string(),
26
+ });
27
+
28
+ export function patchUnifiedWebhookResumeRequestToJSON(
29
+ patchUnifiedWebhookResumeRequest: PatchUnifiedWebhookResumeRequest,
30
+ ): string {
31
+ return JSON.stringify(
32
+ PatchUnifiedWebhookResumeRequest$outboundSchema.parse(
33
+ patchUnifiedWebhookResumeRequest,
34
+ ),
35
+ );
36
+ }
@@ -34,6 +34,7 @@ export const UpdateCalendarEventQueryParamFields = {
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 UpdateCalendarEventQueryParamFields = ClosedEnum<
39
40
  typeof UpdateCalendarEventQueryParamFields
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+
7
+ export type UpdateUnifiedWebhookResumeRequest = {
8
+ /**
9
+ * ID of the Webhook
10
+ */
11
+ id: string;
12
+ };
13
+
14
+ /** @internal */
15
+ export type UpdateUnifiedWebhookResumeRequest$Outbound = {
16
+ id: string;
17
+ };
18
+
19
+ /** @internal */
20
+ export const UpdateUnifiedWebhookResumeRequest$outboundSchema: z.ZodType<
21
+ UpdateUnifiedWebhookResumeRequest$Outbound,
22
+ z.ZodTypeDef,
23
+ UpdateUnifiedWebhookResumeRequest
24
+ > = z.object({
25
+ id: z.string(),
26
+ });
27
+
28
+ export function updateUnifiedWebhookResumeRequestToJSON(
29
+ updateUnifiedWebhookResumeRequest: UpdateUnifiedWebhookResumeRequest,
30
+ ): string {
31
+ return JSON.stringify(
32
+ UpdateUnifiedWebhookResumeRequest$outboundSchema.parse(
33
+ updateUnifiedWebhookResumeRequest,
34
+ ),
35
+ );
36
+ }
@@ -88,6 +88,10 @@ export type CalendarEvent = {
88
88
  * (reference to CalendarEvent)
89
89
  */
90
90
  recurringEventId?: string | undefined;
91
+ /**
92
+ * pointers to Calendar Rooms booked for this event
93
+ */
94
+ roomIds?: Array<string> | undefined;
91
95
  sendNotifications?: boolean | undefined;
92
96
  /**
93
97
  * (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
@@ -141,6 +145,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
141
145
  raw: z.record(z.any()).optional(),
142
146
  recurrence: z.array(CalendarEventRecurrence$inboundSchema).optional(),
143
147
  recurring_event_id: z.string().optional(),
148
+ room_ids: z.array(z.string()).optional(),
144
149
  send_notifications: z.boolean().optional(),
145
150
  start_at: z.string().optional(),
146
151
  status: CalendarEventStatus$inboundSchema.optional(),
@@ -159,6 +164,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
159
164
  "is_private": "isPrivate",
160
165
  "matter_id": "matterId",
161
166
  "recurring_event_id": "recurringEventId",
167
+ "room_ids": "roomIds",
162
168
  "send_notifications": "sendNotifications",
163
169
  "start_at": "startAt",
164
170
  "updated_at": "updatedAt",
@@ -186,6 +192,7 @@ export type CalendarEvent$Outbound = {
186
192
  raw?: { [k: string]: any } | undefined;
187
193
  recurrence?: Array<CalendarEventRecurrence$Outbound> | undefined;
188
194
  recurring_event_id?: string | undefined;
195
+ room_ids?: Array<string> | undefined;
189
196
  send_notifications?: boolean | undefined;
190
197
  start_at?: string | undefined;
191
198
  status?: string | undefined;
@@ -220,6 +227,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
220
227
  raw: z.record(z.any()).optional(),
221
228
  recurrence: z.array(CalendarEventRecurrence$outboundSchema).optional(),
222
229
  recurringEventId: z.string().optional(),
230
+ roomIds: z.array(z.string()).optional(),
223
231
  sendNotifications: z.boolean().optional(),
224
232
  startAt: z.string().optional(),
225
233
  status: CalendarEventStatus$outboundSchema.optional(),
@@ -238,6 +246,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
238
246
  isPrivate: "is_private",
239
247
  matterId: "matter_id",
240
248
  recurringEventId: "recurring_event_id",
249
+ roomIds: "room_ids",
241
250
  sendNotifications: "send_notifications",
242
251
  startAt: "start_at",
243
252
  updatedAt: "updated_at",
@@ -0,0 +1,92 @@
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 { safeParse } from "../../../lib/schemas.js";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
10
+ import { Result as SafeParseResult } from "../../types/fp.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+ import {
13
+ CalendarMetadata,
14
+ CalendarMetadata$inboundSchema,
15
+ } from "./calendarmetadata.js";
16
+ import {
17
+ PropertyCalendarLocationAddress,
18
+ PropertyCalendarLocationAddress$inboundSchema,
19
+ } from "./propertycalendarlocationaddress.js";
20
+
21
+ export const CalendarLocationType = {
22
+ Building: "BUILDING",
23
+ Floor: "FLOOR",
24
+ Campus: "CAMPUS",
25
+ City: "CITY",
26
+ Region: "REGION",
27
+ Country: "COUNTRY",
28
+ Other: "OTHER",
29
+ } as const;
30
+ export type CalendarLocationType = OpenEnum<typeof CalendarLocationType>;
31
+
32
+ export type CalendarLocation = {
33
+ address?: PropertyCalendarLocationAddress | undefined;
34
+ /**
35
+ * (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
36
+ */
37
+ createdAt?: Date | undefined;
38
+ id?: string | undefined;
39
+ metadata?: Array<CalendarMetadata> | undefined;
40
+ name?: string | undefined;
41
+ parentId?: string | undefined;
42
+ raw?: { [k: string]: any } | undefined;
43
+ timezone?: string | undefined;
44
+ type?: CalendarLocationType | undefined;
45
+ /**
46
+ * (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
47
+ */
48
+ updatedAt?: Date | undefined;
49
+ };
50
+
51
+ /** @internal */
52
+ export const CalendarLocationType$inboundSchema: z.ZodType<
53
+ CalendarLocationType,
54
+ z.ZodTypeDef,
55
+ unknown
56
+ > = openEnums.inboundSchema(CalendarLocationType);
57
+
58
+ /** @internal */
59
+ export const CalendarLocation$inboundSchema: z.ZodType<
60
+ CalendarLocation,
61
+ z.ZodTypeDef,
62
+ unknown
63
+ > = z.object({
64
+ address: PropertyCalendarLocationAddress$inboundSchema.optional(),
65
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
66
+ .optional(),
67
+ id: z.string().optional(),
68
+ metadata: z.array(CalendarMetadata$inboundSchema).optional(),
69
+ name: z.string().optional(),
70
+ parent_id: z.string().optional(),
71
+ raw: z.record(z.any()).optional(),
72
+ timezone: z.string().optional(),
73
+ type: CalendarLocationType$inboundSchema.optional(),
74
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
75
+ .optional(),
76
+ }).transform((v) => {
77
+ return remap$(v, {
78
+ "created_at": "createdAt",
79
+ "parent_id": "parentId",
80
+ "updated_at": "updatedAt",
81
+ });
82
+ });
83
+
84
+ export function calendarLocationFromJSON(
85
+ jsonString: string,
86
+ ): SafeParseResult<CalendarLocation, SDKValidationError> {
87
+ return safeParse(
88
+ jsonString,
89
+ (x) => CalendarLocation$inboundSchema.parse(JSON.parse(x)),
90
+ `Failed to parse 'CalendarLocation' from JSON`,
91
+ );
92
+ }