@unified-api/typescript-sdk 2.86.3 → 2.86.4

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 (305) hide show
  1. package/FUNCTIONS.md +2 -2
  2. package/README.md +24 -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/lib/config.d.ts +2 -2
  32. package/dist/commonjs/lib/config.js +2 -2
  33. package/dist/commonjs/sdk/calendar.d.ts +28 -0
  34. package/dist/commonjs/sdk/calendar.d.ts.map +1 -1
  35. package/dist/commonjs/sdk/calendar.js +40 -0
  36. package/dist/commonjs/sdk/calendar.js.map +1 -1
  37. package/dist/commonjs/sdk/clubs.js +4 -4
  38. package/dist/commonjs/sdk/clubs.js.map +1 -1
  39. package/dist/commonjs/sdk/location.d.ts +14 -0
  40. package/dist/commonjs/sdk/location.d.ts.map +1 -1
  41. package/dist/commonjs/sdk/location.js +24 -4
  42. package/dist/commonjs/sdk/location.js.map +1 -1
  43. package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts +1 -0
  44. package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
  45. package/dist/commonjs/sdk/models/operations/createcalendarevent.js +1 -0
  46. package/dist/commonjs/sdk/models/operations/createcalendarevent.js.map +1 -1
  47. package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts +1 -0
  48. package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
  49. package/dist/commonjs/sdk/models/operations/getcalendarevent.js +1 -0
  50. package/dist/commonjs/sdk/models/operations/getcalendarevent.js.map +1 -1
  51. package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts +46 -0
  52. package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
  53. package/dist/commonjs/sdk/models/operations/getcalendarlocation.js +72 -0
  54. package/dist/commonjs/sdk/models/operations/getcalendarlocation.js.map +1 -0
  55. package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts +54 -0
  56. package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
  57. package/dist/commonjs/sdk/models/operations/getcalendarroom.js +79 -0
  58. package/dist/commonjs/sdk/models/operations/getcalendarroom.js.map +1 -0
  59. package/dist/commonjs/sdk/models/operations/index.d.ts +4 -0
  60. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  61. package/dist/commonjs/sdk/models/operations/index.js +4 -0
  62. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  63. package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts +5 -0
  64. package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
  65. package/dist/commonjs/sdk/models/operations/listcalendarbusies.js +2 -0
  66. package/dist/commonjs/sdk/models/operations/listcalendarbusies.js.map +1 -1
  67. package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts +6 -0
  68. package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
  69. package/dist/commonjs/sdk/models/operations/listcalendarevents.js +3 -0
  70. package/dist/commonjs/sdk/models/operations/listcalendarevents.js.map +1 -1
  71. package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts +64 -0
  72. package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
  73. package/dist/commonjs/sdk/models/operations/listcalendarlocations.js +80 -0
  74. package/dist/commonjs/sdk/models/operations/listcalendarlocations.js.map +1 -0
  75. package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts +77 -0
  76. package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
  77. package/dist/commonjs/sdk/models/operations/listcalendarrooms.js +88 -0
  78. package/dist/commonjs/sdk/models/operations/listcalendarrooms.js.map +1 -0
  79. package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts +1 -0
  80. package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
  81. package/dist/commonjs/sdk/models/operations/patchcalendarevent.js +1 -0
  82. package/dist/commonjs/sdk/models/operations/patchcalendarevent.js.map +1 -1
  83. package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts +1 -0
  84. package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
  85. package/dist/commonjs/sdk/models/operations/updatecalendarevent.js +1 -0
  86. package/dist/commonjs/sdk/models/operations/updatecalendarevent.js.map +1 -1
  87. package/dist/commonjs/sdk/models/shared/calendarevent.d.ts +5 -0
  88. package/dist/commonjs/sdk/models/shared/calendarevent.d.ts.map +1 -1
  89. package/dist/commonjs/sdk/models/shared/calendarevent.js +4 -0
  90. package/dist/commonjs/sdk/models/shared/calendarevent.js.map +1 -1
  91. package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts +42 -0
  92. package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts.map +1 -0
  93. package/dist/commonjs/sdk/models/shared/calendarlocation.js +82 -0
  94. package/dist/commonjs/sdk/models/shared/calendarlocation.js.map +1 -0
  95. package/dist/commonjs/sdk/models/shared/calendarroom.d.ts +54 -0
  96. package/dist/commonjs/sdk/models/shared/calendarroom.d.ts.map +1 -0
  97. package/dist/commonjs/sdk/models/shared/calendarroom.js +89 -0
  98. package/dist/commonjs/sdk/models/shared/calendarroom.js.map +1 -0
  99. package/dist/commonjs/sdk/models/shared/index.d.ts +4 -1
  100. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  101. package/dist/commonjs/sdk/models/shared/index.js +4 -1
  102. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  103. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +10 -1
  104. package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  105. package/dist/commonjs/sdk/models/shared/integrationsupport.js +163 -154
  106. package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
  107. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
  108. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
  109. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js +64 -0
  110. package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
  111. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  112. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  113. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  114. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  115. package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
  116. package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
  117. package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +12 -12
  118. package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
  119. package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
  120. package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
  121. package/dist/commonjs/sdk/models/shared/webhook.js +2 -0
  122. package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
  123. package/dist/commonjs/sdk/room.d.ts +20 -0
  124. package/dist/commonjs/sdk/room.d.ts.map +1 -0
  125. package/dist/commonjs/sdk/room.js +32 -0
  126. package/dist/commonjs/sdk/room.js.map +1 -0
  127. package/dist/commonjs/sdk/sdk.d.ts +5 -2
  128. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  129. package/dist/commonjs/sdk/sdk.js +7 -3
  130. package/dist/commonjs/sdk/sdk.js.map +1 -1
  131. package/dist/esm/funcs/calendarGetCalendarLocation.d.ts +18 -0
  132. package/dist/esm/funcs/calendarGetCalendarLocation.d.ts.map +1 -0
  133. package/dist/esm/funcs/calendarGetCalendarLocation.js +93 -0
  134. package/dist/esm/funcs/calendarGetCalendarLocation.js.map +1 -0
  135. package/dist/esm/funcs/calendarGetCalendarRoom.d.ts +18 -0
  136. package/dist/esm/funcs/{clubsListClubsLocations.d.ts.map → calendarGetCalendarRoom.d.ts.map} +1 -1
  137. package/dist/esm/funcs/calendarGetCalendarRoom.js +93 -0
  138. package/dist/esm/funcs/calendarGetCalendarRoom.js.map +1 -0
  139. package/dist/esm/funcs/calendarListCalendarBusies.js +1 -0
  140. package/dist/esm/funcs/calendarListCalendarBusies.js.map +1 -1
  141. package/dist/esm/funcs/calendarListCalendarLocations.d.ts +18 -0
  142. package/dist/esm/funcs/calendarListCalendarLocations.d.ts.map +1 -0
  143. package/dist/esm/funcs/calendarListCalendarLocations.js +97 -0
  144. package/dist/esm/funcs/calendarListCalendarLocations.js.map +1 -0
  145. package/dist/esm/funcs/calendarListCalendarRooms.d.ts +18 -0
  146. package/dist/esm/funcs/calendarListCalendarRooms.d.ts.map +1 -0
  147. package/dist/esm/funcs/calendarListCalendarRooms.js +98 -0
  148. package/dist/esm/funcs/calendarListCalendarRooms.js.map +1 -0
  149. package/dist/esm/funcs/eventListCalendarEvents.js +1 -0
  150. package/dist/esm/funcs/eventListCalendarEvents.js.map +1 -1
  151. package/dist/esm/funcs/{clubsGetClubsLocation.d.ts → locationGetClubsLocation.d.ts} +2 -2
  152. package/dist/esm/funcs/locationGetClubsLocation.d.ts.map +1 -0
  153. package/dist/esm/funcs/{clubsGetClubsLocation.js → locationGetClubsLocation.js} +2 -2
  154. package/dist/esm/funcs/locationGetClubsLocation.js.map +1 -0
  155. package/dist/esm/funcs/{clubsListClubsLocations.d.ts → locationListClubsLocations.d.ts} +2 -2
  156. package/dist/esm/funcs/locationListClubsLocations.d.ts.map +1 -0
  157. package/dist/esm/funcs/{clubsListClubsLocations.js → locationListClubsLocations.js} +2 -2
  158. package/dist/esm/funcs/locationListClubsLocations.js.map +1 -0
  159. package/dist/esm/lib/config.d.ts +2 -2
  160. package/dist/esm/lib/config.js +2 -2
  161. package/dist/esm/sdk/calendar.d.ts +28 -0
  162. package/dist/esm/sdk/calendar.d.ts.map +1 -1
  163. package/dist/esm/sdk/calendar.js +40 -0
  164. package/dist/esm/sdk/calendar.js.map +1 -1
  165. package/dist/esm/sdk/clubs.js +4 -4
  166. package/dist/esm/sdk/clubs.js.map +1 -1
  167. package/dist/esm/sdk/location.d.ts +14 -0
  168. package/dist/esm/sdk/location.d.ts.map +1 -1
  169. package/dist/esm/sdk/location.js +24 -4
  170. package/dist/esm/sdk/location.js.map +1 -1
  171. package/dist/esm/sdk/models/operations/createcalendarevent.d.ts +1 -0
  172. package/dist/esm/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
  173. package/dist/esm/sdk/models/operations/createcalendarevent.js +1 -0
  174. package/dist/esm/sdk/models/operations/createcalendarevent.js.map +1 -1
  175. package/dist/esm/sdk/models/operations/getcalendarevent.d.ts +1 -0
  176. package/dist/esm/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
  177. package/dist/esm/sdk/models/operations/getcalendarevent.js +1 -0
  178. package/dist/esm/sdk/models/operations/getcalendarevent.js.map +1 -1
  179. package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts +46 -0
  180. package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
  181. package/dist/esm/sdk/models/operations/getcalendarlocation.js +35 -0
  182. package/dist/esm/sdk/models/operations/getcalendarlocation.js.map +1 -0
  183. package/dist/esm/sdk/models/operations/getcalendarroom.d.ts +54 -0
  184. package/dist/esm/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
  185. package/dist/esm/sdk/models/operations/getcalendarroom.js +42 -0
  186. package/dist/esm/sdk/models/operations/getcalendarroom.js.map +1 -0
  187. package/dist/esm/sdk/models/operations/index.d.ts +4 -0
  188. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  189. package/dist/esm/sdk/models/operations/index.js +4 -0
  190. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  191. package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts +5 -0
  192. package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
  193. package/dist/esm/sdk/models/operations/listcalendarbusies.js +2 -0
  194. package/dist/esm/sdk/models/operations/listcalendarbusies.js.map +1 -1
  195. package/dist/esm/sdk/models/operations/listcalendarevents.d.ts +6 -0
  196. package/dist/esm/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
  197. package/dist/esm/sdk/models/operations/listcalendarevents.js +3 -0
  198. package/dist/esm/sdk/models/operations/listcalendarevents.js.map +1 -1
  199. package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts +64 -0
  200. package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
  201. package/dist/esm/sdk/models/operations/listcalendarlocations.js +43 -0
  202. package/dist/esm/sdk/models/operations/listcalendarlocations.js.map +1 -0
  203. package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts +77 -0
  204. package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
  205. package/dist/esm/sdk/models/operations/listcalendarrooms.js +51 -0
  206. package/dist/esm/sdk/models/operations/listcalendarrooms.js.map +1 -0
  207. package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts +1 -0
  208. package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
  209. package/dist/esm/sdk/models/operations/patchcalendarevent.js +1 -0
  210. package/dist/esm/sdk/models/operations/patchcalendarevent.js.map +1 -1
  211. package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts +1 -0
  212. package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
  213. package/dist/esm/sdk/models/operations/updatecalendarevent.js +1 -0
  214. package/dist/esm/sdk/models/operations/updatecalendarevent.js.map +1 -1
  215. package/dist/esm/sdk/models/shared/calendarevent.d.ts +5 -0
  216. package/dist/esm/sdk/models/shared/calendarevent.d.ts.map +1 -1
  217. package/dist/esm/sdk/models/shared/calendarevent.js +4 -0
  218. package/dist/esm/sdk/models/shared/calendarevent.js.map +1 -1
  219. package/dist/esm/sdk/models/shared/calendarlocation.d.ts +42 -0
  220. package/dist/esm/sdk/models/shared/calendarlocation.d.ts.map +1 -0
  221. package/dist/esm/sdk/models/shared/calendarlocation.js +45 -0
  222. package/dist/esm/sdk/models/shared/calendarlocation.js.map +1 -0
  223. package/dist/esm/sdk/models/shared/calendarroom.d.ts +54 -0
  224. package/dist/esm/sdk/models/shared/calendarroom.d.ts.map +1 -0
  225. package/dist/esm/sdk/models/shared/calendarroom.js +52 -0
  226. package/dist/esm/sdk/models/shared/calendarroom.js.map +1 -0
  227. package/dist/esm/sdk/models/shared/index.d.ts +4 -1
  228. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  229. package/dist/esm/sdk/models/shared/index.js +4 -1
  230. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  231. package/dist/esm/sdk/models/shared/integrationsupport.d.ts +10 -1
  232. package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  233. package/dist/esm/sdk/models/shared/integrationsupport.js +10 -1
  234. package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
  235. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
  236. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
  237. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js +27 -0
  238. package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
  239. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  240. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  241. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  242. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  243. package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
  244. package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
  245. package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +8 -8
  246. package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
  247. package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
  248. package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
  249. package/dist/esm/sdk/models/shared/webhook.js +2 -0
  250. package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
  251. package/dist/esm/sdk/room.d.ts +20 -0
  252. package/dist/esm/sdk/room.d.ts.map +1 -0
  253. package/dist/esm/sdk/room.js +28 -0
  254. package/dist/esm/sdk/room.js.map +1 -0
  255. package/dist/esm/sdk/sdk.d.ts +5 -2
  256. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  257. package/dist/esm/sdk/sdk.js +7 -3
  258. package/dist/esm/sdk/sdk.js.map +1 -1
  259. package/examples/accountingCreateAccountingAccount.example.ts +2 -2
  260. package/jsr.json +1 -1
  261. package/package.json +1 -1
  262. package/src/funcs/calendarGetCalendarLocation.ts +180 -0
  263. package/src/funcs/calendarGetCalendarRoom.ts +177 -0
  264. package/src/funcs/calendarListCalendarBusies.ts +1 -0
  265. package/src/funcs/calendarListCalendarLocations.ts +182 -0
  266. package/src/funcs/calendarListCalendarRooms.ts +182 -0
  267. package/src/funcs/eventListCalendarEvents.ts +1 -0
  268. package/src/funcs/{clubsGetClubsLocation.ts → locationGetClubsLocation.ts} +1 -1
  269. package/src/funcs/{clubsListClubsLocations.ts → locationListClubsLocations.ts} +1 -1
  270. package/src/lib/config.ts +2 -2
  271. package/src/sdk/calendar.ts +72 -0
  272. package/src/sdk/clubs.ts +4 -4
  273. package/src/sdk/location.ts +40 -4
  274. package/src/sdk/models/operations/createcalendarevent.ts +1 -0
  275. package/src/sdk/models/operations/getcalendarevent.ts +1 -0
  276. package/src/sdk/models/operations/getcalendarlocation.ts +81 -0
  277. package/src/sdk/models/operations/getcalendarroom.ts +87 -0
  278. package/src/sdk/models/operations/index.ts +4 -0
  279. package/src/sdk/models/operations/listcalendarbusies.ts +7 -0
  280. package/src/sdk/models/operations/listcalendarevents.ts +8 -0
  281. package/src/sdk/models/operations/listcalendarlocations.ts +109 -0
  282. package/src/sdk/models/operations/listcalendarrooms.ts +119 -0
  283. package/src/sdk/models/operations/patchcalendarevent.ts +1 -0
  284. package/src/sdk/models/operations/updatecalendarevent.ts +1 -0
  285. package/src/sdk/models/shared/calendarevent.ts +9 -0
  286. package/src/sdk/models/shared/calendarlocation.ts +92 -0
  287. package/src/sdk/models/shared/calendarroom.ts +113 -0
  288. package/src/sdk/models/shared/index.ts +4 -1
  289. package/src/sdk/models/shared/integrationsupport.ts +20 -3
  290. package/src/sdk/models/shared/propertycalendarlocationaddress.ts +55 -0
  291. package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
  292. package/src/sdk/models/shared/{virtualwebhookchannelid.ts → virtualwebhookcarrierid.ts} +14 -14
  293. package/src/sdk/models/shared/webhook.ts +2 -0
  294. package/src/sdk/room.ts +46 -0
  295. package/src/sdk/sdk.ts +11 -5
  296. package/dist/commonjs/funcs/clubsGetClubsLocation.d.ts.map +0 -1
  297. package/dist/commonjs/funcs/clubsGetClubsLocation.js.map +0 -1
  298. package/dist/commonjs/funcs/clubsListClubsLocations.js.map +0 -1
  299. package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
  300. package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
  301. package/dist/esm/funcs/clubsGetClubsLocation.d.ts.map +0 -1
  302. package/dist/esm/funcs/clubsGetClubsLocation.js.map +0 -1
  303. package/dist/esm/funcs/clubsListClubsLocations.js.map +0 -1
  304. package/dist/esm/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
  305. package/dist/esm/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
