@kohost/api-client 4.1.0 → 4.1.1

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 (251) hide show
  1. package/dist/amqpClient.cjs.map +1 -1
  2. package/dist/amqpClient.js +1 -1
  3. package/dist/amqpClient.js.map +1 -1
  4. package/dist/chunk-2E7UEQEH.js +2 -0
  5. package/dist/{chunk-7SHYEVWE.js.map → chunk-2E7UEQEH.js.map} +1 -1
  6. package/dist/{chunk-5ZYQ36YL.js → chunk-2JNABCJ2.js} +2 -2
  7. package/dist/chunk-2SJNXX23.js +2 -0
  8. package/dist/chunk-2SJNXX23.js.map +1 -0
  9. package/dist/{chunk-CVDZUMXJ.js → chunk-3CZKHJ7N.js} +2 -2
  10. package/dist/{chunk-VC2V3PHC.js → chunk-3DU6K767.js} +2 -2
  11. package/dist/{chunk-PETOLFLX.js → chunk-4C5OBWVN.js} +2 -2
  12. package/dist/chunk-524YZXLK.js +2 -0
  13. package/dist/chunk-5JGCTR5Z.js +2 -0
  14. package/dist/chunk-5JGCTR5Z.js.map +1 -0
  15. package/dist/{chunk-37FIKXHX.js → chunk-6KRXD5CY.js} +2 -2
  16. package/dist/{chunk-GJIPDIFZ.js → chunk-6LMPRNFF.js} +2 -2
  17. package/dist/{chunk-YOL5XPE3.js → chunk-6O7ZX4X7.js} +2 -2
  18. package/dist/{chunk-O7PXQJJY.js → chunk-6U2OIFXY.js} +2 -2
  19. package/dist/chunk-7ELLKGO7.js +2 -0
  20. package/dist/{chunk-SX2W4GPS.js → chunk-7KMQJALP.js} +2 -2
  21. package/dist/{chunk-CQUOFTLG.js → chunk-AEJWGUVQ.js} +2 -2
  22. package/dist/{chunk-ZWOYQQAT.js → chunk-B3OCXT23.js} +2 -2
  23. package/dist/chunk-BO2PBAU5.js +2 -0
  24. package/dist/chunk-BO2PBAU5.js.map +1 -0
  25. package/dist/{chunk-C3TN4CYW.js → chunk-BRGOPL7L.js} +2 -2
  26. package/dist/chunk-BX6CQJFM.js +2 -0
  27. package/dist/{chunk-4E6BCEWY.js → chunk-BZQFOBXL.js} +2 -2
  28. package/dist/{chunk-SVVXKGUR.js → chunk-CG24PJRP.js} +2 -2
  29. package/dist/chunk-CHMXZOUA.js +2 -0
  30. package/dist/{chunk-C3RBREGQ.js → chunk-CODHXSP5.js} +2 -2
  31. package/dist/{chunk-BTZP2NFI.js → chunk-CYDIODNO.js} +2 -2
  32. package/dist/{chunk-SAJDTYRL.js → chunk-D2HMXQ5V.js} +2 -2
  33. package/dist/{chunk-RA6P4LQT.js → chunk-E4B7EMQY.js} +2 -2
  34. package/dist/{chunk-4W5Z6ODP.js → chunk-EJBOTV7Z.js} +2 -2
  35. package/dist/{chunk-MXG5WD7W.js → chunk-EYE772SL.js} +2 -2
  36. package/dist/{chunk-CMC5MQ6R.js → chunk-EZM6YTSB.js} +2 -2
  37. package/dist/{chunk-TVARHVM6.js → chunk-GEJHO6ZQ.js} +2 -2
  38. package/dist/{chunk-X74FEMWH.js → chunk-HDBSURJM.js} +2 -2
  39. package/dist/{chunk-CNI7RI6U.js → chunk-HYGHX2PI.js} +2 -2
  40. package/dist/{chunk-KOUQIZGQ.js → chunk-JBVTGWXB.js} +2 -2
  41. package/dist/{chunk-YLHF2LO4.js → chunk-JJ4LIFB7.js} +2 -2
  42. package/dist/{chunk-GCUILL6R.js → chunk-JOOKSEVZ.js} +2 -2
  43. package/dist/{chunk-2QP6XL3A.js → chunk-KAULYRJQ.js} +2 -2
  44. package/dist/{chunk-RLR3YOGQ.js → chunk-KTTIUDWK.js} +2 -2
  45. package/dist/{chunk-YHUK77T4.js → chunk-L7CPV7YE.js} +2 -2
  46. package/dist/chunk-LGN6JXN7.js +2 -0
  47. package/dist/chunk-LGN6JXN7.js.map +1 -0
  48. package/dist/{chunk-QASGY3Q2.js → chunk-LSQQWTMD.js} +2 -2
  49. package/dist/{chunk-5GGHD7FY.js → chunk-MGBD5X35.js} +2 -2
  50. package/dist/{chunk-LABRQJP2.js → chunk-MORNYRJW.js} +2 -2
  51. package/dist/{chunk-6Z3UQS6E.js → chunk-MQ7WEN2S.js} +2 -2
  52. package/dist/{chunk-7LB4ISYU.js → chunk-N3CMDBJP.js} +2 -2
  53. package/dist/{chunk-ONETIQAT.js → chunk-N4NBQDBE.js} +2 -2
  54. package/dist/{chunk-5MWETEB7.js → chunk-NERQSYRV.js} +2 -2
  55. package/dist/{chunk-OH2O7TRF.js → chunk-O4IOWXAT.js} +2 -2
  56. package/dist/{chunk-OIBIACJH.js → chunk-OK4G4APE.js} +2 -2
  57. package/dist/{chunk-NXZ7ARCN.js → chunk-PLSUJCGV.js} +2 -2
  58. package/dist/chunk-QKXT5OPD.js +2 -0
  59. package/dist/chunk-QKXT5OPD.js.map +1 -0
  60. package/dist/{chunk-2MIWI6DI.js → chunk-QNSNR2JT.js} +2 -2
  61. package/dist/{chunk-KAX6G7NS.js → chunk-RAKSUYSJ.js} +2 -2
  62. package/dist/chunk-RY4K6ZF3.js +2 -0
  63. package/dist/chunk-RY4K6ZF3.js.map +1 -0
  64. package/dist/{chunk-Z7AM4NZY.js → chunk-S7IER5PA.js} +2 -2
  65. package/dist/chunk-S7LNLVGN.js +2 -0
  66. package/dist/{chunk-F5ZVXIDJ.js.map → chunk-S7LNLVGN.js.map} +1 -1
  67. package/dist/{chunk-3VWLUTOA.js → chunk-SBTJP7Z2.js} +2 -2
  68. package/dist/chunk-SXMLEY5A.js +2 -0
  69. package/dist/{chunk-R2DTSCEX.js.map → chunk-SXMLEY5A.js.map} +1 -1
  70. package/dist/{chunk-AW4RTCUR.js → chunk-T3BUZPJU.js} +2 -2
  71. package/dist/{chunk-DUJGKEG7.js → chunk-UC6WZNNN.js} +2 -2
  72. package/dist/chunk-UI5GTCXQ.js +2 -0
  73. package/dist/chunk-UI5GTCXQ.js.map +1 -0
  74. package/dist/chunk-VX4GAFTX.js +2 -0
  75. package/dist/{chunk-2B6KTWLF.js → chunk-W3XUK7GU.js} +2 -2
  76. package/dist/{chunk-WJTBALCJ.js → chunk-WARDPDUE.js} +2 -2
  77. package/dist/{chunk-L2JBBTJI.js → chunk-WQMI4TKM.js} +2 -2
  78. package/dist/{chunk-5HWB2RZE.js → chunk-WRGQFX3L.js} +2 -2
  79. package/dist/{chunk-QRCVQOOU.js → chunk-Y6QFETPF.js} +2 -2
  80. package/dist/{chunk-4SFW2QVD.js → chunk-YBVTOOAO.js} +2 -2
  81. package/dist/{chunk-L2X57ZPQ.js → chunk-YHE3YBCX.js} +2 -2
  82. package/dist/commands/checkInReservation.js +1 -1
  83. package/dist/commands/checkOutReservation.js +1 -1
  84. package/dist/commands/command.js +1 -1
  85. package/dist/commands/createImageUploadEndpoint.js +1 -1
  86. package/dist/commands/createShortLink.js +1 -1
  87. package/dist/commands/getCategories.js +1 -1
  88. package/dist/commands/getMobileKey.js +1 -1
  89. package/dist/commands/getProducts.js +1 -1
  90. package/dist/commands/getReservationSpaceCategoryAvailabilities.js +1 -1
  91. package/dist/commands/getReservations.js +1 -1
  92. package/dist/commands/getRooms.js +1 -1
  93. package/dist/commands/getUsers.js +1 -1
  94. package/dist/commands/index.cjs.map +1 -1
  95. package/dist/commands/index.js +1 -1
  96. package/dist/commands/ocrDocument.js +1 -1
  97. package/dist/commands/sellProducts.js +1 -1
  98. package/dist/commands/sendEmail.js +1 -1
  99. package/dist/commands/sendSMS.js +1 -1
  100. package/dist/commands/setAlarm.js +1 -1
  101. package/dist/commands/setCourtesy.js +1 -1
  102. package/dist/commands/setDimmer.js +1 -1
  103. package/dist/commands/setLock.js +1 -1
  104. package/dist/commands/setMedia.js +1 -1
  105. package/dist/commands/setScene.js +1 -1
  106. package/dist/commands/setSwitch.js +1 -1
  107. package/dist/commands/setThermostat.js +1 -1
  108. package/dist/commands/setWindowCovering.js +1 -1
  109. package/dist/commands/updateReservation.js +1 -1
  110. package/dist/commands/updateUser.js +1 -1
  111. package/dist/commands/uploadImage.js +1 -1
  112. package/dist/defs-dQNiu_Sz.d.cts +68 -0
  113. package/dist/defs-dQNiu_Sz.d.ts +68 -0
  114. package/dist/defs.d.cts +1 -62
  115. package/dist/defs.d.ts +1 -62
  116. package/dist/defs.js +1 -1
  117. package/dist/errors/index.cjs.map +1 -1
  118. package/dist/errors/index.js +1 -1
  119. package/dist/events/applicationInUse.js +1 -1
  120. package/dist/events/applicationOutOfUse.js +1 -1
  121. package/dist/events/emailEvent.js +1 -1
  122. package/dist/events/event.js +1 -1
  123. package/dist/events/index.cjs.map +1 -1
  124. package/dist/events/index.js +1 -1
  125. package/dist/events/reservationCheckedIn.js +1 -1
  126. package/dist/events/reservationCheckedOut.js +1 -1
  127. package/dist/events/reservationSpaceChanged.js +1 -1
  128. package/dist/events/sceneSet.js +1 -1
  129. package/dist/events/shortLinkCreated.js +1 -1
  130. package/dist/events/smsEvent.js +1 -1
  131. package/dist/events/systemAlarmUpdated.js +1 -1
  132. package/dist/events/systemCameraUpdated.js +1 -1
  133. package/dist/events/systemCategoryUpdated.js +1 -1
  134. package/dist/events/systemCourtesyUpdated.js +1 -1
  135. package/dist/events/systemCredentialUpdated.js +1 -1
  136. package/dist/events/systemDimmerUpdated.js +1 -1
  137. package/dist/events/systemEntityDeleted.js +1 -1
  138. package/dist/events/systemGatewayUpdated.js +1 -1
  139. package/dist/events/systemLockUpdated.js +1 -1
  140. package/dist/events/systemMediaSourceUpdated.js +1 -1
  141. package/dist/events/systemMotionSensorUpdated.js +1 -1
  142. package/dist/events/systemOrganizationUpdated.js +1 -1
  143. package/dist/events/systemProductUpdated.js +1 -1
  144. package/dist/events/systemPropertyUpdated.js +1 -1
  145. package/dist/events/systemReservationUpdated.js +1 -1
  146. package/dist/events/systemSpaceUpdated.js +1 -1
  147. package/dist/events/systemSwitchUpdated.js +1 -1
  148. package/dist/events/systemThermostatUpdated.js +1 -1
  149. package/dist/events/systemUserUpdated.js +1 -1
  150. package/dist/events/systemWindowCoveringUpdated.js +1 -1
  151. package/dist/httpClient.js +1 -1
  152. package/dist/httpClient.js.map +1 -1
  153. package/dist/index-1wlt3uo2.d.ts +66 -0
  154. package/dist/index-7k9xaBaL.d.ts +30 -0
  155. package/dist/index-CCxWpmgi.d.cts +128 -0
  156. package/dist/index-DWIfTpkT.d.ts +62 -0
  157. package/dist/index-DXQ1T_T1.d.cts +30 -0
  158. package/dist/index-DZhiQtZE.d.cts +434 -0
  159. package/dist/index-DrrP0Vfc.d.cts +66 -0
  160. package/dist/index-FoJsC_G_.d.ts +128 -0
  161. package/dist/index-Z1u-INfc.d.ts +434 -0
  162. package/dist/index-x2QgAlTf.d.cts +62 -0
  163. package/dist/index.cjs +16 -0
  164. package/dist/index.cjs.map +1 -0
  165. package/dist/index.d.cts +338 -0
  166. package/dist/index.d.ts +338 -0
  167. package/dist/index.js +2 -0
  168. package/dist/models/index.cjs.map +1 -1
  169. package/dist/models/index.js +1 -1
  170. package/dist/models/property.d.cts +1 -1
  171. package/dist/models/property.d.ts +1 -1
  172. package/dist/socketIoClient.js +1 -1
  173. package/dist/socketIoClient.js.map +1 -1
  174. package/dist/useCases/index.cjs.map +1 -1
  175. package/dist/useCases/index.js +1 -1
  176. package/dist/utils-D0wFMkFl.d.ts +83 -0
  177. package/dist/utils-W1Wvt2rJ.d.cts +83 -0
  178. package/dist/utils.cjs.map +1 -1
  179. package/dist/utils.d.cts +71 -76
  180. package/dist/utils.d.ts +71 -76
  181. package/dist/utils.js +1 -1
  182. package/dist/utils.js.map +1 -1
  183. package/package.json +1 -1
  184. package/dist/chunk-7SHYEVWE.js +0 -2
  185. package/dist/chunk-AJSKEHVL.js +0 -2
  186. package/dist/chunk-CU6A4JQE.js +0 -2
  187. package/dist/chunk-F5ZVXIDJ.js +0 -2
  188. package/dist/chunk-GH2DDBTB.js +0 -2
  189. package/dist/chunk-PLRLELBM.js +0 -2
  190. package/dist/chunk-PUGUYK7E.js +0 -1
  191. package/dist/chunk-R2DTSCEX.js +0 -2
  192. package/dist/chunk-UUJFTUN6.js +0 -2
  193. /package/dist/{chunk-5ZYQ36YL.js.map → chunk-2JNABCJ2.js.map} +0 -0
  194. /package/dist/{chunk-CVDZUMXJ.js.map → chunk-3CZKHJ7N.js.map} +0 -0
  195. /package/dist/{chunk-VC2V3PHC.js.map → chunk-3DU6K767.js.map} +0 -0
  196. /package/dist/{chunk-PETOLFLX.js.map → chunk-4C5OBWVN.js.map} +0 -0
  197. /package/dist/{chunk-AJSKEHVL.js.map → chunk-524YZXLK.js.map} +0 -0
  198. /package/dist/{chunk-37FIKXHX.js.map → chunk-6KRXD5CY.js.map} +0 -0
  199. /package/dist/{chunk-GJIPDIFZ.js.map → chunk-6LMPRNFF.js.map} +0 -0
  200. /package/dist/{chunk-YOL5XPE3.js.map → chunk-6O7ZX4X7.js.map} +0 -0
  201. /package/dist/{chunk-O7PXQJJY.js.map → chunk-6U2OIFXY.js.map} +0 -0
  202. /package/dist/{chunk-CU6A4JQE.js.map → chunk-7ELLKGO7.js.map} +0 -0
  203. /package/dist/{chunk-SX2W4GPS.js.map → chunk-7KMQJALP.js.map} +0 -0
  204. /package/dist/{chunk-CQUOFTLG.js.map → chunk-AEJWGUVQ.js.map} +0 -0
  205. /package/dist/{chunk-ZWOYQQAT.js.map → chunk-B3OCXT23.js.map} +0 -0
  206. /package/dist/{chunk-C3TN4CYW.js.map → chunk-BRGOPL7L.js.map} +0 -0
  207. /package/dist/{chunk-GH2DDBTB.js.map → chunk-BX6CQJFM.js.map} +0 -0
  208. /package/dist/{chunk-4E6BCEWY.js.map → chunk-BZQFOBXL.js.map} +0 -0
  209. /package/dist/{chunk-SVVXKGUR.js.map → chunk-CG24PJRP.js.map} +0 -0
  210. /package/dist/{chunk-UUJFTUN6.js.map → chunk-CHMXZOUA.js.map} +0 -0
  211. /package/dist/{chunk-C3RBREGQ.js.map → chunk-CODHXSP5.js.map} +0 -0
  212. /package/dist/{chunk-BTZP2NFI.js.map → chunk-CYDIODNO.js.map} +0 -0
  213. /package/dist/{chunk-SAJDTYRL.js.map → chunk-D2HMXQ5V.js.map} +0 -0
  214. /package/dist/{chunk-RA6P4LQT.js.map → chunk-E4B7EMQY.js.map} +0 -0
  215. /package/dist/{chunk-4W5Z6ODP.js.map → chunk-EJBOTV7Z.js.map} +0 -0
  216. /package/dist/{chunk-MXG5WD7W.js.map → chunk-EYE772SL.js.map} +0 -0
  217. /package/dist/{chunk-CMC5MQ6R.js.map → chunk-EZM6YTSB.js.map} +0 -0
  218. /package/dist/{chunk-TVARHVM6.js.map → chunk-GEJHO6ZQ.js.map} +0 -0
  219. /package/dist/{chunk-X74FEMWH.js.map → chunk-HDBSURJM.js.map} +0 -0
  220. /package/dist/{chunk-CNI7RI6U.js.map → chunk-HYGHX2PI.js.map} +0 -0
  221. /package/dist/{chunk-KOUQIZGQ.js.map → chunk-JBVTGWXB.js.map} +0 -0
  222. /package/dist/{chunk-YLHF2LO4.js.map → chunk-JJ4LIFB7.js.map} +0 -0
  223. /package/dist/{chunk-GCUILL6R.js.map → chunk-JOOKSEVZ.js.map} +0 -0
  224. /package/dist/{chunk-2QP6XL3A.js.map → chunk-KAULYRJQ.js.map} +0 -0
  225. /package/dist/{chunk-RLR3YOGQ.js.map → chunk-KTTIUDWK.js.map} +0 -0
  226. /package/dist/{chunk-YHUK77T4.js.map → chunk-L7CPV7YE.js.map} +0 -0
  227. /package/dist/{chunk-QASGY3Q2.js.map → chunk-LSQQWTMD.js.map} +0 -0
  228. /package/dist/{chunk-5GGHD7FY.js.map → chunk-MGBD5X35.js.map} +0 -0
  229. /package/dist/{chunk-LABRQJP2.js.map → chunk-MORNYRJW.js.map} +0 -0
  230. /package/dist/{chunk-6Z3UQS6E.js.map → chunk-MQ7WEN2S.js.map} +0 -0
  231. /package/dist/{chunk-7LB4ISYU.js.map → chunk-N3CMDBJP.js.map} +0 -0
  232. /package/dist/{chunk-ONETIQAT.js.map → chunk-N4NBQDBE.js.map} +0 -0
  233. /package/dist/{chunk-5MWETEB7.js.map → chunk-NERQSYRV.js.map} +0 -0
  234. /package/dist/{chunk-OH2O7TRF.js.map → chunk-O4IOWXAT.js.map} +0 -0
  235. /package/dist/{chunk-OIBIACJH.js.map → chunk-OK4G4APE.js.map} +0 -0
  236. /package/dist/{chunk-NXZ7ARCN.js.map → chunk-PLSUJCGV.js.map} +0 -0
  237. /package/dist/{chunk-2MIWI6DI.js.map → chunk-QNSNR2JT.js.map} +0 -0
  238. /package/dist/{chunk-KAX6G7NS.js.map → chunk-RAKSUYSJ.js.map} +0 -0
  239. /package/dist/{chunk-Z7AM4NZY.js.map → chunk-S7IER5PA.js.map} +0 -0
  240. /package/dist/{chunk-3VWLUTOA.js.map → chunk-SBTJP7Z2.js.map} +0 -0
  241. /package/dist/{chunk-AW4RTCUR.js.map → chunk-T3BUZPJU.js.map} +0 -0
  242. /package/dist/{chunk-DUJGKEG7.js.map → chunk-UC6WZNNN.js.map} +0 -0
  243. /package/dist/{chunk-PLRLELBM.js.map → chunk-VX4GAFTX.js.map} +0 -0
  244. /package/dist/{chunk-2B6KTWLF.js.map → chunk-W3XUK7GU.js.map} +0 -0
  245. /package/dist/{chunk-WJTBALCJ.js.map → chunk-WARDPDUE.js.map} +0 -0
  246. /package/dist/{chunk-L2JBBTJI.js.map → chunk-WQMI4TKM.js.map} +0 -0
  247. /package/dist/{chunk-5HWB2RZE.js.map → chunk-WRGQFX3L.js.map} +0 -0
  248. /package/dist/{chunk-QRCVQOOU.js.map → chunk-Y6QFETPF.js.map} +0 -0
  249. /package/dist/{chunk-4SFW2QVD.js.map → chunk-YBVTOOAO.js.map} +0 -0
  250. /package/dist/{chunk-L2X57ZPQ.js.map → chunk-YHE3YBCX.js.map} +0 -0
  251. /package/dist/{chunk-PUGUYK7E.js.map → index.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-TVARHVM6.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCategoryUpdated};
1
+ import{a}from"../chunk-GEJHO6ZQ.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCategoryUpdated};
2
2
  //# sourceMappingURL=systemCategoryUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-SVVXKGUR.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCourtesyUpdated};
1
+ import{a}from"../chunk-CG24PJRP.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCourtesyUpdated};
2
2
  //# sourceMappingURL=systemCourtesyUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-4W5Z6ODP.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCredentialUpdated};
1
+ import{a}from"../chunk-EJBOTV7Z.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemCredentialUpdated};
2
2
  //# sourceMappingURL=systemCredentialUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-5GGHD7FY.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemDimmerUpdated};
1
+ import{a}from"../chunk-MGBD5X35.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemDimmerUpdated};
2
2
  //# sourceMappingURL=systemDimmerUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-YOL5XPE3.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemEntityDeleted};
1
+ import{a}from"../chunk-6O7ZX4X7.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemEntityDeleted};
2
2
  //# sourceMappingURL=systemEntityDeleted.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-CVDZUMXJ.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemGatewayUpdated};
1
+ import{a}from"../chunk-3CZKHJ7N.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemGatewayUpdated};
2
2
  //# sourceMappingURL=systemGatewayUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-5HWB2RZE.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemLockUpdated};
1
+ import{a}from"../chunk-WRGQFX3L.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemLockUpdated};
2
2
  //# sourceMappingURL=systemLockUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-DUJGKEG7.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemMediaSourceUpdated};