@@ -0,0 +1,182 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { UnifiedToCore } from "../core.js";
7
+ import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
8
+ import { matchStatusCode } from "../lib/http.js";
9
+ import * as M from "../lib/matchers.js";
10
+ import { compactMap } from "../lib/primitives.js";
11
+ import { safeParse } from "../lib/schemas.js";
12
+ import { RequestOptions } from "../lib/sdks.js";
13
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
14
+ import { pathToFunc } from "../lib/url.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../sdk/models/errors/httpclienterrors.js";
22
+ import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
23
+ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
24
+ import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
25
+ import * as operations from "../sdk/models/operations/index.js";
26
+ import * as shared from "../sdk/models/shared/index.js";
27
+ import { APICall, APIPromise } from "../sdk/types/async.js";
28
+ import { Result } from "../sdk/types/fp.js";
29
+
30
+ /**
31
+ * List all rooms
32
+ *
33
+ * @remarks
34
+ * 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.
35
+ */
36
+ export function calendarListCalendarRooms(
37
+ client: UnifiedToCore,
38
+ request: operations.ListCalendarRoomsRequest,
39
+ options?: RequestOptions,
40
+ ): APIPromise<
41
+ Result<
42
+ Array<shared.CalendarRoom>,
43
+ | UnifiedToError
44
+ | ResponseValidationError
45
+ | ConnectionError
46
+ | RequestAbortedError
47
+ | RequestTimeoutError
48
+ | InvalidRequestError
49
+ | UnexpectedClientError
50
+ | SDKValidationError
51
+ >
52
+ > {
53
+ return new APIPromise($do(
54
+ client,
55
+ request,
56
+ options,
57
+ ));
58
+ }
59
+
60
+ async function $do(
61
+ client: UnifiedToCore,
62
+ request: operations.ListCalendarRoomsRequest,
63
+ options?: RequestOptions,
64
+ ): Promise<
65
+ [
66
+ Result<
67
+ Array<shared.CalendarRoom>,
68
+ | UnifiedToError
69
+ | ResponseValidationError
70
+ | ConnectionError
71
+ | RequestAbortedError
72
+ | RequestTimeoutError
73
+ | InvalidRequestError
74
+ | UnexpectedClientError
75
+ | SDKValidationError
76
+ >,
77
+ APICall,
78
+ ]
79
+ > {
80
+ const parsed = safeParse(
81
+ request,
82
+ (value) => operations.ListCalendarRoomsRequest$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
+ connection_id: encodeSimple("connection_id", payload.connection_id, {
93
+ explode: false,
94
+ charEncoding: "percent",
95
+ }),
96
+ };
97
+ const path = pathToFunc("/calendar/{connection_id}/room")(pathParams);
98
+
99
+ const query = encodeFormQuery({
100
+ "fields": payload.fields,
101
+ "limit": payload.limit,
102
+ "location_id": payload.location_id,
103
+ "offset": payload.offset,
104
+ "order": payload.order,
105
+ "query": payload.query,
106
+ "raw": payload.raw,
107
+ "sort": payload.sort,
108
+ "type": payload.type,
109
+ "updated_gte": payload.updated_gte,
110
+ });
111
+
112
+ const headers = new Headers(compactMap({
113
+ Accept: "application/json",
114
+ }));
115
+
116
+ const securityInput = await extractSecurity(client._options.security);
117
+ const requestSecurity = resolveGlobalSecurity(securityInput);
118
+
119
+ const context = {
120
+ options: client._options,
121
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
122
+ operationID: "listCalendarRooms",
123
+ oAuth2Scopes: null,
124
+
125
+ resolvedSecurity: requestSecurity,
126
+
127
+ securitySource: client._options.security,
128
+ retryConfig: options?.retries
129
+ || client._options.retryConfig
130
+ || { strategy: "none" },
131
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
132
+ };
133
+
134
+ const requestRes = client._createRequest(context, {
135
+ security: requestSecurity,
136
+ method: "GET",
137
+ baseURL: options?.serverURL,
138
+ path: path,
139
+ headers: headers,
140
+ query: query,
141
+ body: body,
142
+ userAgent: client._options.userAgent,
143
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
144
+ }, options);
145
+ if (!requestRes.ok) {
146
+ return [requestRes, { status: "invalid" }];
147
+ }
148
+ const req = requestRes.value;
149
+
150
+ const doResult = await client._do(req, {
151
+ context,
152
+ isErrorStatusCode: (statusCode: number) =>
153
+ matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
154
+ retryConfig: context.retryConfig,
155
+ retryCodes: context.retryCodes,
156
+ });
157
+ if (!doResult.ok) {
158
+ return [doResult, { status: "request-error", request: req }];
159
+ }
160
+ const response = doResult.value;
161
+
162
+ const [result] = await M.match<
163
+ Array<shared.CalendarRoom>,
164
+ | UnifiedToError
165
+ | ResponseValidationError
166
+ | ConnectionError
167
+ | RequestAbortedError
168
+ | RequestTimeoutError
169
+ | InvalidRequestError
170
+ | UnexpectedClientError
171
+ | SDKValidationError
172
+ >(
173
+ M.json(200, z.array(shared.CalendarRoom$inboundSchema)),
174
+ M.fail("4XX"),
175
+ M.fail("5XX"),
176
+ )(response, req);
177
+ if (!result.ok) {
178
+ return [result, { status: "complete", request: req, response }];
179
+ }
180
+
181
+ return [result, { status: "complete", request: req, response }];
182
+ }
@@ -107,6 +107,7 @@ async function $do(
107
107
  "order": payload.order,
108
108
  "query": payload.query,
109
109
  "raw": payload.raw,
110
+ "room_id": payload.room_id,
110
111
  "sort": payload.sort,
111
112
  "start_gte": payload.start_gte,
112
113
  "updated_gte": payload.updated_gte,
@@ -32,7 +32,7 @@ import { Result } from "../sdk/types/fp.js";
32
32
  * @remarks
33
33
  * Retrieves a single ClubsLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
34
34
  */
35
- export function clubsGetClubsLocation(
35
+ export function locationGetClubsLocation(
36
36
  client: UnifiedToCore,
37
37
  request: operations.GetClubsLocationRequest,
38
38
  options?: RequestOptions,
@@ -33,7 +33,7 @@ import { Result } from "../sdk/types/fp.js";
33
33
  * @remarks
34
34
  * Returns a list of ClubsLocations. 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.
35
35
  */
36
- export function clubsListClubsLocations(
36
+ export function locationListClubsLocations(
37
37
  client: UnifiedToCore,
38
38
  request: operations.ListClubsLocationsRequest,
39
39
  options?: RequestOptions,
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.4",
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.4 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
+ }
@@ -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";