1
+ import{a}from"../chunk-UC6WZNNN.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemMediaSourceUpdated};
2
2
  //# sourceMappingURL=systemMediaSourceUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-Z7AM4NZY.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemMotionSensorUpdated};
1
+ import{a}from"../chunk-S7IER5PA.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemMotionSensorUpdated};
2
2
  //# sourceMappingURL=systemMotionSensorUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-CNI7RI6U.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemOrganizationUpdated};
1
+ import{a}from"../chunk-HYGHX2PI.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemOrganizationUpdated};
2
2
  //# sourceMappingURL=systemOrganizationUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-YLHF2LO4.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemProductUpdated};
1
+ import{a}from"../chunk-JJ4LIFB7.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemProductUpdated};
2
2
  //# sourceMappingURL=systemProductUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-BTZP2NFI.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemPropertyUpdated};
1
+ import{a}from"../chunk-CYDIODNO.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemPropertyUpdated};
2
2
  //# sourceMappingURL=systemPropertyUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-C3RBREGQ.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemReservationUpdated};
1
+ import{a}from"../chunk-CODHXSP5.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemReservationUpdated};
2
2
  //# sourceMappingURL=systemReservationUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-2B6KTWLF.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemSpaceUpdate};
1
+ import{a}from"../chunk-W3XUK7GU.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemSpaceUpdate};
2
2
  //# sourceMappingURL=systemSpaceUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-YHUK77T4.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemSwitchUpdated};
1
+ import{a}from"../chunk-L7CPV7YE.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemSwitchUpdated};
2
2
  //# sourceMappingURL=systemSwitchUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-6Z3UQS6E.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemThermostatUpdated};
1
+ import{a}from"../chunk-MQ7WEN2S.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemThermostatUpdated};
2
2
  //# sourceMappingURL=systemThermostatUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-5ZYQ36YL.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemUserUpdated};
1
+ import{a}from"../chunk-2JNABCJ2.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemUserUpdated};
2
2
  //# sourceMappingURL=systemUserUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a}from"../chunk-KOUQIZGQ.js";import"../chunk-WJTBALCJ.js";import"../chunk-7SHYEVWE.js";import"../chunk-ZBF5DOJH.js";export{a as SystemWindowCoveringUpdated};
1
+ import{a}from"../chunk-JBVTGWXB.js";import"../chunk-WARDPDUE.js";import"../chunk-2E7UEQEH.js";import"../chunk-ZBF5DOJH.js";export{a as SystemWindowCoveringUpdated};
2
2
  //# sourceMappingURL=systemWindowCoveringUpdated.js.map
@@ -1,2 +1,2 @@
1
- import{a as l}from"./chunk-42RR255M.js";import{a as f}from"./chunk-ZBF5DOJH.js";var y=class d{static{f(this,"KohostHTTPClient")}#e;#r;constructor(e={url:"",propertyId:"",organizationId:"",apiKey:"",headers:new Headers({}),onSuccess:f(r=>r,"onSuccess"),onError:f(r=>r,"onError")}){if(!e.url)throw new Error("options.url is required");this.options=e,this.isAuthTokenRenewalActive=!1,this.baseUrl=new URL(e.url),this.headers=new Headers({"Content-Type":"application/json",Accept:"application/json",...e.headers}),e.apiKey&&this.headers.set(d.defs.apiKeyHeader,e.apiKey),e.propertyId&&(this.propertyId=e.propertyId),e.organizationId&&(this.organizationId=e.organizationId),this.#e=e.onSuccess?e.onSuccess:r=>r,this.#r=e.onError?e.onError:r=>r,this.callbacks={}}on(e,r){if(typeof r!="function")throw new Error("Callback must be a function");this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(r)}emit(e,...r){this.callbacks[e]&&this.callbacks[e].forEach(a=>a(...r))}set organizationId(e){let r=d.defs.organizationHeader;this.headers.set(r,e)}get organizationId(){let e=d.defs.organizationHeader;return this.headers.get(e)}set propertyId(e){let r=d.defs.propertyHeader;this.headers.set(r,e)}get propertyId(){let e=d.defs.propertyHeader;return this.headers.get(e)}static get defs(){return{apiKeyHeader:"X-Api-Key",propertyHeader:"X-Property-Id",organizationHeader:"X-Organization-Id"}}async send(e){let r=e.config,a=this.createRequest(r),o=await fetch(a),h=o.headers.get("Content-Type")?.includes("application/json")||!1?await o.json():o.body;if(!o.ok){let c=h?.error||new Error(o.statusText),t=o.status,n=h.error?.type,i=h?.error?.message;try{let s=t>=400&&t<500,p=s&&n==="TokenExpiredError";if(s&&i==="Phone Verification is required")return this.#t(),Promise.reject(c);if(s&&i==="Login Required")return this.#s(),Promise.reject(c);if(s&&i==="No auth header or cookie provided")return this.#s(),Promise.reject(c);if(s&&p)for(;!this.isAuthTokenRenewalActive;)return this.isAuthTokenRenewalActive=!0,this.send(new l({})).then(()=>(this.isAuthTokenRenewalActive=!1,this.send(e))).catch(m=>(this.isAuthTokenRenewalActive=!1,Promise.reject(m)))}catch(s){console.error(s)}return c=this.#r(c),Promise.reject(c)}return this.#e(h)}#s(){this.emit("LoginRequired")}#t(){this.emit("PhoneVerificationRequired")}createRequest(e){typeof e.headers!="object"&&(e.headers={});let r=e.url;r.startsWith("/")&&(r=`.${r}`);let a=new URL(r,this.baseUrl),o=e.method.toUpperCase()||"GET";e.params&&typeof e.params=="object"&&Object.entries(e.params).forEach(([t,n])=>{Array.isArray(n)?n.forEach(i=>{typeof i=="object"&&i!==null?Object.entries(i).forEach(([s,p])=>{a.searchParams.append(`${t}[][${s}]`,p)}):a.searchParams.append(`${t}[]`,i)}):n==null?a.searchParams.append(t,""):typeof n=="object"?Object.entries(n).forEach(([i,s])=>{Array.isArray(s)?s.forEach(p=>{a.searchParams.append(`${t}[${i}][]`,p)}):a.searchParams.append(`${t}[${i}]`,s)}):a.searchParams.append(t,n)});let u=new Headers(this.headers);e.headers&&Object.keys(e.headers).forEach(t=>{u.set(t,e.headers[t])});let h=e.data!==null&&["POST","PUT","PATCH"].includes(o)?u.get("Content-Type")==="application/json"?JSON.stringify(e.data):e.data:void 0;return new Request(a,{method:o,headers:u,credentials:"include",body:h})}};export{y as KohostHTTPClient};
1
+ import{a}from"./chunk-LGN6JXN7.js";import"./chunk-42RR255M.js";import"./chunk-ZBF5DOJH.js";export{a as KohostHTTPClient};
2
2
  //# sourceMappingURL=httpClient.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/httpClient.js"],"sourcesContent":["import { RefreshTokenCommand } from \"./useCases/refreshToken\";\n\nexport class KohostHTTPClient {\n #onSuccess;\n #onError;\n\n /** \n @param {Object} options - The options to create the client\n @param {String} options.organizationId - The organization ID\n @param {String} options.propertyId - The property ID\n @param {String | URL} options.url - The base URL for the API endpint\n @param {String} options.apiKey - The API key to use for requests\n @param {Headers} options.headers - Additional headers to send with each request\n @param {Function} options.onSuccess - A callback to handle successful responses\n @param {Function} options.onError - A callback to handle errors\n */\n constructor(\n options = {\n url: \"\",\n propertyId: \"\",\n organizationId: \"\",\n apiKey: \"\",\n headers: new Headers({}),\n onSuccess: (response) => response,\n onError: (error) => error,\n },\n ) {\n if (!options.url) throw new Error(\"options.url is required\");\n this.options = options;\n\n this.isAuthTokenRenewalActive = false;\n\n this.baseUrl = new URL(options.url);\n this.headers = new Headers({\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n ...options.headers,\n });\n\n if (options.apiKey) {\n this.headers.set(KohostHTTPClient.defs.apiKeyHeader, options.apiKey);\n }\n\n if (options.propertyId) {\n this.propertyId = options.propertyId;\n }\n\n if (options.organizationId) {\n this.organizationId = options.organizationId;\n }\n\n this.#onSuccess = options.onSuccess\n ? options.onSuccess\n : (response) => response;\n\n this.#onError = options.onError ? options.onError : (error) => error;\n\n this.callbacks = {};\n }\n\n /**\n *\n * @param {\"LoginRequired\" | \"PhoneVerificationRequired\"} event\n * @param {Function} callback\n */\n on(event, callback) {\n if (typeof callback !== \"function\") {\n throw new Error(\"Callback must be a function\");\n }\n if (!this.callbacks[event]) {\n this.callbacks[event] = [];\n }\n this.callbacks[event].push(callback);\n }\n\n emit(event, ...args) {\n if (this.callbacks[event]) {\n this.callbacks[event].forEach((callback) => callback(...args));\n }\n }\n\n /**\n * @param {string} orgId\n * @returns {void}\n * @memberof KohostApiClient\n * @example\n * client.organizationId = \"1234\";\n */\n set organizationId(orgId) {\n const key = KohostHTTPClient.defs.organizationHeader;\n this.headers.set(key, orgId);\n }\n\n get organizationId() {\n const key = KohostHTTPClient.defs.organizationHeader;\n return this.headers.get(key);\n }\n\n /**\n * @param {string} propertyId\n * @returns {void}\n * @memberof KohostApiClient\n * @example\n * client.propertyId = \"1234\";\n */\n\n set propertyId(propertyId) {\n const key = KohostHTTPClient.defs.propertyHeader;\n this.headers.set(key, propertyId);\n }\n\n get propertyId() {\n const key = KohostHTTPClient.defs.propertyHeader;\n return this.headers.get(key);\n }\n\n static get defs() {\n return {\n apiKeyHeader: \"X-Api-Key\",\n propertyHeader: \"X-Property-Id\",\n organizationHeader: \"X-Organization-Id\",\n };\n }\n\n /**\n * @typedef {keyof typeof import('./useCases')} CommandName\n * @typedef {import('./useCases')[CommandName]} Command\n *\n * @param {Command} command\n */\n async send(command) {\n const commandConfig = command.config;\n const request = this.createRequest(commandConfig);\n const response = await fetch(request);\n\n const isJsonResponse =\n response.headers.get(\"Content-Type\")?.includes(\"application/json\") ||\n false;\n\n const responseData = isJsonResponse ? await response.json() : response.body;\n\n if (!response.ok) {\n let error = responseData?.error || new Error(response.statusText);\n\n const status = response.status;\n const errorType = responseData.error?.type;\n const errorMessage = responseData?.error?.message;\n\n try {\n const expectedError = status >= 400 && status < 500;\n const newTokensNeeded =\n expectedError && errorType === \"TokenExpiredError\";\n\n if (\n expectedError &&\n errorMessage === \"Phone Verification is required\"\n ) {\n this.#onPhoneVerificationRequired();\n return Promise.reject(error);\n }\n\n if (expectedError && errorMessage === \"Login Required\") {\n this.#onLoginRequired();\n return Promise.reject(error);\n }\n\n if (\n expectedError &&\n errorMessage === \"No auth header or cookie provided\"\n ) {\n this.#onLoginRequired();\n return Promise.reject(error);\n }\n\n if (expectedError && newTokensNeeded) {\n while (!this.isAuthTokenRenewalActive) {\n this.isAuthTokenRenewalActive = true;\n return this.send(new RefreshTokenCommand({}))\n .then(() => {\n // retry the original request with the new token\n this.isAuthTokenRenewalActive = false;\n return this.send(command);\n })\n .catch((err) => {\n this.isAuthTokenRenewalActive = false;\n return Promise.reject(err);\n });\n }\n }\n } catch (error) {\n console.error(error);\n }\n\n error = this.#onError(error);\n\n return Promise.reject(error);\n }\n\n return this.#onSuccess(responseData);\n }\n\n #onLoginRequired() {\n this.emit(\"LoginRequired\");\n }\n\n #onPhoneVerificationRequired() {\n this.emit(\"PhoneVerificationRequired\");\n }\n\n /**\n * @param {Command} config\n * @returns {Request}\n */\n createRequest(config) {\n if (typeof config.headers !== \"object\") {\n config.headers = {};\n }\n\n let apiPath = config.url;\n\n if (apiPath.startsWith(\"/\")) {\n apiPath = `.${apiPath}`;\n }\n const url = new URL(apiPath, this.baseUrl);\n const method = config.method.toUpperCase() || \"GET\";\n\n // Add parameters to URL if they exist\n if (config.params && typeof config.params === \"object\") {\n Object.entries(config.params).forEach(([key, value]) => {\n // Handle array values\n if (Array.isArray(value)) {\n value.forEach((item) => {\n if (typeof item === \"object\" && item !== null) {\n Object.entries(item).forEach(([itemKey, itemValue]) => {\n url.searchParams.append(`${key}[][${itemKey}]`, itemValue);\n });\n } else {\n url.searchParams.append(`${key}[]`, item);\n }\n });\n }\n // Handle null/undefined\n else if (value === null || value === undefined) {\n url.searchParams.append(key, \"\");\n }\n // Handle nested objects\n else if (typeof value === \"object\") {\n Object.entries(value).forEach(([nestedKey, nestedValue]) => {\n if (Array.isArray(nestedValue)) {\n nestedValue.forEach((item) => {\n url.searchParams.append(`${key}[${nestedKey}][]`, item);\n });\n } else {\n url.searchParams.append(`${key}[${nestedKey}]`, nestedValue);\n }\n });\n }\n // Handle primitive values\n else {\n url.searchParams.append(key, value);\n }\n });\n }\n\n const headers = new Headers(this.headers);\n // Add any additional headers\n if (config.headers) {\n Object.keys(config.headers).forEach((key) => {\n headers.set(key, config.headers[key]);\n });\n }\n\n const body =\n config.data !== null && [\"POST\", \"PUT\", \"PATCH\"].includes(method)\n ? headers.get(\"Content-Type\") === \"application/json\"\n ? JSON.stringify(config.data)\n : config.data\n : undefined;\n\n const request = new Request(url, {\n method: method,\n headers: headers,\n credentials: \"include\",\n body: body,\n });\n\n return request;\n }\n}\n"],"mappings":"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","names":["KohostHTTPClient","_KohostHTTPClient","__name","#onSuccess","#onError","options","response","error","event","callback","args","orgId","key","propertyId","command","commandConfig","request","responseData","status","errorType","errorMessage","expectedError","newTokensNeeded","#onPhoneVerificationRequired","#onLoginRequired","RefreshTokenCommand","err","config","apiPath","url","method","value","item","itemKey","itemValue","nestedKey","nestedValue","headers","body"]}
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,66 @@
1
+ import { ApplicationInUse } from './events/applicationInUse.js';
2
+ import { ApplicationOutOfUse } from './events/applicationOutOfUse.js';
3
+ import { EmailEvent } from './events/emailEvent.js';
4
+ import { Event } from './events/event.js';
5
+ import { ReservationCheckedIn } from './events/reservationCheckedIn.js';
6
+ import { ReservationCheckedOut } from './events/reservationCheckedOut.js';
7
+ import { ReservationSpaceChanged } from './events/reservationSpaceChanged.js';
8
+ import { SceneSet } from './events/sceneSet.js';
9
+ import { ShortLinkCreated } from './events/shortLinkCreated.js';
10
+ import { SMSEvent } from './events/smsEvent.js';
11
+ import { SystemAlarmUpdated } from './events/systemAlarmUpdated.js';
12
+ import { SystemCameraUpdated } from './events/systemCameraUpdated.js';
13
+ import { SystemCategoryUpdated } from './events/systemCategoryUpdated.js';
14
+ import { SystemCourtesyUpdated } from './events/systemCourtesyUpdated.js';
15
+ import { SystemCredentialUpdated } from './events/systemCredentialUpdated.js';
16
+ import { SystemDimmerUpdated } from './events/systemDimmerUpdated.js';
17
+ import { SystemEntityDeleted } from './events/systemEntityDeleted.js';
18
+ import { SystemGatewayUpdated } from './events/systemGatewayUpdated.js';
19
+ import { SystemLockUpdated } from './events/systemLockUpdated.js';
20
+ import { SystemMediaSourceUpdated } from './events/systemMediaSourceUpdated.js';
21
+ import { SystemMotionSensorUpdated } from './events/systemMotionSensorUpdated.js';
22
+ import { SystemOrganizationUpdated } from './events/systemOrganizationUpdated.js';
23
+ import { SystemProductUpdated } from './events/systemProductUpdated.js';
24
+ import { SystemPropertyUpdated } from './events/systemPropertyUpdated.js';
25
+ import { SystemReservationUpdated } from './events/systemReservationUpdated.js';
26
+ import { SystemSpaceUpdate } from './events/systemSpaceUpdated.js';
27
+ import { SystemSwitchUpdated } from './events/systemSwitchUpdated.js';
28
+ import { SystemThermostatUpdated } from './events/systemThermostatUpdated.js';
29
+ import { SystemUserUpdated } from './events/systemUserUpdated.js';
30
+ import { SystemWindowCoveringUpdated } from './events/systemWindowCoveringUpdated.js';
31
+
32
+ declare const index_ApplicationInUse: typeof ApplicationInUse;
33
+ declare const index_ApplicationOutOfUse: typeof ApplicationOutOfUse;
34
+ declare const index_EmailEvent: typeof EmailEvent;
35
+ declare const index_Event: typeof Event;
36
+ declare const index_ReservationCheckedIn: typeof ReservationCheckedIn;
37
+ declare const index_ReservationCheckedOut: typeof ReservationCheckedOut;
38
+ declare const index_ReservationSpaceChanged: typeof ReservationSpaceChanged;
39
+ declare const index_SMSEvent: typeof SMSEvent;
40
+ declare const index_SceneSet: typeof SceneSet;
41
+ declare const index_ShortLinkCreated: typeof ShortLinkCreated;
42
+ declare const index_SystemAlarmUpdated: typeof SystemAlarmUpdated;
43
+ declare const index_SystemCameraUpdated: typeof SystemCameraUpdated;
44
+ declare const index_SystemCategoryUpdated: typeof SystemCategoryUpdated;
45
+ declare const index_SystemCourtesyUpdated: typeof SystemCourtesyUpdated;
46
+ declare const index_SystemCredentialUpdated: typeof SystemCredentialUpdated;
47
+ declare const index_SystemDimmerUpdated: typeof SystemDimmerUpdated;
48
+ declare const index_SystemEntityDeleted: typeof SystemEntityDeleted;
49
+ declare const index_SystemGatewayUpdated: typeof SystemGatewayUpdated;
50
+ declare const index_SystemLockUpdated: typeof SystemLockUpdated;
51
+ declare const index_SystemMediaSourceUpdated: typeof SystemMediaSourceUpdated;
52
+ declare const index_SystemMotionSensorUpdated: typeof SystemMotionSensorUpdated;
53
+ declare const index_SystemOrganizationUpdated: typeof SystemOrganizationUpdated;
54
+ declare const index_SystemProductUpdated: typeof SystemProductUpdated;
55
+ declare const index_SystemPropertyUpdated: typeof SystemPropertyUpdated;
56
+ declare const index_SystemReservationUpdated: typeof SystemReservationUpdated;
57
+ declare const index_SystemSpaceUpdate: typeof SystemSpaceUpdate;
58
+ declare const index_SystemSwitchUpdated: typeof SystemSwitchUpdated;
59
+ declare const index_SystemThermostatUpdated: typeof SystemThermostatUpdated;
60
+ declare const index_SystemUserUpdated: typeof SystemUserUpdated;
61
+ declare const index_SystemWindowCoveringUpdated: typeof SystemWindowCoveringUpdated;
62
+ declare namespace index {
63
+ export { index_ApplicationInUse as ApplicationInUse, index_ApplicationOutOfUse as ApplicationOutOfUse, index_EmailEvent as EmailEvent, index_Event as Event, index_ReservationCheckedIn as ReservationCheckedIn, index_ReservationCheckedOut as ReservationCheckedOut, index_ReservationSpaceChanged as ReservationSpaceChanged, index_SMSEvent as SMSEvent, index_SceneSet as SceneSet, index_ShortLinkCreated as ShortLinkCreated, index_SystemAlarmUpdated as SystemAlarmUpdated, index_SystemCameraUpdated as SystemCameraUpdated, index_SystemCategoryUpdated as SystemCategoryUpdated, index_SystemCourtesyUpdated as SystemCourtesyUpdated, index_SystemCredentialUpdated as SystemCredentialUpdated, index_SystemDimmerUpdated as SystemDimmerUpdated, index_SystemEntityDeleted as SystemEntityDeleted, index_SystemGatewayUpdated as SystemGatewayUpdated, index_SystemLockUpdated as SystemLockUpdated, index_SystemMediaSourceUpdated as SystemMediaSourceUpdated, index_SystemMotionSensorUpdated as SystemMotionSensorUpdated, index_SystemOrganizationUpdated as SystemOrganizationUpdated, index_SystemProductUpdated as SystemProductUpdated, index_SystemPropertyUpdated as SystemPropertyUpdated, index_SystemReservationUpdated as SystemReservationUpdated, index_SystemSpaceUpdate as SystemSpaceUpdate, index_SystemSwitchUpdated as SystemSwitchUpdated, index_SystemThermostatUpdated as SystemThermostatUpdated, index_SystemUserUpdated as SystemUserUpdated, index_SystemWindowCoveringUpdated as SystemWindowCoveringUpdated };
64
+ }
65
+
66
+ export { index as i };
@@ -0,0 +1,30 @@
1
+ import { AppError } from './errors/appError.js';
2
+ import { AuthenticationError } from './errors/authenticationError.js';
3
+ import { AuthorizationError } from './errors/authorizationError.js';
4
+ import { ConflictError } from './errors/conflictError.js';
5
+ import { DeviceCommError } from './errors/deviceCommError.js';
6
+ import { LoginError } from './errors/loginError.js';
7
+ import { NotFoundError } from './errors/notFoundError.js';
8
+ import { RequestError } from './errors/requestError.js';
9
+ import { SystemCommError } from './errors/systemCommError.js';
10
+ import { TokenExpiredError } from './errors/tokenExpiredError.js';
11
+ import { UnprocessableRequestError } from './errors/unprocessableRequestError.js';
12
+ import { ValidationError } from './errors/validationError.js';
13
+
14
+ declare const index_AppError: typeof AppError;
15
+ declare const index_AuthenticationError: typeof AuthenticationError;
16
+ declare const index_AuthorizationError: typeof AuthorizationError;
17
+ declare const index_ConflictError: typeof ConflictError;
18
+ declare const index_DeviceCommError: typeof DeviceCommError;
19
+ declare const index_LoginError: typeof LoginError;
20
+ declare const index_NotFoundError: typeof NotFoundError;
21
+ declare const index_RequestError: typeof RequestError;
22
+ declare const index_SystemCommError: typeof SystemCommError;
23
+ declare const index_TokenExpiredError: typeof TokenExpiredError;
24
+ declare const index_UnprocessableRequestError: typeof UnprocessableRequestError;
25
+ declare const index_ValidationError: typeof ValidationError;
26
+ declare namespace index {
27
+ export { index_AppError as AppError, index_AuthenticationError as AuthenticationError, index_AuthorizationError as AuthorizationError, index_ConflictError as ConflictError, index_DeviceCommError as DeviceCommError, index_LoginError as LoginError, index_NotFoundError as NotFoundError, index_RequestError as RequestError, index_SystemCommError as SystemCommError, index_TokenExpiredError as TokenExpiredError, index_UnprocessableRequestError as UnprocessableRequestError, index_ValidationError as ValidationError };
28
+ }
29
+
30
+ export { index as i };
@@ -0,0 +1,128 @@
1
+ import { Alarm, AlarmData } from './models/alarm.cjs';
2
+ import { Announcement, AnnouncementData } from './models/announcement.cjs';
3
+ import { Camera, CameraData } from './models/camera.cjs';
4
+ import { Category, CategoryData } from './models/category.cjs';
5
+ import { Courtesy, CourtesyData } from './models/courtesy.cjs';
6
+ import { Credential, CredentialData } from './models/credential.cjs';
7
+ import { DeviceRouter, DeviceRouterData } from './models/deviceRouter.cjs';
8
+ import { Dimmer, DimmerData } from './models/dimmer.cjs';
9
+ import { DiscoveredDevice, DiscoveredDeviceData } from './models/discoveredDevice.cjs';
10
+ import { EmailMessage, EmailMessageData } from './models/emailMessage.cjs';
11
+ import { EnergyReport, EnergyReportData } from './models/energyReport.cjs';
12
+ import { EnergyReportShard, EnergyReportShardData } from './models/energyReportShard.cjs';
13
+ import { Entity } from './models/entity.cjs';
14
+ import { Gateway, GatewayData } from './models/gateway.cjs';
15
+ import { Identification, IdentificationData } from './models/identification.cjs';
16
+ import { Issue, IssueData } from './models/issue.cjs';
17
+ import { Lock, LockData } from './models/lock.cjs';
18
+ import { Log, LogData } from './models/log.cjs';
19
+ import { MediaFile, MediaFileData } from './models/mediaFile.cjs';
20
+ import { MediaSource, MediaSourceData } from './models/mediaSource.cjs';
21
+ import { MotionSensor, MotionSensorData } from './models/motionSensor.cjs';
22
+ import { Order, OrderData } from './models/order.cjs';
23
+ import { Organization, OrganizationData } from './models/organization.cjs';
24
+ import { Payment, PaymentData } from './models/payment.cjs';
25
+ import { Policy, PolicyData } from './models/policy.cjs';
26
+ import { Product, ProductData } from './models/product.cjs';
27
+ import { Property, PropertyData } from './models/property.cjs';
28
+ import { Reservation, ReservationData } from './models/reservation.cjs';
29
+ import { Room, RoomData } from './models/room.cjs';
30
+ import { Scene, SceneData } from './models/scene.cjs';
31
+ import { ShortLink, ShortLinkData } from './models/shortLink.cjs';
32
+ import { SmsMessage, SmsMessageData } from './models/smsMessage.cjs';
33
+ import { Space, SpaceData } from './models/space.cjs';
34
+ import { Switch, SwitchData } from './models/switch.cjs';
35
+ import { SystemUser, SystemUserData } from './models/systemUser.cjs';
36
+ import { Thermostat, ThermostatData } from './models/thermostat.cjs';
37
+ import { Ticket, TicketData } from './models/ticket.cjs';
38
+ import { TimeSheet, TimeSheetData } from './models/timeSheet.cjs';
39
+ import { User, UserData } from './models/user.cjs';
40
+ import { Vendor, VendorData } from './models/vendor.cjs';
41
+ import { WindowCovering, WindowCoveringData } from './models/windowCovering.cjs';
42
+
43
+ declare const index_Alarm: typeof Alarm;
44
+ declare const index_AlarmData: typeof AlarmData;
45
+ declare const index_Announcement: typeof Announcement;
46
+ declare const index_AnnouncementData: typeof AnnouncementData;
47
+ declare const index_Camera: typeof Camera;
48
+ declare const index_CameraData: typeof CameraData;
49
+ declare const index_Category: typeof Category;
50
+ declare const index_CategoryData: typeof CategoryData;
51
+ declare const index_Courtesy: typeof Courtesy;
52
+ declare const index_CourtesyData: typeof CourtesyData;
53
+ declare const index_Credential: typeof Credential;
54
+ declare const index_CredentialData: typeof CredentialData;
55
+ declare const index_DeviceRouter: typeof DeviceRouter;
56
+ declare const index_DeviceRouterData: typeof DeviceRouterData;
57
+ declare const index_Dimmer: typeof Dimmer;
58
+ declare const index_DimmerData: typeof DimmerData;
59
+ declare const index_DiscoveredDevice: typeof DiscoveredDevice;
60
+ declare const index_DiscoveredDeviceData: typeof DiscoveredDeviceData;
61
+ declare const index_EmailMessage: typeof EmailMessage;
62
+ declare const index_EmailMessageData: typeof EmailMessageData;
63
+ declare const index_EnergyReport: typeof EnergyReport;
64
+ declare const index_EnergyReportData: typeof EnergyReportData;
65
+ declare const index_EnergyReportShard: typeof EnergyReportShard;
66
+ declare const index_EnergyReportShardData: typeof EnergyReportShardData;
67
+ declare const index_Entity: typeof Entity;
68
+ declare const index_Gateway: typeof Gateway;
69
+ declare const index_GatewayData: typeof GatewayData;
70
+ declare const index_Identification: typeof Identification;
71
+ declare const index_IdentificationData: typeof IdentificationData;
72
+ declare const index_Issue: typeof Issue;
73
+ declare const index_IssueData: typeof IssueData;
74
+ declare const index_Lock: typeof Lock;
75
+ declare const index_LockData: typeof LockData;
76
+ declare const index_Log: typeof Log;
77
+ declare const index_LogData: typeof LogData;
78
+ declare const index_MediaFile: typeof MediaFile;
79
+ declare const index_MediaFileData: typeof MediaFileData;
80
+ declare const index_MediaSource: typeof MediaSource;
81
+ declare const index_MediaSourceData: typeof MediaSourceData;
82
+ declare const index_MotionSensor: typeof MotionSensor;
83
+ declare const index_MotionSensorData: typeof MotionSensorData;
84
+ declare const index_Order: typeof Order;
85
+ declare const index_OrderData: typeof OrderData;
86
+ declare const index_Organization: typeof Organization;
87
+ declare const index_OrganizationData: typeof OrganizationData;
88
+ declare const index_Payment: typeof Payment;
89
+ declare const index_PaymentData: typeof PaymentData;
90
+ declare const index_Policy: typeof Policy;
91
+ declare const index_PolicyData: typeof PolicyData;
92
+ declare const index_Product: typeof Product;
93
+ declare const index_ProductData: typeof ProductData;
94
+ declare const index_Property: typeof Property;
95
+ declare const index_PropertyData: typeof PropertyData;
96
+ declare const index_Reservation: typeof Reservation;
97
+ declare const index_ReservationData: typeof ReservationData;
98
+ declare const index_Room: typeof Room;
99
+ declare const index_RoomData: typeof RoomData;
100
+ declare const index_Scene: typeof Scene;
101
+ declare const index_SceneData: typeof SceneData;
102
+ declare const index_ShortLink: typeof ShortLink;
103
+ declare const index_ShortLinkData: typeof ShortLinkData;
104
+ declare const index_SmsMessage: typeof SmsMessage;
105
+ declare const index_SmsMessageData: typeof SmsMessageData;
106
+ declare const index_Space: typeof Space;
107
+ declare const index_SpaceData: typeof SpaceData;
108
+ declare const index_Switch: typeof Switch;
109
+ declare const index_SwitchData: typeof SwitchData;
110
+ declare const index_SystemUser: typeof SystemUser;
111
+ declare const index_SystemUserData: typeof SystemUserData;
112
+ declare const index_Thermostat: typeof Thermostat;
113
+ declare const index_ThermostatData: typeof ThermostatData;
114
+ declare const index_Ticket: typeof Ticket;
115
+ declare const index_TicketData: typeof TicketData;
116
+ declare const index_TimeSheet: typeof TimeSheet;
117
+ declare const index_TimeSheetData: typeof TimeSheetData;
118
+ declare const index_User: typeof User;
119
+ declare const index_UserData: typeof UserData;
120
+ declare const index_Vendor: typeof Vendor;
121
+ declare const index_VendorData: typeof VendorData;
122
+ declare const index_WindowCovering: typeof WindowCovering;
123
+ declare const index_WindowCoveringData: typeof WindowCoveringData;
124
+ declare namespace index {
125
+ export { index_Alarm as Alarm, index_AlarmData as AlarmData, index_Announcement as Announcement, index_AnnouncementData as AnnouncementData, index_Camera as Camera, index_CameraData as CameraData, index_Category as Category, index_CategoryData as CategoryData, index_Courtesy as Courtesy, index_CourtesyData as CourtesyData, index_Credential as Credential, index_CredentialData as CredentialData, index_DeviceRouter as DeviceRouter, index_DeviceRouterData as DeviceRouterData, index_Dimmer as Dimmer, index_DimmerData as DimmerData, index_DiscoveredDevice as DiscoveredDevice, index_DiscoveredDeviceData as DiscoveredDeviceData, index_EmailMessage as EmailMessage, index_EmailMessageData as EmailMessageData, index_EnergyReport as EnergyReport, index_EnergyReportData as EnergyReportData, index_EnergyReportShard as EnergyReportShard, index_EnergyReportShardData as EnergyReportShardData, index_Entity as Entity, index_Gateway as Gateway, index_GatewayData as GatewayData, index_Identification as Identification, index_IdentificationData as IdentificationData, index_Issue as Issue, index_IssueData as IssueData, index_Lock as Lock, index_LockData as LockData, index_Log as Log, index_LogData as LogData, index_MediaFile as MediaFile, index_MediaFileData as MediaFileData, index_MediaSource as MediaSource, index_MediaSourceData as MediaSourceData, index_MotionSensor as MotionSensor, index_MotionSensorData as MotionSensorData, index_Order as Order, index_OrderData as OrderData, index_Organization as Organization, index_OrganizationData as OrganizationData, index_Payment as Payment, index_PaymentData as PaymentData, index_Policy as Policy, index_PolicyData as PolicyData, index_Product as Product, index_ProductData as ProductData, index_Property as Property, index_PropertyData as PropertyData, index_Reservation as Reservation, index_ReservationData as ReservationData, index_Room as Room, index_RoomData as RoomData, index_Scene as Scene, index_SceneData as SceneData, index_ShortLink as ShortLink, index_ShortLinkData as ShortLinkData, index_SmsMessage as SmsMessage, index_SmsMessageData as SmsMessageData, index_Space as Space, index_SpaceData as SpaceData, index_Switch as Switch, index_SwitchData as SwitchData, index_SystemUser as SystemUser, index_SystemUserData as SystemUserData, index_Thermostat as Thermostat, index_ThermostatData as ThermostatData, index_Ticket as Ticket, index_TicketData as TicketData, index_TimeSheet as TimeSheet, index_TimeSheetData as TimeSheetData, index_User as User, index_UserData as UserData, index_Vendor as Vendor, index_VendorData as VendorData, index_WindowCovering as WindowCovering, index_WindowCoveringData as WindowCoveringData };
126
+ }
127
+
128
+ export { index as i };
@@ -0,0 +1,62 @@
1
+ import { CheckInReservation } from './commands/checkInReservation.js';
2
+ import { CheckOutReservation } from './commands/checkOutReservation.js';
3
+ import { Command } from './commands/command.js';
4
+ import { CreateImageUploadEndpoint } from './commands/createImageUploadEndpoint.js';
5
+ import { CreateShortLink } from './commands/createShortLink.js';
6
+ import { GetCategories } from './commands/getCategories.js';
7
+ import { GetMobileKey } from './commands/getMobileKey.js';
8
+ import { GetProducts } from './commands/getProducts.js';
9
+ import { GetReservationSpaceCategoryAvailabilities } from './commands/getReservationSpaceCategoryAvailabilities.js';
10
+ import { GetReservations } from './commands/getReservations.js';
11
+ import { GetRooms } from './commands/getRooms.js';
12
+ import { GetUsers } from './commands/getUsers.js';
13
+ import { OCRDocument } from './commands/ocrDocument.js';
14
+ import { SellProducts } from './commands/sellProducts.js';
15
+ import { SendEmail } from './commands/sendEmail.js';
16
+ import { SendSMS } from './commands/sendSMS.js';
17
+ import { SetAlarm } from './commands/setAlarm.js';
18
+ import { SetCourtesy } from './commands/setCourtesy.js';
19
+ import { SetDimmer } from './commands/setDimmer.js';
20
+ import { SetLock } from './commands/setLock.js';
21
+ import { SetMedia } from './commands/setMedia.js';
22
+ import { SetScene } from './commands/setScene.js';
23
+ import { SetSwitch } from './commands/setSwitch.js';
24
+ import { SetThermostat } from './commands/setThermostat.js';
25
+ import { SetWindowCovering } from './commands/setWindowCovering.js';
26
+ import { UpdateReservation } from './commands/updateReservation.js';
27
+ import { UpdateUser } from './commands/updateUser.js';
28
+ import { UploadImage } from './commands/uploadImage.js';
29
+
30
+ declare const index_CheckInReservation: typeof CheckInReservation;
31
+ declare const index_CheckOutReservation: typeof CheckOutReservation;
32
+ declare const index_Command: typeof Command;
33
+ declare const index_CreateImageUploadEndpoint: typeof CreateImageUploadEndpoint;
34
+ declare const index_CreateShortLink: typeof CreateShortLink;
35
+ declare const index_GetCategories: typeof GetCategories;
36
+ declare const index_GetMobileKey: typeof GetMobileKey;
37
+ declare const index_GetProducts: typeof GetProducts;
38
+ declare const index_GetReservationSpaceCategoryAvailabilities: typeof GetReservationSpaceCategoryAvailabilities;
39
+ declare const index_GetReservations: typeof GetReservations;
40
+ declare const index_GetRooms: typeof GetRooms;
41
+ declare const index_GetUsers: typeof GetUsers;
42
+ declare const index_OCRDocument: typeof OCRDocument;
43
+ declare const index_SellProducts: typeof SellProducts;
44
+ declare const index_SendEmail: typeof SendEmail;
45
+ declare const index_SendSMS: typeof SendSMS;
46
+ declare const index_SetAlarm: typeof SetAlarm;
47
+ declare const index_SetCourtesy: typeof SetCourtesy;
48
+ declare const index_SetDimmer: typeof SetDimmer;
49
+ declare const index_SetLock: typeof SetLock;
50
+ declare const index_SetMedia: typeof SetMedia;
51
+ declare const index_SetScene: typeof SetScene;
52
+ declare const index_SetSwitch: typeof SetSwitch;
53
+ declare const index_SetThermostat: typeof SetThermostat;
54
+ declare const index_SetWindowCovering: typeof SetWindowCovering;
55
+ declare const index_UpdateReservation: typeof UpdateReservation;
56
+ declare const index_UpdateUser: typeof UpdateUser;
57
+ declare const index_UploadImage: typeof UploadImage;
58
+ declare namespace index {
59
+ export { index_CheckInReservation as CheckInReservation, index_CheckOutReservation as CheckOutReservation, index_Command as Command, index_CreateImageUploadEndpoint as CreateImageUploadEndpoint, index_CreateShortLink as CreateShortLink, index_GetCategories as GetCategories, index_GetMobileKey as GetMobileKey, index_GetProducts as GetProducts, index_GetReservationSpaceCategoryAvailabilities as GetReservationSpaceCategoryAvailabilities, index_GetReservations as GetReservations, index_GetRooms as GetRooms, index_GetUsers as GetUsers, index_OCRDocument as OCRDocument, index_SellProducts as SellProducts, index_SendEmail as SendEmail, index_SendSMS as SendSMS, index_SetAlarm as SetAlarm, index_SetCourtesy as SetCourtesy, index_SetDimmer as SetDimmer, index_SetLock as SetLock, index_SetMedia as SetMedia, index_SetScene as SetScene, index_SetSwitch as SetSwitch, index_SetThermostat as SetThermostat, index_SetWindowCovering as SetWindowCovering, index_UpdateReservation as UpdateReservation, index_UpdateUser as UpdateUser, index_UploadImage as UploadImage };
60
+ }
61
+
62
+ export { index as i };
@@ -0,0 +1,30 @@
1
+ import { AppError } from './errors/appError.cjs';
2
+ import { AuthenticationError } from './errors/authenticationError.cjs';
3
+ import { AuthorizationError } from './errors/authorizationError.cjs';
4
+ import { ConflictError } from './errors/conflictError.cjs';
5
+ import { DeviceCommError } from './errors/deviceCommError.cjs';
6
+ import { LoginError } from './errors/loginError.cjs';
7
+ import { NotFoundError } from './errors/notFoundError.cjs';
8
+ import { RequestError } from './errors/requestError.cjs';
9
+ import { SystemCommError } from './errors/systemCommError.cjs';
10
+ import { TokenExpiredError } from './errors/tokenExpiredError.cjs';
11
+ import { UnprocessableRequestError } from './errors/unprocessableRequestError.cjs';
12
+ import { ValidationError } from './errors/validationError.cjs';
13
+
14
+ declare const index_AppError: typeof AppError;
15
+ declare const index_AuthenticationError: typeof AuthenticationError;
16
+ declare const index_AuthorizationError: typeof AuthorizationError;
17
+ declare const index_ConflictError: typeof ConflictError;
18
+ declare const index_DeviceCommError: typeof DeviceCommError;
19
+ declare const index_LoginError: typeof LoginError;
20
+ declare const index_NotFoundError: typeof NotFoundError;
21
+ declare const index_RequestError: typeof RequestError;
22
+ declare const index_SystemCommError: typeof SystemCommError;
23
+ declare const index_TokenExpiredError: typeof TokenExpiredError;
24
+ declare const index_UnprocessableRequestError: typeof UnprocessableRequestError;
25
+ declare const index_ValidationError: typeof ValidationError;
26
+ declare namespace index {
27
+ export { index_AppError as AppError, index_AuthenticationError as AuthenticationError, index_AuthorizationError as AuthorizationError, index_ConflictError as ConflictError, index_DeviceCommError as DeviceCommError, index_LoginError as LoginError, index_NotFoundError as NotFoundError, index_RequestError as RequestError, index_SystemCommError as SystemCommError, index_TokenExpiredError as TokenExpiredError, index_UnprocessableRequestError as UnprocessableRequestError, index_ValidationError as ValidationError };
28
+ }
29
+
30
+ export { index as i };